Fix a problem with disabled mouse movement events.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
c548f821
GM
12012-08-14 Glenn Morris <rgm@gnu.org>
2
3 * emacs-lisp/bytecomp.el (byte-compile-setq-default):
4 Optimize away setq-default with no args, as for setq. (Bug#12195)
5
55802e4a
CY
62012-08-14 Chong Yidong <cyd@gnu.org>
7
4abcdac8
CY
8 * minibuffer.el (read-file-name): Doc fix (Bug#10881).
9
55802e4a
CY
10 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Doc fix
11 (Bug#12085).
12
3c3cda1a
GM
132012-08-14 Glenn Morris <rgm@gnu.org>
14
15 * emacs-lisp/bytecomp.el (byte-recompile-file): Doc fix.
16
e1873bd0
MA
172012-08-14 Michael Albinus <michael.albinus@gmx.de>
18
19 * net/tramp-sh.el (tramp-open-shell): Cache the shell name.
20 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
21 Use cached shell name.
22
925411b4
FEG
232012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
24
25 * progmodes/python.el (python-shell-send-string):
3c3cda1a 26 (python-shell-send-setup-code): Do not use `format' with `message'.
925411b4 27
e636fafe
DG
282012-08-14 Dmitry Gutov <dgutov@yandex.ru>
29
30 * progmodes/ruby-mode.el: Improve percent literals (bug#6286).
31 (ruby-percent-literal-beg-re): New constant.
32 (ruby-syntax-general-delimiters-goto-beg): Rename to
33 `ruby-syntax-enclosing-percent-literal', improve literal type check.
34 (ruby-syntax-propertize-general-delimiters): Rename to
35 `ruby-syntax-propertize-percent-literal', it's a shorter and more
36 popular term. Adjust comments everywhere.
37 (ruby-syntax-propertize-percent-literal): Only propertize when not
38 inside a simple string or comment. When the literal is unclosed,
39 leave the text after it unpropertized.
f063063a
DG
40 (ruby-syntax-methods-before-regexp): New constant.
41 (ruby-syntax-propertize-function): Use it to recognize regexps.
42 Don't look at the text after regexp, just use the whitelist.
e636fafe 43
e5b19827
AS
442012-08-14 Andreas Schwab <schwab@linux-m68k.org>
45
46 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
47 non-nil always load the compiled file if it exists. (Bug#12197)
48
a9f6f311
CY
492012-08-14 Chong Yidong <cyd@gnu.org>
50
51 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
52 (hi-lock-set-pattern): When deciding whether to use font lock or
53 overlays, look at font-lock-mode instead of font-lock-fontified
54 (Bug#12168).
55 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
56 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
57
7d806b1e
DU
582012-08-14 Daiki Ueno <ueno@unixuser.org>
59
60 * subr.el (internal--after-with-selected-window): Fix typo
61 (Bug#12193).
62
5beed586
FEG
632012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
64
65 Use `completion-table-dynamic' for completion functions.
66 * progmodes/python.el
67 (python-shell-completion--do-completion-at-point)
e636fafe
DG
68 (python-shell-completion--get-completions):
69 Remove functions.
5beed586
FEG
70 (python-shell-completion-complete-at-point): New function.
71 (python-completion-complete-at-point): Use it.
72
92cb3b04
J
732012-08-13 Jambunathan K <kjambunathan@gmail.com>
74
75 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
76 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
77
89660017
SM
782012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
79
3c98c962
SM
80 * subr.el (function-get): Refine `autoload' arg so it can also
81 autoload functions for gv.el (bug#12191).
82 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
83 autoloads macros.
84
aa7c6dbe
SM
85 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
86 Prefer pcase-let over destructuring-bind.
87 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
88 Also, remove whitespace as we go, rather than after accumulating the
89 various places.
90
89660017
SM
91 * subr.el (internal--before-with-selected-window)
92 (internal--after-with-selected-window): Fix typo seleted->selected.
93 (with-selected-window): Adjust callers.
94 Reported by Dmitry Gutov <dgutov@yandex.ru>.
95
31cd32c9
BG
962012-08-13 Bastien Guerry <bzg@gnu.org>
97
98 * window.el (special-display-popup-frame): Small docstring
99 enhancement. (Bug#12172)
100
1b15d8ad
AS
1012012-08-13 Andreas Schwab <schwab@linux-m68k.org>
102
31e54db0
AS
103 * tar-mode.el (tar-header-data-end): Only ignore size for files of
104 type 1-6.
105 (tar-header-block-summarize, tar-get-descriptor): Handle pax
106 extended headers.
107
1b15d8ad
AS
108 * files.el (hack-local-variables-filter): Remove useless eval.
109
35cb9c06
MR
1102012-08-13 Martin Rudalics <rudalics@gmx.at>
111
112 * subr.el (with-selected-window): Fix last change.
113
1439443b
SM
1142012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * subr.el (internal--before-with-seleted-window)
117 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
118 (with-selected-window): Use them, to replace dependency on
119 tty-top-frame.
1439443b 120
0d9e2599
NN
1212012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
122
123 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
124 binding for `newline'.
125 (ruby-move-to-block): When moving backward, stop at block opening,
126 not indentation.
127 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
128 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
129 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
130 `ruby-toggle-block'.
131
ba10c48c
SM
1322012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * ibuffer.el (ibuffer-do-toggle-read-only):
135 * dired.el (dired-toggle-read-only):
136 * buff-menu.el (Buffer-menu-toggle-read-only):
137 * bindings.el (mode-line-toggle-read-only):
138 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
139
9229c658
AS
1402012-08-12 Andreas Schwab <schwab@linux-m68k.org>
141
142 * descr-text.el (describe-char): Put the overlays over the
143 "displayed as" character.
144
0fd09128
JB
1452012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
146
147 * calc/calc-units.el (math-default-units-table): Give an
148 initial value.
149 (math-put-default-units): Add options to put composite units and
150 unit systems in the default units table.
151 (calc-convert-units): Send composite units to
152 `math-put-default-units' when appropriate.
153
9ff9402d 1542012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 155
fbb5e336
GM
156 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
157
7aacaf15
GM
158 * tutorial.el (help-with-tutorial):
159 * emacs-lisp/copyright.el (copyright-update-directory):
160 * emacs-lisp/autoload.el (autoload-find-generated-file)
161 (autoload-find-file): Disable local eval: (for insurance).
162
f40b9f10
GM
163 * files.el (hack-local-variables-filter): If an eval: form is not
164 known to be safe, and enable-local-variables is :safe, then ignore
165 the form totally, as is done for non-eval forms. (Bug#12155)
166
daa9f1a6
SM
1672012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
168
169 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
170 (rx-form): Simplify.
171
9cd80478
DG
1722012-08-09 Dmitry Gutov <dgutov@yandex.ru>
173
0d9e2599
NN
174 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
175 ?, _, and : are symbol constituents, ! is not (but kinda should be).
176 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
177 (ruby-syntax-propertize-function): Adjust for changes in
178 `ruby-syntax-propertize-heredoc'.
179
1802012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
181
9cd80478
DG
182 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
183 binding (use `M-;' instead).
9cd80478 184 (ruby-singleton-class-p): New function.
0d9e2599 185 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 186
d301b413
SM
1872012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
188
189 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
190
1530c98e
CY
1912012-08-10 Chong Yidong <cyd@gnu.org>
192
193 * progmodes/python.el (python-shell-get-process-name): Don't mess
194 with same-window-buffer-names.
195
196 * eshell/eshell.el (eshell-add-to-window-buffer-names)
197 (eshell-remove-from-window-buffer-names): Make obsolete.
198 (eshell-buffer-name, eshell-unload-hook): Don't use them.
199 (eshell): Just use pop-to-buffer-same-window instead.
200
e1293765
CY
2012012-08-10 Chong Yidong <cyd@gnu.org>
202
203 * bindings.el: Bind M-= back to count-words-region.
204
205 * simple.el (count-words-region): Accept a prefix arg for acting
206 on the entire buffer.
207 (count-words--buffer-message): New helper function.
208
e1894109
SM
2092012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
210
211 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
212 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
213 (event-start, event-end): Use posn-at-point to return a more
214 informative posn.
215 (posnp): New function.
216 * mouse.el (popup-menu-normalize-position): Use it.
217
c69f56a2
MY
2182012-08-10 Masatake YAMATO <yamato@redhat.com>
219
220 * mouse.el (popup-menu-normalize-position): New function.
221 (popup-menu): Use `popup-menu-normalize-position' to normalize
222 the form for POSITION argument.
223
224 * term/x-win.el (x-menu-bar-open):
225 Use the value returend from (posn-at-point) as position
226 passed to `popup-menu'.
227
31673780
JB
2282012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
229
230 * calc/calccomp.el (math-compose-expr): Add extra argument
231 indicating that parentheses should be put around products in
232 denominators. Give multiplication precedence over division during
233 composition.
234
dab7711b
CY
2352012-08-09 Chong Yidong <cyd@gnu.org>
236
dee4ef93
CY
237 * man.el (Man-switches, Man-sed-command, Man-awk-command)
238 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
239 (Man-untabify-command, manual-program): Convert to defcustom
240 (Bug#10429).
241
73e2bbc5
CY
242 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
243
3e861c8a
CY
244 * descr-text.el (describe-char): Don't insert extra newlines
245 (Bug#10127).
246
a9f5a649
CY
247 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
248 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
249
dab7711b
CY
250 * align.el (align-region): Delete temporary markers (Bug#10047).
251 Plus some code cleanups.
252
e0cc4efa
FEG
2532012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
254
255 * progmodes/python.el (python-pdbtrack-tracked-buffer)
256 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
257 (python-shell-internal-last-output): Use make-local-variable
258 instead of make-variable-buffer-local.
259
489af14f
FEG
2602012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
261
262 * progmodes/python.el: Enhancements to forward-sexp.
263 (python-nav-forward-sexp): Rename from
264 python-nav-forward-sexp-function.
c69f56a2
MY
265 (python-nav--forward-sexp, python-nav--backward-sexp):
266 New functions.
489af14f 267
0fc50303
JB
2682012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
269
270 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
271 modes and simplification modes.
272
5d65606a
SM
2732012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
274
275 * delsel.el (delete-selection-pre-hook): Don't propagate the
276 file-supersession signals (bug#12161).
277
4250fdf5
SM
2782012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
279
280 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
281 (cl-map-extents): Add compatibility aliases (bug#12135).
282
d9f9b465
MA
2832012-08-08 Michael Albinus <michael.albinus@gmx.de>
284
285 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
286 tests by `ignore-error'.
287 (tramp-find-shell): Open also a new shell, when cache is already
288 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
289
ce0fcefa
JL
2902012-08-08 Juri Linkov <juri@jurta.org>
291
292 * bookmark.el: Add `defaults' property to the bookmark record.
293 (bookmark-current-buffer): Doc fix.
294 (bookmark-make-record): Add `defaults' property with default values
295 to the bookmark record.
296 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
297 with `bookmark-insert-current-bookmark'.
298 (bookmark-set): Get `defaults' property from the bookmark record
299 and use it in `read-from-minibuffer'.
300 (bookmark-insert-current-bookmark): Remove function.
301
302 * info.el (Info-bookmark-make-record): Add `defaults' property
303 with values of canonical Info node name, the current Info file
304 name and the current Info node name. (Bug#12107)
305
53fa8652
JL
3062012-08-08 Juri Linkov <juri@jurta.org>
307
308 * files.el (basic-save-buffer): Use `buffer-name' as the default
309 of `read-file-name' when buffer is not visiting a file (bug#12128).
310
242c0a95
JL
3112012-08-08 Juri Linkov <juri@jurta.org>
312
313 * info.el (Info-isearch-search): Doc fix.
314 (Info-search): Change search-failed message from "initial node" to
315 "end of node" (bug#12078).
316 (Info-isearch-search): Change `isearch-string-state' to
317 `isearch--state-string'.
318
32ac3a6b
GM
3192012-08-08 Glenn Morris <rgm@gnu.org>
320
321 * language/persian.el: Remove file.
f8c1afd5 322 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
323 * loadup.el: Remove language/persian.
324
2c2d9c9c
OF
3252012-08-08 Óscar Fuentes <ofv@wanadoo.es>
326
327 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
328
2d79ec42
FEG
3292012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
330
331 * progmodes/python.el Fixed defsubst warning.
332 (python-syntax-context) Rename from python-info-ppss-context.
333 (python-syntax-context-type): Rename from
334 python-info-ppss-context-type.
335 (python-syntax-comment-or-string-p): Rename from
336 python-info-ppss-comment-or-string-p.
337
2bd255dd
JB
3382012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
339
340 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
341
c395097f
AS
3422012-08-07 Andreas Schwab <schwab@linux-m68k.org>
343
6125983e
AS
344 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
345 a defcustom that is quoted with backquote.
346
4250fdf5
SM
347 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
348 Fix handling of interactive spec when the body uses return.
651eaf36
AS
349 (math-do-arg-check, math-define-function-body): Use backquote forms.
350 * calc/calc-ext.el (math-defcache): Likewise.
351 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
352 * allout.el (allout-new-exposure): Likewise.
353 * calc/calcalg2.el (math-tracing-integral): Likewise.
354 * info.el (Info-last-menu-item): Likewise.
355 * emulation/vip.el (vip-loop): Likewise.
356 * textmodes/artist.el (artist-funcall): Likewise.
357 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
358 Construct menu-item directly.
359
4250fdf5
SM
360 * progmodes/autoconf.el (font-lock-syntactic-keywords):
361 Don't declare.
c395097f 362
5fb50dd3
CY
3632012-08-07 Chong Yidong <cyd@gnu.org>
364
365 * simple.el (deactivate-mark): Preserve text properties when
366 saving the primary selection (Bug#8384).
367
54eea618
KR
3682012-08-07 Kevin Ryde <user42@zip.com.au>
369
370 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
371 (woman-parse-numeric-value): On a bad .IP line, issue a warning
372 and continue processing (Bug#12110).
373
638eaeb9
SM
3742012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
375
376 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
377 syntax-propertize-function (bug#10095).
378
ea376861
SM
3792012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
380
f91b35be
SM
381 * help-fns.el (help-fns--key-bindings, help-fns--signature)
382 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
383 describe-function-1.
384 (describe-function-1): Use them. Move compiler macro after sig.
385 (help-fns--compiler-macro): Use function-get. Assume we're already in
386 standard-output. Adjust layout to new call order.
387
ea376861
SM
388 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
389 re-binding a symbol that has a symbol-macro (bug#12119).
390
d5be7bd0
MB
3912012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
392
393 * language/persian.el: New file. (Bug#11812)
394 * loadup.el: Add language/persian.el.
395
90749b53
CY
3962012-08-06 Chong Yidong <cyd@gnu.org>
397
398 * window.el (window--maybe-raise-frame): New function.
399 (window--display-buffer): Split off from here.
400 (display-buffer-reuse-window, display-buffer-pop-up-frame)
401 (display-buffer-pop-up-window, display-buffer-use-some-window):
402 Obey an inhibit-switch-frame action alist entry.
403 (display-buffer): Update doc.
404
405 * replace.el (occur-after-change-function): Avoid losing focus by
406 using the inhibit-switch-frame display parameter (Bug#12139).
407
ba7b0154
FEG
4082012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
409
410 Make internal shell process buffer names start with space.
411 * progmodes/python.el (python-shell-make-comint): Add optional
412 argument INTERNAL.
413 (run-python-internal): Use it.
414 (python-shell-internal-get-or-create-process): Check for new
415 internal buffer names.
416
5eaeacb5
GM
4172012-08-06 Glenn Morris <rgm@gnu.org>
418
e296d94b 419 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
420 Do less getting and setting of environment variables.
421
b7ccbdc2
CY
4222012-08-05 Chong Yidong <cyd@gnu.org>
423
777fe95e
CY
424 * proced.el (proced): Add substitution string to docstring to
425 trigger autoloading of the proced library on C-h f (Bug#1768).
426
4250fdf5
SM
427 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
428 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
429
430 * imenu.el (imenu-generic-expression): Move documentation here
431 from imenu--generic-function.
432 (imenu--generic-function): Refer to imenu-generic-expression.
433
9e3b7800 4342012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
435
436 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
437 indentation declaration.
438 (viper-loop): Add indentation declaration (Bug#7025).
439
e5d9c0d1
CY
4402012-08-05 Chong Yidong <cyd@gnu.org>
441
f0422feb
CY
442 * help-fns.el (describe-variable): Add hyperlink for
443 directory-local variables files. Improve buffer-local and
444 permanent-local reporting; suggested by MON KEY (Bug#6644).
445
446 * help-mode.el (help-dir-local-var-def): New button type.
447
e5d9c0d1
CY
448 * files.el (kill-buffer-hook): Provide a defvar.
449
a4f2deaa
GM
4502012-08-05 Glenn Morris <rgm@gnu.org>
451
452 * eshell/esh-ext.el (eshell/addpath):
453 Also update eshell-path-env. (Bug#12013)
454
a9dd5754
CY
4552012-08-05 Chong Yidong <cyd@gnu.org>
456
a4f2deaa 457 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 458
d014c740
CY
459 * fringe.el (fringe-styles): Add docstring.
460 (fringe--check-mode): New function.
461 (set-fringe-mode, set-fringe-style): Use it.
462 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
463
a9dd5754
CY
464 * files.el (set-auto-mode): Fix invalid setq call.
465
7c2dc8bd
SM
4662012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
467
468 * isearch.el: Misc simplification; use defstruct.
469 (isearch-mode-map): Dense maps now work like sparse ones.
470 (isearch--state): New defstruct.
471 (isearch-string-state, isearch-message-state, isearch-point-state)
472 (isearch-success-state, isearch-forward-state)
473 (isearch-other-end-state, isearch-word-state, isearch-error-state)
474 (isearch-wrapped-state, isearch-barrier-state)
475 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
476 replaced by defstruct's accessors.
477 (isearch--set-state): Rename from isearch-top-state and change
478 calling convention.
479 (isearch-push-state): Use new isearch--get-state.
480 (isearch-toggle-word): Disable regexp when enabling word.
481 (isearch-message-prefix): Remove unused arg _c-q-hack.
482 (isearch-message-suffix): Remove unused arg _ellipsis.
483
7fcc0070
AS
4842012-08-04 Andreas Schwab <schwab@linux-m68k.org>
485
486 * simple.el (list-processes--refresh): For a server use :host or
487 :local as the address.
97ad0769 488 (list-processes): Doc fix.
7fcc0070 489
00340faf
MN
4902012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
491
492 * lisp/mpc.el: Support password in host argument.
493 (mpc--proc-connect): Parse and use new password element.
494 Set mpc-proc variable instead of returning process.
495 (mpc-proc): Adjust accordingly.
496
6dad7178
EZ
4972012-08-03 Eli Zaretskii <eliz@gnu.org>
498
18949c2f
EZ
499 * whitespace.el (whitespace-display-mappings): Use Unicode
500 codepoints, instead of emacs-mule codepoints. See
501 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
502 for the details.
503
6dad7178
EZ
504 * files.el (file-truename): Don't skip symlink-chasing part on
505 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
506 Windows into the loop that recursively chases symlinks.
507 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
508 MS-DOS.
509
385b0198
CY
5102012-08-03 Chong Yidong <cyd@gnu.org>
511
6200f3c4
CY
512 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
513
385b0198
CY
514 * sort.el (sort-regexp-fields): Doc fix.
515
b9e74744
TH
5162012-08-03 Tassilo Horn <tsdh@gnu.org>
517
518 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
519 labels regex position point at the expected place.
520
41013cb4
MK
5212012-08-03 MON KEY <monkey@sandpframing.com>
522
523 * net/imap.el (imap-interactive-login, imap-authenticate)
524 (imap-mailbox-lsub, imap-mailbox-list)
525 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
526 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
527 (imap-parse-response): Doc fix.
528
0ffee616
JT
5292012-08-03 João Távora <joaotavora@gmail.com>
530
531 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
532 if sexp scanning does not move point (Bug#5734).
533
cfcc9cc8
TH
5342012-08-02 Tassilo Horn <tsdh@gnu.org>
535
536 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
537 Add listings, minted, and ctable packages.
538 (reftex-label-alist-builtin): Move listings, minted, and ctable
539 entries before LaTeX.
a01bbb84 540 (reftex-label-alist): Docfix.
cfcc9cc8 541
66ec2442
BG
5422012-08-02 Bastien Guerry <bzg@gnu.org>
543
544 * replace.el (occur): Fix docstring (bug#12122).
545
837b365b
GM
5462012-08-02 Glenn Morris <rgm@gnu.org>
547
548 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
549
e098de97
PE
5502012-08-02 Paul Eggert <eggert@cs.ucla.edu>
551
552 Obsolete alias inactivate-current-input-method-function (Bug#10150).
553 * international/mule-cmds.el: Create
554 inactivate-current-input-method-function as an obsolete alias for
555 deactivate-current-input-method-function. See Katsumi Yamaoka in
556 <http://bugs.gnu.org/10150#46>.
557
a0f95636
JB
5582012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
559
560 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
561 of nested `if's.
562
0d26d7c4
GM
5632012-08-01 Glenn Morris <rgm@gnu.org>
564
565 * progmodes/autoconf.el (autoconf-definition-regexp):
566 Add AH_TEMPLATE, adjust submatch numbering.
567 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
568 (autoconf-current-defun-function): Update for above change.
569 (autoconf-current-defun-function): First skip to end of current word.
570
b686ba06
RS
5712012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
572
573 * calendar/cal-html.el (cal-html-insert-agenda-days):
574 Fix typo. (Bug#12018)
575
0d49da68
FEG
5762012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
577
578 Shell processes: enhancements to startup and CEDET compatibility.
579 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
580 (python-shell-make-comint): accept-process-output at startup.
581 (run-python-internal): Set inferior-python-mode-hook to nil.
582 (python-shell-internal-get-or-create-process): call sit-for.
583 (python-preoutput-result): Add obsolete alias.
584 (python-shell-internal-send-string): Use it.
585 (python-shell-send-setup-code): Remove call to
586 accept-process-output.
587
f1a71c6e
AS
5882012-07-31 Andreas Schwab <schwab@linux-m68k.org>
589
590 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
591 (Bug#12108)
592
d2605269
JB
5932012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
594
595 * calc-mode.el (calc-basic-simplification-mode): Rename from
596 `calc-limited-simplification-mode'.
597 (calc-alg-simplification-mode): New function.
d66060f8 598 (calc-set-simplify-mode): Adjust message.
f1a71c6e 599
d2605269
JB
600 * calc.el (calc-set-mode-line): Adjust mode line display for
601 basic simplification mode.
602
603 * calc-help.el (calc-m-prefix-help): Update help message.
604
605 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
606 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
607
a3827a43
BG
6082012-07-31 Bastien Guerry <bzg@gnu.org>
609
610 * man.el (man): Fix comment. (bug#12101)
611
502e3f89
MR
6122012-07-31 Martin Rudalics <rudalics@gmx.at>
613
614 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
615 Don't return a non-nil value when no suitable buffer was found.
616
d7714961
FEG
6172012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
618
619 * progmodes/python.el (run-python-internal): Disable font lock for
620 internal shells.
621
1f45e27e
SM
6222012-07-30 Stefan Merten <smerten@oekonux.de>
623
624 * rst.el: Silence `checkdoc-ispell'.
625 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
626 (rst-official-version, rst-official-cvs-rev)
627 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
628 (rst-mode-map): New key binding.
629
0aee6912
PE
6302012-07-30 Paul Eggert <eggert@cs.ucla.edu>
631
632 Update .PHONY listings in makefiles.
633 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
634 autoloads, update-subdirs, updates, bzr-update, update-authors,
635 compile-onefile, compile-calc, backup-compiled-files,
636 compile-after-backup, compile-one-process, mh-autoloads,
637 bootstrap-clean, distclean, maintainer-clean.
638
9052f9f0
JB
6392012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
640
1823ac5a
JB
641 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
642 (calc-set-mode-line): Don't display "AlgSimp ".
643
644 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
645 (calc-lim-simplify-mode): New function.
646 (calc-set-simplify-mode): Default to 'alg.
647 (calc-default-simplify-mode): Make algebraic simplifications
648 the default.
649
650 * calc/calc-ext.el (calc-init-extensions): Remove binding for
651 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
652
8d7c7eed 653 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
654 indicate new simplification modes.
655
1823ac5a
JB
656 * calc/README: Mention new default simplification mode.
657
9052f9f0
JB
658 * calc/calc.el (math-normalize-error): New variable.
659 (math-normalize): Set `math-normalize-error' to t
660 when there's an error.
661
662 * calc/calc-alg.el (math-simplify): Don't simplify when
663 `math-normalize' returns an error.
664
20ba0cb4
EZ
6652012-07-29 Eli Zaretskii <eliz@gnu.org>
666
667 * international/mule-cmds.el (set-locale-environment): Revert last
668 change, since display-graphic-p returns nil when this function is
669 called during startup. Instead...
670
671 * term/w32console.el (terminal-init-w32console): ...setup the
672 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
673
a5dcc929
JL
6742012-07-29 Juri Linkov <juri@jurta.org>
675
676 * simple.el (goto-line): Don't display default line number in the
677 prompt because it should be displayed by `read-number' (bug#9952).
678 Add the current line number to the defaults of `goto-line' to
679 allow its easier modification by users with `M-n' (bug#9201).
680
681 * subr.el (read-number): Support multiple default values like in
682 other minibuffer reading functions. Replace `read' with
683 `string-to-number' for consistency with `number-to-string'.
684
72b255c7
PE
6852012-07-29 Paul Eggert <eggert@cs.ucla.edu>
686
687 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
688 * emulation/viper-init.el (viper-deactivate-input-method-action):
689 Rename from viper-inactivate-input-method-action.
690 (viper-deactivate-input-method):
691 Rename from viper-inactivate-input-method.
692 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
693 * international/mule-cmds.el (deactivate-input-method):
694 Rename from inactivate-input-method.
695 Also run input-method-deactivate-hook.
696 (deactivate-current-input-method-function):
697 Rename from inactivate-current-input-method-function.
698 (input-method-deactivate-hook): New hook.
699 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
700 (inactivate-input-method): Mark obsolete.
701
72b255c7
PE
702 * international/quail.el (quail-activate):
703 Also run quail-deactivate-hook.
704 (quail-deactivate): Rename from quail-inactivate.
705 * international/robin.el (robin-activate):
706 Also run robin-deactivate-hook.
707 (robin-deactivate): Rename from robin-inactivate.
708
2549c068
CY
7092012-07-29 Chong Yidong <cyd@gnu.org>
710
711 * simple.el (indicate-copied-region): New function.
712 (kill-ring-save): Split off from here.
713
714 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
715 (kill-rectangle): Set deactivate-mark to t on read-only error.
716
717 * register.el (copy-to-register, copy-rectangle-to-register):
718 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
719 (append-to-register, prepend-to-register):
720 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
721
722 * simple.el (async-shell-command-buffer): New defcustom.
723 (shell-command): Use it. (Bug#4719)
724
01bd1b0d
EZ
7252012-07-28 Eli Zaretskii <eliz@gnu.org>
726
727 * international/mule-cmds.el (set-locale-environment): In a
728 console session on MS-Windows, set up keyboard and terminal
729 encoding from the OEM codepage, not the ANSI codepage.
730 (Bug#12055)
731
a55739d3
CY
7322012-07-28 Chong Yidong <cyd@gnu.org>
733
734 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
735 gdb-get-location.
736
0e1a094f 7372012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
738
739 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
740 the alist (bug#12029).
741
20329d73
EZ
7422012-07-28 Eli Zaretskii <eliz@gnu.org>
743
744 * makefile.w32-in (custom-deps, finder-data, updates, compile)
745 (compile-always, compile-first)
746 ($(lisp)/calendar/cal-loaddefs.el)
747 ($(lisp)/calendar/diary-loaddefs.el)
748 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
749 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
750 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
751 instead of on update-subdirs.
752 (bootstrap-clean): Delete $(lisp)/subdirs.el.
753
345a2258
CY
7542012-07-28 Chong Yidong <cyd@gnu.org>
755
1eee6341
CY
756 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
757 directory if vc-deduce-backend returns nil (Bug#7350).
758
345a2258
CY
759 * simple.el (delete-trailing-lines): New option.
760 (delete-trailing-whitespace): Obey it (Bug#11879).
761
049a0936
DE
7622012-07-28 David Engster <deng@randomsample.de>
763
764 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
765 Explanation of new 'symbol-qnames feature in doc-strings.
766 (xml-maybe-do-ns): Return expanded names as plain symbols if
767 'symbol-qnames was provided in XML-NS argument (Bug#11916).
768 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
769
aa81af71
FEG
7702012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
771
772 Consistent completion in inferior python with emacs -nw.
773 * progmodes/python.el (inferior-python-mode): replace "<tab>"
774 binding in inferior-python-mode-map with "\t".
775 (python-shell-completion-complete-at-point)
776 (python-completion-complete-at-point): Remove interactive spec.
777
e827b1eb
JB
7782012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
779
780 * calc/calccomp.el (math-compose-expr): Undo previous change.
781
a90dfb95
FEG
7822012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
783
4250fdf5 784 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
785 run-python.
786 (python-shell-make-comint): Fix pop-to-buffer call.
787 (run-python): Autoload. New arg SHOW.
788 (python-shell-get-or-create-process): Do not pop python process
789 buffer.
790
32770973 7912012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
792
793 * notifications.el (notifications-on-action-signal)
794 (notifications-on-closed-signal): Use also the bus address for the map.
795 (notifications-notify, notifications-close-notification)
796 (notifications-get-capabilities): Add optional argument BUS.
797
86332df2
TH
7982012-07-27 Tassilo Horn <tsdh@gnu.org>
799
4250fdf5
SM
800 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
801 Add support for the lstlisting and minted environments, and for the
86332df2
TH
802 ctable macro.
803 * textmodes/reftex.el (reftex-compile-variables): Also recognize
804 labels written in keyvals syntax.
805
ca1302a4
JB
8062012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
807
808 * calc/calccomp.el (math-compose-expr): Use parentheses when
809 there is a product in the denominator of a fraction.
810
f8b91036
EZ
8112012-07-26 Eli Zaretskii <eliz@gnu.org>
812
813 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
814 ($(lisp)/calendar/diary-loaddefs.el)
815 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
816 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
817 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
818 rewritten while the autoload files are built at the same time,
819 which needs to load subdirs.el.
820
c8e5a42c
MR
8212012-07-26 Martin Rudalics <rudalics@gmx.at>
822
823 * mouse.el (popup-menu): Fix doc-string and re-indent code.
824 (mouse-drag-line): Don't exit tracking when a switch-frame or
825 switch-window event occurs (Bug#12006).
826
670d85ea
SM
8272012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
828
829 * mouse.el (popup-menu): Fix last change.
830
7abaf5cc
SM
8312012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
832
833 Autoload from Lisp with more care. Follow aliases when looking for
834 function properties.
835 * subr.el (autoloadp): New function.
836 (symbol-file): Use it.
837 (function-get): New function.
838 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
839 autoload-do-load.
840 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
841 (lisp-indent-function):
842 * emacs-lisp/gv.el (gv-get):
843 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
844 * emacs-lisp/byte-opt.el (byte-optimize-form):
845 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
846 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
847 Use function-get.
848 * emacs-lisp/cl.el: Don't propagate function properties any more.
849
850 * speedbar.el (speedbar-add-localized-speedbar-support):
851 * emacs-lisp/disass.el (disassemble-internal):
852 * desktop.el (desktop-load-file):
853 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
854 (describe-function-1):
855 * emacs-lisp/find-func.el (find-function-noselect):
856 * emacs-lisp/elp.el (elp-instrument-function):
857 * emacs-lisp/advice.el (ad-has-proper-definition):
858 * apropos.el (apropos-safe-documentation, apropos-macrop):
859 * emacs-lisp/debug.el (debug-on-entry):
860 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
861 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
862 * calc/calc.el (name): Use autoloadp & autoload-do-load.
863
b1364986
AA
8642012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
865
866 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
867 function, not an obsolete variable (Bug#12046).
868
67ada220
AS
8692012-07-25 Andreas Schwab <schwab@linux-m68k.org>
870
871 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
872
f08088e3
CS
8732012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
874
875 * emacs-lisp/pp.el (pp-display-expression): Select old selected
876 window only if it is still live (Bug#12034).
877
8137e7b3
MR
8782012-07-25 Martin Rudalics <rudalics@gmx.at>
879
880 * subr.el (redirect-frame-focus): Add advertised calling
881 convention (Bug#12030).
882
09ae5da1
PE
8832012-07-25 Paul Eggert <eggert@cs.ucla.edu>
884
885 Prefer typical American spelling for "acknowledgment".
886 * vc/add-log.el (change-log-acknowledgment): Rename from
887 change-log-acknowledgement, with an alias for the old name.
888
3cc5a3a8
JB
8892012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
890
891 * calc-alg.el (math-simplify-divide): Don't cross multiply
892 in an equation when the lhs is a variable.
893
b7af7f62
JD
8942012-07-24 Julien Danjou <julien@danjou.info>
895
896 * net/netrc.el (netrc-find-service-number, netrc-store-data):
897 Remove, unused.
898
ec1b09b1
EZ
8992012-07-23 Eli Zaretskii <eliz@gnu.org>
900
901 * startup.el (command-line): Don't display an empty user name in
902 the error message about non-existent home directory, when
903 init-file-user was set to an empty string. See
904 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
905 for the details and context.
906
b525fd8a
VB
9072012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
908
909 * ses.el (ses-cell-formula-aset): New macro.
910 (ses-cell-references-aset): New macro.
911 (ses-cell-p): New function.
912 (ses-rename-cell): Do no longer rely on complex operations like
913 ses-cell-set-formula or ses-set-cell to change the cell and handle
914 the undo at the same time, but rather use lower level new macros
915 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
916 the undo directly. Refresh the mode line.
917
2c73e345
LL
9182012-07-21 Leo Liu <sdl.web@gmail.com>
919
670d85ea
SM
920 * progmodes/cc-cmds.el (c-defun-name):
921 Use match-string-no-properties instead for consistency.
2c73e345 922
542dfbde
LL
9232012-07-20 Leo Liu <sdl.web@gmail.com>
924
3646bcd6
LL
925 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
926 (Bug#7879)
927
542dfbde
LL
928 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
929
25721031
CY
9302012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
931
932 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
933 * progmodes/bug-reference.el, misearch.el: Provide themselves
934 (bug#11915).
935
936 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
937 of narrowed buffer (bug#11966).
938
316e68a7
VB
9392012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
940
941 * ses.el (ses-rename-cell): Set new name also in reference list of
942 cells of which the renamed cell depends.
943
bbf0e7d9
MY
9442012-07-20 Masatake YAMATO <yamato@redhat.com>
945
946 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
947 to check whether menu-bar is shown or not. If not shown,
948 show the menu-bar as a popup menu instead of using tmm.
949 * mouse.el (popup-menu): Accept `point' as `position' argument.
950
c28662a8
DG
9512012-07-20 Dmitry Gutov <dgutov@yandex.ru>
952
953 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
954 up inside string symbol literal (bug#11923).
955
87ab808f
EZ
9562012-07-20 Eli Zaretskii <eliz@gnu.org>
957
958 * startup.el (fancy-startup-text): Read the whole tutorial, not
959 just its first 256 bytes. Prevents gibberish in display of the
960 tutorial title.
961
89dea803
DA
9622012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
963
964 Drop idle buffer compaction due to an absence of the
965 proved efficiency.
966 * compact.el: Remove.
967
8a4e6db8
SS
9682012-07-19 Sam Steingold <sds@gnu.org>
969
970 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
971 vc-bzr-pull & vc-bzr-merge-branch.
972 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
973 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
974 for consistency with compilation-error-regexp-alist.
975 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
976 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
977 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
978 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
979
5db81e33
SM
9802012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
981
982 * emacs-lisp/chart.el: Use lexical-binding.
983 (chart-emacs-storage): Don't hardcode the list of entries.
984
5b835e1d
DA
9852012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
986
987 Next round of tweaks caused by Fgarbage_collect changes.
988 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
989
9cd47b72
DA
9902012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
991
992 Compact buffers when idle.
993 * compact.el: New file.
994
1d6fc0df
SM
9952012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
996
997 * subr.el (eventp): Presume that if it looks vaguely like an event,
998 it's an event (bug#10190).
999
1d29cc7d
FEG
10002012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
1001
1002 Enhancements to ppss related code (thanks Stefan).
1003 * progmodes/python.el (python-indent-context)
1004 (python-indent-calculate-indentation, python-indent-dedent-line)
1005 (python-indent-electric-colon, python-nav-forward-block)
1006 (python-mode-abbrev-table)
1d6fc0df 1007 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
1008 for ppss context.
1009 (python-info-continuation-line-p): Cleanup.
1010 (python-info-ppss-context): Do not catch 'quote.
1011 (python-info-ppss-context-type)
1012 (python-info-ppss-comment-or-string-p): Simplify.
1013
d583cbe6
FEG
10142012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
1015
1016 * progmodes/python.el: Enhancements to eldoc support.
1017 (python-info-current-symbol): New function.
1018 (python-eldoc-at-point): Use python-info-current-symbol.
1019 (python-info-current-defun): Fix cornercase on first defun scan.
1020 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
1021 and signal error when no inferior python process is available.
1022
eceb6feb
DG
10232012-07-18 Dmitry Gutov <dgutov@yandex.ru>
1024
1025 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
1026 assume it's always t.
1027 (vc-git-registered): Remove caching, the function is only called
1028 once.
1029 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
1030
4c8ff0fe
CY
10312012-07-18 Chong Yidong <cyd@gnu.org>
1032
19fb7186
CY
1033 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
1034
9587c688
CY
1035 * simple.el (count-words): Report on narrowing (Bug#9959).
1036
0fe776a1
CY
1037 * bindings.el: Bind M-= to count-words.
1038
4c8ff0fe
CY
1039 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
1040
7f5331cc
MY
10412012-07-18 Masatake YAMATO <yamato@redhat.com>
1042
1043 * progmodes/sh-script.el (sh-imenu-generic-expression):
1044 Capture a function with `function' keyword and without parentheses
1045 like "function FOO" (bug#11856).
1046
2dc2a609
TH
10472012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1048
1049 * window.el (split-window-sensibly): Make WINDOW argument
1050 optional.
1051
439f7677
CY
10522012-07-18 Chong Yidong <cyd@gnu.org>
1053
9aeb25a6
CY
1054 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1055
439f7677
CY
1056 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1057 and make C-x 8 RET exit isearch (Bug#11439).
1058
1059 * international/iso-transl.el: Move isearch-mode-map key
1060 definitions to isearch.el.
1061
12999ea8
SM
10622012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1063
1064 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1065 (eieio-defclass): Use gv-define-setter when possible.
1066
3ab6e069
DA
10672012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1068
1069 Reflect recent changes in Fgarbage_collect.
1070 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1071 reflect new format of data returned by Fgarbage_collect.
1072
0a60bc10
FEG
10732012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1074
1075 New utility functions + python-info-ppss-context fix (Bug#11910).
1076 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1077 (python-info-ppss-comment-or-string-p): New functions.
1078 (python-info-ppss-context): Small fix for string check.
1079
6dafa0d5
JL
10802012-07-17 Juri Linkov <juri@jurta.org>
1081
1082 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1083 (dired-do-async-shell-command): Don't add `*' at the end of the
1084 command (Bug#11815).
1085 (dired-do-shell-command): Doc fix.
1086 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1087 Join the individual commands using either "&" or ";" as the
1088 separator depending on the values of these trailing characters.
1089 At the end re-add the trailing "&". (Bug#10598)
1090
1091 * simple.el (async-shell-command): Sync the interactive spec with
1092 `shell-command'. Doc fix.
1093 (shell-command): Doc fix.
1094
b19dd9d1
JL
10952012-07-17 Juri Linkov <juri@jurta.org>
1096
1097 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1098
bcdc27d7 10992012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1100
bcdc27d7 1101 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1102 * progmodes/python.el (python-nav-beginning-of-statement):
1103 Rename from python-nav-statement-start.
bcdc27d7
FEG
1104 (python-nav-end-of-statement): Rename from
1105 python-nav-statement-end.
1106 (python-nav-beginning-of-block): Rename from
1107 python-nav-block-start.
1108 (python-nav-end-of-block): Rename from python-nav-block-end.
1109
191da00e
FEG
11102012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1111
7f5331cc
MY
1112 * progmodes/python.el (python-shell-send-string-no-output):
1113 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1114 future interactions (Bug#11868).
1115
4dc7c8d5 11162012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1117
88ecaf8f
SM
1118 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1119
ef501ef0
SM
1120 * emacs-lisp/elint.el (elint-find-args-in-code):
1121 Use help-function-arglist, so as to handle lexical byte-code.
1122
aa7aaf8f
SM
1123 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1124 change (bug#11826).
1125
45fd731c
SM
11262012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1127
2143fa32
SM
1128 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1129 Avoid spuriously marking the buffer as modified because of c-is-sws.
1130
efc26dbe
SM
1131 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1132 as not-a-comment (bug#11946).
1133
f5695c9a
SM
1134 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1135 for uninterned vars.
1136
1137 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1138 Use read-event since we don't really want to read chars but bytes.
1139
45fd731c
SM
1140 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1141 $$..$$ but also $..$ using regexps (bug#11953).
1142 Use tex-verbatim for \url and \path.
1143 (tex-font-lock-keywords): Define as defconst like the others.
1144 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1145
ddfc8813
RK
11462012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1147
1148 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1149 alias for insert-char.
1150
758e556a
FEG
11512012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1152
1153 * progmodes/python.el: Simplified imenu implementation.
1154 (python-nav-jump-to-defun): Remove command.
1155 (python-mode-map): Use `imenu' instead.
1156 (python-nav-list-defun-positions-cache)
1157 (python-imenu-include-defun-type, python-imenu-make-tree)
1158 (python-imenu-subtree-root-label, python-imenu-index-alist):
1159 Remove vars.
1160 (python-nav-list-defun-positions, python-nav-read-defun)
1161 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1162 (python-imenu-make-tree, python-imenu-create-index):
1163 Remove functions.
758e556a
FEG
1164 (python-mode): Update to interact with imenu by setting
1165 `imenu-extract-index-name-function' only.
1166
032d23ab
FEG
11672012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1168
1169 * progmodes/python.el: Enhancements to navigation commands.
1170 (python-nav-backward-sentence)
1171 (python-nav-forward-sentence): Remove.
1172 (python-nav-backward-statement, python-nav-forward-statement)
1173 (python-nav-statement-start, python-nav-statement-end)
1174 (python-nav-backward-block, python-nav-forward-block)
1175 (python-nav-block-start, python-nav-block-end)
1176 (python-nav-forward-sexp-function)
1177 (python-info-current-line-comment-p)
1178 (python-info-current-line-empty-p): New functions.
1179 (python-indent-context): Use `python-nav-statement-start'.
1180
01795a1b
MA
11812012-07-16 Michael Albinus <michael.albinus@gmx.de>
1182
9328d9aa
MA
1183 * eshell/em-ls.el (eshell/ls): Use `apply'.
1184
1185 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1186 multi-hops, instead of Tramp internals.
1187
01795a1b
MA
1188 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1189
1190 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1191 when F1 and F2 are located on different hosts.
1192
63408057
CY
11932012-07-14 Chong Yidong <cyd@gnu.org>
1194
1195 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1196 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1197 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1198 (xterm-mouse--read-event-sequence-1000)
1199 (xterm-mouse--read-event-sequence-1006): New functions. For old
1200 mouse protocol, handle M-mouse-X events correctly.
1201 (xterm-mouse-event): New arg specifying mouse protocol.
1202 (turn-on-xterm-mouse-tracking-on-terminal)
1203 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1204 sequence to toggle extended coordinates on newer XTerms.
1205 This appears to be harmless on terminals which do not support this.
63408057 1206
cd276f6e
LL
12072012-07-14 Leo Liu <sdl.web@gmail.com>
1208
28ca98ac
LL
1209 Add fringe bitmap indicators for flymake. (Bug#11253)
1210 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1211 (flymake-make-overlay): New arg BITMAP.
1212 (flymake-error-bitmap, flymake-warning-bitmap)
1213 (flymake-fringe-indicator-position): New user variables.
1214
cd276f6e
LL
1215 * fringe.el: New bitmap exclamation-mark.
1216
04408072
JD
12172012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1218
1219 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1220 also (Bug#7879).
1221
b5cf7fc4
CY
12222012-07-14 Chong Yidong <cyd@gnu.org>
1223
1224 * electric.el (electric-pair-post-self-insert-function): Fix pair
1225 insertion in empty-region case (Bug#11520).
1226
be755c79
RT
12272012-07-14 Chong Yidong <cyd@gnu.org>
1228
45fd731c
SM
1229 * bindings.el: Consolidate ctl-x-r-map bindings.
1230 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1231
1232 * rect.el, register.el: Move bindings to bindings.el.
1233
12342012-07-14 Reuben Thomas <rrt@sc3d.org>
1235
1236 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1237
7f5b3198
AS
12382012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1239
1240 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1241
97662200
JB
12422012-07-13 Juanma Barranquero <lekktu@gmail.com>
1243
80185fed
JB
1244 * bindings.el (top): Use `mapc' instead of `mapcar'.
1245
97662200
JB
1246 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1247
2bb1ae55
MA
12482012-07-13 Michael Albinus <michael.albinus@gmx.de>
1249
1250 * progmodes/sql.el (sql-comint): Suppress the check for program on
1251 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1252 (Bug#11908)
1253
dea31bd3
CY
12542012-07-13 Chong Yidong <cyd@gnu.org>
1255
1256 * bindings.el: Assign a non-nil permanent-local property to
1257 per-buffer variables which lack a default value (Bug#11930).
1258
1259 * help-fns.el (describe-variable): In the "automatically becomes
1260 local" notice, take note of permanent-local variables.
1261
b68b3337
CY
12622012-07-13 Chong Yidong <cyd@gnu.org>
1263
1264 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1265 to allow printing the message when called from Lisp.
1266
1267 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1268 Remove toggle-read-only.
1269
1270 * bs.el (bs-toggle-readonly):
45fd731c
SM
1271 * buff-menu.el (Buffer-menu-toggle-read-only):
1272 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1273
1274 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1275 Remove with-no-warnings around toggle-read-only.
1276 (ffap-read-only, ffap-read-only-other-window)
1277 (ffap-read-only-other-frame): Callers changed.
1278
1279 * help-mode.el: Don't require view package.
1280 (help-mode-finish): Set buffer-read-only instead of calling
1281 toggle-read-only.
1282
1283 * bindings.el (mode-line-toggle-read-only):
1284 * dired.el (dired-toggle-read-only):
1285 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1286 with non-nil second arg.
1287
1288 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1289 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1290 directly.
1291
56bc1586
EZ
12922012-07-12 Eli Zaretskii <eliz@gnu.org>
1293
1294 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1295 not incf.
1296
a464a6c7
SM
12972012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1298
1299 More CL cleanups and reduction of use of cl.el.
1300 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1301 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1302 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1303 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1304 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1305 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1306 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1307 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1308 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1309 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1310 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1311 * eshell/em-cmpl.el, eshell/em-banner.el:
1312 * calendar/parse-time.el: Use cl-lib.
1313 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1314 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1315 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1316 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1317 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1318 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1319 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1320 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1321 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1322 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1323 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1324 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1325 `lambda' rather than with `quote'.
1326 (eshell-do-opt): Adjust accordingly.
1327 (eshell-process-option): Simplify.
1328 * eshell/esh-var.el:
1329 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1330 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1331 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1332 to `pcase--dontcare'.
1333 * emacs-lisp/cl.el (labels): Mark obsolete.
1334 (cl--letf, letf): Move to cl-lib.
1335 (cl--letf*, letf*): Remove.
1336 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1337 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1338 (cl-progv): Rewrite.
1339 (cl--letf, cl-letf): Move from cl.el.
1340 (cl-letf*): New macro.
1341 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1342
7ad4afe1
MA
13432012-07-11 Michael Albinus <michael.albinus@gmx.de>
1344
1345 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1346
9af57756
CY
13472012-07-11 Chong Yidong <cyd@gnu.org>
1348
1349 * vc/log-edit.el (log-edit-vc-backend): New variable.
1350 (log-edit): Doc fix.
1351
1352 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1353 argument of log-edit to set up all local variables.
1354 (vc-start-logentry): New optional arg specifying VC backend.
1355
1356 * vc/vc.el (vc-checkin): Use it.
1357 (vc-deduce-fileset): Handle Log Edit buffers.
1358 (vc-diff): Make first argument optional too.
1359
1360 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1361
8477cc7a
MA
13622012-07-10 Michael Albinus <michael.albinus@gmx.de>
1363
1364 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1365 command, just in case. The function is not needed anymore.
1366 (eshell-external-command): Do not call `eshell-remote-command'.
1367
19faa8e8
SM
13682012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1369
f58e0fd5
SM
1370 Reduce use of (require 'cl).
1371 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1372 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1373 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1374 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1375 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1376 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1377 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1378 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1379 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1380 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1381 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1382 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1383 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1384 (byte-compile-unfold-bcf, byte-compile-check-variable):
1385 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1386 (byte-compile-nilconstp):
1387 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1388 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1389
2519d43a
SM
1390 * emacs-lisp/gv.el (cond): Make it a valid place.
1391 (if): Simplify slightly.
1392
19faa8e8
SM
1393 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1394 (pcase--self-quoting-p): New function.
1395 (pcase--u1): Use it.
1396
c4907a5e
GM
13972012-07-10 Glenn Morris <rgm@gnu.org>
1398
1399 * emacs-lisp/authors.el (authors-fixed-entries):
1400 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1401
c4444d16
PE
14022012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1403
1404 Rename configure.in to configure.ac (Bug#11603).
1405 * emacs-lisp/authors.el (authors-canonical-file-name):
1406 * progmodes/autoconf.el (autoconf-mode):
1407 Prefer configure.ac to configure.in.
1408
d75be97d
CY
14092012-07-08 Chong Yidong <cyd@gnu.org>
1410
01ac65bd
CY
1411 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1412 Implement the mouse-1-click-follows-link handling properly.
1413
1414 * info.el (Info-link-keymap): Use follow-link mechanism for
1415 header-line links (Bug#374).
1416
d75be97d
CY
1417 * simple.el (deactivate-mark): Do not set the primary selection
1418 if another program has acquired it (Bug#11772).
1419
87a92845 14202012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1421
1422 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1423 (woman-decode-region): Replace escaped-escapes without destroying
1424 bold or underline (Bug#11552).
87a92845 1425 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1426
621b9d6c
CY
14272012-07-07 Chong Yidong <cyd@gnu.org>
1428
1429 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1430 (interprogram-cut-function, interprogram-paste-function):
1431 Mention that we typically mean the clipboard.
621b9d6c 1432
133a11fc
GM
14332012-07-06 Glenn Morris <rgm@gnu.org>
1434
0d27a45e
GM
1435 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1436
133a11fc
GM
1437 * files.el (toggle-read-only): Restrict message to interactive use.
1438
07b151f1
MA
14392012-07-06 Michael Albinus <michael.albinus@gmx.de>
1440
1441 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1442
1443 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1444
211b896b
GM
14452012-07-06 Glenn Morris <rgm@gnu.org>
1446
50394322
GM
1447 * Makefile.in (compile-one-process): Rename from "recompile".
1448
211b896b
GM
1449 * Makefile.in (bzr-update): "compile" is the same as "recompile
1450 autoloads", but parallelizable, so use that instead.
1451
4737eec9
DG
14522012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1453
1454 * window.el (quit-window): Always restore window height when
8137e7b3 1455 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1456
226c3633 14572012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1458
1459 * simple.el (kill-whole-line): Doc tweak.
1460
226c3633 14612012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1462
1463 * files.el (file-relative-name): Compare file names
1464 case-insensitively if on MS-Windows or MS-DOS, or if
1465 read-file-name-completion-ignore-case is non-nil. Don't use
1466 case-fold-search for this purpose. (Bug#11827)
1467
4dc7c8d5
SM
14682012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1469
1470 * calendar/cal-dst.el (calendar-current-time-zone):
1471 Return calendar-current-time-zone-cache if non-nil.
1472
14732012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 14742012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1475
19faa8e8
SM
1476 * calendar/cal-dst.el (calendar-current-time-zone):
1477 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1478
60198fc9
GM
14792012-07-06 Glenn Morris <rgm@gnu.org>
1480
1481 * Makefile.in (cvs-update): Remove old alias.
1482
957b3189
MA
14832012-07-05 Michael Albinus <michael.albinus@gmx.de>
1484
1485 Sync with Tramp 2.2.6-pre.
1486
1487 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1488 compatible declaration.
1489
19faa8e8
SM
1490 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1491 Protect `list-load-path-shadows' call.
957b3189
MA
1492
1493 * net/tramp-compat.el (top): Require packages, which aren't
1494 autoloaded anymore for XEmacs. Protect call of
1495 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1496 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1497 it hurts at least for SXEmacs.
1498 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1499 standard-value for `temporary-file-directory'.
1500
1501 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1502 Redirect stderr to /dev/null.
1503 (tramp-sh-handle-write-region): uid and gid can be floats.
1504 Reported by Russell Sim <russell.sim@gmail.com>.
1505 (tramp-sh-handle-vc-registered): Hide errors.
1506 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1507 and `start-file-process'.
1508 (tramp-maybe-open-connection): Check also whether `non-essential'
1509 is bound.
1510
566df3fc
CY
15112012-07-04 Chong Yidong <cyd@gnu.org>
1512
1513 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1514 (xml-parse-tag): Likewise, and avoid changing entity tables.
1515 (xml-syntax-table): Define from scratch, making sure not to give
1516 x2000 and other Unicode spaces whitespace syntax, since those are
1517 not spaces in XML.
1518 (xml-parse-fragment): Delete unused function.
1519 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1520 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1521 (xml-entity-ref, xml-pe-reference-re)
1522 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1523 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1524 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1525 (xml-entity-value-re): Use syntax references in regexps where
1526 possible; no need to define inside a let-binding.
1527 (xml-parse-dtd): Use xml-pe-reference-re.
1528 (xml-entity-or-char-ref-re): New defconst.
1529 (xml-parse-string, xml-substitute-special): Use it.
1530
30eabd7a
SM
15312012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1532
0781098a
SM
1533 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1534 (find-file--read-only): New function.
1535 (find-file-read-only, find-file-read-only-other-window)
1536 (find-file-read-only-other-frame): Use it.
1537 (insert-file-contents-literally): Don't `fset'.
1538 (get-free-disk-space): Use locate-dominating-file.
1539
b5771c0d
SM
1540 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1541 function is already compiled.
1542
30eabd7a
SM
1543 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1544
b4886f6e
MA
15452012-07-03 Michael Albinus <michael.albinus@gmx.de>
1546
1547 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1548 files on the same host.
1549
b9d82339
AS
15502012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1551
1552 * help-fns.el (describe-function-1): Only call
1553 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1554
a76e6535
CY
15552012-07-03 Chong Yidong <cyd@gnu.org>
1556
1557 * xml.el: Protect parser against XML bombs.
1558 (xml-entity-expansion-limit): New variable.
1559 (xml-parse-string, xml-substitute-special): Use it.
1560 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1561
b544fef2
GM
15622012-07-03 Glenn Morris <rgm@gnu.org>
1563
1564 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1565 Allow linking to specific messages in debbugs reports (eg 123#5).
1566
a7aef6f5
CY
15672012-07-02 Chong Yidong <cyd@gnu.org>
1568
1569 * xml.el: Fix entity and character reference expansion, allowing
1570 them to expand into markup as per XML spec.
1571 (xml-default-ns): New variable.
1572 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1573 (xml-parse-region): Make first two arguments optional.
1574 Discard text properties.
1575 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1576 All callers changed.
a7aef6f5
CY
1577 (xml-parse-tag): Call xml-parse-tag-1. For backward
1578 compatibility, this function should not modify buffer contents.
1579 (xml-parse-tag-1): Fix opening-tag regexp.
1580 (xml-parse-string): Rewrite, handling entity and character
1581 references properly.
1582 (xml--entity-replacement-text): Signal an error if a parameter
1583 entity is undefined.
1584
3df31c9f
SM
15852012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1586
2b5208f1
SM
1587 * comint.el (comint-output-filter): Filter out repeated prompts.
1588
3df31c9f
SM
1589 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1590 and file-name-absolute-p.
1591 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1592 internal calls.
1593
e3ac1281
PE
15942012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1595
1596 Spelling fixes.
1597 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1598 Rename from byte-compile--refiy-function. All uses changed.
1599
fbf2e7ad
CY
16002012-07-01 Chong Yidong <cyd@gnu.org>
1601
1602 * xml.el (xml--parse-buffer): New function. Move most of
1603 xml-parse-region here.
1604 (xml-parse-region): Copy region into a temporary buffer, since
1605 parameter entity substitution requires changing buffer contents.
1606 Use xml--parse-buffer.
1607 (xml-parse-file): Use xml--parse-buffer.
1608 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1609 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1610
9bf0aa15
GM
16112012-06-30 Glenn Morris <rgm@gnu.org>
1612
bbce2853
GM
1613 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1614
9bf0aa15
GM
1615 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1616 Remove outdated and unnecessary dbus declarations.
1617
0d23c240
EZ
16182012-06-30 Eli Zaretskii <eliz@gnu.org>
1619
1620 * emacs-lisp/timer.el (timer-until): Subtract results of
1621 float-time, instead of taking float-time of the result of
1622 time-subtract, since float-time signals an error for negative time
1623 arguments.
1624
b3218de1
CY
16252012-06-30 Chong Yidong <cyd@gnu.org>
1626
1627 * xml.el (xml-*-re): Convert defvars into defconsts, and
1628 eval-and-compile them so eval-and-compile works on derivatives.
1629 (xml--entity-replacement-text): Use eval-and-comple.
1630
a40c87a0
MA
16312012-06-30 Michael Albinus <michael.albinus@gmx.de>
1632
1633 * vc/vc-git.el (vc-git-registered): Use cache property
1634 `git-registered'.
1635 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1636 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1637 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1638
ac87de97
DG
16392012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1640
1641 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1642 removed (likely outside Emacs). (Bug#11757)
ac87de97 1643
ac10fe06
SM
16442012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1645
3df31c9f 1646 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1647
7f3fbd5d
CY
16482012-06-30 Chong Yidong <cyd@gnu.org>
1649
1650 * xml.el: Implement XML parameter entities.
1651 (xml-parameter-entity-alist): New variable.
1652 (xml-parse-region, xml-parse-fragment): Preserve previous values
1653 of xml-entity-alist and xml-parameter-entity-alist, so that
1654 repeated calls on different documents do not change them.
1655 (xml-parse-tag): Fix doctype regexp.
1656 (xml--entity-replacement-text): New function.
1657 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1658 properly requires url retrieval which is unimplemented.
1659 (xml-escape-string): Doc fix.
1660
3cfbebba
SM
16612012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1662
1663 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1664
2af3565e
DA
16652012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1666
1667 * fringe.el (fringe-mode): Doc fix.
1668
929df0e7
MA
16692012-06-29 Michael Albinus <michael.albinus@gmx.de>
1670
1671 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1672 is non-nil.
1673 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1674 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1675
c8d3a25c 16762012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1677
c8d3a25c
GM
1678 * calendar/cal-dst.el (calendar-current-time-zone):
1679 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1680
c8d3a25c 16812012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1682
1683 * progmodes/which-func.el (which-func-format):
1684 Add mouse-face. (Bug#11698)
1685
c8d3a25c
GM
16862012-06-29 Leo Liu <sdl.web@gmail.com>
1687
1688 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1689
16902012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1691
1692 * minibuffer.el (minibuffer-confirm-exit-commands):
1693 Add completion-at-point (bug#11725).
1694
16952012-06-29 Glenn Morris <rgm@gnu.org>
1696
1697 * progmodes/f90.el (f90-font-lock-keywords-2):
1698 Add some preprocessor elements. (Bug#10499)
1699
17002012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1701
1702 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1703 Use syntax-propertize (bug#11739).
1704
2badeec4
JB
17052012-06-28 Juanma Barranquero <lekktu@gmail.com>
1706
1707 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1708
ae4969c2
JD
17092012-06-28 Julien Danjou <julien@danjou.info>
1710
1711 * term.el (term-handle-colors-array): Use a set of new faces to
1712 color the terminal. Also uses :inverse-video property.
1713 (term-default-fg-color): Set to nil by default, deprecate in favor
1714 of `term-face'.
1715 (term-default-bg-color): Set to nil by default, deprecate in favor
1716 of `term-face'.
1717 (term-current-face): Use `term-face' by default.
1718 (term-bold-attribute): Variable deleted.
1719
1c9bd870
GM
17202012-06-28 Glenn Morris <rgm@gnu.org>
1721
1722 * simple.el (completion-list-mode-finish):
1723 Don't use toggle-read-only. (Since completion-list-mode has
1724 a special mode-class, it wasn't doing anything extra anyway.)
1725
c207708c
SM
17262012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1727
1728 Make inlining of other-mode interpreted functions work (bug#11799).
1729 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1730 (byte-compile): Use it to fix compilation of lexical-binding closures.
1731 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1732 function, if needed.
1733
3fd56834
SM
17342012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1735
04901786
SM
1736 * help-mode.el (help-make-xrefs): Don't just withstand
1737 cyclic-variable-indirection but any error in documentation-property.
1738
1ec4b7b2
SM
1739 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1740 memory use.
1741 * bindings.el (bindings--define-key): New function.
1742 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1743 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1744 * bindings.el: Use it to purecopy define-key bindings.
1745
e309e2a5
SM
1746 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1747
d5c6faf9
SM
1748 * emacs-lisp/cl.el (flet): Mark obsolete.
1749 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1750 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1751 * progmodes/js.el (js-c-fill-paragraph):
1752 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1753 (ebrowse-switch-member-buffer-to-derived-class):
1754 * play/5x5.el (5x5-solver): Use cl-flet.
1755
6e9590e2
SM
1756 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1757 (cl--symbol-function): New macro.
1758 (cl--letf, cl--letf*): Use it.
1759
3fd56834
SM
1760 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1761 Strip "toggle-" if any.
1762
35ff222c
GM
17632012-06-27 Glenn Morris <rgm@gnu.org>
1764
1ba6038a
GM
1765 * info.el (Info-default-directory-list): Move here from paths.el.
1766 * paths.el: Remove file, which is now empty.
1767 * loadup.el: No longer load "paths".
1768
0ea0e51b
GM
1769 * custom.el (custom-initialize-delay): Doc fix.
1770
35ff222c
GM
1771 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1772 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1773 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1774 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1775 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1776 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1777 * eshell/eshell.el (eshell-defgroup): Remove alias.
1778
c89926a5
CY
17792012-06-27 Chong Yidong <cyd@gnu.org>
1780
1781 * help.el (help-enable-auto-load): New variable.
1782
1783 * help-fns.el (help-fns--autoloaded-p): New function.
1784 (describe-function-1): Refer to a function as "autoloaded" if it
1785 was autoloaded at any time in the past. Perform autoloading if
1786 help-enable-auto-load is non-nil.
1787
cc06e7e7
EZ
17882012-06-26 Eli Zaretskii <eliz@gnu.org>
1789
1790 * makefile.w32-in (compile, compile-always): Depend on
1791 update-subdirs, not on subdirs.el. Otherwise, several different
1792 sub-targets of 'bootstrap' running in parallel could
1793 simultaneously write to subdirs.el, producing a garbled file.
1794
d2c32364
SS
17952012-06-26 Sam Steingold <sds@gnu.org>
1796
1797 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1798 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1799 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1800 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1801 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1802 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1803 * textmodes/tex-mode.el: Use it.
1804 Did not touch cedet and org because they are maintained elsewhere.
1805
5cf983b2
MR
18062012-06-26 Martin Rudalics <rudalics@gmx.at>
1807
1808 * calendar/calendar.el (calendar-exit): Don't try to delete or
1809 iconify last frame. See:
1810 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1811
8c4f2952
JD
18122012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1813
1814 * server.el (server-process-filter): Remember dir in the
1815 process's `server-client-directory' properties.
1816
772b2e2c
CY
18172012-06-24 Chong Yidong <cyd@gnu.org>
1818
1819 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1820 non-tag text.
1821
711b11e1
JB
18222012-06-23 Juanma Barranquero <lekktu@gmail.com>
1823
1824 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1825
dc5d230c
SM
18262012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1827
1828 * help-fns.el (describe-variable): Don't croak when doc is not found.
1829 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1830 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1831 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1832 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1833 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1834 ((lambda ..) ..).
1835 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1836
136e1c1d
CY
18372012-06-23 Chong Yidong <cyd@gnu.org>
1838
e8c1cabf
CY
1839 * info.el (Info-mouse-follow-link): Accept symbol values of
1840 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1841 (Info-fontify-node): Use Info-link-keymap for all navigation
1842 buttons, with link-args property to perform the desired action.
1843 (Info-link-keymap): Doc fix.
1844 (Info-next-link-keymap, Info-prev-link-keymap)
1845 (Info-up-link-keymap): Delete now-unused keymaps.
1846
0e9e6c6a
CY
18472012-06-23 Chong Yidong <cyd@gnu.org>
1848
05e89fea
CY
1849 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1850
0e9e6c6a
CY
1851 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1852 system abbrevs.
1853
1854 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1855
e33c6771
SM
18562012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1857
b68581e2
SM
1858 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1859 (bug#11719).
1860
e33c6771
SM
1861 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1862 the requote function doesn't work properly (bug#11714).
1863
7117e105
GM
18642012-06-23 Glenn Morris <rgm@gnu.org>
1865
1866 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1867
36cec983
SM
18682012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1869
1870 Further GV/CL cleanups.
1871 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1872 gv-expander.
1873 (gv--defun-declaration): New function.
1874 (defun-declarations-alist): Use it.
1875 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1876 (gv-place): Autoload.
1877 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1878 original definition of dotimes and dolist.
1879 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1880 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1881 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1882 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1883 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1884 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1885 to the function's definition.
1886 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1887 * window.el:
1888 * files.el:
1889 * faces.el:
1890 * env.el: Don't use CL.
1891
d35af63c
PE
18922012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1893
1894 Support higher-resolution time stamps (Bug#9000).
1895
1896 * calendar/time-date.el (with-decoded-time-value): New arg
1897 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1898 (encode-time-value): New optional arg PICO. New type 3.
1899 (time-to-seconds) [!float-time]: Support the new picoseconds
1900 component if it's used.
1901 (seconds-to-time, time-subtract, time-add):
1902 Support ps-resolution time stamps as well.
1903
1904 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1905 (timerp): Timer vectors now have length 9, not 8.
1906 (timer--time): Support new-style (4-part) time stamps.
1907 (timer-next-integral-multiple-of-time): Time stamps now have
1908 picosecond resolution, so take a bit more care about rounding.
1909 (timer-relative-time, timer-inc-time): New optional arg psecs.
1910 (timer-set-time-with-usecs): Set psecs to 0.
1911 (timer--activate): Check psecs component, too.
1912
1913 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1914
ac77b21a
SM
19152012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1916
f143bfe3
SM
1917 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1918 Move the non-essential binding to the post/pre-command-hook where it is
1919 more obviously correct.
1920
ac77b21a
SM
1921 * subr.el (read-passwd): Don't use a history at all.
1922 * savehist.el (savehist-save): Remove password saved accidentally
1923 because of the above bug.
1924
76386c5a
BG
19252012-06-22 Bastien Guerry <bzg@gnu.org>
1926
1927 * files.el (toggle-read-only): Display a message telling whether
1928 the buffer is read-only or not (bug#11726).
1929
2ee3d7f0
SM
19302012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1931
1932 * emacs-lisp/gv.el: New file.
1933 * subr.el (push, pop): Extend to generalized variables.
1934 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1935 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1936 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1937 gv-define-simple-setter, and gv-define-expander.
1938 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1939 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1940 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1941 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1942 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1943 gv-letplace.
1944 (cl-defstruct): Don't define setf-method any more.
1945 * emacs-lisp/cl.el (flet): Don't autoload.
1946 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1947 (define-setf-expander, defsetf, define-modify-macro)
1948 (cl-struct-setf-expander): Move from cl-lib.el.
1949 * emacs-lisp/syntax.el:
1950 * emacs-lisp/ewoc.el:
1951 * emacs-lisp/smie.el:
1952 * emacs-lisp/cconv.el:
1953 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1954 (timer--time): Use gv-define-simple-setter.
1955 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1956 to avoid coding-system problems in subr.el. Adjust all users.
1957 (macroexp--maxsize, macroexp-small-p): New functions.
1958 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1959 * scroll-bar.el (scroll-bar-mode):
1960 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1961 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1962 * winner.el (winner-configuration, winner-make-point-alist)
1963 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1964 * files.el (locate-file-completion-table): Avoid list*.
1965
c5695d1d
CY
19662012-06-22 Chong Yidong <cyd@gnu.org>
1967
1968 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1969 (dired-create-files): Doc fix (Bug#11329).
1970 (dired-do-copy): Doc fix (Bug#11334).
1971 (dired-mark-read-string): Doc fix (Bug#11553).
1972
2ee3d7f0
SM
1973 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1974 Doc fix (Bug#11326).
c5695d1d
CY
1975 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1976 (dired-dwim-target): Doc fix.
1977
1978 * wdired.el (wdired-mode): Doc fix.
1979
89b5595a
GM
19802012-06-22 Glenn Morris <rgm@gnu.org>
1981
575db3f1
GM
1982 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1983 (pcmpl-rpm-cache-stamp-file): New constant.
1984 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1985 (pcmpl-rpm-packages): Optionally cache list of packages.
1986
a4c8dd51
GM
1987 * pcmpl-rpm.el (pcmpl-rpm): New group.
1988 (pcmpl-rpm-query-options): New option.
1989 (pcmpl-rpm-packages): No need to inline it.
1990 Use pcmpl-rpm-query-options.
1991
89b5595a
GM
1992 * calendar/calendar.el (calendar-in-read-only-buffer):
1993 Avoid some needless mode changes.
1994
e76f0800
CY
19952012-06-21 Chong Yidong <cyd@gnu.org>
1996
1997 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1998 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1999 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 2000
297a8f1d
CY
20012012-06-20 Chong Yidong <cyd@gnu.org>
2002
2003 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
2004
d34c18b1
DR
20052012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
2006
2007 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
2008 (bug#11201).
2009
32f7f28e
CY
20102012-06-20 Chong Yidong <cyd@gnu.org>
2011
2012 * term.el (term-window-width): Handle the case of a missing right
2013 fringe (Bug#8837).
2014 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
2015 (term-mode): Use define-derived-mode. Minor cleanups.
2016 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
2017 (term-move-columns, term-insert-char, term-emulate-terminal)
2018 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 2019
493c6688
MA
20202012-06-20 Michael Albinus <michael.albinus@gmx.de>
2021
d34c18b1
DR
2022 * net/ange-ftp.el (ange-ftp-get-passwd):
2023 Bind `enable-recursive-minibuffers'.
493c6688
MA
2024 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
2025
3f06ecf4
DR
20262012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
2027
2028 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
2029
68f12411
GM
20302012-06-19 Glenn Morris <rgm@gnu.org>
2031
2032 * progmodes/python.el (python-mode): Derive from prog-mode.
2033
b3820318
KG
20342012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
2035
2036 * emulation/edt.el (edt-default-menu-bar-update-buffers)
2037 (edt-user-menu-bar-update-buffers): New functions.
2038 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
2039
c6bf3022
CY
20402012-06-19 Chong Yidong <cyd@gnu.org>
2041
2042 * subr.el (with-selected-window): Preserve the selected window's
2043 terminal's top-frame (Bug#4702).
2044
2045 * window.el (save-selected-window): Likewise.
2046
25f09295
SM
20472012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2048
2049 * progmodes/python.el (python-rx-constituents): Move backquote.
2050 (python-skeleton-define, python-define-auxiliary-skeleton):
2051 Use `declare'.
2052
6b11952a
MA
20532012-06-18 Michael Albinus <michael.albinus@gmx.de>
2054
2055 * minibuffer.el (read-file-name-default): Revert the patch from
2056 2012-06-17.
2057
ee4b1330
SM
20582012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2059
2060 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2061 (pcase--u1, pcase--q1): Don't use apply-partially.
2062
35647f79
GM
20632012-06-18 Glenn Morris <rgm@gnu.org>
2064
2065 * progmodes/python.el (python-proc, python-buffer)
2066 (python-send-receive, python-send-string): Fix obsolete versions.
2067
24b0cff0
MR
20682012-06-18 Martin Rudalics <rudalics@gmx.at>
2069
2070 * window.el (special-display-p): Completely remove stringp
2071 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2072
29855149
MA
20732012-06-17 Michael Albinus <michael.albinus@gmx.de>
2074
2075 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2076
2077 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2078
2079 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2080 * net/tramp-sh.el (tramp-maybe-open-connection):
2081 Throw if `non-essential' is non-nil.
2082
07463363
MR
20832012-06-17 Martin Rudalics <rudalics@gmx.at>
2084
2085 * window.el (special-display-p): Signal an error if BUFFER-NAME
2086 is not a string (Bug#11713).
2087
48d1354e
PE
20882012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2089
2090 * progmodes/python.el (python-info-beginning-of-backslash):
2091 Rename from python-info-beginning-of-backlash, as a spelling fix.
2092
eb4a8a9a
CY
20932012-06-17 Chong Yidong <cyd@gnu.org>
2094
2095 * term.el (term-emulate-terminal): If term-check-size is called,
2096 move point to the process mark without resetting point (Bug#4635).
2097
ddfbf826 20982012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2099
2100 * international/mule-cmds.el (mule-menu-keymap)
2101 (set-language-environment, set-locale-environment): Doc tweaks.
2102
9b0e3eba
AA
21032012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2104
2105 * cus-face.el (custom-face-attributes): Add wave-style underline
2106 attribute.
2107 * faces.el (set-face-attribute): Update docstring to describe
2108 wave-style underline attribute.
2109
771e3eae
CY
21102012-06-16 Chong Yidong <cyd@gnu.org>
2111
2112 * term/xterm.el (terminal-init-xterm): Discard input before
2113 querying background mode (Bug#10959).
2114
7ae2ea10
SM
21152012-06-16 Stefan Merten <smerten@oekonux.de>
2116
2117 * textmodes/rst.el: Added and corrected some comments.
2118 (rst-re-alist-def): Improve symbol syntax.
2119 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2120 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2121 (rst-official-version, rst-official-cvs-rev): Update version
2122 information.
7ae2ea10 2123
b6974efa
JB
21242012-06-15 Juanma Barranquero <lekktu@gmail.com>
2125
2126 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2127 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2128
8826d473
GM
21292012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2130
2131 * progmodes/python.el: New python.el merge.
2132 (python-guess-indent): Obsolete var.
2133 (python-indent-guess-indent-offset): New defcustom.
2134 (python-indent): Obsolete var.
2135 (python-indent-offset): New defcustom.
2136 (python-python-command, python-jython-command): Delete var.
2137 (python-shell-interpreter): New defcustom.
2138 (python-pdbtrack-do-tracking-p): Delete var.
2139 (python-pdbtrack-activate): New defcustom.
2140 (python-use-skeletons): Obsolete var.
2141 (python-skeleton-autoinsert): New defcustom.
2142 (inferior-python-filter-regexp, python-continuation-offset)
2143 (python-honour-comment-indentation, python-indent-string-contents)
2144 (python-jython-packages, python-mode-hook)
2145 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2146 (python-shell-prompt-alist)
2147 (python-source-modes): Delete defcustoms.
2148 (python-check-buffer-name, python-eldoc-setup-code)
2149 (python-eldoc-string-code, python-ffap-setup-code)
2150 (python-ffap-string-code, python-fill-comment-function)
2151 (python-fill-decorator-function, python-fill-paren-function)
2152 (python-fill-string-function, python-imenu-include-defun-type)
2153 (python-imenu-make-tree, python-imenu-subtree-root-label)
2154 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2155 (python-shell-compilation-regexp-alist)
2156 (python-shell-completion-module-string-code)
2157 (python-shell-completion-pdb-string-code)
2158 (python-shell-completion-setup-code)
2159 (python-shell-completion-string-code)
2160 (python-shell-enable-font-lock, python-shell-exec-path)
2161 (python-shell-extra-pythonpaths)
2162 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2163 (python-shell-process-environment)
2164 (python-shell-prompt-block-regexp)
2165 (python-shell-prompt-output-regexp)
2166 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2167 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2168 (python-shell-virtualenv-path): New defcustoms.
2169 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2170 (inferior-python-mode-syntax-table, python--prompt-regexp)
2171 (python-buffer, python-command python-python-command)
2172 (python-default-template, python-imports, python-indent-index)
2173 (python-indent-list, python-indent-list-length)
2174 (python-mode-running, python-pdbtrack-is-tracking-p)
2175 (python-preoutput-continuation, python-preoutput-leftover)
2176 (python-preoutput-result, python-preoutput-skip-next-prompt)
2177 (python-prev-dir/file, python-recursing)
2178 (python-saved-check-command, python-version-checked)
2179 (python-which-func-length-limit)
2180 (view-return-to-alist): Delete vars.
2181 (python-check-custom-command, python-dotty-syntax-table)
2182 (python-imenu-index-alist, python-indent-current-level)
2183 (python-indent-dedenters, python-indent-levels)
2184 (python-nav-beginning-of-defun-regexp)
2185 (python-nav-list-defun-positions-cache)
2186 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2187 (python-shell-internal-buffer)
2188 (python-skeleton-available): New vars.
2189 (def-python-skeleton): Delete macro.
2190 (python-skeleton-define): New macro.
2191 (python-define-auxiliary-skeleton, python-rx): New macros.
2192 (python-insert-class): Delete command.
2193 (python-skeleton-class): New command.
2194 (python-insert-def): Delete command.
2195 (python-skeleton-def): New command.
2196 (python-insert-for): Delete command.
2197 (python-skeleton-for): New command.
2198 (python-insert-if): Delete command.
2199 (python-skeleton-if): New command.
2200 (python-insert-try/except, python-insert-try/finally): Delete commands.
2201 (python-skeleton-try): New command.
2202 (python-insert-while): Delete command.
2203 (python-skeleton-while): New command.
2204 (python-backspace): Delete command.
2205 (python-indent-dedent-line-backspace): New command.
2206 (python-electric-colon): Delete command.
2207 (python-indent-electric-colon): New command.
2208 (python-guess-indent): Delete command.
2209 (python-indent-guess-indent-offset): New command.
2210 (python-shift-left): Delete command.
2211 (python-indent-shift-left): New command.
2212 (python-shift-right): Delete command.
2213 (python-indent-shift-right): New command.
2214 (python-find-function): Delete command.
2215 (python-nav-jump-to-defun): New command.
2216 (python-next-statement): Delete command.
2217 (python-nav-forward-sentence): New command.
2218 (python-previous-statement): Delete command.
2219 (python-nav-backward-sentence): New command.
2220 (python-fill-paragraph): Delete command.
2221 (python-fill-paragraph-function): New command.
2222 (python-send-buffer): Delete command.
2223 (python-shell-send-buffer): New command.
2224 (python-send-defun): Delete command.
2225 (python-shell-send-defun): New command.
2226 (python-send-region, python-send-region-and-go): Delete commands.
2227 (python-shell-send-region)
2228 (python-shell-switch-to-shell): New commands.
2229 (python-send-string): Delete command.
2230 (python-shell-send-string): New command.
2231 (python-switch-to-python): Delete command.
2232 (python-shell-switch-to-shell): New command.
2233 (python-describe-symbol): Delete command.
2234 (python-eldoc-at-point): New command.
2235 (python--set-prompt-regexp, python-args-to-list)
2236 (python-after-info-look, python-check-version)
2237 (python-check-comint-prompt, python-find-imports)
2238 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2239 (python-unload-function, python-expand-template)
2240 (python-maybe-jython, python-preoutput-filter)
2241 (python-pdbtrack-get-source-buffer)
2242 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2243 (python-pdbtrack-toggle-stack-tracking)
2244 (python-pdbtrack-track-stack-file, python-initial-text)
2245 (python-first-word, python-comment-line-p, python-send-command)
2246 (python-setup-brm, python-sentinel, python-set-proc)
2247 (python-skip-out, python-input-filter, python-outdent-p)
2248 (python-outline-level, python-backslash-continuation-line-p)
2249 (python-end-of-block, python-end-of-statement, python-mark-block)
2250 (python-beginning-of-block, python-beginning-of-statement)
2251 (python-blank-line-p, python-beginning-of-string)
2252 (python-open-block-statement-p): Delete functions.
2253 (python-indent-line, python-indent-line-1): Delete functions.
2254 (python-indent-line): New function.
2255 (python-indentation-levels): Delete function.
2256 (python-indent-calculate-levels): New function.
2257 (python-proc): Delete function.
2258 (python-shell-get-process): New function.
2259 (python-send-receive): Delete function.
2260 (python-shell-send-string-no-output): New function.
2261 (python-module-path): Delete function.
2262 (python-ffap-module-path): New function.
2263 (python-completion-at-point)
2264 (python-symbol-completions): Delete functions.
2265 (python-completion-complete-at-point): New function.
2266 (python-load-file): Delete function.
2267 (python-shell-send-file): New function.
2268 (python-calculate-indentation): Delete function.
2269 (python-indent-calculate-indentation): New function.
2270 (python-skip-comments/blanks): Delete function.
2271 (python-util-forward-comment): New function.
2272 (python-continuation-line-p): Delete function.
2273 (python-info-continuation-line-p): New function.
2274 (python-which-func, python-current-defun): Delete function.
2275 (python-info-current-defun): New function.
2276 (python-beginning-of-defun): Delete function.
2277 (python-nav-beginning-of-defun): New function.
2278 (python-close-block-statement-p)
2279 (python-block-end-p): Delete function.
2280 (python-info-closing-block): New function.
2281 (python-comint-output-filter-function)
2282 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2283 (python-fill-comment, python-fill-decorator, python-fill-paren)
2284 (python-fill-string, python-imenu-make-element-tree)
2285 (python-imenu-make-tree, python-imenu-tree-assoc)
2286 (python-indent-context, python-indent-dedent-line)
2287 (python-indent-line-function)
2288 (python-indent-post-self-insert-function)
2289 (python-indent-toggle-levels)
2290 (python-info-assignment-continuation-line-p)
2291 (python-info-beginning-of-backlash)
2292 (python-info-block-continuation-line-p)
2293 (python-info-closing-block-message)
2294 (python-info-line-ends-backslash-p)
2295 (python-info-looking-at-beginning-of-defun)
2296 (python-info-ppss-context, python-info-ppss-context-type)
2297 (python-nav-list-defun-positions, python-nav-read-defun)
2298 (python-nav-sentence-end, python-nav-sentence-start)
2299 (python-pdbtrack-comint-output-filter-function)
2300 (python-pdbtrack-set-tracked-buffer)
2301 (python-shell-calculate-exec-path)
2302 (python-shell-calculate-process-environment)
2303 (python-shell-completion--do-completion-at-point)
2304 (python-shell-completion--get-completions)
2305 (python-shell-completion-complete-at-point)
2306 (python-shell-completion-complete-or-indent)
2307 (python-shell-get-or-create-process)
2308 (python-shell-get-process-name)
2309 (python-shell-internal-get-or-create-process)
2310 (python-shell-internal-get-process-name)
2311 (python-shell-internal-send-string, python-shell-make-comint)
2312 (python-shell-parse-command, python-shell-send-setup-code)
2313 (python-skeleton-add-menu-items)
2314 (python-util-clone-local-variables, python-util-position)
2315 (run-python-internal, python-indentation-levels)
2316 (python-nav-beginning-of-defun)
2317 (python-completion-complete-at-point): New functions.
2318 (run-python): Change arguments. New API requirements.
2319
4302f5ba
SM
23202012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2321
f38ea36d
SM
2322 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2323 (bug#11649).
2324
2325 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2326 (macroexp--expand-all): Use it.
2327
4302f5ba
SM
2328 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2329 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2330 Use `cl-function' instead.
2331
33377562
JB
23322012-06-14 Juanma Barranquero <lekktu@gmail.com>
2333
2334 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2335 Suggested by Stefan Monnier while discussing bug#11657.
2336
54c5ba1a
SS
23372012-06-14 Sam Steingold <sds@gnu.org>
2338
2339 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2340
f9f1b1fe
AS
23412012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2342
2343 * play/doctor.el (doctor-doc): Remove parameter and use
2344 doctor-sent instead of sent.
2345 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2346
a81068ba
SM
23472012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2348
5a315f9c
SM
2349 * files.el: Require cl-lib.
2350 (file-name-non-special): Replace case -> cl-case.
2351
2352 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2353
a81068ba
SM
2354 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2355 mapping from #' to function*.
2356
8cca9703
CY
23572012-06-13 Chong Yidong <cyd@gnu.org>
2358
2359 * mouse.el (mouse-drag-track): Do not set the mark if the user
2360 releases the mouse without selecting anything (Bug#11588).
2361
a12ac9d7
SM
23622012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2363
ccf1dc18
SM
2364 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2365 as well (bug#11646).
2366
ef62b23d
SM
2367 * loadup.el: Count byte-code functions as well.
2368
c4c8444a
SM
2369 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2370 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2371
a12ac9d7
SM
2372 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2373 (bug#11649). Add cl-defun and cl-defmacro.
2374
87e6e64f
DA
23752012-06-13 Drew Adams <drew.adams@oracle.com>
2376
2377 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2378 Fix last change.
2379
682cefaf
MA
23802012-06-13 Michael Albinus <michael.albinus@gmx.de>
2381
2382 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2383 Otherwise, it blocks in batch mode.
2384
773e1f08
JB
23852012-06-13 Juanma Barranquero <lekktu@gmail.com>
2386
2387 * help-mode.el (bookmark-make-record-default): Declare.
2388
60057926
CY
23892012-06-13 Chong Yidong <cyd@gnu.org>
2390
2391 * emacs-lisp/package.el (list-packages): Compute a list of
2392 packages that are newly-available since the last list-packages
2393 invocation.
2394 (package-menu--new-package-list): New var.
2395 (package-menu--generate, package-menu--print-info)
2396 (package-menu--status-predicate, package-menu-mark-install):
2397 Handle new status label "new".
2398
ad4d226c
SM
23992012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2400
2401 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2402 conversion to backquotes.
2403
f1a4e679
CY
24042012-06-12 Chong Yidong <cyd@gnu.org>
2405
2406 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2407 Rename from gud-inhibit-global-bindings.
2408
2409 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2410
2411 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2412 hook from nxml-glyph-set-hook.
2413
2414 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2415 declaration.
2416
2417 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2418
2419 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2420 Convert to defcustom.
2421
0c9e42b5
DA
24222012-06-12 Drew Adams <drew.adams@oracle.com>
2423
2424 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2425 New functions.
2426 (help-mode): Use them.
2427
09e06855
GM
24282012-06-11 Glenn Morris <rgm@gnu.org>
2429
2430 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2431 Use preprocessor face for directives.
2432 (fortran-directive-re): Doc fix.
2433
71adb94b
SM
24342012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2435
2eb87922
SM
2436 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2437 conversion to backquotes (bug#11652).
2438
71adb94b
SM
2439 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2440 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2441 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2442 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2443 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2444 (cl-ninth, cl-tenth): Mark them as inlinable.
2445 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2446 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2447 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2448 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2449 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2450 (cl-list*, cl-adjoin): Don't put an autoload manually.
2451 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2452 (cl--compiler-macro-list*): Add autoload cookie.
2453 (cl--compiler-macro-cXXr): New function.
2eb87922 2454
71adb94b
SM
2455 * help-fns.el (help-fns--compiler-macro): New function extracted from
2456 describe-function-1; follow aliases and use `compiler-macro' property.
2457 (describe-function-1): Use it.
2458
a6674402
CY
24592012-06-11 Chong Yidong <cyd@gnu.org>
2460
2461 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2462 is uninstalled, if imagemagick is installed.
2463
bb3faf5b
SM
24642012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2465
2466 * emacs-lisp/cl-lib.el: Use lexical-binding.
2467 (cl-map-extents, cl-maclisp-member): Remove.
2468 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2469 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2470 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2471 * emacs-lisp/cl-extra.el: Use lexical-binding.
2472 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2473 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2474 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2475 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2476 * emacs-lisp/cl-seq.el: Use lexical-binding.
2477 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2478 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2479 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2480 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2481 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2482 CL's internals.
2483
2fe4b125
MA
24842012-06-11 Michael Albinus <michael.albinus@gmx.de>
2485
2486 Sync with Tramp 2.2.6-pre.
2487
2488 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2489 `print-length' and `print-level' to nil, in order to avoid
2490 truncation. Reported by Christopher Schmidt
2491 <christopher@ristopher.com>.
2492
2493 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2494
2495 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2496 New defmacro.
2497 (tramp-compat-copy-directory): Add optional argument
2498 COPY-CONTENTS. It is not handled yet.
2499
2500 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2501 (tramp-ftp-file-name-p): Simplify.
2502
2503 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2504 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2505 connection vector.
2506
2507 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2508 (tramp-methods): Do not use `tramp-password-end-of-line'.
2509 (tramp-completion-function-alist-putty): Handle UNIX case.
2510 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2511 (tramp-do-file-attributes-with-stat)
2512 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2513 gid as real numbers. They could run out of integer range on cygwin.
2514 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2515 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2516 (tramp-open-connection-setup-interactive-shell):
2517 Use `tramp-cleanup'. Move check for busyboxes ...
2518 (tramp-find-shell): ... here. Simplify implementation.
2519 Set "remote-shell" property also for alternative shells.
2520 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2521 If failing, a regular file would be written otherwise.
2522 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2523 (tramp-find-inline-encoding): Cache the coding commands in the
2524 process cache. Apply test command on the remote side, if defined.
2525 (tramp-find-inline-compress): Cache the compress commands in the
2526 process cache.
2527 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2528 when requested. Handle hops.
2529 (tramp-current-connection): New defvar.
87e6e64f
DA
2530 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2531 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2532 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2533 (tramp-get-inline-compress, tramp-get-inline-coding):
2534 Read connection properties from the process cache.
2fe4b125
MA
2535
2536 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2537 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2538 New defconsts.
2fe4b125
MA
2539 (tramp-smb-prompt): Extend for powershell prompt.
2540 (tramp-smb-file-name-handler-alist): Add handlers for
2541 `process-file', `shell-command' and `start-file-process'.
2542 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2543 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2544 (tramp-smb-file-name-p): Simplify.
2545 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2546 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2547 (tramp-smb-shell-quote-argument): New defuns.
2548 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2549 Implement using "tar". By this, time-stamps are preserved.
2550 (tramp-smb-handle-copy-file): Handle also the case of directories.
2551 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2552 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2553 Use `tramp-get-connection-buffer').
2fe4b125
MA
2554 (tramp-smb-handle-rename-file): Use "rename", when source and
2555 target are on the same share.
87e6e64f
DA
2556 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2557 Use `tramp-smb-server-version'.
2fe4b125
MA
2558 (tramp-smb-wait-for-output): Remove prompt.
2559
2560 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2561 (tramp-methods, tramp-rsh-end-of-line):
2562 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2563 (tramp-save-ad-hoc-proxies): New defcustom.
2564 (tramp-completion-function-alist): Adapt docstring.
2565 (tramp-default-password-end-of-line): Remove defcustom.
2566 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2567 (tramp-user-regexp, tramp-file-name-regexp-unified)
2568 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2569 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2570 (tramp-remote-file-name-spec-regexp): New defconst.
2571 (tramp-file-name-structure): Extend structure for hops.
2572 (tramp-get-method-parameter): Move up.
2573 (tramp-file-name-p, tramp-dissect-file-name)
2574 (with-parsed-tramp-file-name): Handle hops.
2575 (tramp-file-name-hop): New defun.
2576 (tramp-make-tramp-file-name): New optional arg HOP.
2577 (tramp-message-show-progress-reporter-message): New defvar.
2578 (tramp-with-progress-reporter): Use it. We cannot use
2579 `tramp-message-show-message' here, because this suppresses also
2580 error buffers.
2581 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2582 `tramp-message-show-message' is nil.
2583 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2584 (tramp-cleanup): New defun.
2585 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2586 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2587 an error unchanged.
2588 (tramp-completion-handle-file-name-all-completions): Handle hops.
2589 Fix an error when called from ido.
2590 (tramp-completion-dissect-file-name): Use better local variable
2591 name. Add hop to the vector.
2592 (tramp-handle-insert-file-contents): Use progress-reporter for the
2593 whole scenario.
2594 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2595 to `t'.
2596 (tramp-check-for-regexp): Simplify search.
2597 (tramp-enter-password): Remove it. Move implementation ...
2598 (tramp-action-password): ... here.
2599 (tramp-mode-string-to-int, tramp-local-host-p)
2600 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2601 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2602 Set tramp-autoload cookie.
2fe4b125
MA
2603
2604 * net/trampver.el: Update release number.
2605
26062012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2607 Michael Albinus <michael.albinus@gmx.de>
2608
2609 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2610 (tramp-parse-group, tramp-parse-file)
2611 (tramp-parse-shostkeys-sknownhosts): New defuns.
2612 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2613 (tramp-parse-shosts-group, tramp-parse-sconfig)
2614 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2615 (tramp-parse-sknownhosts, tramp-parse-hosts)
2616 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2617 Use them.
2618 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2619 (tramp-parse-putty-group): Don't narrow.
2620 (tramp-parse-putty): Make a loop.
2621 (tramp-file-name-handler): Catch the `suppress' signal.
2622
72834e10
CY
26232012-06-11 Chong Yidong <cyd@gnu.org>
2624
2625 * image.el (imagemagick-register-types): Put the ImageMagick entry
2626 at the end of image-type-file-name-regexps.
2627
a4712e11
JB
26282012-06-11 Johan Bockgård <bojohan@gnu.org>
2629
2630 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2631 (pcase, pcase-let*, pcase-dolist): Use them.
2632
82ad98e3
SM
26332012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2634
2635 * emacs-lisp/pcase.el (pcase--let*): New function.
2636 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2637 (pcase--expand): Use macroexp-let².
2638
f80efb86
SM
26392012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2640
2641 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2642 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2643 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2644 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2645 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2646 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2647
31ca4639 26482012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2649
31ca4639
CY
2650 * mail/rmail.el (rmail-yank-current-message): Leave point at
2651 correct position. (Bug#11660)
94f0aa34 2652
31ca4639 26532012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2654
31ca4639 2655 * allout-widgets.el: Fix code header.
9e1b8ec4 2656
31ca4639 26572012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2658
f80efb86
SM
2659 * cus-edit.el (customize-changed-options-previous-release):
2660 Bump to 24.1.
31ca4639 2661
642b6d30
AS
26622012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2663
2664 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2665
4f5d2ba1
CY
26662012-06-09 Chong Yidong <cyd@gnu.org>
2667
2668 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2669
e75852fd
MR
26702012-06-09 Martin Rudalics <rudalics@gmx.at>
2671
2672 * window.el (special-display-popup-frame): Don't use
2673 window--display-buffer (Bug#11651).
2674
1e48e282
EZ
26752012-06-09 Eli Zaretskii <eliz@gnu.org>
2676
8a26b487
EZ
2677 Fix parallel builds: make sure loaddefs.el is not being written
2678 while Lisp files are compiled.
2679 (compile): Don't depend on 'mh-autoloads'.
2680 (compile-CMD, compile-SH): Depend on 'autoloads'.
2681 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2682
1e48e282
EZ
2683 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2684
6175e34b
CY
26852012-06-09 Chong Yidong <cyd@gnu.org>
2686
2687 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2688 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2689 Doc fixes (Bug#11225).
2690
d9857e53
SM
26912012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2692
2693 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2694 a function if there's a clear indication that it has a compiler-macro.
2695 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2696 (macro-declarations-alist): Add arglist to declaration functions.
2697 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2698 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2699 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2700 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2701 Also add autoload to find the compiler macro.
2702 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2703 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2704 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2705 (cl--compiler-macro-get): New functions, replacing calls to
2706 cl-define-compiler-macro.
2707 (cl-typep) [compiler-macro]: Use macroexp-let².
2708
f81298f8 27092012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2710
2711 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2712 string properly, fixes Bug#11473.
2713
4b56d0fe
CY
27142012-06-08 Chong Yidong <cyd@gnu.org>
2715
2716 * faces.el (set-face-attribute): Doc fix.
2717 (modify-face): Don't use :bold and :italic.
2718 (error, warning, success): Tweak definitions.
2719
2720 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2721 (custom-modified, custom-set, custom-changed, custom-themed)
2722 (custom-saved, custom-button, custom-button-mouse)
2723 (custom-button-pressed, custom-state, custom-comment-tag)
2724 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2725 (custom-group-subtitle): Use new-style face specs.
2726 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2727 (custom-set-face, custom-changed-face, custom-saved-face)
2728 (custom-button-face, custom-button-pressed-face)
2729 (custom-documentation-face, custom-state-face)
2730 (custom-comment-face, custom-comment-tag-face)
2731 (custom-variable-tag-face, custom-variable-button-face)
2732 (custom-face-tag-face, custom-group-tag-face-1)
2733 (custom-group-tag-face): Remove obsolete face alias.
2734
2735 * epa.el (epa-validity-high, epa-validity-medium)
2736 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2737 (epa-field-name, epa-field-body):
2738 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2739 (font-lock-keyword-face, font-lock-builtin-face)
2740 (font-lock-function-name-face, font-lock-variable-name-face)
2741 (font-lock-type-face, font-lock-constant-face):
2742 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2743 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2744 * speedbar.el (speedbar-button-face, speedbar-file-face)
2745 (speedbar-directory-face, speedbar-tag-face)
2746 (speedbar-selected-face, speedbar-highlight-face)
2747 (speedbar-separator-face):
2748 * whitespace.el (whitespace-newline, whitespace-space)
2749 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2750 (whitespace-line, whitespace-space-before-tab)
2751 (whitespace-space-after-tab, whitespace-indentation)
2752 (whitespace-empty):
2753 * emulation/cua-base.el (cua-global-mark):
2754 * eshell/em-prompt.el (eshell-prompt):
2755 * net/newst-plainview.el (newsticker-new-item-face)
2756 (newsticker-old-item-face, newsticker-immortal-item-face)
2757 (newsticker-obsolete-item-face, newsticker-date-face)
2758 (newsticker-statistics-face, newsticker-default-face):
2759 * net/newst-reader.el (newsticker-feed-face)
2760 (newsticker-extra-face, newsticker-enclosure-face):
2761 * net/newst-treeview.el (newsticker-treeview-face)
2762 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2763 (newsticker-treeview-immortal-face)
2764 (newsticker-treeview-obsolete-face)
2765 (newsticker-treeview-selection-face):
2766 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2767 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2768 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2769 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2770 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2771 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2772 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2773 (mpuz-text):
2774 * progmodes/vera-mode.el (vera-font-lock-number)
2775 (vera-font-lock-function, vera-font-lock-interface):
2776 * textmodes/table.el (table-cell): Use new-style face specs, and
2777 don't use the old :bold and :italic attributes.
2778
2779 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2780 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2781 (ebrowse-member-class, ebrowse-progress): Likewise.
2782 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2783 (ebrowse-file-name-face, ebrowse-default-face)
2784 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2785 (ebrowse-progress-face): Remove obsolete faces.
2786
2787 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2788 Inherit from error and warning faces respectively.
2789
2790 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2791 Likewise.
f80efb86
SM
2792 (flyspell-incorrect-face, flyspell-duplicate-face):
2793 Remove obsolete aliases.
4b56d0fe 2794
03310646
MA
27952012-06-08 Michael Albinus <michael.albinus@gmx.de>
2796
2797 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2798 Avoid infloop.
2799
513749ee
SM
28002012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2801
2802 * startup.el (argv, argi): Make lexically scoped.
2803 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2804 * emacs-lisp/cl-macs.el: Use lexical-binding.
2805 Rename cl-bind-* to cl--bind-*.
2806 * files.el: Don't require `cl' since it doesn't use it.
2807 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2808
595ef4ad
JB
28092012-06-08 Juanma Barranquero <lekktu@gmail.com>
2810
2811 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2812 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2813 instead of calling external sort utility.
2814 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2815
e9f66fcb
EZ
28162012-06-08 Eli Zaretskii <eliz@gnu.org>
2817
2818 * descr-text.el (describe-char): Mention how to insert the
2819 character, if the current input method doesn't support it.
2820 See the discussion in this thread for the details:
2821 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2822
3d10db47
SS
28232012-06-08 Sam Steingold <sds@gnu.org>
2824
2825 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2826 XF86Back to previous-buffer.
2827 (minibuffer-local-map): Bind them to next-history-element and
2828 previous-history-element respectively.
2829 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2830 help-go-back respectively.
2831 * info.el (Info-mode-map): Bind them to Info-history-forward and
2832 Info-history-back respectively.
2833 These are the keys next to Up on the ThinkPad keyboard.
2834
de7e2b36
SM
28352012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2836
2837 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2838 * emacs-lisp/cl-macs.el: Provide itself.
2839 (cl--labels-convert-cache): New var.
2840 (cl--labels-convert): New function.
2841 (cl-flet, cl-labels): New implementation with new semantics, relying on
2842 lexical-binding.
2843 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2844 (cl-closure-vars, cl--function-convert-cache)
2845 (cl--function-convert): Move from cl-macs.el.
2846 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2847 rename by removing the "cl-" prefix.
2848 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2849
6fa6c4ae
SM
28502012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2851
2852 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2853 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2854 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2855 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2856 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2857 (cl-hash-table-count): Add old compatibility aliases.
2858
2859 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2860 Use macroexpand-all-environment instead.
2861 (cl--old-macroexpand): New var.
2862 (cl--sm-macroexpand): New function.
2863 (cl-symbol-macrolet): Use it during macro expansion.
2864 (cl--function-convert-cache): New var.
2865 (cl--function-convert): New function, extracted from
2866 cl-macroexpand-all.
2867 (cl-lexical-let): Use it.
2868
2869 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2870 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2871 (cl-member): Remove old alias.
2872
2873 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2874 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2875 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2876 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2877 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2878 (cl-macroexpand-cmacs): Remove var.
2879 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2880 Use macroexpand-all instead.
2881
4dd1c416
SM
28822012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2883
2884 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2885 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2886 (macroexp-copyable-p): New functions and macros.
2887 * emacs-lisp/edebug.el (edebug-unwrap):
2888 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2889 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2890 (pcase--let*): Remove.
2891 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2892 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2893 macroexp-const-p instead.
2894 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2895
2896 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2897 instead of "cl-" for internal definitions. Use macroexp-const-p.
2898 (cl-old-bc-file-form): Remove var.
2899 (cl-const-exprs-p): Remove fun.
2900 (cl-labels, cl-macrolet): Use backquote.
2901 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2902 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2903 (cl-define-setf-expander): Rename from cl-define-setf-method.
2904 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2905
2906 * international/mule-cmds.el: Don't require CL.
2907 (view-hello-file): Don't use `letf'.
2908
ed8bd4d7
SM
29092012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2910
7287f2f3
SM
2911 * tmm.el (tmm-prompt): Use string-prefix-p.
2912 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2913 (tmm-add-prompt): Use minibuffer-completion-help.
2914 (tmm-delete-map): Remove.
2915
ed8bd4d7
SM
2916 * subr.el (kbd): Make it its own function.
2917
7b4cdbf4
SM
29182012-06-07 Stefan Merten <smerten@oekonux.de>
2919
2920 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2921 Silence compiler warnings. Fix versions.
ed8bd4d7 2922 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2923 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2924 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2925 (rst-package-emacs-version-alist): Correct Emacs version to
2926 represent major merge with upstream.
ed8bd4d7 2927 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2928
2b48d721
GM
29292012-06-06 Glenn Morris <rgm@gnu.org>
2930
2931 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2932 Only print environment variables if set.
2933
fa779ab0
SM
29342012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2935
2936 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2937 (macroexp--cons): Rename from maybe-cons.
2938 (macroexp--accumulate): Rename from macroexp-accumulate.
2939 (macroexp--all-forms): Rename from macroexpand-all-forms.
2940 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2941 (macroexp--expand-all): Rename from macroexpand-all-1.
2942
628299e0
SS
29432012-06-06 Sam Steingold <sds@gnu.org>
2944
2945 * calendar/calendar.el (calendar-in-read-only-buffer):
2946 Call `special-mode' to enable the standard read-only keybindings.
2947
b7bb5838
SM
29482012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2949
2950 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2951 with "loading" messages (bug#11635).
2952
dfb308ba
MA
29532012-06-06 Michael Albinus <michael.albinus@gmx.de>
2954
2955 * files.el (enable-remote-dir-locals): New option.
2956 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2957
0372ee92
MA
2958 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2959 Ensure, that the temp directory is local.
2960
2961 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2962 `temporary-file-directory'.
2963
eed0bb91
MA
2964 * progmodes/python.el (python-send-region): Ensure, that the
2965 temporary file is created also in the remote case.
2966
7a58f64d
GM
29672012-06-06 Glenn Morris <rgm@gnu.org>
2968
f7dd4e98
GM
2969 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2970 (vc-rcs-update-changelog): Use it.
2971
090bd7cb 2972 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2973
7a58f64d
GM
2974 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2975 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2976 (vc-sccs-diff): Replace use of the external vcdiff script.
2977
daed4003
GM
29782012-06-05 Glenn Morris <rgm@gnu.org>
2979
2980 * ledit.el: Move to obsolete/.
2981
48c455c7
SS
29822012-06-05 Sam Steingold <sds@gnu.org>
2983
ed9265fc 2984 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2985 patch (Bug#11140).
2986
57a7d507
SM
29872012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2988
090bd7cb 2989 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2990
53aacf21
SM
2991 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2992 compiler-macro expansion.
2993
57a7d507
SM
2994 Add native compiler-macro support.
2995 * emacs-lisp/macroexp.el (macroexpand-all-1):
2996 Support compiler-macros directly. Properly follow aliases and apply
2997 the compiler macros more thoroughly.
2998 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2999 macroexpand now properly follows aliases.
3000 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
3001 (cl-compiler-macroexpand): Use new prop.
3002 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
3003
3004 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
3005
51a5f9d8
MR
30062012-06-05 Martin Rudalics <rudalics@gmx.at>
3007
3008 * window.el (get-lru-window, get-mru-window, get-largest-window):
3009 New argument NOT-SELECTED to avoid picking the selected window.
3010 (window--display-buffer-1, window--display-buffer-2): Replace by
3011 new function window--display-buffer
3012 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
3013 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
3014 Use window--display-buffer.
51a5f9d8
MR
3015 (display-buffer-use-some-window): Remove temporary dedication
3016 hack by calling get-lru-window and get-largest-window with
3017 NOT-SELECTED argument non-nil. Call window--display-buffer.
3018
08f9f738
GM
30192012-06-05 Glenn Morris <rgm@gnu.org>
3020
3021 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
3022 Replace external vcdiff script.
3023
e364a2b7
SM
30242012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3025
3026 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
3027
041df390
CY
30282012-06-04 Chong Yidong <cyd@gnu.org>
3029
e364a2b7
SM
3030 * image.el (imagemagick-types-inhibit): Revert last change.
3031 Add INFO and M.
47b36b94 3032 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 3033
7c1898a7
SM
30342012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
3035
3036 * emacs-lisp/cl-lib.el: Rename from cl.el.
3037 * emacs-lisp/cl.el: New compatibility file.
3038 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
3039 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
3040 to obey the "cl-" prefix.
3041 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
3042
0c3461de
GM
30432012-06-03 Glenn Morris <rgm@gnu.org>
3044
1e266c88
GM
3045 * emacs-lisp/authors.el (authors-aliases): Addition.
3046
0c3461de
GM
3047 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3048 Fix :version.
3049
d8a52e15
SM
30502012-06-03 Stefan Merten <smerten@oekonux.de>
3051
3052 * textmodes/rst.el: Add comments.
3053 (rst-transition, rst-adornment): New faces.
3054 (rst-adornment-faces-alist): Make default safe to reevaluate.
3055 Fixes
3056 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3057 Improve customization tags.
3058 (rst-define-level-faces): Clarify meaning.
3059
5205d6f6
CY
30602012-06-03 Chong Yidong <cyd@gnu.org>
3061
3062 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3063 (compilation-mode-line-run, compilation-mode-line-exit):
3064 New faces.
5205d6f6
CY
3065 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3066
757ee657
JD
30672012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3068
7c1898a7
SM
3069 * progmodes/which-func.el (which-func-update-ediff-windows):
3070 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3071
5f2c76c6
CY
30722012-06-03 Chong Yidong <cyd@gnu.org>
3073
3074 * bindings.el: Remove explicit help text from format-mode-line.
3075 It is now supplied by mode-line-default-help-echo.
3076 (mode-line-front-space, mode-line-end-spaces)
3077 (mode-line-misc-info): New variables.
3078 (mode-line-modes, mode-line-position): Move the default value to
3079 the variable definition.
3080 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3081 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3082 (mode-line-modified-help-echo): New functions.
3083 (mode-line-mule-info, mode-line-modified): Use them.
3084 (mode-line-eol-desc, propertized-buffer-identification):
3085 Consistency fixes for help text.
cbe46e5f
CY
3086 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3087 set-buffer-file-coding-system (Bug#289).
3088 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3089
f2d6a3df
SM
30902012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3091
3092 * simple.el (execute-extended-command): Set real-this-command
3093 (bug#11506).
3094
37269466
CY
30952012-06-02 Chong Yidong <cyd@gnu.org>
3096
3097 Remove incorrect uses of "modeline" in comments, docstrings, and
3098 function/variable names (Bug#10329).
3099
3100 * cus-edit.el (mode-line):
3101 * dframe.el (dframe-mouse-hscroll):
3102 * emacs-lisp/re-builder.el:
3103 * emacs-lisp/easy-mmode.el (define-minor-mode):
3104 * frame.el (set-frame-name):
3105 * help.el (lookup-minor-mode-from-indicator):
3106 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3107 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3108 (c-toggle-hungry-state):
3109 * progmodes/antlr-mode.el (antlr-language-alist):
3110 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3111 * progmodes/vhdl-mode.el (vhdl-mode):
3112 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3113 * term/ns-win.el (ns-face-at-pos):
3114 * term/sup-mouse.el (sup-mouse-report):
3115 * textmodes/flyspell.el (flyspell-mode-line-string):
3116 * textmodes/ispell.el (ispell-highlight-face):
3117 * textmodes/reftex-global.el:
3118 * vc/vc-arch.el (vc-arch-mode-line-string):
3119 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3120 * vc/vc-git.el (vc-git-mode-line-string):
3121 * vc/vc-hooks.el (vc-display-status)
3122 (vc-default-mode-line-string):
3123 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3124
3125 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3126
3127 * dired.el (dired-sort-set-mode-line): Rename from
3128 dired-sort-set-modeline. All callers changed.
3129
3130 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3131 eshell-status-in-modeline.
3132
3133 * foldout.el (foldout-mode-line-string): Rename from
3134 foldout-modeline-string. All callers changed.
3135 (foldout-update-mode-line): Rename from foldout-update-modeline.
3136
3137 * subr.el (redraw-modeline): Make into obsolete alias.
3138
3139 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3140 timeclock-modeline-display. Make old name an alias.
3141 (timeclock-update-mode-line): Likewise. All callers changed.
3142 (timeclock-mode-line-display): No need to check before using
3143 add-hook.
3144 (timeclock-relative, timeclock-day-over-hook)
3145 (timeclock-use-elapsed, timeclock-mode-string)
3146 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3147
3148 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3149 crisp-mode-modeline-string.
3150
3151 * play/solitaire.el (solitaire-build-mode-line): Rename from
3152 solitaire-build-modeline. All callers changed.
3153
3154 * play/zone.el (zone-hiding-mode-line): Rename from
3155 zone-hiding-modeline. All callers changed.
3156 (zone): Remove unusued `modeline-hidden-level' property.
3157
3158 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3159 xscheme-modeline-initialize. All callers changed.
3160
3161 * strokes.el (strokes-lighter): Rename from
3162 strokes-modeline-string.
3163
3164 * textmodes/sgml-mode.el (html-face-tag-alist)
3165 (html-tag-face-alist): Use mode-line face instead of obsolete
3166 alias modeline.
3167
42152ee4
SM
31682012-06-02 Stefan Merten <smerten@oekonux.de>
3169
3170 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3171 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3172
95f520b5
CY
31732012-06-02 Chong Yidong <cyd@gnu.org>
3174
3175 * image.el (imagemagick-enabled-types): Rename from
3176 imagemagick-types-enable. Add many more types.
3177 (imagemagick-types-inhibit): Change default to nil.
3178 (imagemagick-filter-types): Caller changed.
3179
4a5f187a
SM
31802012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3181
03fef3e6
SM
3182 * emacs-lisp/cl-macs.el: Use backquotes.
3183 (cl-transform-function-property): Use eval-and-compile rather than
3184 abusing `require'.
3185 (defstruct): Use declare-function instead of with-no-warnings.
3186
4a5f187a
SM
3187 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3188 (byte-compile-output-docform): Re-add the print-circle bindings.
3189 (byte-compile-fix-header): Use #$ just because it's shorter.
3190 (byte-compile-output-file-form): Remove defun/defmacro.
3191
bd56924f
MR
31922012-06-01 Martin Rudalics <rudalics@gmx.at>
3193
3194 * simple.el (choose-completion): Remove now obsolete binding for
3195 owindow.
3196
046e38ce
MA
31972012-06-01 Michael Albinus <michael.albinus@gmx.de>
3198
3199 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3200 in order to avoid "Stack overflow in regexp matcher".
3201
32d72c2f
GM
32022012-05-31 Glenn Morris <rgm@gnu.org>
3203
3204 * image.el: For clarity, call imagemagick-register-types at
3205 top-level, rather than relying on a custom :initialize.
3206 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3207 (imagemagick-filter-types): New function. (Bug#7406)
3208 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3209 If disabling support, remove elements altogether rather
3210 than using an impossible regexp.
3211 (imagemagick-types-inhibit): Give it the default init function.
3212
dd41169b
SM
32132012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3214
4a5f187a
SM
3215 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3216 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3217
efc00ab1 32182012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3219
3220 * desktop.el (desktop-read): Clear previous and next buffers for
3221 all windows and bury *Messages* buffer (bug#11556).
3222
500fcedc
SM
32232012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3224
3225 Add `declare' for `defun'. Align `defmacro's with it.
3226 * emacs-lisp/easy-mmode.el (define-minor-mode)
3227 (define-globalized-minor-mode): Don't autoload the var definitions.
3228 * emacs-lisp/byte-run.el: Use lexical-binding.
3229 (defun-declarations-alist, macro-declarations-alist): New vars.
3230 (defmacro, defun): Use them.
3231 (make-obsolete, define-obsolete-function-alias)
3232 (make-obsolete-variable, define-obsolete-variable-alias):
3233 Use `declare'.
3234 (macro-declaration-function): Mark obsolete.
3235 * emacs-lisp/autoload.el: Use lexical-binding.
3236 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3237
6e8a1786
AM
32382012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3239
3240 * textmodes/ispell.el (ispell-with-no-warnings):
3241 Define as a macro.
500fcedc
SM
3242 (ispell-kill-ispell, ispell-change-dictionary):
3243 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3244 `interactive-p'.
3245
61b108cc
SM
32462012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3247
3248 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3249 (macro-declaration-function): Move var from C code.
3250 (macro-declaration-function): Define function with defalias.
3251 * emacs-lisp/macroexp.el (macroexpand-all-1):
3252 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3253 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3254 defun/defmacro any more.
3255 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3256 Provide fallback for unknown arglist.
3257 (byte-compile-arglist-warn): Change calling convention.
3258 (byte-compile-output-file-form): Move print-vars binding.
3259 (byte-compile-output-docform): Simplify accordingly.
3260 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3261 (byte-compile-defmacro-declaration): Remove.
3262 (byte-compile-file-form-defmumble): Generalize to defalias.
3263 (byte-compile-output-as-comment): Return byte-positions.
3264 Simplify callers accordingly.
3265 (byte-compile-lambda): Use `assert'.
3266 (byte-compile-defun, byte-compile-defmacro): Remove.
3267 (byte-compile-file-form-defalias):
3268 Use byte-compile-file-form-defmumble.
3269 (byte-compile-defalias-warn): Remove.
3270
6d3f7c2f
SM
32712012-05-29 Stefan Merten <smerten@oekonux.de>
3272
3273 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3274 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3275
3276 (rst-mode-abbrev-table): Merge definition.
3277 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3278 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3279
6dbaa1c7
UJ
32802012-05-29 Ulf Jasper <ulf.jasper@web.de>
3281
3282 * calendar/icalendar.el
3283 (icalendar-export-region): Export UID properly.
3284
d209e2fb 32852012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3286 * calendar/icalendar.el (icalendar-import-format):
3287 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3288 (icalendar-import-format-uid): New.
3289 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3290 Export UID.
3291
6876a58d
SM
32922012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3293
3294 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3295 different alternative patterns.
3296 (pcase-codegen): Be more careful to preserve identity.
3297 (pcase--u1): Don't forget to mark vars as used.
3298
3299 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3300 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3301 (byte-compile-from-buffer): ...rather than here.
3302
3303 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3304 functions from byte-compile-function-environment.
3305
46b7967e
TN
33062012-05-29 Troels Nielsen <bn.troels@gmail.com>
3307
3308 * window.el (window-deletable-p): Avoid deleting the root window
3309 of a frame with an active minibuffer.
3310
69d565e2
MR
33112012-05-29 Martin Rudalics <rudalics@gmx.at>
3312
3313 * simple.el (choose-completion): Use quit-window (Bug#11567).
3314
a149fa51
CY
33152012-05-29 Chong Yidong <cyd@gnu.org>
3316
3317 * whitespace.el (whitespace-cleanup): Fix usage of
3318 whitespace-empty-at-bob-regexp (Bug#11492).
3319
2b311310
AH
33202012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3321
3322 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3323 revert (Bug#11488).
3324
b9cb2387
JL
33252012-05-29 Juri Linkov <juri@jurta.org>
3326
3327 * isearch.el (isearch-mode-map): Bind `M-s _' to
3328 `isearch-toggle-symbol'. Bind `M-s c' to
3329 `isearch-toggle-case-fold'.
3330 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3331 (isearch-forward): Add `M-s _' to the docstring.
3332 (isearch-forward-symbol, isearch-toggle-case-fold)
3333 (isearch-symbol-regexp): New functions. (Bug#11381)
3334
d5e61c1c
JL
33352012-05-29 Juri Linkov <juri@jurta.org>
3336
3337 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3338 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3339 a function, call it to get the regexp.
3340 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3341 property `isearch-message-prefix' instead of the string "word ".
3342 (isearch-search-fun-default): For the case of `isearch-word',
3343 return a lambda that calls re-search-forward/re-search-backward
3344 with a regexp returned by `word-search-regexp' or by the function
3345 in `isearch-word'.
3346
8cbd80f7
JL
33472012-05-29 Juri Linkov <juri@jurta.org>
3348
3349 * isearch.el (isearch-search-fun-default): New function.
3350 (isearch-search-fun): Move default part to the new function
3351 `isearch-search-fun-default'.
3352 (isearch-search-fun-function): Set the default value to
3353 `isearch-search-fun-default'. (Bug#11381)
3354
3355 * comint.el (comint-history-isearch-end):
3356 Use `isearch-search-fun-default'.
3357 (comint-history-isearch-search): Use `isearch-search-fun-default'
3358 and remove spacial case for `isearch-word'.
3359 (comint-history-isearch-wrap): Remove spacial case for
3360 `isearch-word'.
3361
3362 * hexl.el (hexl-isearch-search-function):
3363 Use `isearch-search-fun-default'.
3364
3365 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3366 Use `word-search-regexp' for `isearch-word'.
3367
3368 * misearch.el (multi-isearch-search-fun):
3369 Use `isearch-search-fun-default'.
3370
3371 * simple.el (minibuffer-history-isearch-search):
3372 Use `isearch-search-fun-default' and remove spacial case for
3373 `isearch-word'.
3374 (minibuffer-history-isearch-wrap): Remove spacial case for
3375 `isearch-word'.
3376
3377 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3378 Remove spacial case for `isearch-word'.
3379 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3380
85c8c5b6
AM
33812012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3382
3383 Decrease XEmacs incompatibilities.
3384 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3385 Use `string-match'.
3386 (flyspell-delete-region-overlays): Use alternative definition for
3387 XEmacs.
3388 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3389 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3390 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3391 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3392 `define-obsolete-face-alias' under XEmacs, but old method.
3393
3394 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3395 `with-no-warnings' definition or Emacs alias.
3396 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3397 (ispell-word): Do not use `region-p' if XEmacs.
3398
8cab9efc
AM
33992012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3400
3401 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3402 Check for `ispell-dictionary-base-alist' instead of full
3403 `ispell-dictionary-alist'.
3404 (ispell-init-process): Show spellchecker when starting new Ispell
3405 process.
3406
fda91268
RZ
34072012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3408
3409 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3410 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3411
694ea8e3
JB
34122012-05-27 Juanma Barranquero <lekktu@gmail.com>
3413
3414 * version.el (motif-version-string, gtk-version-string)
3415 (ns-version-string): Declare.
3416
e4d4f539
JL
34172012-05-27 Juri Linkov <juri@jurta.org>
3418
3419 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3420 after the `eval-defun-1' specialcaseing
3421 like in `edebug-eval-defun' (bug#10181).
3422
3423 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3424 like in `eval-defun-1'.
3425
33017faf 34262012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3427
fda91268
RZ
3428 * mail/sendmail.el (mail-yank-region):
3429 Recognize rmail-yank-current-message in addition to insert-buffer.
3430 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3431 a *mail* buffer created through rmail-start-mail with sendmail as
3432 mail-user-agent.
3433
33017faf
GM
34342012-05-27 Chong Yidong <cyd@gnu.org>
3435
3436 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3437 Default to 256 (Bug#11267).
3438
3439 * help.el (describe-mode): Doc fix.
3440
04188bb9
GM
34412012-05-26 Glenn Morris <rgm@gnu.org>
3442
38264cc9
GM
3443 * w32-fns.el (w32-init-info): Remove.
3444 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3445
eb7afdad
GM
3446 * info.el (info-initialize): For self-contained NS builds, put the
3447 included info/ directory at the front. (Bug#2791)
3448
04188bb9
GM
3449 * paths.el (Info-default-directory-list): Make it a defcustom,
3450 mainly so that we can use custom-initialize-delay.
3451
a179e3f7
SM
34522012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3453
43416392
SM
3454 * subr.el (buffer-has-markers-at): Mark obsolete.
3455
a179e3f7 3456 * subr.el (lambda): Use declare.
43416392 3457
a179e3f7
SM
3458 * emacs-lisp/lisp-mode.el (lambda):
3459 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3460
34a008d9
AH
34612012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3462
3463 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3464
0a3b289f
GM
34652012-05-26 Glenn Morris <rgm@gnu.org>
3466
3467 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3468
758c81e8
GM
34692012-05-25 Glenn Morris <rgm@gnu.org>
3470
f9f334f0
GM
3471 * paths.el: Remove no-byte-compile.
3472 * loadup.el: No need to load paths.el uncompiled.
3473
87eb79c2
GM
3474 * image.el (imagemagick-types-inhibit): Doc fix.
3475
758c81e8
GM
3476 * version.el: Remove no-byte-compile and associated formatting.
3477 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3478 is ancient code from when there was an "inc-vers.el".
3479
e7e85dc0
SM
34802012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3481
3482 * progmodes/gdb-mi.el: Minor style changes.
3483 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3484 Turn into minor modes.
3485 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3486 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3487 (gdb-shell): Remove unneeded let-binding.
3488 (gdb-get-many-fields): Eliminate O(n²) behavior.
3489
f31237a4
EZ
34902012-05-25 Eli Zaretskii <eliz@gnu.org>
3491
3492 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3493 platforms that don't link in fontset.c.
3494
bc1b21bb
JL
34952012-05-25 Juri Linkov <juri@jurta.org>
3496
3497 Use the same diff color scheme as in modern VCSes (bug#10181).
3498
3499 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3500 to avoid confusion with `diff-added' that now uses green colors.
3501 (diff-removed): Use shades of red.
3502 (diff-added): Use shades of green.
3503 (diff-changed): Leave just the yellow color.
3504 (diff-use-changed-face): New variable.
3505 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3506 how to highlight context diff changes.
3507 (diff-refine-change): Use shades of yellow.
3508 (diff-refine-removed): New face that uses shades of red.
3509 (diff-refine-added): New face that uses shades of green.
3510 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3511 `diff-refine-removed' in the call to `smerge-refine-subst'
3512 depending on the value of `diff-use-changed-face'.
3513
3514 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3515 (smerge-other): Use shades of green.
3516 (smerge-base): Use shades of yellow.
3517 (smerge-refined-change): Empty face.
3518 (smerge-refined-removed): New face that uses shades of red.
3519 (smerge-refined-added): New face that uses shades of green.
3520 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3521 args `props-r' and `props-a', and use them. Doc fix.
3522 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3523 on its value use different faces `smerge-refined-change',
3524 `smerge-refined-removed', `smerge-refined-added' in the call to
3525 `smerge-refine-subst'.
3526
3527 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3528 Add face condition `min-colors 88' with shades of red.
3529 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3530 `min-colors 88' with shades of green.
3531 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3532 `min-colors 88' with shades of yellow.
3533
6df9112c
GM
35342012-05-24 Glenn Morris <rgm@gnu.org>
3535
ead5edc0
GM
3536 * paths.el (prune-directory-list, remote-shell-program): Move to...
3537 * files.el (prune-directory-list, remote-shell-program): ...here.
3538 For the latter, delay initialization, prefer ssh, just search PATH.
3539
f18b81e6
GM
3540 * paths.el (term-file-prefix): Move to faces.el (the only user).
3541 * faces.el (term-file-prefix): Move here, make it a defcustom.
3542
ee2f89a6
GM
3543 * paths.el (news-directory, news-path, news-inews-program):
3544 Move to gnus/nnspool.el.
61a583ca 3545
f8815e4c
GM
3546 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3547
c8f3b42c
GM
3548 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3549 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3550 Make the latter a defcustom, with a delayed initialization.
3551
6df9112c
GM
3552 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3553 These were deleted from Gnus itself late 2010.
3554
5dadff36
JB
35552012-05-22 Juanma Barranquero <lekktu@gmail.com>
3556
9e1701c6
JB
3557 * progmodes/which-func.el (which-func-ff-hook):
3558 Check against user-error, not error.
3559
bd7239f5 3560 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3561 cl-specs.el, which no longer exists.
3562
3290526d
GM
35632012-05-22 Glenn Morris <rgm@gnu.org>
3564
3565 * info.el (info-emacs-bug): New command.
3566 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3567 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3568
ff0c3cfb
GM
35692012-05-21 Glenn Morris <rgm@gnu.org>
3570
3571 * makefile.w32-in (update-subdirs-SH):
3572 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3573
5814f126
SM
35742012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3575
a52c0aa0
SM
3576 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3577
5814f126
SM
3578 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3579 Simplify Maven regexp, and make sure the file can't start with a space
3580 (bug#11517).
3581
b847032c
GM
35822012-05-21 Glenn Morris <rgm@gnu.org>
3583
3584 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3585 Scrap superfluous subshells.
3586
3858bfe7
SM
35872012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3588
3589 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3590 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3591
d14b0029
JB
35922012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3593
3594 * calc/calc.el (calc-ensure-consistent-units): New variable.
3595
a52c0aa0
SM
3596 * calc/calc-units.el (math-consistent-units-p)
3597 (math-check-unit-consistency): New functions.
3598 (calc-quick-units, calc-convert-units):
3599 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3600 is non-nil.
d14b0029
JB
3601 (calc-extract-units): Fix typo.
3602
60c4db3a
SM
36032012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3604
77f3b62e
SM
3605 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3606
60c4db3a
SM
3607 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3608 (flyspell-default-deplacement-commands): Don't spell check after
3609 repeated window/frame switches (e.g. triggered by mouse-movement).
3610 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3611 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3612 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3613 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3614 Remove unused vars.
3615 (flyspell-get-casechars, flyspell-get-not-casechars):
3616 Simplify; Don't bother removing a ] just to add it back.
3617 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3618
d209e2fb 36192012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3620
3621 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3622 New functions.
bd7239f5 3623 (math-function-table): Add support for more C functions.
b1a10716 3624
3f1b25b5
AM
36252012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3626
090bd7cb
JB
3627 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3628 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3629 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3630
b581bb5c
SM
36312012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3632
3633 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3634 their respective macro declarations.
3635 * skeleton.el (define-skeleton):
3636 * progmodes/compile.el (define-compilation-mode):
3637 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3638 (define-ibuffer-filter):
3639 * emacs-lisp/generic.el (define-generic-mode):
3640 * emacs-lisp/easy-mmode.el (define-minor-mode)
3641 (define-globalized-minor-mode):
3642 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3643 * emacs-lisp/byte-run.el (defsubst):
3644 * custom.el (deftheme): Add doc-string metadata.
3645
70b8ef8f
SM
36462012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3647
3648 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3649
b1198e17
SM
36502012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3651
9abdc45d
SM
3652 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3653
b1198e17
SM
3654 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3655 * emacs-lisp/cl-macs.el: Idem.
3656 * emacs-lisp/cl-specs.el: Remove.
3657
4735906a
SM
36582012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3659
3660 Minor renaming of internal CL functions and variables.
3661 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3662 (cl--position): Rename from cl-position.
3663 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3664 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3665 (cl--random-state): Rename from *random-state*.
3666
ac348012
SM
36672012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3668
3669 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3670 parens around the arg list (bug#11499).
3671
a0a79cde
JL
36722012-05-17 Juri Linkov <juri@jurta.org>
3673
3674 * isearch.el (word-search-regexp, word-search-backward)
3675 (word-search-forward, word-search-backward-lax)
3676 (word-search-forward-lax): Move functions from search.c
3677 (bug#10145, bug#11381).
3678
65034a51
AM
36792012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3680
090bd7cb
JB
3681 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3682 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3683 Delay for otherchars as for normal word components.
65034a51 3684
1a72a195
SM
36852012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3686
3687 * minibuffer.el (completion--sifn-requote): Fix last change.
3688 (minibuffer-local-must-match-filename-map):
3689 Move define-obsolete-variable-alias before its var.
3690
fdb058c2
SM
36912012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3692
c41045e6
SM
3693 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3694
036dfb8b
SM
3695 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3696 behavior.
3697 (completion--string-equal-p): New function.
3698 (completion--twq-all): Use it to get better assertion failure data.
3699
2473256d
SM
3700 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3701 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3702 (shell--requote-argument): New functions.
3703 (shell-completion-vars): Use them.
3704 (shell--parse-pcomplete-arguments): Rename from
3705 shell-parse-pcomplete-arguments.
3706 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3707 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3708 Obey comint-file-name-quote-list.
3709
fdb058c2
SM
3710 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3711 (smie-indent-keyword): Use it.
3712
51fa99f1
SM
37132012-05-14 Stefan Merten <smerten@oekonux.de>
3714
3715 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3716
e18afed7 37172012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3718
3719 * net/rlogin.el (rlogin-mode-map): Fix last change.
3720
e18afed7 37212012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3722
3723 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3724 the following \r\n using a single `process-send-string', since the
3725 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3726 with two `process-send-string's (Bug#11444).
8633b1f4 3727
e18afed7 37282012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3729
fdb058c2
SM
3730 * shell.el (shell-parse-pcomplete-arguments):
3731 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3732
2d21d7f6
WJ
37332012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3734
e18afed7 3735 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3736 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3737 (image-transform-width, image-transform-fit-width): New functions.
3738 (image-transform-properties): Use them.
3739 (image-transform-check-size): New function.
3740 (image-toggle-display-image): Use it (for testing).
3741 (image-transform-set-rotation): Reduce angle mod 360.
3742 Delete obsolete comment.
3743
7102e6d0
WJ
37442012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3745
3746 * image-mode.el: Fix scaling (bug#11399).
3747 (image-transform-resize): Doc fix.
3748 (image-transform-properties): Default scale is 1 and height should
3749 be an integer.
3750
06bc5e6e
SM
37512012-05-13 Johan Bockgård <bojohan@gnu.org>
3752
3753 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3754 than hard-coding `car', to fix misbehavior when moving forward.
3755
0ae03b6a
CY
37562012-05-13 Chong Yidong <cyd@gnu.org>
3757
3758 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3759 (tabulated-list-entries, tabulated-list-padding)
3760 (tabulated-list-sort-key): Make permanent-local.
3761
3762 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3763 (electric-buffer-list): Put electric buffer menu
3764 command descriptions in this docstring, instead of the docstring
3765 of electric-buffer-menu-mode. Code cleanups.
3766 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3767 Electric-buffer-menu-mode.
3768 (electric-buffer-update-highlight): Minor code cleanup.
3769
205a7391
MA
37702012-05-13 Michael Albinus <michael.albinus@gmx.de>
3771
3772 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3773 (Bug#11447)
3774
e5bd0a28
SM
37752012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3776
3777 Move define-obsolete-variable-alias before the var's definition.
3778 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3779 * tooltip.el (tooltip-hook):
3780 * textmodes/reftex-toc.el (reftex-toc-map):
3781 * textmodes/reftex-sel.el (reftex-select-label-map)
3782 (reftex-select-bib-map):
3783 * textmodes/reftex-index.el (reftex-index-map)
3784 (reftex-index-phrases-map):
3785 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3786 * progmodes/meta-mode.el (meta-mode-map):
3787 * novice.el (disabled-command-hook):
3788 * loadhist.el (unload-hook-features-list):
3789 * frame.el (blink-cursor):
3790 * files.el (find-file-not-found-hooks, write-file-hooks)
3791 (write-contents-hooks):
3792 * emulation/tpu-edt.el (GOLD-map):
3793 * emacs-lock.el (emacs-lock-from-exiting):
3794 * emacs-lisp/generic.el (generic-font-lock-defaults):
3795 * emacs-lisp/chart.el (chart-map):
3796 * dos-fns.el (register-name-alist):
3797 * dired-x.el (dired-omit-files-p):
3798 * desktop.el (desktop-enable):
3799 * cus-edit.el (custom-mode-hook):
3800 * buff-menu.el (buffer-menu-mode-hook):
3801 * bookmark.el (bookmark-read-annotation-text-func)
3802 (bookmark-exit-hooks):
3803 * allout.el (allout-mode-deactivate-hook)
3804 (allout-exposure-change-hook, allout-structure-added-hook)
3805 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3806 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3807 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3808 comes before the corresponding variable's definition.
3809
ac59c2f6
CY
38102012-05-12 Chong Yidong <cyd@gnu.org>
3811
3812 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3813 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3814 (Buffer-menu-mode-map): Bind it.
3815 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3816
dee6c9a3
SM
38172012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3818
2171cea5
SM
3819 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3820 (prolog-upper-case-string, prolog-lower-case-string)
3821 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3822 (prolog-use-smie, prolog-smie-grammar): New vars.
3823 (prolog-smie-forward-token, prolog-smie-backward-token)
3824 (prolog-smie-rules): New funs.
3825 (prolog-comment-indent): Remove.
3826 (prolog-mode-variables): Use default comment indentation instead.
3827 Setup SMIE.
3828 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3829 (prolog-mode): Don't call them any more.
3830 (prolog-electric-colon, prolog-electric-dash)
3831 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3832
aa0382bd
SM
3833 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3834
dbacb4bd
SM
3835 * minibuffer.el (completion--twq-all): Again, allow case differences.
3836
13bdd94c
SM
3837 * term.el: Move keymap initialization code to be more idiomatic.
3838 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3839 (term-terminal-menu): Move initialization into declaration.
3840 (term-escape-char): Let the user set it in her .emacs.
3841
ff46c759
SM
3842 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3843 Provide SMIE-based indentation (not enabled by default yet).
3844 (sh-mode-map): Don't bind electric keys.
3845 Use electric-pair-mode instead of skeleton-pair.
3846 (sh-assignment-regexp): Fit within 80 columns.
3847 (sh-indent-supported): Specify actual shell name instead of boolean.
3848 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3849 (sh-maybe-here-document): Use it. Make obsolete.
3850 (sh-electric-here-document-mode) New minor mode.
3851 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3852 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3853 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3854 (sh-smie-rc-grammar, sh-use-smie): New vars.
3855 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3856 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3857 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3858 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3859 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3860 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3861 (sh-set-shell): Use smie-setup if requested.
3862
dee6c9a3
SM
3863 * term.el (term-set-escape-char): Properly set term-escape-char.
3864 See http://stackoverflow.com/questions/10524656.
3865
9f9aa044
CY
38662012-05-10 Chong Yidong <cyd@gnu.org>
3867
3868 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3869 Use url-generic-parse-url, and handle host names and Windows
3870 filenames properly.
3871 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3872 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3873 URL schemes to work on.
3874 (ffap--toggle-read-only): New function.
3875 (ffap-read-only, ffap-read-only-other-window)
3876 (ffap-read-only-other-frame): Use it.
3877 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3878 necessary for ffap-url-unwrap-remote.
3879
836d29b3
DA
38802012-05-10 Dave Abrahams <dave@boostpro.com>
3881
3882 * cus-start.el (create-lockfiles): Add it.
3883
00fd78ed
CY
38842012-05-09 Chong Yidong <cyd@gnu.org>
3885
3886 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3887 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3888
666b903b 38892012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3890
3891 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3892
666b903b 38932012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3894
3895 * ansi-color.el (ansi-color-process-output): Check for validity of
3896 comint-last-output-start before using it. This avoids a bad
3897 interaction with gdb-mi's input/output buffer.
3898
666b903b 38992012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3900
3901 * files.el (dir-locals-read-from-file):
3902 Mention dir-locals in any error message.
3903
666b903b 39042012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3905
3906 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3907 package (Bug#11410).
3908
f677562b
CY
3909 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3910 variables into description.
3911
666b903b 39122012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3913
3914 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3915 shell-delimiter-argument-list (bug#11348).
3916 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3917
b499d8d0
JB
39182012-05-09 Juanma Barranquero <lekktu@gmail.com>
3919
8f6b6da8
JB
3920 * textmodes/rst.el: Silence byte-compiler warnings.
3921 (rst-re-alist, rst-reset-section-caches): Move around.
3922 (rst-re): Use `characterp', not `char-valid-p'.
3923 (font-lock-beg, font-lock-end): Declare.
3924
4824146a
JB
3925 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3926 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3927
b499d8d0
JB
3928 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3929
ad89bb83
GM
39302012-05-08 Glenn Morris <rgm@gnu.org>
3931
3932 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3933
8bba5a75
SM
39342012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3935
49ed9c8e
SM
3936 * vc/log-edit.el: Add GNU coding standards highlighting.
3937 (log-edit-font-lock-gnu-style)
3938 (log-edit-font-lock-gnu-keywords): New vars.
3939 (log-edit-font-lock-keywords): New fun.
3940 (log-edit-mode): Don't fold case in font-lock.
3941 (log-edit-font-lock-keywords): Do not assume case-folding.
3942
07d00b56
SM
3943 * imenu.el: Misc cleanup. Make docstrings out of comments.
3944 Use lexical-binding.
3945 (imenu--index-alist, imenu--last-menubar-index-alist)
3946 (imenu-menubar-modified-tick): Use defvar-local.
3947 (imenu--split-menu): Remove unused var.
3948 (imenu--cleanup-seen): Declare as global.
3949 (imenu--cleanup): Use dolist.
3950
8bba5a75
SM
3951 * subr.el (defvar-local): Add debug spec and doc-string position.
3952
5075bdb5
GM
39532012-05-08 Glenn Morris <rgm@gnu.org>
3954
090bd7cb 3955 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3956 * language/english.el, language/georgian.el, language/greek.el:
3957 * language/japanese.el, language/khmer.el, language/korean.el:
3958 * language/lao.el, language/misc-lang.el, language/romanian.el:
3959 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3960 * language/thai.el, language/utf-8-lang.el:
3961 Remove no-byte-compile setting.
3962
5075bdb5
GM
3963 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3964
06f679a7
AH
39652012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3966
3967 * progmodes/make-mode.el (makefile-browse):
3968 Remove unnecessary interactive. (Bug#11324)
3969
03794570
GM
39702012-05-07 Glenn Morris <rgm@gnu.org>
3971
af8630f4
GM
3972 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3973
03794570
GM
3974 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3975
f0809a9d
SM
39762012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3977
28be5ce7
SM
3978 * loadup.el: Preload newcomment.el.
3979 * newcomment.el: Move autoload-only code to toplevel.
3980
f0809a9d
SM
3981 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3982 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3983 Handle new :right-align column property.
3984 (tabulated-list-print-col): Idem, plus use `display' text-property to
3985 try and preserve alignment for variable pitch fonts.
3986
1241b724
CY
39872012-05-07 Chong Yidong <cyd@gnu.org>
3988
3989 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3990 (tabulated-list-use-header-line): New var.
3991 (tabulated-list-init-header): Use it.
3992 (tabulated-list-print-fake-header): New function.
3993 (tabulated-list-print): Use it.
3994 (tabulated-list-sort-button-map): Add non-header-line commands.
3995 (tabulated-list-init-header): Add column name property to basic
3996 labels as well.
3997 (tabulated-list-col-sort): Handle non-header-line button case.
3998 (tabulated-list--sort-by-column-name): Fix a corner case.
3999
f0809a9d
SM
4000 * buff-menu.el (list-buffers--refresh):
4001 Handle Buffer-menu-use-header-line.
1241b724 4002
e5f9458f
CY
40032012-05-06 Chong Yidong <cyd@gnu.org>
4004
4005 * buff-menu.el: Convert to Tabulated List mode.
4006 (Buffer-menu-buffer+size-width): Make obsolete.
4007 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
4008 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
4009 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
4010 documentation into docstring of buffer-menu.
4011 (Buffer-menu-toggle-files-only): Add an informative message.
4012 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
4013 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
4014 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
4015 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
4016 (Buffer-menu-execute, Buffer-menu-select)
4017 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
4018 (Buffer-menu-bury): Use Tabulated List machinery.
4019 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
4020 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 4021 Delete.
e5f9458f
CY
4022 (list-buffers--refresh): New function.
4023 (list-buffers-noselect): Use it.
4024 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
4025 (Buffer-menu--pretty-file-name): New helper functions.
4026
4027 * loadup.el: Preload tabulated-list.
4028
4029 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
4030 tabulated-list-sort-column.
4031 (tabulated-list-init-header): Add the initial aligning space even
4032 if tabulated-list-padding is zero.
4033
e129292c
CS
40342012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
4035
4036 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
4037 whose cdr is not a cons cell correctly (bug#11038).
4038
6632d361
CY
40392012-05-06 Chong Yidong <cyd@gnu.org>
4040
e129292c
CS
4041 * emacs-lisp/tabulated-list.el (tabulated-list-format):
4042 Accept additional plist in column descriptors.
6632d361
CY
4043 (tabulated-list-init-header): Obey it.
4044 (tabulated-list-get-entry): New function.
4045 (tabulated-list-put-tag): Use it. Use string-width instead of
4046 length.
4047 (tabulated-list--column-number): New function.
4048 (tabulated-list-print): Use it.
e129292c
CS
4049 (tabulated-list-print-col): New function.
4050 Set `tabulated-list-column-name' property on each column's text.
6632d361 4051 (tabulated-list-print-entry): Use it.
e129292c
CS
4052 (tabulated-list-delete-entry, tabulated-list-set-col):
4053 New functions.
6632d361
CY
4054 (tabulated-list-sort-column): New command (Bug#11337).
4055
3cc99f68
CY
4056 * buff-menu.el (list-buffers): Move C-x C-b binding from
4057 buff-menu.el to bindings.el.
4058
4059 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4060 :advertised-binding feature.
4061
52b61776
TN
40622012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4063
4064 * progmodes/compile.el (compilation-internal-error-properties):
4065 Calculate start position correctly when end-col is set but
4066 end-line is not (Bug#11382).
4067
ebfe2597
WJ
40682012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4069
4070 * man.el (Man-unindent): Use text-property-default-nonsticky to
4071 prevent untabify from inheriting face properties (Bug#11408).
4072
6d3f7c2f
SM
40732012-05-05 Stefan Merten <smerten@oekonux.de>
4074
4075 * textmodes/rst.el: Major merge with upstream development up to
4076 Docutils SVN r7399 / rst.el V1.2.1.
4077
4078 Clarify maintainership and authors.
4079
4080 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4081 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4082 (rst-official-version, rst-official-cvs-rev, rst-version)
4083 (rst-package-emacs-version-alist): New functions and variables
4084 for version information.
4085
4086 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4087 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4088 (rst-mode-syntax-table, rst-mode): New and corrected functions
4089 and variables representing reStructuredText features.
4090
4091 (rst-re): New function for reStructuredText regexes. Use in
4092 many places.
4093
4094 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4095 (rst-mode-map): Rebind keys.
4096
4097 (rst-mode-lazy, rst-font-lock-keywords)
4098 (rst-font-lock-extend-region)
4099 (rst-font-lock-extend-region-internal)
4100 (rst-font-lock-extend-region-extend)
4101 (rst-font-lock-find-unindented-line-limit)
4102 (rst-font-lock-find-unindented-line-match)
4103 (rst-adornment-level, rst-font-lock-adornment-level)
4104 (rst-font-lock-adornment-match)
4105 (rst-font-lock-handle-adornment-pre-match-form)
4106 (rst-font-lock-handle-adornment-matcher): Major revision of
4107 font-locking. Integrate with other code. Use `jit-lock-mode'.
4108
4109 (rst-preferred-adornments, rst-adjust-hook)
4110 (rst-new-adornment-down, rst-preferred-bullets)
4111 (rst-preferred-bullets, rst-indent, rst-indent-width)
4112 (rst-indent-field, rst-indent-literal-normal)
4113 (rst-indent-literal-minimized, rst-indent-comment): Change,
4114 extend and improve customization.
4115
4116 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4117 (rst-normalize-cursor-position, rst-get-decoration)
4118 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4119 (rst-rstrip, rst-toc-insert-find-delete-contents)
4120 (rst-shift-fill-region, rst-compute-bullet-tabs)
4121 (rst-debug-print-tabs, rst-debug-mark-found)
4122 (rst-shift-region-guts, rst-shift-region-right)
4123 (rst-shift-region-left, rst-use-char-classes)
4124 (rst-font-lock-keywords-function)
4125 (rst-font-lock-indentation-point)
4126 (rst-font-lock-find-unindented-line-begin)
4127 (rst-font-lock-find-unindented-line-end)
4128 (rst-font-lock-find-unindented-line)
4129 (rst-font-lock-adornment-point, rst-font-lock-level)
4130 (rst-adornment-level-alist): Remove functions and variables.
4131
4132 (rst-compare-adornments, rst-get-adornment-match)
4133 (rst-suggest-new-adornment, rst-get-adornments-around)
4134 (rst-adornment-complete-p, rst-get-next-adornment)
4135 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4136 (rst-straighten-adornments): Standardize function names to
4137 use "adornment" instead of "decoration". Correct callers.
4138 Similar standardizing in many places.
4139
4140 (rst-update-section, rst-adjust, rst-promote-region)
4141 (rst-enumerate-region, rst-bullet-list-region)
4142 (rst-repeat-last-character): Correct use of `interactive'.
4143
4144 (rst-classify-adornment, rst-find-all-adornments)
4145 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4146 (rst-find-leftmost-column, rst-repeat-last-character):
4147 Refactor functions.
4148
4149 (rst-find-title-line, rst-reset-section-caches)
4150 (rst-get-adornments-around, rst-adjust-adornment-work)
4151 (rst-arabic-to-roman, rst-roman-to-arabic)
4152 (rst-insert-list-pos, rst-insert-list-new-item)
4153 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4154 New functions.
4155
4156 (rst-all-sections, rst-section-hierarchy)
4157 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4158 New variables.
4159
4160 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4161 configuration instead of only buffer. Change where necessary.
4162
4163 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4164 (rst-shift-region, rst-adaptive-fill): New functions for
4165 indentation and filling.
4166
4167 (rst-comment-line-break, rst-comment-indent)
4168 (rst-comment-insert-comment, rst-comment-region)
4169 (rst-uncomment-region): New functions for handling comments.
4170
4171 (rst-compile): Quote shell arguments.
4172
4173 (rst-compile-pdf-preview, rst-compile-slides-preview):
4174 Delete temporary files after use.
4175
a43f98b3
GM
41762012-05-05 Glenn Morris <rgm@gnu.org>
4177
48176e8b
GM
4178 * calendar/cal-html.el: Optionally include holidays in the output.
4179 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4180 (cal-html-holidays): New option.
4181 (cal-html-css-default): Add holiday entry.
4182 (holiday-in-range): Autoload it.
4183 (cal-html-htmlify-entry): Add optional class argument.
4184 (cal-html-htmlify-list): Add optional holidays argument.
4185 (cal-html-insert-agenda-days): Include holidays in the output.
4186 (cal-html-one-month): Maybe include holidays.
4187
a43f98b3
GM
4188 * calendar/holidays.el (holiday-in-range):
4189 Move here from cal-tex-list-holidays.
4190 * calendar/cal-tex.el (cal-tex-list-holidays):
4191 Make it an obsolete alias for holiday-in-range. Update all callers.
4192
fef9d149 41932012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4194
4195 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4196 Nextstep.
4197
248da2f4
RW
41982012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4199
4200 * files.el (file-auto-mode-skip): New var.
4201 (set-auto-mode-1): Use it.
4202
f95e9344
SM
42032012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4204
df96ab1e
SM
4205 * repeat.el: Use lexical-binding.
4206 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4207 (repeat-undo-count): Remove.
4208 (repeat):
4209 * progmodes/octave-mod.el (octave-abbrev-start):
4210 * progmodes/f90.el (f90-abbrev-start):
4211 * face-remap.el (text-scale-adjust):
4212 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4213
5342bb06
SM
4214 * emacs-lisp/pcase.el (pcase--let*): New function.
4215 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4216 a bit more.
4217 (pcase--split-pred): Be more clever about ruling out overlap between
4218 a predicate and some constant pattern.
4219 (pcase--q1): Use `null' instead of (eq foo nil).
4220
f95e9344
SM
4221 * subr.el (setq-local, defvar-local): New macros.
4222 (kbd): Redefine as an alias.
4223 (with-selected-window): Leave unrelated frames alone.
4224 (set-temporary-overlay-map): New function.
4225
71873e2b
SM
42262012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4227
4228 * subr.el (user-error): New function.
4229 * window.el (switch-to-buffer):
4230 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4231 (smerge-match-conflict):
4232 * simple.el (previous-matching-history-element)
4233 (next-matching-history-element, goto-history-element, undo-more)
4234 (undo-start):
4235 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4236 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4237 (next-file, tags-loop-scan, list-tags, complete-tag):
4238 * progmodes/compile.el (compilation-loop):
4239 * mouse.el (mouse-minibuffer-check):
4240 * man.el (Man-bgproc-sentinel, Man-goto-page):
4241 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4242 (Info-history-forward, Info-follow-reference, Info-menu)
4243 (Info-extract-menu-item, Info-extract-menu-counting)
4244 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4245 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4246 (Info-next-reference, Info-prev-reference, Info-index)
4247 (Info-index-next, Info-follow-nearest-node)
4248 (Info-copy-current-node-name):
4249 * imenu.el (imenu--make-index-alist)
4250 (imenu-default-create-index-function, imenu-add-to-menubar):
4251 * files.el (basic-save-buffer, recover-file):
4252 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4253 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4254 (checkdoc-message-text, checkdoc-defun):
4255 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4256 * cus-edit.el (customize-changed-options, customize-rogue)
4257 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4258 (custom-variable-mark-to-reset-standard)
4259 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4260 (custom-file):
4261 * completion.el (check-completion-length):
4262 * comint.el (comint-search-arg)
4263 (comint-previous-matching-input-string-position)
4264 (comint-previous-matching-input)
4265 (comint-replace-by-expanded-history-before-point, comint-send-input)
4266 (comint-copy-old-input, comint-backward-matching-input)
4267 (comint-goto-process-mark, comint-set-process-mark):
4268 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4269 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4270
8a61ee22
SM
42712012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4272
66408d1e
SM
4273 * dabbrev.el (dabbrev--ignore-case-p): New function.
4274 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4275 Use it.
4276
8a61ee22
SM
4277 * files.el (automount-dir-prefix): Mark as obsolete.
4278
3c74813a
GM
42792012-05-04 Glenn Morris <rgm@gnu.org>
4280
4281 * patcomp.el, play/bruce.el: Move to obsolete/.
4282
0bfcf5c5
PE
42832012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4284
4285 Fix minor Y10k bugs.
4286 * arc-mode.el (archive-unixdate):
4287 * autoinsert.el (auto-insert-alist):
4288 * calc/calc-forms.el (math-this-year):
4289 * emacs-lisp/copyright.el (copyright-current-year)
4290 (copyright-update-year, copyright):
4291 * tar-mode.el (tar-clip-time-string):
4292 * time.el (display-time-update):
4293 Don't assume years have 4 digits.
4294
78f3273a
CY
42952012-05-04 Chong Yidong <cyd@gnu.org>
4296
4297 * dos-w32.el (file-name-buffer-file-type-alist)
4298 (direct-print-region-use-command-dot-com):
4299 * ffap.el (ffap-menu-regexp):
4300 * find-file.el (ff-special-constructs):
4301 * follow.el (follow-debug):
4302 * forms.el (forms--debug):
4303 * iswitchb.el (iswitchb-all-frames):
4304 * ido.el (ido-all-frames):
4305 * emacs-lisp/timer.el (timer-max-repeats):
4306 * mail/feedmail.el (feedmail-mail-send-hook)
4307 (feedmail-mail-send-hook-queued):
4308 * mail/footnote.el (footnote-signature-separator):
4309 * mail/mailabbrev.el (mail-alias-separator-string)
4310 (mail-abbrev-mode-regexp):
4311 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4312 * progmodes/idlwave.el (idlwave-libinfo-file)
4313 (idlwave-default-completion-case-is-down)
4314 (idlwave-library-routines): Convert defvars to defcustoms.
4315
4316 * mail/rmail.el (rmail-decode-mime-charset):
4317 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4318 (idlwave-shell-fix-inserted-breaks)
4319 (idlwave-shell-activate-alt-keybindings)
4320 (idlwave-shell-use-breakpoint-glyph):
4321 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4322
f7ae6719
SM
43232012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4324
4325 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4326
47086495
WS
43272012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4328
4329 * progmodes/verilog-mode.el (font-lock-keywords):
4330 Fix mis-highligting auto. Reported by Craig Barner.
4331 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4332 defines from global name space. Reported by Dan Dever.
4333 (verilog-auto-reset, verilog-auto-reset-widths)
4334 (verilog-auto-tieoff): Support using unbased numbers for
4335 AUTORESET and AUTOTIEOFF.
4336 (verilog-submit-bug-report): Update variable list.
4337 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4338 parenthesis from not matching. Reported by Michael Rytting.
4339 (verilog-auto-template-lint): Fix hash error when linting modules
4340 with no used templates.
4341 (verilog-warn, verilog-warn-error)
4342 (verilog-warn-fatal): When non-interactive report multiple
4343 warnings before exiting. Suggested by Brad Dobbie.
4344 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4345 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4346 to report unused template errors. Reported by Brad Dobbie.
4347 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4348 nets, bug438. Reported by Vns Blore.
4349 (verilog-auto-inout-module, verilog-auto-reg)
4350 (verilog-read-decls, verilog-read-sub-decls-sig)
4351 (verilog-signals-edit-wire-reg, verilog-signals-with):
4352 Fix passing of Verilog data types in ANSI input/output ports
4353 such as "output logic" into the AUTOs. Special case "wire" and
4354 "reg" for backwards compatibility presuming Verilog 2001.
4355 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4356 (verilog-preprocess): Fix replication of preprocess output.
4357 Reported by Brad Dobbie.
4358 (verilog-auto-inst-interfaced-ports):
4359 Create verilog-auto-inst-interfaced-ports, bug429.
4360 Reported by Julian Gorfajn.
4361 (verilog-after-save-font-hook)
4362 (verilog-before-save-font-hook): New variable.
4363 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4364 (verilog-save-font-mods): Wrap disabling fontification, reported
4365 by David Rogoff.
4366 (verilog-do-indent, verilog-pretty-declarations-auto)
4367 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4368 Reported by Pierre-David Pfister.
4369 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4370 of class declarations, bug292. Reported by Kevin Heilman.
4371 (verilog-read-decls): Fix 'parameter type' not appearing in
4372 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4373 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4374 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4375 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4376 Reported by David Kravitz.
4377
43782012-05-03 Michael McNamara <mac@mail.brushroad.com>
4379
4380 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4381 assignment with tests in ifs and for loops.
4382 (verilog-extended-complete-re, verilog-complete-reg): Change so
4383 that DPI inport functions don't look like fuction declarations.
4384 (verilog-pretty-expr): Don't line up assignment
4385 operations to the test and increment in if and for loops
4386 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4387 that DPI inport functions don't look like fuction declarations.
47086495 4388
2e51d4b5
KH
43892012-05-03 Kenichi Handa <handa@m17n.org>
4390
4391 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4392 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4393 (Bug#11282).
4394
2bd785a2
SM
43952012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4396
4397 * emacs-lisp/bytecomp.el
4398 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4399 since cconv.el might have introduced :fun-body, internal-make-closure,
4400 and friends for bytecomp to handle (bug#11391).
4401 * custom.el (defcustom): Avoid ((λ ..) ..).
4402
99d27583
SM
44032012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4404
4405 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4406
55a71479
JB
44072012-05-02 Juanma Barranquero <lekktu@gmail.com>
4408
4409 * notifications.el (dbus-debug):
4410 * term/linux.el (gpm-mouse-enable):
4411 * term/screen.el (xterm-register-default-colors): Declare.
4412
7b97c764
CY
44132012-05-02 Chong Yidong <cyd@gnu.org>
4414
2bc356d7
CY
4415 * cus-start.el (gc-cons-percentage, exec-suffixes)
4416 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4417 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4418 (make-cursor-line-fully-visible, void-text-area-pointer)
4419 (font-list-limit): Add customization data.
4420
7b97c764
CY
4421 * allout.el (allout-exposure-change-functions)
4422 (allout-structure-added-functions)
4423 (allout-structure-deleted-functions)
4424 (allout-structure-shifted-functions): Rename abnormal hooks from
4425 *-hook, and convert to defcustoms.
5d3385a0
JB
4426 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4427 Convert to defcustoms.
7b97c764
CY
4428 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4429
4430 * allout-widgets.el: Hook callers changed.
4431
90207a15 44322012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4433
4434 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4435 the yanked message in preference to the default value of
4436 buffer-file-coding-system.
4437
90207a15 44382012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4439
5d3385a0
JB
4440 * window.el (display-buffer--action-function-custom-type):
4441 Fix entry.
d9558cad 4442
90207a15 44432012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4444
4445 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4446
d80ac57b
GM
44472012-05-01 Glenn Morris <rgm@gnu.org>
4448
976f7668
GM
4449 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4450
beb83b5a
GM
4451 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4452
d80ac57b
GM
4453 * cus-edit.el (custom-variable-documentation): Simplify with format.
4454
b593d6a9 44552012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4456 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4457
4458 * simple.el (suggest-key-bindings, execute-extended-command):
4459 Move from keyboard.c.
4460
782fbf2a
CY
44612012-05-01 Chong Yidong <cyd@gnu.org>
4462
4463 * follow.el: Eliminate advice.
4464 (set-process-filter, process-filter, sit-for): Advice deleted.
4465 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4466 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4467 Vars deleted.
782fbf2a
CY
4468 (follow-auto): Use a :set function.
4469 (follow-mode): Rewritten. Don't advise process filters.
4470 (follow-switch-to-current-buffer-all, follow-scroll-up)
4471 (follow-scroll-down): Assume follow-mode is bound.
4472 (follow-comint-scroll-to-bottom)
4473 (follow-align-compilation-windows): New functions.
4474 (follow--window-sorter): New function.
4475 (follow-all-followers): Use it to explicitly sort windows by their
4476 positions; don't make assumptions about next-window order.
4477 (follow-windows-start-end, follow-delete-other-windows-and-split)
4478 (follow-calc-win-start): Doc fix.
4479 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4480 vertical-motion unnecessarily.
4481 (follow-adjust-window): New function.
4482 (follow-post-command-hook): Use it.
4483 (follow-call-set-process-filter, follow-call-process-filter)
4484 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4485 (follow-stop-intercept-process-output, follow-generic-filter):
4486 Functions deleted.
4487 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4488 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4489 New functions, replacing advice on scroll-bar-* commands.
87233a14 4490 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4491
4492 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4493 (comint-postoutput-scroll-to-bottom): Use it.
4494 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4495
290af740
GM
44962012-05-01 Glenn Morris <rgm@gnu.org>
4497
4498 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4499 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4500 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4501 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4502 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4503 Remove no-byte-compile setting.
4504
6eac8dc9
SM
45052012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4508 all-completions code to not return a number in the last cdr.
4509
9cc7819c
LL
45102012-04-30 Leo Liu <sdl.web@gmail.com>
4511
4512 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4513 read-only error.
4514
c93b886f
CY
45152012-04-29 Chong Yidong <cyd@gnu.org>
4516
4517 * follow.el (follow-calc-win-end): Rewrite to handle partial
4518 screen lines correctly (Bug#8390).
4519 (follow-avoid-tail-recenter): Minor cleanup.
4520
8b6c19f4
SM
45212012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4522
4523 Avoid the obsolete `assoc' package.
4524 * speedbar.el (speedbar-refresh): Avoid adelete.
4525 (speedbar-file-lists): Simplify and avoid aput.
4526 * man.el (Man--sections, Man--refpages): New vars, replacing
4527 Man-sections-alist and Man-refpages-alist.
4528 (Man-build-section-alist, Man-build-references-alist):
4529 Use them; avoid aput.
4530 (Man--last-section, Man--last-refpage): New vars.
4531 (Man-follow-manual-reference): Use them.
4532 Use the `default' arg of completing-read.
4533 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4534
c5bb7569
CY
45352012-04-27 Chong Yidong <cyd@gnu.org>
4536
d1d2e2e8
CY
4537 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4538
15cd8efd
CY
4539 * startup.el (x-apply-session-resources): New function.
4540
4541 * term/ns-win.el (ns-initialize-window-system):
4542 * term/w32-win.el (w32-initialize-window-system):
4543 * term/x-win.el (x-initialize-window-system): Use it to properly
4544 set menu-bar-mode and other vars from X resources, even if the
4545 initial frame is not a window-system frame (Bug#2299).
4546
c5bb7569
CY
4547 * subr.el (read-key): Avoid running filter function when setting
4548 up temporary tool bar entries (Bug#9922).
4549
a8e7d6d7 45502012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4551
4552 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4553 (Bug#11344)
4554
a8e7d6d7 45552012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4556
4557 * select.el (xselect--encode-string): New function, split from
4558 xselect-convert-to-string.
4559 (xselect-convert-to-string): Use it.
4560 (xselect-convert-to-filename, xselect-convert-to-os)
4561 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4562 returned strings are properly encoded (Bug#11315).
4563
a8e7d6d7 45642012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4565
4566 * simple.el (delete-active-region): Move to killing custom group.
4567
a8e7d6d7 45682012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4569
4570 * progmodes/which-func.el (which-func-current): Quote %
4571 characters for mode-line processing.
4572
578c1d4b 45732012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4574
4575 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4576 reaching eob (Bug#11286).
4577
a8e7d6d7 45782012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4579
4580 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4581 (gdb): Make it buffer-local and init to zero.
4582 (gdb-control-commands-regexp): New variable.
4583 (gdb-send): Don't wrap in "-interpreter-exec console" if
4584 gdb-control-level is positive. Increment gdb-control-level
4585 whenever the command matches gdb-control-commands-regexp, and
4586 decrement it each time the command is "end". (Bug#11279)
4587
a8e7d6d7 45882012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4589
4590 * window.el (adjust-window-trailing-edge, enlarge-window)
4591 (shrink-window, window-resize):
4592 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4593 windows (Bug#11276).
4594
b3608390
CY
45952012-04-27 Chong Yidong <cyd@gnu.org>
4596
4597 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4598 fix "missing prefix" warning. All callers changed.
b3608390 4599
797e6e88
SM
46002012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4601
4602 * emacs-lisp/assoc.el: Move to obsolete/.
4603
e95a67dc
SM
46042012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4605
657c21e4 4606 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4607
4608 * term/ns-win.el (ns-define-service):
4609 * progmodes/pascal.el (pascal-goto-defun):
4610 * progmodes/js.el (js--read-tab):
4611 * progmodes/etags.el (tags-lazy-completion-table):
4612 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4613 * emacs-lisp/ewoc.el (ewoc--wrap):
4614 * emacs-lisp/assoc.el (aput, adelete, amake):
4615 * doc-view.el (doc-view-convert-current-doc):
4616 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4617
cb3e7ae0
CY
46182012-04-26 Chong Yidong <cyd@gnu.org>
4619
dce04f7f
CY
4620 * image.el (image-type-from-buffer): Only return supported image
4621 type (Bug#9045).
4622
cb3e7ae0
CY
4623 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4624 value, for symmetry with diff-end-of-hunk.
4625 (diff-split-hunk, diff-find-source-location)
4626 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4627 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4628 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4629 compute the relevant hunk or file properly (Bug#6005).
4630 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4631
0d42eb3e
SM
46322012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4633
4634 * vc/vc-mtn.el:
4635 * vc/vc-hg.el:
4636 * vc/vc-git.el:
4637 * vc/vc-dir.el:
4638 * vc/vc-cvs.el:
4639 * vc/vc-bzr.el:
4640 * vc/vc-arch.el:
4641 * vc/vc.el: Replace lexical-let by lexical-binding.
4642 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4643 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4644 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4645
f08ae1c9
CY
46462012-04-26 Chong Yidong <cyd@gnu.org>
4647
8b71081d
CY
4648 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4649 (diff-mode-shared-map): Bind it to / and [remap undo].
4650
f08ae1c9
CY
4651 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4652 (ediff-window-setup-function): Use it as the default, to set up
4653 windows based on whether the current frame is graphical (Bug#2138).
4654 (ediff-choose-window-setup-function-automatically): Make obsolete.
4655
4656 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4657
ef24141c
SM
46582012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4659
cc356a5d
SM
4660 * ffap.el: Remove old code for obsolete package.
4661 (ffap-complete-as-file-p): Remove.
4662
b4ff4f1f
SM
4663 Use completion-table-with-quoting for comint and pcomplete.
4664 * comint.el (comint--unquote&requote-argument)
4665 (comint--unquote-argument, comint--requote-argument): New functions.
4666 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4667 (comint-quote-filename): Use regexp-opt-charset.
4668 (comint--common-suffix, comint--common-quoted-suffix)
4669 (comint--table-subvert): Remove.
4670 (comint-unquote-function, comint-requote-function): New vars.
4671 (comint--complete-file-name-data): Use them with
4672 completion-table-with-quoting.
4673 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4674 * pcomplete.el (pcomplete-arg-quote-list)
4675 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4676 (pcomplete-unquote-argument-function): Default to non-nil.
4677 (pcomplete-unquote-argument): Simplify.
4678 (pcomplete--common-quoted-suffix): Remove.
4679 (pcomplete-requote-argument-function): New var.
4680 (pcomplete--common-suffix): New function.
4681 (pcomplete-completions-at-point): Use completion-table-with-quoting
4682 and completion-table-subvert.
4683
79c4eeb4
SM
4684 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4685 (minibuffer--double-dollars): Preserve properties.
4686 (completion--sifn-requote): New function.
4687 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4688
ef24141c
SM
4689 * minibuffer.el: Add support for completion of quoted/escaped data.
4690 (completion-table-with-quoting, completion-table-subvert): New funs.
4691 (completion--twq-try, completion--twq-all): New functions.
4692 (completion--nth-completion): New function.
4693 (completion-try-completion, completion-all-completions): Use it.
4694
784e7d6e
LL
46952012-04-25 Leo Liu <sdl.web@gmail.com>
4696
dd2ac746
SM
4697 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4698 Use compilation-message if available to find real filename.
784e7d6e 4699
07875ee7
CY
47002012-04-25 Chong Yidong <cyd@gnu.org>
4701
4702 * vc/diff-mode.el (diff-setup-whitespace): New function.
4703 (diff-mode): Use it.
4704
4705 * vc/diff.el (diff-sentinel):
4706 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4707 Whitespace mode variables based on diff style (Bug#8612).
4708
5055880d
LL
47092012-04-25 Leo Liu <sdl.web@gmail.com>
4710
daf75653
LL
4711 * progmodes/python.el (python-send-region): Add suffix .py to the
4712 temp file.
4713
5055880d
LL
4714 * files.el (auto-mode-alist): Use javascript-mode instead.
4715
db9b177b
AH
47162012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4717
ef24141c 4718 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4719
090bd7cb 4720 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4721 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4722 references, see Bug#9.
ef24141c 4723 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4724 when receiving a fault reply.
ef24141c 4725 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4726
090bd7cb 4727 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4728 (soap-inspect-simple-type): New function.
db9b177b 4729
090bd7cb 4730 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4731 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4732 (soap-decode-basic-type, soap-encode-basic-type):
4733 support unsignedInt and double basic types.
db9b177b 4734 (soap-resolve-references-for-simple-type)
ef24141c
SM
4735 (soap-parse-simple-type, soap-encode-simple-type): New function.
4736 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4737
090bd7cb 4738 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4739 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4740 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4741 the local name of "soapenc:Array".
4742 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4743 decoding integer, byte and anyURI xsd types.
4744
1fc6097b
CY
47452012-04-25 Chong Yidong <cyd@gnu.org>
4746
4747 * cus-edit.el (custom-buffer-create-internal): Update header text.
4748
afc6df87
EZ
47492012-04-25 Eli Zaretskii <eliz@gnu.org>
4750
4751 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4752 settings on 'system-type', not on 'window-system'. On MS-Windows,
4753 set interactive-mode on in GDB.
4754
dfbd787f
SM
47552012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4758 (ruby-syntax-propertize-regexp): Remove.
4759 (ruby-syntax-propertize-function): Split regexp into chunks.
4760 Match following code directly.
4761
85222d44
DG
47622012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4763
51a8ea2a
DG
4764 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4765 (ruby-syntax-propertize-regexp): New function.
4766 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4767 by a special keyword.
4768
85222d44
DG
4769 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4770 (ruby-syntax-general-delimiters-goto-beg)
4771 (ruby-syntax-propertize-general-delimiters): New functions.
4772 (ruby-syntax-propertize-function): Use them to handle GDL.
4773 (ruby-font-lock-keywords): Move old handling of GDL...
4774 (ruby-font-lock-syntactic-keywords): .. to here.
4775 (ruby-calculate-indent): Adjust indentation for GDL.
4776
b613912b
MA
47772012-04-24 Michael Albinus <michael.albinus@gmx.de>
4778
b5380639
MA
4779 * notifications.el (top): Remove unneeded declarations.
4780 (notifications-specification-version): Change to "1.2".
e43042fe 4781 (notifications-interface, notifications-notify-method)
b613912b
MA
4782 (notifications-close-notification-method): Fix docstring.
4783 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4784 (notifications-notify): Add :action-items, :resident and
4785 :transient hints. Change "image_data" to "image-data" and
4786 "image_path" to "image-path".
b613912b
MA
4787 (notifications-get-capabilities): New defun.
4788
257440aa
LL
47892012-04-24 Leo Liu <sdl.web@gmail.com>
4790
4791 * progmodes/python.el: Move hideshow setup to the end.
4792
b1bac16e
MR
47932012-04-24 Martin Rudalics <rudalics@gmx.at>
4794
4795 * window.el (handle-select-window): Clear echo area since this is
4796 no more done by read_char (Bug#11304).
4797
d81bd059
SM
47982012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4799
4800 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4801 and `/ M' to filter-derived-mode.
4802 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4803 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4804 (ibuffer-mark-by-mode): Use default rather than initial-input.
4805 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4806
c4cf6d91
IA
48072012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4808
4809 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4810 (ibuffer-filter-by-derived-mode): New filter.
4811 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4812
7511ded8
CY
48132012-04-23 Andreas Politz <politza@fh-trier.de>
4814
4815 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4816
775c916b
CY
48172012-04-23 Chong Yidong <cyd@gnu.org>
4818
4819 * cus-edit.el (customize-apropos, customize-apropos-options):
4820 Disable matching of non-option variables (Bug#11176).
4821 (customize-option, customize-option-other-window)
4822 (customize-changed-options): Doc fix.
4823 (customize-apropos-options, customize-apropos-faces)
4824 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4825
4826 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4827 Fix word list splitting (Bug#11132).
46c71e23
CY
4828 (apropos-symbol, apropos-keybinding, apropos-label)
4829 (apropos-property, apropos-function-button)
4830 (apropos-variable-button, apropos-misc-button): New faces.
4831 (apropos-symbol-face, apropos-keybinding-face)
4832 (apropos-label-face, apropos-property-face, apropos-match-face):
4833 Variables removed (Bug#8396).
4834 (apropos-library-button, apropos-format-plist, apropos-print)
4835 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4836
2df41f9c
MA
48372012-04-23 Michael Albinus <michael.albinus@gmx.de>
4838
4839 * net/xesam.el (xesam-mode-map): Use let-bound map in
4840 initialization. (Bug#11292)
4841
da00640a
AM
48422012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4843
4844 Preserve ispell session localwords when switching back to
4845 original buffer.
4846
090bd7cb
JB
4847 * textmodes/ispell.el (ispell-buffer-session-localwords):
4848 New buffer-local variable to hold buffer session localwords.
ed9265fc 4849 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4850 localwords.
4851 (ispell-command-loop, ispell-change-dictionary)
4852 (ispell-buffer-local-words): Preserve session localwords when
4853 needed.
4854
090bd7cb
JB
4855 * textmodes/flyspell.el (flyspell-process-localwords)
4856 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4857
f621ccf5
AM
48582012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4859
090bd7cb
JB
4860 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4861 using obsolete `translation-table-for-input'.
ef24141c
SM
4862 (ispell-word, ispell-process-line, ispell-complete-word):
4863 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4864
c2d1019e
CY
48652012-04-22 Chong Yidong <cyd@gnu.org>
4866
4867 * cus-edit.el (custom-variable-menu)
4868 (custom-variable-reset-saved, custom-face-menu)
4869 (custom-face-reset-saved): If there is no saved value, make the
4870 "reset-saved" operation bring back the default (Bug#9509).
4871 (custom-face-state): Properly detect themed faces.
4872
eeddc531
CY
4873 * faces.el (face-spec-set): Stop supporting deprecated form of
4874 third arg.
4875
dcbf5805
MA
48762012-04-22 Michael Albinus <michael.albinus@gmx.de>
4877
4878 Move functions from C to Lisp. Make non-blocking method calls
4879 the default. Implement further D-Bus standard interfaces.
4880
ef24141c
SM
4881 * net/dbus.el (dbus-message-internal): Declare function.
4882 Remove unneeded function declarations.
dcbf5805
MA
4883 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4884 (dbus-message-type-method-return, dbus-message-type-error)
4885 (dbus-message-type-signal): Declare variables. Remove local
4886 definitions.
4887 (dbus-interface-dbus, dbus-interface-peer)
4888 (dbus-interface-introspectable, dbus-interface-properties)
4889 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4890 Adapt docstring.
4891 (dbus-interface-objectmanager): New defconst.
4892 (dbus-call-method, dbus-call-method-asynchronously)
4893 (dbus-send-signal, dbus-method-return-internal)
4894 (dbus-method-error-internal, dbus-register-service)
4895 (dbus-register-signal, dbus-register-method): New defuns, moved
4896 from dbusbind.c
4897 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4898 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4899 New defuns.
dcbf5805
MA
4900 (dbus-call-method-non-blocking): Make it an obsolete function.
4901 (dbus-unregister-object, dbus-unregister-service)
4902 (dbus-handle-event, dbus-register-property)
4903 (dbus-property-handler): Obey the new structure of
4904 `bus-registered-objects'.
4905 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4906 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4907 Use `dbus-call-method'.
4908
cf20dee0
CY
49092012-04-22 Chong Yidong <cyd@gnu.org>
4910
4911 * cus-edit.el (custom-commands, custom-reset-menu)
4912 (Custom-reset-standard): Tweak labels.
4913 (custom-reset-button-menu): Change default to t.
4914 (custom-buffer-create-internal): For the custom-reset-button-menu
4915 case, put the revert button first.
4916 (custom-group-subtitle): New face.
4917 (custom-group-value-create): Align docstring to a specific column.
4918
4919 * wid-edit.el (widget-documentation-link-add): Don't handle
4920 indentation in this function.
4921 (widget-documentation-string-indent-to): New function.
4922 (widget-documentation-string-value-create): Use it.
4923
4924 * autorevert.el (auto-revert):
4925 * epg-config.el (epg):
4926 * ibuffer.el (ibuffer):
4927 * mpc.el (mpc):
4928 * ses.el (ses):
4929 * eshell/eshell.el (eshell):
4930 * net/ange-ftp.el (ange-ftp):
4931 * progmodes/ebnf2ps.el (postscript):
4932 * progmodes/flymake.el (flymake):
4933 * progmodes/prolog.el (prolog):
4934 * progmodes/verilog-mode.el (verilog-mode):
4935 * progmodes/which-func.el (which-func):
4936 * term/xterm.el (xterm):
4937 * textmodes/picture.el (picture):
4938 * textmodes/tildify.el (tildify):
4939 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4940 customization buffers.
4941
583e23bd
AM
49422012-04-22 Alan Mackenzie <acm@muc.de>
4943
4944 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4945 Adding a ) can hide the resulting (..) from searches. Fix it.
4946 Bound the backward search to the position of the existing (.
4947
7dd51bf1
JB
49482012-04-21 Juanma Barranquero <lekktu@gmail.com>
4949
4950 * progmodes/verilog-mode.el (verilog-mode): Check whether
4951 which-func-modes is t before adding verilog-mode.
4952 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4953
d64a438f
LL
49542012-04-21 Leo Liu <sdl.web@gmail.com>
4955
7dd51bf1 4956 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4957
081e8d65
MV
49582012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4959
4960 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4961 filling of the last column of a table (Bug#5635).
4962 (woman-find-next-control-line): New arg, specifying an additional
4963 regexp component for the control line.
4964 (woman2-roff-buffer): Use it.
4965 (woman-break-table): New function.
4966 (woman2-TS): Use it.
4967
49682012-04-21 Chong Yidong <cyd@gnu.org>
4969
4970 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4971 (woman-horizontal-escapes, woman-negative-vertical-space)
4972 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4973 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4974
ed571ccb
SM
49752012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4976
4977 * minibuffer.el (completion-file-name-table): Complete user names.
4978
39773899
LL
49792012-04-20 Leo Liu <sdl.web@gmail.com>
4980
4981 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4982 and pcase-let*.
4983
de6ff46d
CY
49842012-04-20 Chong Yidong <cyd@gnu.org>
4985
4986 * server.el (server-execute): Respect initial-buffer-choice if it
4987 is a string and there are no files to open (Bug#2825).
4988 (server-create-window-system-frame, server-create-tty-frame):
4989 Don't switch buffers here.
2d0e8e61
CY
4990 (server-process-filter): Only try to open a window system frame if
4991 compiled with graphical support (Bug#8314).
de6ff46d 4992
54071013
DN
49932012-04-20 Dan Nicolaescu <dann@gnu.org>
4994
4995 * battery.el (battery-echo-area-format): Display remaining time
4996 for sysfs backend too (Bug#11269).
4997 (battery-linux-sysfs): Fix conditional for the charge.
4998
f30d612a
CY
49992012-04-20 Chong Yidong <cyd@gnu.org>
5000
c07a4c0b 5001 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
5002 (gdb-inferior-io--init-proc): New function.
5003 (gdb-init-1): Use it.
5004 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
5005 responsible for allocating a new pty and hooking it to gdb when
5006 the old pty gets an EIO due to process exit.
5007 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
5008 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
5009 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
5010
2116e93c
EZ
50112012-04-20 Eli Zaretskii <eliz@gnu.org>
5012
5013 * window.el (window-min-size, window-sizable, window-min-delta)
5014 (window-max-delta, window--resizable, window-resizable)
5015 (window-total-size, window-full-height-p, window-full-width-p)
5016 (window-in-direction, window--resize-mini-window, window-resize)
5017 (window--resize-child-windows-normal)
5018 (window--resize-child-windows, window--resize-siblings)
5019 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 5020 (enlarge-window, shrink-window): Doc fixes.
2116e93c 5021
c07a4c0b 50222012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 5023
ef24141c
SM
5024 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
5025 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
5026 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
5027 pty process (Bug#11273).
5028 (gdb-update): New arg to suppress talking to the gdb process.
5029 (gdb-done-or-error): Use it.
5030 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
5031 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
5032 sentinel not being called.
5033
5034 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
5035
d02766ab
CY
5036 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
5037
c07a4c0b 50382012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
5039
5040 * net/network-stream.el (open-network-stream): Doc fix.
5041
c07a4c0b 50422012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5043
5044 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5045
c07a4c0b 50462012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5047
5048 Ensure searching for keywords is case sensitive.
5049
5050 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5051 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5052 (c-defun-name, c-mark-function, c-cpp-define-name)
5053 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5054 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5055
ef24141c
SM
5056 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5057 Bind case-fold-search to nil.
f0f6bc35 5058
c07a4c0b 50592012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5060
5061 * mail/sendmail.el (mail-bury): Call return action with the right
5062 Rmail buffer (Bug#11242).
5063
9a864fa2
CY
5064 * server.el (server-process-filter): Handle corner case where both
5065 tty and nowait options are present (Bug#11102).
5066
539aa513
EZ
50672012-04-20 Eli Zaretskii <eliz@gnu.org>
5068
5069 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5070 (top level): Put into the executable the ident-style '$Id:' tag on
5071 windows-nt as well.
539aa513 5072
cfc7d5da
SM
50732012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5074
5075 * electric.el (electric-indent-post-self-insert-function): Check that
5076 electric-indent-mode is enabled in current buffer.
5077
5b01685c
JB
50782012-04-19 Juanma Barranquero <lekktu@gmail.com>
5079
5080 * imenu.el (imenu-progress-message): Restore; it is "used" in
5081 erc/erc-imenu.el and net/snmp-mode.el.
5082
4d6769e1
JB
50832012-04-19 Juanma Barranquero <lekktu@gmail.com>
5084
5085 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5086 (mouse-avoidance-nudge-mouse): Remove unused binding.
5087
5088 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5089
5090 * descr-text.el (describe-char):
5091 * progmodes/python.el (python-describe-symbol):
5092 Don't call `toggle-read-only', set `buffer-read-only'.
5093
5094 * imenu.el (imenu-default-goto-function): Mark unused args.
5095 (imenu-progress-message): Remove obsolete macro; all callers changed.
5096
5097 * subr.el (keymap-canonicalize): Remove unused binding.
5098 (read-passwd): Mark unused arg.
5099
5100 * tutorial.el (tutorial--display-changes): Remove unused binding.
5101 (tutorial--save-tutorial-to): Remove unused variable.
5102
5103 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5104 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5105 (package-generate-autoloads, package-menu--generate)
5106 (package-menu--find-upgrades): Remove unused bindings.
5107
5108 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5109 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5110 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5111 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5112 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5113 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5114 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5115 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5116 (cua-delete-char-rectangle): Mark unused args.
5117 (cua-align-rectangle): Remove unused binding.
5118
5119 * mail/rmail.el (compilation--message->loc)
5120 (epa--find-coding-system-for-mime-charset): Declare.
5121
5122 * net/dbus.el (dbus-register-service): Declare.
5123 (dbus-name-owner-changed-handler): Remove unused binding.
5124
5125 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5126 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5127 (nxml-scan-backward-within): Mark unused arg.
5128 (nxml-dynamic-markup-word): Remove unused binding.
5129
5130 * mouse.el (mouse-menu-major-mode-map):
5131 * emacs-lisp/authors.el (authors-scan-change-log)
5132 (authors-add-to-author-list):
5133 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5134 * emacs-lisp/smie.el (smie-auto-fill):
5135 * mail/sendmail.el (mail-bury):
5136 * mail/unrmail.el (unrmail):
5137 * net/tls.el (open-tls-stream):
5138 * textmodes/picture.el (picture-mouse-set-point):
5139 Remove unused bindings.
5140
8c8fc5df
MA
51412012-04-19 Michael Albinus <michael.albinus@gmx.de>
5142
5143 * net/tramp.el (tramp-action-password): Let-bind
5144 `enable-recursive-minibuffers' to t.
5145
a77b0ac9
SS
51462012-04-18 Sam Steingold <sds@gnu.org>
5147
5148 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5149 instead of 'string to accommodate values like [f11].
5150 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5151 * progmodes/gdb-mi.el: Likewise.
5152
12a106a9
LL
51532012-04-18 Leo Liu <sdl.web@gmail.com>
5154
5155 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5156 current buffer.
5157 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5158 LOCAL is nil.
5159
bc6494ef
CY
51602012-04-18 Chong Yidong <cyd@gnu.org>
5161
5162 * simple.el (line-move): Use forward-line if in batch mode
5163 (Bug#11053).
5164
c09c46b2
CS
51652012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5166
5167 * files.el (after-find-file): Do not try to add a final newline if
5168 the buffer is read-only (Bug#11156).
5169
5f6530ea
RS
51702012-04-17 Richard Stallman <rms@gnu.org>
5171
5172 * mail/rmail.el (rmail-start-mail):
5173 Pass (rmail-mail-return...) for the return-action.
5174 Pass (rmail-yank-current-message...) for the yank-action.
5175 (rmail-yank-current-message): New function.
5176 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5177 (rmail-reply): Likewise.
5178 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5179
5180 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5181 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5182 buffer, not newbuf.
5183
197b6f3c
JB
51842012-04-17 Juanma Barranquero <lekktu@gmail.com>
5185
5186 * server.el (server-ensure-safe-dir): Simplify.
5187
2311d8e5 51882012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5189
2311d8e5
GM
5190 * emacs-lisp/smie.el: Provide smarter auto-filling.
5191 (smie-auto-fill): New function.
5192 (smie-setup): Use it.
98fb480e 5193
2311d8e5
GM
5194 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5195
51962012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5197
5198 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5199 (comment-indent): Use it.
5200
2311d8e5 52012012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5202
5203 * ses.el: The overall change is to add cell renaming, that is
5204 setting fancy names for cell symbols other than name matching
5205 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5206 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5207 (ses-create-cell-variable): New defun.
2311d8e5 5208 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5209 (ses-relocate-formula): Relocate formulas only for cells the
5210 symbols of which are not renamed, i.e. symbols whose names do not
5211 match regexp "\\`[A-Z]+[0-9]+\\'".
5212 (ses-relocate-all): Relocate values only for cells the symbols of
5213 which are not renamed.
5214 (ses-load): Create cells variables as the (ses-cell ...) are read,
5215 in order to check row col consistency with cell symbol name only
5216 for cells that are not renamed.
5217 (ses-replace-name-in-formula): New defun.
5218 (ses-rename-cell): New defun.
4bdf2ad2 5219
fc72b15c
PO
52202012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5221
5222 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5223 New option (bug#11118).
5224 (perl-calculate-indent): Respect it.
5225
12e10e61
GM
52262012-04-17 Glenn Morris <rgm@gnu.org>
5227
5228 * dired-aux.el (dired-mark-read-string): Doc fix.
5229
30009afd
DA
52302012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5231
5232 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5233 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5234
41f03f4d
GM
52352012-04-17 Glenn Morris <rgm@gnu.org>
5236
5237 * mouse.el (mouse-drag-track):
5238 * speedbar.el (speedbar-frame-mode):
5239 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5240
f45f90f3
LL
52412012-04-16 Leo Liu <sdl.web@gmail.com>
5242
5243 * progmodes/python.el: Trivial cleanup.
5244
94ee8db5
GM
52452012-04-16 Glenn Morris <rgm@gnu.org>
5246
121b8917
GM
5247 * vc/vc.el (vc-string-prefix-p):
5248 * vc/pcvs-util.el (cvs-string-prefix-p):
5249 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5250 * mpc.el (mpc-string-prefix-p):
5251 Make all of these into obsolete aliases for string-prefix-p.
5252 Update callers.
5253 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5254
1197ecfa
GM
5255 * textmodes/two-column.el: Move custom options to the start.
5256 (frame-width): Remove compat definition.
5257 (2C-associate-buffer, 2C-dissociate):
5258 Use with-current-buffer rather than save-excursion.
5259 (2C-dissociate): Force a mode-line update.
5260 (2C-autoscroll): Use ignore-errors.
5261
099e7202
GM
5262 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5263 Autoload trivia.
5264
bf350d6a
GM
5265 * emacs-lisp/cl-extra.el (*random-state*):
5266 Remove unnecessary declaration.
5267
0e829eab
GM
5268 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5269
e3ad7552
GM
5270 * play/cookie1.el (cookie-snarf):
5271 Give an explicit error if input file cannot be read.
5272
68892d27
GM
5273 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5274
20f0c46d
GM
5275 * progmodes/perl-mode.el (c-macro-expand):
5276 Remove unnecessary autoload (it is in loaddefs.el).
5277
5a0978ce
GM
5278 * textmodes/picture.el (picture-desired-column)
5279 (picture-update-desired-column): Convert comments to doc-strings.
5280 (picture-substitute): Remove function.
5281 (picture-mode-map): Initialize in the defvar.
5282
6b955486
GM
5283 * woman.el: Remove eval-after-load for tar-mode.
5284 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5285 (woman-tar-extract-file): Autoload it.
5286
94ee8db5
GM
5287 * frame.el (automatic-hscrolling): Make this alias obsolete.
5288
177eca34
AM
52892012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5290
090bd7cb 5291 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5292 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5293 (ispell-dictionary-base-alist): Revert to original XEmacs
5294 friendly version for default. [:alpha:] will be added in
090bd7cb 5295 `ispell-set-spellchecker-params' if needed.
177eca34 5296
c505aaeb
CY
52972012-04-16 Chong Yidong <cyd@gnu.org>
5298
b19dd9d1 5299 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5300 (imagemagick-register-types): Use it.
5301 (imagemagick-types-inhibit): Add :set function. Allow new value
5302 of t to inhibit all types.
5303
5304 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5305 so we can preload it.
5306
5307 * loadup.el (fboundp): Preload regexp-opt, needed by
5308 imagemagick-register-types.
5309
60efac0f
CY
53102012-04-15 Chong Yidong <cyd@gnu.org>
5311
5312 * frame.el (scrolling): Remove nearly unused customization group.
5313
5314 * scroll-all.el (scroll-all-mode): Move to windows group.
5315
5dd1713e
CY
53162012-04-15 Chong Yidong <cyd@gnu.org>
5317
5318 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5319
e6fd457e
CY
53202012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5321
5322 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5323 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5324
e153c136
GM
53252012-04-15 Glenn Morris <rgm@gnu.org>
5326
5327 * simple.el (process-file-side-effects): Doc fix.
5328
e6fd457e 53292012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5330
5331 * international/mule-cmds.el (set-language-environment): Doc fix.
5332
3603c3b1
JB
53332012-04-14 Juanma Barranquero <lekktu@gmail.com>
5334
5335 * server.el (server-auth-key, server-generate-key): Doc fixes.
5336 (server-get-auth-key): Doc fix. Use `string-match-p'.
5337 (server-start): Reflow docstring.
5338
e6de100c
LI
53392012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5340
5341 * server.el (server-generate-key): `called-interactively-p'
5342 requires a parameter.
5343
29734c21
MN
53442012-04-14 Michal Nazarewicz <mina86@mina86.com>
5345
5346 * server.el (server-auth-key): New variable.
75f1671a 5347 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5348 (server-start): Use the new variable and functions to allow
5349 setting a permanent server key (bug#9423).
5350
d65c9521
LL
53512012-04-14 Leo Liu <sdl.web@gmail.com>
5352
5353 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5354
5ae255c7
PE
53552012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5356
5357 Spelling fixes.
5358 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5359 Emacs uses American spelling.
5360
d5e6342e
JB
53612012-04-14 Juanma Barranquero <lekktu@gmail.com>
5362
5363 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5364 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5365 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5366 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5367
ab036cd7
SM
53682012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5369
5370 * progmodes/which-func.el (which-func-modes): Change default.
5371
35dc09a1 53722012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5373
5374 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5375 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5376
35dc09a1 53772012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5378
5379 * custom.el (custom-theme-set-variables): Doc fix.
5380
35dc09a1 53812012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5382
5383 * international/mule.el (set-auto-coding-for-load): Doc fix.
5384
35dc09a1 53852012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5386
35dc09a1
GM
5387 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5388 imenu work again for Objective C Mode. Correct the *-index values,
5389 these having been disturbed by a previous change in 2011-08.
57f845ee 5390
0de3da9f
AM
5391 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5392 Correct two search limits.
5393
35dc09a1 53942012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5395
5396 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5397
35dc09a1 53982012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5399
5400 * international/characters.el: Fix sorting.
5401
35dc09a1 54022012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5403
5404 * international/characters.el: Add more missing Latin case pairs.
5405
35dc09a1 54062012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5407
5408 * files.el (dir-locals-set-class-variables): Doc fix.
5409
35dc09a1 54102012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5411
3f1b5bf8
EZ
5412 * international/characters.el: Add set-case-syntax-pair call for
5413 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5414 counterpart. (Bug#11209)
5415
9f847f41
EZ
5416 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5417
35dc09a1 54182012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5419
5420 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5421
35dc09a1 54222012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5423
35dc09a1
GM
5424 * textmodes/ispell.el (ispell-dictionary-base-alist):
5425 Add data for Hebrew.
e2627d21 5426
35dc09a1 54272012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5428
35dc09a1
GM
5429 * net/rcirc.el (rcirc-cmd-quit):
5430 Revert 2012-03-18 change (Bug#11192).
5c14e333 5431
35dc09a1 54322012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5433
5434 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5435
35dc09a1 54362012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5437
4517fe3a
SM
5438 * minibuffer.el (completion-in-region-mode-map):
5439 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5440
b472a594
VD
54412012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5442
5443 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5444
09b95ce3
MY
54452012-04-13 Masatake YAMATO <yamato@redhat.com>
5446
5447 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5448 to allow `C-M-f' and `C-M-b' to move to the nearest path
5449 separator (bug#9511).
5450
4b63a9ca
LI
54512012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5452
5453 * avoid.el: Require cl when compiling. And also move the
5454 `provide' to the end.
5455
7b55b8bf
TV
54562012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5457
5458 * avoid.el (mouse-avoidance-banish-position): New variable.
5459 (mouse-avoidance-banish-destination): Use it (bug#10165).
5460
adedaa1f
LL
54612012-04-13 Leo Liu <sdl.web@gmail.com>
5462
5463 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5464
70e74021
KB
54652012-04-13 Ken Brown <kbrown@cornell.edu>
5466
5467 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5468 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5469 (browse-url-filename-alist): For the same reason, don't modify
5470 file:// URLs on Cygwin.
5471
e75e89ba
SM
54722012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5473
5474 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5475 the region on shift if the binding is already shifted (bug#11221).
5476
82f289a4
GM
54772012-04-12 Glenn Morris <rgm@gnu.org>
5478
5479 * mail/mailpost.el: Move to obsolete/.
5480
d333dc4c
DA
54812012-04-12 Drew Adams <drew.adams@oracle.com>
5482
5483 * imenu.el (imenu--generic-function): Ignore invisible definitions
5484 (bug#10123).
5485
0d15b5ba
VD
54862012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5487
5488 * hexl.el (hexl-bits): New variable.
5489 (hexl-options): Mention the variable in the doc string.
75f1671a 5490 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5491 (hexl-mode): Mention the new variable.
75f1671a
JB
5492 (hexl-mode, hexl-current-address, hexl-current-address):
5493 Use the displen.
0d15b5ba
VD
5494 (hexl-ascii-start-column): New function.
5495 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5496 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5497
64a440db
AM
54982012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5499
5500 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5501 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5502 the encoding, as expected by hunspell.
5503
6decb6c2
SM
55042012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5505
5506 * battery.el (battery--linux-sysfs-regexp): New const.
5507 (battery-status-function): Use it. Remove yeeloong special case.
5508 (battery-yeeloong-sysfs): Remove.
5509 (battery-echo-area-format): Remove yeeloong special case.
5510
088be6fb
SM
55112012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5512
6622e416
SM
5513 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5514 Reported by Noah Friedman.
5515
088be6fb
SM
5516 * subr.el (read-passwd): Use read-string.
5517
b49f886e
LMI
55182012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5519
5520 * vcursor.el (vcursor-move): Increase the priority of the overlay
5521 (bug#9663).
5522
a63067fc
DD
55232012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5524
5525 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5526 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5527
ac3cf14a
WS
55282012-04-11 William Stevenson <yhvh2000@gmail.com>
5529
5530 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5531 define-minor-mode (bug#10760).
5532
c4fc691b 55332012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5534
4d6769e1 5535 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5536 that directories matching `grep-find-ignored-files' won't be
5537 pruned (bug#10351).
5538
af23e2e5
CY
55392012-04-11 Chong Yidong <cyd@gnu.org>
5540
5541 * startup.el (command-line): Remove support for long-obsolete
5542 variable font-lock-face-attributes.
5543
ab7ce8c1
GM
55442012-04-11 Glenn Morris <rgm@gnu.org>
5545
5546 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5547
de8c03dc
SM
55482012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5549
5550 * window.el (window--state-get-1): Obey window-point-insertion-type.
5551
050cc68b
LB
55522012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5553
5554 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5555 to previous function when point is on the first character of a
75f1671a 5556 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5557
a38c310c
GM
55582012-04-11 Glenn Morris <rgm@gnu.org>
5559
effed0c2
GM
5560 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5561 not just file-errors.
5562
a38c310c
GM
5563 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5564 (vc-bzr-sha1): Use internal sha1.
5565
0221e323
SM
55662012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5567
5568 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5569
43956923
SG
55702012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5571
5572 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5573 that start in the middle of the line (bug#10496).
5574
6a8c9eaf
DN
55752012-04-10 Dan Nicolaescu <dann@gnu.org>
5576
5577 * battery.el (battery-linux-proc-acpi): Only one battery is
5578 discharged at a time, but that seems to confuse battery.el when
5579 computing `rate-type' for the battery not being discharged
5580 (bug#10332).
5581
1930bf5d
SM
55822012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5583
2a718f6f
SM
5584 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5585
599430d0
SM
5586 * international/quail.el: Use dolist and simplify.
5587 (quail-define-package, quail-update-keyboard-layout)
5588 (quail-define-rules): Use dolist.
5589 (quail-insert-kbd-layout, quail-get-translation): CSE.
5590
a2754b6c
SM
5591 * tmm.el: Use dolist, remove left over hook.
5592 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5593 Use dolist.
5594 (calendar-load-hook): Don't mess with it.
5595
1930bf5d
SM
5596 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5597 Use derived-mode-p. Run the diff asynchronously.
5598
9f67961c
LMI
55992012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5600
5601 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5602
2a8ce227
JB
56032012-04-10 Juanma Barranquero <lekktu@gmail.com>
5604
5605 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5606 (list-dynamic-libraries--loaded): New function.
5607 (list-dynamic-libraries--refresh): Use it.
5608
8f33b5f8
NW
56092012-04-10 Nathan Weizenbaum <nweiz@google.com>
5610
1930bf5d
SM
5611 * progmodes/python.el (python-fill-paragraph):
5612 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5613 disabled (bug#7018).
5614
b12f0439
L
56152012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5616
1930bf5d 5617 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5618 DOS/MS Windows for the Baltic languages. There are still plenty
5619 of texts written in this encoding/codepage (bug#6519).
b12f0439 5620
57c3bd01
GM
56212012-04-10 Glenn Morris <rgm@gnu.org>
5622
5623 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5624 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5625
6c3eab30
FA
56262012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5627
1930bf5d 5628 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5629 next-line "n" and previous-line "p" in order to make recentf more
5630 consistent with ibuffer, dired or org-mode (bug#9387).
5631
24d78a88
LMI
56322012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5633
bc72b5d9
LMI
5634 * image.el (put-image): Return the overlay created instead of the
5635 optional input string (bug#7834). Note that this may break code
5636 that is (for some reason or other) depending on `put-image'
5637 returning the string.
5638
bd2dba5a
LMI
5639 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5640
74beb59f
LMI
5641 * simple.el (zap-to-char): Allow zapping using input methods
5642 (bug#1580).
5643
24d78a88
LMI
5644 * textmodes/fill.el (fill-region): Leave point and mark where they
5645 were before filling (bug#5399).
5646
263f20cd
GM
56472012-04-09 Glenn Morris <rgm@gnu.org>
5648
5649 * version.el (emacs-bzr-get-version):
5650 Handle lightweight checkouts of local branches.
5651
58d1f797
AS
56522012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5653
263f20cd 5654 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5655
b4d3bc10
CY
56562012-04-09 Chong Yidong <cyd@gnu.org>
5657
5658 * custom.el (custom-variable-p): Return nil for non-symbol
5659 arguments instead of signaling an error.
5660 (user-variable-p): Obsolete alias for custom-variable-p.
5661
5662 * apropos.el (apropos-variable):
5663 * files-x.el (read-file-local-variable):
5664 * simple.el (set-variable):
5665 * woman.el (woman-mini-help):
5666 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5667
fd06db5d
GM
56682012-04-09 Glenn Morris <rgm@gnu.org>
5669
e5fcdb5e
GM
5670 * startup.el (normal-top-level): Don't look for leim-list.el
5671 in places where it will not be found. (Bug#910)
5672
fd06db5d
GM
5673 * international/mule-cmds.el (set-default-coding-systems):
5674 * files.el (normal-mode):
5675 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5676 This function was removed with ucs-tables.el in 2008.
5677
b39bb7e1
EZ
56782012-04-08 Eli Zaretskii <eliz@gnu.org>
5679
5680 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5681 ispell-encoding8-command to "-i", without a trailing space.
5682 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5683 separate command-line arguments, to specify the encoding, since
5684 that's how hunspell expects it.
5685
5c5b8e23
GM
56862012-04-08 Glenn Morris <rgm@gnu.org>
5687
5688 * loadup.el: Load bindings before cus-start.
5689 This reduces somewhat the number of "rogue" settings in emacs -Q.
5690
a1ed8b05
GM
56912012-04-07 Glenn Morris <rgm@gnu.org>
5692
5693 * version.el (emacs-bzr-get-version): New function.
dfae128a 5694 (emacs-bzr-version): New variable.
a1ed8b05
GM
5695 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5696 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5697
b142f158
EZ
56982012-04-07 Eli Zaretskii <eliz@gnu.org>
5699
dfae128a
GM
5700 * international/uni-bidi.el, international/uni-category.el:
5701 * international/uni-combining.el, international/uni-decimal.el:
5702 * international/uni-decomposition.el, international/uni-digit.el:
5703 * international/uni-lowercase.el, international/uni-mirrored.el:
5704 * international/uni-name.el, international/uni-numeric.el:
5705 * international/uni-titlecase.el, international/uni-uppercase.el:
5706 Update for Unicode 6.1.
b142f158 5707
9078ead6
EZ
57082012-04-07 Eli Zaretskii <eliz@gnu.org>
5709
5710 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5711
f23d2c7d
LMI
57122012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5713
5714 * window.el (shrink-window): Mention the `window-min-height'
5715 variable in the doc string.
5716
0a0a3573
BG
57172012-04-05 Bastien Guerry <bzg@altern.org>
5718
5719 * color.el (color-lighten-name): Fix typo.
5720
e5248ac9
SM
57212012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5722
5723 * server.el (server--on-display-p): New function.
5724 (server--on-display-p): Use it.
5725
b4243e22
GV
57262012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5727
5728 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5729 (bug#11145).
5730
305d9f44
SM
57312012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5732
5733 * comint.el (comint--common-quoted-suffix): Check string boundary
5734 before comparing (bug#11158).
5735 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5736
3d439cd1
CY
57372012-04-04 Chong Yidong <cyd@gnu.org>
5738
321cc491
CY
5739 * minibuffer.el (completion-extra-properties): Doc fix.
5740
3d439cd1
CY
5741 * subr.el (delayed-warnings-hook): Doc fix.
5742
2d562c0f
DU
57432012-04-04 Daiki Ueno <ueno@unixuser.org>
5744
5745 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5746 selection (Bug#11159).
5747 (epa-insert-keys): Inform that the default public key will be
5748 exported if no key is selected.
5749
4443f204
RS
57502012-04-04 Richard Stallman <rms@gnu.org>
5751
5752 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5753
529c06b6
CY
57542012-04-03 Chong Yidong <cyd@gnu.org>
5755
5756 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5757 mail-insert-file, not its obsolete alias mail-attach-file.
5758
66b907dc
MA
57592012-04-03 Michael Albinus <michael.albinus@gmx.de>
5760
5761 * notifications.el (notifications-notify): Fix docstring.
5762
c0ea195d
GM
57632012-04-02 Glenn Morris <rgm@gnu.org>
5764
5765 * emacs-lisp/authors.el (authors-aliases): Another addition.
5766
5ca64e00
MA
57672012-04-02 Michael Albinus <michael.albinus@gmx.de>
5768
5769 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5770 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5771 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5772
42ee526b
CY
57732012-04-01 Chong Yidong <cyd@gnu.org>
5774
5775 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5776 Handle root directory properly.
5777 (copy-directory): Caller changed.
5778
5779 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5780 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5781
0b021094
GM
57822012-03-31 Glenn Morris <rgm@gnu.org>
5783
40f86458
GM
5784 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5785
7019c177
GM
5786 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5787
a1daddd6
GM
5788 * calendar/calendar.el (calendar-window-list)
5789 (calendar-hide-window): Restore. (Bug#11140)
5790 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5791
0b021094
GM
5792 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5793
40311efc
TV
57942012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5795
5796 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5797 Check if file is a symlink (Bug#10489).
5798
5799 * files.el (copy-directory): Likewise.
5800
5319014e
CY
58012012-03-30 Chong Yidong <cyd@gnu.org>
5802
5803 * image.el (imagemagick-types-inhibit)
5804 (imagemagick-register-types): Doc fix.
5805
935d1290
AM
58062012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5807
090bd7cb 5808 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5809 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5810 and treats ~word as ordinary words in pipe mode.
935d1290 5811
61c6e8fd
GM
58122012-03-30 Glenn Morris <rgm@gnu.org>
5813
5814 * tutorial.el (help-with-tutorial): Ensure local variables don't
5815 happen to make the buffer read-only. (Bug#11127)
5816
81fdff00
SM
58172012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5818
5819 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5820 (perl-calculate-indent): Return `noindent' in strings.
5821
6e7a6ec0
SS
58222012-03-28 Sam Steingold <sds@gnu.org>
5823
5824 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5825 instead of the broken adhockery which does not prevent calendar
5826 buffers from being displayed at random after exit.
5827 (calendar-window-list, calendar-hide-window): Remove the broken
5828 adhockery.
5829
fee88ca0
GM
58302012-03-28 Glenn Morris <rgm@gnu.org>
5831
5832 * replace.el (query-replace-map): Doc fix.
5833
38de3354
AS
58342012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5835
5836 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5837 contents. (Bug#11109)
5838
b973155e
SM
58392012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5842 (bug#11077).
5843 (avl-tree--check, avl-tree--check-node): New funs.
5844
dcb6e7b3
MR
58452012-03-27 Martin Rudalics <rudalics@gmx.at>
5846
5847 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5848 (switch-to-prev-buffer, switch-to-next-buffer):
5849 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5850 showing a buffer already is done on the same frame.
5851
b4fa35fa
GM
58522012-03-27 Glenn Morris <rgm@gnu.org>
5853
5854 * startup.el (mail-host-address): Doc fix.
5855
f9210e18
SM
58562012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5857
5858 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5859 than 197 variables.
5860
c0bf7753
AF
58612012-03-26 Ami Fischman <ami@fischman.org>
5862
5863 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5864
33da7b16
GM
58652012-03-26 Glenn Morris <rgm@gnu.org>
5866
02243d9d
GM
5867 * files.el (save-buffers-kill-emacs): Doc fix.
5868
33da7b16
GM
5869 * startup.el (normal-top-level, command-line, command-line-1):
5870 Give them doc strings.
5871
e5a69fd0
EZ
58722012-03-25 Eli Zaretskii <eliz@gnu.org>
5873
5874 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5875 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5876
9a69676a
CY
58772012-03-25 Chong Yidong <cyd@gnu.org>
5878
4125cb8b
CY
5879 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5880 theme if it was previously enabled before (Bug#11031).
5881
dd470960
CY
5882 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5883 spec with custom-face-get-current-spec if its :shown-value is not
5884 determined yet (Bug#9337).
4125cb8b 5885 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5886
9a69676a
CY
5887 * button.el (button-at): Minor addition to docstring.
5888
6e7e90fa
SL
58892012-03-24 Simon Leinen <simon.leinen@gmail.com>
5890
5891 * vc/vc.el (vc-merge): Fix a prompt.
5892
f06e2758
CY
58932012-03-24 Chong Yidong <cyd@gnu.org>
5894
5895 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5896 point (Bug#9623).
5897
6e7e90fa
SL
5898 * button.el (button-at): Minor addition to docstring.
5899
b9d0879b
SM
59002012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5901
5902 * newcomment.el (comment-choose-indent): No space after BOL.
5903
e71cebb3
SS
59042012-03-22 Sam Steingold <sds@gnu.org>
5905
5906 * window.el (switch-to-prev-buffer): Revert last patch because the
5907 bug turned out to be an advertised feature (Elisp manual 28.14).
5908
335aff35
GM
59092012-03-22 Glenn Morris <rgm@gnu.org>
5910
5911 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5912 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5913
c676576a
LMI
59142012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5915
5916 * net/network-stream.el (network-stream-open-starttls): Make error
5917 message under Windows be less misleading.
5918
126f3d39
LW
59192012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5920
5921 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5922 understands (bug#9942).
5923
64fee311
CY
59242012-03-22 Chong Yidong <cyd@gnu.org>
5925
5926 * simple.el (end-of-visible-line): Handle return value of
5927 next-single-property-change properly (Bug#9371).
5928
a640d29a
KH
59292012-03-22 Kenichi Handa <handa@m17n.org>
5930
5931 * international/quail.el (quail-insert-kbd-layout): Fix previous
5932 change. To avoid unwanted bidi reordering, use
5933 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5934
39675016
DG
59352012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5936
5937 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5938 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5939 (ruby-beginning-of-indent): Be more careful with the difference
5940 between word-boundary and symbol boundary.
5941 (ruby-mode-syntax-table): Make : a symbol constituent.
5942
0a6934fc 59432012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5944
3d008e4f
SM
5945 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5946
0a6934fc
SM
59472012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5948
af67c9d7
SM
5949 * progmodes/etags.el (tags-completion-at-point-function):
5950 Improve last fix.
5951
1acad97c
SM
5952 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5953
e298b5da
SS
59542012-03-21 Sam Steingold <sds@gnu.org>
5955
5956 * progmodes/etags.el (tags-completion-at-point-function):
5957 Avoid the error when point is inside the pattern.
5958
91d82a70
JY
59592012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5960
5961 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5962 line (Bug#10855).
5963
69188b79
CY
59642012-03-21 Drew Adams <drew.adams@oracle.com>
5965
5966 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5967
99fc91fe
AK
59682012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5969
5970 * ido.el (ido-set-current-directory, ido-read-internal)
5971 (ido-choose-completion-string, ido-completion-help): Handle nil
5972 value of ido-completion-buffer (Bug#11008).
5973
087bbb4c
SS
59742012-03-21 Sam Steingold <sds@gnu.org>
5975
5976 * window.el (switch-to-prev-buffer): Do not switch to a visible
5977 window previous buffer, just like with the frame previous buffers.
5978
fb5b8aca
CY
59792012-03-21 Chong Yidong <cyd@gnu.org>
5980
5981 * faces.el (make-face, make-empty-face, copy-face):
5982 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5983 Doc fixes.
5984
dc9924b8
SM
59852012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5986
5987 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5988 (widget-complete): Remove broken use of it.
5989
f0bcceb9
CY
59902012-03-20 Chong Yidong <cyd@gnu.org>
5991
dc9924b8
SM
5992 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5993 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5994 characters.
5995
ee52ebf3
TH
59962012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5997
5998 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5999 to draw rectangles, not squares. (Regression introduced by revno
6000 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
6001
4c5779ab
CY
60022012-03-18 Chong Yidong <cyd@gnu.org>
6003
6004 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
6005 it is not yet defined (for temacs).
6006
15360934
LL
60072012-03-18 Leo Liu <sdl.web@gmail.com>
6008
dc9924b8 6009 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 6010
d9a8eb66
EZ
60112012-03-17 Eli Zaretskii <eliz@gnu.org>
6012
6013 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
6014 (ispell-choices-win-default-height, ispell-silently-savep)
6015 (ispell-dictionary-alist, ispell-encoding8-command)
6016 (ispell-check-version, ispell-aspell-find-dictionary)
6017 (ispell-valid-dictionary-list, ispell-words-keyword)
6018 (ispell-get-word, ispell-internal-change-dictionary)
6019 (ispell-region, ispell-skip-region-list)
6020 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
6021 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
6022 (ispell-message-text-end, ispell-message)
6023 (ispell-buffer-local-parsing): Doc fix.
6024
f02ff80d
J
60252012-03-13 Jambunathan K <kjambunathan@gmail.com>
6026
6027 * htmlfontify.el: Add support for code block fontification for ODT
6028 export (Bug #9914).
6029 (hfy-optimisations): Define new option
6030 `body-text-only'
6031 (hfy-fontify-buffer): Honor above setting.
6032 (hfy-begin-span, hfy-end-span): New routines factored out form
6033 `hfy-fontify-buffer'.
6034 (hfy-begin-span-handler, hfy-end-span-handler): New variables
6035 that permit insertion of custom tags.
6036 (hfy-fontify-buffer): Use above handlers.
6037 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
6038 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 6039 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 6040 over multiple runs. This is made possible by having the caller let
f02ff80d
J
6041 bind a special variable `hfy-user-sheet-assoc'.
6042 (htmlfontify-string): New defun.
6043 (hfy-compile-face-map): Make sure that the last char in the
6044 buffer is correctly fontified.
6045 (hfy-face-resolve-face): Whitespace only change.
6046
9ac7a13f
EZ
60472012-03-17 Eli Zaretskii <eliz@gnu.org>
6048
6049 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6050 message more clear.
6051
e2b5bdd7
LL
60522012-03-16 Leo Liu <sdl.web@gmail.com>
6053
6054 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6055
2e492df3
AM
60562012-03-16 Alan Mackenzie <acm@muc.de>
6057
6058 Further optimise the handling of large macros.
6059
6060 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6061 limit to a call of `c-literal-limits'.
6062 (c-determine-+ve-limit): New function.
dc9924b8
SM
6063 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6064 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6065 In CASE 5B, restrict a search limit to 500.
6066 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6067
6068 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6069 Restrict macro bounds to +-500 from after-change's BEG END.
6070
50e94f0c
LL
60712012-03-16 Leo Liu <sdl.web@gmail.com>
6072
6073 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6074
6f09f6ed
AH
60752012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6076
6077 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6078 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6079
c7e73d51
GM
60802012-03-16 Glenn Morris <rgm@gnu.org>
6081
da986230
GM
6082 * view.el (view-buffer, view-buffer-other-window)
6083 (view-buffer-other-frame): Doc fixes re special mode-class.
6084
0835f01e
GM
6085 * subr.el (eval-after-load): If named feature is provided not from
6086 a file, run after-load forms. (Bug#10946)
6087
c7e73d51
GM
6088 * calendar/calendar.el (calendar-insert-at-column):
6089 Handle non-unit-width characters a bit better. (Bug#10978)
6090
3f2eafd1
CY
60912012-03-15 Chong Yidong <cyd@gnu.org>
6092
6093 * emacs-lisp/ring.el (ring-extend): New function.
6094 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6095
6096 * comint.el (comint-read-input-ring)
6097 (comint-add-to-input-history): Grow comint-input-ring lazily.
6098
103af3fe
SM
60992012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6100
663b1677
SM
6101 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6102 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6103
103af3fe
SM
6104 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6105 (imenu-add-to-menubar): Don't add a redundant index.
6106 (imenu-update-menubar): Handle a dynamically composed keymap.
6107
899cb7cb
KY
61082012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6109
6110 * mail/sendmail.el (mail-encode-header):
6111 Bind rfc2047-encode-encoded-words to nil.
6112
3809f91d
GM
61132012-03-13 Glenn Morris <rgm@gnu.org>
6114
6115 * calendar/calendar.el (calendar-string-spread):
6116 Handle non-unit-width characters a bit better. (Bug#10978)
6117
9e345a01
LL
61182012-03-13 Leo Liu <sdl.web@gmail.com>
6119
6120 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6121 directory and file as argument (Bug#10822).
6122
4a07df36
KS
61232012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6124
6125 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6126 For dynamically generated code, follow $PC.
6127 (gdb-disassembly-handler-custom): Handle no function name case.
6128
4aaa9356
TL
61292012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6130
6131 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6132 * emulation/ws-mode.el (ws-query-replace):
6133 * sort.el (sort-regexp-fields):
6134 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6135
225979da
SM
61362012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6137
6138 * dabbrev.el: Fix cycle completion order (bug#10963).
6139 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6140 (dabbrev-completion): Don't use an obarray; provide
6141 a cycle-sort-function.
6142
e2f1fdab
LL
61432012-03-12 Leo Liu <sdl.web@gmail.com>
6144
dc9924b8 6145 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6146 (kill-do-not-save-duplicates): Doc fix.
6147
b19490ed
SM
61482012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6149
6150 * dabbrev.el: Fix cycle completion (bug#10963).
6151 Use lexical binding and wrap to 80 columns.
6152 (dabbrev-completion): Delay computing the list of completions.
6153
4b05d722
KH
61542012-03-12 Kenichi Handa <handa@m17n.org>
6155
6156 * international/quail.el (quail-insert-kbd-layout): Surround each
6157 row by LRO and PDF instead of inserting many LRMs. Pad the left
6158 and right of each non-spacing marks. Insert invisible space
6159 between lower and upper characters to prevent composition.
6160
dbbc2e69
SM
61612012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6162
6163 * minibuffer.el (minibuffer-complete): Don't get confused when the
6164 function is run twice via different commands (bug#10958).
6165 (complete-with-action): Fix docstring.
6166
292112ed
CY
61672012-03-12 Chong Yidong <cyd@gnu.org>
6168
5d1ac394
CY
6169 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6170 (nxml-completion-at-point-function): New function.
6171 (nxml-mode): Use it.
6172 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6173
292112ed
CY
6174 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6175 Load generated autoloads file before byte compiling (Bug#10970).
6176 (package--make-autoloads-and-compile): New helper fun.
6177
4098f8f7
CS
61782012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6179
6180 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6181
8f754691
MA
61822012-03-11 Michael Albinus <michael.albinus@gmx.de>
6183
6184 * autorevert.el (auto-revert-handler): Ensure, that
6185 file-readable-p is applied only for local files or in
6186 auto-revert-tail-mode.
6187
e29ab36b
AS
61882012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6189
dbbc2e69
SM
6190 * server.el (server-eval-at): Handle non-tcp connections.
6191 Decode result string.
ad0bf5b6 6192
e29ab36b
AS
6193 * server.el (server-msg-size): New constant.
6194 (server-reply-print): New function.
6195 (server-eval-and-print): Use it.
6196 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6197 Handle -print-nonl.
6198
de5939ba
CS
61992012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6200
6201 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6202 (Bug#10987).
6203
0c93eabf
CY
62042012-03-11 Chong Yidong <cyd@gnu.org>
6205
397a688f
CY
6206 * simple.el (goto-line): Doc fix (Bug#9938).
6207
2cc775f9
CY
6208 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6209
0c93eabf
CY
6210 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6211 when finished (Bug#10963).
6212
c491fa41
MR
62132012-03-11 Martin Rudalics <rudalics@gmx.at>
6214
6215 * window.el (split-window-below): Fix bug in case where
6216 split-window-keep-point is nil (Bug#10971).
6217
300e8fa5
JL
62182012-03-11 Juri Linkov <juri@jurta.org>
6219
6220 * replace.el (replace-highlight): Set isearch-word to nil
6221 unconditionally. (Bug#10887)
6222
dbf6c5a1
EZ
62232012-03-10 Eli Zaretskii <eliz@gnu.org>
6224
6225 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6226 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6227 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6228 (mairix-widget-create-query): Add usage information about mairix
6229 search forms: negating words, searching for substrings, etc.
6230
b9e501de
JP
62312012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6232
6233 * international/fontset.el (font-encoding-alist): Add an entry for
6234 ksx1001 (Bug#5667).
6235
92795c91
RS
62362012-03-10 Richard Stallman <rms@gnu.org>
6237
1694e6c1
RS
6238 * mail/sendmail.el (mail-encode-header):
6239 Set rfc2047-encode-encoded-words.
6240
607e8555
RS
6241 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6242
de3bc99a
RS
6243 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6244 view buffer means not swapped.
6245 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6246 (rmail-write-region-annotate): Error if real text has disappeared.
6247
92795c91
RS
6248 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6249
699bd04e
CY
62502012-03-10 Chong Yidong <cyd@gnu.org>
6251
6252 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6253 * emulation/cua-base.el (cua--init-keymaps):
6254 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6255
570a1714
MR
62562012-03-10 Martin Rudalics <rudalics@gmx.at>
6257
dbbc2e69
SM
6258 * speedbar.el (speedbar-unhighlight-one-tag-line):
6259 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6260
82dcf4e4
CY
62612012-03-10 Chong Yidong <cyd@gnu.org>
6262
7a2c7ca7
CY
6263 * minibuffer.el (completion-in-region, completion-help-at-point):
6264 Give the completion field overlay a high priority (Bug#6830).
6265
82dcf4e4
CY
6266 * dired.el (dired-goto-file): Recognize absolute file name
6267 listings (Bug#7126).
6268 (dired-goto-file-1): New helper function.
6269 (dired-toggle-read-only): Inhibit warnings.
6270
052e28ac
MA
62712012-03-09 Michael Albinus <michael.albinus@gmx.de>
6272
75f1671a 6273 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6274 there are no properties.
6275
95d5e396
LL
62762012-03-09 Leo Liu <sdl.web@gmail.com>
6277
6278 * savehist.el (savehist-printable): Stricter check for string
6279 value (Bug#10937).
6280
3f018d6d
EZ
62812012-03-09 Eli Zaretskii <eliz@gnu.org>
6282
dbbc2e69
SM
6283 * mail/smtpmail.el (smtpmail-send-it):
6284 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6285 valid mbox format.
6286
f7fd3d79
GM
62872012-03-09 Glenn Morris <rgm@gnu.org>
6288
6289 * files.el (dir-locals-find-file):
6290 Don't check result is regular, readable.
6291 (dir-locals-read-from-file): Demote errors.
6292
6ff6e72f
EZ
62932012-03-08 Eli Zaretskii <eliz@gnu.org>
6294
dbbc2e69
SM
6295 * international/quail.el (quail-insert-kbd-layout):
6296 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6297 layout cell, to prevent their reordering by bidi display engine.
6298 For details, see the discussion in
6299 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6300
9cec7834
AM
63012012-03-08 Alan Mackenzie <acm@muc.de>
6302
6303 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6304 the starting position; make it extend the marked region when
6305 invoked repeatedly - all under appropriate circumstances.
6306 Fixes bugs #5525, #10906.
6307
9a40b8d4
GM
63082012-03-08 Glenn Morris <rgm@gnu.org>
6309
6310 * files.el (locate-dominating-file, dir-locals-find-file):
6311 Undo 2012-03-06 change.
6312
7a08ed35
EZ
63132012-03-07 Eli Zaretskii <eliz@gnu.org>
6314
dbbc2e69
SM
6315 * international/quail.el (quail-help):
6316 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6317 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6318 for the reason.
6319
5aca4f71 63202012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6321
6322 Avoid superfluous registering of signals. (Bug#10807)
6323
6324 * notifications.el (notifications-on-action-object)
6325 (notifications-on-close-object): New defvars.
6326 (notifications-on-action-signal, notifications-on-closed-signal):
6327 Unregister the signal if not needed any longer.
6328 (notifications-notify): Register `notifications-action-signal' or
6329 `notifications-closed-signal', if :on-action or :on-close has been
6330 passed as argument.
6331
78e8b10a
CY
63322012-03-07 Chong Yidong <cyd@gnu.org>
6333
6334 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6335 non-X platforms.
6336
69481eb8
GM
63372012-03-06 Glenn Morris <rgm@gnu.org>
6338
6339 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6340 (x-disown-selection-internal, x-get-selection-internal):
6341 Doc fix (add arglist signatures). (Bug#10783)
6342
133b8e11
KS
63432012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6344
6345 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6346 Handle breakpoints with no "type".
6347
99a83064
GM
63482012-03-06 Glenn Morris <rgm@gnu.org>
6349
6350 * files.el (locate-dominating-file): Add optional predicate argument.
6351 (dir-locals-find-file): Make use of above change.
6352
17798e78
TTN
63532012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6354
6355 * info.el (Info-insert-dir): Also try "dir.gz".
6356
eb182446
GM
63572012-03-06 Glenn Morris <rgm@gnu.org>
6358
8f2114ee
GM
6359 * files.el (dir-locals-find-file):
6360 Ignore non-readable or non-regular files. (Bug#10928)
6361
eb182446
GM
6362 * files.el (locate-dominating-file): Doc fix.
6363
24679323
AS
63642012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6365
6366 * calendar/calendar.el (calendar-set-mode-line):
6367 `getenv' returns a string. (Bug#10951)
6368
01d972a9
LL
63692012-03-05 Leo Liu <sdl.web@gmail.com>
6370
109aa8a9
LL
6371 * simple.el (backward-delete-char-untabify): Constrain point to
6372 field (Bug#10939).
6373
01d972a9
LL
6374 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6375
10607bea
CY
63762012-03-05 Chong Yidong <cyd@gnu.org>
6377
6378 * simple.el (count-words): If called from Lisp, return the word
6379 count, for symmetry with `count-lines'. Arglist changed.
6380 (count-words--message): Args changed. Consolidate counting code
6381 from count-words and count-words-region.
6382 (count-words-region): Caller changed.
6383 (count-lines-region): Make it an obsolete alias.
6384
5dd11cfe
TH
63852012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6386
6387 * saveplace.el (save-place-to-alist)
6388 (save-place-ignore-files-regexp): Allow value nil to disable this
6389 feature.
6390
c349f4e6
CY
63912012-03-04 Chong Yidong <cyd@gnu.org>
6392
6393 * faces.el (face-spec-reset-face): For the default face, reset the
6394 attributes to default values (Bug#10748).
6395
e627be4c
LMI
63962012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6397
6398 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6399 previous patch: Check `message-send-mail-function', and not the
6400 default function (bug#10897).
6401
ebeabff4
MA
64022012-03-04 Michael Albinus <michael.albinus@gmx.de>
6403
a41a6cf4
MA
6404 * notifications.el (notifications-on-action-signal)
6405 (notifications-on-closed-signal): Check for unique service name of
6406 incoming event. Fix error in removing entry.
ebeabff4 6407 (top): Register for signals with wildcard service name.
a41a6cf4 6408 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6409
c1ca42b4
CY
64102012-03-04 Chong Yidong <cyd@gnu.org>
6411
dc9924b8 6412 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6413
ea16568d
GM
64142012-03-04 Glenn Morris <rgm@gnu.org>
6415
6416 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6417 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6418 (expand-abbrev, define-abbrev-table): Doc fixes.
6419
fbae4637
LMI
64202012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6421
6422 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6423 `message-default-send-mail-function' and not `send-mail-function'
6424 when doing the prompting for `sendmail-query-once' before sending
6425 in Message buffers (bug#10897).
6426
a1e7225c
LMI
6427 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6428 This is inconsistent with all the other stream functions, which leave
6429 the setting up to the higher levels (if so wanted) (bug#10931).
6430
56d093a9
AM
64312012-03-02 Alan Mackenzie <acm@muc.de>
6432
6433 Depessimize the handling of very large macros.
6434
6435 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6436 (c-macro-cache-syntactic): New variables to implement a one
6437 element macro cache.
6438 (c-invalidate-macro-cache): New function.
6439 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6440 Adapt to use the new cache.
6441 (c-state-safe-place): Use better the cache of safe positions.
6442 (c-state-semi-nonlit-pos-cache)
6443 (c-state-semi-nonlit-pos-cache-limit):
6444 New variables for...
6445 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6446 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6447 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6448 Use c-state-semi-safe-place.
56d093a9 6449
dbbc2e69
SM
6450 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6451 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6452
817e5c3d
MA
64532012-03-02 Michael Albinus <michael.albinus@gmx.de>
6454
dbbc2e69
SM
6455 * jka-compr.el (jka-compr-call-process):
6456 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6457 not remote.
6458
a032a702
MA
64592012-03-01 Michael Albinus <michael.albinus@gmx.de>
6460
6461 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6462 access of FILE2, if FILE1 does not exist.
6463
99a54f21
MA
6464 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6465 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6466
6467 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6468 Add "PAGER=" to `process-environment'.
6469
f6561e1f
MM
64702012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6471
6472 * progmodes/sql.el: Bug fix
6473 (sql-get-login-ext): Save login values in globals.
6474 (sql-get-login): Use new version of `sql-get-login-ext'.
6475 (sql-interactive-mode): Set global `sql-connection' to nil.
6476 (sql-connect): Set global values for connection.
6477 (sql-product-interactive): Save global values as buffer local.
6478
2d44d9cc
LL
64792012-02-29 Leo Liu <sdl.web@gmail.com>
6480
6481 * abbrev.el (define-abbrevs): Reset sys to nil.
6482
96b49301 64832012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6484
bf7f9bc5
JB
6485 * files.el (file-equal-p): Rename from `files-equal-p'.
6486 Return nil when one or both files don't exist.
96b49301 6487 (file-subdir-of-p): Now only top directory must exists,
6488 return nil if it doesn't.
bf7f9bc5
JB
6489 (copy-directory): No need to test with `file-subdir-of-p' after
6490 creating dir.
6491 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6492 to `file-equal-p'.
96b49301 6493
44e97401
GM
64942012-02-28 Glenn Morris <rgm@gnu.org>
6495
6496 * shell.el (shell-mode):
6497 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6498 * play/landmark.el (landmark-font-lock-face-O):
6499 * play/handwrite.el (handwrite):
6500 * play/gomoku.el (gomoku-O):
6501 * net/browse-url.el (browse-url-browser-display):
6502 * international/mule.el (define-charset):
6503 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6504 * filesets.el (filesets-find-file-delay):
6505 * eshell/em-xtra.el (eshell-xtra):
6506 * eshell/em-unix.el (eshell-grep):
6507 * emulation/viper.el (viper-mode):
6508 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6509 * emacs-lisp/easymenu.el (easy-menu-define):
6510 * calendar/timeclock.el (timeclock-use-display-time):
6511 * bs.el (bs-mode):
6512 * bookmark.el (bookmark-save-flag):
6513 Doc fix (standardize possessive apostrophe usage).
6514
c98c6276
CY
65152012-02-27 Chong Yidong <cyd@gnu.org>
6516
bf7f9bc5
JB
6517 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6518 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6519
c98c6276
CY
6520 * font-lock.el (font-lock-specified-p): Rename from
6521 font-lock-spec-present. Callers changed.
6522
9c62cd04 65232012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6524
bf7f9bc5
JB
6525 * emacs-lisp/package.el (package-compute-transaction):
6526 Handle holding a package version to t in package-load-list.
8ac9e529 6527
530739c9
MA
65282012-02-26 Michael Albinus <michael.albinus@gmx.de>
6529
6530 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6531 (tramp-get-inode, tramp-get-device): Use cached values.
6532
487915d7
AM
65332012-02-26 Alan Mackenzie <acm@muc.de>
6534
6535 Check there is a font-lock specification before doing initial
6536 fontification.
6537
6538 * font-core.el (font-lock-mode): Move the conditional from
6539 :after-hook to font-lock-initial-fontify.
6540 (font-lock-default-function): Move the check for a specification
6541 to font-lock-spec-present.
6542
dc9924b8 6543 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6544 (font-lock-spec-present): New function.
6545
4fd96557
JB
65462012-02-26 Jim Blandy <jimb@red-bean.com>
6547
6548 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6549 (gdb-send): Apply it to the operand of the '-interpreter-exec
6550 console' command, so that we can pass arguments with (say) quotes
6551 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6552
9a4888c0
CY
65532012-02-26 Chong Yidong <cyd@gnu.org>
6554
07498861
CY
6555 * help-fns.el (describe-function-1): Clarify description of
6556 remapping (Bug#10844).
6557
9a4888c0
CY
6558 * files.el (files-equal-p): Doc fix.
6559 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6560 and quit the loop once a mismatch is found.
6561
ea8fb88d
JB
65622012-02-25 Juanma Barranquero <lekktu@gmail.com>
6563
6564 * bs.el (bs--show-with-configuration): Don't throw an error
6565 if the window cannot be split; otherwise, subsequent calls to
6566 bs-show fail, restoring a stale window config. (Bug#10882)
6567
525795c1
JD
65682012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6569
6570 * term/ns-win.el (global-map): Bind ns-drag-file to
6571 ns-find-file (Bug#5855, Bug#10050).
6572
f008086f
AS
65732012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6574
6575 * calendar/parse-time.el (parse-time-string): Allow extractor to
6576 return nil.
6577
a3fcfa99
MA
65782012-02-25 Michael Albinus <michael.albinus@gmx.de>
6579
91027d08
JB
6580 * net/tramp.el (tramp-file-name-for-operation):
6581 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6582
6583 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6584 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6585 Add COPY-CONTENTS argument.
a3fcfa99 6586
67b0de11
CY
65872012-02-25 Chong Yidong <cyd@gnu.org>
6588
6589 Add custom groups for VC backends, for consistency with vc-bzr.
6590
6591 * vc/vc-arch.el (vc-arch):
6592 * vc/vc-cvs.el (vc-cvs):
6593 * vc/vc-git.el (vc-git):
6594 * vc/vc-hg.el (vc-hg):
6595 * vc/vc-mtn.el (vc-mtn):
6596 * vc/vc-rcs.el (vc-rcs):
6597 * vc/vc-sccs.el (vc-sccs):
6598 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6599 All relevant defcustoms reassigned.
6600
3c9dfce6
CY
66012012-02-25 Chong Yidong <cyd@gnu.org>
6602
1339bf43
CY
6603 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6604
3c9dfce6
CY
6605 * term/x-win.el (x-initialize-window-system): Reduce default for
6606 x-selection-timeout to 5 seconds (Bug#8869).
6607
25b2e303 66082012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6609
ec70a47d
GM
6610 * files.el (files-equal-p, file-subdir-of-p): New functions.
6611 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6612 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6613 * dired-aux.el (dired-copy-file-recursive): Same.
6614 (dired-create-files): Modify destination when source is equal to
6615 dest when copying files.
53a46cd0 6616 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6617
914260cd
MA
66182012-02-24 Michael Albinus <michael.albinus@gmx.de>
6619
6620 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6621 (Bug#10874)
6622
2cb228f7
AM
66232012-02-23 Alan Mackenzie <acm@muc.de>
6624
6625 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6626 parameter "after-hook:" to allow the expansion to run code after
6627 the execution of the mode hooks.
6628
6629 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6630 from font-lock-mode-internal.
2cb228f7 6631
91027d08 6632 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6633 :after-hook.
6634
8f0fde21
SM
66352012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6636
3e88618b
SM
6637 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6638 (completion--cache-all-sorted-completions): New function.
6639 (completion-all-sorted-completions): Use it.
6640 (completion--do-completion, minibuffer-force-complete):
6641 Use it to re-instate the flush hook.
6642
8f0fde21
SM
6643 * icomplete.el (icomplete-completions): Replace last fix with a better
6644 one (bug#10850).
6645
8e911f6f
DG
66462012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6647
6648 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6649 when it might call us back infinitely (bug#10797).
6650
49fe4321
GM
66512012-02-23 Glenn Morris <rgm@gnu.org>
6652
6653 * minibuffer.el (completion-category-overrides): Doc fix.
6654
b291b572
SM
66552012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6656
6657 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6658 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6659
31a9ef2e
GM
66602012-02-23 Glenn Morris <rgm@gnu.org>
6661
5e6e6794 6662 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6663 (authors-obsolete-files-regexps, authors-ignored-files)
6664 (authors-ambiguous-files, authors-renamed-files-alist):
6665 Add more entries.
6666
0bd1e074
JL
66672012-02-23 Juri Linkov <juri@jurta.org>
6668
6669 * isearch.el (isearch-occur): Sync interactive spec with occur's
6670 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6671
b617673c
JL
6672 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6673
19e9789e
JL
66742012-02-22 Juri Linkov <juri@jurta.org>
6675
6676 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6677 (ucs-insert): Doc fix. Check for hex digits in the string.
6678 Don't display `nil' in the error message. (Bug#10857)
6679
f41ce09d
AM
66802012-02-22 Alan Mackenzie <acm@muc.de>
6681
7a71b18d 6682 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6683
ac2eceee
GM
66842012-02-22 Glenn Morris <rgm@gnu.org>
6685
6686 * ffap.el (ffap-c-path):
6687 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6688
abd1f678
CY
66892012-02-22 Chong Yidong <cyd@gnu.org>
6690
6691 * custom.el (load-theme): Doc fix.
6692
f25aef2e
GM
66932012-02-22 Glenn Morris <rgm@gnu.org>
6694
6695 * dired-x.el (dired-guess-shell-alist-default):
6696 Remove escape sequences from nroff output. (Bug#172)
6697
5f8dc2ca
GM
66982012-02-21 Glenn Morris <rgm@gnu.org>
6699
6ff86ec4
GM
6700 * vc/emerge.el (emerge-defvar-local):
6701 Set `permanent-local' property rather than unused `preserved'.
6702
be3223a3 6703 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6704 (picture-mode-map): Use it. (Bug#10860)
6705 (picture-mode): Doc fix.
6706
3fe58f4f
JB
67072012-02-21 Juanma Barranquero <lekktu@gmail.com>
6708
6709 * newcomment.el (uncomment-region-default): Remove unused binding.
6710
f9a998c3
GM
67112012-02-21 Glenn Morris <rgm@gnu.org>
6712
6713 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6714 (picture-self-insert, picture-tab-chars): Doc fix.
6715 (picture-mode-map): Fix C-a, C-e.
6716
c6029348
GM
67172012-02-20 Glenn Morris <rgm@gnu.org>
6718
6719 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6720
ab1ce9d7
LL
67212012-02-20 Leo Liu <sdl.web@gmail.com>
6722
6723 * icomplete.el (icomplete-completions): Check FROM arg before
6724 passing to substring (Bug#10850).
6725
0fd40f89
CY
67262012-02-19 Chong Yidong <cyd@gnu.org>
6727
6728 * comint.el: Require ansi-color.
6729 (comint-output-filter-functions): Add ansi-color-process-output.
6730
6731 * ansi-color.el: Don't set comint-output-filter-functions; it is
6732 now in the initial value defined in comint.el.
6733 (ansi-color-apply-face-function): New variable.
6734 (ansi-color-apply-on-region): Use it.
6735 (ansi-color-apply-overlay-face): New function.
6736
6737 * shell.el (shell): No need to require ansi-color.
6738 (shell-mode): Use ansi-color-apply-face-function to highlight
6739 color escapes using font-lock-face property (Bug#10835).
6740
20af2394
CY
67412012-02-19 Chong Yidong <cyd@gnu.org>
6742
6743 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6744 mode-line formats (Bug#10839).
6745
e23a3fbe
GM
67462012-02-18 Glenn Morris <rgm@gnu.org>
6747
b474519e
GM
6748 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6749
6750 * mail/undigest.el (unforward-rmail-message): Doc fix.
6751
e23a3fbe
GM
6752 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6753
57939ff4
EZ
67542012-02-18 Eli Zaretskii <eliz@gnu.org>
6755
6756 * international/characters.el (script-list): Sync with the latest
6757 Unicode Character Database.
6758
0c23686e
AS
67592012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6760
6761 * international/titdic-cnv.el: Remove duplicate coding tag.
6762 * language/cham.el: Likewise.
6763 * language/tai-viet.el: Likewise.
6764
6818b449
GM
67652012-02-18 Glenn Morris <rgm@gnu.org>
6766
6767 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6768 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6769 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6770 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6771 * calendar/holidays.el (holiday-bahai-holidays)
6772 (calendar-holidays, list-holidays):
6773 Use utf-8 Bahá'í in doc-strings, menus, etc.
6774
0311a3fc
TH
67752012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6776
6777 * saveplace.el (save-place-ignore-files-regexp): New variable
6778 allowing for excluding files from saving their location of point.
6779 The default value matches the temporary commit message editing
6780 files from Git, SVN, Bazaar, and Mercurial.
6781 (save-place-to-alist): Use it.
6782
d209e2fb 67832012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6784 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6785
6786 * newcomment.el (uncomment-region-default): Don't leave extra space
6787 when an arg is provided (bug#8150).
6788
ee0ce425
TZ
67892012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6790
eb864a71 6791 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6792
95ddf442
GM
67932012-02-17 Glenn Morris <rgm@gnu.org>
6794
6795 * net/socks.el: Require network-stream. (Bug#10599)
6796
48dd1e39 67972012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6798
6799 * international/charprop.el:
6800 * international/uni-name.el:
6801 * international/uni-old-name.el:
6802 * international/uni-comment.el: Regenerate.
6803
d68cd087
GM
68042012-02-16 Glenn Morris <rgm@gnu.org>
6805
6806 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6807 Interactively in calendar buffer, give an error if not on a date.
6808
13932042
GM
68092012-02-15 Glenn Morris <rgm@gnu.org>
6810
6811 * shell.el (shell-delimiter-argument-list):
6812 Revert 2011-02-17 change. (Bug#8027)
6813
c3a70e2b
CY
68142012-02-15 Chong Yidong <cyd@gnu.org>
6815
60236b0d
CY
6816 * minibuffer.el (completion-at-point-functions): Doc fix.
6817
c3a70e2b
CY
6818 * custom.el (defcustom): Doc fix; note use of defvar.
6819
9f26dc24
GM
68202012-02-15 Glenn Morris <rgm@gnu.org>
6821
6822 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6823 Doc fixes.
6824
6546b134
GM
68252012-02-14 Glenn Morris <rgm@gnu.org>
6826
6827 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6828
d29b2b4c
LI
68292012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6830
6831 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6832 way the ports list is computed.
835bdcba
LI
6833 (smtpmail-query-smtp-server): Prompt the user for a port number if
6834 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6835
08dcdbc9
TZ
68362012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6837
6838 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6839
2605051a
GM
68402012-02-13 Glenn Morris <rgm@gnu.org>
6841
6842 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6843
7ee99f32
TZ
68442012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6845
6846 * net/gnutls.el (gnutls-trustfiles): New variable.
6847 (gnutls-negotiate): Use it.
6848
5f0af64f
LI
68492012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6850
6851 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6852 does its stuff if Gnus is running.
6853
c14fcc95
AM
68542012-02-13 Alan Mackenzie <acm@muc.de>
6855
6856 Fix a loop in c-set-fl-decl-start.
6857
7a71b18d 6858 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6859 c-backward-syntactic-ws actually moves backwards.
6860
142b4d90
LL
68612012-02-13 Leo Liu <sdl.web@gmail.com>
6862
6863 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6864 beginning so that all \C-o chars are removed.
6865
fa9958a6
TZ
68662012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6867
dc9924b8 6868 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6869
0bc5886a
AM
68702012-02-12 Alan Mackenzie <acm@muc.de>
6871
6872 Fix infinite loop with long macros.
4d6769e1 6873 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6874
d4bd55e7
CY
68752012-02-12 Chong Yidong <cyd@gnu.org>
6876
6877 * window.el (display-buffer): Doc fix (Bug#10785).
6878
66f3fe22
GM
68792012-02-12 Glenn Morris <rgm@gnu.org>
6880
bd7da63e
GM
6881 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6882 (x-disown-selection-internal, x-get-selection-internal):
6883 Sync docs with the xselect.c versions.
6884
66f3fe22
GM
6885 * allout-widgets.el: Add missing license notice.
6886
3e0d2fa7
GM
68872012-02-11 Glenn Morris <rgm@gnu.org>
6888
cfecdf09
GM
6889 * select.el (x-get-selection-internal, x-own-selection-internal)
6890 (x-disown-selection-internal):
6891 * x-dnd.el (x-get-selection-internal): Update declarations.
6892
6d216d7f
GM
6893 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6894
2bed3f04
GM
6895 * window.el (window-sides-slots):
6896 * tool-bar.el (tool-bar-position):
6897 * term/xterm.el (xterm-extra-capabilities):
6898 * ses.el (ses-self-reference-early-detection):
6899 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6900 (verilog-auto-wire-type)
6901 (verilog-auto-delete-trailing-whitespace)
6902 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6903 (verilog-auto-tieoff-declaration):
6904 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6905 (sql-oracle-statement-starters, sql-oracle-scan-on):
6906 * progmodes/prolog.el (prolog-align-comments-flag)
6907 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6908 (prolog-left-indent-regexp, prolog-paren-indent-p)
6909 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6910 (prolog-types, prolog-mode-specificators)
6911 (prolog-determinism-specificators, prolog-directives)
6912 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6913 (prolog-electric-dot-flag)
6914 (prolog-electric-dot-full-predicate-template)
6915 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6916 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6917 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6918 (prolog-program-switches, prolog-prompt-regexp)
6919 (prolog-debug-on-string, prolog-debug-off-string)
6920 (prolog-trace-on-string, prolog-trace-off-string)
6921 (prolog-zip-on-string, prolog-zip-off-string)
6922 (prolog-use-standard-consult-compile-method-flag)
6923 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6924 (prolog-imenu-max-lines, prolog-info-predicate-index)
6925 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6926 (prolog-char-quote-workaround):
6927 * progmodes/cc-vars.el (c-defun-tactic):
6928 * net/tramp.el (tramp-encoding-command-interactive)
6929 (tramp-local-end-of-line):
6930 * net/soap-client.el (soap-client):
6931 * net/netrc.el (netrc-file):
6932 * net/gnutls.el (gnutls):
6933 * minibuffer.el (completion-category-overrides)
6934 (completion-cycle-threshold)
6935 (completion-pcm-complete-word-inserts-delimiters):
6936 * man.el (Man-name-local-regexp):
6937 * mail/feedmail.el (feedmail-display-full-frame):
6938 * international/characters.el (glyphless-char-display-control):
6939 * eshell/em-ls.el (eshell-ls-date-format):
6940 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6941 (lisp-lambda-list-keyword-parameter-indentation)
6942 (lisp-lambda-list-keyword-parameter-alignment):
6943 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6944 * dired-x.el (dired-omit-verbose):
6945 * cus-theme.el (custom-theme-allow-multiple-selections):
6946 * calc/calc.el (calc-highlight-selections-with-faces)
6947 (calc-lu-field-reference, calc-lu-power-reference)
6948 (calc-note-threshold):
6949 * battery.el (battery-mode-line-limit):
6950 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6951 (archive-7z-update):
6952 * allout.el (allout-prefixed-keybindings)
6953 (allout-unprefixed-keybindings)
6954 (allout-inhibit-auto-fill-on-headline)
6955 (allout-flattened-numbering-abbreviation):
6956 * allout-widgets.el (allout-widgets-auto-activation)
6957 (allout-widgets-icons-dark-subdir)
6958 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6959 (allout-widgets-theme-dark-background)
6960 (allout-widgets-theme-light-background)
6961 (allout-widgets-item-image-properties-emacs)
6962 (allout-widgets-item-image-properties-xemacs)
6963 (allout-widgets-run-unit-tests-on-load)
6964 (allout-widgets-time-decoration-activity)
6965 (allout-widgets-hook-error-post-time)
6966 (allout-widgets-track-decoration):
6967 Add missing :version tags to new defcustoms and defgroups.
6968
5fec1b8e
GM
6969 * progmodes/sql.el (sql-ansi-statement-starters)
6970 (sql-oracle-statement-starters): Add custom type.
6971
3e0d2fa7
GM
6972 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6973 (prolog-system-version): Give it a type.
6974
90b671e2
EZ
69752012-02-11 Eli Zaretskii <eliz@gnu.org>
6976
6977 * term/pc-win.el (x-select-text, x-selection-owner-p)
6978 (x-own-selection-internal, x-disown-selection-internal)
6979 (x-get-selection-internal): Sync doc strings and argument lists
6980 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6981
5eac0c02
LL
69822012-02-11 Leo Liu <sdl.web@gmail.com>
6983
6984 * progmodes/python.el (python-end-of-statement): Fix infinite
6985 loop. (Bug#10788)
6986
f82cb659
GM
69872012-02-10 Glenn Morris <rgm@gnu.org>
6988
6989 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6990 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6991
cc26d239
LI
69922012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6993
6994 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6995 about SMTP before checking the From header.
6996
91027d08 6997 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6998 into own function for reuse by emacsbug.el.
6999
1be3ca5a
LL
70002012-02-10 Leo Liu <sdl.web@gmail.com>
7001
7002 * subr.el (condition-case-unless-debug): Rename from
7003 condition-case-no-debug. All callers changed.
7004 (with-demoted-errors): Fix caller.
7005
7006 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
7007 * nxml/rng-valid.el (rng-do-some-validation):
7008 * emacs-lisp/package.el (package-refresh-contents)
7009 (package-menu-execute):
7010 * desktop.el (desktop-create-buffer):
91027d08 7011 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 7012
b011fbfe
GM
70132012-02-10 Glenn Morris <rgm@gnu.org>
7014
b2096d72
GM
7015 * textmodes/bibtex.el:
7016 Add missing :version tags for new/changed defcustoms.
7017
b011fbfe
GM
7018 * files.el (remote-file-name-inhibit-cache): Doc fixes.
7019
4c7e65bf
LI
70202012-02-09 Lars Ingebrigtsen <larsi@rusty>
7021
7022 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
7023 (smtpmail-via-smtp): Use it, or fall back on the From address.
7024 (smtpmail-send-it): Ditto.
7025
f3934f6f
SM
70262012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
7027
7028 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
7029 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
7030 (byte-compile-tmp-var): New const.
7031 (byte-compile-defvar): Use it to minimize .elc size.
7032 Just use `defvar' rather than simulate it (bug#10761).
7033
a075a2c5
GM
70342012-02-09 Glenn Morris <rgm@gnu.org>
7035
cf3aa21b
GM
7036 * files.el (rename-uniquely): Doc fix. (Bug#3806)
7037
354998cd
GM
7038 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
7039 Add :version tags.
7040
dc9924b8
SM
7041 * progmodes/compile.el (compilation-error-screen-columns)
7042 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7043
dab3703d
GM
7044 * vc/log-view.el (log-view-toggle-entry-display):
7045 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7046
3f88cd72
GM
7047 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7048 (report-emacs-bug-can-use-xdg-email):
7049 (report-emacs-bug-insert-to-mailer): Doc fixes.
7050 (report-emacs-bug): Message fix.
7051
d95b247d
GM
7052 * net/browse-url.el (browse-url-can-use-xdg-open)
7053 (browse-url-xdg-open): Doc fixes.
7054
a075a2c5
GM
7055 * electric.el (electric-indent-mode, electric-pair-mode)
7056 (electric-layout-rules, electric-layout-mode): Doc fixes.
7057 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7058
ffb6157e
MR
70592012-02-08 Martin Rudalics <rudalics@gmx.at>
7060
7061 * server.el (server-unselect-display): Don't inadvertently kill
7062 the current buffer. (Bug#10729)
7063
e1ac4066
GM
70642012-02-08 Glenn Morris <rgm@gnu.org>
7065
34e8a2da
GM
7066 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7067 (sql-list-table): Doc fixes.
7068
b4ac6e8c
GM
7069 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7070 Comment out (does nothing).
7071
e1ac4066
GM
7072 * completion.el (dynamic-completion-mode):
7073 * dirtrack.el (dirtrack-debug-mode):
7074 * electric.el (electric-layout-mode):
7075 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7076 * face-remap.el (text-scale-mode, buffer-face-mode):
7077 * iimage.el (iimage-mode):
7078 * image-mode.el (image-transform-mode):
7079 * minibuffer.el (completion-in-region-mode):
7080 * scroll-lock.el (scroll-lock-mode):
7081 * simple.el (next-error-follow-minor-mode):
7082 * tar-mode.el (tar-subfile-mode):
7083 * tooltip.el (tooltip-mode):
7084 * vcursor.el (vcursor-use-vcursor-map):
7085 * wid-browse.el (widget-minor-mode):
7086 * emulation/tpu-edt.el (tpu-edt-mode):
7087 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7088 * international/iso-ascii.el (iso-ascii-mode):
7089 * language/thai-util.el (thai-word-mode):
7090 * mail/supercite.el (sc-minor-mode):
7091 * net/goto-addr.el (goto-address-mode):
7092 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7093 * progmodes/cwarn.el (cwarn-mode):
7094 * progmodes/flymake.el (flymake-mode):
7095 * progmodes/glasses.el (glasses-mode):
7096 * progmodes/hideshow.el (hs-minor-mode):
7097 * progmodes/pascal.el (pascal-outline-mode):
7098 * textmodes/enriched.el (enriched-mode):
7099 * vc/smerge-mode.el (smerge-mode):
7100 Doc fixes (minor mode argument).
7101
5e0d957f
EZ
71022012-02-07 Eli Zaretskii <eliz@gnu.org>
7103
7104 * ls-lisp.el (ls-lisp-sanitize): New function.
7105 (ls-lisp-insert-directory): Use it to fix or remove any elements
7106 in file-alist with missing attributes. (Bug#4673)
7107
98d7371e
AM
71082012-02-07 Alan Mackenzie <acm@muc.de>
7109
7110 Fix spurious recognition of c-in-knr-argdecl.
7111
7112 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7113 putative K&R region.
7114
667ced3a
AM
71152012-02-07 Alan Mackenzie <acm@muc.de>
7116
eb864a71
LM
7117 * progmodes/cc-engine.el (c-forward-objc-directive):
7118 Prevent looping in "#pragma mark @implementation".
667ced3a 7119
5b77774d
MA
71202012-02-07 Michael Albinus <michael.albinus@gmx.de>
7121
7122 * notifications.el (notifications-on-closed-signal): Make `reason'
7123 optional. (Bug#10744)
7124
af008560
GM
71252012-02-07 Glenn Morris <rgm@gnu.org>
7126
60d47423
GM
7127 * emacs-lisp/easy-mmode.el (define-minor-mode):
7128 Doc fixes for the macro and the mode it defines.
7129
dd605cc4
GM
7130 * image.el (imagemagick-types-inhibit): Doc fix.
7131
af008560
GM
7132 * cus-start.el (imagemagick-render-type): Add it.
7133
5cc59a37
LI
71342012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7135
4d6769e1
JB
7136 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7137 Set the default at load time, too, so that `font-lock-fontify-buffer'
7138 can be called without setting up the entire mode first. This fixes
7139 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7140
9a6dd747
CY
71412012-02-06 Chong Yidong <cyd@gnu.org>
7142
2d16b285
CY
7143 * simple.el (list-processes--refresh): Delete exited processes
7144 (Bug#8094).
7145
171e9b6e
CY
7146 * comint.el (comint-next-prompt): next-single-char-property-change
7147 and prev-single-char-property-change never return nil (Bug#8657).
7148
9a6dd747
CY
7149 * custom.el (defcustom): Doc fix (Bug#9711).
7150
aa4589a7
CY
71512012-02-05 Chong Yidong <cyd@gnu.org>
7152
5c2a252f
CY
7153 * cus-edit.el (custom-variable-reset-backup): Quote the value
7154 before storing it in the customized-value property (Bug#6712).
4aab9006 7155 (custom-display): Add a customization type tag.
983b9602 7156 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7157
aa4589a7
CY
7158 * wid-edit.el (widget-field-value-get): New optional arg to
7159 suppress trailing whitespace truncation.
7160 (character): Use it (Bug#2689).
7161
1ff980ae
AS
71622012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7163
7164 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7165 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7166
03988c98
CY
71672012-02-05 Chong Yidong <cyd@gnu.org>
7168
eeb6cc88
CY
7169 * cus-edit.el (custom-variable-value-create): For mismatched
7170 types, show the current value (Bug#7600).
7171
03988c98
CY
7172 * custom.el (defcustom): Doc fix.
7173
f8cdeef0
GM
71742012-02-05 Glenn Morris <rgm@gnu.org>
7175
7176 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7177
0696d255
JB
71782012-02-05 Juanma Barranquero <lekktu@gmail.com>
7179
7180 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7181 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7182 (pp-last-sexp): Use `looking-at-p'.
7183
34c99998
GM
71842012-02-04 Glenn Morris <rgm@gnu.org>
7185
8f05da42
GM
7186 * files.el (revert-buffer):
7187 Doc fix (mention revert-buffer-in-progress-p).
7188
f160676e
GM
7189 * emacs-lisp/ert-x.el (ert-simulate-command):
7190 Check deferred-action-list (which is obsolete) is bound.
7191
c7291ad9
GM
7192 * subr.el (with-wrapper-hook): Doc fixes.
7193
34c99998
GM
7194 * simple.el (filter-buffer-substring-functions)
7195 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7196
6283a7d3
LL
71972012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7198
7199 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7200 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7201
e96e3013
LL
72022012-02-04 Leo Liu <sdl.web@gmail.com>
7203
7204 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7205
8ded50f2
GM
72062012-02-04 Glenn Morris <rgm@gnu.org>
7207
82ff1d13
GM
7208 * image.el (image-extension-data): Add obsolete alias.
7209
987a0a16
GM
7210 * isearch.el (isearch-update): Doc fix.
7211
ea32ef46
GM
7212 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7213
8ded50f2
GM
7214 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7215
eea14f31
GM
72162012-02-03 Glenn Morris <rgm@gnu.org>
7217
7218 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7219 (image-animate-timeout): Doc fix.
7220
7221 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7222
12f381b7
GM
72232012-02-02 Glenn Morris <rgm@gnu.org>
7224
953cebf5
GM
7225 * server.el (server-auth-dir): Doc fix.
7226 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7227
12f381b7
GM
7228 * subr.el (run-mode-hooks): Doc fix.
7229
953a8c3b
JL
72302012-02-02 Juri Linkov <juri@jurta.org>
7231
7232 * image-mode.el (image-toggle-display-image): Remove tautological
7233 `major-mode' from the `derived-mode-p' test.
7234
c5d3843c
KH
72352012-02-02 Kenichi Handa <handa@m17n.org>
7236
9f6e692e 7237 * composite.el (compose-region): Cancel previous change.
c5d3843c 7238
159462d4 72392012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7240
7241 * composite.el (compose-region, compose-string): Signal error for
7242 a null string component (Bug#6988).
7243
9f562668
CY
72442012-02-01 Chong Yidong <cyd@gnu.org>
7245
e2cef717
CY
7246 * view.el (view-buffer-other-window, view-buffer-other-frame):
7247 Handle special modes like view-buffer (Bug#10650).
7248 (view-buffer): Simplify.
7249
9f562668
CY
7250 * frame.el (set-frame-font): Tweak meaning of third argument.
7251
9f6e692e
JB
7252 * dynamic-setting.el (font-setting-change-default-font):
7253 Use set-frame-font (Bug#9982).
9f562668 7254
781acb9f
GM
72552012-02-01 Glenn Morris <rgm@gnu.org>
7256
6035be52
GM
7257 * progmodes/compile.el (compilation-internal-error-properties):
7258 Respect compilation-first-column in the "*compilation*" buffer.
7259
781acb9f
GM
7260 * emacs-lisp/easy-mmode.el (define-minor-mode):
7261 Relax :variable's test for a named function.
7262
abbceb00
AM
72632012-01-31 Alan Mackenzie <acm@muc.de>
7264
7265 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7266 off by one error.
7267
fce3fdeb
CY
72682012-01-31 Chong Yidong <cyd@gnu.org>
7269
7270 * frame.el (set-frame-font): New arg ALL-FRAMES.
7271
7272 * menu-bar.el (menu-set-font): Use set-frame-font.
7273
7274 * faces.el (face-spec-reset-face): Don't apply unspecified
7275 attribute values to the default face.
7276
47893581
JB
72772012-01-31 Juanma Barranquero <lekktu@gmail.com>
7278
7279 * progmodes/cwarn.el (cwarn): Remove dead link.
7280 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7281 Remove * from defcustom docstrings.
7282 (turn-on-cwarn-mode): Make obsolete.
7283 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7284 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7285
e58e988a
GM
72862012-01-31 Glenn Morris <rgm@gnu.org>
7287
60dc2671 7288 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7289 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7290 Allow named functions to be used as the cdr of :variable.
e58e988a 7291
7a3f511d
GM
72922012-01-30 Glenn Morris <rgm@gnu.org>
7293
7294 * emacs-lisp/authors.el (authors-fixed-entries):
7295 Remove reference to deleted file rnewspost.el.
7296
cb882333
JB
72972012-01-29 Juanma Barranquero <lekktu@gmail.com>
7298
7299 * window.el (window-with-parameter): Remove unused variable `windows'.
7300 (window--side-check): Remove unused variable `code'.
7301 (window--resize-siblings): Remove unused variable `first'.
7302 (adjust-window-trailing-edge): Remove unused variable `failed'.
7303 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7304 Use `let', not `let*'.
7305 (balance-windows-2): Remove unused variable `found'.
7306 (window--state-put-2): Remove unused variable `splits'.
7307 (window-state-put): Remove unused variable `selected'.
7308 (same-window-p): Use `string-match-p'.
7309 (display-buffer-assq-regexp): Remove unused variable `value'.
7310 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7311 Mark argument ALIST as ignored.
7312 (pop-to-buffer): Remove unused variable `old-window'.
7313
907201af
EZ
73142012-01-29 Eli Zaretskii <eliz@gnu.org>
7315
7316 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7317 and .lzma compressed files.
7318
ea162670
CY
73192012-01-29 Chong Yidong <cyd@gnu.org>
7320
5b95ee8a
CY
7321 * frame.el (window-system-default-frame-alist): Doc fix.
7322
ea162670
CY
7323 * dynamic-setting.el (font-setting-change-default-font): Don't
7324 change the default face if SET-FONT argument is non-nil (Bug#9982).
7325
d6e6f4b1
SB
73262012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7327
7328 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7329
0f29fa41 73302012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7331
7332 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7333 breakpoints in files outside current directory (Bug#6098).
7334
db174434
CY
73352012-01-29 Chong Yidong <cyd@gnu.org>
7336
6b25e4e2
SE
7337 * progmodes/python.el: Require ansi-color at top-level.
7338
6df6ae42
JB
7339 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7340 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7341 (lisp-mode-abbrev-table): Add doc.
7342 (lisp-mode-variables): Don't set local-abbrev-table.
7343 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7344
e70ee681
RW
73452012-01-28 Roland Winkler <winkler@gnu.org>
7346
7347 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7348
ace88aa2
RW
73492012-01-28 Roland Winkler <winkler@gnu.org>
7350
7351 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7352 (bibtex-set-dialect): Use it. Either set global values of
7353 dialect-dependent variables or bind these variables buffer-locally
7354 (Bug#10254).
7355 (bibtex-mode): Call bibtex-set-dialect via
7356 hack-local-variables-hook.
eb864a71
LM
7357 (bibtex-dialect): Update docstring.
7358 Add safe-local-variable predicate.
ace88aa2
RW
7359 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7360 bibtex-set-dialect.
7361 (bibtex-mode-map): Define menu for each dialect.
7362 (bibtex-entry): Fix docstring.
7363
93376c5b
CY
73642012-01-28 Chong Yidong <cyd@gnu.org>
7365
7366 * eshell/esh-arg.el (eshell-quote-argument): New function.
7367
7368 * eshell/esh-ext.el (eshell-invoke-batch-file):
7369 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7370 first arg to eshell-parse-command (Bug#10523).
7371
4372494f
DA
73722012-01-28 Drew Adams <drew.adams@oracle.com>
7373
7374 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7375 `default-directory' is non-nil.
7376
4d4ec1f8
EZ
73772012-01-28 Eli Zaretskii <eliz@gnu.org>
7378
7379 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7380 line that displays system-configuration-options. (Bug#9924)
7381
7c188927
DA
73822012-01-28 Drew Adams <drew.adams@oracle.com>
7383
7384 * descr-text.el (describe-char): Show information about POS, in
7385 addition to information about the character at POS. Improve and
7386 update the doc string. Change "code point" to "code point in
7387 charset", to avoid confusion with the character's Unicode code
7388 point shown above that. (Bug#10129)
7389
e0da685a
EZ
73902012-01-28 Eli Zaretskii <eliz@gnu.org>
7391
7392 * descr-text.el (describe-char): Show the raw character, not only
7393 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7394 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7395 for the reasons.
7396
70550acf
PH
73972012-01-28 Phil Hagelberg <phil@hagelb.org>
7398
eb864a71
LM
7399 * emacs-lisp/package.el (package-install):
7400 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7401
0ce8e868
CY
74022012-01-28 Chong Yidong <cyd@gnu.org>
7403
cb882333
JB
7404 * emacs-lisp/package.el (package-maybe-load-descriptor):
7405 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7406 (package-maybe-load-descriptor): Use it.
7407 (package-download-transaction): Fully load required packages
7408 inside the loop, so that `require' calls work (Bug#10593).
7409 (package-install): No need to call package-initialize now.
7410
2e7f3bea
CY
74112012-01-28 Chong Yidong <cyd@gnu.org>
7412
6e9bad14
CY
7413 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7414
f823b8ca
CY
7415 * tooltip.el (tooltip-mode): Doc fix.
7416 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7417
2680c309
CY
7418 * frame.el (set-cursor-color): Doc fix (Bug#352).
7419
d7a9e63b
CY
7420 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7421 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7422
2e7f3bea
CY
7423 * cus-edit.el (custom-buffer-create-internal): Fix search button
7424 action (Bug#10542).
2ae01800 7425 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7426
fc4f7a23
EW
74272012-01-27 Eduard Wiebe <usenet@pusto.de>
7428
7429 * dired.el (dired-mark-files-regexp):
7430 Include any subdirectory components. (Bug#10445)
7431
7dd37071
ML
74322012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7433
7434 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7435 Handle [host]:port syntax. (Bug#10533)
7436
a268160b
AH
74372012-01-27 Alex Harsanyi <harsanyi@mac.com>
7438
7439 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7440
e43273ef
GM
74412012-01-26 Glenn Morris <rgm@gnu.org>
7442
7443 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7444 * term.el (term-raw-escape-map): Use Control-X-prefix.
7445 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7446
1edf595d
MR
74472012-01-25 Martin Rudalics <rudalics@gmx.at>
7448
7449 * window.el (window-state-get, window--state-get-1): Don't deal
7450 with fixed-sizeness of windows. Simplify code.
7451
fa8eafef
JC
74522012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7453
6df6ae42
JB
7454 * window.el (window--state-get-1, window--state-put-2):
7455 Don't save and restore the mark.
fa8eafef 7456
0b21c100
CY
74572012-01-25 Chong Yidong <cyd@gnu.org>
7458
7459 * custom.el (custom-variable-p): Doc fix.
7460
5ae1a6c8
GM
74612012-01-25 Glenn Morris <rgm@gnu.org>
7462
40047858
GM
7463 * dired.el (dired-goto-file): Handle some of the more common
7464 characters that `ls -b' escapes. (Bug#10596)
7465
5ddce96c
GM
7466 * progmodes/compile.el (compilation-next-error-function):
7467 Respect compilation-first-column in the "*compilation*" buffer.
7468 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7469
5ae1a6c8
GM
7470 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7471
b559f1a9
GM
74722012-01-24 Glenn Morris <rgm@gnu.org>
7473
7474 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7475
6725d21a
JD
74762012-01-24 Julien Danjou <julien@danjou.info>
7477
7478 * color.el (color-rgb-to-hsl): Fix value computing.
7479 (color-hue-to-rgb): New function.
7480 (color-hsl-to-rgb): New function.
7481 (color-clamp, color-saturate-hsl, color-saturate-name)
7482 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7483 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7484
70df4bbe
GM
74852012-01-24 Glenn Morris <rgm@gnu.org>
7486
7487 * vc/vc-rcs.el (vc-rcs-create-tag):
7488 * vc/vc-sccs.el (vc-sccs-create-tag):
7489 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7490
802a2ae2
ML
74912012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7492
7493 * eshell/esh-util.el (eshell-read-hosts-file):
7494 Skip comment lines. (Bug#10549)
7495
d7128bb1
ML
7496 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7497
d1a5c3b4
JB
74982012-01-23 Juanma Barranquero <lekktu@gmail.com>
7499
2724d9c7
JB
7500 * subr.el (display-delayed-warnings): Doc fix.
7501 (collapse-delayed-warnings): New function to collapse identical
7502 adjacent warnings.
7503 (delayed-warnings-hook): Add it.
d1a5c3b4 7504
a5509865
MA
75052012-01-22 Michael Albinus <michael.albinus@gmx.de>
7506
7507 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7508
a5509865
MA
7509 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7510 (tramp-default-user-alist): Don't add "pscp".
7511 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7512 property "login-as", if set. (Bug#10530)
7513
cc6d5805
MA
75142012-01-21 Michael Albinus <michael.albinus@gmx.de>
7515
7516 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7517 "plink1" and "psftp". (Bug#10530)
7518
75192012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7520
7521 * international/mule-cmds.el (prefer-coding-system): Show a
7522 warning message if the default value of file-name-coding-system
7523 was not changed.
7524
f0960428
JC
75252012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7526
cb882333
JB
7527 * windmove.el (windmove-reference-loc):
7528 Fix windmove-reference-loc miscalculation.
f0960428 7529
dd6f2a63
JB
75302012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7531
7532 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7533 default unit.
7534
7b447e9b
GM
75352012-01-21 Glenn Morris <rgm@gnu.org>
7536
117a9ea1
GM
7537 * international/mule.el (auto-coding-alist): Add .tbz.
7538
7b447e9b
GM
7539 * files.el (local-enable-local-variables): Doc fix.
7540 (inhibit-local-variables-regexps): Rename from
7541 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7542 Doc fix. Add some extensions from auto-coding-alist.
7543 (inhibit-local-variables-suffixes):
7544 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7545 (inhibit-local-variables-p):
7546 New function, extracted from set-auto-mode-1.
7547 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7548 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7549 (hack-local-variables): Doc fix. Make the mode-only case
7550 respect enable-local-variables and friends.
7551 Respect inhibit-local-variables-regexps for file-locals, but
7552 not for directory-locals.
7553 (set-visited-file-name):
7554 Take account of inhibit-local-variables-regexps.
7555 Whether it applies may change as the file name is changed.
7556 * jka-cmpr-hook.el (jka-compr-install):
7557 * jka-compr.el (jka-compr-uninstall):
7558 Update for inhibit-first-line-modes-suffixes name change.
7559
dd6e3cdd
MR
75602012-01-20 Martin Rudalics <rudalics@gmx.at>
7561
7562 * help-macro.el (make-help-screen): Temporarily restore original
7563 binding for minor-mode-map-alist (Bug#10454).
7564
0d0deb38
JD
75652012-01-19 Julien Danjou <julien@danjou.info>
7566
7567 * color.el (color-name-to-rgb): Use the white color to find the max
7568 color component value and return correctly computed values.
7569 (color-name-to-rgb): Add missing float conversion for max value.
7570
34a02f46
MR
75712012-01-19 Martin Rudalics <rudalics@gmx.at>
7572
7573 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7574 special state value for window-persistent-parameters.
7575 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7576 (window--state-put-2): Reset all window parameters to nil before
7577 assigning values of persistent parameters.
7578
606c44c4
AM
75792012-01-18 Alan Mackenzie <acm@muc.de>
7580
7581 Eliminate sluggishness and hangs in fontification of "semicolon
7582 deserts".
7583
cb882333
JB
7584 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7585 Change value 10000 -> 3000.
606c44c4
AM
7586 (c-state-safe-place): Reformulate so it doesn't stack up an
7587 infinite number of wrong entries in c-state-nonlit-pos-cache.
7588 (c-determine-limit-get-base, c-determine-limit): New functions to
7589 determine backward search limits disregarding literals.
7590 (c-find-decl-spots): Amend commenting.
7591 (c-cheap-inside-bracelist-p): New function which detects "={".
7592
7593 * progmodes/cc-fonts.el
7594 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7595 backward search.
7596 (c-font-lock-declarations): Fix an occurrence of point being
7597 undefined. Check additionally for point being in a bracelist or
7598 near a macro invocation without a semicolon so as to avoid a
7599 fruitless time consuming search for a declarator. Give a more
7600 precise search limit for declarators using the new
7601 c-determine-limit.
7602
f3860cea
GM
76032012-01-18 Glenn Morris <rgm@gnu.org>
7604
7605 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7606 (set-auto-mode): Doc fixes.
7607
1db03b16
GM
76082012-01-17 Glenn Morris <rgm@gnu.org>
7609
0e6038be
GM
7610 * isearch.el (search-nonincremental-instead): Fix doc typo.
7611
1db03b16
GM
7612 * dired.el (dired-insert-directory): Handle newlines in directory name.
7613 (dired-build-subdir-alist): Unescape newlines in directory name.
7614
4cb0aa75
MA
76152012-01-17 Michael Albinus <michael.albinus@gmx.de>
7616
7617 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7618 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7619 (tramp-action-terminal): Use it. (Bug#10530)
7620
1d00653d
SM
76212012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7622
7623 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7624
6a6ee00d
MR
76252012-01-16 Martin Rudalics <rudalics@gmx.at>
7626
7627 * window.el (window-state-ignored-parameters): Remove variable.
7628 (window--state-get-1): Rename argument MARKERS to IGNORE.
7629 Handle persistent window parameters. Make copy of clone-of
7630 parameter only if requested. (Bug#10348)
7631 (window--state-put-2): Install a window parameter only if it has
7632 a non-nil value or an existing parameter shall be overwritten.
7633
97912def
MA
76342012-01-15 Michael Albinus <michael.albinus@gmx.de>
7635
7636 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7637
688070a5
EZ
76382012-01-14 Eli Zaretskii <eliz@gnu.org>
7639
7640 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7641 don't pass the (nil) value of `upnode' to string-match.
7642
301afadc
CY
76432012-01-14 Chong Yidong <cyd@gnu.org>
7644
7645 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7646 Fix values recognized by the cursorBlink resource.
301afadc 7647
9e5788aa
PE
76482012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7649
7650 * epg.el (epg--make-temp-file): Avoid permission race condition
7651 when running on old Emacs versions (bug#10403).
7652
3cdb7f5a
GM
76532012-01-14 Glenn Morris <rgm@gnu.org>
7654
7655 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7656
8c82b1b4
AM
76572012-01-13 Alan Mackenzie <acm@muc.de>
7658
7659 Fix filling for when filladapt mode is enabled.
7660
7661 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7662 c-mask-paragraph, pass in `fill-paragraph' rather than
7663 `fill-region-as-paragraph'. (This is a reversion of a previous
7664 change.)
eb864a71
LM
7665 * progmodes/cc-mode.el (c-basic-common-init):
7666 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7667
e517eda4
GM
76682012-01-13 Glenn Morris <rgm@gnu.org>
7669
1498536e
GM
7670 * dired.el (dired-switches-escape-p): New function.
7671 (dired-insert-directory): Use dired-switches-escape-p.
7672 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7673
e517eda4
GM
7674 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7675
328f984d
GM
76762012-01-12 Glenn Morris <rgm@gnu.org>
7677
7678 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7679 changes in adaptive-fill-regexp. (Bug#10276)
7680
2cc769a8
AM
76812012-01-11 Alan Mackenzie <acm@muc.de>
7682
7683 Fix Emacs bug #10463 - put `widen's around the critical spots.
7684
1d00653d 7685 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7686 widen around each invocation of c-state-pp-to-literal. Remove an
7687 unused let variable.
7688
e52c37fa
GM
76892012-01-11 Glenn Morris <rgm@gnu.org>
7690
7691 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7692 Doc fix.
e52c37fa 7693
96f8741e
CY
76942012-01-10 Chong Yidong <cyd@gnu.org>
7695
1d00653d
SM
7696 * net/network-stream.el (network-stream-open-starttls):
7697 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7698 response to the capability command.
7699
b09a806e
GM
77002012-01-10 Glenn Morris <rgm@gnu.org>
7701
7702 * mail/unrmail.el (unrmail): Tweak previous change.
7703
7655cb66
CY
77042012-01-09 Chong Yidong <cyd@gnu.org>
7705
7706 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7707
9d5a8f0b
AM
77082012-01-08 Alan Mackenzie <acm@muc.de>
7709
7710 Optimise font locking in long enum definitions.
7711
7712 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7713 arm to a cond form to handle enums.
7714 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7715 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7716
9a0115ab 77172012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7718
7719 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7720 (Bug#10401)
6bb72cbd 7721
f186bb95
LMI
77222012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7723
29232a68
LMI
7724 * faces.el (set-face-attribute): Clarify the meaning of the nil
7725 frame (bug#10294).
7726
4e5d086d
LMI
7727 * subr.el (with-selected-frame): Mention that the selected frame
7728 is restored (bug#9980).
7729
8e66aebe
LMI
7730 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7731 (bug#9759).
7732
cd394be1 7733 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7734 (password-read): Don't autoload unused function.
7735
adf4e762
JB
77362012-01-07 Juanma Barranquero <lekktu@gmail.com>
7737
7738 * progmodes/which-func.el (which-func-mode): Turn into a
7739 non-interactive function and mark as obsolete (bug#10428).
7740
89bd9ccd
CY
77412012-01-06 Chong Yidong <cyd@gnu.org>
7742
7743 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7744 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7745 functions, along with 1 and -1.
7746
4afee9d5
EZ
77472012-01-06 Eli Zaretskii <eliz@gnu.org>
7748
7749 * time.el (display-time-load-average)
7750 (display-time-default-load-average): Doc fixes. See the thread
7751 starting at
7752 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7753 for the details.
7754
536aea70
GM
77552012-01-06 Glenn Morris <rgm@gnu.org>
7756
665ae865
GM
7757 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7758 has no messages. (Bug#10377)
7759
c869783d
GM
7760 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7761 than Info-edit. (Bug#10385)
7762
2bb4227e
GM
7763 * time.el (display-time-load-average, display-time-next-load-average):
7764 Doc fixes.
7765
7d5944b9
GM
7766 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7767 local setting of buffer-read-only to the input buffer. (Bug#10419)
7768
536aea70
GM
7769 * calendar/calendar.el (calendar-mode):
7770 Locally set scroll-margin to 0. (Bug#10379)
7771
7dccca16
UM
77722012-01-06 Ulrich Mueller <ulm@gentoo.org>
7773
7774 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7775
afbb7930
GM
77762012-01-05 Glenn Morris <rgm@gnu.org>
7777
7778 * eshell/em-unix.el (diff-no-select): Autoload it.
7779 (eshell/diff): Use diff-no-select. (Bug#10420)
7780
04482335
CY
77812012-01-05 Chong Yidong <cyd@gnu.org>
7782
7baca3bc
CY
7783 * shell.el (shell-dynamic-complete-functions): Revert last change.
7784 (shell-command-completion-function): New function.
7785 (shell-completion-vars): Use it to implement
7786 shell-completion-execonly (Bug#10417).
7787
04482335
CY
7788 * custom.el (enable-theme): Don't set custom-safe-themes.
7789
1d00653d
SM
7790 * cus-theme.el (custom-theme-merge-theme):
7791 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7792
bb5aa5d6
MM
77932012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7794
7795 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7796 first prompt in `sql-interacive-mode'.
7797 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7798 keywords.
6df6ae42 7799 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7800 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7801 context of original buffer. Invoke `sql-login-hook'.
7802
a7183d7c
EZ
78032012-01-04 Eli Zaretskii <eliz@gnu.org>
7804
7805 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7806 letters in cite-prefix.
7807
a1eacd1e
LMI
78082012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7809
7810 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7811
787cdb34
CY
78122012-01-03 Chong Yidong <cyd@gnu.org>
7813
1d00653d
SM
7814 * shell.el (shell-dynamic-complete-functions):
7815 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7816 comint-filename-completion first (Bug#10417).
7817
30710442
RS
78182012-01-02 Richard Stallman <rms@gnu.org>
7819
7820 * battery.el (battery-status-function):
7821 Detect when to use battery-yeeloong-sysfs.
7822 (battery-echo-area-format): Add string for Yeeloong.
7823 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7824 (battery-yeeloong-sysfs): New function.
7825
f75bfc33
CY
78262012-01-02 Chong Yidong <cyd@gnu.org>
7827
7828 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7829 (dirtrack): Merge code for handling relative filenames in prompt
7830 from shell-dir-cookie-watcher.
7831 (dirtrack-debug-message): New arg to avoid excess format calls.
7832
7833 * shell.el (shell-dir-cookie-re): Variable deleted.
7834 (shell-dir-cookie-watcher): Function deleted.
7835 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7836 with dirtrack-mode.
7837
651e947e
EZ
78382012-01-01 Eli Zaretskii <eliz@gnu.org>
7839
1d00653d
SM
7840 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7841 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7842 libgnutls-26.dll.
7843
94d4c7dc
AS
78442011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7845
7846 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7847
8d43f3cd
EZ
78482011-12-31 Eli Zaretskii <eliz@gnu.org>
7849
7850 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7851 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7852
98c8795a
MA
78532011-12-29 Michael Albinus <michael.albinus@gmx.de>
7854
7855 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7856 also for alternative shells.
7857 (tramp-open-connection-setup-interactive-shell): Check, whether
7858 the shell is a busybox.
7859 (tramp-send-command): Don't suppress multiple prompts for
7860 busyboxes, it hurts.
7861
51281b32
CY
78622011-12-28 Chong Yidong <cyd@gnu.org>
7863
7864 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7865 (gdb-get-source-file): Move mode line update to
7866 gdb-get-source-file (Bug#10087).
7867
2170cb53
CY
78682011-12-25 Chong Yidong <cyd@gnu.org>
7869
7870 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7871 gud-gdb-marker-filter without taking it as an argument.
7872 (gud-gdb-run-command-fetch-lines): Caller changed.
7873 (gud-gdb-completion-function): New variable.
7874 (gud-gdb-completion-at-point): Use it.
7875 (gud-gdb-completions-1): Split from gud-gdb-completions.
7876
7877 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7878 function as separate arguments.
7879 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7880 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7881 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7882 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7883 (gdb-stopped, def-gdb-auto-update-trigger)
7884 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7885 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7886 Callers changed.
2170cb53
CY
7887 (gud-gdbmi-completions): New function.
7888 (gdb): Use it for generating the completion table.
7889
be8b11bb
AM
78902011-12-24 Alan Mackenzie <acm@muc.de>
7891
7892 Introduce a mechanism to widen the region used in context font
1d00653d 7893 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7894
1d00653d
SM
7895 * progmodes/cc-langs.el (c-before-font-lock-functions):
7896 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7897 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7898 functions to be run just before context (etc.) font locking.
7899
7900 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7901 New, functionality extracted from
be8b11bb 7902 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7903 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7904 (c-after-change): Set c-in-after-change-fontification.
7905 (c-set-fl-decl-start): Rejig its interface, so it can be called
7906 from both after-change and context fontifying.
b81d40f0
JB
7907 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7908 New functions.
7909 (c-standard-font-lock-fontify-region-function): New variable.
7910 (c-font-lock-fontify-region): New function.
be8b11bb 7911
341cf6ac
JL
79122011-12-24 Juri Linkov <juri@jurta.org>
7913
7914 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7915 (Bug#10348)
7916
bffcee0a
MA
79172011-12-23 Michael Albinus <michael.albinus@gmx.de>
7918
7919 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7920 existence of source file. (Bug#10325)
7921
cb5e207c
AM
79222011-12-23 Alan Mackenzie <acm@muc.de>
7923
7924 Fix unstable fontification inside templates.
7925
b81d40f0
JB
7926 * progmodes/cc-langs.el (c-before-font-lock-functions):
7927 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7928 additionally has c-set-fl-decl-start. The other languages (apart
7929 from AWK) have that as a single entry.
7930
b81d40f0
JB
7931 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7932 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7933 c-set-fl-decl-start.
7934
b81d40f0
JB
7935 * progmodes/cc-mode.el (c-common-init, c-after-change):
7936 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7937 (c-set-fl-decl-start): New function, extracted from
7938 c-font-lock-enclosing-decls and enhanced.
7939
60ff536c
JB
79402011-12-23 Juanma Barranquero <lekktu@gmail.com>
7941
7942 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7943
1c4757d6
JL
79442011-12-22 Juri Linkov <juri@jurta.org>
7945
7946 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7947
d031f2c7
CY
79482011-12-22 Chong Yidong <cyd@gnu.org>
7949
7950 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7951
bace743a
DA
79522011-12-21 Drew Adams <drew.adams@oracle.com>
7953
7954 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7955
728a1f2b
JC
79562011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7957
7958 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7959
0d373f73
TZ
79602011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7961
fec0aaa4
TZ
7962 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7963 highlighting and support. Fix up comments for capitalization.
7964 (cfengine-mode-debug): New var.
7965 (cfengine3-mode): Change the modeline indicator to "CFE3".
7966 (cfengine3-font-lock-keywords): Improve defun highlighting.
7967 (cfengine2-actions): Rename from `cfengine-actions'.
7968 (cfengine2-font-lock-keywords): Rename from
7969 `cfengine-font-lock-keywords'.
7970 (cfengine2-imenu-expression): Rename from
7971 `cfengine-imenu-expression'.
7972 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7973 (cfengine2-beginning-of-defun): Rename from
7974 `cfengine-beginning-of-defun'.
7975 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7976 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7977 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7978 modeline indicator to "CFE2".
7979 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7980 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7981
bc86f573
CY
79822011-12-21 Chong Yidong <cyd@gnu.org>
7983
7984 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7985 filename argument.
7986
d45ba96b
MR
79872011-12-20 Martin Rudalics <rudalics@gmx.at>
7988
7989 * window.el (window-normalize-buffer-to-display): Remove.
7990 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7991
a6198c90
CY
79922011-12-19 Chong Yidong <cyd@gnu.org>
7993
7994 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7995 Don't signal an error in a predicate function; return non-nil.
7996 (vc-dir-mark-file): Move the error here.
7997 (vc-dir-mark-unmark): If acting on the region, keep going if one
7998 of the entries cannot be marked/unmarked.
7999 (vc-dir-mark-all-files): If current entry is a directory, mark
8000 only child files, as documented.
8001
34c5fb55
VB
80022011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
8003
8004 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
8005 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
8006 addition.
8007
c803b2b7
JD
80082011-12-18 Jan Djärv <jan.h.d@swipnet.se>
8009
8010 * term/ns-win.el (ns-get-selection-internal)
8011 (ns-store-selection-internal): Declare.
1154d12e
JB
8012 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
8013 Declare as obsolete.
8014 (ns-get-pasteboard, ns-paste-secondary):
8015 Use ns-get-selection-internal.
8016 (ns-set-pasteboard, ns-copy-including-secondary):
8017 Use ns-store-selection-internal.
c803b2b7 8018
9cff91f8 80192011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
8020
8021 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 8022 (vc-deduce-fileset): Doc fix.
99a289d9 8023
f16c898a
AS
80242011-12-16 Andreas Schwab <schwab@linux-m68k.org>
8025
8026 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
8027
763237c4
SS
80282011-12-13 Sam Steingold <sds@gnu.org>
8029
8030 * man.el (Man-getpage-in-background): When running under a
8031 window-system, ignore $MANWIDTH and $COLUMNS.
8032
5fc1c122
KH
80332011-12-15 Kenichi Handa <handa@m17n.org>
8034
8035 * language/ethio-util.el: Change coding tag to utf-8-emacs.
8036 (setup-ethiopic-environment-internal): Comment out key-binding for
8037 ethio-toggle-punctuation.
8038
13d49cbb
AM
80392011-12-13 Alan Mackenzie <acm@muc.de>
8040
898169a2
AM
8041 Add the switch statement to AWK Mode.
8042
7a71b18d 8043 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8044 "default" to the keywords regexp.
8045
7a71b18d 8046 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8047 expression as the rest.
1d00653d
SM
8048 (c-nonlabel-token-key): Allow string literals for AWK.
8049 Refactor for the other modes.
898169a2 8050
13d49cbb 8051 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8052 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8053 routines. Limit backward searching in c-font-lock-enclosing.decl.
8054
8055 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8056 pp-state and literal type in addition to the limits.
1d00653d 8057 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8058 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8059 (c-slow-in-literal, c-fast-in-literal): Remove.
8060 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8061
8062 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8063 being in a literal. Add a limit for backward searching.
8064
8065 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8066 c-slow-in-literal.
8067
15e0efc7
SM
80682011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8069
8070 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8071
454592a6
MR
80722011-12-13 Martin Rudalics <rudalics@gmx.at>
8073
8074 * window.el (delete-other-windows): Use correct frame in call to
8075 window-with-parameter.
8076
87393f26
DP
80772011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8078
8079 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8080 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8081 (makefile-gmake-statements, makefile-makepp-statements):
8082 Use it and add new makepp keywords.
8083 (makefile-makepp-font-lock-keywords): Add new patterns.
8084 (makefile-match-function-end): Match new [...] and [[...]].
8085
11636b22
JB
80862011-12-11 Juanma Barranquero <lekktu@gmail.com>
8087
8088 * ses.el (ses-call-printer-return, ses-cell-property-get)
8089 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8090 (ses-create-cell-variable, ses-reset-header-string)
8091 (ses-cell-set-formula, ses-repair-cell-reference-all)
8092 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8093 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8094 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8095 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8096 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8097 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8098 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8099 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8100 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8101 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8102 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8103 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8104
cf018193
VB
81052011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8106
8107 * ses.el: The overall change is to add cell renaming, that is
8108 setting fancy names for cell symbols other than name matching
8109 "\\`[A-Z]+[0-9]+\\'" regexp .
8110 (ses-create-cell-variable): New defun.
8111 (ses-relocate-formula): Relocate formulas only for cells the
8112 symbols of which are not renamed, i.e. symbols whose names do not
8113 match regexp "\\`[A-Z]+[0-9]+\\'".
8114 (ses-relocate-all): Relocate values only for cells the symbols of
8115 which are not renamed.
8116 (ses-load): Create cells variables as the (ses-cell ...) are read,
8117 in order to check row col consistency with cell symbol name only
8118 for cells that are not renamed.
8119 (ses-replace-name-in-formula): New defun.
8120 (ses-rename-cell): New defun.
8121
ee957461
CY
81222011-12-11 Chong Yidong <cyd@gnu.org>
8123
8124 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8125 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8126
9a9e9ef0
MR
81272011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8128
8129 * window.el (other-window): Fix docstring.
8130
92a8eba5
EZ
81312011-12-10 Eli Zaretskii <eliz@gnu.org>
8132
8133 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8134 `from' or `to' address before taking its substring.
8135 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8136 encoded name is chopped in the middle of the encoded string, and
8137 thus displayed encoded.
8138
e152e577
JB
81392011-12-10 Juanma Barranquero <lekktu@gmail.com>
8140
8141 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8142
e5d84bfe
EZ
81432011-12-10 Eli Zaretskii <eliz@gnu.org>
8144
8145 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8146 to use texinfo-update-node and commands that call it if the
8147 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8148 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8149 (texinfo-all-menus-update, texinfo-master-menu)
8150 (texinfo-update-node, texinfo-every-node-update)
8151 (texinfo-multiple-files-update): Doc fix. Warn against updating
8152 all the @node lines.
8153 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8154 argument is numeric. Explain better in the doc string what the
8155 function really does.
8156 (texinfo-insert-master-menu-list): Improve the error message
8157 displayed if there's no menu in the Top node.
8158 (Bug#2975) See also this thread:
e5d84bfe
EZ
8159 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8160
1d84e9bb
MG
81612011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8162
8163 * speedbar.el (speedbar-supported-extension-expressions):
8164 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8165
382c953b
JB
81662011-12-09 Juanma Barranquero <lekktu@gmail.com>
8167
8168 * printing.el (pr-mode-alist):
8169 * simple.el (filter-buffer-substring-functions)
8170 (completion-list-insert-choice-function):
8171 * window.el (window-with-parameter, window-atom-root)
8172 (window-sides-slots, window-size-fixed, window-min-delta)
8173 (window-max-delta, window--resize-mini-window)
8174 (window--resize-child-windows-normal, window-tree)
8175 (delete-other-windows, quit-window, split-window)
8176 (display-buffer-record-window, special-display-buffer-names)
8177 (special-display-regexps, special-display-popup-frame)
8178 (same-window-p, split-window-sensibly)
8179 (display-buffer-overriding-action, display-buffer-alist)
8180 (display-buffer-base-action, display-buffer, switch-to-buffer)
8181 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8182 (fit-window-to-buffer, recenter-positions)
8183 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8184 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8185 and remove unneeded backslashes in docstrings.
8186
39c9faef
SM
81872011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8188
98449af8
SM
8189 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8190
39c9faef
SM
8191 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8192 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8193 end in ".mk".
8194 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8195 when reading the makefile (bug#10116).
8196
86ed9fdc
SM
81972011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8198
8199 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8200 (bug#10116).
8201
5580f89d
GM
82022011-12-06 Glenn Morris <rgm@gnu.org>
8203
8204 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8205
28d3917c
CY
82062011-12-06 Chong Yidong <cyd@gnu.org>
8207
8208 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8209
a98edce9
JB
82102011-12-06 Juanma Barranquero <lekktu@gmail.com>
8211
8212 * textmodes/table.el (table-shorten-cell): Fix typo.
8213
e65adfac
CG
82142011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8215
8216 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8217
71cc0b74
EZ
82182011-12-05 Eli Zaretskii <eliz@gnu.org>
8219
8220 * descr-text.el (describe-char): Fix display of strong
8221 right-to-left characters and directional embeddings and overrides.
8222
8223 * simple.el (what-cursor-position): Fix display of codepoints of
8224 strong right-to-left characters.
8225
315bc30d
CY
82262011-12-05 Chong Yidong <cyd@gnu.org>
8227
8228 * faces.el (read-color): Doc fix.
8229
58a70b94
GM
82302011-12-05 Glenn Morris <rgm@gnu.org>
8231
8232 * align.el (align--set-marker): Add doc-string.
8233 Don't try to move something that is not a marker. (Bug#10216)
8234
5158face
GM
82352011-12-04 Glenn Morris <rgm@gnu.org>
8236
8237 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8238 overly zealous deletion of trailing whitespace.
8239
520fca41
JB
82402011-12-04 Juanma Barranquero <lekktu@gmail.com>
8241
8242 * server.el (server-delete-client): On Windows, do not try to delete
8243 the only terminal.
8244 (server-process-filter): On Windows, treat requests for a tty frame as
8245 if they were for a GUI frame if the running server is in GUI mode.
8246
5e605a2e
GM
82472011-12-03 Glenn Morris <rgm@gnu.org>
8248
8249 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8250
5c3fe83f
SM
82512011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8252
6f5e57e7
SM
8253 * electric.el: Streamline electric-indent's hook.
8254 (electric-indent-chars): Revert to simple list.
8255 (electric-indent-functions): New var.
8256 (electric-indent-post-self-insert-function): Use it.
8257
5c3fe83f
SM
8258 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8259 there's no inferior buffer (bug#10196).
8260 (prolog-consult-compile): Don't use toggle-read-only.
8261
6bdac736
MA
82622011-12-02 Michael Albinus <michael.albinus@gmx.de>
8263
8264 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8265 interrupt. (Bug#10187)
8266
6131ba7f
SM
82672011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8268
99c79fee
SM
8269 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8270 (bug#9160).
8271
6131ba7f
SM
8272 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8273 (bug#10191).
8274
cb0a02ea
JL
82752011-12-02 Juri Linkov <juri@jurta.org>
8276
8277 * info.el (Info-search): Display "end of manual" when Isearch
8278 reaches the end of single-file Info manual. (Bug#9918)
8279
66e0570c
EZ
82802011-12-02 Eli Zaretskii <eliz@gnu.org>
8281
8282 * isearch.el (isearch-message-prefix): Run the input method part
8283 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8284
02b16839
JL
82852011-12-02 Juri Linkov <juri@jurta.org>
8286
8287 * isearch.el (isearch-occur): Use `word-search-regexp' for
8288 `isearch-word'.
8289 (isearch-search-and-update): Add condition for `isearch-word' and
8290 call `word-search-regexp'. (Bug#10145)
8291
0b950688
GM
82922011-12-01 Glenn Morris <rgm@gnu.org>
8293
8294 * eshell/em-hist.el (eshell-hist-initialize):
8295 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8296 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8297
9505c3c7
SM
82982011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8299
8300 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8301
1bbe96b2 83022011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8303
a1beca85
SM
8304 * progmodes/verilog-mode.el (verilog-pretty-expr):
8305 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8306 verilog, such as += *= and the like.
8307 (verilog-assignment-operator-re): Regular expression to find the
8308 assigment operator in a verilog assignment.
8309 (verilog-assignment-operation-re): Regular expression to find an
8310 assignment statement for pretty-expr.
8311 (verilog-in-attribute-p): Query returns true if point is in an
8312 attribute context; used to skip these for expression line up from
8313 pretty-expr.
8314 (verilog-in-parameter-p): Query returns true if point is in an
8315 parameter definition context; used to skip these for expression
8316 line up from pretty-expr.
8317 (verilog-in-parenthesis-p): Query returns true if point is in a
8318 parenthetical expression, specifically ( ) but not [ ] or { };
8319 used by pretty-expr.
8320 (verilog-just-one-space): If there is no space, don't add one.
8321 (verilog-get-lineup-indent-2): Specifically skip just attribute
8322 contexts for expression lineup, rather than skipping all
8323 parenthetical expressions.
8324 (verilog-calculate-indent): Fix comment, and fix indent.
8325 (verilog-do-indent): Indent declarations in lists (suggested by
8326 Joachim Lechner).
8327 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8328 skeleton items.
8329 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8330 by Alain Mellan).
8331
1bbe96b2 83322011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8333
8334 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8335 parameters with embedded comments. Reported by Ray Stevens.
8336 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8337 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8338 Reported by Tim Holt.
8339 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8340 instantiated by upper module causing wrong expansion until AUTOed a
8341 second time. Reported by K C Buckenmaier.
8342 (verilog-diff-auto): Fix showing .* as a difference when
8343 `verilog-auto-star-save' off. Reported by Dan Dever.
8344 (verilog-auto-reset, verilog-read-always-signals)
8345 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8346 temporary signals in reset list if
8347 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8348 style to each signal's assignment type, bug381.
8349 Reported by Thomas Esposito.
6288f0ca
WS
8350 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8351 (verilog-uvm-statement-re): Support UVM indentation and
8352 highlighting, with old OVM keywords only.
a1beca85 8353 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8354 Support AUTOTIEOFF creating non-wire data types.
8355 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8356 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8357 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8358 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8359 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8360 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8361 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8362 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8363 non-numeric vector width. Reported by Alex Reed.
8364 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8365 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8366 (verilog-auto-delete-trailing-whitespace):
8367 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8368 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8369 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8370 Fix verilog-scan-cache corruption when running user AUTO expansion
8371 hooks that call indentation routines.
8372 (verilog-simplify-range-expression): Fix typo ignoring lower case
8373 identifiers.
8374 (verilog-delete-auto): Fix delete-autos to also remove user created
8375 automatics, as long as they start with AUTO.
8376 (verilog-batch-diff-auto, verilog-diff-auto)
8377 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8378 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8379 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8380 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8381 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8382 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8383 is disabled and its cache will get corrupt, causing AUTOS not to
8384 expand. Instead use only -quick functions.
8385 (verilog-scan-region): Fix scanning over escaped quotes.
8386 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8387 (verilog-re-search-backward-quick)
8388 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8389 related functions now ignore strings, to fix misparsing of strings
8390 with magic comments embedded in them.
a1beca85
SM
8391 (verilog-read-auto-template):
8392 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8393 Reported by Brad Dobbie.
8394 (verilog-read-auto-template):
8395 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8396 Reported by Brad Dobbie.
6288f0ca
WS
8397 (verilog-auto-inst, verilog-auto-inst-param)
8398 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8399 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8400 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8401 debugging templates without merge conflicts, bug357.
8402 Reported by Brad Dobbie.
8403 (verilog-read-auto-template):
8404 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8405 Reported by Brad Dobbie.
8406 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8407 abbrevs so user won't be asked to save.
8408 (verilog-read-auto-lisp-present): Fix to start at beginning of
8409 buffer in case called outside of verilog-auto.
8410 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8411 to "X-2". Reported by Matthew Myers.
8412 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8413 all inputs from module templates. Reported by Leith Johnson.
8414 (verilog-module-inside-filename-p): Fix locating programs as with
8415 modules.
8416 (verilog-auto-inst-port): Fix vl-width expressions when using
8417 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8418 (verilog-decls-get-regs, verilog-decls-get-signals,
8419 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8420 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8421 verilog-read-decls): Combine reg and wire structures into one var
8422 structure to represent SystemVerilog concepts.
8423 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8424 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8425 (verilog-auto-wire-type, verilog-insert-definition):
8426 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8427 SystemVerilog "logic" keyword instead of "wire"/"reg".
8428 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8429 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8430 ifdef or generate if so there's not a driver conflict).
8431 Reported by Matthew Myers.
8432 (verilog-auto-declare-nettype, verilog-insert-definition):
8433 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8434 `default_nettype none. Reported by Julian Gorfajn.
8435 (verilog-read-always-signals-recurse, verilog-read-decls)
8436 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8437 malformed end statement, bug325. Reported by Joshua Wise and
8438 Andrew Drake.
8439 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8440 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8441 when expanding .* in interfaces, bug320.
8442 Reported by Pierre-David Pfister.
6288f0ca 8443 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8444 name and open parenthesis, bug317.
8445 Reported by Pierre-David Pfister.
6288f0ca
WS
8446 (verilog-simplify-range-expression): Fix simplification of
8447 multiplications inside AUTOWIRE connections, bug303.
8448 (verilog-auto-inst-port): Support parameter expansion in
8449 multidimensional arrays.
8450 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8451 after "assert property". Reported by Julian Gorfajn.
8452 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8453 with multiplication, bug303.
8454 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8455 Reported by Jan Frode Lonnum.
8456
1bbe96b2
GM
84572011-11-30 Juanma Barranquero <lekktu@gmail.com>
8458
8459 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8460 (hfy-shell-file-name, hfy-shell):
8461 * international/fontset.el (x-decompose-font-name): Fix typos.
8462
84632011-11-29 Ken Brown <kbrown@cornell.edu>
8464
8465 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8466 (gdb-version): Remove defvar.
8467 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8468 (gdb-gud-context-command, gdb-non-stop-handler)
8469 (gdb-current-context-command, gdb-stopped): Use it.
8470 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8471 (gdb-non-stop-handler): Don't enable pretty-printing here.
8472 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8473 non-stop mode. Use the following.
8474 (gdb-check-target-async): New defun.
8475 (gud-watch, gdb-stopped): Fix whitespace.
8476 (gdb-get-source-file): Don't try to display the source file if
8477 `gdb-main-file' is nil.
8478
84792011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8480
8481 * align.el: Try to generate fewer markers (bug#10047).
8482 (align--set-marker): New macro.
8483 (align-region): Use it.
8484
c935221f
SM
84852011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8486
8487 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8488
e70b5064
CY
84892011-11-29 Chong Yidong <cyd@gnu.org>
8490
8491 * indent.el (indent-for-tab-command, indent-according-to-mode):
8492 Doc fix.
8493 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8494
f3af92b7
MA
84952011-11-29 Michael Albinus <michael.albinus@gmx.de>
8496
8497 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8498 aware of remote file names. (Bug#10124)
8499
ed472be9
CY
85002011-11-29 Chong Yidong <cyd@gnu.org>
8501
8502 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8503
24510c22
SM
85042011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8505
8506 * files.el (find-file): Don't use force-same-window (bug#10144).
8507 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8508 use pop-to-buffer if the selected window can't be used.
8509 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8510
c60c3703
EZ
85112011-11-28 Eli Zaretskii <eliz@gnu.org>
8512
8513 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8514 special-mode-map.
8515
e95def75
CY
85162011-11-28 Chong Yidong <cyd@gnu.org>
8517
8518 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8519
c3f1c606
NR
85202011-11-27 Nick Roberts <nickrob@snap.net.nz>
8521
8522 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8523 gdb-get-source-file-list on gdb-create-source-file-list.
8524
00db469c
EZ
85252011-11-26 Eli Zaretskii <eliz@gnu.org>
8526
8527 * whitespace.el (whitespace-newline): Use a different foreground
8528 color for 16-color light-background displays.
8529
4ad3bc2a
CY
85302011-11-24 Chong Yidong <cyd@gnu.org>
8531
8532 * window.el (display-buffer--special-action): Doc fix.
8533
e9fce1ac
JB
85342011-11-25 Juanma Barranquero <lekktu@gmail.com>
8535
8536 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8537 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8538 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8539 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8540 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8541 (avl-tree-stack-first):
8542 * emacs-lisp/cconv.el (cconv--analyse-use):
8543 * net/gnutls.el (gnutls-negotiate): Fix typos.
8544
cb825e5d
GM
85452011-11-24 Glenn Morris <rgm@gnu.org>
8546
3adbe224
GM
8547 * lpr.el (lpr-windows-system, lpr-lp-system):
8548 * mail/binhex.el (binhex-begin-line):
8549 * progmodes/grep.el (grep-history, grep-find-history):
8550 * textmodes/flyspell.el:
8551 * vc/pcvs-defs.el (cvs-global-menu):
8552 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8553 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8554 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8555
321decc8
GM
8556 * net/tls.el: Fix case of "GnuTLS".
8557
420b63ad
GM
8558 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8559
cb825e5d
GM
8560 * version.el (emacs-build-system): Give it a doc-string.
8561
a0649f08
JL
85622011-11-24 Juri Linkov <juri@jurta.org>
8563
8564 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8565
c0bc0fd4
GM
85662011-11-24 Glenn Morris <rgm@gnu.org>
8567
8568 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8569 if called on a non-mime message just toggle the headers. (Bug#8006)
8570
20db1522
JB
85712011-11-24 Juanma Barranquero <lekktu@gmail.com>
8572
8573 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8574 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8575 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8576 (allout-rebullet-heading, allout-open-sibtopic)
8577 (allout-toggle-current-subtree-encryption)
8578 (allout-toggle-subtree-encryption, allout-encrypt-string)
8579 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8580 (allout-distinctive-bullets-string, allout-auto-activation):
8581 * window.el (window-normalize-buffer-to-display):
8582 * progmodes/verilog-mode.el (verilog-batch-indent):
8583 * textmodes/bibtex.el (bibtex-field-braces-opt)
8584 (bibtex-field-strings-opt):
8585 * vc/cvs-status.el (cvs-tree-merge):
8586 Fix typos.
8587
7262a87c
MA
85882011-11-23 Michael Albinus <michael.albinus@gmx.de>
8589
8590 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8591 `non-essential' to t, in order to avoid remote connections.
8592
283430a1
EZ
85932011-11-23 Eli Zaretskii <eliz@gnu.org>
8594
a1beca85
SM
8595 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8596 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8597 case-insensitively.
8598
d2992a38
ML
85992011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8600
8601 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8602
50419064
GM
86032011-11-23 Glenn Morris <rgm@gnu.org>
8604
da94eca1
GM
8605 * paths.el (rmail-file-name): Reformat the doc-string so that it
8606 is picked up.
8607
9aac4de2
GM
8608 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8609 (rmail-auto-file): Ignore case in the "special" field names,
8610 as mail-fetch-field does for all others.
8611
8038d2d2
GM
8612 * mail/rmail.el (rmail-forward):
8613 * mail/rmailkwd.el (rmail-set-label):
8614 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8615 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8616
f3fe222a
GM
8617 * mail/rmail.el (rmail-current-message): Doc fix.
8618
50419064
GM
8619 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8620
28109f49
SM
86212011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8622
8623 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8624
394c65f1
GM
86252011-11-22 Glenn Morris <rgm@gnu.org>
8626
8627 * mail/rmailmm.el (test-rmail-mime-handler)
8628 (test-rmail-mime-bulk-handler)
8629 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8630
f2a0aa3a
JL
86312011-11-21 Juri Linkov <juri@jurta.org>
8632
1154d12e
JB
8633 * calc/calc.el (calc-read-key-sequence):
8634 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8635
9c34a344
LMI
86362011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8637
8638 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8639 Tell the caller that the next line needs recomputation, even
8640 though it doesn't start a sexp (bug#10094).
8641
f04a3be9
SM
86422011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8643
8644 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8645
7978747f
SM
86462011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8647
f04a3be9
SM
8648 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8649 Use force-same-window.
7978747f 8650
fe7a3057
JB
86512011-11-20 Juanma Barranquero <lekktu@gmail.com>
8652
8653 * descr-text.el (describe-char-unicode-data):
8654 * json.el (json-string-escape):
8655 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8656 (Footnote-unicode, Footnote-style-p):
8657 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8658
24901d61
CY
86592011-11-20 Chong Yidong <cyd@gnu.org>
8660
8661 * window.el (replace-buffer-in-windows): Restore interactive spec.
8662
bac7ff22
SM
86632011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8664
24f3d7b9
SM
8665 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8666
bac7ff22
SM
8667 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8668 (byte-compile-global-not-obsolete-vars): New var.
8669 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8670 Use it.
8671 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8672
cd1181db
JB
86732011-11-20 Juanma Barranquero <lekktu@gmail.com>
8674
8675 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8676 * progmodes/pascal.el (electric-pascal-equal):
8677 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8678 * xml.el (xml-substitute-special): Fix typos.
8679
7fb18e9e
GM
86802011-11-20 Glenn Morris <rgm@gnu.org>
8681
8682 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8683 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8684 Doc fixes.
8685 (rmail-decode-mime-charset): Mark as obsolete.
8686
8687 * mail/rmailsum.el (rmail-message-regexp-p-1):
8688 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8689 Before using mime functions, check they are set. (Bug#10077)
8690
d5a6b3ba
JL
86912011-11-19 Juri Linkov <juri@jurta.org>
8692
8693 * info.el (Info-finder-find-node): Use `package--builtins' instead
8694 of `package-alist'. Use node names formed by the pattern "Keyword "
8695 and the keyword name.
8696
e981b61f
AS
86972011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8698
1d00653d 8699 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8700
3ffbc301
JL
87012011-11-19 Juri Linkov <juri@jurta.org>
8702
8703 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8704 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8705 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8706 `old-history', `old-history-forward'. Add let-binding
8707 `window-selected'. Remove calls to `kill-buffer',
8708 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8709 before calling `Info-find-node', so `Info-find-node-2' will reread
8710 the Info file. Restore window positions only when `window-selected'
8711 is non-nil.
8712
30c62133
JL
87132011-11-19 Juri Linkov <juri@jurta.org>
8714
8715 * isearch.el (isearch-lazy-highlight-new-loop):
8716 Remove condition `(not isearch-error)'. (Bug#9918)
8717
8718 * misearch.el (multi-isearch-search-fun): Add condition
8719 `(not bound)' to ignore lazy-highlighting search.
8720 Add the search-failed message "end of multi" when the end of
8721 multi-sequence is reached. Uncapitalize the search-failed
8722 message "Repeat for next buffer".
8723
8724 * info.el (Info-search): Add the search-failed message
8725 "end of the manual" when the end of the manual is reached
8726 in Isearch mode.
8727
645ca9cf
JL
87282011-11-19 Juri Linkov <juri@jurta.org>
8729
8730 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8731 Use non-destructive `remove' instead of `delete' because
8732 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8733 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8734
df754f66
JL
87352011-11-19 Juri Linkov <juri@jurta.org>
8736
8737 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8738 to nil instead of binding `search-ring' and `regexp-search-ring'.
8739 (Bug#9185)
8740
0e23d96a
EZ
87412011-11-19 Eli Zaretskii <eliz@gnu.org>
8742
8743 * simple.el (line-move): Force movement by logical lines for any
8744 hscrolled window, not only when auto-hscroll-mode is on.
8745 (line-move-visual): Update doc string to that effect. (Bug#10076)
8746
8a6ccb66
AS
87472011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8748
8749 * language/european.el (macintosh): Define as alias for mac-roman.
8750
49ae5b39
EZ
87512011-11-19 Eli Zaretskii <eliz@gnu.org>
8752
8753 * mail/rmailmm.el (rmail-mime-display-header)
8754 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8755 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8756 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8757 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8758 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8759 of a raw aref.
8760 (rmail-mime-entity-segment): To get past the tagline, move forward
8761 2 more lines, to account for the 2 empty lines that precede and
8762 follow the line with the buttons.
8763 (rmail-mime-update-tagline): Move one more line, to get past the
8764 empty line that follows the buttons in the tagline. (Bug#9520)
8765
c56cad4a
MR
87662011-11-19 Martin Rudalics <rudalics@gmx.at>
8767
8768 * window.el (window-max-delta-1, window-min-delta-1)
8769 (window-min-size-1, window-state-get-1, window-state-put-1)
8770 (window-state-put-2): Use "window--" prefix.
8771
cbe71af3
SM
87722011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8773
2ad52c60
SM
8774 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8775 (smie-warning-count): New var.
8776 (smie-set-prec2tab): Use it.
8777 (smie-bnf->prec2): Improve warnings. Add docstring.
8778 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8779 (smie-bnf--set-class): New function.
8780 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8781 corner case.
8782
6944dbc1
SM
8783 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8784 (compilation-error-properties, compilation-move-to-column):
8785 Handle compilation-first-column while in the target buffer.
8786
c400c4d7
SM
8787 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8788 Don't hardcode point-min==1.
8789
6dbe3e96
SM
8790 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8791 (eshell-rewrite-for-command): Remove workaround.
8792 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8793 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8794 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8795
cbe71af3
SM
8796 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8797
a8e1496d
GM
87982011-11-17 Glenn Morris <rgm@gnu.org>
8799
8800 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8801 Ignore buffer-local generated-autoload-file if it is the same
8802 as the global value. (Bug#10049)
8803
df85d315
JB
88042011-11-17 Juanma Barranquero <lekktu@gmail.com>
8805
8806 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8807 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8808 (reftex-toc-previous-heading, reftex-toc-max-level)
8809 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8810 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8811 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8812 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8813 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8814 (reftex-toc-rename-label, reftex-toc-visit-location)
8815 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8816 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8817 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8818 leaving "*toc*" only for references to the buffer.
8819
a0c2d0ae
MR
88202011-11-17 Martin Rudalics <rudalics@gmx.at>
8821
8822 * window.el (window-resize, delete-window, split-window):
8823 Replace window-splits by window-combination-resize.
1d00653d 8824 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8825
35c0bac8
GM
88262011-11-17 Glenn Morris <rgm@gnu.org>
8827
8828 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8829 Make bash entry derive from sh entry, not shell entry.
8830
d0c8fc8a
MA
88312011-11-16 Michael Albinus <michael.albinus@gmx.de>
8832
7262a87c
MA
8833 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8834 local file name.
8835
7877f373
JB
88362011-11-16 Juanma Barranquero <lekktu@gmail.com>
8837
8838 * menu-bar.el (menu-bar-file-menu):
8839 * printing.el (pr-ps-utility):
8840 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8841 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8842 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8843 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8844 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8845 (icalendar--convert-cyclic-to-ical)
8846 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8847 (icalendar--convert-ical-to-diary)
8848 (icalendar--convert-recurring-to-diary)
8849 (icalendar--convert-non-recurring-all-day-to-diary)
8850 (icalendar-import-format-sample):
8851 * progmodes/idlw-shell.el (idlwave-shell-mode):
8852 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8853 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8854 (vhdl-ps-print-init): Fix typos.
8855
10649b82
KM
88562011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8857
9d0cfcd6
GM
8858 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8859 FSF and collapse date sequence, obscure author/maintainer email address
8860 better, remove extra version line, track relocation of author's webpage.
10649b82 8861
9d0cfcd6
GM
8862 * progmodes/python.el (python-pdbtrack-input-prompt)
8863 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8864 regular python pdb prompts. Adjustments shamelessly taken exactly as
8865 suggested in EmacsWiki page (tiny change):
8866 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8867
58179cce
JB
88682011-11-16 Juanma Barranquero <lekktu@gmail.com>
8869
8870 * expand.el (expand-pos, expand-index, expand-point):
8871 Remove redundant info from docstring.
8872 (expand-add-abbrevs): Doc fix.
8873 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8874 (expand-sample-perl-mode-expand-list): Fix typos.
8875
8876 * net/dbus.el (dbus-event-member-name):
8877 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8878 * term/pc-win.el (msdos-create-frame-with-faces):
8879 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8880
b6f67890
MR
88812011-11-16 Martin Rudalics <rudalics@gmx.at>
8882
8883 * window.el (split-window, window-state-get-1)
8884 (window-state-put-1, window-state-put-2): Rename occurrences of
8885 window-nest to window-combination-limit.
1d00653d 8886 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8887
ce7ddba0
CY
88882011-11-16 Chong Yidong <cyd@gnu.org>
8889
8890 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8891 regexp (Bug#10033).
8892
3ae704f4
SM
88932011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8894
8895 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8896 `completing-read' will remove *Completions* and will preserve
8897 current-buffer for us.
8898 (tmm-add-prompt): Users of *Completions* will always (re)set its
8899 major mode.
8900 (tmm-old-comp-map): Remove.
8901
6ad1cdde
GM
89022011-11-16 Glenn Morris <rgm@gnu.org>
8903
8904 * mail/rmailedit.el: Require rmailmm when compiling.
8905 (rmail-old-mime-state): New declaration.
8906 (rmail-edit-current-message): If editing a mime message,
8907 edit the "raw" message from the mbox buffer.
8908 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8909
d20faa20
GM
89102011-11-15 Glenn Morris <rgm@gnu.org>
8911
8912 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8913 which wasn't being used. Add optional arg to force given state.
8914 (rmail-mime): Add optional arg to force given state.
8915
c7015153
JB
89162011-11-15 Juanma Barranquero <lekktu@gmail.com>
8917
8918 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8919 * frame.el (display-mm-dimensions-alist):
8920 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8921 (outline-move-subtree-down):
8922 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8923 (newsticker--treeview-do-get-node):
8924 * net/quickurl.el (quickurl-list-buffer-name):
8925 * progmodes/dcl-mode.el (dcl-mode):
8926 * progmodes/gdb-mi.el (gdb-mapcar*):
8927 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8928
45261b50
GM
89292011-11-15 Glenn Morris <rgm@gnu.org>
8930
8931 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8932 in a boolean sense, so just make it a boolean, and fix the doc.
8933 (rmail-show-mime-function, rmail-mime-feature)
8934 (rmail-require-mime-maybe): Doc fixes.
8935 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8936
8937 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8938
0d26e0b6
JB
89392011-11-15 Juanma Barranquero <lekktu@gmail.com>
8940
8941 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8942 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8943 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8944 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8945
447f30f6
GM
89462011-11-15 Glenn Morris <rgm@gnu.org>
8947
672b871d
GM
8948 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8949 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8950 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8951 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8952 (rmail-mime, rmail-show-mime): Doc fixes.
8953
f6aa5bb1
GM
8954 * term/ns-win.el (mode-line-frame-identification):
8955 Leave it alone. (Bug#10051)
8956
947cd66b
GM
8957 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8958
447f30f6
GM
8959 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8960 Handle empty buffers. (Bug#9978)
8961
0b381c7e
JB
89622011-11-14 Juanma Barranquero <lekktu@gmail.com>
8963
8964 * international/mule.el (define-charset):
8965 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8966 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8967 * progmodes/verilog-mode.el (verilog-backward-token):
8968 * textmodes/ispell.el (lookup-words):
8969 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8970
71e027ac
GM
89712011-11-14 Glenn Morris <rgm@gnu.org>
8972
56632ce4
GM
8973 * progmodes/executable.el
8974 (executable-make-buffer-file-executable-if-script-p):
8975 Handle file-modes returning nil.
8976
40500957
GM
8977 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8978 message - not necessary, and causes problems. (Bug#9831)
8979
071c2340
GM
8980 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8981
d3cfca60
GM
8982 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8983
71e027ac
GM
8984 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8985 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8986 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8987
89d61221
MR
89882011-11-12 Martin Rudalics <rudalics@gmx.at>
8989
8990 * window.el (window-resize, delete-window): Use window-splits
8991 variable instead of function.
8992 (window-state-get-1, window-state-put-2, window-state-put):
8993 Don't deal with windows' splits status.
8994
98282f6f
GM
89952011-11-12 Glenn Morris <rgm@gnu.org>
8996
8997 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8998 (apropos-documentation): Doc fixes.
8999
40a8bdf6
JB
90002011-11-11 Juanma Barranquero <lekktu@gmail.com>
9001
9002 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
9003 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
9004
65bd19ff
SM
90052011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
9006
9007 * electric.el (electric-indent-post-self-insert-function): Make it
9008 possible for a char to only indent in some circumstances.
9009 (electric-indent-mode): Simplify.
9010
54f9154c
MR
90112011-11-11 Martin Rudalics <rudalics@gmx.at>
9012
9013 * window.el (windows-with-parameter): Remove unused function.
9014 (windows-at-side): Rename to window-at-side-list.
9015 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
9016 (window-side-check, window-size-ignore, window-size-fixed-1)
9017 (window-in-direction-2): Prefix with "window--".
9018 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 9019
68cbc58b
GM
90202011-11-11 Glenn Morris <rgm@gnu.org>
9021
9022 * subr.el (eval-after-load): If FILE is already loaded,
9023 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
9024
b2621720
GM
90252011-11-10 Glenn Morris <rgm@gnu.org>
9026
9a4de110
GM
9027 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
9028 Call svn via vc-svn-command rather than vc-do-command.
9029 (vc-svn-command): Add --non-interactive. (Bug#9993)
9030 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
9031
b2621720
GM
9032 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
9033 Add toggle-read-only. (Bug#7292)
9034 * files.el (toggle-read-only): Mention that it should only
9035 be used interactively. (Bug#10006)
9036
1dce7193
SM
90372011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
9038
d9ac1a1e
SM
9039 * progmodes/compile.el (compilation-error-regexp-alist-alist):
9040 Adjust regexp for OCaml warnings.
9041
0c325082
SM
9042 * electric.el (electric-pair-post-self-insert-function): Let user
9043 turn it off buffer-locally (bug#9932).
9044
90132c14
SM
9045 * progmodes/python.el (python-beginning-of-statement):
9046 Rewrite (bug#2703).
9047
1dce7193
SM
9048 * progmodes/compile.el: Better handle TABs (bug#9749).
9049 (compilation-internal-error-properties)
9050 (compilation-next-error-function): Obey the target buffer's
9051 compilation-error-screen-columns.
9052
c4e7c63a
JB
90532011-11-09 Juanma Barranquero <lekktu@gmail.com>
9054
9055 * progmodes/meta-mode.el: Remove obsolete comments.
9056 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9057 Fix typos in docstrings.
9058
2cffd681
MR
90592011-11-09 Martin Rudalics <rudalics@gmx.at>
9060
9061 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9062 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9063 (window--resizable): New function. Make all callers of
9064 window-resizable call window--resizable instead.
9065 (window-resizable): Rewrite in terms of window--resizable.
9066
0edcba87
GM
90672011-11-08 Glenn Morris <rgm@gnu.org>
9068
9069 * progmodes/delphi.el (delphi-mode-syntax-table):
9070 Let define-derived-mode define a proper syntax table. (Bug#9994)
9071
4b0d61e3
SM
90722011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * window.el: Stay away from defsubst.
9075 (window-list-no-nils): Remove.
9076 (window-state-get-1, window-state-get): Use backquote instead.
9077
cd394be1 90782011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9079
4b0d61e3 9080 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9081 Fix incorrect use of default argument in `completing-read'.
9082
e1c2c6f2
MR
90832011-11-08 Martin Rudalics <rudalics@gmx.at>
9084
9085 * window.el (display-buffer-function, special-display-function):
9086 Mention display-buffer-record-window but do not mention
9087 help-setup parameter in doc-strings.
b3f4a882 9088 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9089
105216ed
CY
90902011-11-08 Chong Yidong <cyd@gnu.org>
9091
9092 * window.el (window-total-height, window-total-width): Doc fix.
9093 (window-body-size): Move from C.
9094 (window-body-height, window-body-width): Move to C.
9095
0a9f9ab5
SM
90962011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9097
9098 * window.el: Make special-display like display-buffer-alist (bug#9532).
9099 (display-buffer--special-action): New function, morphed
9100 from display-buffer--special.
9101 (display-buffer): Use it to handle special-display-buffers at higher
9102 priority (just after display-buffer-alist).
9103 (display-buffer-fallback-action, display-buffer--other-frame-action)
9104 (pop-to-buffer-same-window): Remove display-buffer--special.
9105
a769dd15
GM
91062011-11-07 Glenn Morris <rgm@gnu.org>
9107
9108 * calendar/cal-menu.el (cal-menu-set-date-title):
9109 Do nothing if not in a calendar. (Bug#9976)
9110
05a61ee3
SM
91112011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9112
9113 * files.el (find-file): Always use selected-window.
9114
be7f5545
MR
91152011-11-07 Martin Rudalics <rudalics@gmx.at>
9116
9117 * window.el (window-combinations): Make WINDOW argument
9118 mandatory. Rewrite doc-string.
9119 (walk-window-subtree, window-atom-check, window-min-delta)
9120 (window-max-delta, window--resize-this-window)
9121 (window--resize-root-window-vertically, window-tree)
9122 (balance-windows, window-state-put): Rewrite doc-strings as to
9123 not mention the term "subwindow".
9124 (window--resize-subwindows-skip-p): Rename to
9125 window--resize-child-windows-skip-p.
9126 (window--resize-subwindows-normal): Rename to
9127 window--resize-child-windows-normal.
9128 (window--resize-subwindows): Rename to
9129 window--resize-child-windows.
9130 (window-or-subwindow-p): Rename to window--in-subtree-p.
9131
3c6702ef
ML
91322011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9133
9134 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9135 Ensure that mbox format messages end in two newlines (Bug#9974).
9136
49745b39
CY
91372011-11-06 Chong Yidong <cyd@gnu.org>
9138
9139 * window.el (window-combination-p): Function deleted; its
9140 side-effect is not used in any existing code.
9141 (window-combinations, window-combined-p): Call window-*-child
9142 directly.
9143
24300f5f
CY
91442011-11-05 Chong Yidong <cyd@gnu.org>
9145
9146 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9147 (window-size-ignore, window-state-get): Callers changed.
9148 (window-normalize-window): Rename from window-normalize-any-window.
9149 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9150 (window-normalize-live-window): Delete.
447f16b8
CY
9151 (window-combination-p, window-combined-p, window-combinations)
9152 (walk-window-subtree, window-atom-root, window-min-size)
9153 (window-sizable, window-sizable-p, window-size-fixed-p)
9154 (window-min-delta, window-max-delta, window-resizable)
9155 (window-resizable-p, window-full-height-p, window-full-width-p)
9156 (window-current-scroll-bars, window-point-1, set-window-point-1)
9157 (window-at-side-p, window-in-direction, window-resize)
9158 (adjust-window-trailing-edge, maximize-window, minimize-window)
9159 (window-deletable-p, delete-window, delete-other-windows)
9160 (record-window-buffer, unrecord-window-buffer)
9161 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9162 (quit-window, split-window, window-state-put)
9163 (set-window-text-height, fit-window-to-buffer)
9164 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9165
89bd5ee1
EZ
91662011-11-04 Eli Zaretskii <eliz@gnu.org>
9167
53479029
EZ
9168 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9169 rfc2047-decode-string.
9170 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9171 warnings.
9172
89bd5ee1
EZ
9173 * window.el (window-body-height, window-body-width): Mention in
9174 the doc string that the return values are in frame's canonical
9175 units. (Bug#9949)
9176
bd17fdee
AM
91772011-11-03 Alan Mackenzie <acm@muc.de>
9178
9179 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9180 change in cc-engine.el.
9181
acc825c5
SM
91822011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9183
9184 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9185
1885e5b8
MR
91862011-11-02 Martin Rudalics <rudalics@gmx.at>
9187
9188 * window.el (quit-window): Call unrecord-window-buffer after
9189 showing another buffer in the window. (Bug#9937)
acc825c5 9190 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9191
ebe06da9
JB
91922011-11-02 Juanma Barranquero <lekktu@gmail.com>
9193
9194 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9195 Accept status with more than 9 shelves. (Bug#9935)
9196 Reported by Colin D Bennett <colin@gibibit.com>.
9197
4ee88440
MR
91982011-11-01 Martin Rudalics <rudalics@gmx.at>
9199
9200 * help.el (with-help-window): Don't reference
9201 temp-buffer-show-specifiers in doc-string.
9202
08e1d82c
AS
92032011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9204
9205 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9206 menu-item.
9207
84bd6e9e
VJL
92082011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9209
9210 * whitespace.el: New version 13.2.2.
9211 (whitespace-newline-mode): Disable properly. Reported by Sarah
9212 <EmacsWiki>.
9213
dba0634a
UJ
92142011-10-30 Ulf Jasper <ulf.jasper@web.de>
9215
9216 * net/newst-treeview.el: Remove "Time-stamp".
9217 (newsticker--group-manage-orphan-feeds): Do not call
9218 newsticker--treeview-tree-update.
db22a3c2
JB
9219 (newsticker-treeview-update, newsticker-treeview):
9220 Call newsticker--treeview-tree-update if necessary.
dba0634a 9221
3d8daefe
MR
92222011-10-30 Martin Rudalics <rudalics@gmx.at>
9223
9224 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9225 (window-iso-combinations): Remove "iso-" infix.
9226 Suggested by Chong Yidong.
3d8daefe
MR
9227 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9228 (window-max-delta-1, window-resize, window--resize-siblings)
9229 (window--resize-this-window, adjust-window-trailing-edge)
9230 (split-window, balance-windows-1)
9231 (shrink-window-if-larger-than-buffer):
9232 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9233 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9234
1bc4c3ae
SM
92352011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9236
9237 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9238 in place (bug#9907).
9239 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9240 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9241 (eshell-structure-basic-command, eshell-rewrite-while-command)
9242 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9243 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9244 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9245 (eshell-do-pipelines-synchronously, eshell-eval-command):
9246 Use backquotes and prefer setq to set.
9247 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9248 (eshell-macrop): Use functionp.
c1e2f5fa 9249 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9250
30b65d9c
CY
92512011-10-30 Chong Yidong <cyd@gnu.org>
9252
9253 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9254 instead of set-mark (Bug#9810).
9255
2d197ffb
CY
92562011-10-30 Chong Yidong <cyd@gnu.org>
9257
9258 * window.el (split-window-below, split-window-right): Rename from
9259 split-window-above-each-other and split-window-side-by-side
9260 respectively. All callers changed.
9261 (split-window-sensibly, split-window-sensibly): Use them.
9262 (split-window-keep-point): Doc fix.
9263
9264 * isearch.el: Add isearch-scroll property to split-window-below
9265 and split-window-right.
9266
9267 * follow.el (follow-mode):
9268 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9269 * progmodes/ada-xref.el (ada-gdb-application):
9270 * emulation/vip.el (vip-buffer-in-two-windows):
9271 * image-dired.el (image-dired-dired-with-window-configuration):
9272 * dired-x.el (dired-do-find-marked-files):
9273 * dired.el (dired-pop-to-buffer):
9274 * bs.el (bs--show-with-configuration):
9275 * vc/emerge.el (emerge-setup-windows):
9276 * textmodes/two-column.el (2C-two-columns):
9277 * textmodes/reftex-toc.el (reftex-toc):
9278 * progmodes/gdb-mi.el (gdb-setup-windows):
9279 * progmodes/fortran.el (fortran-window-create):
9280 * net/newst-treeview.el (newsticker--treeview-window-init):
9281 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9282 * emulation/tpu-edt.el (tpu-gold-map):
9283 * emulation/crisp.el (crisp-mode-map):
9284 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9285
38bb2ca8
CY
92862011-10-29 Chong Yidong <cyd@gnu.org>
9287
aa4de341
CY
9288 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9289
e1eb5385
CY
9290 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9291
5d2ece3c
CY
9292 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9293 forged Ispell output (Bug#7904).
9294
38bb2ca8
CY
9295 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9296
d0af9f77
SM
92972011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9298
9299 * doc-view.el: Avoid ugly errors about not finding nil.
9300 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9301 (doc-view-dvipdf-program, doc-view-unoconv-program)
9302 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9303 Avoid nil or absolute file name as default value.
9304 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9305
52bedd34
AM
93062011-10-28 Alan Mackenzie <acm@muc.de>
9307
db22a3c2 9308 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9309
7e43cfa5
AM
93102011-10-28 Alan Mackenzie <acm@muc.de>
9311
9312 Amend the handling of c-beginning/end-of-defun in nested declaration
9313 scopes.
9314
52bedd34
AM
9315 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9316 cc-langs.el. Change it to a defcustom.
7e43cfa5 9317
52bedd34
AM
9318 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9319 cc-vars.el.
7e43cfa5 9320
d0af9f77
SM
9321 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9322 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9323
52bedd34 9324 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9325 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9326 (c-widen-to-enclosing-decl-scope): New function.
9327 (c-while-widening-to-decl-block): New macro.
9328 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9329 outward for defun boundaries, and correspondingly change symbol
9330 `respect-enclosure' to `go-outward'.
9331 (c-declaration-limits): Change algorithm to report only the "innermost"
9332 defun's boundaries.
9333
1a2ce9ee
DD
93342011-10-28 Deniz Dogan <deniz@dogan.se>
9335
9336 * net/rcirc.el (rcirc-mode): Use hard newlines.
9337
bc97a826
AM
93382011-10-28 Alan Mackenzie <acm@muc.de>
9339
9340 Amend to indent and fontify macros "which include their own semicolon"
9341 correctly, using the "virtual semicolon" mechanism.
9342
52bedd34 9343 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9344
d0af9f77 9345 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9346 Recode to scan one line at a time rather than having \n and \r
58179cce 9347 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9348 (c-forward-label): Amend for virtual semicolons.
58179cce 9349 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9350
52bedd34
AM
9351 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9352 of the new C macros.
bc97a826 9353
52bedd34 9354 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9355 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9356 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9357 (c-opt-cpp-macro-define): Make into a full language variable.
9358 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9359 AWK Mode (including \n, \r) removed, no longer needed.
9360
d0af9f77
SM
9361 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9362 Invoke c-make-macro-with-semi-re.
bc97a826 9363
52bedd34
AM
9364 * progmodes/cc-vars.el (c-macro-with-semi-re):
9365 (c-macro-names-with-semicolon): New variables.
58179cce 9366 (c-make-macro-with-semi-re): New function.
bc97a826 9367
7a6c0941
SM
93682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9369
9370 * vc/log-edit.el: Fill empty field rather than adding new one.
9371 (log-edit-add-field): New function.
9372 (log-edit-insert-changelog): Use it.
9373
b0c4cdcf
ML
93742011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9375
9376 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9377
ee1f1da9
SM
93782011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9379
9380 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9381 (gdb--check-interpreter): New function.
9382 (gdb): Use it.
9383
51bc5f8b
GM
93842011-10-27 Glenn Morris <rgm@gnu.org>
9385
416a2c45
GM
9386 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9387 (least-positive-float, least-negative-float)
9388 (least-positive-normalized-float, least-negative-normalized-float)
9389 (float-epsilon, float-negative-epsilon):
9390 Remove unnecessary declarations.
9391
9392 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9393 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9394 (least-positive-float, least-negative-float)
9395 (least-positive-normalized-float, least-negative-normalized-float)
9396 (float-epsilon, float-negative-epsilon): Add doc-strings,
9397 based on those in cl.texi.
9398
51bc5f8b
GM
9399 * files.el (set-visited-file-name): If the major-mode changed,
9400 reload the local variables. (Bug#9796)
9401
15de15c6
CY
94022011-10-27 Chong Yidong <cyd@gnu.org>
9403
9404 * subr.el (change-major-mode-after-body-hook): New hook.
9405 (run-mode-hooks): Run it.
9406
ee1f1da9
SM
9407 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9408 Use change-major-mode-before-body-hook.
15de15c6
CY
9409
9410 * simple.el (fundamental-mode):
9411 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9412 change introducing fundamental-mode-hook.
9413
5430d399
JB
94142011-10-26 Juanma Barranquero <lekktu@gmail.com>
9415
acc825c5 9416 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9417
ad74a69e
MA
94182011-10-26 Michael Albinus <michael.albinus@gmx.de>
9419
9420 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9421 tramp.el explicitly. (Bug#7583)
ad74a69e 9422
71d4c2a5
SM
94232011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9424
9425 * progmodes/octave-mod.el:
9426 * progmodes/octave-inf.el: Update maintainer.
9427
b1f6fa26
CY
94282011-10-26 Chong Yidong <cyd@gnu.org>
9429
9430 * subr.el (with-wrapper-hook): Rewrite doc.
9431
3f04efd6
MA
94322011-10-25 Michael Albinus <michael.albinus@gmx.de>
9433
9434 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9435 filenames "/method:foo:". (Bug#9793)
3f04efd6 9436
410488d3
SM
94372011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9438
9439 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9440 (bug#9865).
9441
c1ebb47e
GM
94422011-10-24 Glenn Morris <rgm@gnu.org>
9443
9444 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9445
7f5c46c7
MA
94462011-10-24 Michael Albinus <michael.albinus@gmx.de>
9447
9448 * notifications.el: Add the requirement of a running D-Bus session
9449 bus to the Commentary.
9450
db2440b6
JL
94512011-10-24 Juri Linkov <juri@jurta.org>
9452
9453 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9454 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9455 (Bug#9364)
9456
feecf435
JL
94572011-10-24 Juri Linkov <juri@jurta.org>
9458
9459 * info.el (Info-following-node-name-re): Add newline to the list
9460 of allowed characters for leading space. (Bug#9824)
9461
a3839de2
SM
94622011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9463
acc825c5
SM
9464 * progmodes/octave-inf.el (inferior-octave-mode-map):
9465 Fix C-c C-h binding.
a3839de2
SM
9466 * progmodes/octave-mod.el (octave-help): Remove.
9467
09388e76
MA
94682011-10-23 Michael Albinus <michael.albinus@gmx.de>
9469
9470 Sync with Tramp 2.2.3.
9471
9472 * net/tramp-cache.el (top): Pacify byte-compiler using
9473 `init-file-user' and `site-run-file'.
9474
9475 * net/trampver.el: Update release number.
9476
86c60681
CY
94772011-10-23 Chong Yidong <cyd@gnu.org>
9478
9479 * files.el (toggle-read-only): Remove obsolete comment about
9480 version control.
9481
9482 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9483 for toggle-read-only. Note that this hasn't called vc-next-action
9484 since 2008-05-02, though it wasn't documented at the time.
9485
a3839de2
SM
9486 * vc/ediff-init.el (ediff-toggle-read-only-function):
9487 Use toggle-read-only.
86c60681 9488
cd5495ff
AM
94892011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9490
9491 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9492 of c-parse-state.
9493
00b77525 9494 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9495 correct faulty logical expression.
cd5495ff
AM
9496 (c-parse-state-state, c-record-parse-state-state):
9497 (c-replay-parse-state-state): New defvar/defuns.
9498 (c-debug-parse-state): Use new functions.
9499
42ee24ed
MR
95002011-10-22 Martin Rudalics <rudalics@gmx.at>
9501
9502 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9503 last fix. Use window-in-direction correctly.
42ee24ed 9504
a7dee7e7
CY
95052011-10-21 Chong Yidong <cyd@gnu.org>
9506
9507 * progmodes/idlwave.el (idlwave-mode):
9508 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9509 require-final-newline; that's done in prog-mode.
9510 Suggested by Stefan Monnier.
a7dee7e7 9511
e07b9a6d
MR
95122011-10-21 Martin Rudalics <rudalics@gmx.at>
9513
9514 * mouse.el (mouse-drag-window-above)
9515 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9516 (mouse-drag-mode-line-1, mouse-drag-header-line)
9517 (mouse-drag-vertical-line-rightward-window): Remove.
9518 (mouse-drag-line): New function.
9519 (mouse-drag-mode-line, mouse-drag-header-line)
9520 (mouse-drag-vertical-line): Call mouse-drag-line.
9521 * window.el (window-at-side-p, windows-at-side): New functions.
9522
7e1361d9
UM
95232011-10-21 Ulrich Mueller <ulm@gentoo.org>
9524
9525 * tar-mode.el (tar-grind-file-mode):
9526 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9527
30fcaf3a
CY
95282011-10-21 Chong Yidong <cyd@gnu.org>
9529
9530 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9531 * progmodes/vera-mode.el (vera-mode):
9532 Use mode-require-final-newline.
30fcaf3a 9533
516eddb0
GM
95342011-10-20 Glenn Morris <rgm@gnu.org>
9535
db22a3c2 9536 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9537
10d5f513
CS
95382011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9539
9540 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9541
ac6c8639
CY
95422011-10-20 Chong Yidong <cyd@gnu.org>
9543
9544 * emulation/cua-base.el (cua-mode):
9545 * mail/footnote.el (footnote-mode):
9546 * mail/mailabbrev.el (mail-abbrevs-mode):
9547 * net/xesam.el (xesam-minor-mode):
9548 * progmodes/bug-reference.el (bug-reference-mode):
9549 * progmodes/cap-words.el (capitalized-words-mode):
9550 * progmodes/compile.el (compilation-minor-mode)
9551 (compilation-shell-minor-mode):
9552 * progmodes/gud.el (gud-tooltip-mode):
9553 * progmodes/hideif.el (hide-ifdef-mode):
9554 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9555 * progmodes/subword.el (subword-mode):
9556 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9557 * progmodes/which-func.el (which-function-mode):
9558 * term/tvi970.el (tvi970-set-keypad-mode):
9559 * term/vt100.el (vt100-wide-mode):
9560 * textmodes/flyspell.el (flyspell-mode):
9561 * textmodes/ispell.el (ispell-minor-mode):
9562 * textmodes/nroff-mode.el (nroff-electric-mode):
9563 * textmodes/paragraphs.el (use-hard-newlines):
9564 * textmodes/refill.el (refill-mode):
9565 * textmodes/reftex.el (reftex-mode):
9566 * textmodes/rst.el (rst-minor-mode):
9567 * textmodes/sgml-mode.el (html-autoview-mode)
9568 (sgml-electric-tag-pair-mode):
9569 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9570 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9571 * emulation/crisp.el (crisp-mode):
9572 * emacs-lisp/eldoc.el (eldoc-mode):
9573 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9574 minor mode behavior.
9575
aa42ab43
JL
95762011-10-19 Juri Linkov <juri@jurta.org>
9577
9578 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9579 the list of hard-coded chars with escape-glyph face.
9580
89400f1d
SM
95812011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9582
9583 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9584
305c07f6
MA
95852011-10-19 Michael Albinus <michael.albinus@gmx.de>
9586
9587 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9588 running process.
9589
13754b54
GM
95902011-10-19 Glenn Morris <rgm@gnu.org>
9591
9592 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9593 Ignore ignored files. (Bug#9726)
9594
06e21633
CY
95952011-10-19 Chong Yidong <cyd@gnu.org>
9596
9597 Doc fix for minor modes, stating that an omitted argument enables
9598 the mode unconditionally when called from Lisp.
9599
9600 * abbrev.el (abbrev-mode):
9601 * allout.el (allout-mode):
9602 * autoinsert.el (auto-insert-mode):
9603 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9604 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9605 (global-auto-revert-mode):
9606 * battery.el (display-battery-mode):
9607 * composite.el (global-auto-composition-mode)
9608 (auto-composition-mode):
9609 * delsel.el (delete-selection-mode):
9610 * desktop.el (desktop-save-mode):
9611 * dired-x.el (dired-omit-mode):
9612 * dirtrack.el (dirtrack-mode):
9613 * doc-view.el (doc-view-minor-mode):
9614 * double.el (double-mode):
9615 * electric.el (electric-indent-mode, electric-pair-mode):
9616 * emacs-lock.el (emacs-lock-mode):
9617 * epa-hook.el (auto-encryption-mode):
9618 * follow.el (follow-mode):
9619 * font-core.el (font-lock-mode):
9620 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9621 * help.el (temp-buffer-resize-mode):
9622 * hilit-chg.el (highlight-changes-mode)
9623 (highlight-changes-visible-mode):
9624 * hi-lock.el (hi-lock-mode):
9625 * hl-line.el (hl-line-mode, global-hl-line-mode):
9626 * icomplete.el (icomplete-mode):
9627 * ido.el (ido-everywhere):
9628 * image-file.el (auto-image-file-mode):
9629 * image-mode.el (image-minor-mode):
9630 * iswitchb.el (iswitchb-mode):
9631 * jka-cmpr-hook.el (auto-compression-mode):
9632 * linum.el (linum-mode):
9633 * longlines.el (longlines-mode):
9634 * master.el (master-mode):
9635 * mb-depth.el (minibuffer-depth-indicate-mode):
9636 * menu-bar.el (menu-bar-mode):
9637 * minibuf-eldef.el (minibuffer-electric-default-mode):
9638 * mouse-sel.el (mouse-sel-mode):
9639 * msb.el (msb-mode):
9640 * mwheel.el (mouse-wheel-mode):
9641 * outline.el (outline-minor-mode):
9642 * paren.el (show-paren-mode):
9643 * recentf.el (recentf-mode):
9644 * reveal.el (reveal-mode, global-reveal-mode):
9645 * rfn-eshadow.el (file-name-shadow-mode):
9646 * ruler-mode.el (ruler-mode):
9647 * savehist.el (savehist-mode):
9648 * scroll-all.el (scroll-all-mode):
9649 * scroll-bar.el (scroll-bar-mode):
9650 * server.el (server-mode):
9651 * shell.el (shell-dirtrack-mode):
9652 * simple.el (auto-fill-mode, transient-mark-mode)
9653 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9654 (line-number-mode, column-number-mode, size-indication-mode)
9655 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9656 * strokes.el (strokes-mode):
9657 * time.el (display-time-mode):
9658 * t-mouse.el (gpm-mouse-mode):
9659 * tool-bar.el (tool-bar-mode):
9660 * tooltip.el (tooltip-mode):
9661 * type-break.el (type-break-mode-line-message-mode)
9662 (type-break-query-mode):
9663 * view.el (view-mode):
9664 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9665 (global-whitespace-mode, global-whitespace-newline-mode):
9666 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9667
a3839de2
SM
9668 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9669 Fix autogenerated docstring.
06e21633 9670
5214e501
JL
96712011-10-19 Juri Linkov <juri@jurta.org>
9672
9673 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9674 by checking environment variables "DESKTOP_SESSION" and
9675 "XDG_CURRENT_DESKTOP". (Bug#9779)
9676
195f8db9
JL
96772011-10-19 Juri Linkov <juri@jurta.org>
9678
9679 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9680 (browse-url-chromium-program, browse-url-chromium-arguments):
9681 New defcustoms.
9682 (browse-url-default-browser): Check for `browse-url-chromium' and
9683 call `browse-url-chromium-program'.
9684 (browse-url-chromium): New command. (Bug#9779)
9685
343a34ff
JB
96862011-10-18 Juanma Barranquero <lekktu@gmail.com>
9687
9688 * facemenu.el (list-colors-duplicates): On Windows, detect more
9689 duplicates by assuming that only colors matching "^System" are
9690 special "system colors". (Bug#9722)
9691
6978a151
SM
96922011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9693
9694 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9695 to distinguish the author from the committer.
9696
6a80b297
MA
96972011-10-18 Michael Albinus <michael.albinus@gmx.de>
9698
9699 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9700
b31a5677
JK
97012011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9702
9703 * international/mule.el (sgml-html-meta-auto-coding-function):
9704 Add support for detecting encoding in HTML5 specified only as
9705 <meta charset="UTF-8">. Implementation just makes http-equiv and
9706 content-type parts from HTML4 encoding string optional. (Bug#9716)
9707
80c6d77f
GM
97082011-10-18 Glenn Morris <rgm@gnu.org>
9709
9710 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9711
08b0fee8
CY
97122011-10-18 Chong Yidong <cyd@gnu.org>
9713
9714 * faces.el (cursor): Doc fix.
9715
67e729a5
CY
97162011-10-17 Chong Yidong <cyd@gnu.org>
9717
9718 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9719
343a34ff 97202011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9721
9722 * dirtrack.el (dirtrack): Support shell buffers with path
9723 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9724
0bc06380
TZ
97252011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9726
9727 * json.el: Bump version to 1.3 and note change in History.
9728 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9729
8b79f3e0
SM
97302011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9731
5a7c536b
SM
9732 * comint.el (comint-insert-input, comint-send-input)
9733 (comint-get-old-input-default, comint-backward-matching-input)
9734 (comint-next-prompt): Use nil instead of `input' for field property of
9735 past user input (bug#114).
9736
96a8a0df
SM
9737 * minibuffer.el (completion--replace): Inherit surrounding properties
9738 (bug#114).
9739 (minibuffer-complete-and-exit): Use it.
9740
8b79f3e0
SM
9741 * comint.el (comint--table-subvert): Quote the all-completions output
9742 (bug#9160).
9743
b8f7ff0d
MR
97442011-10-17 Martin Rudalics <rudalics@gmx.at>
9745
8b79f3e0 9746 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9747
b8f7ff0d 9748 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9749 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9750 entries and separate them from frame entries.
9751
c235b555
GM
97522011-10-15 Glenn Morris <rgm@gnu.org>
9753
9754 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9755 Doc fixes.
9756
6bbfa6e1
CY
97572011-10-15 Chong Yidong <cyd@stupidchicken.com>
9758
8b79f3e0
SM
9759 * net/network-stream.el (network-stream-open-starttls):
9760 Improve detection of failure due to lack of TLS support.
ec5c990d 9761
6bbfa6e1
CY
9762 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9763 putting the input text in front and in bold.
9764
98488977
SM
97652011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9766
3d1337be
SM
9767 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9768
ee0b45e4
SM
9769 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9770 empty buffer.
9771
98488977
SM
9772 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9773 unread-command-events rather than pushing yet-another event.
9774
186f4720
EZ
97752011-10-14 Eli Zaretskii <eliz@gnu.org>
9776
9777 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9778 the explanation of the possible choices. Make the options passed
9779 to completing-read shorter.
9780
8b7a997c
AM
97812011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9782
9783 * textmodes/flyspell.el (flyspell-large-region): Make sure
9784 extended character mode is used if defined (Bug#1339).
9785
12587bbb
EZ
97862011-10-13 Eli Zaretskii <eliz@gnu.org>
9787
9788 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9789 character info for LRE, LRO, RLE, and RLO characters by appending
9790 an invisible PDF.
12587bbb 9791
bad41229
SM
97922011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9793
9794 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9795 even in case of error; add debug spec; simplify data flow.
9796 (with-timeout-handler): Remove.
9797
28dbc92f
MA
97982011-10-12 Michael Albinus <michael.albinus@gmx.de>
9799
9800 Fix Bug#6019, Bug#9315.
9801
9802 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9803 complete `buffer-file-name', the local file name part could look
9804 remotely (for example on VMS).
9805
9806 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9807 `tramp-run-real-handler'.
9808 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9809 already quoted by '"'.
9810
9811 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9812 Let `file-name-handler-alist' be nil, the local file name part
9813 could look remotely (for example on VMS).
9814
e1b0b23a
SM
98152011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9816
9817 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9818 from here...
9819 (flyspell-post-command-hook): ...to here.
9820
a120bde9
SM
98212011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9822
9823 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9824 if not needed.
9825 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9826 using completion. Protect against "slow" callers.
9827 Remove the "message hack".
9828
7ce7717b
JL
98292011-10-11 Juri Linkov <juri@jurta.org>
9830
9831 * isearch.el (isearch-lazy-highlight-word): New variable.
9832 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9833 Use it. (Bug#9727)
9834
c02ee9d6
GM
98352011-10-11 Glenn Morris <rgm@gnu.org>
9836
9837 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9838 like f90-previous-statement does.
9839
93e616fd 98402011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9841
1f190e73 9842 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9843 only in interactive use, to avoid error.
9844
af7b6078
SM
98452011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * minibuffer.el (completion-file-name-table): Fix last change,
9848 i.e. ignore normal errors but not the other ones.
9849
0563dae9
MR
98502011-10-10 Martin Rudalics <rudalics@gmx.at>
9851
9852 * window.el (special-display-buffer-names)
9853 (special-display-regexps): Remove some remnants of earlier
9854 changes from doc-strings.
366ca7f3
MR
9855 (quit-windows-on): New function.
9856
9857 * vc/vc.el (vc-revert, vc-rollback):
9858 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9859 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9860 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9861
49677495
MR
98622011-10-09 Martin Rudalics <rudalics@gmx.at>
9863
9864 * window.el (frame-auto-hide-function): Add version tag.
9865 (Bug#9699)
9866
56f2d1e1
MA
98672011-10-09 Michael Albinus <michael.albinus@gmx.de>
9868
9869 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9870 condition.
9871
112a6592
LL
98722011-10-09 Leo Liu <sdl.web@gmail.com>
9873
9874 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9875 (Bug#9701)
9876
0812589b
GM
98772011-10-08 Glenn Morris <rgm@gnu.org>
9878
9879 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9880 before the first code statement zero indent. (Bug#9690)
9881
b2b0776e
CY
98822011-10-08 Chong Yidong <cyd@stupidchicken.com>
9883
9884 * simple.el (count-words-region): Always count in the region.
9885 Report the number of lines and characters too.
9886 (count-words): New command, which counts in the buffer if the
9887 region is inactive, as count-words-region used to.
9888 (count-words--message): New function. Handle plurals.
9889 (count-lines-region): Make it an alias for count-words-region.
9890
9891 * bindings.el (esc-map): Replace count-lines-region with
9892 count-words-region.
9893
c557cd6b
MR
98942011-10-08 Martin Rudalics <rudalics@gmx.at>
9895
9896 * window.el (window--delete): Delete dedicated frame
9897 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9898 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9899
61a57ef4 99002011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9901
3a7d293b 9902 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9903
c3833279
CY
99042011-10-07 Chong Yidong <cyd@stupidchicken.com>
9905
9906 * bindings.el ([M-left],[M-right]): Bind to left-word and
9907 right-word respectively.
9908
21ce8245
GM
99092011-10-07 Glenn Morris <rgm@gnu.org>
9910
9911 * cus-start.el (debug-on-quit): Fix custom type.
9912
6d823bb2
LMI
99132011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9914
0181e193
LMI
9915 * subr.el (define-key-after): Clarify that the function is not
9916 useful for non-menu keymaps.
9917
6d823bb2
LMI
9918 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9919
8e3459ce 99202011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9921
21ce8245 9922 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9923 in current minibuffer (Fix bug with recursive minibuffers).
9924
a1c2d21e
CY
99252011-10-06 Chong Yidong <cyd@stupidchicken.com>
9926
9927 * progmodes/gdb-mi.el (gdb): Doc fix.
9928
5a4cf282
MR
99292011-10-05 Martin Rudalics <rudalics@gmx.at>
9930
9931 * window.el (frame-auto-hide-function): New option replacing
9932 frame-auto-delete. Suggested by Stefan Monnier.
9933 (window--delete): Call frame-auto-hide-function instead of
9934 investigating frame-auto-delete.
c96111ea
MR
9935 (window-point-1, set-window-point-1): New functions.
9936 (window-in-direction, record-window-buffer, window-state-get-1)
9937 (display-buffer-record-window): Use window-point-1 instead of
9938 window-point.
9939 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9940
9854542e
SM
99412011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9942
9943 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9944
8943cfb0
GM
99452011-10-05 Glenn Morris <rgm@gnu.org>
9946
9947 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9948 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9949
647ab967
LL
99502011-10-05 Leo Liu <sdl.web@gmail.com>
9951
9952 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9953 works with buffer object.
9954
3ddfbced
SM
99552011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9956
9957 * mpc.el (mpc-tool-bar-map): Add labels.
9958
bdfa5dd2
GM
99592011-10-04 Glenn Morris <rgm@gnu.org>
9960
9961 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9962
0e2070b5
MR
99632011-10-04 Martin Rudalics <rudalics@gmx.at>
9964
9965 * window.el (window--delete): New function.
9966 (frame-auto-delete): Resuscitate option.
9967 (bury-buffer, replace-buffer-in-windows)
9968 (quit-window): Rewrite using window--delete.
9969 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9970 Pass display-buffer-mark-dedicated to window--display-buffer-2
9971 (Bug#9639).
9972
3dc61a09
SM
99732011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9974
915a9b64
SM
9975 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9976 returns a list (bug#9554). Add remote file name completion.
9977 * comint.el (comint--table-subvert): Curry and get quote&unquote
9978 functions as arguments.
9979 (comint--complete-file-name-data): Adjust call accordingly.
9980 * pcomplete.el (pcomplete--table-subvert): Remove.
9981 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9982
3dc61a09
SM
9983 * minibuffer.el (completion-table-case-fold): Use currying.
9984 (completion--styles-type, completion--cycling-threshold-type):
9985 New constants.
9986 (completion-styles, completion-category-overrides)
9987 (completion-cycle-threshold): Use them.
9988 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9989 completion-table-case-fold.
9990
8ea0a993
SB
99912011-10-03 Stephen Berman <stephen.berman@gmx.net>
9992
9993 * minibuffer.el (completion-category-overrides): Fix type of styles
9994 and add more user friendly tags (bug#9660).
9995
8c24b7f6
SM
99962011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9997
9998 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9999 (mule-input-method-string): New widget.
10000 (default-input-method, language-info-custom-alist): Use it.
10001
428fe61a
SM
100022011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
10003
32c1fffd
SM
10004 * pcomplete.el: Require comint.
10005 (pcomplete--common-suffix): Remove.
10006 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
10007 (pcomplete--table-subvert): Sync with comint--table-subvert.
10008 (pcomplete--entries): Use comint-completion-file-name-table.
10009 * comint.el (comint-unquote-filename): Simplify.
10010 (comint-completion-file-name-table): New function (bug#9616).
10011 (comint--complete-file-name-data): Use it.
10012
428fe61a
SM
10013 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
10014 (pcmpl-gnu-tar-buffer): Remove.
10015 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
10016 around. Make sure pcomplete-suffix-list is only changed temporarily.
10017 Don't look inside the tar's file if it's too large.
428fe61a 10018
04c52e2f
CY
100192011-10-01 Chong Yidong <cyd@stupidchicken.com>
10020
ce3cefcc
CY
10021 * cus-edit.el (custom-mode-map):
10022 * epa.el (epa-key-list-mode-map):
10023 * man.el (Man-mode-map):
10024 * startup.el (splash-screen-keymap):
10025 * simple.el (special-mode-map): Use scroll-up-command and
10026 scroll-down-command.
10027
10028 * progmodes/idlw-help.el (idlwave-help-mode-map):
10029 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
10030 * net/newst-plainview.el (newsticker-mode-map):
10031 * emulation/ws-mode.el (wordstar-mode-map):
10032 * emulation/vi.el (vi-com-map):
10033 * calc/calc-graph.el (calc-graph-show-dumb):
10034 * term/sun.el (terminal-init-sun):
10035 * term/ns-win.el (global-map):
10036 * progmodes/grep.el (grep-mode-map):
10037 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
10038 * mail/rmail.el (rmail-mode-map):
10039 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
10040
04c52e2f
CY
10041 * custom.el (custom-safe-themes, load-theme): Treat value of t for
10042 custom-safe-themes as special.
10043
79adf8c8
JD
100442011-10-01 Julien Danjou <julien@danjou.info>
10045
10046 * notifications.el (notifications-notify): Fix docstring.
10047
63bd50d3
PS
100482011-10-01 Per Starbäck <per@starback.se>
10049
10050 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10051
199e4c7e
MR
100522011-09-30 Martin Rudalics <rudalics@gmx.at>
10053
10054 * startup.el (command-line-1): Fix last fix by inserting
10055 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10056 (Bug#9605) and (Bug#9636)
199e4c7e 10057
fe5f08dd
EZ
100582011-09-29 Eli Zaretskii <eliz@gnu.org>
10059
10060 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10061 window is hscrolled, move by logical lines. (Bug#9607)
10062 (line-move-visual): Update the doc string to the above effect.
10063
b5516bbd
MR
100642011-09-29 Martin Rudalics <rudalics@gmx.at>
10065
ccee00c0
MR
10066 * window.el (display-buffer-record-window): When WINDOW is the
10067 selected window use `point' instead of `window-point'. (Bug#9626)
10068
b5516bbd
MR
10069 * startup.el (command-line-1): Use insert-before-markers when
10070 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10071
b5516bbd
MR
10072 * help.el (help-window): Remove variable.
10073
52aa0014
GM
100742011-09-29 Glenn Morris <rgm@gnu.org>
10075
10076 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10077
df9a7357
JB
100782011-09-29 Juanma Barranquero <lekktu@gmail.com>
10079
10080 * descr-text.el (describe-char-categories): Accept category
10081 descriptions more than one line long.
10082
a8406c20
SM
100832011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10084
88d9610c
SM
10085 * simple.el (delete-trailing-whitespace): Fix last change.
10086
a5daf810
SM
10087 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10088 Don't confuse "y => 3" as the beginning of a `y' operation.
10089
a8406c20
SM
10090 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10091 object has more than 4 slots (bug#9613).
10092
a239d4e9
JB
100932011-09-28 Juanma Barranquero <lekktu@gmail.com>
10094
10095 * subr.el (with-output-to-temp-buffer):
10096 * net/quickurl.el (quickurl, quickurl-browse-url):
10097 Fix typos in docstrings.
10098
693fbdb6
EZ
100992011-09-27 Eli Zaretskii <eliz@gnu.org>
10100
10101 * minibuffer.el (completion-styles)
10102 (completion-category-overrides): Cross reference each other in doc
10103 strings.
10104
8b457e28
GM
101052011-09-27 Glenn Morris <rgm@gnu.org>
10106
10107 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10108 to split-string. (Bug#9606)
10109
85a16208
LMI
101102011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10111
10112 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10113 (bug#9615).
10114
502f9ebd
CY
101152011-09-27 Chong Yidong <cyd@stupidchicken.com>
10116
10117 * emacs-lisp/package.el (list-packages): Fix echo area message.
10118
7690bdea
LL
101192011-09-27 Leo Liu <sdl.web@gmail.com>
10120
10121 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10122
e2ee6f30
MA
101232011-09-25 Michael Albinus <michael.albinus@gmx.de>
10124
10125 * net/dbus.el (dbus-unregister-object): Don't release services for
10126 registered signals. (Bug#9581)
10127
f3f98342
TZ
101282011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10129
10130 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10131 function that picks between cfengine 2 and 3 support
10132 automatically. Update docs accordingly.
10133
dd7aa8dd
KH
101342011-09-22 Kenichi Handa <handa@m17n.org>
10135
10136 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10137 ZERO.
10138 (indian-itrans-v5-table-for-tamil): New variable.
10139 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10140
3f2b07f8
KM
101412011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10142
10143 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10144 that's true if the current command involved collapsing of text.
10145 It's reset to false at the beginning of the next command.
10146 (allout-post-command-business): Move the cursor to the beginning
10147 of entry if the cursor is hidden and collapsing activity just
10148 happened.
10149
371d6a61
CY
101502011-09-24 Chong Yidong <cyd@stupidchicken.com>
10151
10152 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10153 tracking (Bug#9541).
10154
2ac2721a
UJ
101552011-09-24 Ulf Jasper <ulf.jasper@web.de>
10156
10157 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10158 (newsticker-show-news): Automatically load html rendering package
10159 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10160 because w3m-fill-column is let-bound" and the error "Symbol's value
10161 as variable is void: w3m-fill-column".
2ac2721a 10162
fac7ae53
MA
101632011-09-24 Michael Albinus <michael.albinus@gmx.de>
10164
10165 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10166 Release services only if they are defined. (Bug#9581)
10167
e08b633b
RS
101682011-09-23 Richard Stallman <rms@gnu.org>
10169
e488d29c
RS
10170 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10171 distinguish start of paragraph from start of its text.
10172
19c38752
RS
10173 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10174
e08b633b
RS
10175 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10176 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10177 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10178
0a39f27e
AS
101792011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10180
10181 * international/mule-diag.el (mule-diag): Insert a newline after
10182 each fontset description.
10183
db4e950d
SM
101842011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10185
10186 * simple.el (delete-trailing-whitespace):
10187 Document last change; simplify.
10188
eca3f3ea
PW
101892011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10190
d68e189a
PW
10191 * simple.el (delete-trailing-whitespace): Also delete
10192 extra newlines at the end of the buffer.
10193
eca3f3ea
PW
10194 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10195 (picture-newline): Use forward-line so as to ignore fields.
10196
01c157cc
SM
101972011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10198
10199 * subr.el (with-wrapper-hook): Fix edebug spec.
10200
022de23e
LMI
102012011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10202
10203 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10204 (bug#4538).
10205
91683089
MA
102062011-09-23 Michael Albinus <michael.albinus@gmx.de>
10207
eca3f3ea
PW
10208 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10209 Fix nasty bug using wrong cached values.
91683089 10210
5bdd6fa4
AM
102112011-09-23 Alan Mackenzie <acm@muc.de>
10212
10213 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10214
97adfb97
CY
102152011-09-23 Chong Yidong <cyd@stupidchicken.com>
10216
10217 * window.el (pop-to-buffer): Ensure right window is selected if we
10218 chose another frame.
10219
d4ef2b50
EZ
102202011-09-22 Eli Zaretskii <eliz@gnu.org>
10221
10222 * simple.el (what-cursor-position): Use get-char-property-change
10223 and next-single-char-property-change, to be able to show display
10224 properties that come from overlays as well as text properties.
10225
72258fe5
CY
102262011-09-22 Chong Yidong <cyd@stupidchicken.com>
10227
10228 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10229
10230 * cmuscheme.el (run-scheme, switch-to-scheme):
10231 * cus-edit.el (customize-group, custom-buffer-create)
10232 (customize-browse):
10233 * info.el (info):
10234 * shell.el (shell):
10235 * mail/sendmail.el (mail):
10236 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10237
8f098516
RS
102382011-09-22 Richard Stallman <rms@gnu.org>
10239
10240 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10241 move back only to line beg, don't move back over blank lines.
10242
e74f1bb6
MA
102432011-09-22 Michael Albinus <michael.albinus@gmx.de>
10244
10245 * files.el (copy-directory): Set directory attributes only in case
10246 they could be retrieved from the source directory. (Bug#9565)
10247
bfeef8b6
DK
102482011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10249
10250 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10251 (hs-find-block-beginning, hs-hide-level-recursive):
10252 Ignore strings as well as comments. (Bug#9502)
10253
7e423bb8
AS
102542011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10255
10256 * progmodes/sql.el (sql-comint-postgres):
10257 Convert port number to a string. (Bug#9566)
10258
b4d72fcf
MR
102592011-09-22 Martin Rudalics <rudalics@gmx.at>
10260
10261 * window.el (quit-window): Undedicate window when switching to
10262 previous buffer. Reported by Thierry Volpiatto
10263 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10264 (special-display-popup-frame): When popping up a new frame reset
10265 its previous buffers to nil. Simplify code.
b4d72fcf 10266
a7b88dc6
MA
102672011-09-21 Michael Albinus <michael.albinus@gmx.de>
10268
10269 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10270 and process filter, as done also in `shell-command'.
10271
cf4eacfd
MR
102722011-09-21 Martin Rudalics <rudalics@gmx.at>
10273
eca3f3ea 10274 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10275 Call set-window-start with NOFORCE argument t.
10276 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10277 (quit-window): Reword doc-string. Handle new format of
10278 quit-restore parameter. Don't delete window if it has a
10279 previous buffer we can show instead of the present one.
10280 (display-buffer-record-window): Rewrite using a new format for
10281 the quit-restore window parameter
10282 (special-display-popup-frame, display-buffer-same-window)
10283 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10284 (display-buffer-pop-up-window, display-buffer-use-some-window):
10285 Adapt symbol passed to display-buffer-record-window.
10286 * help.el (help-window-setup): Handle new format of quit-restore
10287 parameter.
10288
8d28cb95
SM
102892011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10290
94ab793f
SM
10291 * faces.el (face-list): Fix docstring (bug#9564).
10292
8d28cb95
SM
10293 * window.el (display-buffer--action-function-custom-type):
10294 Don't include internal functions in the Custom interface.
10295
3820edeb
JL
102962011-09-20 Juri Linkov <juri@jurta.org>
10297
10298 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10299 (Info-forward-node, Info-backward-node, Info-next-preorder)
10300 (Info-last-preorder): Use it. (Bug#9528)
10301
5147931d
JL
103022011-09-20 Juri Linkov <juri@jurta.org>
10303
10304 * info.el (Info-last-preorder): Visit last menu item only when
10305 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10306
cf499a1a
JD
103072011-09-20 Julien Danjou <julien@danjou.info>
10308
10309 * password-cache.el (password-cache-remove): Remove entries even if the
10310 value is nil, so that password with a nil value (negative caching) is
10311 possible to invalidate.
10312
f84e2fe2
LM
103132011-09-20 Lawrence Mitchell <wence@gmx.li>
10314
10315 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10316 all whitespace around breakpoint. (Bug#9553)
10317 (f90-find-breakpoint): Only break at whitespace inside a comment.
10318
78054a46
SM
103192011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10320
10321 * minibuffer.el (completion-file-name-table): Keep track of errors.
10322 (completion-table-with-predicate): Handle the case where pred1 is nil.
10323 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10324
345083b2
SM
103252011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10326
e24e27be
SM
10327 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10328 (debugger-return-value): Signal an error if the debugging context does
10329 not await any return value.
10330
345083b2
SM
10331 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10332 * image-mode.el (image-toggle-display-text)
10333 (image-toggle-display-image): Stay away from evil `intangible'.
10334
08d355e3
LL
103352011-09-19 Leo Liu <sdl.web@gmail.com>
10336
10337 * replace.el (occur-revert-arguments): Make it permanent-local.
10338 (occur-mode): Don't call font-lock-defontify.
10339
f01da43f
CY
103402011-09-19 Chong Yidong <cyd@stupidchicken.com>
10341
10342 * net/ldap.el (ldap-search-internal): Don't push empty search
10343 result (Bug#9508).
10344
b6072fa6
SM
103452011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10346
10347 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10348
443d6696
MA
103492011-09-19 Michael Albinus <michael.albinus@gmx.de>
10350
10351 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10352 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10353
7cc6e154
JL
103542011-09-18 Juri Linkov <juri@jurta.org>
10355
10356 * buff-menu.el (Buffer-menu-mode-map):
10357 * dired.el (dired-mode-map):
10358 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10359 (lisp-interaction-mode-map):
10360 * emacs-lisp/package.el (package-menu-mode-map):
10361 * epa.el (epa-key-list-mode-map):
10362 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10363 (menu-bar-options-menu):
10364 * outline.el (outline-mode-menu-bar-map):
10365 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10366 * vc/vc-dir.el (vc-dir-menu-map):
10367 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10368 Capitalize non-function content words in menu item strings.
10369
10370 * dired.el (dired-mode-map): Add menu item for
10371 `image-dired-dired-toggle-marked-thumbs'.
10372
80302a81
JL
103732011-09-18 Juri Linkov <juri@jurta.org>
10374
10375 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10376 to `isearch-case-fold-search' and restore its original value
10377 after the `isearch-mode' call.
10378
46c5cf66
JL
103792011-09-18 Juri Linkov <juri@jurta.org>
10380
10381 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10382 because `zgrep' returns 1 for successful matches (bug#9226).
10383
d18b513b
JL
103842011-09-18 Juri Linkov <juri@jurta.org>
10385
10386 * info.el (Info-extract-menu-node-name): Check the second match
10387 for empty string (second test-case of bug#9528).
10388 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10389 intermediate nodes to the history (first test-case of bug#9528).
10390
72753f87
JL
103912011-09-18 Juri Linkov <juri@jurta.org>
10392
10393 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10394 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10395
c9384295
JL
103962011-09-18 Juri Linkov <juri@jurta.org>
10397
1154d12e
JB
10398 * info.el (Info-file-supports-index-cookies):
10399 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10400 outputs one more line for long file names (bug#4142).
c9384295 10401
d473dce8
CY
104022011-09-18 Chong Yidong <cyd@stupidchicken.com>
10403
10404 * newcomment.el (comment-normalize-vars): If prompting for
10405 comment-start, set comment-start-skip too (Bug#8424).
10406
2176854d
JB
104072011-09-18 Johan Bockgård <bojohan@gnu.org>
10408
10409 * icomplete.el: Fix previous fix of Bug#5849.
10410 (icomplete-mode): Don't set completion-show-inline-help.
10411 (icomplete-minibuffer-setup): Set completion-show-inline-help
10412 locally during icompletion.
10413
3aace4e4
CY
104142011-09-18 Chong Yidong <cyd@stupidchicken.com>
10415
c940224f
CY
10416 * woman.el (woman2-process-escapes): Don't delete unrecognized
10417 escapes (Bug#7843).
10418
3aace4e4
CY
10419 * files.el (inhibit-first-line-modes-regexps): Add image files.
10420 (hack-local-variables-prop-line): Return nil for malformed
10421 prop-lines (Bug#9044).
10422
710dec63
MA
104232011-09-18 Michael Albinus <michael.albinus@gmx.de>
10424
10425 * net/tramp.el (top): Don't require 'shell.
10426 (tramp-methods): Fix docstring.
10427 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10428 Return complete remote file name. Handle "smb" case.
10429 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10430 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10431
10432 * net/tramp-compat.el (top): Require 'shell.
10433
10434 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10435 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10436 `tramp-current-host'.
10437 (tramp-get-remote-tmpdir): Remove.
10438
10439 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10440 `tramp-tmpdir' entries.
10441 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10442 (tramp-smb-handle-file-attributes): Ignore errors.
10443 (tramp-smb-wait-for-output): Check also for process end.
10444
5d5ac8ec
LMI
104452011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10446
10447 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10448 when sending QUIT (bug#9312).
10449
8c0f49f0
CY
104502011-09-17 Chong Yidong <cyd@stupidchicken.com>
10451
10452 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10453 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10454 occur-mode-display-occurrence.
10455 (occur-edit-mode): Add usage message.
10456 (occur-cease-edit): New command.
10457 (occur-after-change-function): Use text properties to find the
10458 position of the prefix text.
10459 (occur-engine): Set stickiness of prefix text properties.
10460
8f1383f7
GM
104612011-09-17 Glenn Morris <rgm@gnu.org>
10462
10463 * progmodes/etags.el (complete-tag):
10464 Fix call to completion-in-region. (Bug#9526)
10465
744ba0e3
JL
104662011-09-17 Juri Linkov <juri@jurta.org>
10467
10468 * textmodes/ispell.el (ispell-word): Add to the error message
10469 the word, ispell program name and current dictionary (bug#9121).
10470 (ispell-tex-arg-end): Capitalize "error" in the error message.
10471
d9bbf400
AS
104722011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10473
10474 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10475 check. (Bug#4251)
10476
8da11505
JL
104772011-09-17 Juri Linkov <juri@jurta.org>
10478
10479 * window.el (window-safe-min-height, window-safe-min-width):
10480 Fix typos (followup to bug#9522).
10481
a91adc7e
SJ
104822011-09-17 Sven Joachim <svenjoac@gmx.de>
10483
10484 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10485
064f328a
EZ
104862011-09-16 Eli Zaretskii <eliz@gnu.org>
10487
10488 * simple.el (line-move): If goal-column is set, move by logical
10489 lines, not by display lines. (Bug#971)
10490 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10491 to reflect the above change.
10492
e69df516
SM
104932011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10494
10495 * image.el (imagemagick-register-types): Use regexp-opt.
10496
cbb0f9ab
CY
104972011-09-15 Chong Yidong <cyd@stupidchicken.com>
10498
10499 * window.el (display-buffer-base-action): Rename from
10500 display-buffer-default-action. Make default value empty.
10501 (display-buffer-overriding-action): Convert to defvar.
10502 (display-buffer-fallback-action): New var.
10503
25322144
CY
105042011-09-15 Chong Yidong <cyd@stupidchicken.com>
10505
10506 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10507 declaration.
10508 (package--add-to-archive-contents): If there is a duplicate entry
10509 with an older version, remove it.
10510 (package-menu-mark-delete, package-menu-mark-install)
10511 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10512 (package-menu-mark-obsolete-for-deletion):
10513 Use package-menu-get-status instead of a regexp search.
25322144
CY
10514 (package-menu-get-status): Use tabulated-list-entry.
10515 (package-menu-mark-upgrades): New command.
d770725a 10516 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10517 (package-menu-execute): Do installation before deletion.
10518 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10519 instead of checking major-mode.
10520 (package-menu--find-upgrades): New function.
10521
7520339c
LMI
105222011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10523
10524 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10525 passwords in the log buffer.
65a046c4
LMI
10526 (smtpmail-process-filter): Update the process marker so that the
10527 "broken by peer" status message is inserted in the right place.
7520339c 10528
d3c30954
SM
105292011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10530
3fe48822
SM
10531 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10532 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10533 bibtex-completion-at-point-function.
10534 (bibtex-completion-at-point-function): Use them.
10535
1b8b3954
SM
10536 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10537
d3c30954
SM
10538 * mpc.el (mpc-constraints-tag-lookup): New function.
10539 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10540 also to browser "album|playlist".
10541
72779976
JL
105422011-09-14 Juri Linkov <juri@jurta.org>
10543
10544 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10545 (isearch-edit-string): Use length of `isearch-string' when
10546 `isearch-fail-pos' returns nil.
10547 (isearch-message): Remove duplicate code and call
10548 `isearch-fail-pos' with arg `t'.
10549
a0bf2bcd
CY
105502011-09-14 Chong Yidong <cyd@stupidchicken.com>
10551
17bb0a2d
CY
10552 * replace.el (occur-mode-goto-occurrence): Don't force using other
10553 window (Bug#9499).
10554
a0bf2bcd
CY
10555 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10556
f678e0b6
MR
105572011-09-14 Martin Rudalics <rudalics@gmx.at>
10558
10559 * window.el (display-buffer-window): Remove.
10560 (display-buffer-record-window): Use help-setup window parameter
10561 instead of variable display-buffer-window.
10562 (display-buffer-function, special-display-buffer-names)
10563 (special-display-function): Mention help-setup parameter instead
10564 of display-buffer-window in doc-string.
d3c30954
SM
10565 * help.el (help-window-setup): New argument help-window.
10566 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10567 Reword some messages.
10568 (with-help-window): Pass window used for displaying the buffer
10569 to help-window-setup. Don't set display-buffer-window.
10570
8e39b2e8
GM
105712011-09-13 Glenn Morris <rgm@gnu.org>
10572
10573 * emacs-lisp/debug.el (debugger-make-xrefs):
10574 Preserve point. (Bug#9462)
10575
85e9c04b
CY
105762011-09-13 Chong Yidong <cyd@stupidchicken.com>
10577
10578 * window.el (window-deletable-p): Use next-frame.
10579
1b36ed6a
MR
105802011-09-13 Martin Rudalics <rudalics@gmx.at>
10581
10582 * window.el (window-auto-delete): Remove.
10583 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10584 dedication and previous buffers.
1b36ed6a
MR
10585 (switch-to-prev-buffer): Don't delete window.
10586 (delete-windows-on): Delete a window's frame if and only if the
10587 window is dedicated.
10588 (replace-buffer-in-windows): Delete buffer's window or frame if
10589 and only if window is dedicated.
10590 (quit-window): Handle quit-restore as before last change.
4d61f28d 10591 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10592
ef8ef9fb
CY
105932011-09-13 Chong Yidong <cyd@stupidchicken.com>
10594
10595 * window.el (window-deletable-p): Never delete the last frame on a
10596 given terminal.
10597
b2cba41e
GM
105982011-09-13 Glenn Morris <rgm@gnu.org>
10599
10600 * help.el (describe-key-briefly): Copy previous standard-output change.
10601
51553db6 106022011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10603
10604 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10605
b7556719
GM
106062011-09-13 Glenn Morris <rgm@gnu.org>
10607
10608 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10609 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10610
64b51947
CY
106112011-09-12 Chong Yidong <cyd@stupidchicken.com>
10612
10613 * dired-aux.el (dired-mark-read-string): Don't return default
10614 value on empty input (Bug#9361).
10615 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10616 Omit initial minibuffer contents.
10617 (dired-do-chmod): Signal an error on empty input.
10618 (dired-mark-read-string): Don't return default on empty input.
10619
10620 * files.el (file-modes-symbolic-to-number): Doc fix.
10621
393a301e
SM
106222011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10623
10624 * international/mule-cmds.el (ucs-completions): Remove.
10625 (read-char-by-name): Use complete-with-action instead; add metadata.
10626
fa5660f9
CY
106272011-09-11 Chong Yidong <cyd@stupidchicken.com>
10628
10629 * window.el (display-buffer--action-function-custom-type)
10630 (display-buffer--action-custom-type): New vars.
10631 (display-buffer-alist, display-buffer-default-action)
10632 (display-buffer-overriding-action): Add defcustom types.
10633
4a592f66
CY
10634 * frame.el (delete-other-frames): Doc fix (Bug#276).
10635
73d56dbd
LMI
106362011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10637
10638 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10639
37ac18a3
CY
106402011-09-11 Chong Yidong <cyd@stupidchicken.com>
10641
10642 Change modes that used same-window-* vars to use switch-to-buffer.
10643
10644 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10645 Use switch-to-buffer.
10646
10647 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10648 (customize-browse, custom-buffer-create-other-window):
10649 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10650
10651 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10652 (Info-prev, Info-up, Info-speedbar-goto-node)
10653 (info-display-manual): Use switch-to-buffer.
10654 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10655
10656 * mail/sendmail.el (mail): Use switch-to-buffer.
10657 (mail-recover): Use switch-to-buffer-other-window.
10658
10659 * cmuscheme.el (run-scheme, switch-to-scheme):
10660 * ielm.el (ielm):
10661 * shell.el (shell):
10662 * net/rlogin.el (rlogin):
10663 * net/telnet.el (telnet, rsh):
10664 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10665
10195bd6
AS
106662011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10667
10668 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10669
b322f63a
LMI
106702011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10671
39d7fed6
LMI
10672 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10673 so don't mention it (bug#9301).
ba5a81f1 10674 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10675
ee0e9f11
LMI
10676 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10677 match `x', `w32' and `ns', like the manual says (bug#9029).
10678
0b1c89c1 10679 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10680 (process-kill-buffer-query-function): Mention the buffer name in
10681 the query.
0b1c89c1 10682
77549ea8
LMI
10683 * image-mode.el (image-next-line): The line parameter is mandatory
10684 (bug#9258).
10685
803ef892
LMI
10686 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10687 which can be useful (bug#9301).
10688
12980837
LMI
10689 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10690
91054f8f
LMI
10691 * subr.el (match-string): Mention that the current buffer should
10692 be the same as the search was done in (bug#9282).
10693
b322f63a
LMI
10694 * facemenu.el: Disable the remove-* commands if the mark isn't
10695 active (bug#9162).
10696
3199b96f
CY
106972011-09-10 Chong Yidong <cyd@stupidchicken.com>
10698
10699 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10700 of display-buffer.
10701 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10702
10703 * replace.el (occur-mode-goto-occurrence)
10704 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10705 and display-buffer.
10706
10707 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10708 display-buffer.
10709
10710 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10711 special-display and same-window variables.
10712 (mail-other-window): Use switch-to-buffer-other-window.
10713 (mail-other-frame): USe switch-to-buffer-other-frame.
10714
393a301e
SM
10715 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10716 Use display-buffer-other-frame.
3199b96f
CY
10717 (gdb-display-gdb-buffer): Use pop-to-buffer.
10718
10719 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10720
10721 * progmodes/python.el: Don't set same-window-buffer-names.
10722
10723 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10724
10725 * window.el (display-buffer-alist): Add *Python*.
10726
8319e0bf
CY
107272011-09-10 Chong Yidong <cyd@stupidchicken.com>
10728
10729 * window.el (display-buffer-alist): Add entry for buffers
10730 previously handled same-window-*.
10731 (display-buffer-alist, display-buffer-default-action)
10732 (display-buffer-overriding-action): Mark as risky.
10733 (display-buffer-alist): Document action function changes.
10734 (display-buffer--same-window-action)
10735 (display-buffer--other-frame-action): New variables.
10736 (switch-to-buffer, display-buffer-other-frame): Use them.
10737 (display-buffer): Rename reuse-frame entry to reusable-frames.
10738 (display-buffer-reuse-selected-window): Function deleted.
10739 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10740 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10741 (display-buffer-special): New function.
10742 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10743 display-buffer-reuse-or-pop-window. Split off special-display
10744 part into display-buffer-special.
10745 (display-buffer-use-some-window): Don't perform any special
10746 pop-up-frames handling.
10747 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10748 (display-buffer--maybe-same-window): Rename from
0d3ff375 10749 display-buffer-maybe-same-window.
8319e0bf 10750
919a69aa
CY
10751 * info.el: Don't set same-window-regexps.
10752 (info-setup): New function.
10753 (info-other-window, info): Call it.
10754
10755 * cus-edit.el: Don't set same-window-regexps.
10756 (customize-group): New argument.
10757 (customize-group-other-window): Use it.
10758 (customize-face, customize-face-other-window): Likewise.
10759 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10760
8319e0bf
CY
10761 * net/rlogin.el:
10762 * net/telnet.el:
10763 * progmodes/gud.el: Don't set same-window-regexps.
10764
10765 * cmuscheme.el:
10766 * ielm.el:
10767 * shell.el:
10768 * mail/sendmail.el:
10769 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10770
25173000
JL
107712011-09-10 Juri Linkov <juri@jurta.org>
10772
10773 * isearch.el (isearch-edit-string): Remove obsolete mention of
10774 `C-w' (`isearch-yank-word-or-char') from docstring.
10775 (isearch-query-replace): Fix typo in docstring (bug#9466).
10776
056e44ef
JL
107772011-09-10 Juri Linkov <juri@jurta.org>
10778
10779 * paren.el (show-paren-function): Don't show escaped parens.
10780 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10781
c3760c17
EZ
107822011-09-10 Eli Zaretskii <eliz@gnu.org>
10783
10784 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10785 (mm-default-file-encoding): Remove autoload forms, they are
10786 replaced with autoload cookies in mml.el and mm-encode.el.
10787 (mail-add-attachment): New command.
10788 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10789 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10790 the doc string.
10791 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10792
fece895e
RT
107932011-09-10 Reuben Thomas <rrt@sc3d.org>
10794
e69df516
SM
10795 * simple.el (count-words-region): Use buffer if there's no region
10796 (bug#9429).
fece895e 10797
5e68ce4a
JL
107982011-09-09 Juri Linkov <juri@jurta.org>
10799
10800 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10801 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10802 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10803
0a6b9622
AM
108042011-09-09 Alan Mackenzie <acm@muc.de>
10805
10806 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10807 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10808
14a29deb
EZ
108092011-09-09 Eli Zaretskii <eliz@gnu.org>
10810
10811 Fix for Savannah bug#9392.
10812 * simple.el (mail-encode-mml): New defvar.
10813
10814 * mail/rmail.el (mail-encode-mml): Add a defvar.
10815 (rmail-enable-mime-composing): Default to t.
10816 (rmail-forward): Use MIME method of forwarding only if both
10817 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10818 Set mail-encode-mml non-nil if the MIME method was used.
10819
10820 * mail/sendmail.el (mml-to-mime): Add autoload form.
10821 (mail-encode-mml): Add a defvar.
10822 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10823 to nil.
10824 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10825 message through mml-to-mime, and reset mail-encode-mml to nil.
10826
28c45130
GM
108272011-09-09 Glenn Morris <rgm@gnu.org>
10828
10829 * woman.el (woman-if-body): When processing an .el block,
10830 do not delete the next .el block as well. (Bug#9447)
69f4b618 10831 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10832
9b1c252e
MR
108332011-09-08 Martin Rudalics <rudalics@gmx.at>
10834
10835 * window.el (window-deletable-p): Make sure window is live before
10836 invoking window-prev-buffers.
10837
567457e3
LL
108382011-09-08 Leo Liu <sdl.web@gmail.com>
10839
10840 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10841
97f05794
JL
108422011-09-08 Juri Linkov <juri@jurta.org>
10843
10844 * progmodes/compile.el (compilation-environment): Make it
10845 a defcustom (bug#8340).
10846
8b0874b5
MR
108472011-09-08 Martin Rudalics <rudalics@gmx.at>
10848
10849 * window.el (frame-auto-delete): Rename to window-auto-delete.
10850 Make it control auto-deletion of windows and/or frames.
10851 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10852 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10853 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10854 Rewrite handling of case when window/frame can be deleted.
10855 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10856 argument t. (Bug#9456)
8b0874b5 10857
4feb6e73
CY
108582011-09-07 Chong Yidong <cyd@stupidchicken.com>
10859
10860 * help-mode.el (help-mode): Restore autoload.
10861
91ab9c13
JL
108622011-09-07 Juri Linkov <juri@jurta.org>
10863
10864 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10865 `compilation-environment'. Set buffer-local
10866 `compilation-environment' to `thisenv' later after (funcall mode).
10867 (Bug#8340)
10868
10869 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10870 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10871 instead of replacing its value. (Bug#8340)
10872
0527e251
JL
108732011-09-07 Juri Linkov <juri@jurta.org>
10874
10875 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10876 based on text properties put by `grep-filter' instead of matching
10877 escape sequences.
10878 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10879 to the value of `grep-error-screen-columns' (bug#9438).
10880
249f792c
JL
108812011-09-07 Juri Linkov <juri@jurta.org>
10882
10883 * simple.el (next-error-highlight, next-error-highlight-no-select):
10884 Doc fix (bug#9432).
10885
ff7271b9
OT
108862011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10887
10888 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10889 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10890
183fc730
LL
108912011-09-07 Leo Liu <sdl.web@gmail.com>
10892
10893 * net/rcirc.el (rcirc-mode): Conditionally initialize
10894 rcirc-input-ring.
10895
77694924
SM
108962011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10897
10898 * emacs-lisp/find-func.el (find-function-C-source): Only set
10899 find-function-C-source-directory after checking that we found a source
10900 file there (bug#9440).
10901
d809b8eb
AM
109022011-09-06 Alan Mackenzie <acm@muc.de>
10903
10904 * isearch.el (isearch-other-meta-char): Wherever a key list is
10905 unread, "unread" the prefix arg, too. This fixes bug #8901.
10906
453de99f
OG
109072011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10908
10909 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10910
90439906
JL
109112011-09-05 Juri Linkov <juri@jurta.org>
10912
10913 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10914
f62bd846
JL
109152011-09-05 Juri Linkov <juri@jurta.org>
10916
10917 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10918 keeping point where processing of grep matches begins, and
10919 continue to delete remaining escape sequences from the same point.
10920 (grep-filter): Make leading zero optional in "0?1;31m" because
10921 git-grep emits "\033[1;31m" escape sequences unlike expected
10922 "\033[01;31m" as GNU Grep does (bug#9408).
10923 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10924
045820ec
JL
109252011-09-05 Juri Linkov <juri@jurta.org>
10926
10927 * subr.el (y-or-n-p): Capitalize "yes".
10928
f5e29b9b
MA
109292011-09-04 Michael Albinus <michael.albinus@gmx.de>
10930
10931 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10932 `tramp-cache-unload-hook' where appropriate.
10933 (tramp-methods): Rename `tramp-remote-sh' to
10934 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10935 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10936
10937 * net/tramp-sh.el (top): Don't require 'shell.
10938 (tramp-methods): Add `tramp-remote-shell' and
10939 `tramp-remote-shell-args' entries.
10940 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10941 (tramp-sh-handle-shell-command): Remove.
10942 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10943 Use `tramp-remote-shell'.
10944
2784c434
CY
109452011-09-03 Chong Yidong <cyd@stupidchicken.com>
10946
393a301e 10947 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10948 (sendmail-query-once): Save directly to send-mail-function.
10949 Update message-send-mail-function too.
10950
10951 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10952
464cdf56
CS
109532011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10954
10955 * progmodes/python.el (python-mode-map): Use correct function to
10956 start python interpreter from menu-bar (as reported by Geert
10957 Kloosterman).
10958 (inferior-python-mode-map): Fix typo.
393a301e 10959 (python-shell-map): Remove.
464cdf56 10960
d37e5c87
DD
109612011-09-03 Deniz Dogan <deniz@dogan.se>
10962
10963 * net/rcirc.el (rcirc-print): Simplify code for
10964 rcirc-scroll-show-maximum-output. There is no need to walk
10965 through all windows to find the right one.
10966
f3ada0ee
CS
109672011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10968
10969 * help.el (help-return-method): Doc fix.
10970
1f3c99ca
MR
109712011-09-03 Martin Rudalics <rudalics@gmx.at>
10972
10973 * window.el (window-deletable-p): Don't return a non-nil value
10974 when there's a buffer that was shown in the window before.
10975 (Bug#9419)
393a301e
SM
10976 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10977 Set window's previous buffers to nil.
1f3c99ca 10978
a3cf097f
EZ
109792011-09-03 Eli Zaretskii <eliz@gnu.org>
10980
10981 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10982 newline before and after the tag line, so it doesn't interfere
10983 with determining the paragraph direction of bidirectional text.
10984
3d03de90
LL
109852011-09-03 Leo Liu <sdl.web@gmail.com>
10986
10987 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10988
c3313451
CY
109892011-09-02 Chong Yidong <cyd@stupidchicken.com>
10990
393a301e 10991 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10992 (pop-to-buffer): Change interactive spec. Pass second argument
10993 directly to display-buffer.
10994 (display-buffer): Fix interactive spec. Use functionp to
10995 distinguish between a function and a list of functions.
10996
10997 * abbrev.el (edit-abbrevs):
10998 * arc-mode.el (archive-extract):
10999 * autoinsert.el (auto-insert):
11000 * bookmark.el (bookmark-bmenu-list):
11001 * files.el (find-file):
11002 * view.el (view-buffer):
11003 * progmodes/compile.el (compilation-goto-locus):
11004 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
11005
89894cd8
CY
110062011-09-02 Chong Yidong <cyd@stupidchicken.com>
11007
11008 * window.el (display-buffer-alist): Doc fix.
11009 (display-buffer): Add docstring. Don't treat
11010 display-buffer-default specially.
11011 (display-buffer-reuse-selected-window)
11012 (display-buffer-same-window, display-buffer-maybe-same-window)
11013 (display-buffer-reuse-window, display-buffer-pop-up-frame)
11014 (display-buffer-pop-up-window)
11015 (display-buffer-reuse-or-pop-window)
11016 (display-buffer-use-some-window): New functions.
11017 (display-buffer-default-action): Use them.
393a301e 11018 (display-buffer-default): Delete.
89894cd8
CY
11019 (pop-to-buffer-1): Fix choice of actions.
11020
ae0bc9fb
SM
110212011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
11022
11023 * minibuffer.el (completion--insert-strings): Don't get confused by
11024 completion entries that end with an LF char.
11025
e9d90883
EZ
110262011-09-01 Eli Zaretskii <eliz@gnu.org>
11027
11028 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
11029
437014c8
CY
110302011-09-01 Chong Yidong <cyd@stupidchicken.com>
11031
11032 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
11033 (display-buffer-same-window, display-buffer-other-window):
11034 New functions.
437014c8
CY
11035 (pop-to-buffer-1): New function. Use the above.
11036 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 11037 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
11038
11039 * view.el (view-buffer-other-window, view-buffer-other-frame):
11040 Just use pop-to-buffer.
11041
a5e063d5
TV
110422011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11043
11044 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11045
793d32bb
WH
110462011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11047
11048 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11049
d65e4c15
RS
110502011-08-31 Richard Stallman <rms@gnu.org>
11051
11052 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11053 of the separation of rmail-view-buffer from rmail-buffer.
11054 If you say no to "replace original", the decrypt is in the
11055 view buffer. If you say yes, the decrypt goes into the
11056 rmail buffer also.
11057
f818cd2a
MR
110582011-08-31 Martin Rudalics <rudalics@gmx.at>
11059
11060 * window.el (display-buffer-window): Rewrite doc-string.
11061 (display-buffer-record-window): New function.
11062 (display-buffer-macro-specifiers)
11063 (display-buffer-even-window-sizes, display-buffer-set-height)
11064 (display-buffer-set-width, display-buffer-in-window)
11065 (display-buffer-reuse-window, display-buffer-split-specifiers)
11066 (display-buffer-side-specifiers, display-buffer-split-window-1)
11067 (display-buffer-split-window, display-buffer-split-atom-window)
11068 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11069 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11070 (display-buffer-other-window-means-other-frame)
11071 (display-buffer-normalize-special)
11072 (display-buffer-normalize-default)
11073 (display-buffer-normalize-argument)
11074 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11075 (display-buffer-normalize-specifiers, display-buffer-frame)
11076 (display-buffer-same-window, display-buffer-same-frame)
11077 (display-buffer-other-window)
11078 (display-buffer-same-frame-other-window)
11079 (display-buffer-other-frame, pop-to-buffer-same-window)
11080 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11081 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11082 (switch-to-buffer-same-frame)
11083 (switch-to-buffer-other-window-same-frame)
11084 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11085 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11086 (display-buffer-alist-set): Remove.
11087 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11088 (special-display-regexps, special-display-function):
11089 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11090 parameter.
11091 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11092 (special-display-frame-alist, special-display-popup-frame)
11093 (same-window-buffer-names, same-window-regexps, same-window-p)
11094 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11095 (split-window-preferred-function, split-height-threshold)
11096 (split-width-threshold, window-splittable-p)
11097 (split-window-sensibly, window--try-to-split-window)
11098 (window--frame-usable-p, even-window-heights)
11099 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11100 (window--display-buffer-2, display-buffer-other-frame):
11101 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11102 (display-buffer-default, display-buffer-assq-regexp): New functions.
11103 (display-buffer-alist): Rewrite doc-string.
11104 (display-buffer-default-action)
11105 (display-buffer-overriding-action): New variables.
11106 (display-buffer, switch-to-buffer): Rewrite.
11107 (pop-to-buffer): Restore Emacs 23 behavior but use
11108 window-normalize-buffer-to-display.
11109 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11110 Restore Emacs 23 behavior but use
11111 window-normalize-buffer-to-switch-to.
11112 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11113 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11114 Rewrite using Emacs 23 options.
f818cd2a 11115
5bc3b51d
MA
111162011-08-31 Michael Albinus <michael.albinus@gmx.de>
11117
11118 * net/tramp.el (tramp-root-regexp): Remove.
11119 (tramp-completion-file-name-regexp-unified)
11120 (tramp-completion-file-name-regexp-separate)
11121 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11122 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11123 (tramp-drop-volume-letter): Simplify definition.
11124 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11125
b1a4f8e1
SM
111262011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11127
11128 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11129 (bug#9356).
11130
5664fa7b
RT
111312011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11132
b1a4f8e1 11133 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11134
9a45d6c3
JL
111352011-08-29 Juri Linkov <juri@jurta.org>
11136
11137 * isearch.el (isearch-done): Don't display message "Mark saved"
11138 when arg `edit' is non-nil to prevent its flicker in the echo area.
11139
fb87e0fb
CY
111402011-08-28 Chong Yidong <cyd@stupidchicken.com>
11141
11142 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11143 obsolete packages for deletion.
11144
09ac1c2a
CS
111452011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11146
11147 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11148 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11149 view-mode from help-mode.
11150 (help-xref-override-view-map): Remove.
11151 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11152 view-mode is not used anymore.
11153
7a1ff57f
CY
111542011-08-28 Chong Yidong <cyd@stupidchicken.com>
11155
11156 * server.el (server-port): Doc fix.
11157
b9696605
CY
11158 * cus-theme.el (custom-theme-choose-mode): Inherit from
11159 special-mode (Bug#9124).
11160 (custom-theme-choose-mode-map): Add special-mode to parent.
11161
ef8cdf8c
AM
111622011-08-28 Alan Mackenzie <acm@muc.de>
11163
11164 * progmodes/cc-fonts.el
11165 (c-make-font-lock-BO-decl-search-function): New function.
11166 (c-basic-matchers-after - "Fontify the clauses after various
11167 keywords"): Extract the three keyword lists for the 3 erroneous
11168 constructs from the list of four, and use the new function above
11169 in place of an old one.
11170
27de4e20
DD
111712011-08-28 Deniz Dogan <deniz@dogan.se>
11172
11173 * net/rcirc.el (rcirc-insert-prev-input)
11174 (rcirc-insert-next-input): Remove unused argument.
11175
356a3681
SM
111762011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11177
11178 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11179
3fc9b218
AM
111802011-08-27 Alan Mackenzie <acm@muc.de>
11181
11182 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11183 handle function pointer parameters properly.
11184
538a061c
MR
111852011-08-27 Martin Rudalics <rudalics@gmx.at>
11186
11187 * window.el (display-buffer-reuse-window): Fix case where
11188 selected window was reused with non-nil OTHER-WINDOW argument.
11189 (Bug#9381)
11190
35b1c40c
DD
111912011-08-27 Deniz Dogan <deniz@dogan.se>
11192
11193 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11194 oftc's NickServ messages.
11195
2f6a3e79
GM
111962011-08-27 Glenn Morris <rgm@gnu.org>
11197
11198 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11199
7254299e
CY
112002011-08-26 Chong Yidong <cyd@stupidchicken.com>
11201
11202 * emacs-lisp/package.el (package-install): Call package-initialize
11203 if called interactively.
11204
f8ccf167
LL
112052011-08-26 Leo Liu <sdl.web@gmail.com>
11206
11207 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11208
3e8cd5ce
JL
112092011-08-25 Juri Linkov <juri@jurta.org>
11210
11211 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11212 `search-whitespace-regexp' (bug#9364).
11213
93eb7113
JL
112142011-08-25 Juri Linkov <juri@jurta.org>
11215
11216 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11217 `regexp-search-ring' to their global values to protect from
11218 updating by `read-from-minibuffer' (bug#9185).
11219
f65d1611
JL
112202011-08-25 Juri Linkov <juri@jurta.org>
11221
11222 * textmodes/ispell.el (ispell-command-loop): Add newline
11223 at the end of the "Use option `i'..." line.
11224
f1cf7a31
JL
112252011-08-25 Juri Linkov <juri@jurta.org>
11226
11227 * battery.el (display-battery-mode): If `battery-status-function'
11228 or `battery-mode-line-format' is nil, display the message and set
11229 `display-battery-mode' to nil (bug#9363).
11230
0c95fcf7
EZ
112312011-08-25 Eli Zaretskii <eliz@gnu.org>
11232
11233 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11234 bidi-string-mark-left-to-right; they are unnecessary now.
11235
a2ebe600
DD
112362011-08-25 Deniz Dogan <deniz@dogan.se>
11237
11238 * net/quickurl.el: Documentation typo fixes.
11239
e4ed06f1
CY
112402011-08-25 Chong Yidong <cyd@stupidchicken.com>
11241
11242 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11243
e5f1c99e
GM
112442011-08-25 Glenn Morris <rgm@gnu.org>
11245
b2948976
GM
11246 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11247
e5f1c99e
GM
11248 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11249 (smtpmail-via-smtp): Handle nil response from smtp.
11250
f22f4808
JL
112512011-08-24 Juri Linkov <juri@jurta.org>
11252
11253 * proced.el (proced-marked): Inherit from `error' instead of
11254 `font-lock-warning-face'.
11255
11256 * ibuffer.el (ibuffer-marked-face): Change default face from
11257 `font-lock-warning-face' to `warning'.
11258 (ibuffer-deletion-face): Change default face from
11259 `font-lock-type-face' to `error'.
11260
11261 * battery.el (battery-update): Use the face `error' instead of
11262 `font-lock-warning-face' (bug#6117).
11263
6a93965e
JL
112642011-08-24 Juri Linkov <juri@jurta.org>
11265
11266 * faces.el (success): Change face color from "Green3" to
11267 "ForestGreen" on light background (bug#9353).
11268
1ed43b09
CY
112692011-08-24 Chong Yidong <cyd@stupidchicken.com>
11270
5664fa7b
RT
11271 * window.el (quit-window): Rename from quit-restore-window.
11272 Use same arglist as old quit-window.
1ed43b09
CY
11273 (frame-auto-delete): Doc fix.
11274
11275 * view.el (view-mode-exit): Use quit-window.
11276
11dcdbb2
JL
112772011-08-24 Juri Linkov <juri@jurta.org>
11278
11279 * isearch.el (isearch-ring-adjust1): Start visiting previous
11280 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11281 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11282 for empty search string (when the last search string is reused
11283 automatically) to adjust the isearch ring to the last element and
11284 prepare the correct index for further M-p commands (bug#9185).
11285
de62b4df
KH
112862011-08-24 Kenichi Handa <handa@m17n.org>
11287
11288 * international/ucs-normalize.el: If decomposition property of
11289 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11290 nil.
11291 (nfd, nfkd): Likewise.
11292
963b492b
SM
112932011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11294
11295 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11296 from process filters aren't reliably transmitted to the surrounding
11297 accept-process-output.
11298 (mpc-proc-check): New function.
11299 (mpc-proc-sync): Use it (bug#8293)
11300
93b6b5e1
SM
113012011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11302
11303 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11304 Add compatibility functions (bug#9313).
11305
bca633fb
EZ
113062011-08-23 Eli Zaretskii <eliz@gnu.org>
11307
b177498a
EZ
11308 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11309
6df6ae42 11310 * international/uni-bidi.el: Regenerate.
bca633fb 11311
0902a04e
KH
113122011-08-23 Kenichi Handa <handa@m17n.org>
11313
11314 * international/charprop.el:
11315 * international/uni-bidi.el:
11316 * international/uni-category.el:
11317 * international/uni-combining.el:
11318 * international/uni-comment.el:
11319 * international/uni-decimal.el:
11320 * international/uni-decomposition.el:
11321 * international/uni-digit.el:
11322 * international/uni-lowercase.el:
11323 * international/uni-mirrored.el:
11324 * international/uni-name.el:
11325 * international/uni-numeric.el:
11326 * international/uni-old-name.el:
11327 * international/uni-titlecase.el:
11328 * international/uni-uppercase.el: Regenerate.
11329
3bbf23bc
MR
113302011-08-23 Martin Rudalics <rudalics@gmx.at>
11331
11332 * help.el (help-window-setup): Fix message displayed when other
11333 window is reused. (Bug#9341)
11334
b3fd59bd
SM
113352011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11336
1802e444
SM
11337 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11338 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11339
b3fd59bd
SM
11340 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11341 Mark obsolete.
11342 * shell.el (shell-parse-pcomplete-arguments): New function.
11343 (shell-completion-vars): Use it instead (bug#9160).
11344
4eb61348
SM
113452011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11346
867cab74
SM
11347 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11348 strings and comments (bug#9333).
11349
4eb61348
SM
11350 * emacs-lisp/debug.el (debug-arglist): New function.
11351 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11352 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11353
262a1439
JL
113542011-08-22 Juri Linkov <juri@jurta.org>
11355
56ee679c
JL
11356 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11357 Revert regexp that highlights output switches to its old
11358 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11359
262a1439
JL
11360 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11361 to check for empty output (bug#9226).
11362
f13f86fb
CY
113632011-08-22 Chong Yidong <cyd@stupidchicken.com>
11364
11365 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11366 symbol-constituent as the default, as that stops font-lock from
11367 working properly (Bug#8843).
11368
c65c9622
LMI
113692011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11370
11371 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11372 `coding-system-for-*' around the process open call to avoid
11373 auth-source side effects.
e7f2c178 11374 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11375 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11376 probe hangs.
c65c9622 11377
23a8a5ab
CY
113782011-08-21 Chong Yidong <cyd@stupidchicken.com>
11379
ff98b2dd
CY
11380 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11381
23a8a5ab
CY
11382 * emacs-lisp/find-func.el (find-function-noselect): New arg
11383 lisp-only.
11384
11385 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11386 signal an error for built-in functions (Bug#6664).
11387
f5e3c598
LMI
113882011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11389
11390 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11391 (smtpmail-try-auth-methods): Use it.
11392
a3f2468a
CY
113932011-08-21 Chong Yidong <cyd@stupidchicken.com>
11394
2c34e8da
CY
11395 * font-lock.el (font-lock-fontify-region)
11396 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11397 (font-lock-default-unfontify-buffer)
11398 (font-lock-default-fontify-region)
11399 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11400
b3fd59bd
SM
11401 * progmodes/compile.el (compilation-error-properties):
11402 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11403 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11404 `ant' regexp.
ee31aabc 11405
a3f2468a
CY
11406 * net/browse-url.el (browse-url-firefox): Don't call
11407 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11408
8e999f70
GM
114092011-08-20 Glenn Morris <rgm@gnu.org>
11410
c21a496a
GM
11411 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11412
59ee0542
GM
11413 * tutorial.el (tutorial--default-keys): Update some default bindings.
11414
8e999f70
GM
11415 * files.el (hack-local-variables): Fully ignore case for "mode:".
11416
e3715033
AM
114172011-08-20 Alan Mackenzie <acm@muc.de>
11418
11419 Resolve invalid use of a regexp in regexp-opt.
11420
4d61f28d
JB
11421 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11422 detection for a java annotation.
e3715033 11423
4d61f28d 11424 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11425 detection for a java annotation.
11426
4d61f28d
JB
11427 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11428 handling for java.
e3715033
AM
11429 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11430
04ed2e9c
CY
114312011-08-20 Chong Yidong <cyd@stupidchicken.com>
11432
11433 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11434 (Bug#9274).
11435
826cee64
AM
114362011-08-20 Alan Mackenzie <acm@muc.de>
11437
58179cce 11438 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11439 such a construct. Mainly for when jit-lock etc. starts a chunk
11440 here.
11441
58179cce 11442 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11443 variable.
58179cce 11444 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11445 c-make-font-lock-search-function.
11446 (c-make-font-lock-search-function): Use the above function.
11447 (c-make-font-lock-context-search-function): New function.
11448 (c-cpp-matchers): Enhance the preprocessor expression case with
11449 the above function
11450 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11451 which takes an expression.
11452
11453 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11454
13009bd8
MR
114552011-08-20 Martin Rudalics <rudalics@gmx.at>
11456
11457 * window.el (display-buffer-reuse-window)
11458 (display-buffer-pop-up-window): Don't reuse or split a side
11459 window.
11460
9234ff7f
GM
114612011-08-19 Glenn Morris <rgm@gnu.org>
11462
11463 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11464 Downcase "Mode:". (Bug#9331)
9234ff7f 11465
f635daa1
CY
114662011-08-18 Chong Yidong <cyd@stupidchicken.com>
11467
11468 * international/characters.el: Add L and R categories.
11469
11470 * subr.el (bidi-string-mark-left-to-right): Rename from
11471 string-mark-left-to-right. Use category search.
11472
11473 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11474
bc987f8b
JL
114752011-08-18 Juri Linkov <juri@jurta.org>
11476
11477 * faces.el (error, warning, success): New faces with definitions
11478 copied from old default values of `font-lock-warning-face',
11479 `compilation-warning', `compilation-info' (bug#6117).
11480
11481 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11482
11483 * progmodes/compile.el (compilation-error): Inherit from `error'.
11484 (compilation-warning): Inherit from `warning'.
11485 (compilation-info): Inherit from `success'.
11486
11487 * dired.el (dired-marked): Inherit from `warning'.
11488 (dired-flagged): Inherit from `error'.
11489
57173b96
LMI
114902011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11491
3e79eb87
LMI
11492 * mail/smtpmail.el (auth-source): Require to avoid problems with
11493 binding variables (bug#9298). Also clean up some unused
11494 autoloads.
11495
b3fd59bd
SM
11496 * net/network-stream.el (network-stream-open-starttls):
11497 Support using starttls.el without using gnutls-cli.
57173b96 11498
02b404de
JL
114992011-08-17 Juri Linkov <juri@jurta.org>
11500
11501 * progmodes/grep.el (rgrep): Handle the case when
11502 `grep-find-command' is a cons cell (bug#9278).
11503
8c9177f2
MR
115042011-08-17 Martin Rudalics <rudalics@gmx.at>
11505
11506 * window.el (display-buffer-pop-up-frame): Run frame creation
11507 function with BUFFER current (as special-display-popup-frame
11508 does). Reported by Drew Adams.
11509
3644a0ab
DU
115102011-08-17 Daiki Ueno <ueno@unixuser.org>
11511
11512 * epa-mail.el: Simplify GnuPG group expansion using
11513 epg-expand-group.
11514 (epa-mail-group-alist, epa-mail-group-modtime)
11515 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11516 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11517 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11518 Remove.
11519
5e617bc2 115202011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11521
11522 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11523
9c4aeabf
AM
115242011-08-16 Alan Mackenzie <acm@muc.de>
11525
11526 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11527 Correct, to avoid the inside of macros.
11528
3a99bf64
RS
115292011-08-16 Richard Stallman <rms@gnu.org>
11530
04963aa8
RS
11531 * epa-mail.el: Handle GnuPG group definitions.
11532 (epa-mail-group-alist, epa-mail-group-modtime)
11533 (epa-mail-gnupg-conf-file): New variables.
11534 (epa-mail-parse-groups, epa-mail-sync-groups)
11535 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11536 (epa-mail-expand-recipients): New functions.
11537 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11538
177549d0
RS
11539 * mail/rmail.el (rmail-epa-decrypt): New command.
11540
fe38beef
RS
11541 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11542 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11543 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11544 (epa-decrypt-armor-in-region): Make error message clearer.
11545
934eacb9
SM
115462011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11547
11548 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11549 and "a2b" to "ab" for `prefix'.
11550
d024fb4e
CY
115512011-08-14 Chong Yidong <cyd@stupidchicken.com>
11552
11553 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11554 filter groups.
de148fee
CY
11555 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11556 Fourquet (Bug#8804).
d024fb4e 11557
62f1ca49
JB
115582011-08-12 Juanma Barranquero <lekktu@gmail.com>
11559
11560 * startup.el (argi): Declare as global variable (bug#9275).
11561
9ccaaa4b
CY
115622011-08-12 Chong Yidong <cyd@stupidchicken.com>
11563
11564 * subr.el (string-mark-left-to-right): Search the entire string
11565 for RTL script, not just the terminating character. Doc fix.
11566
a3dae87a
SM
115672011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11568
6cd18349
SM
11569 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11570 New function.
11571 (js--regexp-literal, js-syntax-propertize-function): Remove.
11572 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11573 (js-mode-map): Don't rebind electric keys.
11574 (js-insert-and-indent): Remove.
11575 (js-mode): Setup electric-layout and electric-indent instead.
11576
a3dae87a
SM
11577 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11578
9d5cb631
DU
115792011-08-12 Daiki Ueno <ueno@unixuser.org>
11580
11581 * epa.el (epa-progress-callback-function): Fix the logic of
11582 displaying progress.
11583 * epa-file.el (epa-file-insert-file-contents): Make progress
11584 display more user-friendly.
11585 (epa-file-write-region): Ditto.
11586
3e26a4a2
CY
115872011-08-10 Chong Yidong <cyd@stupidchicken.com>
11588
11589 * subr.el (string-mark-left-to-right): New function.
11590
11591 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11592 Use string-mark-left-to-right.
11593 (list-buffers-noselect): Caller changed.
11594
a3dae87a
SM
11595 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11596 Use string-mark-left-to-right.
3e26a4a2
CY
11597 (tabulated-list-print): Recenter after moving point.
11598
ac8cf6e6
JL
115992011-08-10 Juri Linkov <juri@jurta.org>
11600
11601 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11602 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11603 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11604
8d96c9a4
CY
116052011-08-09 Chong Yidong <cyd@stupidchicken.com>
11606
11607 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11608 (Bug#7554).
11609
7be1c708 116102011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11611
11612 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11613 character. (Bug#6594)
11614
37e11a63
CY
116152011-08-08 Chong Yidong <cyd@stupidchicken.com>
11616
839dde57
CY
11617 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11618 (image-dired--with-db-file): New macro.
11619 (image-dired-write-tags, image-dired-remove-tag)
11620 (image-dired-create-gallery-lists, image-dired-write-comments)
11621 (image-dired-get-comment, image-dired-mark-tagged-files)
11622 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11623 (image-dired-gallery-generate): Use insert-file-contents.
11624
37e11a63
CY
11625 * time.el (display-time-world-list, display-time-world-display):
11626 * time-stamp.el (time-stamp-string):
11627 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11628 set-time-zone-rule (Bug#7337).
11629
0b4946c4
DU
116302011-08-08 Daiki Ueno <ueno@unixuser.org>
11631
11632 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11633 (epg-error-to-string, epg-errors-to-string): New function.
11634 (epg-wait-for-completion): Reverse errors list.
11635 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11636 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11637 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11638 (epg-sign-keys, epg-generate-key-from-file)
11639 (epg-generate-key-from-string): Format errors by using
11640 epg-errors-to-string (bug#9255).
11641 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11642
75bfc667
JL
116432011-08-07 Juri Linkov <juri@jurta.org>
11644
11645 * faces.el (list-faces-display): Remove extra angle bracket
11646 from `help-mode-map'.
11647
11648 * info.el (Info-history-toc-nodes): Doc fix.
11649
11650 * longlines.el (longlines-mode): Doc fix.
11651
673e08bb
SM
116522011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11653
4640dd88
SM
11654 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11655 of statements and in a few more cases (bug#9183).
11656
673e08bb
SM
11657 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11658 New functions.
11659 (cl-transform-lambda): Use them (bug#9239).
11660
89b3f019
MR
116612011-08-05 Martin Rudalics <rudalics@gmx.at>
11662
11663 * window.el (display-buffer-same-window)
11664 (display-buffer-same-frame, display-buffer-other-window)
11665 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11666 (pop-to-buffer-other-window)
11667 (pop-to-buffer-same-frame-other-window)
11668 (pop-to-buffer-other-frame): Make them defuns.
11669 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11670
640c8776
SM
116712011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11672
11673 * subr.el (make-composed-keymap): Move from C. Change calling
11674 convention, and improve docstring to bring attention to a subtle point.
11675 * minibuffer.el (completing-read-default): Adjust accordingly.
11676
63648a95
MA
116772011-08-03 Michael Albinus <michael.albinus@gmx.de>
11678
11679 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11680 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11681
11682 * net/trampver.el: Update release number.
11683
b796c9b7
SM
116842011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11685
11686 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11687 "in" (bug#9190).
11688
2239d7d5
LMI
116892011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11690
e07dd7c3
LMI
11691 * mail/sendmail.el (sendmail-query-once): Restore the current
11692 buffer after querying (bug#9074).
11693
0e6a2bd7
LMI
11694 * dired.el (dired-flagged): Use different faces for marked and
11695 flagged files (bug#6117).
11696
ce887515
LMI
11697 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11698 (bug#4433).
11699
92f2affc
LMI
11700 * ido.el (ido-mode): Switch off the message if called
11701 non-interactively.
11702
57d5aff0
LMI
11703 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11704 before 587, since it appears that that's more likely to work for
11705 more people.
11706
98cd6c18 11707 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11708 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11709 exist.
11710
b96dec83
LMI
11711 * info.el: Remove the `Info-beginning-of-buffer' function
11712 (bug#8325).
11713
b796c9b7
SM
11714 * net/network-stream.el (network-stream-open-starttls):
11715 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11716
d90e2ea0
MR
117172011-08-01 Martin Rudalics <rudalics@gmx.at>
11718
11719 * window.el (display-buffer-in-window): Don't set dedicated status
11720 of window here (Bug#9215).
11721 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11722 (display-buffer-pop-up-side-window)
b796c9b7 11723 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11724
cca09170
SM
117252011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11726
11727 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11728 before binding generated-autoload-file.
11729
027b979c
DD
117302011-08-01 Deniz Dogan <deniz@dogan.se>
11731
11732 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11733
3c7ee4f3
MA
117342011-07-30 Michael Albinus <michael.albinus@gmx.de>
11735
11736 Sync with Tramp 2.2.2.
11737
11738 * net/trampver.el: Update release number.
11739
2cc8e51a
JL
117402011-07-30 Juri Linkov <juri@jurta.org>
11741
11742 * dired-aux.el (dired-touch-initial): Remove function.
11743 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11744 current time, and `default' to the last modification time of the
11745 current marked file (bug#6887).
11746
a514d856
JM
117472011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11748
11749 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11750 numeric argument to read-number (bug#9163).
a514d856 11751
8a7eddd7
MA
117522011-07-27 Michael Albinus <michael.albinus@gmx.de>
11753
11754 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11755 connection process, it could be nil.
11756
1ddd96f5
LL
117572011-07-27 Leo Liu <sdl.web@gmail.com>
11758
11759 Simplify url handling in rcirc-mode.
11760
11761 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11762 (rcirc-browse-url-at-mouse): Remove.
11763 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11764
b248a85d
AM
117652011-07-26 Alan Mackenzie <acm@muc.de>
11766
11767 Fontify bitfield declarations properly.
11768
11769 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11770 (c-symbol-chars): Now exported as a lang variable.
11771 (c-not-primitive-type-keywords): New lang variable.
11772
11773 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11774 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11775 parsed as a bitfield declaration.
b248a85d 11776
b796c9b7
SM
11777 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11778 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11779 (c-punctuation-in): New function.
11780 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11781 declarations properly.
11782
68575ab0
UJ
117832011-07-26 Ulf Jasper <ulf.jasper@web.de>
11784
11785 * calendar/icalendar.el (icalendar--all-events): Take care of
11786 multiple vcalendars in a single file.
b796c9b7 11787 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11788
0f0a88b9
DD
117892011-07-25 Deniz Dogan <deniz@dogan.se>
11790
11791 * image.el (insert-image): Clarifying docstring.
11792
0b3f36df
MA
117932011-07-24 Michael Albinus <michael.albinus@gmx.de>
11794
11795 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11796 `tramp-send-command-and-check' if there is no error.
11797 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11798
a9901f61
AM
117992011-07-22 Alan Mackenzie <acm@muc.de>
11800
11801 Prevent cc-langs.elc being loaded at run time.
11802
11803 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11804 cc-langs.
11805
4d61f28d 11806 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11807 "(require 'cc-langs)". Quote a form so it will evaluate at
11808 (cc-mode's) compilation time.
11809
11d074b2
MA
118102011-07-22 Michael Albinus <michael.albinus@gmx.de>
11811
11812 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11813 loading. (Bug#9114)
11814
938b94c8
MR
118152011-07-21 Martin Rudalics <rudalics@gmx.at>
11816
11817 * window.el (display-buffer-pop-up-window)
11818 (display-buffer-pop-up-side-window)
11819 (display-buffer-in-side-window): Call display-buffer-set-height
11820 and display-buffer-set-width after setting the new window's
b796c9b7 11821 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11822
bfa4f190
SS
118232011-07-20 Sam Steingold <sds@gnu.org>
11824
11825 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11826 (etags-tags-included-tables): Call `convert-standard-filename' on
11827 the file names contained in TAGS so that windows Emacs can handle
11828 TAGS files created by cygwin ctags.
11829
8ca42262
LMI
118302011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11831
11832 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11833 which apparently didn't work.
11834
5db2afd2 118352011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11836
5db2afd2
RW
11837 * proced.el (proced-send-signal): For *Marked Processes* buffer
11838 put point at beginning of buffer.
11839
92e15d10
SB
118402011-07-19 Stephen Berman <stephen.berman@gmx.net>
11841
11842 * proced.el (proced-format): Make header lines align with the text
11843 (bug#1779).
11844
1bfd59e5
LMI
118452011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11846
11847 * view.el (view-buffer): Allow running in `special' modes if we're
11848 visiting a file (bug#8615).
11849
f5aae37c
MR
118502011-07-19 Martin Rudalics <rudalics@gmx.at>
11851
11852 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11853 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11854 New functions.
f5aae37c
MR
11855 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11856 more accurately.
11857
bf2c1571
AM
118582011-07-18 Alan Mackenzie <acm@muc.de>
11859
11860 Fontify declarators properly when, e.g., a jit-lock chunk begins
11861 inside a declaration.
11862
11863 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11864
b796c9b7
SM
11865 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11866 New function.
bf2c1571
AM
11867 (c-complex-decl-matchers): Insert reference to
11868 c-font-lock-enclosing-decls.
11869
11870 * progmodes/cc-engine.el (c-backward-single-comment):
11871 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11872 to nil around calls to (forward-comment -1).
11873
4e190b80
LMI
118742011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11875
12dc863d
LMI
11876 * image.el (put-image): Doc typo fix.
11877
a762e966
LMI
11878 * progmodes/etags.el (tags-search): Doc typo fix.
11879
4e190b80
LMI
11880 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11881 password if we get errors 550 to 554.
11882
f019fb21
LMI
118832011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11884
b796c9b7 11885 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11886
81746738
LMI
11887 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11888 indentation character (bug#6380).
11889
3ee3a1b5
LMI
11890 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11891
c82f64de
LMI
11892 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11893 to clarify what the problem is (bug#4291).
11894
f019fb21
LMI
11895 * simple.el (current-kill): Clarify what
11896 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11897 (auto-fill-mode): Document `auto-fill-function' in relation to
11898 `auto-fill-mode' (bug#2470).
f019fb21 11899
0794775d
LM
119002011-07-16 Lawrence Mitchell <wence@gmx.li>
11901
11902 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11903 method if slot is read-only (bug#9035).
11904
be39b8cc
MR
119052011-07-16 Martin Rudalics <rudalics@gmx.at>
11906
b796c9b7 11907 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11908 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11909 selected before, see discussion of (Bug#8615), (Bug#6954).
11910 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11911
6ccf7859
GM
119122011-07-15 Glenn Morris <rgm@gnu.org>
11913
11914 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11915 Respect help-form.
6ccf7859 11916
87e86684
LM
119172011-07-09 Lawrence Mitchell <wence@gmx.li>
11918
11919 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11920 (gnutls-negotiate): Use it.
11921
d6066239
LMI
119222011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11923
b796c9b7
SM
11924 * net/gnutls.el (gnutls-negotiate):
11925 Upcase `gnutls-algorithm-priority'.
d6066239 11926
bd23ebc0
GM
119272011-07-15 Glenn Morris <rgm@gnu.org>
11928
c65bca65
GM
11929 * jka-compr.el (jka-compr-verbose): Move from here...
11930 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11931 Add missing :version tag.
11932 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11933
478615cc
LMI
119342011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11935
7b41decb
LMI
11936 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11937 (gnutls-negotiate): Use it.
11938
dbc44fcd
LMI
11939 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11940
06789f97
LMI
11941 * info.el (Info-beginning-of-buffer): New command.
11942 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11943 announcing `b' as the key (bug#8325).
ab896c37 11944 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11945
c39da690
LMI
11946 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11947
3aa5f34b
LMI
11948 * international/mule-cmds.el
11949 (describe-specified-language-support): Make the error message
11950 clearer (bug#8905).
11951
4bf0979f
LMI
11952 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11953
478615cc
LMI
11954 * isearch.el (isearch-barrier): Add a doc string, since it's
11955 mentioned in a function doc string (bug#8678).
11956
75c68aa1
MR
119572011-07-15 Martin Rudalics <rudalics@gmx.at>
11958
11959 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11960 buffer argument (Bug#9083) and self-identifying label argument.
11961
a7c33da2
GM
119622011-07-15 Glenn Morris <rgm@gnu.org>
11963
11964 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11965
2f5c6024
LMI
119662011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11967
11968 * man.el (Man-fontify-manpage): Fix message when formatting the
11969 man page (bug#7929).
11970
0bb23927 119712011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11972
11973 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11974 argument LRM; if non-nil, append an invisible LRM character to the
11975 buffer name.
11976 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11977 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11978 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11979 paragraph direction.
cce4b0a7 11980
621ef9ab
LMI
119812011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11982
d1583c48
LMI
11983 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11984 the man page name (bug#7929).
11985
6a57fb5f
LMI
11986 * image.el (put-image): Mention the `put-image' overlay property
11987 (bug#7834).
11988
d7956b14
LMI
11989 * scroll-bar.el (set-scroll-bar-mode): Mention that
11990 `scroll-bar-mode' lists the values (bug#7772).
11991
5b2d4a66
LMI
11992 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11993 command (bug#7729).
11994
7509a874
LMI
11995 * rect.el (apply-on-rectangle): Return the point after the last
11996 operation.
11997 (string-rectangle): Go to the point after the last operation
11998 (bug#7522).
11999
4fe74b19
LMI
12000 * printing.el (pr-toggle-region): Clarify the documentation
12001 slightly (bug#7493).
12002
b796c9b7
SM
12003 * time.el (display-time-update):
12004 Allow `display-time-mail-function' to return nil (bug#7158).
12005 Fix suggested by Detlev Zundel.
ab283561 12006
fc233c9d
LMI
12007 * vc/diff.el (diff): Clarify the order the file names are read
12008 (bug#7111).
12009
43f5740b
LMI
12010 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
12011 the doc string (bug#7015).
12012
f2182a76
LMI
12013 * font-lock.el (font-lock-maximum-decoration): Mention what
12014 numeric levels mean (bug#6935).
12015
621ef9ab
LMI
12016 * startup.el (initial-buffer-choice): Don't mention the `none'
12017 selection, which is against policy.
12018
adc47434
MR
120192011-07-14 Martin Rudalics <rudalics@gmx.at>
12020
b796c9b7
SM
12021 * window.el (display-buffer-normalize-special):
12022 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 12023
7e5bfb8f
EZ
120242011-07-14 Eli Zaretskii <eliz@gnu.org>
12025
12026 * subr.el (version<, version<=, version=): Mention "-CVS" and
12027 "-12345" alpha version numbers.
12028
27fa387a
CY
120292011-07-14 Chong Yidong <cyd@stupidchicken.com>
12030
12031 * bindings.el: Add advertised binding for set-mark-command
12032 (Bug#5772).
12033
8bdfa064
CY
120342011-07-14 Chong Yidong <cyd@stupidchicken.com>
12035
12036 * bindings.el (mode-line-other-buffer):
12037 * bookmark.el (bookmark-bmenu-2-window):
12038 * bs.el (bs-cycle-next, bs-cycle-previous):
12039 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
12040 switch-to-buffer.
12041
12042 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12043 Delete.
8bdfa064 12044
5eba16a3
JB
120452011-07-14 Juanma Barranquero <lekktu@gmail.com>
12046
12047 * follow.el (follow-debug-message, follow-redisplay):
12048 * jka-cmpr-hook.el (with-auto-compression-mode):
12049 Fix typos in docstrings.
12050
15853710
LMI
120512011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12052
a28e4607
LMI
12053 * subr.el (with-silent-modifications): Clarify somewhat what the
12054 macro inhibits (bug#6525).
12055
15853710
LMI
12056 * simple.el (eval-expression): Note what it does if called
12057 interactively (bug#6495).
12058
bee0fcef
CY
120592011-07-13 Chong Yidong <cyd@stupidchicken.com>
12060
b796c9b7
SM
12061 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12062 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12063
12064 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12065 Remove switch-to-buffer.
12066
58274504
LMI
120672011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12068
bd2fcc8d
LMI
12069 * files.el (make-directory): Clarify that an error will be raised
12070 if there's an error (bug#6397).
12071
0f04b32c
LMI
12072 * startup.el (initial-buffer-choice): Add `none' as a choice
12073 (bug#6234).
12074
465c5fc8
LMI
12075 * subr.el (add-hook): Clarify section about buffer-local hooks
12076 (bug#6218).
12077
58274504
LMI
12078 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12079
bead9a43
JB
120802011-07-13 Juanma Barranquero <lekktu@gmail.com>
12081
12082 * tabify.el (untabify): Preserve the current column so that point
12083 doesn't move (bug#6032).
12084
3af98a7b
LMI
120852011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12086
b796c9b7
SM
12087 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12088 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12089
6240145a
GM
120902011-07-13 Glenn Morris <rgm@gnu.org>
12091
12092 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12093 (dired-insert-directory): Give a message the first time
12094 if ls is found not to support --dired.
12095
1d8c2ccc
LMI
120962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12097
12098 * simple.el (toggle-truncate-lines): Clarify what is toggled
12099 (bug#5580). Text by Drew Adams.
12100
5fc4038e
CY
121012011-07-13 Chong Yidong <cyd@stupidchicken.com>
12102
12103 * simple.el (blink-matching-open): Make the error message from the
12104 last change less verbose.
12105
bf6012e5
DN
121062011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12107
12108 * font-lock.el (font-lock-comment-face): Use the high contrast
12109 "yellow" color for font-lock-comment-face on low color terminals
12110 using a dark background color (bug#4221).
12111
343c3b5a
LMI
121122011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12113
7e9505c5
LMI
12114 * dired.el (dired-insert-set-properties): Make the doc string
12115 reflect what it does now (bug#5325).
12116
c26fdcf5
LMI
12117 * simple.el (blink-matching-open): Say that we were unable to find
12118 the match within the limit, if we're limited (bug#5122).
12119
bb388cc5
LMI
12120 * international/mule-cmds.el (prefer-coding-system): Add an
12121 example (bug#4869).
12122
343c3b5a
LMI
12123 * progmodes/etags.el (tags-search): Document `file-list-form'
12124 (bug#4731).
12125
2a517d45
LM
121262011-07-13 Lawrence Mitchell <wence@gmx.li>
12127
12128 * net/browse-url.el (browse-url-default-browser)
12129 (browse-url-browser-function): Make the default browser choice a
12130 bit more logical (bug#4300). Also clean up the doc string.
12131
b6c78ef2
JB
121322011-07-13 Juanma Barranquero <lekktu@gmail.com>
12133
12134 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12135 binary endings (bug#4440).
12136
1c4dd947
LMI
121372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12138
a2014063
LMI
12139 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12140 which can be pretty annoying (bug#8971).
12141
9c9c2d88
LMI
12142 * jka-compr.el (jka-compr-verbose): New variable, and use
12143 throughout (bug#8971).
12144
1c4dd947
LMI
12145 * info.el (Info-find-file): Fall back on the installation
12146 directory if we can't find the info node anywhere else.
12147
a1c9f41b
SO
121482011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12149
12150 * vc/vc.el (vc-revert-file):
12151 Don't set file time-stamp in the past. (Bug#5181)
12152
536f3d36
LMI
121532011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12154
7152b011
LMI
12155 * files.el (after-find-file): Give a better error message when
12156 trying to find a symlink that points to a file that doesn't exist
12157 (bug#4398).
12158
536f3d36
LMI
12159 * progmodes/cc-vars.el: Remove (probably) misleading comment
12160 (bug#4396).
12161
460c0fba
JB
121622011-07-12 Johan Bockgård <bojohan@gnu.org>
12163
12164 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12165
7a6bda45
CY
121662011-07-12 Chong Yidong <cyd@stupidchicken.com>
12167
12168 * mouse-sel.el: Hack restoring functionality, while keeping
12169 compatibility with 2010-07-03 changes to mouse selection.
12170 (mouse-sel-primary-overlay): New var.
12171 (mouse-sel-selection-alist): Use it.
12172 (mouse-sel-mode): Doc fix; remove points that are default features
12173 of mouse.el.
12174
c79598ef
JB
121752011-07-12 Johan Bockgård <bojohan@gnu.org>
12176
12177 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12178 Fix previous fix (bug#2490).
12179
ff8be6ef
RW
121802011-07-12 Roland Winkler <winkler@gnu.org>
12181
b796c9b7
SM
12182 * textmodes/bibtex.el (bibtex-initialize):
12183 Use pop-to-buffer-same-window.
ff8be6ef
RW
12184 (bibtex-search-entries): Fix interactive call.
12185
296ba3ee
LMI
121862011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12187
f5242a02 12188 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12189 Fontise bytecomp Error lines more correctly (bug#2490).
12190 Fix suggested by Johan Bockgård.
f5242a02 12191
296ba3ee
LMI
12192 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12193
12194 * dired-x.el (dired-guess-default): Use `delete-dups'.
12195
f69fd0d2
CY
121962011-07-12 Chong Yidong <cyd@stupidchicken.com>
12197
12198 * dired.el (dired-mark-prompt):
12199 * dired-aux.el (dired-read-shell-command): Doc fix.
12200
eab5dc07
LMI
122012011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12202
b796c9b7
SM
12203 * mail/sendmail.el (sendmail-query-once):
12204 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12205 emacs -Q.
12206
12207 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12208
eab5dc07
LMI
12209 * cus-edit.el (custom-file): Take an optional no-error variable.
12210 (customize-save-variable): Set the variable, and give a warning if
12211 running under "emacs -q".
12212
a1e65d42
JB
122132011-07-11 Juanma Barranquero <lekktu@gmail.com>
12214
12215 * loadhist.el (unload-feature-special-hooks):
12216 Add `auto-coding-functions', `fill-nobreak-predicate' and
12217 `find-directory-functions' (bug#5327).
12218
1d52da10
LMI
122192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12220
be958f1d
LMI
12221 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12222
5bedb26c
LMI
12223 * cus-edit.el (custom-guess-name-alist): -alist variables should
12224 use the `alist' type (bug#3120). Suggested by Drew Adams.
12225
1d52da10
LMI
12226 * printing.el: Add documentation to all the `pr-toggle-' commands.
12227
cd394be1 122282011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12229
12230 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12231 backends where it makes sense (bug#2623).
12232
dcc88d8a
LMI
122332011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
c3de9feb
LMI
12235 * dired-x.el (dired-guess-default): Remove duplicate shell command
12236 entries (bug#2028).
8a93078b 12237 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12238 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12239
dcc88d8a
LMI
12240 * subr.el (remove-duplicates): New conveniency function.
12241
505e3645
LMI
122422011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12243
12244 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12245 (bug#1526).
12246
122472011-07-10 Martin Rudalics <rudalics@gmx.at>
12248
12249 * window.el (display-buffer-normalize-default): Don't invert
12250 meaning of even-window-heights. Reported by Eli Zaretskii
12251 <eliz@gnu.org>.
12252
455e4fa1
BR
122532011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12254
12255 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12256
8e0bc3e9
CY
122572011-07-10 Chong Yidong <cyd@stupidchicken.com>
12258
12259 * window.el (display-buffer): Fix arguments to
12260 display-buffer-reuse-window in last change.
12261
fa7c3228
CY
12262 * faces.el (link): Use a less saturated blue on light backgrounds.
12263
12264 * startup.el (fancy-startup-text, fancy-about-text)
12265 (fancy-startup-tail): Use font-lock faces, for background safety.
12266
c0a7f300
BN
122672011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12268
b796c9b7
SM
12269 * emulation/viper-cmd.el (viper-change-state-to-vi):
12270 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12271
4dc2a129
MR
122722011-07-09 Martin Rudalics <rudalics@gmx.at>
12273
12274 * window.el (display-buffer-default-specifiers): Remove.
12275 (display-buffer-macro-specifiers): Remove default specifiers.
12276 (display-buffer-alist): Default to nil.
b796c9b7 12277 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12278 (display-buffer-pop-up-window): Allow splitting internal
12279 windows. Check whether a live window was created.
12280 (display-buffer-other-window-means-other-frame)
12281 (display-buffer-normalize-arguments): Rename to
12282 display-buffer-normalize-argument and rewrite. Set the
12283 other-window specifier.
12284 (display-buffer-normalize-special): New function.
12285 (display-buffer-normalize-options): Rename to
12286 display-buffer-normalize-default and rewrite.
12287 (display-buffer-normalize-options-inhibit): Remove.
12288 (display-buffer-normalize-specifiers): Rewrite.
12289 (display-buffer): Process other-window specifier and call
12290 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12291 more faithfully.
b796c9b7 12292 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12293 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12294 (display-buffer-in-window, display-buffer-alist-set):
12295 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12296 <tassilo@member.fsf.org>.
12297
2d43b8c9
LL
122982011-07-09 Leo Liu <sdl.web@gmail.com>
12299
12300 * register.el (insert-register): Restore accidental change on
12301 2011-06-26. (Bug#9028)
12302
7f9b7c53
GM
123032011-07-09 Glenn Morris <rgm@gnu.org>
12304
12305 * subr.el (remq): Handle the empty list. (Bug#9024)
12306
f042cfd8
AS
123072011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12308
12309 * mail/sendmail.el (send-mail-function): No longer delay custom
12310 initialization.
12311 * custom.el (custom-initialize-delay): Doc fix.
12312
856b2f11
SM
123132011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12314
12315 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12316
afae1d68
MA
123172011-07-08 Michael Albinus <michael.albinus@gmx.de>
12318
12319 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12320 human-friendly prompt.
12321
0757af94
SM
123222011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12323
12324 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12325 provided by a particular plugin.
12326
d760b731
LMI
123272011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12328
12329 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12330 save customizations (with "emacs -Q"), just set the variable
12331 instead of erroring out.
12332
12333 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12334
cd79ce90
JL
123352011-07-08 Juri Linkov <juri@jurta.org>
12336
12337 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12338 (archive-zip-update-case): Use 7z if found by `executable-find'.
12339 The order of searching the available programs is the same as in
12340 `archive-zip-extract' (bug#8968).
12341
14cc04aa
CY
123422011-07-07 Chong Yidong <cyd@stupidchicken.com>
12343
12344 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12345 (menu-bar-options-menu): Tweak descriptions.
12346
0a1848ec
LMI
123472011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12348
12349 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12350 menu items into verb phrases (bug#1421). Also refill to fit under
12351 80 columns.
12352
f5bd0689
CY
123532011-07-07 Chong Yidong <cyd@stupidchicken.com>
12354
538e85c6
CY
12355 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12356 (Info-read-node-name): Doc fix (Bug#1084).
12357
f5bd0689
CY
12358 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12359 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12360 (end-of-sexp, beginning-of-sexp)
12361 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12362 (forward-symbol, forward-same-syntax, word-at-point)
12363 (sentence-at-point): Doc fix (Bug#1144).
12364
56ec5115
LMI
123652011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12366
f3f8e37f
LMI
12367 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12368 should cover it (bug#1281).
12369
0757af94 12370 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12371
e9fce1ac 12372 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12373 negotiation fails, then possibly try again with a non-encrypted
12374 connection (bug#9017).
12375
56ec5115
LMI
12376 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12377 be used.
12378
c2f9aec8
RS
123792011-07-07 Richard Stallman <rms@gnu.org>
12380
12381 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12382 property, and handle its changed format.
12383 Look for the correct line number.
12384 Use file's line contents (but not past first =) to find
12385 correct line in message.
12386
ef7b981d 123872011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12388
12389 * international/characters.el (build-unicode-category-table):
12390 Delete it.
0757af94 12391 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12392
0757af94 12393 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12394 to src/chartab.c.
12395 (get-char-code-property): Call unicode-property-table-internal to
12396 load a file. Call get-unicode-property-internal where necessary.
12397 (put-char-code-property): Call unicode-property-table-internal to
12398 load a file. Call put-unicode-property-internal where necessary.
12399 put-unicode-property-internal where necessary.
0757af94
SM
12400 (char-code-property-description):
12401 Call unicode-property-table-internal to load a file.
c805dec0
KH
12402
12403 * international/charprop.el:
12404 * international/uni-bidi.el:
12405 * international/uni-category.el:
12406 * international/uni-combining.el:
12407 * international/uni-comment.el:
12408 * international/uni-decimal.el:
12409 * international/uni-decomposition.el:
12410 * international/uni-digit.el:
12411 * international/uni-lowercase.el:
12412 * international/uni-mirrored.el:
12413 * international/uni-name.el:
12414 * international/uni-numeric.el:
12415 * international/uni-old-name.el:
12416 * international/uni-titlecase.el:
12417 * international/uni-uppercase.el: Regenerate.
12418
12419 * loadup.el: Load international/charprop.el before
12420 international/characters.
12421
e14b388a
CY
124222011-07-07 Chong Yidong <cyd@stupidchicken.com>
12423
12424 * window.el (next-buffer, previous-buffer): Signal an error if
12425 called from a minibuffer window.
12426
12427 * bindings.el: Revert 2011-07-04 change.
12428
354cf0ba
RS
124292011-07-06 Richard Stallman <rms@gnu.org>
12430
12431 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12432 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12433 Treat markers like ints.
12434 (rmail-mime-entity): Doc fix.
12435
a48868a7
LMI
124362011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12437
4906cd3d
LMI
12438 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12439 defcustom again for backwards compatibility.
12440
e0457abe
LMI
12441 * simple.el (shell-command-on-region): Fill.
12442
d67f7e1f
LMI
12443 * dired-aux.el (dired-kill-line): Add a doc string.
12444
fe204702
LMI
12445 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12446 to "\\sw\\|\\s_" (bug#358).
12447
a48868a7
LMI
12448 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12449 (dired-unmark-backward): Ditto.
12450 (dired-flag-backup-files): Ditto.
12451
12452 * dired-x.el (dired-mark-sexp): Ditto.
12453
aa8a705c
RS
124542011-07-06 Richard Stallman <rms@gnu.org>
12455
12456 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12457 (rmail-mime-entity): New arg TRUNCATED.
12458 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12459 New functions.
12460 (rmail-mime-save): Warn if entity is truncated.
12461 (rmail-mime-toggle-hidden): Likewise, for showing.
12462 (rmail-mime-process-multipart): Record when an entity is truncated.
12463
a9a936b9
RS
12464 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12465 if ENTITY is a string.
12466
1f2b92cb
LMI
124672011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12468
f4f73198 12469 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12470 of faces when `M-C-x'-ing their definitions (bug#8378).
12471 Also clean up the code slightly.
f4f73198 12472
12b16734 12473 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12474 because that makes the colors go away.
12b16734 12475
f0691d22
LMI
12476 * mail/sendmail.el (send-mail-function): Change the default to
12477 `sendmail-query-once'.
9e87df06 12478 (sendmail-query-once): Add an autoload cookie.
f0691d22 12479
1f2b92cb
LMI
12480 * net/network-stream.el (network-stream-open-starttls): Try using
12481 a plain connection even if the server offered STARTTLS, and we
12482 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12483 capability. This should make smtpmail.el work in slightly more
12484 configurations.
12485
1cdd2a1b
MA
124862011-07-06 Michael Albinus <michael.albinus@gmx.de>
12487
12488 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12489 New defun.
12490 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12491
fbcc67e2
MM
124922011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12493
12494 * progmodes/sql.el: Version 3.0
0757af94 12495 (sql-product-alist): Add product :completion-object,
fbcc67e2 12496 :completion-column, and :statement attributes.
0757af94 12497 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12498 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12499 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12500 ansi keywords.
12501 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12502 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12503 (sql-oracle-show-reserved-words): New function for development.
12504 (sql-product-font-lock): Simplify for source code buffers.
12505 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12506 New functions.
12507 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12508 (sql-mode-map): Add statement movement functions.
12509 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12510 New variable.
fbcc67e2
MM
12511 (sql-statement-regexp, sql-beginning-of-statement)
12512 (sql-end-of-statement, sql-signum): New functions.
0757af94 12513 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12514 (sql-show-sqli-buffer): Bug fix.
12515 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12516 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12517 with sql-interactive-mode.
12518 (sql-save-connection): Save buffer local settings.
0757af94 12519 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12520 (sql-product-interactive): Bug fix.
12521 (sql-preoutput-hold): New variable.
12522 (sql-interactive-remove-continuation-prompt): Bug fixes.
12523 (sql-debug-redirect): New variable.
12524 (sql-str-literal): New function.
12525 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12526 Redesign.
fbcc67e2
MM
12527 (sql-oracle-save-settings, sql-oracle-restore-settings)
12528 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12529 (sql-completion-object, sql-completion-column)
12530 (sql-completion-sqlbuf): New variables.
12531 (sql-build-completions-1, sql-build-completions)
12532 (sql-try-completion): New functions.
12533 (sql-read-table-name): Use them.
12534 (sql-contains-names): New buffer local variable.
12535 (sql-list-all, sql-list-table): Use it.
12536 (sql-oracle-completion-types): New variable.
12537 (sql-oracle-completion-object, sql-sqlite-completion-object)
12538 (sql-postgres-completion-object): New functions.
12539
d4eaeab1
GM
125402011-07-06 Glenn Morris <rgm@gnu.org>
12541
12542 * window.el (pop-to-buffer): Doc fix.
12543
322b7dab 125442011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12545
12546 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12547
322b7dab 125482011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12549
322b7dab 12550 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12551
322b7dab 12552 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12553
605dd5bf
CY
125542011-07-05 Chong Yidong <cyd@stupidchicken.com>
12555
12556 * button.el (button): Inherit from link face. Suggested by Dan
12557 Nicolaescu.
12558
7dbfa719
SM
125592011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12560
3db614b0
SM
12561 * progmodes/gdb-mi.el: Fit in 80 columns.
12562 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12563 switch-to-buffer.
12564
7dbfa719
SM
12565 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12566 if imenu is simply not configured (bug#8941).
12567
919d884a
KM
125682011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12569
12570 * allout.el (allout-post-undo-hook): New allout outline-change
12571 event hook to signal undo activity.
12572 (allout-post-command-business): Run allout-post-undo-hook if an
12573 undo just occurred.
7dbfa719
SM
12574 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12575 * allout-widgets.el (allout-widgets-after-undo-function):
12576 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12577 in the vicinity of an undo.
12578 (allout-widgets-mode): Include allout-widgets-after-undo-function
12579 on the new allout-post-undo-hook.
12580
450a0f09
SM
125812011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12582
12583 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12584 Let define-derived-mode define it.
12585 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12586 cycles of abbrev-table inheritance (bug#8998).
12587
2de69e00
RW
125882011-07-05 Roland Winkler <winkler@gnu.org>
12589
12590 * textmodes/bibtex.el: Add support for biblatex.
12591 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12592 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12593 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12594 (bibtex-entry-alist, bibtex-field-alist): New variables.
12595 (bibtex-entry-field-alist): Obsolete alias for
12596 bibtex-BibTeX-entry-alist.
12597 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12598 (bibtex-set-dialect): New command.
12599 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12600 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12601 Bind via bibtex-set-dialect.
2de69e00
RW
12602 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12603 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12604 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12605 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12606 Define via bibtex-set-dialect.
450a0f09
SM
12607 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12608 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12609 (bibtex-vec-push, bibtex-vec-incr): New functions.
12610 (bibtex-format-entry, bibtex-field-list)
12611 (bibtex-print-help-message, bibtex-validate)
12612 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12613
2dcdbdd9
SM
126142011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * progmodes/compile.el (compilation-goto-locus):
12617 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12618 * bs.el (bs-cycle-next, bs-cycle-previous):
12619 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12620 * bindings.el (mode-line-other-buffer):
12621 * autoinsert.el (auto-insert):
12622 * arc-mode.el (archive-extract):
12623 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12624
b27640fe
JB
126252011-07-05 Juanma Barranquero <lekktu@gmail.com>
12626
12627 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12628 Fix check of `emacs-lock-unlockable-modes'.
12629 Coerce true values of `emacs-lock--try-unlocking' to t.
12630
53bbe3ad
JB
126312011-07-05 Juanma Barranquero <lekktu@gmail.com>
12632
12633 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12634 * emacs-lock.el: New file.
12635
1d3cdbc7
JD
126362011-07-05 Julien Danjou <julien@danjou.info>
12637
12638 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12639 than `boundp' to check if face is set.
12640
9173deec
JB
126412011-07-05 Juanma Barranquero <lekktu@gmail.com>
12642
12643 * register.el (registerv-make):
12644 * window.el (window-min-height): Fix typos in docstrings.
12645
869795d6
JD
126462011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12647
9173deec 12648 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12649 Update doc string.
12650
b768cdcd
JB
126512011-07-04 Juanma Barranquero <lekktu@gmail.com>
12652
12653 * server.el (server-execute): Catch quit and call
12654 `server-return-error' to pass the error back to emacsclient and
12655 close the connection (bug#8942).
12656
13aa217b
KM
126572011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12658
12659 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12660 insecure exception for current topic. Also note that auto-saves
12661 are handled differently.
12662
5d3385a0 12663 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12664 State variables for tracking auto-save inhibition situation.
12665
12666 (allout-write-contents-hook-handler): Rename from
12667 'allout-write-file-hook-handler', and describe how it depends on
12668 write-contents-functions sensitivity to non-nil value to prevent
12669 file write.
12670
12671 (allout-auto-save-hook-handler): Remove. auto-save does not check
12672 this in individual buffers, only in the starting buffer, so this
12673 is not the right way for us to inhibit auto-save in a buffer
12674 according to its condition.
12675
12676 (allout-mode): Use new allout-write-contents-hook-handler, and
12677 only with write-contents-functions. Remove auto-save provisions -
12678 they're implemented elsewhere.
12679
12680 (allout-before-change-handler): If undo is in progress, note that
12681 for attention of allout-post-command-business.
12682
12683 (allout-post-command-business): If the command we're following was
12684 an undo, check for change in the status of encrypted items and
12685 adjust auto-save inhibitions accordingly.
12686
12687 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12688 according to whether there are or aren't any plain-text topics
12689 pending encryption.
12690
2dcdbdd9 12691 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12692 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12693 if there are plain-text topics pending encryption.
13aa217b
KM
12694
12695 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12696 buffer-saved-size and some allout state to not inhibit auto-saves
12697 if there are no longer any plain-text topics pending encryption.
12698
0757af94
SM
12699 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12700 No longer provide for exemption of the current topic.
13aa217b 12701
ac89b32c
JL
127022011-07-04 Juri Linkov <juri@jurta.org>
12703
12704 Add 7z operations to delete and save changed members (bug#8968).
12705 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12706 New defcustoms.
12707 (archive-7z-write-file-member): New function.
12708 (archive-7z-summarize): Fix the number of dashes in the
12709 listing output.
12710
8fa39615
SM
127112011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12712
12713 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12714 (bug#8958).
12715
2f11b3f1
CY
127162011-07-04 Chong Yidong <cyd@stupidchicken.com>
12717
d66fef2b
CY
12718 * bindings.el: Ignore next-buffer and previous-buffer in
12719 minibuffer-local-map.
12720
2f11b3f1
CY
12721 * font-lock.el (font-lock-builtin-face): Change light background
12722 color to dark slate blue (Bug#6693).
12723
f932a347
WD
127242011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12725
12726 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12727
c8af70e1
SM
127282011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12729
12730 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12731 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12732 Add switch-to-buffer.
12733
f158badc
LMI
127342011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12735
12736 * isearch.el (isearch-search-fun-function): Clarify further the
12737 meaning of the function returned.
12738
6d95bd46
MA
127392011-07-04 Michael Albinus <michael.albinus@gmx.de>
12740
12741 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12742
12743 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12744 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12745 Use it.
12746 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12747 `tramp-default-remote-path' does not exist.
12748 (tramp-send-command-and-read): New optional argument NOERROR.
12749 (tramp-open-connection-setup-interactive-shell)
12750 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12751 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12752 (tramp-process-sentinel): Flush also process' connection property.
12753 (tramp-sh-handle-start-file-process): Do not set process
12754 sentinel. It is done now ...
12755 (tramp-maybe-open-connection): ... here. (Bug#8929)
12756
909e6b67
MK
127572011-07-04 MON KEY <monkey@sandpframing.com>
12758
12759 * play/animate.el (animate-string): Doc fixes and allow changing
12760 the buffer name (bug#5417).
12761
127622011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12763
c8af70e1 12764 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12765
f34755dc
PE
127662011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12767
396cec72
PE
12768 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12769 This is simpler and helps future-proof the code.
12770 (timer-until): Use time-subtract and float-time.
08235028 12771 (timer--time-less-p): Use time-less-p.
f34755dc 12772
56e6cc31
JB
127732011-07-04 Juanma Barranquero <lekktu@gmail.com>
12774
3abb79e5
JB
12775 * type-break.el (timep): Use the value of `float-time' to avoid a
12776 byte-compiler warning.
12777
56e6cc31
JB
12778 * server.el (server-eval-and-print): Return any result, even nil.
12779
7b9430b4
PE
127802011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12781
12782 * type-break.el: Accept time formats that the builtins accept.
12783 (timep, type-break-time-difference): Accept any format that
12784 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12785 This is simpler and helps future-proof the code.
12786 (type-break-time-difference): Round rather than ignoring
12787 subseconds components.
12788
3034e9e7
LMI
127892011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12790
12791 * info.el (Info-apropos-matches): Make non-interactive, since it
12792 doesn't seem to do anything useful as a command (bug#8829).
12793
1485f4c0
CY
127942011-07-03 Chong Yidong <cyd@stupidchicken.com>
12795
12796 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12797 Move from faces.el.
1485f4c0
CY
12798 (frame-default-terminal-background): New function.
12799
12800 * custom.el (custom-push-theme): Don't record faces in `changed'
12801 theme; this doesn't work correctly for per-frame face settings.
12802 (disable-theme): Use face-set-after-frame-default to reset faces.
12803 (custom--frame-color-default): New function.
12804
9fa3dd45
LMI
128052011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12806
c8af70e1 12807 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12808 (bug#8769).
12809
6cbbc20c
KR
128102011-03-29 Kevin Ryde <user42@zip.com.au>
12811
12812 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12813 `perl-Test2' extend to match possible "fail #N" rep count
12814 (bug#8377).
12815
c7f98048
LMI
128162011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12817
65676592
LMI
12818 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12819 `smtpmail-via-smtp' now returns the error instead of nil.
12820
c7f98048
LMI
12821 * isearch.el (isearch-search-fun-function): Clarify the doc string
12822 (bug#8101).
12823
56e6cc31 128242011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12825
12826 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12827 unnecessary spaces (bug#8987).
12828
2b216704
LMI
128292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12830
12831 * net/network-stream.el (open-network-stream): Use the
12832 :end-of-capability command thoughout.
12833
128342011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12835
12836 * net/network-stream.el (open-network-stream): Add the
12837 :end-of-capability command parameter, used by pop3.el.
12838
36adf6ce
LMI
128392011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12840
1ca0da0e
LMI
12841 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12842
fc00f69c
LMI
12843 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12844 for list)" (bug#6475).
12845
28fd8759 12846 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12847 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12848 an error (bug#6297).
12849
0dd8b6da
LMI
12850 * man.el (Man-reference-regexp): Allow matching possible
12851 word-wrapped references (bug#6289).
12852
ce1438d6
LMI
12853 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12854 for consistency with the other vc buffers (bug#6197).
12855 (vc-checkin): Ditto.
12856
12857 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12858
36adf6ce
LMI
12859 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12860
e83cc1f7
LMI
128612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12862
8a20ca4c
LMI
12863 * custom.el (defcustom): Clarify that :set is only used in the
12864 Customize user interface (bug#6089).
12865
83319045
LMI
12866 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12867 associated with a file, refuse to run instead of erroring out
12868 (bug#6084).
12869
a8392169
LMI
12870 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12871 the doc string, since it appears that using `fill-column' always
12872 controls the width (bug#7845).
12873
e83cc1f7
LMI
12874 * simple.el (shell-command-on-region): Say where the error output
12875 went if `shell-command-default-error-buffer' is set (bug#6857).
12876
e47ca23b
KM
128772011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12878
12879 * allout.el (allout-yank-processing): Adjust cursor position for
12880 backwards-deleted space.
12881
12882 (allout-rebullet-heading): Register changes with
12883 allout-exposure-changed-hook, so the modified topic is properly
12884 decorated.
12885
5cf56143
LMI
128862011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12887
08549772
LMI
12888 * minibuffer.el (completion-in-region): Document PREDICATE
12889 (bug#7136).
12890
48e96771
LMI
12891 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12892 of keyword/argument pairs (bug#6904).
12893
c8af70e1
SM
12894 * replace.el (multi-occur):
12895 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12896
e17d05e2
LMI
128972011-07-02 Drew Adams <drew.adams@oracle.com>
12898
12899 * dired.el (dired-mark-if): Make the message about whether it's
12900 marking or unmarking clearer (bug#8523).
12901
063b0e45
LMI
129022011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12903
12904 * disp-table.el (display-table-print-array): New function.
12905 (describe-display-table): Use it to print the vectors more pretty
12906 (Bug#8859).
12907
28545e04
MR
129082011-07-02 Martin Rudalics <rudalics@gmx.at>
12909
12910 * window.el (window-state-get-1): Don't assign clone numbers.
12911 Add clone-of item to list of window parameters.
12912 (window-state-put-2): Don't process clone numbers.
12913 (display-buffer-alist): Fix doc-string.
12914
3349e122
SM
129152011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12916
12917 * subr.el (remq): Don't allocate if it's not needed.
12918 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12919 (keymap--merge-bindings): New functions.
12920 (keymap-canonicalize): Use them to refine the canonicalization.
12921 * minibuffer.el (minibuffer-local-completion-map)
12922 (minibuffer-local-must-match-map): Move initialization from C.
12923 (minibuffer-local-filename-completion-map): Move initialization from C;
12924 don't inherit from anything here.
12925 (minibuffer-local-filename-must-match-map): Make obsolete.
12926 (completing-read-default): Use make-composed-keymap to combine
12927 minibuffer-local-filename-completion-map with either
12928 minibuffer-local-must-match-map or
12929 minibuffer-local-filename-completion-map.
12930
d224ac83
GM
129312011-07-01 Glenn Morris <rgm@gnu.org>
12932
3de63bf8
GM
12933 * type-break.el (type-break-time-sum): Use dolist.
12934
d224ac83
GM
12935 * textmodes/flyspell.el (flyspell-word-search-backward):
12936 Replace CL function.
12937
1a1e3f32
SM
129382011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12939
fe3f64d5
SM
12940 * mouse.el (mouse--strip-first-event): New function.
12941 (function-key-map): Use it to map fringe clicks to normal clicks
12942 by default.
12943
eb604e34
SM
12944 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12945 (vc-bzr-revision-completion-table): Add support for annotate and date.
12946
1a1e3f32
SM
12947 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12948 inherit from parent.
12949
5bd35902
LMI
129502011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12951
ace6c69c 12952 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12953 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12954
191e2bed
LMI
12955 * dired.el (dired-mode): Fix up the doc string as suggested by
12956 Drew Adams (bug#8817).
12957
5bd35902
LMI
12958 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12959 cookie, since the manual says that it should be possible to add
12960 this function to `find-file-hook' (bug#8709).
12961
eee8207a
TZ
129622011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12963
12964 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12965 here. Noted Ted Zlatanov as the maintainer.
12966 (cfengine-common-settings, cfengine-common-syntax): New functions
12967 to set up common things between `cfengine-mode' and
12968 `cfengine3-mode'.
12969 (cfengine3-mode): New mode.
12970 (cfengine3-defuns cfengine3-defuns-regex
12971 (cfengine3-class-selector-regex cfengine3-category-regex)
12972 (cfengine3-vartypes cfengine3-font-lock-keywords)
12973 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12974 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12975
36b148cf
MA
129762011-07-01 Michael Albinus <michael.albinus@gmx.de>
12977
12978 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12979
12980 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12981
0bf4ba9a
MR
129822011-07-01 Martin Rudalics <rudalics@gmx.at>
12983
12984 * window.el (same-window-buffer-names, same-window-regexps)
12985 (same-window-p, special-display-frame-alist)
12986 (special-display-popup-frame, special-display-function)
12987 (special-display-buffer-names, special-display-regexps)
12988 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12989 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12990 (split-window-preferred-function, split-height-threshold)
12991 (split-width-threshold, even-window-heights)
12992 (display-buffer-mark-dedicated, window-splittable-p)
12993 (split-window-sensibly, window-safely-shrinkable-p):
12994 Un-obsolete.
12995 (display-buffer): Don't spread args with function specifier
12996 because special-display-popup-frame won't like it.
12997
35837f51
PE
129982011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12999
d0672f86
PE
13000 Time-stamp simplifications and fixes.
13001 These improve accuracy slightly, and future-proof the code
13002 against some potential changes to current-time format.
13003
b9444d97
PE
13004 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
13005 by using time-since and float-time.
13006
0ef923dc
PE
13007 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
13008 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
13009 + NNN microseconds".
13010
2f81380d
PE
13011 * type-break.el (type-break-time-sum): Rewrite using time-add.
13012
845b5c3e
PE
13013 * play/hanoi.el (hanoi-current-time-float): Remove.
13014 All uses replaced by float-time.
13015
ee6f1be0
PE
13016 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
13017 This yields a more-accurate answer.
13018 (rng-time-to-float): Remove; no longer needed.
13019
fe955043
PE
13020 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
13021
5777162a
PE
13022 * calendar/timeclock.el (timeclock-seconds-to-time):
13023 Defalias to seconds-to-time, since they're the same thing.
13024
3103f8b6 13025 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 13026 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
13027 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
13028
0e61a35f
SM
130292011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13030
13031 * window.el (bury-buffer): Don't iconify the only frame.
13032 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
13033 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
13034
ddd63a1e
CY
130352011-07-01 Chong Yidong <cyd@stupidchicken.com>
13036
0e61a35f
SM
13037 * eshell/em-smart.el (eshell-smart-display-navigate-list):
13038 Add mouse-yank-primary.
ddd63a1e 13039
055f4923
TZ
130402011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
13041
13042 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13043
6a2fb145
SM
130442011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13045
13046 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13047 (find-library-name): Use it to find relative load names when provided
13048 absolute file name (bug#8803).
13049
fd4983f2
LMI
130502011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13051
887d14ad
LMI
13052 * textmodes/flyspell.el (flyspell-word): Consider words that
13053 differ only in case as potential doublons (bug#5687).
13054
c53dc7fc
LMI
13055 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13056 Remove two rather uninteresting debugging-like messages to make
13057 debbugs.el more silent.
13058
fd4983f2
LMI
13059 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13060 a password-like phrase.
13061
7a71b18d 130622011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13063
13064 * progmodes/cc-guess.el: New file.
13065
6a2fb145 13066 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13067
13068 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13069 derived from `c-basic-common-init'.
13070
13071 * progmodes/cc-mode.el (top-level): Require cc-guess.
13072 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13073
1fa280a3
LM
130742011-06-30 Lawrence Mitchell <wence@gmx.li>
13075
13076 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13077
e6597158
AM
130782011-06-30 Alan Mackenzie <acm@muc.de>
13079
1fa280a3
LM
13080 * progmodes/cc-engine.el (c-guess-continued-construct):
13081 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13082 lock is disabled. Name this case as "CASE G".
13083
68ba37fb
KM
130842011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13085
13086 * allout.el (allout-yank-processing): Fix injection of extra space
13087 between bullet and non-whitespace character in first topic when
13088 pasting, ensuring that the actual spacing in the pasted topic
13089 following the bullet char is preserved. This extra space was
13090 causing pasted encrypted topics to get a decrypted status even
13091 when the content was actually still encrypted. Now the decryption
13092 status from before the paste is preserved.
13093
13094 (allout-flag-region): Set all allout overlays so they evaporate
13095 when reduced to zero length (evanescent), to prevent overlay
13096 leakage.
13097
887a0b34
GM
130982011-06-30 Glenn Morris <rgm@gnu.org>
13099
94b9acce
GM
13100 * w32-fns.el (w32-charset-info-alist): Declare.
13101
1d9b46d4
GM
13102 * find-dired.el (find-grep-options): Simplify.
13103
cc232200
GM
13104 * term/ns-win.el (ns-set-resource): Declare.
13105
28e77c46
GM
13106 * ses.el (row, col): Declare dynamic variables honestly.
13107
887a0b34
GM
13108 * textmodes/reftex-parse.el (index-tags): Declare.
13109
658d8eb8
CY
131102011-06-30 Chong Yidong <cyd@stupidchicken.com>
13111
13112 * cus-edit.el (customize-push-and-save): New function.
13113
13114 * files.el (hack-local-variables-confirm): Use it.
13115
1fa280a3
LM
13116 * custom.el (load-theme): New arg NO-CONFIRM.
13117 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13118 (custom-enabled-themes): Doc fix.
13119
13120 * cus-theme.el (customize-create-theme)
13121 (custom-theme-merge-theme): Callers to load-theme changed.
13122
bb617717
LMI
131232011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13124
d61bdd5d
LMI
13125 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13126 short URLs have at least one dot in them (bug #7614).
13127
bb617717
LMI
13128 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13129 nil, because using a pty is apparently too slow (bug #895).
13130
2f31f37a
LMI
131312011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13132
13133 * mail/sendmail.el (sendmail-query-once): New function.
13134 (sendmail-query-once-function): New variable.
13135
3076b24e
GM
131362011-06-29 Glenn Morris <rgm@gnu.org>
13137
faf2a174
GM
13138 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13139
3076b24e
GM
13140 * ses.el (top-level): Require cl when compiling.
13141 (ses-set-localvars): Fix error statement.
13142 Call it at compile time to silence a storm of warnings.
13143
5386012d
MR
131442011-06-29 Martin Rudalics <rudalics@gmx.at>
13145
13146 * window.el (normalize-live-buffer): Rename to
13147 window-normalize-buffer.
13148 (normalize-live-frame): Rename to window-normalize-frame.
13149 (normalize-any-window): Rename to window-normalize-any-window.
13150 (normalize-live-window): Rename to window-normalize-live-window.
13151 (make-window-atom): Rename to window-make-atom.
13152 (window-resize-reset): Rename to window--resize-reset.
13153 (window-resize-reset-1): Rename to window--resize-reset-1.
13154 (resize-mini-window): Rename to window--resize-mini-window.
13155 (resize-subwindows-skip-p): Rename to
13156 window--resize-subwindows-skip-p.
13157 (resize-subwindows-normal): Rename to
13158 window--resize-subwindows-normal.
13159 (resize-subwindows): Rename to window--resize-subwindows.
13160 (resize-other-windows): Rename to window--resize-siblings.
13161 (resize-this-window): Rename to window--resize-this-window.
13162 (resize-root-window): Rename to window--resize-root-window.
13163 (resize-root-window-vertically): Rename to
13164 window--resize-root-window-vertically.
13165 (normalize-buffer-to-display): Rename to
13166 window-normalize-buffer-to-display.
13167 (normalize-buffer-to-switch-to): Rename to
13168 window-normalize-buffer-to-switch-to.
13169 Correspondingly update all callers of the functions listed
13170 above.
13171 (display-buffer-alist, display-buffer-normalize-arguments)
13172 (display-buffer-normalize-options, display-buffer)
13173 (display-buffer-alist-set): Use "function" instead of
13174 "fun-with-args".
13175
1176868d
CY
131762011-06-28 Chong Yidong <cyd@stupidchicken.com>
13177
13178 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13179 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13180 debbugs.gnu.org. Mention acknowledgment email.
13181
20a7a65f
LMI
131822011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13183
13184 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13185 buffer multibyteness, since it shouldn't matter.
13186
5f45cca5
MR
131872011-06-28 Martin Rudalics <rudalics@gmx.at>
13188
13189 * window.el (display-buffer-in-side-window): Handle dedicated
13190 windows as in display-buffer-reuse-window.
13191 (display-buffer-normalize-alist): Use value of override
13192 specifier.
13193 (display-buffer-normalize-specifiers): Use value of
13194 other-window-means-other-frame specifier.
13195 (display-buffer-alist): Rewrite some texts in widgets.
13196 (display-buffer): Spread arguments when calling function
13197 specified by fun-with-args.
13198
ad85fe1f
DD
131992011-06-28 Deniz Dogan <deniz@dogan.se>
13200
1fa280a3
LM
13201 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13202 Unnest `let'.
da68c4c8 13203
ad85fe1f
DD
13204 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13205 selectors (Bug#5732).
ec49bd31 13206 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13207
a08cc025
JA
132082011-06-27 Jari Aalto <jari.aalto@cante.net>
13209
13210 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13211 (eshell-ls-date-format): New defcustom.
13212 (eshell-ls-file): Use it.
13213
e2b551c5
SM
132142011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13215
13216 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13217
8982b231
KY
132182011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13219
13220 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13221 (ange-ftp-make-tmp-name): New arg.
13222 (ange-ftp-file-local-copy): Use it.
13223
36c9fa27
J
132242011-06-27 Jambunathan K <kjambunathan@gmail.com>
13225
13226 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13227 no-conversion (Bug#8870).
13228
d68443dc
MR
132292011-06-27 Martin Rudalics <rudalics@gmx.at>
13230
13231 * window.el (window-right, window-left, window-child)
13232 (window-child-count, window-last-child)
13233 (window-iso-combination-p, walk-window-tree-1)
13234 (window-atom-check-1, window-tree-1, delete-window)
13235 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13236 new naming conventions - window-vchild, window-hchild,
13237 window-next and window-prev are now called window-top-child,
13238 window-left-child, window-next-sibling and window-prev-sibling
13239 respectively.
d615d6d2
MR
13240 (resize-window-reset): Rename to window-resize-reset.
13241 (resize-window-reset-1): Rename to window-resize-reset-1.
13242 (resize-window): Rename to window-resize.
13243 (window-min-height, window-min-width)
13244 (resize-mini-window, resize-this-window, resize-root-window)
13245 (resize-root-window-vertically, adjust-window-trailing-edge)
13246 (enlarge-window, shrink-window, maximize-window)
13247 (minimize-window, delete-window, quit-restore-window)
13248 (split-window, balance-windows, balance-windows-area-adjust)
13249 (balance-windows-area, window-state-put-2)
13250 (display-buffer-even-window-sizes, display-buffer-set-height)
13251 (display-buffer-set-width, set-window-text-height)
13252 (fit-window-to-buffer): Rename all "resize-window" prefixed
13253 calls to use the "window-resize" prefix convention.
13254 (display-buffer-alist): Fix symbol for label specifier.
13255 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13256 corresponding specifier.
13257 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13258
b6458526
VB
132592011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13260
13261 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13262 convention.
13263 (ses-call-printer): Does not pass an empty string to formatter when the
13264 cell is empty to keep from barking printer Calc math-format-value.
13265
d31fd9ac
RS
132662011-06-27 Richard Stallman <rms@gnu.org>
13267
43d5bf84
RS
13268 * battery.el (battery-mode-line-limit): New variable.
13269 (battery-update): Handle it.
13270
d31fd9ac
RS
13271 * mail/rmailmm.el (rmail-mime-process-multipart):
13272 Handle truncated messages.
13273
819a6054
GM
132742011-06-27 Glenn Morris <rgm@gnu.org>
13275
13276 * progmodes/flymake.el (flymake-err-line-patterns):
13277 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13278
cedc73f2
VB
132792011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13280
819a6054 13281 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13282 (ses--clean-!, ses--clean-_): New functions.
13283 (ses-range): Add configurability of readout order, and conversion
13284 to Calc vector.
13285
5e5d49b6
VB
13286 * ses.el (ses-repair-cell-reference-all): New function.
13287 (ses-cell-symbol): Set macro as safe, so that it can be used in
13288 formulas.
13289
56e6cc31 13290 * ses.el: Update cycle detection algorithm.
90ca8b49 13291 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13292 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13293 (ses-set-localvars): New function.
13294 (ses-make-cell): Add property-list as a cell element.
13295 (ses-cell-property-get-fun, ses-cell-property-get)
13296 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13297 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13298 New functions.
90ca8b49
VB
13299 (ses-cell-property-set, ses-cell-property-pop)
13300 (ses-cell-property-get-handle): New macro.
13301 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13302 New aliases, used for code readability.
13303 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13304 cycle detection.
13305 (ses-self-reference-early-detection): New defcustom.
fac916bf 13306 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13307 (ses-mode): Use ses-set-localvars.
13308 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13309 before lauching the update processing.
13310 (ses-initialize-Dijkstra-attempt): New function.
13311 (ses-recalculate-cell): Update for cycle detection based on
13312 Dijkstra algorithm.
13313
2bb63e81
VB
13314 * ses.el: Fix commenting and indenting convention.
13315
c9d29fb8
SM
133162011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13317
13318 * bs.el (bs-cycle-next): Complete last change.
13319
d8e4b68b
JB
133202011-06-27 Drew Adams <drew.adams@oracle.com>
13321
13322 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13323
40098786
LMI
133242011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13325
c9d29fb8
SM
13326 * net/network-stream.el (network-stream-open-starttls):
13327 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13328 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13329
40098786
LMI
13330 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13331 to binary to possibly avoid line encoding issues on Windows (among
13332 other things).
13333
468d09d4
LMI
133342011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13335
13336 * net/network-stream.el (open-network-stream): Return an :error
13337 saying what the problem was, if possible.
13338
13339 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13340 server.
13341
13342 * net/network-stream.el (network-stream-open-starttls): If we
13343 wanted to use STARTTLS, and the server offered it, but we weren't
13344 able to because we had no STARTTLS support, then close the connection.
13345 (open-network-stream): Return an :error element, if present.
13346
16f07dd7
CY
133472011-06-26 Chong Yidong <cyd@stupidchicken.com>
13348
88821ca0
CY
13349 * hl-line.el (hl-line-sticky-flag): Doc fix.
13350 (global-hl-line-sticky-flag): New option (Bug#8323).
13351 (global-hl-line-highlight): Obey it.
13352
16f07dd7
CY
13353 * vc/vc.el (vc-revert-show-diff): Default to t.
13354
6b5ccddf
KM
133552011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13356
c9d29fb8
SM
13357 * allout-widgets.el (allout-widgets-post-command-business):
13358 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13359 undecorated when an isearch is continued past, and isearch
13360 automatically collapses them. This leads to "widget leaks", where
13361 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13362 hidden widgets can slow down cursor travel, substantially.
13363 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13364 so we're doing without this nicety.
13365
13366 (allout-widgets-tally-string): Don't try to do a hash-table-count
13367 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13368 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13369 *Messages* when allout-widgets-maintain-tally is t.
13370
355f2e07
MR
133712011-06-26 Martin Rudalics <rudalics@gmx.at>
13372
13373 * window.el (display-buffer-normalize-argument): Rename to
13374 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13375 LABEL argument. Respect special-display-function when popping up
13376 a new frame. Fix code searching for a window showing the buffer
13377 on another frame.
c9d29fb8
SM
13378 (display-buffer-normalize-specifiers):
13379 Call display-buffer-normalize-arguments.
355f2e07
MR
13380 (display-buffer-in-window): Don't undedicate the window if its
13381 buffer remains the same.
13382 Reported by Drew Adams <drew.adams@oracle.com>.
13383 (display-buffer-alist): Add choice for same-window macro
13384 specfier.
13385 (display-buffer): Mention special meaning of LABEL argument in
13386 doc-string. Fix quoting. Don't pop up a new frame even as
13387 fallback.
13388
7ca8fc42
JB
133892011-06-26 Juanma Barranquero <lekktu@gmail.com>
13390
13391 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13392 avoid deleting the current window in some cases (bug#8911).
13393
bc312254
AS
133942011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13395
13396 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13397 (Bug#8934)
13398
2db18f3f
LMI
133992011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13400
c9d29fb8
SM
13401 * net/network-stream.el (network-stream-open-starttls):
13402 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13403 (network-stream-open-tls): Ditto.
13404
6302e0d3
LL
134052011-06-26 Leo Liu <sdl.web@gmail.com>
13406
13407 * register.el (registerv): New struct.
13408 (registerv-make): New function.
c9d29fb8
SM
13409 (jump-to-register, describe-register-1, insert-register):
13410 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13411 struct. (Bug#8415)
13412
5fdd4046
CY
134132011-06-26 Chong Yidong <cyd@stupidchicken.com>
13414
2afef60a
CY
13415 * vc/vc.el (vc-revert-show-diff): New defcustom.
13416 (vc-diff-internal): New arg specifying diff buffer.
13417 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13418 reuse an existing *vc-diff* buffer (Bug#8927).
13419
5fdd4046
CY
13420 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13421
e93db24a
GM
134222011-06-26 Glenn Morris <rgm@gnu.org>
13423
13424 * progmodes/f90.el (f90-critical-indent): New option.
13425 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13426 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13427 (f90-mode): Doc fix.
13428 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13429 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13430 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13431 (f90-match-end): Handle block, critical.
13432
eefff499
GM
134332011-06-25 Glenn Morris <rgm@gnu.org>
13434
f6ba4cc9
GM
13435 * calendar/diary-lib.el (diary-included-files): Doc fix.
13436 (diary-include-files): New function, extracted from
13437 diary-include-other-diary-files and diary-mark-included-diary-files.
13438 (diary-include-other-diary-files, diary-mark-included-diary-files):
13439 Just call diary-include-files.
13440 (diary-mark-entries): Reset diary-included-files on first call.
13441
16712304
GM
13442 * calendar/diary-lib.el (diary-mark-entries)
13443 (diary-mark-included-diary-files):
13444 Visit included diary-files in temp buffers.
13445
5d8e0d43
GM
13446 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13447 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13448 (f90-start-block-re, f90-imenu-generic-expression)
13449 (f90-looking-at-program-block-start, f90-no-block-limit):
13450 Add support for submodules.
13451
ccf7a5d5
GM
13452 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13453 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13454
11fdef7d 134552011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13456
13457 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13458 buffer-file-type before setting its value, to avoid disastrous
eefff499 13459 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13460
74f53697
JB
134612011-06-25 Juanma Barranquero <lekktu@gmail.com>
13462
13463 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13464
13465 * ses.el (ses-unload-function):
13466 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13467
13468 * proced.el (proced-unload-function):
13469 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13470
18a4ce5e
AR
134712011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13472
13473 * server.el (server-create-window-system-frame): Add parameters arg.
13474 (server-process-filter): Doc fix. Handle frame-parameters.
13475
519d22cc
JB
134762011-06-25 Juanma Barranquero <lekktu@gmail.com>
13477
13478 Fix bug#8730, bug#8781.
13479
13480 * loadhist.el (unload--set-major-mode): New function.
13481 (unload-feature): Use it.
13482
13483 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13484 (python-unload-function): New function.
13485
c206f5b0
SM
134862011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13487
13488 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13489
f9ad64f3
GS
134902011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13491
13492 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13493 the candidates list.
13494
7d0da90e
JB
134952011-06-24 Juanma Barranquero <lekktu@gmail.com>
13496
13497 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13498
14b4e83d
RS
134992011-06-23 Richard Stallman <rms@gnu.org>
13500
13501 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13502 (rmail-variables): Set next-error-move-function.
13503 (rmail-what-message): Take argument POS.
13504 (rmail-next-error-move): New function.
13505
273d2baf
SM
135062011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13507
13508 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13509 messages for adjacent non-terminals.
13510
56c2cc9a
RS
135112011-06-23 Richard Stallman <rms@gnu.org>
13512
13513 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13514 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13515 (rmail-start-mail): Don't specify use of rmail-mail-return;
13516 that's done by mail-bury now.
13517 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13518
d59eb518
MA
135192011-06-23 Michael Albinus <michael.albinus@gmx.de>
13520
13521 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13522 SIZE is a number.
13523
02cfc6d6
MR
135242011-06-23 Martin Rudalics <rudalics@gmx.at>
13525
13526 * window.el (get-lru-window, get-mru-window)
13527 (get-largest-window): Never return a minibuffer window.
13528 (display-buffer-pop-up-window): Fix a bug that could lead to
13529 reusing the minibuffer window.
13530 (display-buffer): Pass original specifier argument to
13531 display-buffer-function instead of the normalized one.
13532 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13533
4e323265
LL
135342011-06-22 Leo Liu <sdl.web@gmail.com>
13535
13536 * minibuffer.el (completing-read-function)
13537 (completing-read-default): Move from minibuf.c
13538
7a70468f
RS
135392011-06-22 Richard Stallman <rms@gnu.org>
13540
50718fc2
RS
13541 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13542 to Rmail even if not started by a special Rmail command.
13543
7a70468f
RS
13544 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13545 Copy the buffer currently showing just one message.
13546
297dde5a
RW
135472011-06-22 Roland Winkler <winkler@gnu.org>
13548
13549 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13550 (bibtex-clean-entry): First delete the old key so that a
13551 customized algorithm for generating the new key does not get
13552 confused by the old key.
13553 (bibtex-url): Obey regexp of first step.
13554 (bibtex-search-entries): Do not use add-to-list with local
13555 list-var.
13556
97bb1093
LMI
135572011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13558
13559 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13560 stored a user name, then query for the password first, instead of
13561 waiting for SMTP to give an error message and the trying again.
13562
1c0f1a19
JD
135632011-06-22 Lawrence Mitchell <wence@gmx.li>
13564
13565 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13566 BUFFER in call-process.
13567
396f7c9d
LMI
135682011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13569
13570 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13571 QUIT twice.
ddb7ffee
LMI
13572 (smtpmail-try-auth-methods): Require user name and password from
13573 auth-source.
396f7c9d 13574
8998d1b3
MR
135752011-06-22 Martin Rudalics <rudalics@gmx.at>
13576
13577 * window.el (display-buffer-default-specifiers)
13578 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13579 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13580 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13581
13582 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13583 (special-display-frame-alist, special-display-popup-frame):
13584 Remove duplicate declarations. These are now in window.el.
13585
4ea31e07
LMI
135862011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13587
c9d29fb8
SM
13588 * mail/smtpmail.el (smtpmail-via-smtp):
13589 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13590 server supports it. SMTP servers that support STARTTLS commonly
13591 require it.
13592
13593 * net/network-stream.el (network-stream-open-starttls): Support
13594 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13595 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13596
95f41d9a
LMI
13597 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13598 upgrades with `open-network-stream', and rely solely on
13599 auth-source for all credentials. Big changes throughout the file,
13600 but in particular:
c9d29fb8
SM
13601 (smtpmail-auth-credentials): Remove.
13602 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13603 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13604 MAIL FROM, too.
95f41d9a 13605
c9d29fb8
SM
13606 * net/network-stream.el (network-stream-open-starttls):
13607 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13608 STARTTLS.
13609 (auth-source): Require.
13610 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13611 (network-stream-certificate): Change cert-cert to cert and
13612 cert-key to key.
4ea31e07 13613
065ec2c7
MA
136142011-06-21 Michael Albinus <michael.albinus@gmx.de>
13615
13616 * net/tramp-cache.el (top): Don't load the persistency file when
13617 "emacs -Q" has been called.
13618
cd93b359
DR
136192011-06-21 Tim Harper <timcharper@gmail.com>
13620
d8e4b68b
JB
13621 * term/ns-win.el (ns-initialize-window-system):
13622 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13623 resource to NO as it is not yet supported by the NS port.
13624
ae9c0411
JB
136252011-06-21 Juanma Barranquero <lekktu@gmail.com>
13626
13627 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13628 (list-dynamic-libraries): ...not here.
13629
7f3f739f
LL
136302011-06-21 Leo Liu <sdl.web@gmail.com>
13631
13632 * subr.el (sha1): Implement sha1 using secure-hash.
13633
327c8fb1
MR
136342011-06-21 Martin Rudalics <rudalics@gmx.at>
13635
13636 * window.el (display-buffer-alist): In default value do not
13637 enforce searching a window on any but the selected frame.
13638 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13639 (display-buffer-select-window): Remove function.
13640 (display-buffer-in-window): When a window on another frame gets
13641 reused, do not select it any more but just raise its frame if
13642 necessary (Bug#8851) and (Bug#8856).
13643 (display-buffer-normalize-options): Handle pop-up-frames related
13644 options more faithfully.
13645 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13646 window if it is on another frame.
c9d29fb8
SM
13647 (display-buffer-alist, display-buffer-default-specifiers):
13648 Don't make new frame unsplittable by default.
9e9de014
MR
13649 (display-buffer-normalize-argument): Fix doc-string typo and use
13650 'same-frame-other-window instead of 'other-window when associating
13651 with display-buffer-macro-specifiers.
327c8fb1 13652
7cf3f556
VB
136532011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13654
13655 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13656 New functions.
13657 (5x5-mode-map, 5x5-mode-menu): Bind them.
13658 (5x5-draw-grid): Tweak the solver's rendering.
13659
60a406cf
SM
136602011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13661
13662 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13663 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13664
d8e4b68b 136652011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13666
13667 * menu-bar.el: Use function variable instead of switch-to-buffer.
13668 (menu-bar-select-buffer-function): New variable.
60a406cf 13669 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13670
478d6f95
SM
136712011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13672
13673 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13674 variable's status.
13675
ca530739
JD
136762011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13677
13678 * x-dnd.el (x-dnd-version-from-flags)
13679 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13680 and long as number (Bug#8899).
13681 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13682
bcd70d97
SM
136832011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13684
60a406cf 13685 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13686 (completion-try-completion, completion-all-completions): Compute the
13687 metadata argument if it's missing; make it optional (bug#8795).
13688
60a406cf 13689 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13690 (widget-complete): Use new :completion-function property.
13691 (widget-completions-at-point): New function.
13692 (default): Use :completion-function instead of :complete.
60a406cf
SM
13693 (widget-default-completions): Rename from widget-default-complete;
13694 Rewrite.
bcd70d97
SM
13695 (widget-string-complete, widget-file-complete, widget-color-complete):
13696 Remove functions.
13697 (file, symbol, function, variable, coding-system, color):
13698 * international/mule-cmds.el (default-input-method, charset)
13699 (language-info-custom-alist):
13700 * cus-edit.el (face): Use new property :completions.
13701
13702 * progmodes/pascal.el (pascal-completions-at-point): New function.
13703 (pascal-mode): Use it.
13704 (pascal-mode-map): Use completion-at-point.
13705 (pascal-toggle-completions): Make obsolete.
13706 (pascal-complete-word, pascal-show-completions):
13707 * progmodes/octave-mod.el (octave-complete-symbol):
13708 Redefine as obsolete alias.
13709 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13710 Signal absence of completion info for old Octave,
13711 (inferior-octave-complete): Redefine as obsolete alias.
13712 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13713 (meta-completions-at-point): Rename from meta-complete-symbol and
13714 adapt it for use on completion-at-point-functions.
13715 (meta-common-mode): Use it.
13716 (meta-looking-at-backward, meta-match-buffer): Remove.
13717 (meta-complete-symbol): Redefine as obsolete alias.
13718 (meta-common-mode-map): Use completion-at-point.
13719 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13720 (makefile-mode-map): Use completion-at-point.
13721 (makefile-completions-at-point): Rename from makefile-complete and
13722 adapt it for use on completion-at-point-functions.
13723 (makefile-mode): Use it.
13724 (makefile-complete): Redefine as obsolete alias.
13725
aebf69c8
DD
137262011-06-20 Deniz Dogan <deniz@dogan.se>
13727
13728 * net/rcirc.el: Delete trailing whitespaces once and for all.
13729
bfbbb27d
DC
137302011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13731
13732 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13733
d264a46b
CY
137342011-06-19 Chong Yidong <cyd@stupidchicken.com>
13735
4ca009e5
CY
13736 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13737
d264a46b
CY
13738 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13739
fbf5b3ce
MR
137402011-06-19 Martin Rudalics <rudalics@gmx.at>
13741
13742 * window.el (display-buffer-other-window-means-other-frame):
13743 Call display-buffer-normalize-alist.
13744 (display-buffer-normalize-specifiers-1): Rename to
13745 display-buffer-normalize-argument. New argument other-frame.
13746 Rewrite.
13747 (display-buffer-normalize-specifiers-2): Rename to
13748 display-buffer-normalize-options.
13749 (display-buffer-normalize-alist-1): New function.
13750 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13751 display-buffer-normalize-alist.
13752 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13753 (display-buffer-normalize-options-inhibit): New variable.
13754 (display-buffer-normalize-specifiers): Rewrite calling
13755 display-buffer-normalize-alist,
13756 display-buffer-normalize-argument, and
13757 display-buffer-normalize-options. Don't call the latter if
13758 display-buffer-normalize-options-inhibit is non-nil.
13759 (frame-auto-delete): New option.
13760 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13761 (window-list-no-nils, window-state-ignored-parameters)
13762 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13763 (window-state-put-1, window-state-put-2, window-state-put):
13764 New functions.
9a028c23
MR
13765 (display-buffer-normalize-options): Move special-display-p group
13766 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13767
6d10d800
CY
137682011-06-18 Chong Yidong <cyd@stupidchicken.com>
13769
6420d28b
CY
13770 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13771 groups (Bug#8776).
13772 (rx-submatch-n): New function.
13773 (rx): Document it.
13774
ddb8b596
CY
13775 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13776 (Bug#8768).
13777
13778 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13779
77080289
CY
13780 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13781
61dfb316
CY
13782 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13783 anytime existing face settings are present (Bug#8889).
13784
6d10d800
CY
13785 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13786 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13787 Remove unused argument.
13788
be3fb2b8
MR
137892011-06-18 Martin Rudalics <rudalics@gmx.at>
13790
bcd70d97
SM
13791 * window.el (display-buffer-default-specifiers):
13792 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13793 pop-up-window-min-width, and another reuse-window specifier
13794 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13795 (display-buffer-normalize-specifiers-2):
13796 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13797 pop-up-windows is unset. Add a reuse-window specifier for the
13798 case popping up a new window fails.
13799 (special-display-popup-frame): Remove double quoting.
28dec25a 13800 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13801
1c6d8c76
SM
138022011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13803
13804 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13805 according to comint-completion-addsuffix.
13806
13807 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13808 (pcomplete-suffix-list): Mark as obsolete.
13809 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13810 pcomplete-seen in the closure.
13811 (pcomplete-comint-setup): Setup completion-at-point as well.
13812 (pcomplete--entries): New function.
13813 (pcomplete--env-regexp): New var.
13814 (pcomplete-entries): Rewrite to work with partial-completion and
13815 without relying on pcomplete-suffix-list.
13816 (pcomplete-pare-list): Remove, unused.
13817
25aef8b8
MR
138182011-06-17 Martin Rudalics <rudalics@gmx.at>
13819
13820 * window.el (display-buffer-alist): Set pop-up-window-min-height
13821 and pop-up-window-min-width in default value. Reported by
13822 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13823 other-window-means-other-frame.
13824 (display-buffer-macro-specifiers): Comment out entry for
13825 other-window specifier.
13826 (display-buffer-other-window-means-other-frame): New function.
13827 (display-buffer-normalize-specifiers-1): New arguments
13828 buffer-name and label. Treat other-window case specially.
13829 (display-buffer-normalize-specifiers-2): Treat other-window case
13830 specially.
13831 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13832 (display-buffer-normalize-specifiers):
13833 Call display-buffer-normalize-specifiers-3.
25aef8b8 13834
dbad4f69
MR
138352011-06-17 Martin Rudalics <rudalics@gmx.at>
13836
13837 * window.el (same-window-p): Fix two typos introduced when
13838 adding with-no-warnings.
d1067961
MR
13839 (display-buffer-normalize-specifiers-1): Don't check
13840 pop-up-frames for 'unset initialization.
13841 (display-buffer-normalize-specifiers-2): Major rewrite using
13842 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13843 (pop-up-frames, display-buffer-reuse-frames)
13844 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13845 Suggested by David Engster <deng@randomsample.de>.
13846 (even-window-heights): Initialize to 'unset.
13847 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13848 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13849 other window case.
dbad4f69 13850
9b9c9e3a
MR
138512011-06-16 Martin Rudalics <rudalics@gmx.at>
13852
bcd70d97
SM
13853 * window.el (display-buffer-normalize-specifiers-1):
13854 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13855 second argument of display-buffer (Bug#8865).
981d5c09
MR
13856 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13857 (switch-to-buffer-other-window-same-frame)
13858 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13859 Adams (Bug#8875).
9c2755e9
MR
13860 (display-buffer): Don't check noninteractive when calling
13861 display-buffer-pop-up-frame.
13862 (display-buffer-pop-up-frame): Never pop up a frame in
13863 noninteractive mode (Bug#8857).
67222e1d
MR
13864 (enlarge-window, shrink-window): Don't report an error when the
13865 window can't be resized as requested (Bug#8862).
9b9c9e3a 13866
2b75be67
SM
138672011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13868
9ffdd3ba
SM
13869 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13870
cb581a67
SM
13871 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13872
2b75be67
SM
13873 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13874
8c0e3589
AM
138752011-06-15 Alan Mackenzie <acm@muc.de>
13876
cb581a67
SM
13877 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13878 for declarators, disable knr checking to speed up for normal files.
13879 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13880
b96e6cde
LMI
138812011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13882
4bba86e6
LMI
13883 * net/network-stream.el (open-network-stream): Add the keyword
13884 :always-query-capabilities for the case where you want to force a
13885 `plain' network connection, but the protocol still requires the
13886 capabilitiy command (i.e., SMTP and EHLO).
13887
2b75be67 13888 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13889 consistency with other `-live-p' functions.
13890
efdcdbf8
SM
138912011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13892
13893 * window.el (same-window-buffer-names, same-window-regexps)
13894 (special-display-frame-alist, special-display-popup-frame)
13895 (special-display-function, special-display-buffer-names)
13896 (special-display-regexps, pop-up-frame-alist)
13897 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13898 (pop-up-windows, split-window-preferred-function)
13899 (split-height-threshold, split-width-threshold, even-window-heights)
13900 (display-buffer-mark-dedicated): Don't encourage the use of
13901 display-buffer-alist from Elisp code.
13902
c5cde042
DN
139032011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13904
13905 * progmodes/python.el (python-mode): Derive from prog-mode.
13906 * progmodes/ps-mode.el (ps-mode):
13907 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13908 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13909 * progmodes/ld-script.el (ld-script-mode): Likewise.
13910
baa1c9ab
MR
139112011-06-15 Martin Rudalics <rudalics@gmx.at>
13912
13913 * window.el (display-buffer-alist): Trim default value to avoid
13914 popping up a new frame (Bug#8857) or reusing an arbitrary window
13915 on another frame.
13916 (display-buffer): Do not fall back on popping up a new frame in
13917 batch mode (Bug#8857).
13918
c5dd5a51
CY
139192011-06-14 Chong Yidong <cyd@stupidchicken.com>
13920
13921 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13922 (custom-theme-summary): New function.
13923 (customize-themes): Use it.
13924
d647b7c4
GM
139252011-06-13 Glenn Morris <rgm@gnu.org>
13926
13927 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13928
9481c002
MR
139292011-06-13 Martin Rudalics <rudalics@gmx.at>
13930
357f93d2
MR
13931 * help.el (help-window): Remove variable.
13932 (help-window-point-marker, temp-buffer-max-height)
13933 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13934 (help-print-return-message): Don't set help-window.
13935 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13936 (help-window-setup-finish): Remove.
13937 (help-window-display-message, help-window-setup)
13938 (with-help-window): Major rewrite based on new
13939 display-buffer-window variable.
13940
13941 * help-mode.el (help-mode-finish): Remove help-window related
13942 code.
13943
13944 * view.el (view-exits-all-viewing-windows): Remove reference to
13945 view-return-to-alist in doc-string.
13946 (view-return-to-alist): Make obsolete.
13947 (view-buffer): Call pop-to-buffer-same-window and remove
13948 undo-window code.
13949 (view-buffer-other-window): Call pop-to-buffer-other-window and
13950 simplify code. Ignore second argument.
13951 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13952 simplify code. Ignore second argument.
13953 (view-return-to-alist-update): Make obsolete.
13954 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13955 Rewrite using quit-restore window parameters.
2b75be67
SM
13956 (view-mode-exit): Rename second argument to EXIT-ONLY.
13957 Rewrite using quit-restore-window.
357f93d2
MR
13958 (View-exit, View-exit-and-edit, View-leave, View-quit)
13959 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13960 appropriate arguments.
13961 (view-end-message): Use quit-restore window parameter.
13962
9481c002
MR
13963 * window.el (display-buffer-function): Rewrite doc-string.
13964 (display-buffer-window, display-buffer-alist): New variables.
13965 (display-buffer-split-specifiers)
13966 (display-buffer-side-specifiers)
13967 (display-buffer-macro-specifiers): New constants.
13968 (display-buffer-even-window-sizes, display-buffer-set-height)
13969 (display-buffer-set-width, display-buffer-select-window)
13970 (display-buffer-in-window, display-buffer-reuse-window)
13971 (display-buffer-split-window-1, display-buffer-split-window)
13972 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13973 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13974 (display-buffer-in-side-window, normalize-buffer-to-display)
13975 (display-buffer-normalize-specifiers-1)
13976 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13977 (display-buffer-normalize-specifiers, display-buffer-frame):
13978 New functions.
9481c002
MR
13979 (display-buffer): Major rewrite.
13980 (display-buffer-other-window, display-buffer-other-frame)
13981 (pop-to-buffer, switch-to-buffer-other-window)
13982 (switch-to-buffer-other-frame): Rewrite.
13983 (display-buffer-same-window, display-buffer-same-frame)
13984 (display-buffer-same-frame-other-window)
13985 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13986 (pop-to-buffer-other-window)
13987 (pop-to-buffer-same-frame-other-window)
13988 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13989 (switch-to-buffer-other-window-same-frame): New functions.
13990 (same-window-p, special-display-p): Rewrite disabling warnings.
13991 Make obsolete.
13992 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13993 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13994 Make obsolete
13995 (same-window-buffer-names, same-window-regexps)
13996 (special-display-frame-alist, special-display-popup-frame)
13997 (special-display-function, special-display-buffer-names)
13998 (special-display-regexps, pop-up-frame-alist)
13999 (pop-up-frame-function, split-window-preferred-function)
14000 (split-height-threshold, split-width-threshold)
14001 (even-window-heights): Make obsolete.
14002
9db51aca
GM
140032011-06-12 Glenn Morris <rgm@gnu.org>
14004
14005 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 14006 Misc simplifications.
9db51aca 14007
39cffb44
MR
140082011-06-12 Martin Rudalics <rudalics@gmx.at>
14009
14010 * window.el (window-safely-shrinkable-p): Restore function which
14011 was inadvertently removed in change from 2011-06-11. Declare as
14012 obsolete.
14013
2b75be67
SM
14014 * calendar/calendar.el (calendar-generate-window):
14015 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
14016 window-safely-shrinkable-p.
14017
a8955be7
GM
140182011-06-12 Glenn Morris <rgm@gnu.org>
14019
14020 * progmodes/fortran.el (fortran-mode-syntax-table):
14021 * progmodes/f90.el (f90-mode-syntax-table):
14022 Set % to punctuation. (Bug#8820)
14023 (f90-find-tag-default): Remove, no longer needed.
14024
f0d4059d
DC
140252011-06-12 Daniel Colascione <dan.colascione@gmail.com>
14026
14027 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
14028
1100a63c
CY
140292011-06-11 Chong Yidong <cyd@stupidchicken.com>
14030
14031 * image.el (image-animated-p): Return animation delay in seconds.
14032 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
14033 (image-animate-timeout): Remove DELAY argument. Don't assume
14034 every subimage has the same delay; get it from image-animated-p.
14035 (image-animate): Caller changed.
14036
def722bf
MA
140372011-06-11 Michael Albinus <michael.albinus@gmx.de>
14038
14039 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
14040 to ignored backtrace functions.
14041
0a2bb1a9
GM
140422011-06-11 Glenn Morris <rgm@gnu.org>
14043
14044 * calendar/appt.el (appt-disp-window-function): Doc fix.
14045 (appt-check): Handle overlapping appointments. (Bug#8337)
14046
6198ccd0
MR
140472011-06-11 Martin Rudalics <rudalics@gmx.at>
14048
14049 * window.el (window-tree-1, window-tree): New functions, moving
14050 the latter to window.el.
14051 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14052 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14053 (bw-refresh-edges): Remove.
14054 (balance-windows-1, balance-windows-2): New functions.
14055 (balance-windows): Rewrite in terms of window tree functions,
14056 balance-windows-1 and balance-windows-2.
14057 (bw-adjust-window): Remove.
14058 (balance-windows-area-adjust): New function with functionality of
14059 bw-adjust-window but using resize-window.
2b75be67
SM
14060 (set-window-text-height): Rewrite doc-string.
14061 Use normalize-live-window and resize-window.
14062 (enlarge-window-horizontally, shrink-window-horizontally):
14063 Rename argument to DELTA.
6198ccd0
MR
14064 (window-buffer-height): New function.
14065 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14066 Rewrite using new window resize routines.
2b75be67
SM
14067 (kill-buffer-and-window, mouse-autoselect-window-select):
14068 Use ignore-errors instead of condition-case.
6198ccd0
MR
14069 (quit-window): Call delete-frame instead of delete-windows-on
14070 for the only buffer on frame.
14071
9397e56f
MR
140722011-06-10 Martin Rudalics <rudalics@gmx.at>
14073
14074 * loadup.el (top-level): Load window before files for the sake
14075 of replace-buffer-in-windows.
14076
14077 * files.el (read-buffer-to-switch)
14078 (switch-to-buffer-other-window)
2b75be67
SM
14079 (switch-to-buffer-other-frame, display-buffer-other-frame):
14080 Move to window.el.
9397e56f
MR
14081
14082 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14083 (previous-buffer): Move to window.el.
14084
14085 * bindings.el (unbury-buffer): Move to window.el.
14086
14087 * window.el (delete-other-windows-vertically): Move after
14088 definition of delete-other-windows.
14089 (other-window, delete-windows-on, replace-buffer-in-windows):
14090 Move here from window.c.
14091 (record-window-buffer, unrecord-window-buffer)
14092 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14093 (switch-to-next-buffer): New functions.
14094 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14095 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14096 (previous-buffer): Move here from simple.el.
14097 Call switch-to-prev-buffer.
9397e56f
MR
14098 (bury-buffer): Move here from buffer.c. Switch to previous
14099 buffer when window cannot be deleted.
14100 (unbury-buffer): Move here from bindings.el.
14101 (ctl-x-map): Move binding for other-window from window.c to
14102 here.
14103 (read-buffer-to-switch, switch-to-buffer-other-window)
14104 (switch-to-buffer-other-frame): Move here from files.el.
14105 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14106 (switch-to-buffer): Move here from buffer.c.
14107 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14108
562dd5e9
MR
141092011-06-10 Martin Rudalics <rudalics@gmx.at>
14110
14111 * window.el (window-min-height, window-min-width): Move here
14112 from window.c. Add defcustoms and rewrite doc-strings.
14113 (resize-mini-window, resize-window): New functions.
14114 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14115 Move here from window.c.
14116 (maximize-window, minimize-window): New functions.
14117 (delete-window, delete-other-windows, split-window): Move here
14118 from window.c.
14119 (window-split-min-size): New function.
14120 (split-window-keep-point): Mention split-window-above-each-other
14121 instead of split-window-vertically.
2b75be67 14122 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14123 Rename split-window-vertically to split-window-above-each-other
14124 and provide defalias for old definition.
14125 (split-window-side-by-side, split-window-horizontally):
14126 Rename split-window-horizontally to split-window-side-by-side
14127 and provide defalias for the old definition.
562dd5e9
MR
14128 (ctl-x-map): Move bindings for delete-window,
14129 delete-other-windows and enlarge-window here from window.c.
14130 Replace bindings for split-window-vertically and
14131 split-window-horizontally by bindings for
14132 split-window-above-each-other and split-window-side-by-side.
14133
14134 * cus-start.el (all): Remove entries for window-min-height and
14135 window-min-width. Add entries for window-splits and
14136 window-nest.
14137
f0da764a
GM
141382011-06-09 Glenn Morris <rgm@gnu.org>
14139
80675c21
GM
14140 * calendar/appt.el (appt-mode-line): New function.
14141 (appt-check, appt-disp-window): Use it.
14142
f0da764a
GM
14143 * files.el (hack-one-local-variable-eval-safep):
14144 Allow minor-modes with explicit +/-1 arguments.
14145
59f623b7
TZ
141462011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14147
14148 * term/xterm.el (xterm): Add defgroup.
14149 (xterm-extra-capabilities): Add defcustom to supply known xterm
14150 capabilities, skip querying them, or query them (default).
14151 (terminal-init-xterm): Use it.
14152 (terminal-init-xterm-modify-other-keys): New function to set up
14153 modifyOtherKeys support to simplify `terminal-init-xterm'.
14154
9aab8e0d
MR
141552011-06-09 Martin Rudalics <rudalics@gmx.at>
14156
14157 * window.el (resize-window-reset, resize-window-reset-1)
14158 (resize-subwindows-skip-p, resize-subwindows-normal)
14159 (resize-subwindows, resize-other-windows, resize-this-window)
14160 (resize-root-window, resize-root-window-vertically)
14161 (window-deletable-p, window-or-subwindow-p)
14162 (frame-root-window-p): New functions.
14163
e8b08aee
GM
141642011-06-09 Glenn Morris <rgm@gnu.org>
14165
14166 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14167 (ange-ftp-get-files): Use it.
14168
254c37a5
AK
141692011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14170
14171 * mail/sendmail.el (mail-recover-1, mail-recover):
14172 * files.el (recover-file, recover-session):
14173 Handle dired-listing-switches not being just a single short option.
14174
35d7dbd3
GM
141752011-06-09 Glenn Morris <rgm@gnu.org>
14176
14177 * calendar/appt.el (appt-display-message, appt-disp-window):
14178 Handle lists of appointments.
14179
387522b2
MR
141802011-06-08 Martin Rudalics <rudalics@gmx.at>
14181
2b75be67
SM
14182 * window.el (one-window-p): Move down in code.
14183 Rewrite doc-string.
14184 (window-current-scroll-bars): Rewrite doc-string.
14185 Normalize live window argument.
387522b2
MR
14186 (walk-windows, get-window-with-predicate, count-windows):
14187 Rewrite doc-string. Use window-list-1.
14188 (window-in-direction-2, window-in-direction, get-mru-window):
14189 New functions.
14190
d8e4b68b 141912011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14192
14193 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14194 Doc fix (Bug#8713).
14195
141962011-06-08 Chong Yidong <cyd@stupidchicken.com>
14197
14198 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14199
142002011-06-08 Juanma Barranquero <lekktu@gmail.com>
14201
14202 * loadhist.el (unload-feature-special-hooks):
14203 Add `comint-output-filter-functions'.
14204
0de12c52
IK
142052011-06-08 Ivan Kanis <gnu@kanis.fr>
14206
14207 * calendar/appt.el (appt-check): Move some initializations into the let.
14208
f3d1777e
MR
142092011-06-08 Martin Rudalics <rudalics@gmx.at>
14210
14211 * window.el (window-height): Defalias to window-total-height.
14212 (window-width): Defalias to window-body-width.
14213
18af70d0
CY
142142011-06-07 Chong Yidong <cyd@stupidchicken.com>
14215
14216 * image-mode.el (image-toggle-animation): New command.
14217 (image-mode-map): Bind it to RET.
14218 (image-mode): Update message.
14219 (image-toggle-display-image): Avoid a spurious cache flush.
14220 (image-transform-rotation): Doc fix.
14221 (image-transform-properties): Return quickly in the normal case.
14222 (image-animate-loop): Rename from image-animate-max-time.
14223
2b75be67 14224 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14225 (create-animated-image): Remove unnecessary function.
14226 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14227 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14228 (image-animate-timer): Use car-safe.
14229 (image-animate-timeout): Rename argument.
14230
190b47e6
MR
142312011-06-07 Martin Rudalics <rudalics@gmx.at>
14232
14233 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14234 window.c. Rename first argument to ALL-FRAMES.
14235 Rephrase doc-strings.
14236 (get-buffer-window-list): Rewrite using window-list-1.
14237 Rephrase doc-string.
a1511caf
MR
14238 (window-safe-min-height, window-safe-min-width): New constants.
14239 (window-size-ignore, window-min-size, window-min-size-1)
14240 (window-sizable, window-sizable-p, window-size-fixed-1)
14241 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14242 (window-max-delta-1, window-max-delta, window-resizable)
14243 (window-resizable-p, window-total-height, window-total-width)
14244 (window-body-width): New functions.
14245 (window-full-height-p, window-full-width-p): Rewrite using
14246 window-total-size.
14247 (window-body-height): Rewrite using window-body-size.
190b47e6 14248
85cc1f11
MR
142492011-06-06 Martin Rudalics <rudalics@gmx.at>
14250
14251 * window.el (window-right, window-left, window-child)
14252 (window-child-count, window-last-child, window-any-p)
14253 (normalize-live-buffer, normalize-live-frame)
14254 (normalize-any-window, normalize-live-window)
14255 (window-iso-combination-p, window-iso-combined-p)
14256 (window-iso-combinations)
14257 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14258 (windows-with-parameter, window-with-parameter)
14259 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14260 (window-atom-check, window-side-check, window-check):
14261 New functions.
85cc1f11
MR
14262 (ignore-window-parameters, window-sides, window-sides-vertical)
14263 (window-sides-slots): New variables.
14264 (window-size-fixed): Move down in code. Minor doc-string fix.
14265
e7156492
AS
142662011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14267
14268 * comint.el (comint-dynamic-complete-as-filename)
14269 (comint-dynamic-complete-filename): Correctly call
14270 completion-in-region.
14271
7e821d0d
DD
142722011-06-05 Deniz Dogan <deniz@dogan.se>
14273
14274 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14275 in last change.
14276
ac09b8a1
DD
142772011-06-05 Deniz Dogan <deniz@dogan.se>
14278
14279 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14280 (rcirc): Use it to prompt for encryption.
14281
34699b85
RW
142822011-06-05 Roland Winkler <winkler@gnu.org>
14283
14284 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14285 (bibtex-search-entries): New command bound to C-c C-a.
14286 (bibtex-display-entries): New function.
14287
004dedd3
RW
142882011-06-05 Roland Winkler <winkler@gnu.org>
14289
14290 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14291 (bibtex-insert-kill): After yanking insert newline if necessary.
14292 (bibtex-initialize): Call bibtex-string-files-init only once.
14293 (bibtex-mode): Do not call easy-menu-add.
14294 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14295 (bibtex-yank): Set arg properly if nil.
14296
022fe7ce
RW
142972011-06-05 Roland Winkler <winkler@gnu.org>
14298
2b75be67
SM
14299 * textmodes/bibtex.el (bibtex-search-entry-globally):
14300 New variable.
022fe7ce
RW
14301 (bibtex-search-entry): Use it.
14302
b7c3692a
RW
143032011-06-05 Roland Winkler <winkler@gnu.org>
14304
14305 * textmodes/bibtex.el (bibtex-entry-format): New option
14306 sort-fields.
14307 (bibtex-format-entry, bibtex-reformat): Honor this option.
14308 (bibtex-parse-entry): Return fields in proper order.
14309
8eda563d
JB
143102011-06-05 Juanma Barranquero <lekktu@gmail.com>
14311
14312 * doc-view.el (doc-view-remove-if): Move computation of result out
14313 of `dolist' to silence misleading lexical-binding warning.
14314
7dbe3dbc
CY
143152011-06-04 Chong Yidong <cyd@stupidchicken.com>
14316
14317 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14318 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14319
0c33dd17
MA
143202011-06-04 Michael Albinus <michael.albinus@gmx.de>
14321
14322 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14323 "SunOS 5.10".
14324
f8f91c2b
MA
143252011-06-04 Michael Albinus <michael.albinus@gmx.de>
14326
14327 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14328 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14329 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14330 (tramp-parse-putty):
14331 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14332 (tramp-completion-function-alist-ssh)
14333 (tramp-completion-function-alist-telnet)
14334 (tramp-completion-function-alist-su)
14335 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14336 cookie.
14337
14338 * net/tramp-ftp.el:
14339 * net/tramp-sh.el:
14340 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14341 load "tramp.el" `tramp-set-completion-function'.
14342
e17d9003
SM
143432011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14344
14345 * shell.el: Require and use pcomplete.
14346 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14347 (shell-completion-vars): Set pcomplete-default-completion-function.
14348
6c4cab03
DD
143492011-06-04 Deniz Dogan <deniz@dogan.se>
14350
14351 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14352 `memq' (Bug#8799).
14353
ea9fafe0
SM
143542011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14355
14356 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14357
b3e945d3
JB
143582011-06-02 Juanma Barranquero <lekktu@gmail.com>
14359
14360 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14361 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14362 * vc/log-view.el (log-view-beginning-of-defun):
14363 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14364 (smerge-refine-forward, smerge-refine-chopup-region):
14365 Silence warning for unused `dotimes' counter variables.
14366
7d520089
SM
143672011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14368
14369 * net/tramp.el (tramp-with-progress-reporter): Rename from
14370 with-progress-reporter. Use `declare'.
14371 * net/tramp-smb.el:
14372 * net/tramp-sh.el:
14373 * net/tramp-gvfs.el: Update all uses.
14374
a1c2400f
JB
143752011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14376
14377 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14378 buffer isn't killed before making it current.
14379
2403c841
SM
143802011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14381
14382 Silence various byte-compiler warnings.
14383 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14384 `access-type' and new obsolescence format.
14385 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14386 new format.
14387 (byte-compile-check-variable): New `access-type' argument.
14388 Only warn if the access-type is obsolete.
14389 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14390 (byte-compile-variable-set): Adjust callers.
14391 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14392 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14393 setting it as obsolete.
14394 * simple.el (minibuffer-completing-symbol):
14395 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14396 access as obsolete.
14397 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14398 obsolete yet.
14399 * international/quail.el (quail-mouse-choose-completion): Remove unused
14400 code referring to obsolete var.
14401 (quail-choose-completion-string): Remove.
14402 * server.el (server-clients-with, server-kill-buffer-query-function)
14403 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14404 * proced.el (proced-send-signal):
14405 * emacs-lisp/lisp.el (lisp-complete-symbol):
14406 Replace completion-annotate-function with completion-extra-properties.
14407
2462470b
SM
144082011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14409
fb5b2591
SM
14410 * simple.el (goto-line): Use read-number.
14411 (overriding-map-is-bound): Remove.
14412 (saved-overriding-map): Change default.
14413 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14414 Take the map as argument.
14415 (universal-argument, negative-argument, digit-argument): Use it.
14416 (restore-overriding-map): Adjust.
14417 (do-auto-fill): Use fill-forward-paragraph.
14418 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14419
fd6fa53f
SM
14420 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14421 (minibuffer-inactive-mode): New major mode.
14422 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14423 the *Messages* buffer" hack.
14424 (mouse-popup-menubar): Don't burp if the event is a normal key.
14425
2462470b
SM
14426 Miscellaneous tweaks.
14427 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14428 lexical scoping as in subr.el's dolist and dotimes.
14429 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14430 Silence compiler warning.
14431 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14432 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14433 * international/ccl.el (ccl-compile): Trivial simplification.
14434 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14435 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14436 `printflag' argument.
14437 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14438 Purecopy the whole obsolescence data.
14439
108bf785
LL
144402011-06-01 Leo Liu <sdl.web@gmail.com>
14441
14442 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14443 improve doc-string as suggested by Marco Pessotto
14444 <melmothx@gmail.com>.
14445 (rcirc-print): Fix last change.
14446
30a23501
SM
144472011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14448
14449 * minibuffer.el (complete-with-action): Return nil for the metadata and
14450 boundaries of non-functional tables.
14451 (completion-table-dynamic): Return nil for the metadata.
14452 (completion-table-with-terminator): Add default case, using
14453 complete-with-action.
14454 (completion--metadata): New function.
14455 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14456 to try and avoid pathological performance problems.
14457 (completion--embedded-envvar-table): Return `category' metadata.
14458
bcd54f83
LMI
144592011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14460
14461 * subr.el (process-alive-p): New tiny convenience function.
14462
e227544d
SM
144632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14464
14465 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14466 content but also its previous major mode.
14467
e8296fdc
HE
144682011-05-31 Helmut Eller <eller.helmut@gmail.com>
14469
4d61f28d 14470 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14471 *Backtrace* buffer when we exit with C-M-c.
14472
620c53a6
SM
144732011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14474
14475 * minibuffer.el: Add metadata method to completion tables.
14476 (completion-category-overrides): New defcustom.
14477 (completion-metadata, completion--field-metadata)
14478 (completion-metadata-get, completion--styles)
14479 (completion--cycle-threshold): New functions.
14480 (completion-try-completion, completion-all-completions):
14481 Add `metadata' argument to choose completion-styles.
14482 (completion--do-completion): Use metadata to choose cycling.
14483 (completion-all-sorted-completions): Use metadata for sorting.
14484 Remove :completion-cycle-penalty which is not needed any more.
14485 (completion--try-word-completion): Add `metadata' argument.
14486 (minibuffer-completion-help): Check metadata for annotation function
14487 and sorting.
14488 (completion-file-name-table): Return `category' metadata.
14489 (minibuffer-completing-file-name): Make obsolete.
14490 * simple.el (minibuffer-completing-symbol): Make obsolete.
14491 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14492 completion-try-completion.
14493
1257e755
SM
144942011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14495
14496 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14497
3767e706
LL
144982011-05-30 Leo Liu <sdl.web@gmail.com>
14499
14500 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14501 (rcirc-print): Decode all incoming messages (bug#8744).
14502 (rcirc-decode-coding-system): Allow value nil for automatic coding
14503 system detection.
3767e706 14504
d1a5d56a
GM
145052011-06-01 Glenn Morris <rgm@gnu.org>
14506
14507 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14508
e8cbec34
CY
145092011-05-29 Chong Yidong <cyd@stupidchicken.com>
14510
14511 * image.el (image-animate-max-time): Allow nil and t values.
14512 Default to nil.
14513 (create-animated-image): Doc fix.
14514 (image-animate-start): Remove second arg; just use
14515 image-animate-max-time.
14516 (image-animate-timeout): Doc fix. Args changed.
14517
14518 * image-mode.el (image-toggle-display-image): Ensure that the
14519 image spec passed to the animate timer is the same object as in
58179cce 14520 the buffer's display property (Bug#6981).
e8cbec34
CY
14521 (image-transform-properties): Doc fix.
14522
14523 * image.el (image-animate-max-time): Default to nil.
14524
159daf87
MR
145252011-05-29 Martin Rudalics <rudalics@gmx.at>
14526
14527 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14528 entire buffer list (Bug#8184).
14529
d66c4c7c
CY
145302011-05-29 Chong Yidong <cyd@stupidchicken.com>
14531
14532 * image.el (imagemagick-types-inhibit)
14533 (imagemagick-register-types): Doc fix.
14534
80aec780
DD
145352011-05-29 Deniz Dogan <deniz@dogan.se>
14536
14537 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14538 default.
14539
1dd3c2d9
CY
145402011-05-29 Chong Yidong <cyd@stupidchicken.com>
14541
14542 * select.el: Don't perform clipboard-manager saving in hooks;
14543 leave the hooks empty.
14544
60e56523
LL
145452011-05-28 Leo Liu <sdl.web@gmail.com>
14546
14547 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14548 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14549 (occur-edit-mode): New major mode (Bug#8463).
14550 (occur-after-change-function): New function.
14551 (occur-engine): Give Occur tags a read-only property.
14552
2b1e1a22
KR
145532011-05-28 Kevin Ryde <user42@zip.com.au>
14554
14555 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14556
5d344e88
CY
145572011-05-28 Chong Yidong <cyd@stupidchicken.com>
14558
8e6ca83d
CY
14559 * bindings.el (help-echo): Make the initial non-indicator dash
14560 empty on graphical terminals (Bug#7295).
14561
5d344e88
CY
14562 * files.el (auto-mode-alist): Move config rule after the
14563 in-stripping one (Bug#8547).
14564
bfbbace7
CY
14565 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14566
fbeba6e2
CY
14567 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14568 setting (Bug#8740).
14569
60ed8c72
AA
145702011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14571
4ac619f0
AA
14572 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14573 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14574 (Bug#8539).
60ed8c72 14575
23db196e
CY
145762011-05-28 Chong Yidong <cyd@stupidchicken.com>
14577
14578 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14579
5012f24c
DK
145802011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14581
14582 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14583 (hs-hide-block-at-point, hs-find-block-beginning)
14584 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14585 (Bug#8279).
14586
6a639b16
GM
145872011-05-28 Glenn Morris <rgm@gnu.org>
14588
14589 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14590
d43eaf2c
CY
145912011-05-28 Chong Yidong <cyd@stupidchicken.com>
14592
5199bde1
CY
14593 * help-fns.el (describe-function-1): If the function is a derived
14594 major mode, print the parent mode.
14595
d43eaf2c
CY
14596 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14597 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14598
423428a8
SM
145992011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14600
0ff8e1ba 14601 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14602 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14603 * progmodes/etags.el (tags-completion-at-point-function):
14604 * info-look.el (info-lookup-completions-at-point): Mark as
14605 non-exclusive.
14606 (info-complete): Adjust accordingly.
14607
423428a8
SM
14608 * info-look.el: Convert to lexical-binding and completion-at-point.
14609 (info-lookup-completions-at-point): New function.
14610 (info-complete): Use it and completion-in-region.
14611
b74aa22b
DA
146122011-05-28 Drew Adams <drew.adams@oracle.com>
14613
14614 * isearch.el: Let M-e start with point at the first mismatched char.
14615 (isearch-fail-pos): New function.
14616 (isearch-edit-string): Use it.
14617
66e2e71d
DK
146182011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14619
14620 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14621
b1890b0f 146222011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14623
14624 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14625 traversal functions for avl-trees.
14626 (avl-tree--stack): New struct.
14627 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14628 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14629 (avl-tree--do-enter): Add optional `updatefun' arg.
14630 Change return value.
eb95d01d 14631 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14632 (avl-tree--do-delete): Add `test' and `nilflag' args.
14633 Change return value.
eb95d01d
TC
14634 (avl-tree-member): Add optional `nilflag'
14635 (avl-tree-member-p): New function.
14636 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14637 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14638 (avl-tree-stack-empty-p): New functions.
14639
3769ddcf
TC
14640 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14641 avl-tree--del-balance1 and make it work both ways.
14642 (avl-tree--del-balance2): Remove.
14643 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14644 make it work both ways.
14645 (avl-tree--enter-balance2): Remove.
14646 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14647 New macros.
14648 (avl-tree--mapc, avl-tree-map): Add direction argument.
14649
eb95d01d 146502011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14651
14652 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14653
a9f737ee
CY
146542011-05-27 Chong Yidong <cyd@stupidchicken.com>
14655
14656 * select.el: Support clipboard managers with built-in function
14657 x-clipboard-manager-save, via delete-frame-functions and
14658 kill-emacs-hook.
14659 (xselect-convert-to-targets): Add MULTIPLE target to list.
14660 (xselect-convert-to-save-targets): New function.
14661
c92a1e54
KH
146622011-05-27 Kenichi Handa <handa@m17n.org>
14663
14664 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14665 let-binding rfc2047-encode-encoded-words to nil.
14666
e145f188
GM
146672011-05-27 Glenn Morris <rgm@gnu.org>
14668
5ec8a862
GM
14669 * mail/emacsbug.el: Don't require url-util.
14670
4b29d9fb
GM
14671 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14672
e145f188
GM
14673 * files.el (set-auto-mode):
14674 Also respect mode: entries at the end of the file. (Bug#8586)
14675
7d15102b
GM
146762011-05-26 Glenn Morris <rgm@gnu.org>
14677
98f593b8
GM
14678 * files.el (hack-local-variables-prop-line, hack-local-variables):
14679 Downcase mode names, as seems to be traditional.
27b48e63 14680 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14681
7d15102b
GM
14682 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14683 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14684
51d5b4ec
JD
146852011-05-25 Julien Danjou <julien@danjou.info>
14686
14687 * textmodes/rst.el (rst-define-level-faces): Do not define face
14688 symbol if it is already defined.
14689
91513f63
VB
146902011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14691
14692 * play/5x5.el (5x5-new-game, 5x5-randomize):
14693 Reset 5x5-solver-output to nil when a new grid is cast.
14694 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14695 these debugging traces, as defmacro breaks the compiled code.
14696
4d90d6d0
DK
146972011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14698
14699 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14700
e1b90ef6
LL
147012011-05-24 Leo Liu <sdl.web@gmail.com>
14702
14703 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14704 (vc-bzr-sha1): Adapt.
14705
d8e4b68b 14706 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14707
14708 * bindings.el: Provide sha1 feature.
14709
db0406bb 147102011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14711
14712 * mail/sendmail.el: Require `rfc2047'.
14713 (mail-insert-from-field): Do not perform RFC2047 encoding.
14714 (mail-encode-header): New function.
14715 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14716 buffer to the return value of select-message-coding-system.
14717 Call mail-encode-header.
b8d747b9
KH
14718
14719 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14720
db0406bb 147212011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14722
4d90d6d0
DK
14723 * mail/supercite.el (sc-default-cite-frame):
14724 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14725
eb8a5e9b
GM
147262011-05-24 Glenn Morris <rgm@gnu.org>
14727
f8630703
GM
14728 * progmodes/python.el (brm-menu): Declare.
14729
8831bbed
GM
14730 * emulation/viper.el (viper-set-hooks): Declare.
14731
eb8a5e9b
GM
14732 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14733 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14734 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14735 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14736 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14737 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14738
a2a25d24
SM
147392011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14740
14741 Add an :exit-function for completion-at-point.
14742
14743 * minibuffer.el (completion--done): New fun.
14744 (completion--do-completion): Use it. New arg `expect-exact'.
14745 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14746 since completion--do-completion does it for us now.
14747 (minibuffer-force-complete): Use completion--done and
14748 completion--replace. Handle sole-completion case with more care.
14749 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14750 (completion-extra-properties): New var.
14751 (completion-annotate-function): Make obsolete.
14752 (minibuffer-completion-help): Adjust accordingly.
14753 Use completion-list-insert-choice-function.
14754 (completion-at-point, completion-help-at-point):
14755 Bind completion-extra-properties.
14756 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14757 * simple.el (completion-list-insert-choice-function): New var.
14758 (completion-setup-function): Preserve it.
14759 (choose-completion): Pay attention to it, shuffle the code a bit.
14760 (choose-completion-string): New arg `insert-function'.
14761
14762 * textmodes/bibtex.el: Convert to lexical binding.
14763 (bibtex-mode-map): Use completion-at-point.
14764 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14765 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14766 (bibtex-complete): Define as obsolete alias.
14767 (bibtex-complete-internal): Remove.
14768 (bibtex-format-entry): Remove unused sub-group in regexp.
14769 * shell.el (shell--command-completion-data)
14770 (shell-environment-variable-completion):
14771 * pcomplete.el (pcomplete-completions-at-point):
14772 * comint.el (comint--complete-file-name-data): Use :exit-function
14773 instead of completion-table-with-terminator so it also works for
14774 choose-completion.
14775
e44e373d
SM
147762011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14777
4f91a816
SM
14778 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14779
782fc819
SM
14780 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14781 (bug#8710).
14782
e44e373d
SM
14783 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14784
381987c3
KM
147852011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14786
14787 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14788 customization variable and implement: If non-nil, auto-fill will
14789 be inhibited while on topic's header line.
14790
b776bc70
VB
147912011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14792
14793 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14794 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14795 always have a solution in grid size = 5 cases.
14796 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14797 (5x5-solver-output, 5x5-log-buffer): New vars.
14798 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14799 Make these variables buffer local to achieve 5x5 multi-session-ness.
14800 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14801 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14802 (5x5-solve-suggest): New funs.
14803 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14804 randomize a grid so that we ensure that there is always a solution.
14805 (5x5-make-random-grid): Allow other movement than flipping.
14806
7de88b6e
KR
148072011-05-23 Kevin Ryde <user42@zip.com.au>
14808
14809 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14810 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14811 advice and passes PREDICATE.
14812
b1ef1257
SM
148132011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14814
bbca48fe
SM
14815 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14816 byte-compile-lambda if it's actually a lambda.
14817
b1ef1257
SM
14818 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14819 Fix function quoting. Use backquote better.
14820
92a9cc65
YS
148212011-05-22 Yuanle Song <sylecn@gmail.com>
14822
14823 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14824 matching (Bug#8516).
14825
f0fb8059
JA
148262011-01-22 Jari Aalto <jari.aalto@cante.net>
14827
14828 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14829 different face (Bug#8178).
14830
d5b44c93
CY
148312011-05-22 Chong Yidong <cyd@stupidchicken.com>
14832
14833 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14834 defface (Bug#8144).
14835
79106a44
SM
148362011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14837
9c848d8a
SM
14838 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14839 funcall as well (bug#8712). Warn when performing those conversions.
14840 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14841
79106a44
SM
14842 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14843
88dfa756
GM
148442011-05-22 Glenn Morris <rgm@gnu.org>
14845
14846 * files.el (hack-local-variables-prop-line): Small simplifications.
14847 (hack-local-variables, hack-local-variables-prop-line):
14848 If MODE-ONLY, return the mode, rather than just `t'.
14849
b7cf2c79
SM
148502011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14851
14852 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14853
3f1a8558
GM
148542011-05-21 Glenn Morris <rgm@gnu.org>
14855
7e4ccca3
GM
14856 * files.el (hack-local-variables-prop-line, hack-local-variables):
14857 If only interested in the mode, don't bother doing the other stuff.
14858
637d46ca
GM
14859 * image-mode.el (image-after-revert-hook):
14860 Redraw all frames on which the image is visible. (Bug#8567)
14861
973d955b
GM
14862 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14863
3f1a8558
GM
14864 * wid-edit.el (widget-checklist-match-inline):
14865 Fix 2011-04-19 change. (Bug#8649)
14866
96479927
SM
148672011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14868
1dcf791f
SM
14869 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14870 Also allow singlespace after single-letter capitals followed by a dot.
14871
96479927
SM
14872 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14873 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14874
35fd0881
N
148752011-05-20 Nix <nix@esperi.org.uk>
14876
14877 * files.el (basic-save-buffer-2):
14878 Fix handling of break-hardlink-on-save with non-existent files.
14879
82745640
DD
148802011-05-19 Deniz Dogan <deniz@dogan.se>
14881
14882 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14883 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14884
4a720484
GM
148852011-05-19 Glenn Morris <rgm@gnu.org>
14886
d1f21341
GM
14887 * progmodes/f90.el (f90-type-def-re):
14888 Handle "type, bind(c)". (Bug#8691)
14889
4a720484
GM
14890 * emacs-lisp/autoload.el (batch-update-autoloads):
14891 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14892
2fb0a219
MA
148932011-05-18 Michael Albinus <michael.albinus@gmx.de>
14894
14895 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14896 property for the correct connection in case of multihops.
14897
e565dd37
GM
148982011-05-18 Glenn Morris <rgm@gnu.org>
14899
c2571358 14900 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14901 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14902
e565dd37
GM
14903 Rationalize calendar handling of day and month abbrev-arrays.
14904 * calendar/calendar.el (calendar-customized-p): New function.
14905 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14906 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14907 Add :set function.
14908 (calendar-abbrev-length, calendar-day-abbrev-array)
14909 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14910 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14911 Elements may no longer be nil.
14912 (calendar-day-name, calendar-month-name):
14913 Update for changed nature of abbrev arrays.
14914 * calendar/diary-lib.el (diary-name-pattern):
14915 Update for changed nature of abbrev arrays.
14916 (diary-mark-entries-1): Update calendar-make-alist calls.
14917 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14918 * calendar/cal-html.el (cal-html-day-abbrev-array):
14919 Simply inherit from calendar-day-abbrev-array.
14920
1d99a745
SM
149212011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14922
14923 * progmodes/grep.el (grep-mode): Disable default
14924 compilation-directory-matcher setting (bug#8684).
14925
7c1d9aa0
MA
149262011-05-17 Michael Albinus <michael.albinus@gmx.de>
14927
14928 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14929 instead of "head" and "tail". There were problems with SunOS 5.9,
14930 and it performs better.
14931
3952e9d8
GM
149322011-05-17 Glenn Morris <rgm@gnu.org>
14933
2dd12e7f
GM
14934 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14935
e4157b9c
GM
14936 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14937 Replace obsolete function.
14938
8e249bbd
GM
14939 * shell.el (pcomplete-parse-arguments-function): Declare.
14940
3952e9d8
GM
14941 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14942 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14943 (appt-check): Doc fixes.
14944 (appt-disp-window-function, appt-delete-window-function):
14945 Remove needless special case in custom :type.
14946 (appt-display-count): Default to 0, not nil.
14947 (appt-check): Reset appt-display-count to 0, not nil.
14948
c71a0d48 149492011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14950
c71a0d48
GM
14951 * progmodes/python.el (python-font-lock-keywords):
14952 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14953
31d55be9
SM
149542011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14955
14956 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14957
3bfacb2f
KR
149582011-05-16 Kevin Ryde <user42@zip.com.au>
14959
14960 * info-look.el (makefile-automake-mode): New setups, looking in
14961 automake manual, then makefile-mode.
14962 (makefile-mode): Remove automake manual, have it just in
14963 makefile-automake-mode since there's various things different or
14964 not relevant to plain make.
14965 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14966 believe a hypothetical automake-mode would go to makefile-mode,
14967 not the other way around.
14968
c8e83751
CY
149692011-05-15 Chong Yidong <cyd@stupidchicken.com>
14970
5e9e35cd
CY
14971 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14972 hunk-end tags (Bug#8672).
14973
c8e83751
CY
14974 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14975 vc-annotate-show-diff-revision-at-line (Bug#8671).
14976
50b23e5a
GM
149772011-05-14 Glenn Morris <rgm@gnu.org>
14978
7210a739
GM
14979 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14980 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14981 (change-log-font-lock-keywords): Also handle multiple author lines
14982 with leading tabs. (Bug#8644)
7210a739 14983
4691905a
GM
14984 * calendar/appt.el (appt-check): Rename some local variables.
14985 Some simplification/reordering.
14986
50b23e5a
GM
14987 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14988 (feedmail-sendmail-f-doesnt-sell-me-out)
14989 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14990 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14991 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14992 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14993 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14994 (feedmail-binmail-gnulinuxish-template):
14995 Rename from feedmail-binmail-linuxish-template.
14996 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14997 Use insert-buffer-substring.
14998
215cda7c
BC
149992011-05-14 Bill Carpenter <bill@carpenter.org>
15000
15001 * mail/feedmail.el (feedmail-patch-level): Increase.
15002 (feedmail-debug): New custom group.
15003 (feedmail-confirm-outgoing-timeout)
15004 (feedmail-sendmail-f-doesnt-sell-me-out)
15005 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
15006 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
15007 (feedmail-sender-line, feedmail-from-line)
15008 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 15009 (feedmail-spray-this-address)
215cda7c
BC
15010 (feedmail-spray-address-fiddle-plex-list)
15011 (feedmail-queue-use-send-time-for-date)
15012 (feedmail-queue-use-send-time-for-message-id)
15013 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
15014 (feedmail-buffer-eating-function):
15015 Doc fixes.
15016 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
15017 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
15018 (feedmail-message-action-scroll-down): New functions.
15019 (feedmail-queue-directory, feedmail-queue-draft-directory):
15020 Use expand-file-name.
15021 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
15022 Remove C-v help entry.
15023 (feedmail-queue-buffer-file-name): New variable.
15024 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
15025 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
15026 (feedmail-message-action-send-strong, feedmail-message-action-edit)
15027 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
15028 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
15029 (feedmail-message-action-toggle-spray)
15030 (feedmail-run-the-queue-no-prompts)
15031 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
15032 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
15033 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
15034 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
15035 (feedmail-envelope-deducer, feedmail-fiddle-from)
15036 (feedmail-fiddle-sender, feedmail-default-date-generator)
15037 (feedmail-fiddle-date, feedmail-fiddle-message-id)
15038 (feedmail-fiddle-spray-address)
15039 (feedmail-fiddle-list-of-spray-fiddle-plexes)
15040 (feedmail-fiddle-list-of-fiddle-plexes)
15041 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
15042 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15043 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15044 Change default. Doc fix.
15045 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15046 (feedmail-binmail-linuxish-template): New constant.
15047 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15048 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15049 (feedmail-send-it): Add debug call.
15050 Use feedmail-queue-buffer-file-name, and
15051 feedmail-send-it-immediately-wrapper.
15052 (feedmail-message-action-send): Add debug call.
15053 Use feedmail-send-it-immediately-wrapper.
15054 (feedmail-queue-express-to-queue): Add debug call.
15055 Run feedmail-queue-express-hook.
15056 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15057 (feedmail-message-action-help-blat):
15058 Rename from feedmail-queue-send-edit-prompt-help-first.
15059 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15060 Check line-endings. Handle errors better.
15061 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15062 Doc fix. Add debug call.
15063 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15064 Use feedmail-queue-send-edit-prompt-inner.
15065 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15066 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15067 from feedmail-queue-send-edit-prompt.
15068 (feedmail-queue-send-edit-prompt-help)
15069 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15070 (feedmail-tidy-up-slug): Add debug call.
15071 Respect feedmail-queue-slug-suspect-regexp.
15072 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15073 (feedmail-dump-message-to-queue): Add debug call.
15074 Expand queue-directory.
15075 (feedmail-dump-message-to-queue): Change message slightly.
15076 Use feedmail-say-chatter.
15077 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15078 (feedmail-send-it-immediately-wrapper): New function.
15079 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15080 Insert empty string rather than newline. Handle full-frame case.
15081 Use catch/throw. Use feedmail-say-chatter.
15082 (feedmail-fiddle-from): Try mail-host-address.
15083 (feedmail-default-message-id-generator): Doc fix.
15084 Bind system-time-locale. Handle missing end.
15085 (feedmail-fiddle-x-mailer): Add debug call.
15086 Handle feedmail-x-mailer-line being nil.
15087 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15088 Add debug call. Use buffer-substring-no-properties.
15089 (feedmail-say-debug, feedmail-say-chatter): New functions.
15090 (feedmail-find-eoh): Give an explicit error.
15091
42c7e61e
UJ
150922011-05-13 Ulf Jasper <ulf.jasper@web.de>
15093
c2571358 15094 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15095 family from helvetica to sans.
c2571358 15096 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15097 etc/images/newsticker.
15098
c2571358 15099 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15100 family from helvetica to sans.
15101
15102 * net/newst-plainview.el (newsticker-new-item-face)
15103 (newsticker-old-item-face, newsticker-immortal-item-face)
15104 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15105 (newsticker-statistics-face): Change default family from
42c7e61e 15106 helvetica to sans.
c2571358 15107 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15108 etc/images/newsticker.
15109
5d3385a0
JB
15110 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15111 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15112 auto-marking.
15113
8497a297
DV
151142011-05-13 Didier Verna <didier@xemacs.org>
15115
15116 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15117 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15118 TODO entries.
8497a297
DV
15119 (lisp-lambda-list-keyword-parameter-indentation)
15120 (lisp-lambda-list-keyword-parameter-alignment)
15121 (lisp-lambda-list-keyword-alignment): New customizable user options.
15122 (lisp-indent-defun-method): Improve docstring.
15123 (extended-loop-p): Fix comment.
15124 (lisp-indent-lambda-list-keywords-regexp): New variable.
15125 (lisp-indent-lambda-list): New function.
15126 (lisp-indent-259): Use it.
15127 (lisp-indent-defmethod): Support for more than one
15128 method qualifier and properly indent methods lambda-lists.
15129 (defgeneric): Provide a missing common-lisp-indent-function property.
15130
f278f87f
SM
151312011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15132
15133 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15134 bounds for the empty string (bug#8667).
15135
5233edd7
GM
151362011-05-13 Glenn Morris <rgm@gnu.org>
15137
5237a44f
GM
15138 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15139
8340026c 15140 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15141 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15142
5233edd7 15143 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15144 (appt-time-msg-list): Doc fix.
a5464014 15145 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15146
92d10796
AS
151472011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15148
15149 * progmodes/ld-script.el (ld-script-keywords)
15150 (ld-script-builtins): Update keywords list.
15151
914a0ae1
SM
151522011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15153
c89be45f
SM
15154 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15155
914a0ae1
SM
15156 * shell.el (shell-completion-vars): New function.
15157 (shell-mode):
15158 * simple.el (read-shell-command): Use it.
15159 (blink-matching-open): No need for " [...]" in minibuffer-message.
15160
98dc3df3
GM
151612011-05-12 Glenn Morris <rgm@gnu.org>
15162
15163 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15164 (appt-check): Simplify.
15165
d2fc7e3d 151662011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15167
4d61f28d 15168 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15169 literal "/dev/null".
15170
d2fc7e3d 151712011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15172
15173 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15174 Fix typo.
15175
d2fc7e3d 151762011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15177
3f254caa
SM
15178 * progmodes/which-func.el (which-function):
15179 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15180 which might not be defined (Bug#8260).
15181
d45885f7
GM
151822011-05-12 Glenn Morris <rgm@gnu.org>
15183
15184 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15185 Let byte-compile-initial-macro-environment always take precedence.
15186
488086f4
SM
151872011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15188
15189 * net/rcirc.el: Add support for SSL/TLS connections.
15190 (rcirc-server-alist): New field `encryption'.
15191 (rcirc): Check `encryption' settings.
15192 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15193 Merge make-local-variable into `set'.
15194 (rcirc--connection-open-p): New function.
15195 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15196 the process is not a network process (e.g. running gnutls-cli).
15197 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15198 Make rcirc-(en|de)code-coding-system local here.
15199 (rcirc-mode): Merge make-local-variable into `set'.
15200 (rcirc-parent-buffer): Make permanent buffer-local.
15201 (rcirc-multiline-minor-mode): Don't do it here.
15202 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15203 there's no server buffer.
15204
7d3b9d44
GM
152052011-05-11 Glenn Morris <rgm@gnu.org>
15206
f64049c6
GM
15207 * newcomment.el (comment-kill): Prefix "unused" local.
15208
93c9df73
GM
15209 * term/w32console.el (get-screen-color): Declare.
15210
7d3b9d44
GM
15211 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15212 Handle symbol elements of byte-compile-initial-macro-environment.
15213
9e2dd53f
LL
152142011-05-10 Leo Liu <sdl.web@gmail.com>
15215
488086f4
SM
15216 * bookmark.el (bookmark-bmenu-mode-map):
15217 Bind bookmark-bmenu-search to `/'.
8b340240 15218
9e2dd53f 15219 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15220 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15221 (Footnote-unicode): New function.
15222 (footnote-style-alist): Add unicode style to the list.
15223 (footnote-style): Doc fix.
9e2dd53f 15224
79b70037
GM
152252011-05-10 Jim Meyering <meyering@redhat.com>
15226
15227 Fix doubled-word typos.
15228 * international/quail.el (quail-insert-kbd-layout): and and -> and
15229 * kermit.el: and and -> and
15230 * net/ldap.el (ldap-search-internal): to to -> to
15231 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15232 * progmodes/js.el (js-mode): and and -> and
15233 * textmodes/artist.el (artist-move-to-xy): at at -> at
15234 (artist-draw-region-trim-line-endings): if if -> if
15235 And Safetyc -> Safety.
15236 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15237
b8f82dc1 152382011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15239 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15240
15241 * files.el (hack-one-local-variable-eval-safep):
15242 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15243
4f99f44b
GM
152442011-05-10 Glenn Morris <rgm@gnu.org>
15245
15246 * calendar/diary-lib.el (diary-list-entries-hook)
15247 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15248 (diary-nongregorian-marking-hook, diary-list-entries)
15249 (diary-include-other-diary-files, diary-mark-entries)
15250 (diary-mark-included-diary-files): Doc fixes.
15251
84f29e6b
JB
152522011-05-09 Juanma Barranquero <lekktu@gmail.com>
15253
15254 * misc.el: Require tabulated-list.el during compilation.
15255
9bedd73a
CY
152562011-05-09 Chong Yidong <cyd@stupidchicken.com>
15257
488086f4
SM
15258 * progmodes/compile.el (compilation-start):
15259 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15260 (compilation-filter-hook): Doc fix.
15261
797c735c
DD
152622011-05-09 Deniz Dogan <deniz@dogan.se>
15263
15264 * wdired.el: Remove outdated installation comment. Fix usage
15265 comment.
15266
5f4b1dfe
JB
152672011-05-09 Juanma Barranquero <lekktu@gmail.com>
15268
15269 * misc.el: Implement new command `list-dynamic-libraries'.
15270 (list-dynamic-libraries--loaded-only-p): New variable.
15271 (list-dynamic-libraries--refresh): New function.
15272 (list-dynamic-libraries): New command.
15273
4c44026c
CY
152742011-05-09 Chong Yidong <cyd@stupidchicken.com>
15275
488086f4
SM
15276 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15277 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15278 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15279 higher priority to avoid clobbering by gnu.
15280
027f966d
CY
152812011-05-08 Chong Yidong <cyd@stupidchicken.com>
15282
15283 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15284 if the face has existing theme settings (Bug#8454).
15285
085f5d7d
CY
152862011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15287
488086f4
SM
15288 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15289 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15290
2a86a00c
RS
15291 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15292 special file names `.' and `..' (Bug#8259).
15293
d9c54a06
CY
152942011-05-08 Chong Yidong <cyd@stupidchicken.com>
15295
488086f4
SM
15296 * progmodes/grep.el (grep-mode-font-lock-keywords):
15297 Remove buffer-changing entries.
d9c54a06
CY
15298 (grep-filter): New function.
15299 (grep-mode): Add it to compilation-filter-hook.
15300
15301 * progmodes/compile.el (compilation-filter-hook)
15302 (compilation-filter-start): New defvars.
15303 (compilation-filter): Call compilation-filter-hook prior to
15304 updating the process mark.
15305
c4662635
SM
153062011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15307
15308 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15309
b0512a1d
EZ
153102011-05-07 Eli Zaretskii <eliz@gnu.org>
15311
605c9376
EZ
15312 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15313 mailclient-send-it even if window-system is nil. (Bug#8595)
15314
c4662635
SM
15315 * term/w32console.el (terminal-init-w32console):
15316 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15317 background-mode. (Bug#8597)
15318
d1dc2cc2
SM
153192011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15320
15321 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15322 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15323 New functions.
15324 (defgeneric, eieio--defmethod): Use them.
15325 (eieio-defgeneric): Remove.
15326 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15327
915d1300
GM
153282011-05-07 Glenn Morris <rgm@gnu.org>
15329
a3961c3e
GM
15330 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15331 Use let rather than let*.
15332 (timeclock-find-discrep): Remove unused local.
15333
314347b9
GM
15334 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15335
915d1300
GM
15336 * calendar/appt.el (appt-time-msg-list): Doc fix.
15337
275b59b0
NF
153382011-05-06 Noah Friedman <friedman@splode.com>
15339
15340 * apropos.el (apropos-print-doc): Only use
15341 emacs-lisp-docstring-fill-column when it is bound to an integer,
15342 per that variable's documentation.
15343
6c19f744
SM
153442011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15345
15346 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15347 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15348
60f884b2
GM
153492011-05-06 Glenn Morris <rgm@gnu.org>
15350
5006e634
GM
15351 * calendar/appt.el (appt-message-warning-time): Doc fix.
15352 (appt-warning-time-regexp): New option.
15353 (appt-make-list): Respect appt-message-warning-time.
15354
548d0a63
GM
15355 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15356 New options.
15357 (diary-add-to-list): Strip comments from the displayed string.
15358 (diary-mode): Set comment-start and comment-end.
15359
60f884b2
GM
15360 * vc/diff-mode.el (smerge-refine-subst): Declare.
15361 (diff-refine-hunk): Don't require smerge-mode when compiling.
15362
989681bb
JB
153632011-05-06 Juanma Barranquero <lekktu@gmail.com>
15364
15365 * simple.el (list-processes): Return nil as the docstring says.
15366
a6bc05e1
MA
153672011-05-05 Michael Albinus <michael.albinus@gmx.de>
15368
15369 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15370 to "".
15371 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15372 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15373 determining of binary transfer. (Bug#7383)
15374
23c22e9a
MA
153752011-05-05 Michael Albinus <michael.albinus@gmx.de>
15376
c4662635
SM
15377 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15378 Fix port computation bug. (Bug#8618)
23c22e9a 15379
0bff894f
GM
153802011-05-05 Glenn Morris <rgm@gnu.org>
15381
b8296902
GM
15382 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15383
1f522ce8
GM
15384 * simple.el (shell-dynamic-complete-functions)
15385 (comint-dynamic-complete-functions): Declare.
15386
cf5bee67
GM
15387 * net/network-stream.el (gnutls-negotiate):
15388 * simple.el (tabulated-list-print): Fix declarations.
15389
15390 * progmodes/gud.el (syntax-symbol, syntax-point):
15391 Remove unnecessary and incorrect declarations.
15392
0bff894f
GM
15393 * emacs-lisp/check-declare.el (check-declare-scan):
15394 Handle byte-compile-initial-macro-environment in bytecomp.el
15395
9869b3ae
SM
153962011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15397
15398 Fix earlier half-done eieio-defmethod change (bug#8338).
15399 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15400 Streamline and change calling convention.
15401 (defmethod): Adjust accordingly and simplify.
15402 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15403 new eieio--defmethod.
15404 (slot-boundp): Minor CSE simplification.
15405
9c1d5ac5
MZ
154062011-05-05 Milan Zamazal <pdm@zamazal.org>
15407
15408 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15409 (glasses-make-readable): Use glasses-separate-capital-groups.
15410
455c834e
JB
154112011-05-05 Juanma Barranquero <lekktu@gmail.com>
15412
15413 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15414 (warning-series): Doc fix.
15415 (display-warning): Don't try to create the buffer if we just found it.
15416
9ed7c8cb
CY
154172011-05-04 Chong Yidong <cyd@stupidchicken.com>
15418
15419 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15420 (autoload-find-generated-file): New function.
15421 (generate-file-autoloads): Bind generated-autoload-file to
15422 buffer-file-name.
9869b3ae
SM
15423 (update-file-autoloads, update-directory-autoloads):
15424 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15425 output file (Bug#7989).
15426 (batch-update-autoloads): Doc fix.
15427
0898ca10
JB
154282011-05-04 Juanma Barranquero <lekktu@gmail.com>
15429
15430 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15431
31dfb76c
GM
154322011-05-04 Glenn Morris <rgm@gnu.org>
15433
f330b642
GM
15434 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15435 function, so it follows changes in calendar-date-style.
15436 (diary-fancy-date-matcher): New function.
15437 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15438 (diary-fancy-font-lock-fontify-region-function):
15439 Use diary-fancy-date-pattern as a function.
15440
31dfb76c
GM
15441 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15442 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15443
48e79d6a
TZ
154442011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15445
15446 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15447 instead of positional arguments. Allow :keylist and :crlfiles
15448 arguments.
15449 (open-gnutls-stream): Call it.
15450
15451 * net/network-stream.el (network-stream-open-starttls): Adjust to
15452 call `gnutls-negotiate' with :process and :hostname arguments.
15453
dd5a5ee0
SM
154542011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15455
ef80fc09
SM
15456 * minibuffer.el (completion--message): New function.
15457 (completion--do-completion, minibuffer-complete)
15458 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15459 (completion--do-completion): Don't ignore completion-auto-help when in
15460 icomplete-mode.
15461
dd5a5ee0
SM
15462 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15463 internal encoding (e.g. tibetan zero is not whitespace).
15464 (global-whitespace-mode): Prefer save-current-buffer.
15465 (whitespace-trailing-regexp): Remove useless save-match-data.
15466 (whitespace-empty-at-bob-regexp): Minor simplification.
15467
b7d22a83
CY
154682011-05-03 Chong Yidong <cyd@stupidchicken.com>
15469
15470 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15471
5192af46
AM
154722011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15473
15474 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15475 Use `concat' to create string for insertion.
5192af46 15476
5767d190
SM
154772011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15478
15479 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15480 Avoid open-line which runs post-self-insert-hook.
15481 (bibtex-fill-entry): Remove unused `end' var.
15482
bf242939
AM
154832011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15484
5767d190
SM
15485 * textmodes/ispell.el (ispell-add-per-file-word-list):
15486 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15487
25666126
LL
154882011-05-03 Leo Liu <sdl.web@gmail.com>
15489
15490 * isearch.el (isearch-yank-pop): New command.
5767d190 15491 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15492 (isearch-forward): Mention it.
15493
52d3c2d0
SM
154942011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15495
1bcace58
SM
15496 * simple.el (minibuffer-complete-shell-command): Remove.
15497 (minibuffer-local-shell-command-map): Use completion-at-point.
15498 (read-shell-command): Setup completion vars here instead.
15499 (read-expression-map): Bind TAB to symbol completion.
15500
52d3c2d0
SM
15501 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15502 error directly rather via storing it into `results'.
15503
35813471
LL
155042011-05-02 Leo Liu <sdl.web@gmail.com>
15505
15506 * vc/diff.el: Fix description.
15507
e793a940
LMI
155082011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15509
15510 * server.el (server-eval-at): New function.
15511
8de66e05
LMI
155122011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15513
15514 * net/network-stream.el (open-network-stream): Take a :nowait
15515 parameter and pass it on to `make-network-process'.
15516 (network-stream-open-plain): Ditto.
15517
dcb79f20
AS
155182011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15519
15520 * faces.el (face-spec-set-match-display): Don't match toolkit
15521 options on terminal frames.
15522
14a7fbd8
SM
155232011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15524
7eabc1be
SM
15525 * progmodes/pascal.el: Use lexical binding.
15526 (pascal-mode-map): Remove author preferences.
15527
14a7fbd8
SM
15528 * pcomplete.el (pcomplete-std-complete): Don't abuse
15529 completion-at-point.
15530
50f84510
JB
155312011-04-28 Juanma Barranquero <lekktu@gmail.com>
15532
6e087a44
JB
15533 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15534 removing code that has been dead since 1991 or so.
15535
50f84510
JB
15536 * startup.el (command-line): When warning about "_emacs", use a
15537 delayed warning to allow the user to filter it out.
15538
0ba690bd
DD
155392011-04-28 Deniz Dogan <deniz@dogan.se>
15540
15541 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15542 user has not joined.
15543
08abfaad
SM
155442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15545
15546 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15547 aren't any completions at point.
15548
638f053a
JB
155492011-04-28 Juanma Barranquero <lekktu@gmail.com>
15550
15551 * subr.el (display-delayed-warnings): New function.
15552 (delayed-warnings-hook): New variable.
15553
8fff8daa
SM
155542011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15555
08abfaad
SM
15556 * minibuffer.el (completion-at-point, completion-help-at-point):
15557 Don't presume that a given completion-at-point-function will always
15558 use the same calling convention.
15559
8fff8daa
SM
15560 * pcomplete.el (pcomplete-completions-at-point):
15561 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15562 pcomplete-seen is non-nil.
15563 (pcomplete-comint-setup): Also recognize the new comint/shell
15564 completion functions.
15565 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15566 pcomplete-seen is non-nil.
15567
841a1577 155682011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15569
841a1577 15570 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15571 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15572 the first character in the entry. This allows for code to add its
211ec907
UJ
15573 own uid to the entry.
15574 (icalendar--convert-float-to-ical): Add export of
15575 `diary-float'-entries save for those with the optional DAY
15576 argument.
15577
2a782793
DC
155782011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15579
15580 * subr.el (shell-quote-argument): Use alternate escaping strategy
15581 when we spot a variable reference in a string.
15582
0438ce91
DC
155832011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15584
15585 * cus-start.el (all): Define customization for debug-on-event.
15586
841a1577 155872011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15588
15589 * subr.el (shell-quote-argument): Escape correctly under Windows.
15590
d090ed6c
SM
155912011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15592
15593 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15594
bfd31217
MA
155952011-04-25 Michael Albinus <michael.albinus@gmx.de>
15596
d090ed6c
SM
15597 * net/tramp.el (tramp-process-actions): Add POS argument.
15598 Delete region between POS and (pos).
bfd31217 15599
d090ed6c
SM
15600 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15601 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15602 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15603
15604 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15605 position in `tramp-process-actions' call.
15606
15607 * net/trampver.el: Update release number.
15608
e92f3bd3
SM
156092011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15610
850256b5
SM
15611 * custom.el (defcustom): Obey lexical-binding.
15612
e92f3bd3
SM
15613 Fix octave-inf completion problems reported by Alexander Klimov.
15614 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15615 Inherit from octave-mode-syntax-table.
15616 (inferior-octave-mode): Set info-lookup-mode.
15617 (inferior-octave-completion-at-point): New function.
15618 (inferior-octave-complete): Use it and completion-in-region.
15619 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15620 comint-filename-completion.
15621 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15622 symbol elements which shouldn't be word elements.
15623 (octave-font-lock-keywords, octave-beginning-of-defun)
15624 (octave-function-header-regexp): Adjust regexps accordingly.
15625 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15626
cd22b309
JB
156272011-04-25 Juanma Barranquero <lekktu@gmail.com>
15628
15629 * net/gnutls.el (gnutls-errorp): Declare before first use.
15630
8b492194
TZ
156312011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15632
15633 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15634 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15635 default trustfile exists before going to use it. Add missing
5a5fa834 15636 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15637 Reported by Claudio Bley <claudio.bley@gmail.com>.
15638 (open-gnutls-stream): Add usage example.
15639
15640 * net/network-stream.el (network-stream-open-starttls): Give host
15641 parameter to `gnutls-negotiate'.
15642 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15643 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15644
841a1577 156452011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15646
cd22b309
JB
15647 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15648 Use correct match group (bug#8438).
05842630 15649
3ba7869c
CY
156502011-04-24 Chong Yidong <cyd@stupidchicken.com>
15651
512e3ae1
CY
15652 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15653 (package-menu--generate): New arg specifying packages to show.
15654 (package-menu-refresh, package-menu-execute, list-packages):
15655 Callers changed.
15656 (package-show-package-list): New function, replacing deleted
15657 package--list-packages (renamed because it is non-internal).
15658
15659 * finder.el (finder-list-matches): Use package-show-package-list
15660 instead of deleted package--list-packages.
15661
e92f3bd3
SM
15662 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15663 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15664 (vc-annotate-mode-map): Bind it to RET.
15665
7031be6d
UR
156662011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15667
15668 * progmodes/etags.el (next-file): Don't use set-buffer to change
15669 buffers (Bug#8478).
15670
4ef177aa
CY
156712011-04-24 Chong Yidong <cyd@stupidchicken.com>
15672
c8d173eb
CY
15673 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15674
4ef177aa
CY
15675 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15676 (apropos-accumulator): Doc fix.
15677 (apropos-function, apropos-macro, apropos-command)
15678 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15679 (apropos-plist): Add face property.
15680 (apropos-symbols-internal): Fix indentation.
15681 (apropos-print): Simplify help, and recognize apropos-multi-type.
15682 (apropos-print-doc): Use button-type-get to extract the button's
15683 face property. Fill docstring (Bug#8352).
15684
4ffd0d6b 156852011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15686
15687 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15688
c6c32125 15689 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15690 (mpuz-mode-map): Use mapc.
c6c32125
JB
15691 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15692 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15693 Fix typos in docstrings.
15694
58d468b4
JB
15695 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15696 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15697
6470c3c6
JB
15698 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15699
4ffd0d6b 157002011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15701
15702 * minibuffer.el (completion--do-completion): Avoid the "Next char
15703 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15704
3ad8bad0
CY
15705 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15706 mouse-2 into unread-command-events, it is interpreted correctly.
15707
71d73c9c 15708 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15709 (image-toggle-display): Doc fix.
71d73c9c 15710
841a1577 157112011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15712
4ffd0d6b
GM
15713 * textmodes/page.el (what-page): Use line-number-at-pos to
15714 calculate line number (Bug#6825).
6e1dbaa9 15715
c2fb1b60
JB
157162011-04-22 Juanma Barranquero <lekktu@gmail.com>
15717
15718 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15719 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15720 Pass argument NO-DEFAULT to `find-tag-interactive'.
15721
e02f48d7
JB
157222011-04-22 Juanma Barranquero <lekktu@gmail.com>
15723
15724 Lexical-binding cleanup.
15725
15726 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15727 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15728 * progmodes/ada-prj.el (ada-prj-initialize-values)
15729 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15730 (ada-prj-show-value):
15731 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15732 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15733 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15734 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15735 * progmodes/bug-reference.el (bug-reference-push-button):
15736 * progmodes/fortran.el (fortran-line-length):
15737 * progmodes/glasses.el (glasses-change):
15738 * progmodes/octave-mod.el (octave-fill-paragraph):
15739 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15740 (python-pdbtrack-grub-for-buffer, python-sentinel):
15741 * progmodes/sql.el (sql-save-connection):
15742 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15743 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15744 Mark unused parameters.
15745
15746 * progmodes/compile.el (compilation--flush-directory-cache)
15747 (compilation--flush-parse, compile-internal): Mark unused parameters.
15748 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15749 (compilation-next-error-function): Remove unused variable `timestamp'.
15750
15751 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15752 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15753
15754 * progmodes/dcl-mode.el (dcl-end-of-command):
15755 Remove unused variable `start'.
15756 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15757 (dcl-option-value-basic, dcl-option-value-offset)
15758 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15759 Mark unused parameters.
15760 (dcl-save-local-variable): Remove unused variable `val'.
15761 (mode): Declare.
15762
15763 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15764 Mark unused parameters.
15765 (delphi-ignore-changes): Move before first use.
15766 (delphi-charset-token-at): Remove unused variable `start'.
15767 (delphi-else-start): Remove unused variable `if-count'.
15768 (delphi-comment-block-start, delphi-comment-block-end):
15769 Remove unused variable `kind'.
15770 (delphi-indent-line): Remove unused variable `new-point'.
15771
15772 * progmodes/ebrowse.el (ebrowse-files-list)
15773 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15774 Mark unused parameters. Don't quote `lambda'.
15775 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15776 Don't quote `lambda'.
15777 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15778 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15779 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15780 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15781 Use `ignore-errors'.
15782 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15783 (ebrowse-view/find-file-and-search-pattern)
15784 (ebrowse-view/find-member-declaration/definition):
15785 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15786 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15787 Rename parameter PREFIX-ARG to PREFIX.
15788 (ebrowse-tags-read-name): Remove unused variables `start' and
15789 `member-info'.
15790 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15791 to `tags-file'.
15792
15793 * progmodes/etags.el (local-find-tag-hook): Declare.
15794 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15795 Mark unused parameters.
15796
15797 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15798 (executable-interpret): Mark unused parameter.
15799
15800 * progmodes/flymake.el (flymake-process-sentinel)
15801 (flymake-after-change-function)
15802 (flymake-create-temp-with-folder-structure)
15803 (flymake-get-include-dirs-dot): Mark unused parameters.
15804 (flymake-safe-delete-directory): Remove unused variable `err'.
15805
15806 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15807 (speedbar-timer-fn, speedbar-line-text)
15808 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15809 (speedbar-center-buffer-smartly): Declare functions.
15810 (gdb-find-watch-expression): Remove unused variable `array'.
15811 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15812 (gdb-starting): Mark unused parameters.
15813 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15814 (gdb-table-string): Remove unused variable `res'.
15815 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15816 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15817 (gdb-display-buffer): Remove unused variable `cur-size'.
15818
15819 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15820 allow lexical-binding compilation.
15821 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15822 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15823 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15824 Mark unused parameters.
15825 (gud-gdb-marker-filter): Remove unused variable `match'.
15826 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15827 lambda expressions and funcall them, instead of using `fset'.
15828
15829 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15830 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15831
15832 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15833 variable `header-beg'; use `let'.
15834
15835 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15836 `restart', `last-sexp' and `at-do'.
15837
15838 * progmodes/js.el (js--debug): Mark unused parameter.
15839 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15840 (js--splice-into-items): Remove unused variable `item'.
15841 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15842
15843 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15844 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15845 (makefile-complete): Remove unused variable `try'.
15846 (makefile-fill-paragraph, makefile-match-function-end):
15847 Mark unused parameters.
15848
15849 * progmodes/octave-inf.el (inferior-octave-complete):
15850 Remove unused variable `proc'.
15851 (inferior-octave-output-digest): Mark unused parameter.
15852
15853 * progmodes/perl-mode.el (perl-calculate-indent):
15854 Remove unused variable `err'.
15855
15856 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15857 (prolog-indent-line): Mark unused parameters.
15858 (prolog-indent-line): Remove unused variable `beg'.
15859
15860 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15861 (reporter-dont-compact-list): Declare.
15862
15863 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15864 Remove unused variable `char'.
15865 (sh-debug): Mark unused parameter.
15866 (sh-get-indent-info): Remove unused variable `start'.
15867 (sh-calculate-indent): Remove unused variable `var'.
15868
15869 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15870 (simula-electric-keyword): Remove unused variable `null'.
15871 (simula-search-backward, simula-search-forward): Remove unused
15872 variables `begin' and `end'.
15873
15874 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15875 Remove unused variable `pos'.
15876 (vera-electric-tab, vera-comment-uncomment-region):
15877 Mark unused parameters.
15878 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15879
7ede3b65
CY
158802011-04-22 Chong Yidong <cyd@stupidchicken.com>
15881
15882 * emacs-lisp/package.el (package--builtins, package-alist)
15883 (package-load-descriptor, package-built-in-p, package-activate)
15884 (define-package, package-installed-p)
15885 (package-compute-transaction, package-buffer-info)
15886 (package--push): Doc fix. Distinguish more clearly between
15887 version strings and version lists.
15888
121656e9
JB
158892011-04-21 Juanma Barranquero <lekktu@gmail.com>
15890
15891 Lexical-binding cleanup.
15892
15893 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15894 (5x5-make-mutate-best):
15895 * play/fortune.el (fortune-in-buffer):
15896 * play/gomoku.el (gomoku-init-display):
15897 * play/solitaire.el (solitaire, solitaire-do-check):
15898 * play/tetris.el (tetris-default-update-speed-function):
15899 Mark unused parameters.
15900
15901 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15902 (bubbles--shift): Remove unused variable `char-org'.
15903 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15904 (bubbles--show-images): Remove unused variable `char'.
15905
15906 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15907 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15908 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15909 (decipher-analyze-buffer): Use ?\s.
15910 (decipher-make-checkpoint): Remove unused variable `mapping'.
15911
15912 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15913
15914 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15915 Remove unused variable `result'; use `let'.
15916
15917 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15918 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15919 (gametree-children-shown-p, gametree-compute-reduced-score):
15920 Use `ignore-errors'.
15921
15922 * play/handwrite.el (ps-lpr-switches): Declare.
15923 (handwrite): Remove unused variables `pmin' and `lastp'.
15924
15925 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15926
15927 * play/landmark.el (landmark-init-display)
15928 (landmark-update-naught-weights): Mark unused parameters.
15929 (landmark-y): Remove unused variable `noise'. Simplify.
15930 (landmark-human-plays): Remove unused variable `score'.
15931
15932 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15933 (mpuz-try-proposal): Remove unused variable `game'.
15934
15935 * play/zone.el (life-patterns): Declare.
15936
80f499c7
JB
159372011-04-20 Juanma Barranquero <lekktu@gmail.com>
15938
15939 * vc/vc.el (ediff-vc-internal): Declare function.
15940
024ff170
SM
159412011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15942
c0a193ea
SM
15943 * shell.el: Use lexical-binding and std completion UI.
15944 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15945 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15946 comint-preoutput-filter-functions rather than on
15947 comint-output-filter-functions.
15948 (shell-command-completion, shell--command-completion-data)
15949 (shell-filename-completion, shell-environment-variable-completion)
15950 (shell-c-a-p-replace-by-expanded-directory): New functions.
15951 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15952 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15953 (shell-dynamic-complete-environment-variable): Use them.
15954 (shell-dynamic-complete-as-environment-variable)
15955 (shell-dynamic-complete-as-command): Remove.
15956 (shell-match-partial-variable): Match past point.
15957 * comint.el: Clean up use of completion-at-point-functions.
15958 (comint-completion-at-point): New function.
15959 (comint-mode): Use it completion-at-point-functions.
15960 (comint-dynamic-complete): Make it obsolete.
15961 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15962 (comint-c-a-p-replace-by-expanded-history): New function.
15963 (comint-dynamic-complete-functions)
15964 (comint-replace-by-expanded-history): Use it.
15965 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15966 termination strings. Try harder to avoid second try-completion.
15967 (completion-in-region-mode-map): Disable bindings that don't work yet.
15968
2dbaa080
SM
15969 * comint.el: Use lexical-binding. Require CL.
15970 (comint-dynamic-complete-functions): Use comint-filename-completion.
15971 (comint-completion-addsuffix): Tweak custom type.
15972 (comint-filename-completion, comint--common-suffix)
15973 (comint--common-quoted-suffix, comint--table-subvert)
15974 (comint--complete-file-name-data): New functions.
15975 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15976 (comint-dynamic-list-filename-completions): Use them.
15977 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15978
2dbaa080
SM
15979 * minibuffer.el (completion-in-region-mode):
15980 Keep completion-in-region-mode--predicate global.
15981 (completion-in-region--postch):
15982 Assume completion-in-region-mode--predicate is not null.
15983
c79a6f38
SM
15984 * progmodes/flymake.el (flymake-start-syntax-check-process):
15985 Obey `dir'. Simplify.
15986
024ff170
SM
15987 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15988 we're in VC after all.
15989
1c6c854e
CS
159902011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15991
15992 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15993 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15994 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15995
bed7f140
SM
159962011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15997
332e62ab
SM
15998 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15999 add sanity check.
16000
bed7f140
SM
16001 * obsolete/erc-hecomplete.el: Make obsolete.
16002 * obsolete/: Standardize obsolescence info in the header.
16003
f195c582
GM
160042011-04-20 Glenn Morris <rgm@gnu.org>
16005
16006 * calendar/solar.el (solar-horizontal-coordinates):
16007 Use the longitude argument rather than `calendar-longitude'.
16008 (solar-date-next-longitude): Remove unused locals.
16009
cb79b8c0
VJL
160102011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
16011
16012 * whitespace.el: New version 13.2.1.
16013
160142011-04-20 felix <EmacsWiki> (tiny change)
16015
d8e4b68b 16016 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
16017 switching between major modes on a file.
16018
602ea69d
SM
160192011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
16020
16021 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
16022 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
16023 multi-line comments as well.
16024
06b60517
JB
160252011-04-19 Juanma Barranquero <lekktu@gmail.com>
16026
16027 Lexical-binding cleanup.
16028
16029 * arc-mode.el (archive-mode-revert):
16030 * cmuscheme.el (scheme-interactively-start-process):
16031 * custom.el (custom-initialize-delay):
16032 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
16033 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
16034 * emacs-lock.el (emacs-lock-clear-sentinel):
16035 * ezimage.el (defezimage):
16036 * follow.el (follow-avoid-tail-recenter):
16037 * fringe.el (set-fringe-mode-1):
16038 * generic-x.el (bat-generic-mode-compile):
16039 * help-mode.el (help-info-variable, help-do-xref)
16040 (help-mode-revert-buffer):
16041 * help.el (view-emacs-todo):
16042 * iswitchb.el (iswitchb-completion-help):
16043 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16044 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16045 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16046 * locate.el (locate-update):
16047 * longlines.el (longlines-encode-region)
16048 (longlines-after-change-function):
16049 * outline.el (outline-isearch-open-invisible):
16050 * ps-def.el (declare-function, charset-dimension, char-width)
16051 (encode-char):
16052 * ps-mule.el (ps-mule-plot-string):
16053 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16054 (recentf-edit-list-select, recentf-edit-list-validate)
16055 (recentf-open-files-action):
16056 * rect.el (delete-whitespace-rectangle-line)
16057 (rectangle-number-line-callback):
16058 * register.el (window-configuration-to-register)
16059 (frame-configuration-to-register):
16060 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16061 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16062 (xselect-convert-to-targets, xselect-convert-to-delete)
16063 (xselect-convert-to-filename, xselect-convert-to-charpos)
16064 (xselect-convert-to-lineno, xselect-convert-to-colno)
16065 (xselect-convert-to-os, xselect-convert-to-host)
16066 (xselect-convert-to-user, xselect-convert-to-class)
16067 (xselect-convert-to-name, xselect-convert-to-integer)
16068 (xselect-convert-to-atom, xselect-convert-to-identity):
16069 * subr.el (declare, ignore, process-kill-without-query)
16070 (text-clone-maintain):
16071 * terminal.el (te-get-char, te-tic-sentinel):
16072 * tool-bar.el (tool-bar-make-keymap):
16073 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16074 * type-break.el (type-break-mode, type-break-noninteractive-query):
16075 * view.el (View-back-to-mark):
16076 * wid-browse.el (widget-browse-action, widget-browse-widget)
16077 (widget-browse-widgets, widget-browse-sexp):
16078 * widget.el (define-widget-keywords):
16079 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16080 Mark unused parameters.
16081
16082 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16083 (align-areas): Remove unused variable `look'.
16084 (align-region): Remove unused variables `real-end' and `pos-list'.
16085
16086 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16087
16088 * bindings.el (mode-line-modified, mode-line-remote):
16089 Mark unused parameters.
16090 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16091
16092 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16093 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16094
16095 * comint.el (comint-history-isearch-pop-state)
16096 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16097 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16098 (comint-substitute-in-file-name): Doc fix.
16099
16100 * completion.el (cmpl-statistics-block): Mark unused parameter.
16101 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16102 (save-completions-to-file, load-completions-from-file):
16103 Remove unused local variable `e'.
16104
16105 * composite.el (compose-chars): Remove unused variable `len'.
16106 (lgstring-insert-glyph): Remove unused variable `g'.
16107 (compose-glyph-string): Remove unused variables `ascent',
16108 `descent', `lbearing' and `rbearing'.
16109 (compose-glyph-string-relative): Remove unused variables
16110 `lbearing', `rbearing' and `wadjust'.
16111 (compose-gstring-for-graphic): Remove unused variables `header',
16112 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16113 (compose-gstring-for-terminal): Remove unused variables `header'
16114 and `nchars'. Use `let', not `let*'.
16115
16116 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16117 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16118 (Custom-buffer-done, custom-buffer-create-internal)
16119 (custom-browse-visibility-action, custom-browse-group-tag-action)
16120 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16121 (widget-magic-mouse-down-action, custom-toggle-parent)
16122 (custom-add-parent-links, custom-toggle-hide-variable)
16123 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16124 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16125 (custom-face-menu-create, custom-variable-menu-create, get)
16126 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16127 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16128 (customize-apropos): Remove unused variable `tests'.
16129 (custom-group-value-create): Remove unused variable `hidden-p'.
16130 (sort-fold-case): Declare.
16131
16132 * cus-theme.el (custom-reset-standard-faces-list)
16133 (custom-reset-standard-variables-list): Declare.
16134 (customize-create-theme, custom-theme-revert, custom-theme-write)
16135 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16136 Mark unused parameters.
16137
16138 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16139
16140 * delim-col.el (delimit-columns-max): Move defvar before first use.
16141
16142 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16143 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16144
16145 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16146 (auto-insert): Declare.
16147 (desktop-restore-file-buffer): Rename desktop-* parameters;
16148 mark unused ones.
16149 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16150 (desktop-buffer): Rename desktop-* parameters.
16151
16152 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16153 (dframe-reposition-frame-xemacs, dframe-help-echo)
16154 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16155 Mark unused parameters.
16156
16157 * dired-aux.el (backup-extract-version-start, overwrite-query)
16158 (overwrite-backup-query, rename-regexp-query)
16159 (rename-non-directory-query): Declare.
16160 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16161 (dired-add-entry): Remove unused variable `orig-file-name'.
16162 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16163 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16164 `dired-copy-preserve-time' directly.
16165 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16166 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16167
16168 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16169 (dired-virtual-revert, dired-make-relative-symlink):
16170 Mark unused parameters.
16171 (manual-program): Declare.
16172 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16173 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16174 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16175
16176 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16177
16178 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16179
16180 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16181 Declare.
16182
16183 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16184
16185 * electric.el (Electric-command-loop): Rename parameter
16186 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16187
16188 * expand.el (expand-in-literal): Remove unused variable `here'.
16189
16190 * facemenu.el (facemenu-add-new-color):
16191 Remove unused variable `docstring'.
16192
16193 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16194 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16195 (face-attr-construct): Mark unused parameter. Doc fix.
16196 (read-color): Remove unused variable `hex-string'.
16197
16198 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16199 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16200 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16201 (display-buffer-other-frame): Remove unused variable `old-window'.
16202 (kill-buffer-hook): Declare.
16203 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16204 Mark unused parameters.
16205 (after-find-file): Pass 1 to `auto-save-mode', not t.
16206
16207 * files-x.el (auto-insert): Declare.
16208 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16209
16210 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16211 variable `buf'. Mark unused parameter.
06b60517
JB
16212 (find-lisp-insert-directory): Mark unused parameter.
16213
16214 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16215 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16216 (format-common-tail): Remove, unused.
16217 (format-deannotate-region): Remove unused variable `loc'.
16218 (format-annotate-region): Remove unused variable `p'.
16219 (format-annotate-single-property-change): Remove unused variables
16220 `default' and `tail'.
16221
16222 * forms.el (read-file-filter): Declare.
16223 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16224
16225 * frame.el (frame-creation-function-alist): Mark unused parameter.
16226 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16227
16228 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16229 Remove unused parameters.
16230 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16231 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16232
16233 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16234 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16235 (hfy-prepare-tag-map): Mark unused parameters.
16236 (htmlfontify-buffer): Use `called-interactively-p'.
16237
16238 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16239 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16240 (ibuffer-do-occur): Mark unused parameters.
16241 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16242 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16243
16244 * ibuffer.el: Don't quote `lambda'.
16245 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16246 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16247 Mark unused parameters.
16248
16249 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16250 (ido-completing-read): Mark unused parameters.
16251 (ido-copy-current-word): Mark unused parameters;
16252 remove unused variable `name'.
16253 (ido-sort-merged-list): Remove unused parameter `dirs'.
16254
16255 * ielm.el (ielm-input-sender): Mark unused parameter.
16256 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16257 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16258 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16259 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16260 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16261
16262 * image-dired.el (image-dired-display-thumbs): Remove unused
16263 variables `curr-file' and `count'.
16264 (image-dired-remove-tag): Remove unused variable `start'.
16265 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16266 variable `curr-file'
16267 (image-dired-rotate-original): Remove unused variable `temp-file'.
16268 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16269 Remove unused variable `file'.
16270 (image-dired-gallery-generate): Remove unused variable `curr'.
16271 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16272
16273 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16274
16275 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16276
16277 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16278
16279 * isearch.el (minibuffer-history-symbol): Declare.
16280 (isearch-edit-string): Remove unused variable `err'.
16281 (isearch-message-prefix, isearch-message-suffix):
16282 Mark unused parameters.
16283
16284 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16285
16286 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16287
16288 * makesum.el (double-column): Remove unused variable `cnt'.
16289
16290 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16291 (ido-ignore-item-temp-list): Declare.
16292
16293 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16294 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16295 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16296 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16297 `mouse-col-delta'.
16298
16299 * mouse-sel.el (mouse-extend-internal):
16300 Remove unused variable `orig-window-frame'.
16301
16302 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16303 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16304 Move declarations before first use.
16305 (pcomplete-opt): Mark unused parameters; doc fix.
16306
16307 * proced.el (proced-revert): Mark unused parameter.
16308 (proced-send-signal): Remove unused variable `err'.
16309
16310 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16311 Rename parameter PREFIX-ARG to ARG.
16312 (ps-basic-plot-string, ps-basic-plot-whitespace):
16313 Mark unused parameters.
16314
16315 * replace.el (replace-count): Define.
16316 (occur-revert-function): Mark unused parameters.
16317 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16318 (isearch-case-fold-search, isearch-string): Declare.
16319 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16320 bind `case-fold-search'. Remove unused variables `beg' and `end',
16321 and simplify.
16322 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16323 COUNT and bind `replace-count'.
16324 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16325 to COUNT.
16326
16327 * savehist.el (print-readably, print-string-length): Declare.
16328
16329 * shadowfile.el (shadow-expand-cluster-in-file-name):
16330 Remove unused variable `cluster'.
16331 (shadow-copy-file): Remove unused variable `i'.
16332 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16333 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16334 (shadow-define-literal-group, shadow-define-regexp-group)
16335 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16336
16337 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16338 (shell): Use `called-interactively-p'.
16339 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16340
16341 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16342 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16343 (delete-backward-char): Remove unused variable `ocol'.
16344 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16345 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16346 (event-apply-hyper-modifier, event-apply-shift-modifier)
16347 (event-apply-control-modifier, event-apply-meta-modifier):
16348 Mark unused parameters.
16349 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16350 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16351
16352 * speedbar.el (speedbar-ignored-directory-expressions)
16353 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16354 (speedbar-find-file, speedbar-dir-follow)
16355 (speedbar-directory-buttons-follow, speedbar-tag-find)
16356 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16357 (speedbar-buffers-line-directory, speedbar-buffer-click):
16358 Mark unused parameters.
16359 (speedbar-tag-file): Remove unused variable `mode'.
16360 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16361
16362 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16363
16364 * talk.el (talk): Remove unused variable `display'.
16365
16366 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16367 (tar-write-region-annotate): Mark unused parameter.
16368
16369 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16370 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16371 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16372 warning by another.
16373
16374 * time-stamp.el (time-stamp-string-preprocess):
16375 Remove unused variable `require-padding'.
16376
16377 * tree-widget.el (widget-glyph-enable): Declare.
16378 (tree-widget-action): Mark unused parameter.
16379
16380 * w32-fns.el (x-get-selection): Mark unused parameter.
16381 (autoload-make-program, generated-autoload-file): Declare.
16382
16383 * wdired.el (wdired-revert): Mark unused parameters.
16384 (wdired-xcase-word): Remove unused variable `err'.
16385
16386 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16387 (whitespace-help-scroll): Remove unused variable `data-help'.
16388
16389 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16390 (widget-image-insert, widget-after-change, default)
16391 (widget-default-format-handler, widget-default-notify)
16392 (widget-default-prompt-value, widget-info-link-action)
16393 (widget-url-link-action, widget-function-link-action)
16394 (widget-variable-link-action, widget-file-link-action)
16395 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16396 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16397 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16398 (widget-insert-button-action, widget-delete-button-action, visibility)
16399 (widget-documentation-link-action, widget-documentation-string-action)
16400 (widget-const-prompt-value, widget-regexp-match, symbol)
16401 (widget-coding-system-prompt-value)
16402 (widget-key-sequence-value-to-external, sexp)
16403 (widget-sexp-value-to-internal, character, vector, cons)
16404 (widget-choice-prompt-value, widget-boolean-prompt-value)
16405 (widget-color--choose-action): Mark unused parameters.
16406 (widget-item-match-inline, widget-choice-match-inline)
16407 (widget-checklist-match, widget-checklist-match-inline)
16408 (widget-group-match): Rename parameter VALUES to VALS.
16409 (widget-field-value-set): Remove unused variable `size'.
16410 (widget-color-action): Remove unused variables `value' and `start'.
16411
16412 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16413 variable `dir'. Doc fix.
06b60517
JB
16414 (windmove-find-other-window): Don't pass it.
16415
16416 * window.el (count-windows): Mark unused parameter.
16417 (bw-adjust-window): Remove unused variable `err'.
16418
16419 * woman.el (woman-file-name): Remove unused variable `default'.
16420 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16421 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16422 (global-font-lock-mode): Declare.
16423 (woman-decode-region): Mark unused parameter.
16424 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16425
16426 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16427 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16428 (x-dnd-handle-moz-url): Remove unused variable `title'.
16429 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16430
16431 * xml.el (xml-parse-tag, xml-parse-attlist):
16432 Remove unused variable `pos'.
16433
bc4f7f3d
GM
164342011-04-19 Glenn Morris <rgm@gnu.org>
16435
16436 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16437 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16438 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16439 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16440 * calendar/cal-html.el (cal-html-insert-minical):
16441 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16442 (calendar-mark-date-pattern):
16443 Prefix "unused" locals.
16444
16445 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16446 optional argument `style'.
16447
16448 * calendar/appt.el (appt-make-list):
16449 * calendar/cal-china.el (calendar-chinese-date-string):
16450 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16451 (diary-hebrew-yahrzeit):
16452 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16453 * calendar/calendar.el (calendar-generate-window):
16454 * calendar/time-date.el (time-to-days):
16455 Remove unused local variables.
16456
16a43933
CY
164572011-04-18 Chong Yidong <cyd@stupidchicken.com>
16458
16459 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16460 glyphless-char-display table.
16461 (tabulated-list-glyphless-char-display): New var.
16462
7eed1860
SS
164632011-04-18 Sam Steingold <sds@gnu.org>
16464
16465 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16466 to acknowledgments.
16467
4d2d1ccd
GM
164682011-04-17 Glenn Morris <rgm@gnu.org>
16469
16470 * calendar/diary-lib.el (diary-sexp-entry):
16471 * calendar/holidays.el (holiday-sexp):
16472 Set debug-on-error rather than the removed stack-trace-on-error.
16473
239da61d
GM
164742011-04-16 Glenn Morris <rgm@gnu.org>
16475
16476 * progmodes/f90.el: Use lexical-binding.
16477 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16478
8b05752a
SM
164792011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16480
daca8ba5
SM
16481 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16482 (mail-mode): Setup mailalias completion here instead.
16483 * mail/mailalias.el: Use lexical-binding.
16484 (pattern, mailalias-done): Declare dynamic.
16485 (mail-completion-at-point-function): New function, from mail-complete.
16486 (mail-complete): Use it.
16487 (mail-completion-expand): New function.
16488 (mail-get-names): Use it.
16489 (mail-directory, mail-directory-process, mail-directory-stream):
16490 Don't use `pattern' for lexically bound arg.
16491
6f542485
SM
16492 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16493
037e7c3f
SM
16494 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16495 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16496 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16497
8b05752a
SM
16498 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16499 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16500 (byte-interactive-p): Define them again, for use when inlining
16501 old code.
16502
49093f60
JB
165032011-04-15 Juanma Barranquero <lekktu@gmail.com>
16504
16505 * loadup.el: Use `string-to-number', not `string-to-int'.
16506
b5b8e7de
SM
165072011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16508
16509 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16510 gud-gdb-complete-command.
16511 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16512 (gud-gdb-completion-at-point): New function.
16513 (gud-gdb-completions): Remove.
16514
f42efeb5
MA
165152011-04-14 Michael Albinus <michael.albinus@gmx.de>
16516
49093f60
JB
16517 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16518 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16519 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16520 whether `executable-find' is bound.
f42efeb5
MA
16521
16522 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16523
e240cc21
SM
165242011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16525
16526 * minibuffer.el (completion-in-region-mode-predicate)
16527 (completion-in-region-mode--predicate): New vars.
16528 (completion-in-region, completion-in-region--postch)
16529 (completion-in-region-mode): Use them.
16530 (completion--capf-wrapper): Also return the hook function.
16531 (completion-at-point, completion-help-at-point):
16532 Adjust and provide a predicate.
c2bd2ab0
SM
16533
16534 Preserve arg names for advice of subr and lexical functions (bug#8457).
16535 * help-fns.el (help-function-arglist): Consolidate the subr and
16536 new-byte-code cases. Add argument `preserve-names' to extract names
16537 from the docstring when needed.
16538 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16539 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16540 (ad-arglist): Use help-function-arglist's new arg.
16541 (ad-definition-type): Use cond.
16542
c183f693
JB
165432011-04-13 Juanma Barranquero <lekktu@gmail.com>
16544
06641a47
JB
16545 * autorevert.el (auto-revert-handler):
16546 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16547 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16548 Don't quote lambda.
16549
c183f693
JB
16550 * image-mode.el (image-transform-set-scale):
16551 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16552
1e3b6001
G
165532011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16554
16555 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16556 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16557 Upgrades via gnutls-cli are too slow to be done opportunistically.
16558
2d6af8dd
JB
165592011-04-12 Juanma Barranquero <lekktu@gmail.com>
16560
16561 * dframe.el (dframe-current-frame): Remove spurious quote.
16562
c0749a51
GM
165632011-04-12 Glenn Morris <rgm@gnu.org>
16564
088d0d61
GM
16565 * calendar/cal-tex.el (cal-tex-end-document):
16566 Try to automatically use latin1 input if needed.
16567
c0749a51
GM
16568 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16569 Don't try to cons a mark onto an empty element.
16570
5c90fde0
LL
165712011-04-11 Leo Liu <sdl.web@gmail.com>
16572
16573 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16574 buffers.
16575 (ido-kill-buffer-at-head): Support killing virtual buffers.
16576
369e974d
CY
165772011-04-10 Chong Yidong <cyd@stupidchicken.com>
16578
16579 * minibuffer.el (completion-show-inline-help): New var.
16580 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16581 (minibuffer-force-complete, minibuffer-complete-word):
16582 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16583
16584 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16585 to avoid interference from inline help (Bug#5849).
16586
37f1c930
LL
165872011-04-10 Leo Liu <sdl.web@gmail.com>
16588
099c39a4
JB
16589 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16590 Fix typo.
37f1c930 16591
a32d4040
CY
165922011-04-09 Chong Yidong <cyd@stupidchicken.com>
16593
16594 * image-mode.el (image-toggle-display-image): Signal an error if
16595 not in Image mode.
16596 (image-transform-mode, image-transform-resize)
16597 (image-transform-set-rotation): Doc fix.
daca8ba5 16598 (image-transform-set-resize): Delete.
a32d4040
CY
16599 (image-transform-set-scale, image-transform-fit-to-height)
16600 (image-transform-fit-to-width): Handle image-toggle-display-image
16601 and image-transform-resize directly.
16602
099c39a4 166032011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16604
16605 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16606 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16607 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16608 (doc-view-mode-map): Add bindings for the new functions.
16609
099c39a4 166102011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16611
4d61f28d 16612 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16613 Fix typo in docstring.
16614
3726838a
EZ
166152011-04-08 Eli Zaretskii <eliz@gnu.org>
16616
04f33f1e
EZ
16617 * files.el (file-size-human-readable): Produce one digit after
16618 decimal, like "ls -lh" does.
16619
16620 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16621 the file size representation.
16622
3726838a
EZ
16623 * simple.el (list-processes): If async subprocesses are not
16624 available, error out with a clear error message.
16625
cbb59342
CY
166262011-04-08 Chong Yidong <cyd@stupidchicken.com>
16627
16628 * help.el (help-form-show): New function, to be called from C.
16629 Put help-form output in a buffer named differently than *Help*.
16630
e3971c44
EZ
166312011-04-08 Eli Zaretskii <eliz@gnu.org>
16632
16633 * files.el (file-size-human-readable): New function.
16634
16635 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16636 computing the representation inline. Don't require `cl'.
16637
12544bbe
GM
166382011-04-08 Glenn Morris <rgm@gnu.org>
16639
a1de6c6a
GM
16640 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16641
3c4671f4
GM
16642 * net/browse-url.el (browse-url-firefox):
16643 Test system-type, not system-configuration.
16644
b605679c
GM
16645 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16646 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16647 Use log-edit-empty-buffer-p. (Bug#7598)
16648
56442f0c
GM
16649 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16650 (rlogin-mode-map): Initialize in the defvar.
16651 (rlogin): Use ignore-errors.
16652
12544bbe
GM
16653 * replace.el (occur-mode-map): Some fixes for menu items.
16654
eb237b0f
AH
166552011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16656
16657 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16658
7d668f2c
CY
166592011-04-06 Chong Yidong <cyd@stupidchicken.com>
16660
e67a13ab
CY
16661 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16662 issuing unused warnings.
16663
16664 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16665 macro directly.
16666
7d668f2c
CY
16667 * simple.el: Lisp reimplement of list-processes. Based on an
16668 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16669 (process-menu-mode): New major mode.
16670 (list-processes--refresh, list-processes):
16671 (process-menu-visit-buffer): New functions.
16672
16673 * files.el (save-buffers-kill-emacs): Don't assume any return
16674 value of list-processes, which is undocumented anyway.
16675
a83ec3c9
CY
166762011-04-06 Chong Yidong <cyd@stupidchicken.com>
16677
16678 * emacs-lisp/tabulated-list.el: New file.
16679
e91a96fe
CY
16680 * emacs-lisp/package.el: Use Tabulated List mode.
16681 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16682 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16683 table format using Tabulated List mode variables.
16684 (package--push): New macro, replacing package-list-maybe-add.
16685 (package-menu--generate): Use package--push. Renamed from
16686 package--generate-package-list.
16687 (package-menu-refresh, list-packages): Use it.
daca8ba5 16688 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16689 Return insertion data instead of inserting it directly.
099c39a4
JB
16690 (package-menu-describe-package, package-menu-execute):
16691 Use tabulated-list-get-id.
e91a96fe
CY
16692 (package-menu-mark-delete, package-menu-mark-install)
16693 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16694 (package-menu-mark-obsolete-for-deletion):
16695 Use tabulated-list-put-tag.
e91a96fe
CY
16696 (package--list-packages, package-menu-revert)
16697 (package-menu-get-package, package-menu-get-version)
16698 (package-menu-sort-by-column): Functions deleted.
16699 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16700 (package-menu--status-predicate, package-menu--version-predicate)
16701 (package-menu--name-predicate)
16702 (package-menu--description-predicate): Handle arguments in the
16703 Tabulated List format.
16704 (package-list-packages-no-fetch): Call list-packages.
16705
3e214b50
JB
167062011-04-06 Juanma Barranquero <lekktu@gmail.com>
16707
16708 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16709 (after-find-file): Don't bind it.
3e214b50
JB
16710 (revert-buffer-in-progress-p): New variable.
16711 (revert-buffer): Bind it.
16712 Pass nil for `after-find-file-from-revert-buffer'.
16713
16714 * saveplace.el (save-place-find-file-hook): Use new variable
16715 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16716
3f0f1700
GM
167172011-04-06 Glenn Morris <rgm@gnu.org>
16718
c0274801
GM
16719 * Makefile.in (AUTOGEN_VCS): New variable.
16720 (autoloads): Use $AUTOGEN_VCS.
16721
3f0f1700
GM
16722 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16723 * calendar/calendar.el (calendar-mode-map):
16724 Check for toolkit scroll bars. (Bug#8305)
16725
41ea9e48
CY
167262011-04-05 Chong Yidong <cyd@stupidchicken.com>
16727
16728 * minibuffer.el (completion-in-region--postch)
16729 (completion-in-region-mode): Remove unnecessary messages.
16730
6194c800
JB
167312011-04-05 Juanma Barranquero <lekktu@gmail.com>
16732
33256f14
JB
16733 * font-lock.el (font-lock-refresh-defaults):
16734 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16735 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16736
6194c800
JB
16737 * info.el (Info-directory-list, Info-read-node-name-2)
16738 (Info-split-parameter-string): Doc fixes.
16739 (Info-virtual-nodes): Reflow docstring.
16740 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16741 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16742 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16743 Fix typos in docstrings.
16744 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16745 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16746 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16747 (Info-restore-desktop-buffer): Mark unused parameters.
16748 (Info-directory-find-file, Info-directory-find-node)
16749 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16750 (Info-virtual-index-find-node, Info-apropos-find-file)
16751 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16752 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16753 (Info-virtual-index): Remove unused local variable `nodename'.
16754
b87a8200 167552011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16756
b87a8200
DD
16757 * net/rcirc.el: Update my e-mail address.
16758 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16759
3b2ff876
CY
167602011-04-05 Chong Yidong <cyd@stupidchicken.com>
16761
16762 * startup.el (command-line): Save the cursor's theme-face
16763 directly, instead of using face-override-spec.
16764
16765 * custom.el (load-theme): Minor optimization in assigning faces.
16766
8d17e7ca
JB
167672011-04-04 Juanma Barranquero <lekktu@gmail.com>
16768
16769 * help-fns.el (describe-variable): Complete all variables having
16770 documentation, including keywords.
16771 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16772
2fbc1934
JB
167732011-04-04 Juanma Barranquero <lekktu@gmail.com>
16774
16775 Convert to lexical-binding.
16776
16777 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16778 (bs--get-marked-string, bs--get-modified-string)
16779 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16780 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16781 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16782
16783 * ehelp.el (electric-help-execute-extended)
16784 (electric-help-ctrl-x-prefix):
16785 * hexl.el (hexl-revert-buffer-function):
16786 * linum.el (linum-after-change, linum-after-scroll):
16787 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16788
16789 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16790
74f50695
DU
167912011-04-04 Daiki Ueno <ueno@unixuser.org>
16792
16793 * epa-dired.el:
16794 * epa-mail.el:
16795 * epa-hook.el:
16796 * epa-file.el:
16797 * epa.el:
16798 * epg.el: Use lexical binding.
16799
c11325f7
CY
168002011-04-03 Chong Yidong <cyd@stupidchicken.com>
16801
0d9e9a12
CY
16802 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16803
c11325f7 16804 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16805 dictionary case for flyspell-mark-duplications-exceptions.
16806 Use regexp matching for languages.
c11325f7
CY
16807 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16808 default dictionary (Bug#7926).
16809
da91b5f2
CY
168102011-04-02 Chong Yidong <cyd@stupidchicken.com>
16811
099c39a4
JB
16812 * emacs-lisp/package.el (package--with-work-buffer):
16813 Recognize https URLs.
da91b5f2 16814
099c39a4
JB
16815 * net/network-stream.el: Move from gnus/proto-stream.el.
16816 Change prefix to network-stream throughout.
da91b5f2
CY
16817 (open-protocol-stream): Merge into open-network-stream, leaving
16818 open-protocol-stream as an alias. Handle nil BUFFER args.
16819
16820 * subr.el (open-network-stream): Move to net/network-stream.el.
16821
afa8e9f6
GM
168222011-04-02 Glenn Morris <rgm@gnu.org>
16823
1d2e369d
GM
16824 * find-dired.el (find-exec-terminator): New option.
16825 (find-ls-option): Test for -ls support.
16826 (find-ls-subdir-switches): Test for -b in find-ls-option.
16827 (find-dired, find-grep-dired): Doc fixes.
16828 (find-dired): Use find-exec-terminator.
16829
8abb7da8 16830 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16831 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16832 (find-name-arg): Remove purecopy.
8abb7da8 16833
f3ca7378
GM
16834 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16835 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16836 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16837 accordingly. Don't add the null-device if not needed.
16838
afa8e9f6
GM
16839 * files.el (save-some-buffers): Doc fix.
16840
35eae264
EZ
168412011-04-02 Eli Zaretskii <eliz@gnu.org>
16842
16843 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16844
26b51db5
JB
168452011-04-01 Juanma Barranquero <lekktu@gmail.com>
16846
16847 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16848 Use `dolist' rather than `mapcar'.
16849
7200d79c
SM
168502011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16851
03408648 16852 Add lexical binding.
7200d79c 16853
03408648
SM
16854 * subr.el (apply-partially): Use new closures rather than CL.
16855 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16856 (dolist, dotimes): Use slightly different expansion for lexical code.
16857 (functionp): Move to C.
16858 (letrec): New macro.
16859 (with-wrapper-hook): Use it and apply-partially instead of CL.
16860 (eval-after-load): Preserve lexical-binding.
16861 (save-window-excursion, with-output-to-temp-buffer): Turn them
16862 into macros.
7200d79c 16863
03408648
SM
16864 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16865
16866 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16867 than the arglist.
16868 (help-add-fundoc-usage): Don't add `Not documented'.
16869 (help-function-arglist): Handle closures, subroutines, and new
16870 byte-code-functions.
16871 (help-make-usage): Remove leading underscores.
16872 (describe-function-1): Handle closures.
16873 (describe-variable): Use special-variable-p for completion.
16874
16875 * files.el (lexical-binding): Declare safe.
f488fb65 16876
03408648
SM
16877 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16878 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16879 (pcase): Add `let' pattern.
16880 Change memoization so it actually works.
16881 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16882 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16883 <let>: New case.
f488fb65 16884
03408648
SM
16885 * emacs-lisp/macroexp.el: Use lexical binding.
16886 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16887 Don't convert ' to #' without checking that it's indeed quoting
16888 a lambda.
16889
16890 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16891 Use eval-sexp-add-defvars.
03408648
SM
16892 (eval-sexp-add-defvars): New fun.
16893
16894 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16895
16896 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16897 Don't autoload.
16898 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16899 than the internal `byte-compile-lambda'.
16900 (defmethod): Don't hide code under quotes.
16901 (eieio-defmethod): New `code' argument.
16902
16903 * emacs-lisp/eieio-comp.el: Remove.
16904
16905 * emacs-lisp/edebug.el (edebug-eval-defun)
16906 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16907 (edebug-toggle): Avoid `eval'.
16908
16909 * emacs-lisp/disass.el (disassemble-internal): Handle new
16910 `closure' objects.
16911 (disassemble-1): Handle new byte codes.
16912
16913 * emacs-lisp/cl.el (pushnew): Silence warning.
16914
16915 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16916 (cl-byte-compile-throw): Remove.
16917 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16918
16919 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16920 closures.
16921
16922 * emacs-lisp/cconv.el: New file.
16923
16924 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16925 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16926 (byte-compile-initial-macro-environment):
16927 Handle declare-function here.
16928 (byte-compile--lexical-environment): New var.
16929 (byte-stack-ref, byte-stack-set, byte-discardN)
16930 (byte-discardN-preserve-tos): New lap codes.
16931 (byte-interactive-p): Don't use any more.
16932 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16933 New macros.
16934 (byte-compile-lapcode): Use them and handle new lap codes.
16935 (byte-compile-obsolete): Remove.
16936 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16937 (byte-compile-arglist-warn): Check late def of inlinable funs.
16938 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16939 since they should have been expanded by now.
16940 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16941 (byte-compile-from-buffer): Remove unused second arg.
16942 (byte-compile-preprocess): New function.
16943 (byte-compile-toplevel-file-form): New function to distinguish
16944 file-form calls from outside from file-form calls from hunk-handlers.
16945 (byte-compile-file-form): Simplify.
16946 (byte-compile-file-form-defsubst): Remove.
16947 (byte-compile-file-form-defmumble): Simplify now that
16948 byte-compile-lambda always returns a byte-code-function.
16949 (byte-compile): Preprocess.
16950 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16951 Remove, not used any more.
16952 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16953 (byte-compile-make-args-desc): New funs.
16954 (byte-compile-lambda): Handle lexical functions. Always return
16955 a byte-code-function.
16956 (byte-compile-reserved-constants): New var, to make up room for
16957 closed-over variables.
16958 (byte-compile-constants-vector): Obey it.
16959 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16960 (byte-compile-macroexpand-declare-function): New function.
16961 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16962 byte-code-functions.
16963 (byte-compile-form): Check obsolescence here.
16964 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16965 (byte-compile-variable-ref): Remove.
16966 (byte-compile-dynamic-variable-op): New fun.
16967 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16968 (byte-compile-variable-set): New funs.
16969 (byte-compile-discard): Add 2 args.
16970 (byte-compile-stack-ref, byte-compile-stack-set)
16971 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16972 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16973 macroexpand-all instead.
16974 (byte-compile-quote-form): Remove.
16975 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16976 (byte-compile-bind, byte-compile-unbind): New funs.
16977 (byte-compile-let): Handle let* and lexical binding.
16978 (byte-compile-let*): Remove.
16979 (byte-compile-catch, byte-compile-unwind-protect)
16980 (byte-compile-track-mouse, byte-compile-condition-case):
16981 Handle a new :fun-body form, used for lexical scoping.
16982 (byte-compile-save-window-excursion)
16983 (byte-compile-with-output-to-temp-buffer): Remove.
16984 (byte-compile-defun): Simplify.
16985 (byte-compile-stack-adjustment): New fun.
16986 (byte-compile-out): Use it.
16987 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16988
16989 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16990 handler any more.
16991
16992 * emacs-lisp/byte-opt.el: Use lexical binding.
16993 (byte-inline-lapcode): Remove (to bytecomp).
16994 (byte-compile-inline-expand): Pay attention to inlining to/from
16995 lexically bound code.
16996 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16997 any more.
16998 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16999 any more and don't call compiler-macros.
17000 (byte-compile-splice-in-already-compiled-code): Remove.
17001 (byte-code): Don't inline any more.
17002 (disassemble-offset): Receive `bytes' as argument rather than via
17003 dynamic scoping.
17004 (byte-compile-tag-number): Declare before first use.
17005 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
17006 `return' even if make-spliceable.
17007 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
17008 obsolete interactive-p.
17009 (byte-optimize-lapcode): Optimize new lap-codes.
17010 Don't trip up on new form of `byte-constant' lap code.
17011
17012 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
17013
17014 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
17015
17016 * custom.el (custom-initialize-default, custom-declare-variable):
17017 Use `defvar'.
17018
17019 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
17020 New variables.
17021 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
17022 (COMPILE_FIRST): Add macroexp and cconv.
17023 * makefile.w32-in: Mirror changes in Makefile.in.
17024
17025 * vc/cvs-status.el:
17026 * vc/diff-mode.el:
17027 * vc/log-edit.el:
17028 * vc/log-view.el:
17029 * vc/smerge-mode.el:
17030 * textmodes/bibtex-style.el:
090bd7cb 17031 * textmodes/css-mode.el:
03408648
SM
17032 * startup.el:
17033 * uniquify.el:
da91b5f2
CY
17034 * minibuffer.el:
17035 * newcomment.el:
17036 * reveal.el:
17037 * server.el:
17038 * mpc.el:
17039 * emacs-lisp/smie.el:
17040 * doc-view.el:
17041 * dired.el:
03408648
SM
17042 * abbrev.el: Use lexical binding.
17043
0f0c1f27
EZ
170442011-04-01 Eli Zaretskii <eliz@gnu.org>
17045
17046 * info.el (info-display-manual): New function.
17047
c82b2579
SM
170482011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17049
17050 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17051
221ddf68
TH
170522011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17053
17054 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17055 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17056
cba6e77e
GM
170572011-03-31 Glenn Morris <rgm@gnu.org>
17058
e040639f
GM
17059 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17060
cba6e77e
GM
17061 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17062
6d0f1c9e
CS
170632011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17064
17065 * progmodes/python.el (python-default-interpreter)
17066 (python-python-command-args, python-jython-command-args)
17067 (python-which-shell, python-which-args, python-which-bufname)
17068 (python-file-queue, python-comint-output-filter-function)
17069 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17070 variables and functions.
17071
3e2d70fd
SM
170722011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17073
17074 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17075 (completion-in-region-mode): New minor mode.
17076 (completion-in-region): Use it.
17077 (completion-in-region--data, completion-in-region-mode-map): New vars.
17078 (completion-in-region--postch): New function.
17079 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17080 New vars.
17081 (completion--capf-wrapper): New function.
17082 (completion-at-point): Use it to track well-behavedness of
17083 hook functions.
17084 (completion-help-at-point): New command.
17085
f3e4086c
JM
170862011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17087
17088 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17089 syntax class to search for whitespace on a single line
17090 (Message-ID: <4D938140.4030905@redhat.com>).
17091
eb7ffc14
LL
170922011-03-30 Leo Liu <sdl.web@gmail.com>
17093
17094 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17095 New commands.
17096 (edit-abbrevs-map): Bind them here.
17097 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17098
d806ab68
KM
170992011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17100
17101 * allout.el (allout-hide-by-annotation, allout-flag-region):
17102 Reduce possibility of overlay leakage by making them volatile.
17103
17104 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17105 hash is not shared between buffers. Mode initialization is
17106 responsible for giving it a useful starting value.
17107 (allout-item-span): Reduce possibility of overlay leakage by
17108 making them volatile.
17109 (allout-widgets-count-buttons-in-region): Add diagnostic function
17110 for tracking down button overlay leaks.
17111
ea622834
LL
171122011-03-29 Leo Liu <sdl.web@gmail.com>
17113
17114 * ido.el (ido-read-internal): Use the default history var
17115 minibuffer-history if no HISTORY is specified.
17116
b62f8267
G
171172011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17118
03408648
SM
17119 * net/imap.el (imap-shell-open, imap-process-connection-type):
17120 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17121 Kerberos, SSL, other subprocesses.
17122
947b6566
LL
171232011-03-28 Leo Liu <sdl.web@gmail.com>
17124
17125 * abbrev.el (abbrev-table-empty-p): New function.
17126 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17127 nonempty ones. (Bug#5937)
17128
5ffb62aa
JD
171292011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17130
17131 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17132
7a097943
LL
171332011-03-27 Leo Liu <sdl.web@gmail.com>
17134
17135 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17136 for foreground and background colors.
17137 (ansi-color-make-color-map): Adapt.
17138
c5b40130
LL
171392011-03-25 Leo Liu <sdl.web@gmail.com>
17140
1f48f7d2
LL
17141 * midnight.el (midnight-time-float): Remove. Note it calculates
17142 the microsecond component incorrectly and seconds-to-time does the
17143 same job.
625897ec 17144 Remove redundant (require 'timer).
1f48f7d2 17145
c5b40130
LL
17146 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17147 (ido-completions): Remove unused arguments. (Bug#8329)
17148
d86d2721
SM
171492011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17150
17151 * minibuffer.el (completion--flush-all-sorted-completions):
17152 Remove itself from hook.
17153 (completion-at-point): Let the functions perform the completion
17154 immediately and return nil or t.
17155 * comint.el (comint-dynamic-complete-functions): Now identical to
17156 completion-at-point-functions.
17157 (comint-dynamic-list-input-ring): Remove unused var `index'.
17158 (comint--match-partial-filename, comint--unquote&expand-filename):
17159 New funs, split from comint-match-partial-filename.
17160 (comint-dynamic-complete): Use completion-at-point.
17161 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17162
e8974c48
DA
171632011-03-24 Drew Adams <drew.adams@oracle.com>
17164
17165 * thingatpt.el: Support `defun'.
17166
def71b5e
LL
171672011-03-23 Leo Liu <sdl.web@gmail.com>
17168
cb5af48e
LL
17169 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17170
def71b5e
LL
17171 * help-mode.el (help-mode-finish): Tweak regexp.
17172
927c53e7
GM
171732011-03-23 Glenn Morris <rgm@gnu.org>
17174
18d05bed
GM
17175 * eshell/esh-opt.el (eshell-eval-using-options):
17176 Do not bind unused local variable `eshell-option-stub'.
17177
927c53e7
GM
17178 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17179
9d0da923
JB
171802011-03-22 Juanma Barranquero <lekktu@gmail.com>
17181
17182 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17183 keymap variable in `with-no-warnings' to avoid a warning when the
17184 keymap has been already `defconst'ed.
17185
4b978a67
LL
171862011-03-22 Leo Liu <sdl.web@gmail.com>
17187
17188 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17189 encode all chars in abbrevs; otherwise use emacs-mule or
17190 utf-8-emacs. (Bug#8308)
17191
5fd62452
JB
171922011-03-22 Juanma Barranquero <lekktu@gmail.com>
17193
0b1596c6
JB
17194 * simple.el (backward-delete-char-untabify):
17195 Avoid warning about using `delete-backward-char'.
17196
5fd62452
JB
17197 * image.el (image-type-file-name-regexps): Make it variable.
17198 `imagemagick-register-types' modifies it, and the user may want
17199 to add new extensions for known image types.
17200 (imagemagick-register-types): Throw error if not using ImageMagick.
17201
0b4e93f1
LL
172022011-03-22 Leo Liu <sdl.web@gmail.com>
17203
17204 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17205 located before rcirc-prompt-end-marker.
17206 (rcirc-complete): Error if point is not after rcirc prompt.
17207 Handle the case when table is nil.
9882e214 17208 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17209
fccee4ab
CY
172102011-03-22 Chong Yidong <cyd@stupidchicken.com>
17211
17212 * custom.el (custom--inhibit-theme-enable): Make it affect only
17213 custom-theme-set-variables and custom-theme-set-faces.
17214 (provide-theme): Ignore custom--inhibit-theme-enable.
17215 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17216 (custom-enabling-themes): Delete variable.
d86d2721
SM
17217 (enable-theme): Accept only loaded themes as arguments.
17218 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17219 (custom-enabled-themes): Forbid themes from setting this.
17220 Eliminate use of custom-enabling-themes.
17221 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17222
af896da6
LL
172232011-03-21 Leo Liu <sdl.web@gmail.com>
17224
17225 * ido.el (ido-read-internal): Add ido-selected to history instead
17226 of user input.
17227
78f64af0
SM
172282011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17229
17230 * subr.el (deferred-action-list, deferred-action-function):
17231 Mark obsolete.
17232
b16ac1ec
LL
172332011-03-21 Leo Liu <sdl.web@gmail.com>
17234
810f7698
LL
17235 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17236 change on 2011-02-13 (bug#8309).
17237
b16ac1ec
LL
17238 * minibuffer.el (read-file-name-function): Change default value.
17239 (read-file-name--defaults): Rename from read-file-name-defaults.
17240 (read-file-name-default): Rename from read-file-name.
17241 (read-file-name): Call read-file-name-function.
17242
4e05e67e
GM
172432011-03-21 Glenn Morris <rgm@gnu.org>
17244
17245 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17246 Doc fixes.
17247
4359915b
CY
172482011-03-21 Chong Yidong <cyd@stupidchicken.com>
17249
17250 * cus-theme.el: Add missing provide statement.
17251 (customize-create-theme): Extract theme value correctly.
17252 (custom-theme-visit-theme): Autoload.
17253 (customize-create-theme): Prompt before inserting default faces.
17254
1fe275ee
JB
172552011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17256
17257 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17258 units and musical notes.
17259
cd394be1 172602011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17261
17262 * ido.el (ido-read-internal): Use completing-read-default.
17263 (ido-completing-read): Fix compatibility with completing-read.
17264
7d476bde
CO
172652011-03-20 Christian Ohler <ohler@gnu.org>
17266
17267 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17268 (ert-delete-all-tests): Use `called-interactively-p' rather than
17269 `interactive-p'.
17270 (ert--make-xrefs-region): Respect END.
17271
fe0fb33e
CY
172722011-03-19 Chong Yidong <cyd@stupidchicken.com>
17273
ff854b0b
CY
17274 * dired-aux.el (dired-create-directory): Signal an error if the
17275 directory already exists (Bug#8246).
17276
fe0fb33e
CY
17277 * facemenu.el (list-colors-display): Call list-faces-display
17278 inside with-help-window.
17279 (list-colors-print): Use display property to align the final
17280 column, instead of checking window-width.
17281
576bce32
EZ
172822011-03-19 Eli Zaretskii <eliz@gnu.org>
17283
4d61f28d 17284 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17285 windows-nt systems.
17286 (emerge-protect-metachars): Quote correctly for ms-dos and
17287 windows-nt systems.
17288
89c41d68 172892011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17290
17291 * info.el (info-initialize): Replace all uses of `:' with
17292 path-separator for compatibility with non-Unix systems.
17293 Cache quoting of path-separator. (Bug#8258)
17294
b14e3e21 172952011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17296
17297 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17298 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17299 (mouse-avoidance-mode): Fix typos in docstrings.
17300
4525ce3e
CY
173012011-03-19 Chong Yidong <cyd@stupidchicken.com>
17302
17303 * startup.el (package-subdirectory-regexp): Move from package.el.
17304 Omit \\` and \\', and let callers add them.
17305
17306 * emacs-lisp/package.el (package-strip-version)
17307 (package-load-all-descriptors): Add \\` and \\' to
17308 package-subdirectory-regexp before using it.
17309 (package-untar-buffer): New arg DIR; ensure that file untars only
17310 into this expected directory. Remove superfluous delete-region.
17311 (package-unpack): Caller changed.
17312 (package-tar-file-info): Use package-subdirectory-regexp.
17313
a904a09a 173142011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17315
a904a09a
SM
17316 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17317 diff-mode-shared-map (bug#8284).
17318 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17319
173202011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17321
17322 * calendar/time-date.el (format-seconds): Use assoc instead of
17323 assoc-string, since assoc-string doesn't exist in XEmacs.
17324
171fc304
JB
173252011-03-17 Juanma Barranquero <lekktu@gmail.com>
17326
17327 * custom.el (custom-known-themes): Reflow docstring.
17328 (custom-theme-load-path): Fix typo in docstring.
17329 (load-theme): Fix typo in error message.
17330 (custom-available-themes, custom-variable-theme-value):
17331 Use `let', not `let*'.
17332
d71990a1
JB
173332011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17334
17335 * calc/README: Mention inclusion of musical notes.
17336
17337 * calc/calc-units.el (calc-lu-quant): Rename from
17338 `calc-logunits-quantity'.
17339 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17340 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17341 (calc-db): Rename from `calc-dblevel'.
17342 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17343 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17344 (calc-np): Rename from `calc-nplevel'.
17345 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17346 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17347 (calc-lu-plus): Rename from `calc-logunits-add'.
17348 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17349 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17350 (calc-lu-minus): Rename from `calc-logunits-sub'.
17351 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17352 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17353 (calc-lu-times): Rename from `calc-logunits-mul'.
17354 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17355 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17356 (calc-lu-divide): Rename from `calc-logunits-div'.
17357 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17358 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17359
17360 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17361 functions being autoloaded.
17362
17363 * calc/calc.el (calc-lu-power-reference): Rename from
17364 `calc-logunits-power-reference'.
17365 (calc-lu-field-reference): Rename from
17366 `calc-logunits-field-reference'.
17367
7a71b18d
GM
17368 * calc/calc-help.el (calc-l-prefix-help):
17369 Mention musical note functions.
d71990a1 17370
40c2934b
SM
173712011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17372
17373 * minibuffer.el (completion-all-sorted-completions):
17374 Use :completion-cycle-penalty text property if present.
17375
b0911414
KM
173762011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17377
17378 * allout.el (allout-yank-processing): Adjust for new rebulleting
17379 regime so bullet being yanked is used without prompting the user
17380 for a choice.
17381
8a05b668
JB
173822011-03-16 Juanma Barranquero <lekktu@gmail.com>
17383
17384 * startup.el (command-line): Warn the user that _emacs is deprecated.
17385
5ba5fb81
JB
173862011-03-16 Juanma Barranquero <lekktu@gmail.com>
17387
17388 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17389 (delphi-verbose, delphi-comment-face, delphi-string-face)
17390 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17391 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17392 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17393 (delphi-new-comment-line, delphi-font-lock-defaults)
17394 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17395 Fix typos in docstrings.
17396
2dab465b
KM
173972011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17398
5ba5fb81 17399 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17400 Invert the roles of character and string values for INSTEAD, so a
17401 string is used for the more common case of a defaulting prompt.
17402
0adf5618
SM
174032011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17404
17405 * progmodes/ruby-mode.el (ruby-backward-sexp):
17406 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17407 * play/gamegrid.el (gamegrid-make-face):
17408 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17409 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17410 * notifications.el (notifications-notify):
17411 * net/xesam.el (xesam-search-engines):
17412 * net/quickurl.el (quickurl-list-insert):
17413 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17414
d72700e5
CY
174152011-03-15 Chong Yidong <cyd@stupidchicken.com>
17416
17417 * startup.el (command-line): Update package subdirectory regexp.
17418
49c5410a
SM
174192011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17420
c6eee9aa
SM
17421 * allout.el (allout-abbreviate-flattened-numbering)
17422 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17423
49c5410a
SM
17424 * subr.el (read-char-choice): Only show the cursor after the prompt,
17425 not after the answer.
17426
047b2bb9
KR
174272011-03-15 Kevin Ryde <user42@zip.com.au>
17428
17429 * help-fns.el (variable-at-point): Skip leading quotes, if any
17430 (bug#8253).
17431
0a57d256
SM
174322011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17433
17434 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17435 warning message.
17436
77c992bc
MA
174372011-03-14 Michael Albinus <michael.albinus@gmx.de>
17438
17439 * shell.el (shell): When called interactively, offer to change the
17440 shell file name on remote hosts.
17441
eebc475d
TZ
174422011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17443
17444 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17445 integration for LDAP parameters. The host, base, user or binddn,
17446 and secret tokens can be specified in a netrc file, for instance.
17447 This is optional because an `auth-source' parameter must be
17448 specified in the search attributes.
17449
9d05d1ba
JB
174502011-03-13 Juanma Barranquero <lekktu@gmail.com>
17451
17452 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17453
09d9db2c
GM
174542011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17455
17456 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17457 into declaration. Remove redundant and harmful binding.
17458
174592011-03-12 Eli Zaretskii <eliz@gnu.org>
17460
17461 * files.el (file-ownership-preserved-p): Pass `integer' as an
17462 explicit 2nd argument to `file-attributes'. If the file's owner
17463 is the Administrators group on Windows, and the current user is
17464 Administrator, consider that a match.
17465
17466 * server.el (server-ensure-safe-dir): Consider server directory
17467 safe on MS-Windows if its owner is the Administrators group while
17468 the current Emacs user is Administrator. Use `=' to compare
17469 numerical UIDs, since they could be integers or floats.
17470
219bd536
JB
174712011-03-12 Juanma Barranquero <lekktu@gmail.com>
17472
17473 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17474
f3afd36b
MA
174752011-03-12 Michael Albinus <michael.albinus@gmx.de>
17476
17477 Sync with Tramp 2.2.1.
17478
17479 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17480
17481 * net/trampver.el: Update release number.
17482
3aaaa6f1
SM
174832011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17484
94642599
SM
17485 * progmodes/compile.el (compilation--previous-directory): Fix up
17486 various nil/dead-marker mismatches (bug#8014).
17487 (compilation-directory-properties, compilation-error-properties):
17488 Don't call it at a position past the one we're about to change.
17489
3aaaa6f1
SM
17490 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17491 Disable obsolescence warnings in the file that declares it.
17492
14239447
KM
174932011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17494
099c39a4
JB
17495 * allout-widgets.el (allout-widgets-tally):
17496 Initialize allout-widgets-tally as a hash table rather than nil to
17497 prevent mode-line redisplay warnings. Also, clarify the module
17498 description and fix a comment typo.
14239447 17499
135e287c
JB
175002011-03-11 Juanma Barranquero <lekktu@gmail.com>
17501
17502 * help-fns.el (describe-variable): Don't complete keywords.
17503 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17504
ffbf300e
CY
175052011-03-10 Chong Yidong <cyd@stupidchicken.com>
17506
ba08b241
CY
17507 * emacs-lisp/package.el (package-version-join): Impose a standard
17508 string representation for pre/alpha/beta version lists.
17509 (package-unpack-single): Standardize the directory name by passing
17510 it through package-version-join.
17511 (package-strip-rcs-id): Accept any version string that does not
17512 signal an error in version-to-list.
ffbf300e 17513
f346fd6b
MA
175142011-03-10 Michael Albinus <michael.albinus@gmx.de>
17515
17516 * simple.el (delete-trailing-whitespace): Return nil for the
17517 benefit of `write-file-functions'.
17518
ccb55d27
GM
175192011-03-10 Glenn Morris <rgm@gnu.org>
17520
5ceaac0c
GM
17521 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17522
02da65ff
GM
17523 * vc/vc-git.el (vc-git-program): New option.
17524 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17525 (vc-git--call): Use it.
17526
b2f603cc
GM
17527 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17528
5772caab
GM
17529 * cus-edit.el (Custom-newline): If no button at point, look
17530 for a subgroup button at start-of-line. (Bug#2298)
17531
ccb55d27
GM
17532 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17533
ec6ecaed
JD
175342011-03-10 Julien Danjou <julien@danjou.info>
17535
17536 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17537 `cursor-type' is nil.
17538
9d5aa01d
JB
175392011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17540
17541 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17542
b6a5875b
KM
175432011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17544
7a71b18d 17545 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17546 preserves the existing header prefix, rebulleting it if necessary,
17547 rather than replacing it. This is necessary for proper operation
17548 of cooperative addons like allout-widgets.
1154d12e
JB
17549 (allout-make-topic-prefix, allout-rebullet-heading):
17550 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17551 value as alternate bullet to be used, instead of prompting the user
17552 for a bullet character.
b6a5875b 17553
ee545c35
MA
175542011-03-09 Michael Albinus <michael.albinus@gmx.de>
17555
d86d2721
SM
17556 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17557 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17558 `tramp-default-port'.
17559
c47971d7
DD
175602011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17561
17562 * net/rcirc.el (rcirc-handler-001): Remove useless
17563 with-rcirc-process-buffer.
17564 (rcirc-check-auth-status): Swap arguments to string-match.
17565
13522cb4
GM
175662011-03-09 Glenn Morris <rgm@gnu.org>
17567
0be6f4f1
GM
17568 * shell.el (shell-mode):
17569 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17570
13522cb4
GM
17571 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17572 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17573
515de2e3
CY
175742011-03-08 Chong Yidong <cyd@stupidchicken.com>
17575
17576 * emacs-lisp/package.el (package-refresh-contents)
17577 (package-menu-execute): Use condition-case-no-debug.
17578
b511b994
MA
175792011-03-08 Michael Albinus <michael.albinus@gmx.de>
17580
17581 * simple.el (shell-command-to-string): Use `process-file'.
17582
17583 * emacs-lisp/package.el (package-tar-file-info): Handle also
17584 remote files.
17585
d86d2721
SM
17586 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17587 Use `equal' for upload base check.
b511b994 17588
25bbfb31
AM
175892011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17590
17591 * textmodes/texinfo.el (texinfo-environments):
17592 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17593
be996521
GM
175942011-03-08 Glenn Morris <rgm@gnu.org>
17595
e9c8529f
GM
17596 * cus-start.el (cursor-in-non-selected-windows):
17597 Fix :set quoting oddness. (Bug#8192)
17598
be996521
GM
17599 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17600 in some setf expressions. (Bug#2159)
17601
2bb5649e
CY
176022011-03-08 Chong Yidong <cyd@stupidchicken.com>
17603
17604 * custom.el (custom-available-themes): Return themes in
17605 alphabetical order.
17606
33383987 17607See ChangeLog.15 for earlier changes.
e3d51b27
MR
17608
17609;; Local Variables:
17610;; coding: utf-8
e3d51b27
MR
17611;; End:
17612
acaf905b 17613 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17614
17615 This file is part of GNU Emacs.
17616
17617 GNU Emacs is free software: you can redistribute it and/or modify
17618 it under the terms of the GNU General Public License as published by
17619 the Free Software Foundation, either version 3 of the License, or
17620 (at your option) any later version.
17621
17622 GNU Emacs is distributed in the hope that it will be useful,
17623 but WITHOUT ANY WARRANTY; without even the implied warranty of
17624 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17625 GNU General Public License for more details.
17626
17627 You should have received a copy of the GNU General Public License
17628 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.