* src/keyboard.c (access_keymap_keyremap): Accept anonymous functions.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
e5b19827
AS
12012-08-14 Andreas Schwab <schwab@linux-m68k.org>
2
3 * emacs-lisp/bytecomp.el (byte-recompile-file): When LOAD is
4 non-nil always load the compiled file if it exists. (Bug#12197)
5
a9f6f311
CY
62012-08-14 Chong Yidong <cyd@gnu.org>
7
8 * hi-lock.el (hi-lock-mode): Do not unilaterally enable font lock.
9 (hi-lock-set-pattern): When deciding whether to use font lock or
10 overlays, look at font-lock-mode instead of font-lock-fontified
11 (Bug#12168).
12 (hi-lock-mode, hi-lock-line-face-buffer, hi-lock-unface-buffer)
13 (hi-lock-face-buffer, hi-lock-face-phrase-buffer): Doc fix.
14
7d806b1e
DU
152012-08-14 Daiki Ueno <ueno@unixuser.org>
16
17 * subr.el (internal--after-with-selected-window): Fix typo
18 (Bug#12193).
19
5beed586
FEG
202012-08-14 Fabián Ezequiel Gallina <fgallina@cuca>
21
22 Use `completion-table-dynamic' for completion functions.
23 * progmodes/python.el
24 (python-shell-completion--do-completion-at-point)
25 (python-shell-completion--get-completions): Remove
26 functions.
27 (python-shell-completion-complete-at-point): New function.
28 (python-completion-complete-at-point): Use it.
29
92cb3b04
J
302012-08-13 Jambunathan K <kjambunathan@gmail.com>
31
32 * vc/vc-dir.el (vc-dir-hide-state): New command (bug#12159).
33 (vc-dir-hide-up-to-date): Route it to `vc-dir-hide-state'.
34
89660017
SM
352012-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
36
3c98c962
SM
37 * subr.el (function-get): Refine `autoload' arg so it can also
38 autoload functions for gv.el (bug#12191).
39 * emacs-lisp/edebug.el (get-edebug-spec): Adjust so it only
40 autoloads macros.
41
aa7c6dbe
SM
42 * color.el (color-xyz-to-lab, color-lab-to-xyz, color-cie-de2000):
43 Prefer pcase-let over destructuring-bind.
44 * vc/diff-mode.el (diff-remove-trailing-whitespace): Same.
45 Also, remove whitespace as we go, rather than after accumulating the
46 various places.
47
89660017
SM
48 * subr.el (internal--before-with-selected-window)
49 (internal--after-with-selected-window): Fix typo seleted->selected.
50 (with-selected-window): Adjust callers.
51 Reported by Dmitry Gutov <dgutov@yandex.ru>.
52
31cd32c9
BG
532012-08-13 Bastien Guerry <bzg@gnu.org>
54
55 * window.el (special-display-popup-frame): Small docstring
56 enhancement. (Bug#12172)
57
1b15d8ad
AS
582012-08-13 Andreas Schwab <schwab@linux-m68k.org>
59
31e54db0
AS
60 * tar-mode.el (tar-header-data-end): Only ignore size for files of
61 type 1-6.
62 (tar-header-block-summarize, tar-get-descriptor): Handle pax
63 extended headers.
64
1b15d8ad
AS
65 * files.el (hack-local-variables-filter): Remove useless eval.
66
35cb9c06
MR
672012-08-13 Martin Rudalics <rudalics@gmx.at>
68
69 * subr.el (with-selected-window): Fix last change.
70
1439443b
SM
712012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
72
73 * subr.el (internal--before-with-seleted-window)
74 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
75 (with-selected-window): Use them, to replace dependency on
76 tty-top-frame.
1439443b 77
0d9e2599
NN
782012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
79
80 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
81 binding for `newline'.
82 (ruby-move-to-block): When moving backward, stop at block opening,
83 not indentation.
84 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
85 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
86 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
87 `ruby-toggle-block'.
88
ba10c48c
SM
892012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
90
91 * ibuffer.el (ibuffer-do-toggle-read-only):
92 * dired.el (dired-toggle-read-only):
93 * buff-menu.el (Buffer-menu-toggle-read-only):
94 * bindings.el (mode-line-toggle-read-only):
95 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
96
9229c658
AS
972012-08-12 Andreas Schwab <schwab@linux-m68k.org>
98
99 * descr-text.el (describe-char): Put the overlays over the
100 "displayed as" character.
101
0fd09128
JB
1022012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
103
104 * calc/calc-units.el (math-default-units-table): Give an
105 initial value.
106 (math-put-default-units): Add options to put composite units and
107 unit systems in the default units table.
108 (calc-convert-units): Send composite units to
109 `math-put-default-units' when appropriate.
110
9ff9402d 1112012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 112
fbb5e336
GM
113 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
114
7aacaf15
GM
115 * tutorial.el (help-with-tutorial):
116 * emacs-lisp/copyright.el (copyright-update-directory):
117 * emacs-lisp/autoload.el (autoload-find-generated-file)
118 (autoload-find-file): Disable local eval: (for insurance).
119
f40b9f10
GM
120 * files.el (hack-local-variables-filter): If an eval: form is not
121 known to be safe, and enable-local-variables is :safe, then ignore
122 the form totally, as is done for non-eval forms. (Bug#12155)
123
daa9f1a6
SM
1242012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
125
126 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
127 (rx-form): Simplify.
128
9cd80478
DG
1292012-08-09 Dmitry Gutov <dgutov@yandex.ru>
130
0d9e2599
NN
131 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
132 ?, _, and : are symbol constituents, ! is not (but kinda should be).
133 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
134 (ruby-syntax-propertize-function): Adjust for changes in
135 `ruby-syntax-propertize-heredoc'.
136
1372012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
138
9cd80478
DG
139 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
140 binding (use `M-;' instead).
9cd80478 141 (ruby-singleton-class-p): New function.
0d9e2599 142 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 143
d301b413
SM
1442012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
145
146 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
147
1530c98e
CY
1482012-08-10 Chong Yidong <cyd@gnu.org>
149
150 * progmodes/python.el (python-shell-get-process-name): Don't mess
151 with same-window-buffer-names.
152
153 * eshell/eshell.el (eshell-add-to-window-buffer-names)
154 (eshell-remove-from-window-buffer-names): Make obsolete.
155 (eshell-buffer-name, eshell-unload-hook): Don't use them.
156 (eshell): Just use pop-to-buffer-same-window instead.
157
e1293765
CY
1582012-08-10 Chong Yidong <cyd@gnu.org>
159
160 * bindings.el: Bind M-= back to count-words-region.
161
162 * simple.el (count-words-region): Accept a prefix arg for acting
163 on the entire buffer.
164 (count-words--buffer-message): New helper function.
165
e1894109
SM
1662012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
167
168 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
169 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
170 (event-start, event-end): Use posn-at-point to return a more
171 informative posn.
172 (posnp): New function.
173 * mouse.el (popup-menu-normalize-position): Use it.
174
c69f56a2
MY
1752012-08-10 Masatake YAMATO <yamato@redhat.com>
176
177 * mouse.el (popup-menu-normalize-position): New function.
178 (popup-menu): Use `popup-menu-normalize-position' to normalize
179 the form for POSITION argument.
180
181 * term/x-win.el (x-menu-bar-open):
182 Use the value returend from (posn-at-point) as position
183 passed to `popup-menu'.
184
31673780
JB
1852012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
186
187 * calc/calccomp.el (math-compose-expr): Add extra argument
188 indicating that parentheses should be put around products in
189 denominators. Give multiplication precedence over division during
190 composition.
191
dab7711b
CY
1922012-08-09 Chong Yidong <cyd@gnu.org>
193
dee4ef93
CY
194 * man.el (Man-switches, Man-sed-command, Man-awk-command)
195 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
196 (Man-untabify-command, manual-program): Convert to defcustom
197 (Bug#10429).
198
73e2bbc5
CY
199 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
200
3e861c8a
CY
201 * descr-text.el (describe-char): Don't insert extra newlines
202 (Bug#10127).
203
a9f5a649
CY
204 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
205 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
206
dab7711b
CY
207 * align.el (align-region): Delete temporary markers (Bug#10047).
208 Plus some code cleanups.
209
e0cc4efa
FEG
2102012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
211
212 * progmodes/python.el (python-pdbtrack-tracked-buffer)
213 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
214 (python-shell-internal-last-output): Use make-local-variable
215 instead of make-variable-buffer-local.
216
489af14f
FEG
2172012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
218
219 * progmodes/python.el: Enhancements to forward-sexp.
220 (python-nav-forward-sexp): Rename from
221 python-nav-forward-sexp-function.
c69f56a2
MY
222 (python-nav--forward-sexp, python-nav--backward-sexp):
223 New functions.
489af14f 224
0fc50303
JB
2252012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
226
227 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
228 modes and simplification modes.
229
5d65606a
SM
2302012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
231
232 * delsel.el (delete-selection-pre-hook): Don't propagate the
233 file-supersession signals (bug#12161).
234
4250fdf5
SM
2352012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
236
237 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
238 (cl-map-extents): Add compatibility aliases (bug#12135).
239
d9f9b465
MA
2402012-08-08 Michael Albinus <michael.albinus@gmx.de>
241
242 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
243 tests by `ignore-error'.
244 (tramp-find-shell): Open also a new shell, when cache is already
245 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
246
ce0fcefa
JL
2472012-08-08 Juri Linkov <juri@jurta.org>
248
249 * bookmark.el: Add `defaults' property to the bookmark record.
250 (bookmark-current-buffer): Doc fix.
251 (bookmark-make-record): Add `defaults' property with default values
252 to the bookmark record.
253 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
254 with `bookmark-insert-current-bookmark'.
255 (bookmark-set): Get `defaults' property from the bookmark record
256 and use it in `read-from-minibuffer'.
257 (bookmark-insert-current-bookmark): Remove function.
258
259 * info.el (Info-bookmark-make-record): Add `defaults' property
260 with values of canonical Info node name, the current Info file
261 name and the current Info node name. (Bug#12107)
262
53fa8652
JL
2632012-08-08 Juri Linkov <juri@jurta.org>
264
265 * files.el (basic-save-buffer): Use `buffer-name' as the default
266 of `read-file-name' when buffer is not visiting a file (bug#12128).
267
242c0a95
JL
2682012-08-08 Juri Linkov <juri@jurta.org>
269
270 * info.el (Info-isearch-search): Doc fix.
271 (Info-search): Change search-failed message from "initial node" to
272 "end of node" (bug#12078).
273 (Info-isearch-search): Change `isearch-string-state' to
274 `isearch--state-string'.
275
32ac3a6b
GM
2762012-08-08 Glenn Morris <rgm@gnu.org>
277
278 * language/persian.el: Remove file.
f8c1afd5 279 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
280 * loadup.el: Remove language/persian.
281
2c2d9c9c
OF
2822012-08-08 Óscar Fuentes <ofv@wanadoo.es>
283
284 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
285
2d79ec42
FEG
2862012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
287
288 * progmodes/python.el Fixed defsubst warning.
289 (python-syntax-context) Rename from python-info-ppss-context.
290 (python-syntax-context-type): Rename from
291 python-info-ppss-context-type.
292 (python-syntax-comment-or-string-p): Rename from
293 python-info-ppss-comment-or-string-p.
294
2bd255dd
JB
2952012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
296
297 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
298
c395097f
AS
2992012-08-07 Andreas Schwab <schwab@linux-m68k.org>
300
6125983e
AS
301 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
302 a defcustom that is quoted with backquote.
303
4250fdf5
SM
304 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
305 Fix handling of interactive spec when the body uses return.
651eaf36
AS
306 (math-do-arg-check, math-define-function-body): Use backquote forms.
307 * calc/calc-ext.el (math-defcache): Likewise.
308 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
309 * allout.el (allout-new-exposure): Likewise.
310 * calc/calcalg2.el (math-tracing-integral): Likewise.
311 * info.el (Info-last-menu-item): Likewise.
312 * emulation/vip.el (vip-loop): Likewise.
313 * textmodes/artist.el (artist-funcall): Likewise.
314 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
315 Construct menu-item directly.
316
4250fdf5
SM
317 * progmodes/autoconf.el (font-lock-syntactic-keywords):
318 Don't declare.
c395097f 319
5fb50dd3
CY
3202012-08-07 Chong Yidong <cyd@gnu.org>
321
322 * simple.el (deactivate-mark): Preserve text properties when
323 saving the primary selection (Bug#8384).
324
54eea618
KR
3252012-08-07 Kevin Ryde <user42@zip.com.au>
326
327 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
328 (woman-parse-numeric-value): On a bad .IP line, issue a warning
329 and continue processing (Bug#12110).
330
638eaeb9
SM
3312012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
332
333 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
334 syntax-propertize-function (bug#10095).
335
ea376861
SM
3362012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
337
f91b35be
SM
338 * help-fns.el (help-fns--key-bindings, help-fns--signature)
339 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
340 describe-function-1.
341 (describe-function-1): Use them. Move compiler macro after sig.
342 (help-fns--compiler-macro): Use function-get. Assume we're already in
343 standard-output. Adjust layout to new call order.
344
ea376861
SM
345 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
346 re-binding a symbol that has a symbol-macro (bug#12119).
347
d5be7bd0
MB
3482012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
349
350 * language/persian.el: New file. (Bug#11812)
351 * loadup.el: Add language/persian.el.
352
90749b53
CY
3532012-08-06 Chong Yidong <cyd@gnu.org>
354
355 * window.el (window--maybe-raise-frame): New function.
356 (window--display-buffer): Split off from here.
357 (display-buffer-reuse-window, display-buffer-pop-up-frame)
358 (display-buffer-pop-up-window, display-buffer-use-some-window):
359 Obey an inhibit-switch-frame action alist entry.
360 (display-buffer): Update doc.
361
362 * replace.el (occur-after-change-function): Avoid losing focus by
363 using the inhibit-switch-frame display parameter (Bug#12139).
364
ba7b0154
FEG
3652012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
366
367 Make internal shell process buffer names start with space.
368 * progmodes/python.el (python-shell-make-comint): Add optional
369 argument INTERNAL.
370 (run-python-internal): Use it.
371 (python-shell-internal-get-or-create-process): Check for new
372 internal buffer names.
373
5eaeacb5
GM
3742012-08-06 Glenn Morris <rgm@gnu.org>
375
e296d94b 376 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
377 Do less getting and setting of environment variables.
378
b7ccbdc2
CY
3792012-08-05 Chong Yidong <cyd@gnu.org>
380
777fe95e
CY
381 * proced.el (proced): Add substitution string to docstring to
382 trigger autoloading of the proced library on C-h f (Bug#1768).
383
4250fdf5
SM
384 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
385 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
386
387 * imenu.el (imenu-generic-expression): Move documentation here
388 from imenu--generic-function.
389 (imenu--generic-function): Refer to imenu-generic-expression.
390
9e3b7800 3912012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
392
393 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
394 indentation declaration.
395 (viper-loop): Add indentation declaration (Bug#7025).
396
e5d9c0d1
CY
3972012-08-05 Chong Yidong <cyd@gnu.org>
398
f0422feb
CY
399 * help-fns.el (describe-variable): Add hyperlink for
400 directory-local variables files. Improve buffer-local and
401 permanent-local reporting; suggested by MON KEY (Bug#6644).
402
403 * help-mode.el (help-dir-local-var-def): New button type.
404
e5d9c0d1
CY
405 * files.el (kill-buffer-hook): Provide a defvar.
406
a4f2deaa
GM
4072012-08-05 Glenn Morris <rgm@gnu.org>
408
409 * eshell/esh-ext.el (eshell/addpath):
410 Also update eshell-path-env. (Bug#12013)
411
a9dd5754
CY
4122012-08-05 Chong Yidong <cyd@gnu.org>
413
a4f2deaa 414 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 415
d014c740
CY
416 * fringe.el (fringe-styles): Add docstring.
417 (fringe--check-mode): New function.
418 (set-fringe-mode, set-fringe-style): Use it.
419 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
420
a9dd5754
CY
421 * files.el (set-auto-mode): Fix invalid setq call.
422
7c2dc8bd
SM
4232012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
424
425 * isearch.el: Misc simplification; use defstruct.
426 (isearch-mode-map): Dense maps now work like sparse ones.
427 (isearch--state): New defstruct.
428 (isearch-string-state, isearch-message-state, isearch-point-state)
429 (isearch-success-state, isearch-forward-state)
430 (isearch-other-end-state, isearch-word-state, isearch-error-state)
431 (isearch-wrapped-state, isearch-barrier-state)
432 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
433 replaced by defstruct's accessors.
434 (isearch--set-state): Rename from isearch-top-state and change
435 calling convention.
436 (isearch-push-state): Use new isearch--get-state.
437 (isearch-toggle-word): Disable regexp when enabling word.
438 (isearch-message-prefix): Remove unused arg _c-q-hack.
439 (isearch-message-suffix): Remove unused arg _ellipsis.
440
7fcc0070
AS
4412012-08-04 Andreas Schwab <schwab@linux-m68k.org>
442
443 * simple.el (list-processes--refresh): For a server use :host or
444 :local as the address.
97ad0769 445 (list-processes): Doc fix.
7fcc0070 446
00340faf
MN
4472012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
448
449 * lisp/mpc.el: Support password in host argument.
450 (mpc--proc-connect): Parse and use new password element.
451 Set mpc-proc variable instead of returning process.
452 (mpc-proc): Adjust accordingly.
453
6dad7178
EZ
4542012-08-03 Eli Zaretskii <eliz@gnu.org>
455
18949c2f
EZ
456 * whitespace.el (whitespace-display-mappings): Use Unicode
457 codepoints, instead of emacs-mule codepoints. See
458 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
459 for the details.
460
6dad7178
EZ
461 * files.el (file-truename): Don't skip symlink-chasing part on
462 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
463 Windows into the loop that recursively chases symlinks.
464 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
465 MS-DOS.
466
385b0198
CY
4672012-08-03 Chong Yidong <cyd@gnu.org>
468
6200f3c4
CY
469 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
470
385b0198
CY
471 * sort.el (sort-regexp-fields): Doc fix.
472
b9e74744
TH
4732012-08-03 Tassilo Horn <tsdh@gnu.org>
474
475 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
476 labels regex position point at the expected place.
477
41013cb4
MK
4782012-08-03 MON KEY <monkey@sandpframing.com>
479
480 * net/imap.el (imap-interactive-login, imap-authenticate)
481 (imap-mailbox-lsub, imap-mailbox-list)
482 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
483 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
484 (imap-parse-response): Doc fix.
485
0ffee616
JT
4862012-08-03 João Távora <joaotavora@gmail.com>
487
488 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
489 if sexp scanning does not move point (Bug#5734).
490
cfcc9cc8
TH
4912012-08-02 Tassilo Horn <tsdh@gnu.org>
492
493 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
494 Add listings, minted, and ctable packages.
495 (reftex-label-alist-builtin): Move listings, minted, and ctable
496 entries before LaTeX.
a01bbb84 497 (reftex-label-alist): Docfix.
cfcc9cc8 498
66ec2442
BG
4992012-08-02 Bastien Guerry <bzg@gnu.org>
500
501 * replace.el (occur): Fix docstring (bug#12122).
502
837b365b
GM
5032012-08-02 Glenn Morris <rgm@gnu.org>
504
505 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
506
e098de97
PE
5072012-08-02 Paul Eggert <eggert@cs.ucla.edu>
508
509 Obsolete alias inactivate-current-input-method-function (Bug#10150).
510 * international/mule-cmds.el: Create
511 inactivate-current-input-method-function as an obsolete alias for
512 deactivate-current-input-method-function. See Katsumi Yamaoka in
513 <http://bugs.gnu.org/10150#46>.
514
a0f95636
JB
5152012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
516
517 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
518 of nested `if's.
519
0d26d7c4
GM
5202012-08-01 Glenn Morris <rgm@gnu.org>
521
522 * progmodes/autoconf.el (autoconf-definition-regexp):
523 Add AH_TEMPLATE, adjust submatch numbering.
524 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
525 (autoconf-current-defun-function): Update for above change.
526 (autoconf-current-defun-function): First skip to end of current word.
527
b686ba06
RS
5282012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
529
530 * calendar/cal-html.el (cal-html-insert-agenda-days):
531 Fix typo. (Bug#12018)
532
0d49da68
FEG
5332012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
534
535 Shell processes: enhancements to startup and CEDET compatibility.
536 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
537 (python-shell-make-comint): accept-process-output at startup.
538 (run-python-internal): Set inferior-python-mode-hook to nil.
539 (python-shell-internal-get-or-create-process): call sit-for.
540 (python-preoutput-result): Add obsolete alias.
541 (python-shell-internal-send-string): Use it.
542 (python-shell-send-setup-code): Remove call to
543 accept-process-output.
544
f1a71c6e
AS
5452012-07-31 Andreas Schwab <schwab@linux-m68k.org>
546
547 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
548 (Bug#12108)
549
d2605269
JB
5502012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
551
552 * calc-mode.el (calc-basic-simplification-mode): Rename from
553 `calc-limited-simplification-mode'.
554 (calc-alg-simplification-mode): New function.
d66060f8 555 (calc-set-simplify-mode): Adjust message.
f1a71c6e 556
d2605269
JB
557 * calc.el (calc-set-mode-line): Adjust mode line display for
558 basic simplification mode.
559
560 * calc-help.el (calc-m-prefix-help): Update help message.
561
562 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
563 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
564
a3827a43
BG
5652012-07-31 Bastien Guerry <bzg@gnu.org>
566
567 * man.el (man): Fix comment. (bug#12101)
568
502e3f89
MR
5692012-07-31 Martin Rudalics <rudalics@gmx.at>
570
571 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
572 Don't return a non-nil value when no suitable buffer was found.
573
d7714961
FEG
5742012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
575
576 * progmodes/python.el (run-python-internal): Disable font lock for
577 internal shells.
578
1f45e27e
SM
5792012-07-30 Stefan Merten <smerten@oekonux.de>
580
581 * rst.el: Silence `checkdoc-ispell'.
582 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
583 (rst-official-version, rst-official-cvs-rev)
584 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
585 (rst-mode-map): New key binding.
586
0aee6912
PE
5872012-07-30 Paul Eggert <eggert@cs.ucla.edu>
588
589 Update .PHONY listings in makefiles.
590 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
591 autoloads, update-subdirs, updates, bzr-update, update-authors,
592 compile-onefile, compile-calc, backup-compiled-files,
593 compile-after-backup, compile-one-process, mh-autoloads,
594 bootstrap-clean, distclean, maintainer-clean.
595
9052f9f0
JB
5962012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
597
1823ac5a
JB
598 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
599 (calc-set-mode-line): Don't display "AlgSimp ".
600
601 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
602 (calc-lim-simplify-mode): New function.
603 (calc-set-simplify-mode): Default to 'alg.
604 (calc-default-simplify-mode): Make algebraic simplifications
605 the default.
606
607 * calc/calc-ext.el (calc-init-extensions): Remove binding for
608 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
609
8d7c7eed 610 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
611 indicate new simplification modes.
612
1823ac5a
JB
613 * calc/README: Mention new default simplification mode.
614
9052f9f0
JB
615 * calc/calc.el (math-normalize-error): New variable.
616 (math-normalize): Set `math-normalize-error' to t
617 when there's an error.
618
619 * calc/calc-alg.el (math-simplify): Don't simplify when
620 `math-normalize' returns an error.
621
20ba0cb4
EZ
6222012-07-29 Eli Zaretskii <eliz@gnu.org>
623
624 * international/mule-cmds.el (set-locale-environment): Revert last
625 change, since display-graphic-p returns nil when this function is
626 called during startup. Instead...
627
628 * term/w32console.el (terminal-init-w32console): ...setup the
629 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
630
a5dcc929
JL
6312012-07-29 Juri Linkov <juri@jurta.org>
632
633 * simple.el (goto-line): Don't display default line number in the
634 prompt because it should be displayed by `read-number' (bug#9952).
635 Add the current line number to the defaults of `goto-line' to
636 allow its easier modification by users with `M-n' (bug#9201).
637
638 * subr.el (read-number): Support multiple default values like in
639 other minibuffer reading functions. Replace `read' with
640 `string-to-number' for consistency with `number-to-string'.
641
72b255c7
PE
6422012-07-29 Paul Eggert <eggert@cs.ucla.edu>
643
644 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
645 * emulation/viper-init.el (viper-deactivate-input-method-action):
646 Rename from viper-inactivate-input-method-action.
647 (viper-deactivate-input-method):
648 Rename from viper-inactivate-input-method.
649 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
650 * international/mule-cmds.el (deactivate-input-method):
651 Rename from inactivate-input-method.
652 Also run input-method-deactivate-hook.
653 (deactivate-current-input-method-function):
654 Rename from inactivate-current-input-method-function.
655 (input-method-deactivate-hook): New hook.
656 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
657 (inactivate-input-method): Mark obsolete.
658
72b255c7
PE
659 * international/quail.el (quail-activate):
660 Also run quail-deactivate-hook.
661 (quail-deactivate): Rename from quail-inactivate.
662 * international/robin.el (robin-activate):
663 Also run robin-deactivate-hook.
664 (robin-deactivate): Rename from robin-inactivate.
665
2549c068
CY
6662012-07-29 Chong Yidong <cyd@gnu.org>
667
668 * simple.el (indicate-copied-region): New function.
669 (kill-ring-save): Split off from here.
670
671 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
672 (kill-rectangle): Set deactivate-mark to t on read-only error.
673
674 * register.el (copy-to-register, copy-rectangle-to-register):
675 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
676 (append-to-register, prepend-to-register):
677 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
678
679 * simple.el (async-shell-command-buffer): New defcustom.
680 (shell-command): Use it. (Bug#4719)
681
01bd1b0d
EZ
6822012-07-28 Eli Zaretskii <eliz@gnu.org>
683
684 * international/mule-cmds.el (set-locale-environment): In a
685 console session on MS-Windows, set up keyboard and terminal
686 encoding from the OEM codepage, not the ANSI codepage.
687 (Bug#12055)
688
a55739d3
CY
6892012-07-28 Chong Yidong <cyd@gnu.org>
690
691 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
692 gdb-get-location.
693
0e1a094f 6942012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
695
696 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
697 the alist (bug#12029).
698
20329d73
EZ
6992012-07-28 Eli Zaretskii <eliz@gnu.org>
700
701 * makefile.w32-in (custom-deps, finder-data, updates, compile)
702 (compile-always, compile-first)
703 ($(lisp)/calendar/cal-loaddefs.el)
704 ($(lisp)/calendar/diary-loaddefs.el)
705 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
706 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
707 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
708 instead of on update-subdirs.
709 (bootstrap-clean): Delete $(lisp)/subdirs.el.
710
345a2258
CY
7112012-07-28 Chong Yidong <cyd@gnu.org>
712
1eee6341
CY
713 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
714 directory if vc-deduce-backend returns nil (Bug#7350).
715
345a2258
CY
716 * simple.el (delete-trailing-lines): New option.
717 (delete-trailing-whitespace): Obey it (Bug#11879).
718
049a0936
DE
7192012-07-28 David Engster <deng@randomsample.de>
720
721 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
722 Explanation of new 'symbol-qnames feature in doc-strings.
723 (xml-maybe-do-ns): Return expanded names as plain symbols if
724 'symbol-qnames was provided in XML-NS argument (Bug#11916).
725 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
726
aa81af71
FEG
7272012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
728
729 Consistent completion in inferior python with emacs -nw.
730 * progmodes/python.el (inferior-python-mode): replace "<tab>"
731 binding in inferior-python-mode-map with "\t".
732 (python-shell-completion-complete-at-point)
733 (python-completion-complete-at-point): Remove interactive spec.
734
e827b1eb
JB
7352012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
736
737 * calc/calccomp.el (math-compose-expr): Undo previous change.
738
a90dfb95
FEG
7392012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
740
4250fdf5 741 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
742 run-python.
743 (python-shell-make-comint): Fix pop-to-buffer call.
744 (run-python): Autoload. New arg SHOW.
745 (python-shell-get-or-create-process): Do not pop python process
746 buffer.
747
32770973 7482012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
749
750 * notifications.el (notifications-on-action-signal)
751 (notifications-on-closed-signal): Use also the bus address for the map.
752 (notifications-notify, notifications-close-notification)
753 (notifications-get-capabilities): Add optional argument BUS.
754
86332df2
TH
7552012-07-27 Tassilo Horn <tsdh@gnu.org>
756
4250fdf5
SM
757 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
758 Add support for the lstlisting and minted environments, and for the
86332df2
TH
759 ctable macro.
760 * textmodes/reftex.el (reftex-compile-variables): Also recognize
761 labels written in keyvals syntax.
762
ca1302a4
JB
7632012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
764
765 * calc/calccomp.el (math-compose-expr): Use parentheses when
766 there is a product in the denominator of a fraction.
767
f8b91036
EZ
7682012-07-26 Eli Zaretskii <eliz@gnu.org>
769
770 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
771 ($(lisp)/calendar/diary-loaddefs.el)
772 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
773 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
774 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
775 rewritten while the autoload files are built at the same time,
776 which needs to load subdirs.el.
777
c8e5a42c
MR
7782012-07-26 Martin Rudalics <rudalics@gmx.at>
779
780 * mouse.el (popup-menu): Fix doc-string and re-indent code.
781 (mouse-drag-line): Don't exit tracking when a switch-frame or
782 switch-window event occurs (Bug#12006).
783
670d85ea
SM
7842012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * mouse.el (popup-menu): Fix last change.
787
7abaf5cc
SM
7882012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
789
790 Autoload from Lisp with more care. Follow aliases when looking for
791 function properties.
792 * subr.el (autoloadp): New function.
793 (symbol-file): Use it.
794 (function-get): New function.
795 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
796 autoload-do-load.
797 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
798 (lisp-indent-function):
799 * emacs-lisp/gv.el (gv-get):
800 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
801 * emacs-lisp/byte-opt.el (byte-optimize-form):
802 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
803 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
804 Use function-get.
805 * emacs-lisp/cl.el: Don't propagate function properties any more.
806
807 * speedbar.el (speedbar-add-localized-speedbar-support):
808 * emacs-lisp/disass.el (disassemble-internal):
809 * desktop.el (desktop-load-file):
810 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
811 (describe-function-1):
812 * emacs-lisp/find-func.el (find-function-noselect):
813 * emacs-lisp/elp.el (elp-instrument-function):
814 * emacs-lisp/advice.el (ad-has-proper-definition):
815 * apropos.el (apropos-safe-documentation, apropos-macrop):
816 * emacs-lisp/debug.el (debug-on-entry):
817 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
818 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
819 * calc/calc.el (name): Use autoloadp & autoload-do-load.
820
b1364986
AA
8212012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
822
823 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
824 function, not an obsolete variable (Bug#12046).
825
67ada220
AS
8262012-07-25 Andreas Schwab <schwab@linux-m68k.org>
827
828 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
829
f08088e3
CS
8302012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
831
832 * emacs-lisp/pp.el (pp-display-expression): Select old selected
833 window only if it is still live (Bug#12034).
834
8137e7b3
MR
8352012-07-25 Martin Rudalics <rudalics@gmx.at>
836
837 * subr.el (redirect-frame-focus): Add advertised calling
838 convention (Bug#12030).
839
09ae5da1
PE
8402012-07-25 Paul Eggert <eggert@cs.ucla.edu>
841
842 Prefer typical American spelling for "acknowledgment".
843 * vc/add-log.el (change-log-acknowledgment): Rename from
844 change-log-acknowledgement, with an alias for the old name.
845
3cc5a3a8
JB
8462012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
847
848 * calc-alg.el (math-simplify-divide): Don't cross multiply
849 in an equation when the lhs is a variable.
850
b7af7f62
JD
8512012-07-24 Julien Danjou <julien@danjou.info>
852
853 * net/netrc.el (netrc-find-service-number, netrc-store-data):
854 Remove, unused.
855
ec1b09b1
EZ
8562012-07-23 Eli Zaretskii <eliz@gnu.org>
857
858 * startup.el (command-line): Don't display an empty user name in
859 the error message about non-existent home directory, when
860 init-file-user was set to an empty string. See
861 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
862 for the details and context.
863
b525fd8a
VB
8642012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
865
866 * ses.el (ses-cell-formula-aset): New macro.
867 (ses-cell-references-aset): New macro.
868 (ses-cell-p): New function.
869 (ses-rename-cell): Do no longer rely on complex operations like
870 ses-cell-set-formula or ses-set-cell to change the cell and handle
871 the undo at the same time, but rather use lower level new macros
872 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
873 the undo directly. Refresh the mode line.
874
2c73e345
LL
8752012-07-21 Leo Liu <sdl.web@gmail.com>
876
670d85ea
SM
877 * progmodes/cc-cmds.el (c-defun-name):
878 Use match-string-no-properties instead for consistency.
2c73e345 879
542dfbde
LL
8802012-07-20 Leo Liu <sdl.web@gmail.com>
881
3646bcd6
LL
882 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
883 (Bug#7879)
884
542dfbde
LL
885 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
886
25721031
CY
8872012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
888
889 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
890 * progmodes/bug-reference.el, misearch.el: Provide themselves
891 (bug#11915).
892
893 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
894 of narrowed buffer (bug#11966).
895
316e68a7
VB
8962012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
897
898 * ses.el (ses-rename-cell): Set new name also in reference list of
899 cells of which the renamed cell depends.
900
bbf0e7d9
MY
9012012-07-20 Masatake YAMATO <yamato@redhat.com>
902
903 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
904 to check whether menu-bar is shown or not. If not shown,
905 show the menu-bar as a popup menu instead of using tmm.
906 * mouse.el (popup-menu): Accept `point' as `position' argument.
907
c28662a8
DG
9082012-07-20 Dmitry Gutov <dgutov@yandex.ru>
909
910 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
911 up inside string symbol literal (bug#11923).
912
87ab808f
EZ
9132012-07-20 Eli Zaretskii <eliz@gnu.org>
914
915 * startup.el (fancy-startup-text): Read the whole tutorial, not
916 just its first 256 bytes. Prevents gibberish in display of the
917 tutorial title.
918
89dea803
DA
9192012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
920
921 Drop idle buffer compaction due to an absence of the
922 proved efficiency.
923 * compact.el: Remove.
924
8a4e6db8
SS
9252012-07-19 Sam Steingold <sds@gnu.org>
926
927 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
928 vc-bzr-pull & vc-bzr-merge-branch.
929 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
930 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
931 for consistency with compilation-error-regexp-alist.
932 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
933 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
934 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
935 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
936
5db81e33
SM
9372012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
938
939 * emacs-lisp/chart.el: Use lexical-binding.
940 (chart-emacs-storage): Don't hardcode the list of entries.
941
5b835e1d
DA
9422012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
943
944 Next round of tweaks caused by Fgarbage_collect changes.
945 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
946
9cd47b72
DA
9472012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
948
949 Compact buffers when idle.
950 * compact.el: New file.
951
1d6fc0df
SM
9522012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * subr.el (eventp): Presume that if it looks vaguely like an event,
955 it's an event (bug#10190).
956
1d29cc7d
FEG
9572012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
958
959 Enhancements to ppss related code (thanks Stefan).
960 * progmodes/python.el (python-indent-context)
961 (python-indent-calculate-indentation, python-indent-dedent-line)
962 (python-indent-electric-colon, python-nav-forward-block)
963 (python-mode-abbrev-table)
1d6fc0df 964 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
965 for ppss context.
966 (python-info-continuation-line-p): Cleanup.
967 (python-info-ppss-context): Do not catch 'quote.
968 (python-info-ppss-context-type)
969 (python-info-ppss-comment-or-string-p): Simplify.
970
d583cbe6
FEG
9712012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
972
973 * progmodes/python.el: Enhancements to eldoc support.
974 (python-info-current-symbol): New function.
975 (python-eldoc-at-point): Use python-info-current-symbol.
976 (python-info-current-defun): Fix cornercase on first defun scan.
977 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
978 and signal error when no inferior python process is available.
979
eceb6feb
DG
9802012-07-18 Dmitry Gutov <dgutov@yandex.ru>
981
982 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
983 assume it's always t.
984 (vc-git-registered): Remove caching, the function is only called
985 once.
986 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
987
4c8ff0fe
CY
9882012-07-18 Chong Yidong <cyd@gnu.org>
989
19fb7186
CY
990 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
991
9587c688
CY
992 * simple.el (count-words): Report on narrowing (Bug#9959).
993
0fe776a1
CY
994 * bindings.el: Bind M-= to count-words.
995
4c8ff0fe
CY
996 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
997
7f5331cc
MY
9982012-07-18 Masatake YAMATO <yamato@redhat.com>
999
1000 * progmodes/sh-script.el (sh-imenu-generic-expression):
1001 Capture a function with `function' keyword and without parentheses
1002 like "function FOO" (bug#11856).
1003
2dc2a609
TH
10042012-07-18 Tassilo Horn <tassilo@member.fsf.org>
1005
1006 * window.el (split-window-sensibly): Make WINDOW argument
1007 optional.
1008
439f7677
CY
10092012-07-18 Chong Yidong <cyd@gnu.org>
1010
9aeb25a6
CY
1011 * subr.el (keyboard-translate): Doc fix (Bug#7261).
1012
439f7677
CY
1013 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
1014 and make C-x 8 RET exit isearch (Bug#11439).
1015
1016 * international/iso-transl.el: Move isearch-mode-map key
1017 definitions to isearch.el.
1018
12999ea8
SM
10192012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
1020
1021 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
1022 (eieio-defclass): Use gv-define-setter when possible.
1023
3ab6e069
DA
10242012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
1025
1026 Reflect recent changes in Fgarbage_collect.
1027 * emacs-lisp/chart.el (chart-emacs-storage): Change to
1028 reflect new format of data returned by Fgarbage_collect.
1029
0a60bc10
FEG
10302012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1031
1032 New utility functions + python-info-ppss-context fix (Bug#11910).
1033 * progmodes/python.el (python-info-beginning-of-block-statement-p)
1034 (python-info-ppss-comment-or-string-p): New functions.
1035 (python-info-ppss-context): Small fix for string check.
1036
6dafa0d5
JL
10372012-07-17 Juri Linkov <juri@jurta.org>
1038
1039 * dired-aux.el (dired-do-async-shell-command): Doc fix.
1040 (dired-do-async-shell-command): Don't add `*' at the end of the
1041 command (Bug#11815).
1042 (dired-do-shell-command): Doc fix.
1043 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
1044 Join the individual commands using either "&" or ";" as the
1045 separator depending on the values of these trailing characters.
1046 At the end re-add the trailing "&". (Bug#10598)
1047
1048 * simple.el (async-shell-command): Sync the interactive spec with
1049 `shell-command'. Doc fix.
1050 (shell-command): Doc fix.
1051
b19dd9d1
JL
10522012-07-17 Juri Linkov <juri@jurta.org>
1053
1054 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1055
bcdc27d7 10562012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1057
bcdc27d7 1058 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1059 * progmodes/python.el (python-nav-beginning-of-statement):
1060 Rename from python-nav-statement-start.
bcdc27d7
FEG
1061 (python-nav-end-of-statement): Rename from
1062 python-nav-statement-end.
1063 (python-nav-beginning-of-block): Rename from
1064 python-nav-block-start.
1065 (python-nav-end-of-block): Rename from python-nav-block-end.
1066
191da00e
FEG
10672012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1068
7f5331cc
MY
1069 * progmodes/python.el (python-shell-send-string-no-output):
1070 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1071 future interactions (Bug#11868).
1072
4dc7c8d5 10732012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1074
88ecaf8f
SM
1075 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1076
ef501ef0
SM
1077 * emacs-lisp/elint.el (elint-find-args-in-code):
1078 Use help-function-arglist, so as to handle lexical byte-code.
1079
aa7aaf8f
SM
1080 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1081 change (bug#11826).
1082
45fd731c
SM
10832012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1084
2143fa32
SM
1085 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1086 Avoid spuriously marking the buffer as modified because of c-is-sws.
1087
efc26dbe
SM
1088 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1089 as not-a-comment (bug#11946).
1090
f5695c9a
SM
1091 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1092 for uninterned vars.
1093
1094 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1095 Use read-event since we don't really want to read chars but bytes.
1096
45fd731c
SM
1097 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1098 $$..$$ but also $..$ using regexps (bug#11953).
1099 Use tex-verbatim for \url and \path.
1100 (tex-font-lock-keywords): Define as defconst like the others.
1101 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1102
ddfc8813
RK
11032012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1104
1105 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1106 alias for insert-char.
1107
758e556a
FEG
11082012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1109
1110 * progmodes/python.el: Simplified imenu implementation.
1111 (python-nav-jump-to-defun): Remove command.
1112 (python-mode-map): Use `imenu' instead.
1113 (python-nav-list-defun-positions-cache)
1114 (python-imenu-include-defun-type, python-imenu-make-tree)
1115 (python-imenu-subtree-root-label, python-imenu-index-alist):
1116 Remove vars.
1117 (python-nav-list-defun-positions, python-nav-read-defun)
1118 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1119 (python-imenu-make-tree, python-imenu-create-index):
1120 Remove functions.
758e556a
FEG
1121 (python-mode): Update to interact with imenu by setting
1122 `imenu-extract-index-name-function' only.
1123
032d23ab
FEG
11242012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1125
1126 * progmodes/python.el: Enhancements to navigation commands.
1127 (python-nav-backward-sentence)
1128 (python-nav-forward-sentence): Remove.
1129 (python-nav-backward-statement, python-nav-forward-statement)
1130 (python-nav-statement-start, python-nav-statement-end)
1131 (python-nav-backward-block, python-nav-forward-block)
1132 (python-nav-block-start, python-nav-block-end)
1133 (python-nav-forward-sexp-function)
1134 (python-info-current-line-comment-p)
1135 (python-info-current-line-empty-p): New functions.
1136 (python-indent-context): Use `python-nav-statement-start'.
1137
01795a1b
MA
11382012-07-16 Michael Albinus <michael.albinus@gmx.de>
1139
9328d9aa
MA
1140 * eshell/em-ls.el (eshell/ls): Use `apply'.
1141
1142 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1143 multi-hops, instead of Tramp internals.
1144
01795a1b
MA
1145 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1146
1147 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1148 when F1 and F2 are located on different hosts.
1149
63408057
CY
11502012-07-14 Chong Yidong <cyd@gnu.org>
1151
1152 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1153 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1154 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1155 (xterm-mouse--read-event-sequence-1000)
1156 (xterm-mouse--read-event-sequence-1006): New functions. For old
1157 mouse protocol, handle M-mouse-X events correctly.
1158 (xterm-mouse-event): New arg specifying mouse protocol.
1159 (turn-on-xterm-mouse-tracking-on-terminal)
1160 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1161 sequence to toggle extended coordinates on newer XTerms.
1162 This appears to be harmless on terminals which do not support this.
63408057 1163
cd276f6e
LL
11642012-07-14 Leo Liu <sdl.web@gmail.com>
1165
28ca98ac
LL
1166 Add fringe bitmap indicators for flymake. (Bug#11253)
1167 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1168 (flymake-make-overlay): New arg BITMAP.
1169 (flymake-error-bitmap, flymake-warning-bitmap)
1170 (flymake-fringe-indicator-position): New user variables.
1171
cd276f6e
LL
1172 * fringe.el: New bitmap exclamation-mark.
1173
04408072
JD
11742012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1175
1176 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1177 also (Bug#7879).
1178
b5cf7fc4
CY
11792012-07-14 Chong Yidong <cyd@gnu.org>
1180
1181 * electric.el (electric-pair-post-self-insert-function): Fix pair
1182 insertion in empty-region case (Bug#11520).
1183
be755c79
RT
11842012-07-14 Chong Yidong <cyd@gnu.org>
1185
45fd731c
SM
1186 * bindings.el: Consolidate ctl-x-r-map bindings.
1187 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1188
1189 * rect.el, register.el: Move bindings to bindings.el.
1190
11912012-07-14 Reuben Thomas <rrt@sc3d.org>
1192
1193 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1194
7f5b3198
AS
11952012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1196
1197 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1198
97662200
JB
11992012-07-13 Juanma Barranquero <lekktu@gmail.com>
1200
80185fed
JB
1201 * bindings.el (top): Use `mapc' instead of `mapcar'.
1202
97662200
JB
1203 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1204
2bb1ae55
MA
12052012-07-13 Michael Albinus <michael.albinus@gmx.de>
1206
1207 * progmodes/sql.el (sql-comint): Suppress the check for program on
1208 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1209 (Bug#11908)
1210
dea31bd3
CY
12112012-07-13 Chong Yidong <cyd@gnu.org>
1212
1213 * bindings.el: Assign a non-nil permanent-local property to
1214 per-buffer variables which lack a default value (Bug#11930).
1215
1216 * help-fns.el (describe-variable): In the "automatically becomes
1217 local" notice, take note of permanent-local variables.
1218
b68b3337
CY
12192012-07-13 Chong Yidong <cyd@gnu.org>
1220
1221 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1222 to allow printing the message when called from Lisp.
1223
1224 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1225 Remove toggle-read-only.
1226
1227 * bs.el (bs-toggle-readonly):
45fd731c
SM
1228 * buff-menu.el (Buffer-menu-toggle-read-only):
1229 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1230
1231 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1232 Remove with-no-warnings around toggle-read-only.
1233 (ffap-read-only, ffap-read-only-other-window)
1234 (ffap-read-only-other-frame): Callers changed.
1235
1236 * help-mode.el: Don't require view package.
1237 (help-mode-finish): Set buffer-read-only instead of calling
1238 toggle-read-only.
1239
1240 * bindings.el (mode-line-toggle-read-only):
1241 * dired.el (dired-toggle-read-only):
1242 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1243 with non-nil second arg.
1244
1245 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1246 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1247 directly.
1248
56bc1586
EZ
12492012-07-12 Eli Zaretskii <eliz@gnu.org>
1250
1251 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1252 not incf.
1253
a464a6c7
SM
12542012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1255
1256 More CL cleanups and reduction of use of cl.el.
1257 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1258 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1259 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1260 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1261 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1262 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1263 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1264 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1265 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1266 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1267 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1268 * eshell/em-cmpl.el, eshell/em-banner.el:
1269 * calendar/parse-time.el: Use cl-lib.
1270 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1271 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1272 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1273 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1274 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1275 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1276 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1277 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1278 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1279 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1280 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1281 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1282 `lambda' rather than with `quote'.
1283 (eshell-do-opt): Adjust accordingly.
1284 (eshell-process-option): Simplify.
1285 * eshell/esh-var.el:
1286 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1287 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1288 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1289 to `pcase--dontcare'.
1290 * emacs-lisp/cl.el (labels): Mark obsolete.
1291 (cl--letf, letf): Move to cl-lib.
1292 (cl--letf*, letf*): Remove.
1293 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1294 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1295 (cl-progv): Rewrite.
1296 (cl--letf, cl-letf): Move from cl.el.
1297 (cl-letf*): New macro.
1298 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1299
7ad4afe1
MA
13002012-07-11 Michael Albinus <michael.albinus@gmx.de>
1301
1302 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1303
9af57756
CY
13042012-07-11 Chong Yidong <cyd@gnu.org>
1305
1306 * vc/log-edit.el (log-edit-vc-backend): New variable.
1307 (log-edit): Doc fix.
1308
1309 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1310 argument of log-edit to set up all local variables.
1311 (vc-start-logentry): New optional arg specifying VC backend.
1312
1313 * vc/vc.el (vc-checkin): Use it.
1314 (vc-deduce-fileset): Handle Log Edit buffers.
1315 (vc-diff): Make first argument optional too.
1316
1317 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1318
8477cc7a
MA
13192012-07-10 Michael Albinus <michael.albinus@gmx.de>
1320
1321 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1322 command, just in case. The function is not needed anymore.
1323 (eshell-external-command): Do not call `eshell-remote-command'.
1324
19faa8e8
SM
13252012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1326
f58e0fd5
SM
1327 Reduce use of (require 'cl).
1328 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1329 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1330 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1331 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1332 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1333 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1334 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1335 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1336 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1337 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1338 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1339 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1340 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1341 (byte-compile-unfold-bcf, byte-compile-check-variable):
1342 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1343 (byte-compile-nilconstp):
1344 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1345 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1346
2519d43a
SM
1347 * emacs-lisp/gv.el (cond): Make it a valid place.
1348 (if): Simplify slightly.
1349
19faa8e8
SM
1350 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1351 (pcase--self-quoting-p): New function.
1352 (pcase--u1): Use it.
1353
c4907a5e
GM
13542012-07-10 Glenn Morris <rgm@gnu.org>
1355
1356 * emacs-lisp/authors.el (authors-fixed-entries):
1357 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1358
c4444d16
PE
13592012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1360
1361 Rename configure.in to configure.ac (Bug#11603).
1362 * emacs-lisp/authors.el (authors-canonical-file-name):
1363 * progmodes/autoconf.el (autoconf-mode):
1364 Prefer configure.ac to configure.in.
1365
d75be97d
CY
13662012-07-08 Chong Yidong <cyd@gnu.org>
1367
01ac65bd
CY
1368 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1369 Implement the mouse-1-click-follows-link handling properly.
1370
1371 * info.el (Info-link-keymap): Use follow-link mechanism for
1372 header-line links (Bug#374).
1373
d75be97d
CY
1374 * simple.el (deactivate-mark): Do not set the primary selection
1375 if another program has acquired it (Bug#11772).
1376
87a92845 13772012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1378
1379 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1380 (woman-decode-region): Replace escaped-escapes without destroying
1381 bold or underline (Bug#11552).
87a92845 1382 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1383
621b9d6c
CY
13842012-07-07 Chong Yidong <cyd@gnu.org>
1385
1386 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1387 (interprogram-cut-function, interprogram-paste-function):
1388 Mention that we typically mean the clipboard.
621b9d6c 1389
133a11fc
GM
13902012-07-06 Glenn Morris <rgm@gnu.org>
1391
0d27a45e
GM
1392 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1393
133a11fc
GM
1394 * files.el (toggle-read-only): Restrict message to interactive use.
1395
07b151f1
MA
13962012-07-06 Michael Albinus <michael.albinus@gmx.de>
1397
1398 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1399
1400 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1401
211b896b
GM
14022012-07-06 Glenn Morris <rgm@gnu.org>
1403
50394322
GM
1404 * Makefile.in (compile-one-process): Rename from "recompile".
1405
211b896b
GM
1406 * Makefile.in (bzr-update): "compile" is the same as "recompile
1407 autoloads", but parallelizable, so use that instead.
1408
4737eec9
DG
14092012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1410
1411 * window.el (quit-window): Always restore window height when
8137e7b3 1412 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1413
226c3633 14142012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1415
1416 * simple.el (kill-whole-line): Doc tweak.
1417
226c3633 14182012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1419
1420 * files.el (file-relative-name): Compare file names
1421 case-insensitively if on MS-Windows or MS-DOS, or if
1422 read-file-name-completion-ignore-case is non-nil. Don't use
1423 case-fold-search for this purpose. (Bug#11827)
1424
4dc7c8d5
SM
14252012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1426
1427 * calendar/cal-dst.el (calendar-current-time-zone):
1428 Return calendar-current-time-zone-cache if non-nil.
1429
14302012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 14312012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1432
19faa8e8
SM
1433 * calendar/cal-dst.el (calendar-current-time-zone):
1434 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1435
60198fc9
GM
14362012-07-06 Glenn Morris <rgm@gnu.org>
1437
1438 * Makefile.in (cvs-update): Remove old alias.
1439
957b3189
MA
14402012-07-05 Michael Albinus <michael.albinus@gmx.de>
1441
1442 Sync with Tramp 2.2.6-pre.
1443
1444 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1445 compatible declaration.
1446
19faa8e8
SM
1447 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1448 Protect `list-load-path-shadows' call.
957b3189
MA
1449
1450 * net/tramp-compat.el (top): Require packages, which aren't
1451 autoloaded anymore for XEmacs. Protect call of
1452 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1453 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1454 it hurts at least for SXEmacs.
1455 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1456 standard-value for `temporary-file-directory'.
1457
1458 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1459 Redirect stderr to /dev/null.
1460 (tramp-sh-handle-write-region): uid and gid can be floats.
1461 Reported by Russell Sim <russell.sim@gmail.com>.
1462 (tramp-sh-handle-vc-registered): Hide errors.
1463 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1464 and `start-file-process'.
1465 (tramp-maybe-open-connection): Check also whether `non-essential'
1466 is bound.
1467
566df3fc
CY
14682012-07-04 Chong Yidong <cyd@gnu.org>
1469
1470 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1471 (xml-parse-tag): Likewise, and avoid changing entity tables.
1472 (xml-syntax-table): Define from scratch, making sure not to give
1473 x2000 and other Unicode spaces whitespace syntax, since those are
1474 not spaces in XML.
1475 (xml-parse-fragment): Delete unused function.
1476 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1477 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1478 (xml-entity-ref, xml-pe-reference-re)
1479 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1480 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1481 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1482 (xml-entity-value-re): Use syntax references in regexps where
1483 possible; no need to define inside a let-binding.
1484 (xml-parse-dtd): Use xml-pe-reference-re.
1485 (xml-entity-or-char-ref-re): New defconst.
1486 (xml-parse-string, xml-substitute-special): Use it.
1487
30eabd7a
SM
14882012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1489
0781098a
SM
1490 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1491 (find-file--read-only): New function.
1492 (find-file-read-only, find-file-read-only-other-window)
1493 (find-file-read-only-other-frame): Use it.
1494 (insert-file-contents-literally): Don't `fset'.
1495 (get-free-disk-space): Use locate-dominating-file.
1496
b5771c0d
SM
1497 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1498 function is already compiled.
1499
30eabd7a
SM
1500 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1501
b4886f6e
MA
15022012-07-03 Michael Albinus <michael.albinus@gmx.de>
1503
1504 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1505 files on the same host.
1506
b9d82339
AS
15072012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1508
1509 * help-fns.el (describe-function-1): Only call
1510 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1511
a76e6535
CY
15122012-07-03 Chong Yidong <cyd@gnu.org>
1513
1514 * xml.el: Protect parser against XML bombs.
1515 (xml-entity-expansion-limit): New variable.
1516 (xml-parse-string, xml-substitute-special): Use it.
1517 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1518
b544fef2
GM
15192012-07-03 Glenn Morris <rgm@gnu.org>
1520
1521 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1522 Allow linking to specific messages in debbugs reports (eg 123#5).
1523
a7aef6f5
CY
15242012-07-02 Chong Yidong <cyd@gnu.org>
1525
1526 * xml.el: Fix entity and character reference expansion, allowing
1527 them to expand into markup as per XML spec.
1528 (xml-default-ns): New variable.
1529 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1530 (xml-parse-region): Make first two arguments optional.
1531 Discard text properties.
1532 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1533 All callers changed.
a7aef6f5
CY
1534 (xml-parse-tag): Call xml-parse-tag-1. For backward
1535 compatibility, this function should not modify buffer contents.
1536 (xml-parse-tag-1): Fix opening-tag regexp.
1537 (xml-parse-string): Rewrite, handling entity and character
1538 references properly.
1539 (xml--entity-replacement-text): Signal an error if a parameter
1540 entity is undefined.
1541
3df31c9f
SM
15422012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1543
2b5208f1
SM
1544 * comint.el (comint-output-filter): Filter out repeated prompts.
1545
3df31c9f
SM
1546 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1547 and file-name-absolute-p.
1548 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1549 internal calls.
1550
e3ac1281
PE
15512012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1552
1553 Spelling fixes.
1554 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1555 Rename from byte-compile--refiy-function. All uses changed.
1556
fbf2e7ad
CY
15572012-07-01 Chong Yidong <cyd@gnu.org>
1558
1559 * xml.el (xml--parse-buffer): New function. Move most of
1560 xml-parse-region here.
1561 (xml-parse-region): Copy region into a temporary buffer, since
1562 parameter entity substitution requires changing buffer contents.
1563 Use xml--parse-buffer.
1564 (xml-parse-file): Use xml--parse-buffer.
1565 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1566 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1567
9bf0aa15
GM
15682012-06-30 Glenn Morris <rgm@gnu.org>
1569
bbce2853
GM
1570 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1571
9bf0aa15
GM
1572 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1573 Remove outdated and unnecessary dbus declarations.
1574
0d23c240
EZ
15752012-06-30 Eli Zaretskii <eliz@gnu.org>
1576
1577 * emacs-lisp/timer.el (timer-until): Subtract results of
1578 float-time, instead of taking float-time of the result of
1579 time-subtract, since float-time signals an error for negative time
1580 arguments.
1581
b3218de1
CY
15822012-06-30 Chong Yidong <cyd@gnu.org>
1583
1584 * xml.el (xml-*-re): Convert defvars into defconsts, and
1585 eval-and-compile them so eval-and-compile works on derivatives.
1586 (xml--entity-replacement-text): Use eval-and-comple.
1587
a40c87a0
MA
15882012-06-30 Michael Albinus <michael.albinus@gmx.de>
1589
1590 * vc/vc-git.el (vc-git-registered): Use cache property
1591 `git-registered'.
1592 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1593 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1594 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1595
ac87de97
DG
15962012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1597
1598 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1599 removed (likely outside Emacs). (Bug#11757)
ac87de97 1600
ac10fe06
SM
16012012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1602
3df31c9f 1603 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1604
7f3fbd5d
CY
16052012-06-30 Chong Yidong <cyd@gnu.org>
1606
1607 * xml.el: Implement XML parameter entities.
1608 (xml-parameter-entity-alist): New variable.
1609 (xml-parse-region, xml-parse-fragment): Preserve previous values
1610 of xml-entity-alist and xml-parameter-entity-alist, so that
1611 repeated calls on different documents do not change them.
1612 (xml-parse-tag): Fix doctype regexp.
1613 (xml--entity-replacement-text): New function.
1614 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1615 properly requires url retrieval which is unimplemented.
1616 (xml-escape-string): Doc fix.
1617
3cfbebba
SM
16182012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1619
1620 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1621
2af3565e
DA
16222012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1623
1624 * fringe.el (fringe-mode): Doc fix.
1625
929df0e7
MA
16262012-06-29 Michael Albinus <michael.albinus@gmx.de>
1627
1628 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1629 is non-nil.
1630 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1631 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1632
c8d3a25c 16332012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1634
c8d3a25c
GM
1635 * calendar/cal-dst.el (calendar-current-time-zone):
1636 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1637
c8d3a25c 16382012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1639
1640 * progmodes/which-func.el (which-func-format):
1641 Add mouse-face. (Bug#11698)
1642
c8d3a25c
GM
16432012-06-29 Leo Liu <sdl.web@gmail.com>
1644
1645 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1646
16472012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1648
1649 * minibuffer.el (minibuffer-confirm-exit-commands):
1650 Add completion-at-point (bug#11725).
1651
16522012-06-29 Glenn Morris <rgm@gnu.org>
1653
1654 * progmodes/f90.el (f90-font-lock-keywords-2):
1655 Add some preprocessor elements. (Bug#10499)
1656
16572012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1658
1659 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1660 Use syntax-propertize (bug#11739).
1661
2badeec4
JB
16622012-06-28 Juanma Barranquero <lekktu@gmail.com>
1663
1664 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1665
ae4969c2
JD
16662012-06-28 Julien Danjou <julien@danjou.info>
1667
1668 * term.el (term-handle-colors-array): Use a set of new faces to
1669 color the terminal. Also uses :inverse-video property.
1670 (term-default-fg-color): Set to nil by default, deprecate in favor
1671 of `term-face'.
1672 (term-default-bg-color): Set to nil by default, deprecate in favor
1673 of `term-face'.
1674 (term-current-face): Use `term-face' by default.
1675 (term-bold-attribute): Variable deleted.
1676
1c9bd870
GM
16772012-06-28 Glenn Morris <rgm@gnu.org>
1678
1679 * simple.el (completion-list-mode-finish):
1680 Don't use toggle-read-only. (Since completion-list-mode has
1681 a special mode-class, it wasn't doing anything extra anyway.)
1682
c207708c
SM
16832012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1684
1685 Make inlining of other-mode interpreted functions work (bug#11799).
1686 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1687 (byte-compile): Use it to fix compilation of lexical-binding closures.
1688 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1689 function, if needed.
1690
3fd56834
SM
16912012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1692
04901786
SM
1693 * help-mode.el (help-make-xrefs): Don't just withstand
1694 cyclic-variable-indirection but any error in documentation-property.
1695
1ec4b7b2
SM
1696 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1697 memory use.
1698 * bindings.el (bindings--define-key): New function.
1699 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1700 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1701 * bindings.el: Use it to purecopy define-key bindings.
1702
e309e2a5
SM
1703 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1704
d5c6faf9
SM
1705 * emacs-lisp/cl.el (flet): Mark obsolete.
1706 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1707 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1708 * progmodes/js.el (js-c-fill-paragraph):
1709 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1710 (ebrowse-switch-member-buffer-to-derived-class):
1711 * play/5x5.el (5x5-solver): Use cl-flet.
1712
6e9590e2
SM
1713 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1714 (cl--symbol-function): New macro.
1715 (cl--letf, cl--letf*): Use it.
1716
3fd56834
SM
1717 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1718 Strip "toggle-" if any.
1719
35ff222c
GM
17202012-06-27 Glenn Morris <rgm@gnu.org>
1721
1ba6038a
GM
1722 * info.el (Info-default-directory-list): Move here from paths.el.
1723 * paths.el: Remove file, which is now empty.
1724 * loadup.el: No longer load "paths".
1725
0ea0e51b
GM
1726 * custom.el (custom-initialize-delay): Doc fix.
1727
35ff222c
GM
1728 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1729 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1730 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1731 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1732 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1733 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1734 * eshell/eshell.el (eshell-defgroup): Remove alias.
1735
c89926a5
CY
17362012-06-27 Chong Yidong <cyd@gnu.org>
1737
1738 * help.el (help-enable-auto-load): New variable.
1739
1740 * help-fns.el (help-fns--autoloaded-p): New function.
1741 (describe-function-1): Refer to a function as "autoloaded" if it
1742 was autoloaded at any time in the past. Perform autoloading if
1743 help-enable-auto-load is non-nil.
1744
cc06e7e7
EZ
17452012-06-26 Eli Zaretskii <eliz@gnu.org>
1746
1747 * makefile.w32-in (compile, compile-always): Depend on
1748 update-subdirs, not on subdirs.el. Otherwise, several different
1749 sub-targets of 'bootstrap' running in parallel could
1750 simultaneously write to subdirs.el, producing a garbled file.
1751
d2c32364
SS
17522012-06-26 Sam Steingold <sds@gnu.org>
1753
1754 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1755 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1756 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1757 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1758 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1759 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1760 * textmodes/tex-mode.el: Use it.
1761 Did not touch cedet and org because they are maintained elsewhere.
1762
5cf983b2
MR
17632012-06-26 Martin Rudalics <rudalics@gmx.at>
1764
1765 * calendar/calendar.el (calendar-exit): Don't try to delete or
1766 iconify last frame. See:
1767 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1768
8c4f2952
JD
17692012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1770
1771 * server.el (server-process-filter): Remember dir in the
1772 process's `server-client-directory' properties.
1773
772b2e2c
CY
17742012-06-24 Chong Yidong <cyd@gnu.org>
1775
1776 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1777 non-tag text.
1778
711b11e1
JB
17792012-06-23 Juanma Barranquero <lekktu@gmail.com>
1780
1781 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1782
dc5d230c
SM
17832012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1784
1785 * help-fns.el (describe-variable): Don't croak when doc is not found.
1786 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1787 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1788 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1789 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1790 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1791 ((lambda ..) ..).
1792 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1793
136e1c1d
CY
17942012-06-23 Chong Yidong <cyd@gnu.org>
1795
e8c1cabf
CY
1796 * info.el (Info-mouse-follow-link): Accept symbol values of
1797 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1798 (Info-fontify-node): Use Info-link-keymap for all navigation
1799 buttons, with link-args property to perform the desired action.
1800 (Info-link-keymap): Doc fix.
1801 (Info-next-link-keymap, Info-prev-link-keymap)
1802 (Info-up-link-keymap): Delete now-unused keymaps.
1803
0e9e6c6a
CY
18042012-06-23 Chong Yidong <cyd@gnu.org>
1805
05e89fea
CY
1806 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1807
0e9e6c6a
CY
1808 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1809 system abbrevs.
1810
1811 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1812
e33c6771
SM
18132012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1814
b68581e2
SM
1815 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1816 (bug#11719).
1817
e33c6771
SM
1818 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1819 the requote function doesn't work properly (bug#11714).
1820
7117e105
GM
18212012-06-23 Glenn Morris <rgm@gnu.org>
1822
1823 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1824
36cec983
SM
18252012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1826
1827 Further GV/CL cleanups.
1828 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1829 gv-expander.
1830 (gv--defun-declaration): New function.
1831 (defun-declarations-alist): Use it.
1832 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1833 (gv-place): Autoload.
1834 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1835 original definition of dotimes and dolist.
1836 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1837 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1838 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1839 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1840 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1841 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1842 to the function's definition.
1843 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1844 * window.el:
1845 * files.el:
1846 * faces.el:
1847 * env.el: Don't use CL.
1848
d35af63c
PE
18492012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1850
1851 Support higher-resolution time stamps (Bug#9000).
1852
1853 * calendar/time-date.el (with-decoded-time-value): New arg
1854 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1855 (encode-time-value): New optional arg PICO. New type 3.
1856 (time-to-seconds) [!float-time]: Support the new picoseconds
1857 component if it's used.
1858 (seconds-to-time, time-subtract, time-add):
1859 Support ps-resolution time stamps as well.
1860
1861 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1862 (timerp): Timer vectors now have length 9, not 8.
1863 (timer--time): Support new-style (4-part) time stamps.
1864 (timer-next-integral-multiple-of-time): Time stamps now have
1865 picosecond resolution, so take a bit more care about rounding.
1866 (timer-relative-time, timer-inc-time): New optional arg psecs.
1867 (timer-set-time-with-usecs): Set psecs to 0.
1868 (timer--activate): Check psecs component, too.
1869
1870 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1871
ac77b21a
SM
18722012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1873
f143bfe3
SM
1874 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1875 Move the non-essential binding to the post/pre-command-hook where it is
1876 more obviously correct.
1877
ac77b21a
SM
1878 * subr.el (read-passwd): Don't use a history at all.
1879 * savehist.el (savehist-save): Remove password saved accidentally
1880 because of the above bug.
1881
76386c5a
BG
18822012-06-22 Bastien Guerry <bzg@gnu.org>
1883
1884 * files.el (toggle-read-only): Display a message telling whether
1885 the buffer is read-only or not (bug#11726).
1886
2ee3d7f0
SM
18872012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1888
1889 * emacs-lisp/gv.el: New file.
1890 * subr.el (push, pop): Extend to generalized variables.
1891 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1892 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1893 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1894 gv-define-simple-setter, and gv-define-expander.
1895 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1896 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1897 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1898 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1899 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1900 gv-letplace.
1901 (cl-defstruct): Don't define setf-method any more.
1902 * emacs-lisp/cl.el (flet): Don't autoload.
1903 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1904 (define-setf-expander, defsetf, define-modify-macro)
1905 (cl-struct-setf-expander): Move from cl-lib.el.
1906 * emacs-lisp/syntax.el:
1907 * emacs-lisp/ewoc.el:
1908 * emacs-lisp/smie.el:
1909 * emacs-lisp/cconv.el:
1910 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1911 (timer--time): Use gv-define-simple-setter.
1912 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1913 to avoid coding-system problems in subr.el. Adjust all users.
1914 (macroexp--maxsize, macroexp-small-p): New functions.
1915 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1916 * scroll-bar.el (scroll-bar-mode):
1917 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1918 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1919 * winner.el (winner-configuration, winner-make-point-alist)
1920 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1921 * files.el (locate-file-completion-table): Avoid list*.
1922
c5695d1d
CY
19232012-06-22 Chong Yidong <cyd@gnu.org>
1924
1925 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1926 (dired-create-files): Doc fix (Bug#11329).
1927 (dired-do-copy): Doc fix (Bug#11334).
1928 (dired-mark-read-string): Doc fix (Bug#11553).
1929
2ee3d7f0
SM
1930 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1931 Doc fix (Bug#11326).
c5695d1d
CY
1932 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1933 (dired-dwim-target): Doc fix.
1934
1935 * wdired.el (wdired-mode): Doc fix.
1936
89b5595a
GM
19372012-06-22 Glenn Morris <rgm@gnu.org>
1938
575db3f1
GM
1939 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1940 (pcmpl-rpm-cache-stamp-file): New constant.
1941 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1942 (pcmpl-rpm-packages): Optionally cache list of packages.
1943
a4c8dd51
GM
1944 * pcmpl-rpm.el (pcmpl-rpm): New group.
1945 (pcmpl-rpm-query-options): New option.
1946 (pcmpl-rpm-packages): No need to inline it.
1947 Use pcmpl-rpm-query-options.
1948
89b5595a
GM
1949 * calendar/calendar.el (calendar-in-read-only-buffer):
1950 Avoid some needless mode changes.
1951
e76f0800
CY
19522012-06-21 Chong Yidong <cyd@gnu.org>
1953
1954 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1955 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1956 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1957
297a8f1d
CY
19582012-06-20 Chong Yidong <cyd@gnu.org>
1959
1960 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1961
d34c18b1
DR
19622012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1963
1964 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1965 (bug#11201).
1966
32f7f28e
CY
19672012-06-20 Chong Yidong <cyd@gnu.org>
1968
1969 * term.el (term-window-width): Handle the case of a missing right
1970 fringe (Bug#8837).
1971 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1972 (term-mode): Use define-derived-mode. Minor cleanups.
1973 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1974 (term-move-columns, term-insert-char, term-emulate-terminal)
1975 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1976
493c6688
MA
19772012-06-20 Michael Albinus <michael.albinus@gmx.de>
1978
d34c18b1
DR
1979 * net/ange-ftp.el (ange-ftp-get-passwd):
1980 Bind `enable-recursive-minibuffers'.
493c6688
MA
1981 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1982
3f06ecf4
DR
19832012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1984
1985 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1986
68f12411
GM
19872012-06-19 Glenn Morris <rgm@gnu.org>
1988
1989 * progmodes/python.el (python-mode): Derive from prog-mode.
1990
b3820318
KG
19912012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1992
1993 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1994 (edt-user-menu-bar-update-buffers): New functions.
1995 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1996
c6bf3022
CY
19972012-06-19 Chong Yidong <cyd@gnu.org>
1998
1999 * subr.el (with-selected-window): Preserve the selected window's
2000 terminal's top-frame (Bug#4702).
2001
2002 * window.el (save-selected-window): Likewise.
2003
25f09295
SM
20042012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2005
2006 * progmodes/python.el (python-rx-constituents): Move backquote.
2007 (python-skeleton-define, python-define-auxiliary-skeleton):
2008 Use `declare'.
2009
6b11952a
MA
20102012-06-18 Michael Albinus <michael.albinus@gmx.de>
2011
2012 * minibuffer.el (read-file-name-default): Revert the patch from
2013 2012-06-17.
2014
ee4b1330
SM
20152012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
2016
2017 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
2018 (pcase--u1, pcase--q1): Don't use apply-partially.
2019
35647f79
GM
20202012-06-18 Glenn Morris <rgm@gnu.org>
2021
2022 * progmodes/python.el (python-proc, python-buffer)
2023 (python-send-receive, python-send-string): Fix obsolete versions.
2024
24b0cff0
MR
20252012-06-18 Martin Rudalics <rudalics@gmx.at>
2026
2027 * window.el (special-display-p): Completely remove stringp
2028 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
2029
29855149
MA
20302012-06-17 Michael Albinus <michael.albinus@gmx.de>
2031
2032 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
2033
2034 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
2035
2036 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
2037 * net/tramp-sh.el (tramp-maybe-open-connection):
2038 Throw if `non-essential' is non-nil.
2039
07463363
MR
20402012-06-17 Martin Rudalics <rudalics@gmx.at>
2041
2042 * window.el (special-display-p): Signal an error if BUFFER-NAME
2043 is not a string (Bug#11713).
2044
48d1354e
PE
20452012-06-17 Paul Eggert <eggert@cs.ucla.edu>
2046
2047 * progmodes/python.el (python-info-beginning-of-backslash):
2048 Rename from python-info-beginning-of-backlash, as a spelling fix.
2049
eb4a8a9a
CY
20502012-06-17 Chong Yidong <cyd@gnu.org>
2051
2052 * term.el (term-emulate-terminal): If term-check-size is called,
2053 move point to the process mark without resetting point (Bug#4635).
2054
ddfbf826 20552012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2056
2057 * international/mule-cmds.el (mule-menu-keymap)
2058 (set-language-environment, set-locale-environment): Doc tweaks.
2059
9b0e3eba
AA
20602012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2061
2062 * cus-face.el (custom-face-attributes): Add wave-style underline
2063 attribute.
2064 * faces.el (set-face-attribute): Update docstring to describe
2065 wave-style underline attribute.
2066
771e3eae
CY
20672012-06-16 Chong Yidong <cyd@gnu.org>
2068
2069 * term/xterm.el (terminal-init-xterm): Discard input before
2070 querying background mode (Bug#10959).
2071
7ae2ea10
SM
20722012-06-16 Stefan Merten <smerten@oekonux.de>
2073
2074 * textmodes/rst.el: Added and corrected some comments.
2075 (rst-re-alist-def): Improve symbol syntax.
2076 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2077 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2078 (rst-official-version, rst-official-cvs-rev): Update version
2079 information.
7ae2ea10 2080
b6974efa
JB
20812012-06-15 Juanma Barranquero <lekktu@gmail.com>
2082
2083 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2084 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2085
8826d473
GM
20862012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2087
2088 * progmodes/python.el: New python.el merge.
2089 (python-guess-indent): Obsolete var.
2090 (python-indent-guess-indent-offset): New defcustom.
2091 (python-indent): Obsolete var.
2092 (python-indent-offset): New defcustom.
2093 (python-python-command, python-jython-command): Delete var.
2094 (python-shell-interpreter): New defcustom.
2095 (python-pdbtrack-do-tracking-p): Delete var.
2096 (python-pdbtrack-activate): New defcustom.
2097 (python-use-skeletons): Obsolete var.
2098 (python-skeleton-autoinsert): New defcustom.
2099 (inferior-python-filter-regexp, python-continuation-offset)
2100 (python-honour-comment-indentation, python-indent-string-contents)
2101 (python-jython-packages, python-mode-hook)
2102 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2103 (python-shell-prompt-alist)
2104 (python-source-modes): Delete defcustoms.
2105 (python-check-buffer-name, python-eldoc-setup-code)
2106 (python-eldoc-string-code, python-ffap-setup-code)
2107 (python-ffap-string-code, python-fill-comment-function)
2108 (python-fill-decorator-function, python-fill-paren-function)
2109 (python-fill-string-function, python-imenu-include-defun-type)
2110 (python-imenu-make-tree, python-imenu-subtree-root-label)
2111 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2112 (python-shell-compilation-regexp-alist)
2113 (python-shell-completion-module-string-code)
2114 (python-shell-completion-pdb-string-code)
2115 (python-shell-completion-setup-code)
2116 (python-shell-completion-string-code)
2117 (python-shell-enable-font-lock, python-shell-exec-path)
2118 (python-shell-extra-pythonpaths)
2119 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2120 (python-shell-process-environment)
2121 (python-shell-prompt-block-regexp)
2122 (python-shell-prompt-output-regexp)
2123 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2124 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2125 (python-shell-virtualenv-path): New defcustoms.
2126 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2127 (inferior-python-mode-syntax-table, python--prompt-regexp)
2128 (python-buffer, python-command python-python-command)
2129 (python-default-template, python-imports, python-indent-index)
2130 (python-indent-list, python-indent-list-length)
2131 (python-mode-running, python-pdbtrack-is-tracking-p)
2132 (python-preoutput-continuation, python-preoutput-leftover)
2133 (python-preoutput-result, python-preoutput-skip-next-prompt)
2134 (python-prev-dir/file, python-recursing)
2135 (python-saved-check-command, python-version-checked)
2136 (python-which-func-length-limit)
2137 (view-return-to-alist): Delete vars.
2138 (python-check-custom-command, python-dotty-syntax-table)
2139 (python-imenu-index-alist, python-indent-current-level)
2140 (python-indent-dedenters, python-indent-levels)
2141 (python-nav-beginning-of-defun-regexp)
2142 (python-nav-list-defun-positions-cache)
2143 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2144 (python-shell-internal-buffer)
2145 (python-skeleton-available): New vars.
2146 (def-python-skeleton): Delete macro.
2147 (python-skeleton-define): New macro.
2148 (python-define-auxiliary-skeleton, python-rx): New macros.
2149 (python-insert-class): Delete command.
2150 (python-skeleton-class): New command.
2151 (python-insert-def): Delete command.
2152 (python-skeleton-def): New command.
2153 (python-insert-for): Delete command.
2154 (python-skeleton-for): New command.
2155 (python-insert-if): Delete command.
2156 (python-skeleton-if): New command.
2157 (python-insert-try/except, python-insert-try/finally): Delete commands.
2158 (python-skeleton-try): New command.
2159 (python-insert-while): Delete command.
2160 (python-skeleton-while): New command.
2161 (python-backspace): Delete command.
2162 (python-indent-dedent-line-backspace): New command.
2163 (python-electric-colon): Delete command.
2164 (python-indent-electric-colon): New command.
2165 (python-guess-indent): Delete command.
2166 (python-indent-guess-indent-offset): New command.
2167 (python-shift-left): Delete command.
2168 (python-indent-shift-left): New command.
2169 (python-shift-right): Delete command.
2170 (python-indent-shift-right): New command.
2171 (python-find-function): Delete command.
2172 (python-nav-jump-to-defun): New command.
2173 (python-next-statement): Delete command.
2174 (python-nav-forward-sentence): New command.
2175 (python-previous-statement): Delete command.
2176 (python-nav-backward-sentence): New command.
2177 (python-fill-paragraph): Delete command.
2178 (python-fill-paragraph-function): New command.
2179 (python-send-buffer): Delete command.
2180 (python-shell-send-buffer): New command.
2181 (python-send-defun): Delete command.
2182 (python-shell-send-defun): New command.
2183 (python-send-region, python-send-region-and-go): Delete commands.
2184 (python-shell-send-region)
2185 (python-shell-switch-to-shell): New commands.
2186 (python-send-string): Delete command.
2187 (python-shell-send-string): New command.
2188 (python-switch-to-python): Delete command.
2189 (python-shell-switch-to-shell): New command.
2190 (python-describe-symbol): Delete command.
2191 (python-eldoc-at-point): New command.
2192 (python--set-prompt-regexp, python-args-to-list)
2193 (python-after-info-look, python-check-version)
2194 (python-check-comint-prompt, python-find-imports)
2195 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2196 (python-unload-function, python-expand-template)
2197 (python-maybe-jython, python-preoutput-filter)
2198 (python-pdbtrack-get-source-buffer)
2199 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2200 (python-pdbtrack-toggle-stack-tracking)
2201 (python-pdbtrack-track-stack-file, python-initial-text)
2202 (python-first-word, python-comment-line-p, python-send-command)
2203 (python-setup-brm, python-sentinel, python-set-proc)
2204 (python-skip-out, python-input-filter, python-outdent-p)
2205 (python-outline-level, python-backslash-continuation-line-p)
2206 (python-end-of-block, python-end-of-statement, python-mark-block)
2207 (python-beginning-of-block, python-beginning-of-statement)
2208 (python-blank-line-p, python-beginning-of-string)
2209 (python-open-block-statement-p): Delete functions.
2210 (python-indent-line, python-indent-line-1): Delete functions.
2211 (python-indent-line): New function.
2212 (python-indentation-levels): Delete function.
2213 (python-indent-calculate-levels): New function.
2214 (python-proc): Delete function.
2215 (python-shell-get-process): New function.
2216 (python-send-receive): Delete function.
2217 (python-shell-send-string-no-output): New function.
2218 (python-module-path): Delete function.
2219 (python-ffap-module-path): New function.
2220 (python-completion-at-point)
2221 (python-symbol-completions): Delete functions.
2222 (python-completion-complete-at-point): New function.
2223 (python-load-file): Delete function.
2224 (python-shell-send-file): New function.
2225 (python-calculate-indentation): Delete function.
2226 (python-indent-calculate-indentation): New function.
2227 (python-skip-comments/blanks): Delete function.
2228 (python-util-forward-comment): New function.
2229 (python-continuation-line-p): Delete function.
2230 (python-info-continuation-line-p): New function.
2231 (python-which-func, python-current-defun): Delete function.
2232 (python-info-current-defun): New function.
2233 (python-beginning-of-defun): Delete function.
2234 (python-nav-beginning-of-defun): New function.
2235 (python-close-block-statement-p)
2236 (python-block-end-p): Delete function.
2237 (python-info-closing-block): New function.
2238 (python-comint-output-filter-function)
2239 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2240 (python-fill-comment, python-fill-decorator, python-fill-paren)
2241 (python-fill-string, python-imenu-make-element-tree)
2242 (python-imenu-make-tree, python-imenu-tree-assoc)
2243 (python-indent-context, python-indent-dedent-line)
2244 (python-indent-line-function)
2245 (python-indent-post-self-insert-function)
2246 (python-indent-toggle-levels)
2247 (python-info-assignment-continuation-line-p)
2248 (python-info-beginning-of-backlash)
2249 (python-info-block-continuation-line-p)
2250 (python-info-closing-block-message)
2251 (python-info-line-ends-backslash-p)
2252 (python-info-looking-at-beginning-of-defun)
2253 (python-info-ppss-context, python-info-ppss-context-type)
2254 (python-nav-list-defun-positions, python-nav-read-defun)
2255 (python-nav-sentence-end, python-nav-sentence-start)
2256 (python-pdbtrack-comint-output-filter-function)
2257 (python-pdbtrack-set-tracked-buffer)
2258 (python-shell-calculate-exec-path)
2259 (python-shell-calculate-process-environment)
2260 (python-shell-completion--do-completion-at-point)
2261 (python-shell-completion--get-completions)
2262 (python-shell-completion-complete-at-point)
2263 (python-shell-completion-complete-or-indent)
2264 (python-shell-get-or-create-process)
2265 (python-shell-get-process-name)
2266 (python-shell-internal-get-or-create-process)
2267 (python-shell-internal-get-process-name)
2268 (python-shell-internal-send-string, python-shell-make-comint)
2269 (python-shell-parse-command, python-shell-send-setup-code)
2270 (python-skeleton-add-menu-items)
2271 (python-util-clone-local-variables, python-util-position)
2272 (run-python-internal, python-indentation-levels)
2273 (python-nav-beginning-of-defun)
2274 (python-completion-complete-at-point): New functions.
2275 (run-python): Change arguments. New API requirements.
2276
4302f5ba
SM
22772012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2278
f38ea36d
SM
2279 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2280 (bug#11649).
2281
2282 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2283 (macroexp--expand-all): Use it.
2284
4302f5ba
SM
2285 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2286 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2287 Use `cl-function' instead.
2288
33377562
JB
22892012-06-14 Juanma Barranquero <lekktu@gmail.com>
2290
2291 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2292 Suggested by Stefan Monnier while discussing bug#11657.
2293
54c5ba1a
SS
22942012-06-14 Sam Steingold <sds@gnu.org>
2295
2296 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2297
f9f1b1fe
AS
22982012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2299
2300 * play/doctor.el (doctor-doc): Remove parameter and use
2301 doctor-sent instead of sent.
2302 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2303
a81068ba
SM
23042012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2305
5a315f9c
SM
2306 * files.el: Require cl-lib.
2307 (file-name-non-special): Replace case -> cl-case.
2308
2309 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2310
a81068ba
SM
2311 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2312 mapping from #' to function*.
2313
8cca9703
CY
23142012-06-13 Chong Yidong <cyd@gnu.org>
2315
2316 * mouse.el (mouse-drag-track): Do not set the mark if the user
2317 releases the mouse without selecting anything (Bug#11588).
2318
a12ac9d7
SM
23192012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2320
ccf1dc18
SM
2321 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2322 as well (bug#11646).
2323
ef62b23d
SM
2324 * loadup.el: Count byte-code functions as well.
2325
c4c8444a
SM
2326 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2327 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2328
a12ac9d7
SM
2329 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2330 (bug#11649). Add cl-defun and cl-defmacro.
2331
87e6e64f
DA
23322012-06-13 Drew Adams <drew.adams@oracle.com>
2333
2334 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2335 Fix last change.
2336
682cefaf
MA
23372012-06-13 Michael Albinus <michael.albinus@gmx.de>
2338
2339 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2340 Otherwise, it blocks in batch mode.
2341
773e1f08
JB
23422012-06-13 Juanma Barranquero <lekktu@gmail.com>
2343
2344 * help-mode.el (bookmark-make-record-default): Declare.
2345
60057926
CY
23462012-06-13 Chong Yidong <cyd@gnu.org>
2347
2348 * emacs-lisp/package.el (list-packages): Compute a list of
2349 packages that are newly-available since the last list-packages
2350 invocation.
2351 (package-menu--new-package-list): New var.
2352 (package-menu--generate, package-menu--print-info)
2353 (package-menu--status-predicate, package-menu-mark-install):
2354 Handle new status label "new".
2355
ad4d226c
SM
23562012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2357
2358 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2359 conversion to backquotes.
2360
f1a4e679
CY
23612012-06-12 Chong Yidong <cyd@gnu.org>
2362
2363 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2364 Rename from gud-inhibit-global-bindings.
2365
2366 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2367
2368 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2369 hook from nxml-glyph-set-hook.
2370
2371 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2372 declaration.
2373
2374 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2375
2376 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2377 Convert to defcustom.
2378
0c9e42b5
DA
23792012-06-12 Drew Adams <drew.adams@oracle.com>
2380
2381 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2382 New functions.
2383 (help-mode): Use them.
2384
09e06855
GM
23852012-06-11 Glenn Morris <rgm@gnu.org>
2386
2387 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2388 Use preprocessor face for directives.
2389 (fortran-directive-re): Doc fix.
2390
71adb94b
SM
23912012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2392
2eb87922
SM
2393 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2394 conversion to backquotes (bug#11652).
2395
71adb94b
SM
2396 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2397 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2398 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2399 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2400 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2401 (cl-ninth, cl-tenth): Mark them as inlinable.
2402 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2403 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2404 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2405 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2406 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2407 (cl-list*, cl-adjoin): Don't put an autoload manually.
2408 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2409 (cl--compiler-macro-list*): Add autoload cookie.
2410 (cl--compiler-macro-cXXr): New function.
2eb87922 2411
71adb94b
SM
2412 * help-fns.el (help-fns--compiler-macro): New function extracted from
2413 describe-function-1; follow aliases and use `compiler-macro' property.
2414 (describe-function-1): Use it.
2415
a6674402
CY
24162012-06-11 Chong Yidong <cyd@gnu.org>
2417
2418 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2419 is uninstalled, if imagemagick is installed.
2420
bb3faf5b
SM
24212012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2422
2423 * emacs-lisp/cl-lib.el: Use lexical-binding.
2424 (cl-map-extents, cl-maclisp-member): Remove.
2425 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2426 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2427 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2428 * emacs-lisp/cl-extra.el: Use lexical-binding.
2429 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2430 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2431 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2432 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2433 * emacs-lisp/cl-seq.el: Use lexical-binding.
2434 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2435 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2436 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2437 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2438 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2439 CL's internals.
2440
2fe4b125
MA
24412012-06-11 Michael Albinus <michael.albinus@gmx.de>
2442
2443 Sync with Tramp 2.2.6-pre.
2444
2445 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2446 `print-length' and `print-level' to nil, in order to avoid
2447 truncation. Reported by Christopher Schmidt
2448 <christopher@ristopher.com>.
2449
2450 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2451
2452 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2453 New defmacro.
2454 (tramp-compat-copy-directory): Add optional argument
2455 COPY-CONTENTS. It is not handled yet.
2456
2457 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2458 (tramp-ftp-file-name-p): Simplify.
2459
2460 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2461 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2462 connection vector.
2463
2464 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2465 (tramp-methods): Do not use `tramp-password-end-of-line'.
2466 (tramp-completion-function-alist-putty): Handle UNIX case.
2467 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2468 (tramp-do-file-attributes-with-stat)
2469 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2470 gid as real numbers. They could run out of integer range on cygwin.
2471 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2472 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2473 (tramp-open-connection-setup-interactive-shell):
2474 Use `tramp-cleanup'. Move check for busyboxes ...
2475 (tramp-find-shell): ... here. Simplify implementation.
2476 Set "remote-shell" property also for alternative shells.
2477 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2478 If failing, a regular file would be written otherwise.
2479 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2480 (tramp-find-inline-encoding): Cache the coding commands in the
2481 process cache. Apply test command on the remote side, if defined.
2482 (tramp-find-inline-compress): Cache the compress commands in the
2483 process cache.
2484 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2485 when requested. Handle hops.
2486 (tramp-current-connection): New defvar.
87e6e64f
DA
2487 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2488 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2489 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2490 (tramp-get-inline-compress, tramp-get-inline-coding):
2491 Read connection properties from the process cache.
2fe4b125
MA
2492
2493 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2494 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2495 New defconsts.
2fe4b125
MA
2496 (tramp-smb-prompt): Extend for powershell prompt.
2497 (tramp-smb-file-name-handler-alist): Add handlers for
2498 `process-file', `shell-command' and `start-file-process'.
2499 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2500 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2501 (tramp-smb-file-name-p): Simplify.
2502 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2503 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2504 (tramp-smb-shell-quote-argument): New defuns.
2505 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2506 Implement using "tar". By this, time-stamps are preserved.
2507 (tramp-smb-handle-copy-file): Handle also the case of directories.
2508 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2509 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2510 Use `tramp-get-connection-buffer').
2fe4b125
MA
2511 (tramp-smb-handle-rename-file): Use "rename", when source and
2512 target are on the same share.
87e6e64f
DA
2513 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2514 Use `tramp-smb-server-version'.
2fe4b125
MA
2515 (tramp-smb-wait-for-output): Remove prompt.
2516
2517 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2518 (tramp-methods, tramp-rsh-end-of-line):
2519 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2520 (tramp-save-ad-hoc-proxies): New defcustom.
2521 (tramp-completion-function-alist): Adapt docstring.
2522 (tramp-default-password-end-of-line): Remove defcustom.
2523 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2524 (tramp-user-regexp, tramp-file-name-regexp-unified)
2525 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2526 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2527 (tramp-remote-file-name-spec-regexp): New defconst.
2528 (tramp-file-name-structure): Extend structure for hops.
2529 (tramp-get-method-parameter): Move up.
2530 (tramp-file-name-p, tramp-dissect-file-name)
2531 (with-parsed-tramp-file-name): Handle hops.
2532 (tramp-file-name-hop): New defun.
2533 (tramp-make-tramp-file-name): New optional arg HOP.
2534 (tramp-message-show-progress-reporter-message): New defvar.
2535 (tramp-with-progress-reporter): Use it. We cannot use
2536 `tramp-message-show-message' here, because this suppresses also
2537 error buffers.
2538 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2539 `tramp-message-show-message' is nil.
2540 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2541 (tramp-cleanup): New defun.
2542 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2543 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2544 an error unchanged.
2545 (tramp-completion-handle-file-name-all-completions): Handle hops.
2546 Fix an error when called from ido.
2547 (tramp-completion-dissect-file-name): Use better local variable
2548 name. Add hop to the vector.
2549 (tramp-handle-insert-file-contents): Use progress-reporter for the
2550 whole scenario.
2551 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2552 to `t'.
2553 (tramp-check-for-regexp): Simplify search.
2554 (tramp-enter-password): Remove it. Move implementation ...
2555 (tramp-action-password): ... here.
2556 (tramp-mode-string-to-int, tramp-local-host-p)
2557 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2558 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2559 Set tramp-autoload cookie.
2fe4b125
MA
2560
2561 * net/trampver.el: Update release number.
2562
25632012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2564 Michael Albinus <michael.albinus@gmx.de>
2565
2566 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2567 (tramp-parse-group, tramp-parse-file)
2568 (tramp-parse-shostkeys-sknownhosts): New defuns.
2569 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2570 (tramp-parse-shosts-group, tramp-parse-sconfig)
2571 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2572 (tramp-parse-sknownhosts, tramp-parse-hosts)
2573 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2574 Use them.
2575 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2576 (tramp-parse-putty-group): Don't narrow.
2577 (tramp-parse-putty): Make a loop.
2578 (tramp-file-name-handler): Catch the `suppress' signal.
2579
72834e10
CY
25802012-06-11 Chong Yidong <cyd@gnu.org>
2581
2582 * image.el (imagemagick-register-types): Put the ImageMagick entry
2583 at the end of image-type-file-name-regexps.
2584
a4712e11
JB
25852012-06-11 Johan Bockgård <bojohan@gnu.org>
2586
2587 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2588 (pcase, pcase-let*, pcase-dolist): Use them.
2589
82ad98e3
SM
25902012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2591
2592 * emacs-lisp/pcase.el (pcase--let*): New function.
2593 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2594 (pcase--expand): Use macroexp-let².
2595
f80efb86
SM
25962012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2599 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2600 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2601 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2602 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2603 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2604
31ca4639 26052012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2606
31ca4639
CY
2607 * mail/rmail.el (rmail-yank-current-message): Leave point at
2608 correct position. (Bug#11660)
94f0aa34 2609
31ca4639 26102012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2611
31ca4639 2612 * allout-widgets.el: Fix code header.
9e1b8ec4 2613
31ca4639 26142012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2615
f80efb86
SM
2616 * cus-edit.el (customize-changed-options-previous-release):
2617 Bump to 24.1.
31ca4639 2618
642b6d30
AS
26192012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2620
2621 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2622
4f5d2ba1
CY
26232012-06-09 Chong Yidong <cyd@gnu.org>
2624
2625 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2626
e75852fd
MR
26272012-06-09 Martin Rudalics <rudalics@gmx.at>
2628
2629 * window.el (special-display-popup-frame): Don't use
2630 window--display-buffer (Bug#11651).
2631
1e48e282
EZ
26322012-06-09 Eli Zaretskii <eliz@gnu.org>
2633
8a26b487
EZ
2634 Fix parallel builds: make sure loaddefs.el is not being written
2635 while Lisp files are compiled.
2636 (compile): Don't depend on 'mh-autoloads'.
2637 (compile-CMD, compile-SH): Depend on 'autoloads'.
2638 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2639
1e48e282
EZ
2640 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2641
6175e34b
CY
26422012-06-09 Chong Yidong <cyd@gnu.org>
2643
2644 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2645 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2646 Doc fixes (Bug#11225).
2647
d9857e53
SM
26482012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2649
2650 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2651 a function if there's a clear indication that it has a compiler-macro.
2652 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2653 (macro-declarations-alist): Add arglist to declaration functions.
2654 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2655 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2656 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2657 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2658 Also add autoload to find the compiler macro.
2659 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2660 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2661 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2662 (cl--compiler-macro-get): New functions, replacing calls to
2663 cl-define-compiler-macro.
2664 (cl-typep) [compiler-macro]: Use macroexp-let².
2665
f81298f8 26662012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2667
2668 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2669 string properly, fixes Bug#11473.
2670
4b56d0fe
CY
26712012-06-08 Chong Yidong <cyd@gnu.org>
2672
2673 * faces.el (set-face-attribute): Doc fix.
2674 (modify-face): Don't use :bold and :italic.
2675 (error, warning, success): Tweak definitions.
2676
2677 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2678 (custom-modified, custom-set, custom-changed, custom-themed)
2679 (custom-saved, custom-button, custom-button-mouse)
2680 (custom-button-pressed, custom-state, custom-comment-tag)
2681 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2682 (custom-group-subtitle): Use new-style face specs.
2683 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2684 (custom-set-face, custom-changed-face, custom-saved-face)
2685 (custom-button-face, custom-button-pressed-face)
2686 (custom-documentation-face, custom-state-face)
2687 (custom-comment-face, custom-comment-tag-face)
2688 (custom-variable-tag-face, custom-variable-button-face)
2689 (custom-face-tag-face, custom-group-tag-face-1)
2690 (custom-group-tag-face): Remove obsolete face alias.
2691
2692 * epa.el (epa-validity-high, epa-validity-medium)
2693 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2694 (epa-field-name, epa-field-body):
2695 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2696 (font-lock-keyword-face, font-lock-builtin-face)
2697 (font-lock-function-name-face, font-lock-variable-name-face)
2698 (font-lock-type-face, font-lock-constant-face):
2699 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2700 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2701 * speedbar.el (speedbar-button-face, speedbar-file-face)
2702 (speedbar-directory-face, speedbar-tag-face)
2703 (speedbar-selected-face, speedbar-highlight-face)
2704 (speedbar-separator-face):
2705 * whitespace.el (whitespace-newline, whitespace-space)
2706 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2707 (whitespace-line, whitespace-space-before-tab)
2708 (whitespace-space-after-tab, whitespace-indentation)
2709 (whitespace-empty):
2710 * emulation/cua-base.el (cua-global-mark):
2711 * eshell/em-prompt.el (eshell-prompt):
2712 * net/newst-plainview.el (newsticker-new-item-face)
2713 (newsticker-old-item-face, newsticker-immortal-item-face)
2714 (newsticker-obsolete-item-face, newsticker-date-face)
2715 (newsticker-statistics-face, newsticker-default-face):
2716 * net/newst-reader.el (newsticker-feed-face)
2717 (newsticker-extra-face, newsticker-enclosure-face):
2718 * net/newst-treeview.el (newsticker-treeview-face)
2719 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2720 (newsticker-treeview-immortal-face)
2721 (newsticker-treeview-obsolete-face)
2722 (newsticker-treeview-selection-face):
2723 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2724 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2725 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2726 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2727 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2728 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2729 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2730 (mpuz-text):
2731 * progmodes/vera-mode.el (vera-font-lock-number)
2732 (vera-font-lock-function, vera-font-lock-interface):
2733 * textmodes/table.el (table-cell): Use new-style face specs, and
2734 don't use the old :bold and :italic attributes.
2735
2736 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2737 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2738 (ebrowse-member-class, ebrowse-progress): Likewise.
2739 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2740 (ebrowse-file-name-face, ebrowse-default-face)
2741 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2742 (ebrowse-progress-face): Remove obsolete faces.
2743
2744 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2745 Inherit from error and warning faces respectively.
2746
2747 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2748 Likewise.
f80efb86
SM
2749 (flyspell-incorrect-face, flyspell-duplicate-face):
2750 Remove obsolete aliases.
4b56d0fe 2751
03310646
MA
27522012-06-08 Michael Albinus <michael.albinus@gmx.de>
2753
2754 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2755 Avoid infloop.
2756
513749ee
SM
27572012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2758
2759 * startup.el (argv, argi): Make lexically scoped.
2760 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2761 * emacs-lisp/cl-macs.el: Use lexical-binding.
2762 Rename cl-bind-* to cl--bind-*.
2763 * files.el: Don't require `cl' since it doesn't use it.
2764 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2765
595ef4ad
JB
27662012-06-08 Juanma Barranquero <lekktu@gmail.com>
2767
2768 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2769 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2770 instead of calling external sort utility.
2771 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2772
e9f66fcb
EZ
27732012-06-08 Eli Zaretskii <eliz@gnu.org>
2774
2775 * descr-text.el (describe-char): Mention how to insert the
2776 character, if the current input method doesn't support it.
2777 See the discussion in this thread for the details:
2778 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2779
3d10db47
SS
27802012-06-08 Sam Steingold <sds@gnu.org>
2781
2782 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2783 XF86Back to previous-buffer.
2784 (minibuffer-local-map): Bind them to next-history-element and
2785 previous-history-element respectively.
2786 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2787 help-go-back respectively.
2788 * info.el (Info-mode-map): Bind them to Info-history-forward and
2789 Info-history-back respectively.
2790 These are the keys next to Up on the ThinkPad keyboard.
2791
de7e2b36
SM
27922012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2793
2794 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2795 * emacs-lisp/cl-macs.el: Provide itself.
2796 (cl--labels-convert-cache): New var.
2797 (cl--labels-convert): New function.
2798 (cl-flet, cl-labels): New implementation with new semantics, relying on
2799 lexical-binding.
2800 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2801 (cl-closure-vars, cl--function-convert-cache)
2802 (cl--function-convert): Move from cl-macs.el.
2803 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2804 rename by removing the "cl-" prefix.
2805 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2806
6fa6c4ae
SM
28072012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2810 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2811 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2812 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2813 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2814 (cl-hash-table-count): Add old compatibility aliases.
2815
2816 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2817 Use macroexpand-all-environment instead.
2818 (cl--old-macroexpand): New var.
2819 (cl--sm-macroexpand): New function.
2820 (cl-symbol-macrolet): Use it during macro expansion.
2821 (cl--function-convert-cache): New var.
2822 (cl--function-convert): New function, extracted from
2823 cl-macroexpand-all.
2824 (cl-lexical-let): Use it.
2825
2826 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2827 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2828 (cl-member): Remove old alias.
2829
2830 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2831 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2832 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2833 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2834 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2835 (cl-macroexpand-cmacs): Remove var.
2836 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2837 Use macroexpand-all instead.
2838
4dd1c416
SM
28392012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2842 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2843 (macroexp-copyable-p): New functions and macros.
2844 * emacs-lisp/edebug.el (edebug-unwrap):
2845 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2846 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2847 (pcase--let*): Remove.
2848 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2849 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2850 macroexp-const-p instead.
2851 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2852
2853 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2854 instead of "cl-" for internal definitions. Use macroexp-const-p.
2855 (cl-old-bc-file-form): Remove var.
2856 (cl-const-exprs-p): Remove fun.
2857 (cl-labels, cl-macrolet): Use backquote.
2858 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2859 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2860 (cl-define-setf-expander): Rename from cl-define-setf-method.
2861 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2862
2863 * international/mule-cmds.el: Don't require CL.
2864 (view-hello-file): Don't use `letf'.
2865
ed8bd4d7
SM
28662012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2867
7287f2f3
SM
2868 * tmm.el (tmm-prompt): Use string-prefix-p.
2869 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2870 (tmm-add-prompt): Use minibuffer-completion-help.
2871 (tmm-delete-map): Remove.
2872
ed8bd4d7
SM
2873 * subr.el (kbd): Make it its own function.
2874
7b4cdbf4
SM
28752012-06-07 Stefan Merten <smerten@oekonux.de>
2876
2877 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2878 Silence compiler warnings. Fix versions.
ed8bd4d7 2879 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2880 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2881 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2882 (rst-package-emacs-version-alist): Correct Emacs version to
2883 represent major merge with upstream.
ed8bd4d7 2884 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2885
2b48d721
GM
28862012-06-06 Glenn Morris <rgm@gnu.org>
2887
2888 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2889 Only print environment variables if set.
2890
fa779ab0
SM
28912012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2892
2893 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2894 (macroexp--cons): Rename from maybe-cons.
2895 (macroexp--accumulate): Rename from macroexp-accumulate.
2896 (macroexp--all-forms): Rename from macroexpand-all-forms.
2897 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2898 (macroexp--expand-all): Rename from macroexpand-all-1.
2899
628299e0
SS
29002012-06-06 Sam Steingold <sds@gnu.org>
2901
2902 * calendar/calendar.el (calendar-in-read-only-buffer):
2903 Call `special-mode' to enable the standard read-only keybindings.
2904
b7bb5838
SM
29052012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2906
2907 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2908 with "loading" messages (bug#11635).
2909
dfb308ba
MA
29102012-06-06 Michael Albinus <michael.albinus@gmx.de>
2911
2912 * files.el (enable-remote-dir-locals): New option.
2913 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2914
0372ee92
MA
2915 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2916 Ensure, that the temp directory is local.
2917
2918 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2919 `temporary-file-directory'.
2920
eed0bb91
MA
2921 * progmodes/python.el (python-send-region): Ensure, that the
2922 temporary file is created also in the remote case.
2923
7a58f64d
GM
29242012-06-06 Glenn Morris <rgm@gnu.org>
2925
f7dd4e98
GM
2926 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2927 (vc-rcs-update-changelog): Use it.
2928
090bd7cb 2929 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2930
7a58f64d
GM
2931 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2932 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2933 (vc-sccs-diff): Replace use of the external vcdiff script.
2934
daed4003
GM
29352012-06-05 Glenn Morris <rgm@gnu.org>
2936
2937 * ledit.el: Move to obsolete/.
2938
48c455c7
SS
29392012-06-05 Sam Steingold <sds@gnu.org>
2940
ed9265fc 2941 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2942 patch (Bug#11140).
2943
57a7d507
SM
29442012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2945
090bd7cb 2946 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2947
53aacf21
SM
2948 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2949 compiler-macro expansion.
2950
57a7d507
SM
2951 Add native compiler-macro support.
2952 * emacs-lisp/macroexp.el (macroexpand-all-1):
2953 Support compiler-macros directly. Properly follow aliases and apply
2954 the compiler macros more thoroughly.
2955 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2956 macroexpand now properly follows aliases.
2957 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2958 (cl-compiler-macroexpand): Use new prop.
2959 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2960
2961 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2962
51a5f9d8
MR
29632012-06-05 Martin Rudalics <rudalics@gmx.at>
2964
2965 * window.el (get-lru-window, get-mru-window, get-largest-window):
2966 New argument NOT-SELECTED to avoid picking the selected window.
2967 (window--display-buffer-1, window--display-buffer-2): Replace by
2968 new function window--display-buffer
2969 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2970 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2971 Use window--display-buffer.
51a5f9d8
MR
2972 (display-buffer-use-some-window): Remove temporary dedication
2973 hack by calling get-lru-window and get-largest-window with
2974 NOT-SELECTED argument non-nil. Call window--display-buffer.
2975
08f9f738
GM
29762012-06-05 Glenn Morris <rgm@gnu.org>
2977
2978 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2979 Replace external vcdiff script.
2980
e364a2b7
SM
29812012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2982
2983 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2984
041df390
CY
29852012-06-04 Chong Yidong <cyd@gnu.org>
2986
e364a2b7
SM
2987 * image.el (imagemagick-types-inhibit): Revert last change.
2988 Add INFO and M.
47b36b94 2989 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2990
7c1898a7
SM
29912012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2992
2993 * emacs-lisp/cl-lib.el: Rename from cl.el.
2994 * emacs-lisp/cl.el: New compatibility file.
2995 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2996 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2997 to obey the "cl-" prefix.
2998 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2999
0c3461de
GM
30002012-06-03 Glenn Morris <rgm@gnu.org>
3001
1e266c88
GM
3002 * emacs-lisp/authors.el (authors-aliases): Addition.
3003
0c3461de
GM
3004 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
3005 Fix :version.
3006
d8a52e15
SM
30072012-06-03 Stefan Merten <smerten@oekonux.de>
3008
3009 * textmodes/rst.el: Add comments.
3010 (rst-transition, rst-adornment): New faces.
3011 (rst-adornment-faces-alist): Make default safe to reevaluate.
3012 Fixes
3013 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
3014 Improve customization tags.
3015 (rst-define-level-faces): Clarify meaning.
3016
5205d6f6
CY
30172012-06-03 Chong Yidong <cyd@gnu.org>
3018
3019 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
3020 (compilation-mode-line-run, compilation-mode-line-exit):
3021 New faces.
5205d6f6
CY
3022 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
3023
757ee657
JD
30242012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
3025
7c1898a7
SM
3026 * progmodes/which-func.el (which-func-update-ediff-windows):
3027 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 3028
5f2c76c6
CY
30292012-06-03 Chong Yidong <cyd@gnu.org>
3030
3031 * bindings.el: Remove explicit help text from format-mode-line.
3032 It is now supplied by mode-line-default-help-echo.
3033 (mode-line-front-space, mode-line-end-spaces)
3034 (mode-line-misc-info): New variables.
3035 (mode-line-modes, mode-line-position): Move the default value to
3036 the variable definition.
3037 (mode-line-default-help-echo): New defcustom.
383f7350
CY
3038 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
3039 (mode-line-modified-help-echo): New functions.
3040 (mode-line-mule-info, mode-line-modified): Use them.
3041 (mode-line-eol-desc, propertized-buffer-identification):
3042 Consistency fixes for help text.
cbe46e5f
CY
3043 (mode-line-coding-system-map): Allow using mouse-3 to invoke
3044 set-buffer-file-coding-system (Bug#289).
3045 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 3046
f2d6a3df
SM
30472012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
3048
3049 * simple.el (execute-extended-command): Set real-this-command
3050 (bug#11506).
3051
37269466
CY
30522012-06-02 Chong Yidong <cyd@gnu.org>
3053
3054 Remove incorrect uses of "modeline" in comments, docstrings, and
3055 function/variable names (Bug#10329).
3056
3057 * cus-edit.el (mode-line):
3058 * dframe.el (dframe-mouse-hscroll):
3059 * emacs-lisp/re-builder.el:
3060 * emacs-lisp/easy-mmode.el (define-minor-mode):
3061 * frame.el (set-frame-name):
3062 * help.el (lookup-minor-mode-from-indicator):
3063 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3064 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3065 (c-toggle-hungry-state):
3066 * progmodes/antlr-mode.el (antlr-language-alist):
3067 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3068 * progmodes/vhdl-mode.el (vhdl-mode):
3069 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3070 * term/ns-win.el (ns-face-at-pos):
3071 * term/sup-mouse.el (sup-mouse-report):
3072 * textmodes/flyspell.el (flyspell-mode-line-string):
3073 * textmodes/ispell.el (ispell-highlight-face):
3074 * textmodes/reftex-global.el:
3075 * vc/vc-arch.el (vc-arch-mode-line-string):
3076 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3077 * vc/vc-git.el (vc-git-mode-line-string):
3078 * vc/vc-hooks.el (vc-display-status)
3079 (vc-default-mode-line-string):
3080 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3081
3082 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3083
3084 * dired.el (dired-sort-set-mode-line): Rename from
3085 dired-sort-set-modeline. All callers changed.
3086
3087 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3088 eshell-status-in-modeline.
3089
3090 * foldout.el (foldout-mode-line-string): Rename from
3091 foldout-modeline-string. All callers changed.
3092 (foldout-update-mode-line): Rename from foldout-update-modeline.
3093
3094 * subr.el (redraw-modeline): Make into obsolete alias.
3095
3096 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3097 timeclock-modeline-display. Make old name an alias.
3098 (timeclock-update-mode-line): Likewise. All callers changed.
3099 (timeclock-mode-line-display): No need to check before using
3100 add-hook.
3101 (timeclock-relative, timeclock-day-over-hook)
3102 (timeclock-use-elapsed, timeclock-mode-string)
3103 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3104
3105 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3106 crisp-mode-modeline-string.
3107
3108 * play/solitaire.el (solitaire-build-mode-line): Rename from
3109 solitaire-build-modeline. All callers changed.
3110
3111 * play/zone.el (zone-hiding-mode-line): Rename from
3112 zone-hiding-modeline. All callers changed.
3113 (zone): Remove unusued `modeline-hidden-level' property.
3114
3115 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3116 xscheme-modeline-initialize. All callers changed.
3117
3118 * strokes.el (strokes-lighter): Rename from
3119 strokes-modeline-string.
3120
3121 * textmodes/sgml-mode.el (html-face-tag-alist)
3122 (html-tag-face-alist): Use mode-line face instead of obsolete
3123 alias modeline.
3124
42152ee4
SM
31252012-06-02 Stefan Merten <smerten@oekonux.de>
3126
3127 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3128 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3129
95f520b5
CY
31302012-06-02 Chong Yidong <cyd@gnu.org>
3131
3132 * image.el (imagemagick-enabled-types): Rename from
3133 imagemagick-types-enable. Add many more types.
3134 (imagemagick-types-inhibit): Change default to nil.
3135 (imagemagick-filter-types): Caller changed.
3136
4a5f187a
SM
31372012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3138
03fef3e6
SM
3139 * emacs-lisp/cl-macs.el: Use backquotes.
3140 (cl-transform-function-property): Use eval-and-compile rather than
3141 abusing `require'.
3142 (defstruct): Use declare-function instead of with-no-warnings.
3143
4a5f187a
SM
3144 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3145 (byte-compile-output-docform): Re-add the print-circle bindings.
3146 (byte-compile-fix-header): Use #$ just because it's shorter.
3147 (byte-compile-output-file-form): Remove defun/defmacro.
3148
bd56924f
MR
31492012-06-01 Martin Rudalics <rudalics@gmx.at>
3150
3151 * simple.el (choose-completion): Remove now obsolete binding for
3152 owindow.
3153
046e38ce
MA
31542012-06-01 Michael Albinus <michael.albinus@gmx.de>
3155
3156 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3157 in order to avoid "Stack overflow in regexp matcher".
3158
32d72c2f
GM
31592012-05-31 Glenn Morris <rgm@gnu.org>
3160
3161 * image.el: For clarity, call imagemagick-register-types at
3162 top-level, rather than relying on a custom :initialize.
3163 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3164 (imagemagick-filter-types): New function. (Bug#7406)
3165 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3166 If disabling support, remove elements altogether rather
3167 than using an impossible regexp.
3168 (imagemagick-types-inhibit): Give it the default init function.
3169
dd41169b
SM
31702012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3171
4a5f187a
SM
3172 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3173 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3174
efc00ab1 31752012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3176
3177 * desktop.el (desktop-read): Clear previous and next buffers for
3178 all windows and bury *Messages* buffer (bug#11556).
3179
500fcedc
SM
31802012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3181
3182 Add `declare' for `defun'. Align `defmacro's with it.
3183 * emacs-lisp/easy-mmode.el (define-minor-mode)
3184 (define-globalized-minor-mode): Don't autoload the var definitions.
3185 * emacs-lisp/byte-run.el: Use lexical-binding.
3186 (defun-declarations-alist, macro-declarations-alist): New vars.
3187 (defmacro, defun): Use them.
3188 (make-obsolete, define-obsolete-function-alias)
3189 (make-obsolete-variable, define-obsolete-variable-alias):
3190 Use `declare'.
3191 (macro-declaration-function): Mark obsolete.
3192 * emacs-lisp/autoload.el: Use lexical-binding.
3193 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3194
6e8a1786
AM
31952012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3196
3197 * textmodes/ispell.el (ispell-with-no-warnings):
3198 Define as a macro.
500fcedc
SM
3199 (ispell-kill-ispell, ispell-change-dictionary):
3200 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3201 `interactive-p'.
3202
61b108cc
SM
32032012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3204
3205 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3206 (macro-declaration-function): Move var from C code.
3207 (macro-declaration-function): Define function with defalias.
3208 * emacs-lisp/macroexp.el (macroexpand-all-1):
3209 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3210 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3211 defun/defmacro any more.
3212 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3213 Provide fallback for unknown arglist.
3214 (byte-compile-arglist-warn): Change calling convention.
3215 (byte-compile-output-file-form): Move print-vars binding.
3216 (byte-compile-output-docform): Simplify accordingly.
3217 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3218 (byte-compile-defmacro-declaration): Remove.
3219 (byte-compile-file-form-defmumble): Generalize to defalias.
3220 (byte-compile-output-as-comment): Return byte-positions.
3221 Simplify callers accordingly.
3222 (byte-compile-lambda): Use `assert'.
3223 (byte-compile-defun, byte-compile-defmacro): Remove.
3224 (byte-compile-file-form-defalias):
3225 Use byte-compile-file-form-defmumble.
3226 (byte-compile-defalias-warn): Remove.
3227
6d3f7c2f
SM
32282012-05-29 Stefan Merten <smerten@oekonux.de>
3229
3230 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3231 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3232
3233 (rst-mode-abbrev-table): Merge definition.
3234 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3235 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3236
6dbaa1c7
UJ
32372012-05-29 Ulf Jasper <ulf.jasper@web.de>
3238
3239 * calendar/icalendar.el
3240 (icalendar-export-region): Export UID properly.
3241
d209e2fb 32422012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3243 * calendar/icalendar.el (icalendar-import-format):
3244 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3245 (icalendar-import-format-uid): New.
3246 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3247 Export UID.
3248
6876a58d
SM
32492012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3250
3251 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3252 different alternative patterns.
3253 (pcase-codegen): Be more careful to preserve identity.
3254 (pcase--u1): Don't forget to mark vars as used.
3255
3256 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3257 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3258 (byte-compile-from-buffer): ...rather than here.
3259
3260 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3261 functions from byte-compile-function-environment.
3262
46b7967e
TN
32632012-05-29 Troels Nielsen <bn.troels@gmail.com>
3264
3265 * window.el (window-deletable-p): Avoid deleting the root window
3266 of a frame with an active minibuffer.
3267
69d565e2
MR
32682012-05-29 Martin Rudalics <rudalics@gmx.at>
3269
3270 * simple.el (choose-completion): Use quit-window (Bug#11567).
3271
a149fa51
CY
32722012-05-29 Chong Yidong <cyd@gnu.org>
3273
3274 * whitespace.el (whitespace-cleanup): Fix usage of
3275 whitespace-empty-at-bob-regexp (Bug#11492).
3276
2b311310
AH
32772012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3278
3279 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3280 revert (Bug#11488).
3281
b9cb2387
JL
32822012-05-29 Juri Linkov <juri@jurta.org>
3283
3284 * isearch.el (isearch-mode-map): Bind `M-s _' to
3285 `isearch-toggle-symbol'. Bind `M-s c' to
3286 `isearch-toggle-case-fold'.
3287 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3288 (isearch-forward): Add `M-s _' to the docstring.
3289 (isearch-forward-symbol, isearch-toggle-case-fold)
3290 (isearch-symbol-regexp): New functions. (Bug#11381)
3291
d5e61c1c
JL
32922012-05-29 Juri Linkov <juri@jurta.org>
3293
3294 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3295 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3296 a function, call it to get the regexp.
3297 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3298 property `isearch-message-prefix' instead of the string "word ".
3299 (isearch-search-fun-default): For the case of `isearch-word',
3300 return a lambda that calls re-search-forward/re-search-backward
3301 with a regexp returned by `word-search-regexp' or by the function
3302 in `isearch-word'.
3303
8cbd80f7
JL
33042012-05-29 Juri Linkov <juri@jurta.org>
3305
3306 * isearch.el (isearch-search-fun-default): New function.
3307 (isearch-search-fun): Move default part to the new function
3308 `isearch-search-fun-default'.
3309 (isearch-search-fun-function): Set the default value to
3310 `isearch-search-fun-default'. (Bug#11381)
3311
3312 * comint.el (comint-history-isearch-end):
3313 Use `isearch-search-fun-default'.
3314 (comint-history-isearch-search): Use `isearch-search-fun-default'
3315 and remove spacial case for `isearch-word'.
3316 (comint-history-isearch-wrap): Remove spacial case for
3317 `isearch-word'.
3318
3319 * hexl.el (hexl-isearch-search-function):
3320 Use `isearch-search-fun-default'.
3321
3322 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3323 Use `word-search-regexp' for `isearch-word'.
3324
3325 * misearch.el (multi-isearch-search-fun):
3326 Use `isearch-search-fun-default'.
3327
3328 * simple.el (minibuffer-history-isearch-search):
3329 Use `isearch-search-fun-default' and remove spacial case for
3330 `isearch-word'.
3331 (minibuffer-history-isearch-wrap): Remove spacial case for
3332 `isearch-word'.
3333
3334 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3335 Remove spacial case for `isearch-word'.
3336 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3337
85c8c5b6
AM
33382012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3339
3340 Decrease XEmacs incompatibilities.
3341 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3342 Use `string-match'.
3343 (flyspell-delete-region-overlays): Use alternative definition for
3344 XEmacs.
3345 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3346 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3347 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3348 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3349 `define-obsolete-face-alias' under XEmacs, but old method.
3350
3351 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3352 `with-no-warnings' definition or Emacs alias.
3353 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3354 (ispell-word): Do not use `region-p' if XEmacs.
3355
8cab9efc
AM
33562012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3357
3358 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3359 Check for `ispell-dictionary-base-alist' instead of full
3360 `ispell-dictionary-alist'.
3361 (ispell-init-process): Show spellchecker when starting new Ispell
3362 process.
3363
fda91268
RZ
33642012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3365
3366 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3367 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3368
694ea8e3
JB
33692012-05-27 Juanma Barranquero <lekktu@gmail.com>
3370
3371 * version.el (motif-version-string, gtk-version-string)
3372 (ns-version-string): Declare.
3373
e4d4f539
JL
33742012-05-27 Juri Linkov <juri@jurta.org>
3375
3376 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3377 after the `eval-defun-1' specialcaseing
3378 like in `edebug-eval-defun' (bug#10181).
3379
3380 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3381 like in `eval-defun-1'.
3382
33017faf 33832012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3384
fda91268
RZ
3385 * mail/sendmail.el (mail-yank-region):
3386 Recognize rmail-yank-current-message in addition to insert-buffer.
3387 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3388 a *mail* buffer created through rmail-start-mail with sendmail as
3389 mail-user-agent.
3390
33017faf
GM
33912012-05-27 Chong Yidong <cyd@gnu.org>
3392
3393 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3394 Default to 256 (Bug#11267).
3395
3396 * help.el (describe-mode): Doc fix.
3397
04188bb9
GM
33982012-05-26 Glenn Morris <rgm@gnu.org>
3399
38264cc9
GM
3400 * w32-fns.el (w32-init-info): Remove.
3401 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3402
eb7afdad
GM
3403 * info.el (info-initialize): For self-contained NS builds, put the
3404 included info/ directory at the front. (Bug#2791)
3405
04188bb9
GM
3406 * paths.el (Info-default-directory-list): Make it a defcustom,
3407 mainly so that we can use custom-initialize-delay.
3408
a179e3f7
SM
34092012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3410
43416392
SM
3411 * subr.el (buffer-has-markers-at): Mark obsolete.
3412
a179e3f7 3413 * subr.el (lambda): Use declare.
43416392 3414
a179e3f7
SM
3415 * emacs-lisp/lisp-mode.el (lambda):
3416 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3417
34a008d9
AH
34182012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3419
3420 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3421
0a3b289f
GM
34222012-05-26 Glenn Morris <rgm@gnu.org>
3423
3424 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3425
758c81e8
GM
34262012-05-25 Glenn Morris <rgm@gnu.org>
3427
f9f334f0
GM
3428 * paths.el: Remove no-byte-compile.
3429 * loadup.el: No need to load paths.el uncompiled.
3430
87eb79c2
GM
3431 * image.el (imagemagick-types-inhibit): Doc fix.
3432
758c81e8
GM
3433 * version.el: Remove no-byte-compile and associated formatting.
3434 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3435 is ancient code from when there was an "inc-vers.el".
3436
e7e85dc0
SM
34372012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3438
3439 * progmodes/gdb-mi.el: Minor style changes.
3440 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3441 Turn into minor modes.
3442 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3443 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3444 (gdb-shell): Remove unneeded let-binding.
3445 (gdb-get-many-fields): Eliminate O(n²) behavior.
3446
f31237a4
EZ
34472012-05-25 Eli Zaretskii <eliz@gnu.org>
3448
3449 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3450 platforms that don't link in fontset.c.
3451
bc1b21bb
JL
34522012-05-25 Juri Linkov <juri@jurta.org>
3453
3454 Use the same diff color scheme as in modern VCSes (bug#10181).
3455
3456 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3457 to avoid confusion with `diff-added' that now uses green colors.
3458 (diff-removed): Use shades of red.
3459 (diff-added): Use shades of green.
3460 (diff-changed): Leave just the yellow color.
3461 (diff-use-changed-face): New variable.
3462 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3463 how to highlight context diff changes.
3464 (diff-refine-change): Use shades of yellow.
3465 (diff-refine-removed): New face that uses shades of red.
3466 (diff-refine-added): New face that uses shades of green.
3467 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3468 `diff-refine-removed' in the call to `smerge-refine-subst'
3469 depending on the value of `diff-use-changed-face'.
3470
3471 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3472 (smerge-other): Use shades of green.
3473 (smerge-base): Use shades of yellow.
3474 (smerge-refined-change): Empty face.
3475 (smerge-refined-removed): New face that uses shades of red.
3476 (smerge-refined-added): New face that uses shades of green.
3477 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3478 args `props-r' and `props-a', and use them. Doc fix.
3479 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3480 on its value use different faces `smerge-refined-change',
3481 `smerge-refined-removed', `smerge-refined-added' in the call to
3482 `smerge-refine-subst'.
3483
3484 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3485 Add face condition `min-colors 88' with shades of red.
3486 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3487 `min-colors 88' with shades of green.
3488 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3489 `min-colors 88' with shades of yellow.
3490
6df9112c
GM
34912012-05-24 Glenn Morris <rgm@gnu.org>
3492
ead5edc0
GM
3493 * paths.el (prune-directory-list, remote-shell-program): Move to...
3494 * files.el (prune-directory-list, remote-shell-program): ...here.
3495 For the latter, delay initialization, prefer ssh, just search PATH.
3496
f18b81e6
GM
3497 * paths.el (term-file-prefix): Move to faces.el (the only user).
3498 * faces.el (term-file-prefix): Move here, make it a defcustom.
3499
ee2f89a6
GM
3500 * paths.el (news-directory, news-path, news-inews-program):
3501 Move to gnus/nnspool.el.
61a583ca 3502
f8815e4c
GM
3503 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3504
c8f3b42c
GM
3505 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3506 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3507 Make the latter a defcustom, with a delayed initialization.
3508
6df9112c
GM
3509 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3510 These were deleted from Gnus itself late 2010.
3511
5dadff36
JB
35122012-05-22 Juanma Barranquero <lekktu@gmail.com>
3513
9e1701c6
JB
3514 * progmodes/which-func.el (which-func-ff-hook):
3515 Check against user-error, not error.
3516
bd7239f5 3517 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3518 cl-specs.el, which no longer exists.
3519
3290526d
GM
35202012-05-22 Glenn Morris <rgm@gnu.org>
3521
3522 * info.el (info-emacs-bug): New command.
3523 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3524 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3525
ff0c3cfb
GM
35262012-05-21 Glenn Morris <rgm@gnu.org>
3527
3528 * makefile.w32-in (update-subdirs-SH):
3529 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3530
5814f126
SM
35312012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3532
a52c0aa0
SM
3533 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3534
5814f126
SM
3535 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3536 Simplify Maven regexp, and make sure the file can't start with a space
3537 (bug#11517).
3538
b847032c
GM
35392012-05-21 Glenn Morris <rgm@gnu.org>
3540
3541 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3542 Scrap superfluous subshells.
3543
3858bfe7
SM
35442012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3547 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3548
d14b0029
JB
35492012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3550
3551 * calc/calc.el (calc-ensure-consistent-units): New variable.
3552
a52c0aa0
SM
3553 * calc/calc-units.el (math-consistent-units-p)
3554 (math-check-unit-consistency): New functions.
3555 (calc-quick-units, calc-convert-units):
3556 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3557 is non-nil.
d14b0029
JB
3558 (calc-extract-units): Fix typo.
3559
60c4db3a
SM
35602012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3561
77f3b62e
SM
3562 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3563
60c4db3a
SM
3564 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3565 (flyspell-default-deplacement-commands): Don't spell check after
3566 repeated window/frame switches (e.g. triggered by mouse-movement).
3567 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3568 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3569 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3570 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3571 Remove unused vars.
3572 (flyspell-get-casechars, flyspell-get-not-casechars):
3573 Simplify; Don't bother removing a ] just to add it back.
3574 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3575
d209e2fb 35762012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3577
3578 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3579 New functions.
bd7239f5 3580 (math-function-table): Add support for more C functions.
b1a10716 3581
3f1b25b5
AM
35822012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3583
090bd7cb
JB
3584 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3585 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3586 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3587
b581bb5c
SM
35882012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3589
3590 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3591 their respective macro declarations.
3592 * skeleton.el (define-skeleton):
3593 * progmodes/compile.el (define-compilation-mode):
3594 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3595 (define-ibuffer-filter):
3596 * emacs-lisp/generic.el (define-generic-mode):
3597 * emacs-lisp/easy-mmode.el (define-minor-mode)
3598 (define-globalized-minor-mode):
3599 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3600 * emacs-lisp/byte-run.el (defsubst):
3601 * custom.el (deftheme): Add doc-string metadata.
3602
70b8ef8f
SM
36032012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3604
3605 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3606
b1198e17
SM
36072012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3608
9abdc45d
SM
3609 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3610
b1198e17
SM
3611 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3612 * emacs-lisp/cl-macs.el: Idem.
3613 * emacs-lisp/cl-specs.el: Remove.
3614
4735906a
SM
36152012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3616
3617 Minor renaming of internal CL functions and variables.
3618 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3619 (cl--position): Rename from cl-position.
3620 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3621 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3622 (cl--random-state): Rename from *random-state*.
3623
ac348012
SM
36242012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3625
3626 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3627 parens around the arg list (bug#11499).
3628
a0a79cde
JL
36292012-05-17 Juri Linkov <juri@jurta.org>
3630
3631 * isearch.el (word-search-regexp, word-search-backward)
3632 (word-search-forward, word-search-backward-lax)
3633 (word-search-forward-lax): Move functions from search.c
3634 (bug#10145, bug#11381).
3635
65034a51
AM
36362012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3637
090bd7cb
JB
3638 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3639 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3640 Delay for otherchars as for normal word components.
65034a51 3641
1a72a195
SM
36422012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3643
3644 * minibuffer.el (completion--sifn-requote): Fix last change.
3645 (minibuffer-local-must-match-filename-map):
3646 Move define-obsolete-variable-alias before its var.
3647
fdb058c2
SM
36482012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3649
c41045e6
SM
3650 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3651
036dfb8b
SM
3652 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3653 behavior.
3654 (completion--string-equal-p): New function.
3655 (completion--twq-all): Use it to get better assertion failure data.
3656
2473256d
SM
3657 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3658 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3659 (shell--requote-argument): New functions.
3660 (shell-completion-vars): Use them.
3661 (shell--parse-pcomplete-arguments): Rename from
3662 shell-parse-pcomplete-arguments.
3663 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3664 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3665 Obey comint-file-name-quote-list.
3666
fdb058c2
SM
3667 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3668 (smie-indent-keyword): Use it.
3669
51fa99f1
SM
36702012-05-14 Stefan Merten <smerten@oekonux.de>
3671
3672 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3673
e18afed7 36742012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3675
3676 * net/rlogin.el (rlogin-mode-map): Fix last change.
3677
e18afed7 36782012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3679
3680 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3681 the following \r\n using a single `process-send-string', since the
3682 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3683 with two `process-send-string's (Bug#11444).
8633b1f4 3684
e18afed7 36852012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3686
fdb058c2
SM
3687 * shell.el (shell-parse-pcomplete-arguments):
3688 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3689
2d21d7f6
WJ
36902012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3691
e18afed7 3692 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3693 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3694 (image-transform-width, image-transform-fit-width): New functions.
3695 (image-transform-properties): Use them.
3696 (image-transform-check-size): New function.
3697 (image-toggle-display-image): Use it (for testing).
3698 (image-transform-set-rotation): Reduce angle mod 360.
3699 Delete obsolete comment.
3700
7102e6d0
WJ
37012012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3702
3703 * image-mode.el: Fix scaling (bug#11399).
3704 (image-transform-resize): Doc fix.
3705 (image-transform-properties): Default scale is 1 and height should
3706 be an integer.
3707
06bc5e6e
SM
37082012-05-13 Johan Bockgård <bojohan@gnu.org>
3709
3710 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3711 than hard-coding `car', to fix misbehavior when moving forward.
3712
0ae03b6a
CY
37132012-05-13 Chong Yidong <cyd@gnu.org>
3714
3715 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3716 (tabulated-list-entries, tabulated-list-padding)
3717 (tabulated-list-sort-key): Make permanent-local.
3718
3719 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3720 (electric-buffer-list): Put electric buffer menu
3721 command descriptions in this docstring, instead of the docstring
3722 of electric-buffer-menu-mode. Code cleanups.
3723 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3724 Electric-buffer-menu-mode.
3725 (electric-buffer-update-highlight): Minor code cleanup.
3726
205a7391
MA
37272012-05-13 Michael Albinus <michael.albinus@gmx.de>
3728
3729 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3730 (Bug#11447)
3731
e5bd0a28
SM
37322012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3733
3734 Move define-obsolete-variable-alias before the var's definition.
3735 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3736 * tooltip.el (tooltip-hook):
3737 * textmodes/reftex-toc.el (reftex-toc-map):
3738 * textmodes/reftex-sel.el (reftex-select-label-map)
3739 (reftex-select-bib-map):
3740 * textmodes/reftex-index.el (reftex-index-map)
3741 (reftex-index-phrases-map):
3742 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3743 * progmodes/meta-mode.el (meta-mode-map):
3744 * novice.el (disabled-command-hook):
3745 * loadhist.el (unload-hook-features-list):
3746 * frame.el (blink-cursor):
3747 * files.el (find-file-not-found-hooks, write-file-hooks)
3748 (write-contents-hooks):
3749 * emulation/tpu-edt.el (GOLD-map):
3750 * emacs-lock.el (emacs-lock-from-exiting):
3751 * emacs-lisp/generic.el (generic-font-lock-defaults):
3752 * emacs-lisp/chart.el (chart-map):
3753 * dos-fns.el (register-name-alist):
3754 * dired-x.el (dired-omit-files-p):
3755 * desktop.el (desktop-enable):
3756 * cus-edit.el (custom-mode-hook):
3757 * buff-menu.el (buffer-menu-mode-hook):
3758 * bookmark.el (bookmark-read-annotation-text-func)
3759 (bookmark-exit-hooks):
3760 * allout.el (allout-mode-deactivate-hook)
3761 (allout-exposure-change-hook, allout-structure-added-hook)
3762 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3763 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3764 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3765 comes before the corresponding variable's definition.
3766
ac59c2f6
CY
37672012-05-12 Chong Yidong <cyd@gnu.org>
3768
3769 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3770 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3771 (Buffer-menu-mode-map): Bind it.
3772 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3773
dee6c9a3
SM
37742012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3775
2171cea5
SM
3776 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3777 (prolog-upper-case-string, prolog-lower-case-string)
3778 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3779 (prolog-use-smie, prolog-smie-grammar): New vars.
3780 (prolog-smie-forward-token, prolog-smie-backward-token)
3781 (prolog-smie-rules): New funs.
3782 (prolog-comment-indent): Remove.
3783 (prolog-mode-variables): Use default comment indentation instead.
3784 Setup SMIE.
3785 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3786 (prolog-mode): Don't call them any more.
3787 (prolog-electric-colon, prolog-electric-dash)
3788 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3789
aa0382bd
SM
3790 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3791
dbacb4bd
SM
3792 * minibuffer.el (completion--twq-all): Again, allow case differences.
3793
13bdd94c
SM
3794 * term.el: Move keymap initialization code to be more idiomatic.
3795 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3796 (term-terminal-menu): Move initialization into declaration.
3797 (term-escape-char): Let the user set it in her .emacs.
3798
ff46c759
SM
3799 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3800 Provide SMIE-based indentation (not enabled by default yet).
3801 (sh-mode-map): Don't bind electric keys.
3802 Use electric-pair-mode instead of skeleton-pair.
3803 (sh-assignment-regexp): Fit within 80 columns.
3804 (sh-indent-supported): Specify actual shell name instead of boolean.
3805 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3806 (sh-maybe-here-document): Use it. Make obsolete.
3807 (sh-electric-here-document-mode) New minor mode.
3808 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3809 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3810 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3811 (sh-smie-rc-grammar, sh-use-smie): New vars.
3812 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3813 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3814 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3815 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3816 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3817 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3818 (sh-set-shell): Use smie-setup if requested.
3819
dee6c9a3
SM
3820 * term.el (term-set-escape-char): Properly set term-escape-char.
3821 See http://stackoverflow.com/questions/10524656.
3822
9f9aa044
CY
38232012-05-10 Chong Yidong <cyd@gnu.org>
3824
3825 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3826 Use url-generic-parse-url, and handle host names and Windows
3827 filenames properly.
3828 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3829 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3830 URL schemes to work on.
3831 (ffap--toggle-read-only): New function.
3832 (ffap-read-only, ffap-read-only-other-window)
3833 (ffap-read-only-other-frame): Use it.
3834 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3835 necessary for ffap-url-unwrap-remote.
3836
836d29b3
DA
38372012-05-10 Dave Abrahams <dave@boostpro.com>
3838
3839 * cus-start.el (create-lockfiles): Add it.
3840
00fd78ed
CY
38412012-05-09 Chong Yidong <cyd@gnu.org>
3842
3843 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3844 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3845
666b903b 38462012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3847
3848 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3849
666b903b 38502012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3851
3852 * ansi-color.el (ansi-color-process-output): Check for validity of
3853 comint-last-output-start before using it. This avoids a bad
3854 interaction with gdb-mi's input/output buffer.
3855
666b903b 38562012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3857
3858 * files.el (dir-locals-read-from-file):
3859 Mention dir-locals in any error message.
3860
666b903b 38612012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3862
3863 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3864 package (Bug#11410).
3865
f677562b
CY
3866 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3867 variables into description.
3868
666b903b 38692012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3870
3871 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3872 shell-delimiter-argument-list (bug#11348).
3873 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3874
b499d8d0
JB
38752012-05-09 Juanma Barranquero <lekktu@gmail.com>
3876
8f6b6da8
JB
3877 * textmodes/rst.el: Silence byte-compiler warnings.
3878 (rst-re-alist, rst-reset-section-caches): Move around.
3879 (rst-re): Use `characterp', not `char-valid-p'.
3880 (font-lock-beg, font-lock-end): Declare.
3881
4824146a
JB
3882 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3883 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3884
b499d8d0
JB
3885 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3886
ad89bb83
GM
38872012-05-08 Glenn Morris <rgm@gnu.org>
3888
3889 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3890
8bba5a75
SM
38912012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3892
49ed9c8e
SM
3893 * vc/log-edit.el: Add GNU coding standards highlighting.
3894 (log-edit-font-lock-gnu-style)
3895 (log-edit-font-lock-gnu-keywords): New vars.
3896 (log-edit-font-lock-keywords): New fun.
3897 (log-edit-mode): Don't fold case in font-lock.
3898 (log-edit-font-lock-keywords): Do not assume case-folding.
3899
07d00b56
SM
3900 * imenu.el: Misc cleanup. Make docstrings out of comments.
3901 Use lexical-binding.
3902 (imenu--index-alist, imenu--last-menubar-index-alist)
3903 (imenu-menubar-modified-tick): Use defvar-local.
3904 (imenu--split-menu): Remove unused var.
3905 (imenu--cleanup-seen): Declare as global.
3906 (imenu--cleanup): Use dolist.
3907
8bba5a75
SM
3908 * subr.el (defvar-local): Add debug spec and doc-string position.
3909
5075bdb5
GM
39102012-05-08 Glenn Morris <rgm@gnu.org>
3911
090bd7cb 3912 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3913 * language/english.el, language/georgian.el, language/greek.el:
3914 * language/japanese.el, language/khmer.el, language/korean.el:
3915 * language/lao.el, language/misc-lang.el, language/romanian.el:
3916 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3917 * language/thai.el, language/utf-8-lang.el:
3918 Remove no-byte-compile setting.
3919
5075bdb5
GM
3920 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3921
06f679a7
AH
39222012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3923
3924 * progmodes/make-mode.el (makefile-browse):
3925 Remove unnecessary interactive. (Bug#11324)
3926
03794570
GM
39272012-05-07 Glenn Morris <rgm@gnu.org>
3928
af8630f4
GM
3929 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3930
03794570
GM
3931 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3932
f0809a9d
SM
39332012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3934
28be5ce7
SM
3935 * loadup.el: Preload newcomment.el.
3936 * newcomment.el: Move autoload-only code to toplevel.
3937
f0809a9d
SM
3938 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3939 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3940 Handle new :right-align column property.
3941 (tabulated-list-print-col): Idem, plus use `display' text-property to
3942 try and preserve alignment for variable pitch fonts.
3943
1241b724
CY
39442012-05-07 Chong Yidong <cyd@gnu.org>
3945
3946 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3947 (tabulated-list-use-header-line): New var.
3948 (tabulated-list-init-header): Use it.
3949 (tabulated-list-print-fake-header): New function.
3950 (tabulated-list-print): Use it.
3951 (tabulated-list-sort-button-map): Add non-header-line commands.
3952 (tabulated-list-init-header): Add column name property to basic
3953 labels as well.
3954 (tabulated-list-col-sort): Handle non-header-line button case.
3955 (tabulated-list--sort-by-column-name): Fix a corner case.
3956
f0809a9d
SM
3957 * buff-menu.el (list-buffers--refresh):
3958 Handle Buffer-menu-use-header-line.
1241b724 3959
e5f9458f
CY
39602012-05-06 Chong Yidong <cyd@gnu.org>
3961
3962 * buff-menu.el: Convert to Tabulated List mode.
3963 (Buffer-menu-buffer+size-width): Make obsolete.
3964 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3965 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3966 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3967 documentation into docstring of buffer-menu.
3968 (Buffer-menu-toggle-files-only): Add an informative message.
3969 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3970 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3971 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3972 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3973 (Buffer-menu-execute, Buffer-menu-select)
3974 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3975 (Buffer-menu-bury): Use Tabulated List machinery.
3976 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3977 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3978 Delete.
e5f9458f
CY
3979 (list-buffers--refresh): New function.
3980 (list-buffers-noselect): Use it.
3981 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3982 (Buffer-menu--pretty-file-name): New helper functions.
3983
3984 * loadup.el: Preload tabulated-list.
3985
3986 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3987 tabulated-list-sort-column.
3988 (tabulated-list-init-header): Add the initial aligning space even
3989 if tabulated-list-padding is zero.
3990
e129292c
CS
39912012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3992
3993 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3994 whose cdr is not a cons cell correctly (bug#11038).
3995
6632d361
CY
39962012-05-06 Chong Yidong <cyd@gnu.org>
3997
e129292c
CS
3998 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3999 Accept additional plist in column descriptors.
6632d361
CY
4000 (tabulated-list-init-header): Obey it.
4001 (tabulated-list-get-entry): New function.
4002 (tabulated-list-put-tag): Use it. Use string-width instead of
4003 length.
4004 (tabulated-list--column-number): New function.
4005 (tabulated-list-print): Use it.
e129292c
CS
4006 (tabulated-list-print-col): New function.
4007 Set `tabulated-list-column-name' property on each column's text.
6632d361 4008 (tabulated-list-print-entry): Use it.
e129292c
CS
4009 (tabulated-list-delete-entry, tabulated-list-set-col):
4010 New functions.
6632d361
CY
4011 (tabulated-list-sort-column): New command (Bug#11337).
4012
3cc99f68
CY
4013 * buff-menu.el (list-buffers): Move C-x C-b binding from
4014 buff-menu.el to bindings.el.
4015
4016 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
4017 :advertised-binding feature.
4018
52b61776
TN
40192012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
4020
4021 * progmodes/compile.el (compilation-internal-error-properties):
4022 Calculate start position correctly when end-col is set but
4023 end-line is not (Bug#11382).
4024
ebfe2597
WJ
40252012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
4026
4027 * man.el (Man-unindent): Use text-property-default-nonsticky to
4028 prevent untabify from inheriting face properties (Bug#11408).
4029
6d3f7c2f
SM
40302012-05-05 Stefan Merten <smerten@oekonux.de>
4031
4032 * textmodes/rst.el: Major merge with upstream development up to
4033 Docutils SVN r7399 / rst.el V1.2.1.
4034
4035 Clarify maintainership and authors.
4036
4037 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
4038 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
4039 (rst-official-version, rst-official-cvs-rev, rst-version)
4040 (rst-package-emacs-version-alist): New functions and variables
4041 for version information.
4042
4043 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
4044 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
4045 (rst-mode-syntax-table, rst-mode): New and corrected functions
4046 and variables representing reStructuredText features.
4047
4048 (rst-re): New function for reStructuredText regexes. Use in
4049 many places.
4050
4051 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4052 (rst-mode-map): Rebind keys.
4053
4054 (rst-mode-lazy, rst-font-lock-keywords)
4055 (rst-font-lock-extend-region)
4056 (rst-font-lock-extend-region-internal)
4057 (rst-font-lock-extend-region-extend)
4058 (rst-font-lock-find-unindented-line-limit)
4059 (rst-font-lock-find-unindented-line-match)
4060 (rst-adornment-level, rst-font-lock-adornment-level)
4061 (rst-font-lock-adornment-match)
4062 (rst-font-lock-handle-adornment-pre-match-form)
4063 (rst-font-lock-handle-adornment-matcher): Major revision of
4064 font-locking. Integrate with other code. Use `jit-lock-mode'.
4065
4066 (rst-preferred-adornments, rst-adjust-hook)
4067 (rst-new-adornment-down, rst-preferred-bullets)
4068 (rst-preferred-bullets, rst-indent, rst-indent-width)
4069 (rst-indent-field, rst-indent-literal-normal)
4070 (rst-indent-literal-minimized, rst-indent-comment): Change,
4071 extend and improve customization.
4072
4073 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4074 (rst-normalize-cursor-position, rst-get-decoration)
4075 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4076 (rst-rstrip, rst-toc-insert-find-delete-contents)
4077 (rst-shift-fill-region, rst-compute-bullet-tabs)
4078 (rst-debug-print-tabs, rst-debug-mark-found)
4079 (rst-shift-region-guts, rst-shift-region-right)
4080 (rst-shift-region-left, rst-use-char-classes)
4081 (rst-font-lock-keywords-function)
4082 (rst-font-lock-indentation-point)
4083 (rst-font-lock-find-unindented-line-begin)
4084 (rst-font-lock-find-unindented-line-end)
4085 (rst-font-lock-find-unindented-line)
4086 (rst-font-lock-adornment-point, rst-font-lock-level)
4087 (rst-adornment-level-alist): Remove functions and variables.
4088
4089 (rst-compare-adornments, rst-get-adornment-match)
4090 (rst-suggest-new-adornment, rst-get-adornments-around)
4091 (rst-adornment-complete-p, rst-get-next-adornment)
4092 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4093 (rst-straighten-adornments): Standardize function names to
4094 use "adornment" instead of "decoration". Correct callers.
4095 Similar standardizing in many places.
4096
4097 (rst-update-section, rst-adjust, rst-promote-region)
4098 (rst-enumerate-region, rst-bullet-list-region)
4099 (rst-repeat-last-character): Correct use of `interactive'.
4100
4101 (rst-classify-adornment, rst-find-all-adornments)
4102 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4103 (rst-find-leftmost-column, rst-repeat-last-character):
4104 Refactor functions.
4105
4106 (rst-find-title-line, rst-reset-section-caches)
4107 (rst-get-adornments-around, rst-adjust-adornment-work)
4108 (rst-arabic-to-roman, rst-roman-to-arabic)
4109 (rst-insert-list-pos, rst-insert-list-new-item)
4110 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4111 New functions.
4112
4113 (rst-all-sections, rst-section-hierarchy)
4114 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4115 New variables.
4116
4117 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4118 configuration instead of only buffer. Change where necessary.
4119
4120 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4121 (rst-shift-region, rst-adaptive-fill): New functions for
4122 indentation and filling.
4123
4124 (rst-comment-line-break, rst-comment-indent)
4125 (rst-comment-insert-comment, rst-comment-region)
4126 (rst-uncomment-region): New functions for handling comments.
4127
4128 (rst-compile): Quote shell arguments.
4129
4130 (rst-compile-pdf-preview, rst-compile-slides-preview):
4131 Delete temporary files after use.
4132
a43f98b3
GM
41332012-05-05 Glenn Morris <rgm@gnu.org>
4134
48176e8b
GM
4135 * calendar/cal-html.el: Optionally include holidays in the output.
4136 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4137 (cal-html-holidays): New option.
4138 (cal-html-css-default): Add holiday entry.
4139 (holiday-in-range): Autoload it.
4140 (cal-html-htmlify-entry): Add optional class argument.
4141 (cal-html-htmlify-list): Add optional holidays argument.
4142 (cal-html-insert-agenda-days): Include holidays in the output.
4143 (cal-html-one-month): Maybe include holidays.
4144
a43f98b3
GM
4145 * calendar/holidays.el (holiday-in-range):
4146 Move here from cal-tex-list-holidays.
4147 * calendar/cal-tex.el (cal-tex-list-holidays):
4148 Make it an obsolete alias for holiday-in-range. Update all callers.
4149
fef9d149 41502012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4151
4152 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4153 Nextstep.
4154
248da2f4
RW
41552012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4156
4157 * files.el (file-auto-mode-skip): New var.
4158 (set-auto-mode-1): Use it.
4159
f95e9344
SM
41602012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4161
df96ab1e
SM
4162 * repeat.el: Use lexical-binding.
4163 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4164 (repeat-undo-count): Remove.
4165 (repeat):
4166 * progmodes/octave-mod.el (octave-abbrev-start):
4167 * progmodes/f90.el (f90-abbrev-start):
4168 * face-remap.el (text-scale-adjust):
4169 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4170
5342bb06
SM
4171 * emacs-lisp/pcase.el (pcase--let*): New function.
4172 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4173 a bit more.
4174 (pcase--split-pred): Be more clever about ruling out overlap between
4175 a predicate and some constant pattern.
4176 (pcase--q1): Use `null' instead of (eq foo nil).
4177
f95e9344
SM
4178 * subr.el (setq-local, defvar-local): New macros.
4179 (kbd): Redefine as an alias.
4180 (with-selected-window): Leave unrelated frames alone.
4181 (set-temporary-overlay-map): New function.
4182
71873e2b
SM
41832012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4184
4185 * subr.el (user-error): New function.
4186 * window.el (switch-to-buffer):
4187 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4188 (smerge-match-conflict):
4189 * simple.el (previous-matching-history-element)
4190 (next-matching-history-element, goto-history-element, undo-more)
4191 (undo-start):
4192 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4193 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4194 (next-file, tags-loop-scan, list-tags, complete-tag):
4195 * progmodes/compile.el (compilation-loop):
4196 * mouse.el (mouse-minibuffer-check):
4197 * man.el (Man-bgproc-sentinel, Man-goto-page):
4198 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4199 (Info-history-forward, Info-follow-reference, Info-menu)
4200 (Info-extract-menu-item, Info-extract-menu-counting)
4201 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4202 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4203 (Info-next-reference, Info-prev-reference, Info-index)
4204 (Info-index-next, Info-follow-nearest-node)
4205 (Info-copy-current-node-name):
4206 * imenu.el (imenu--make-index-alist)
4207 (imenu-default-create-index-function, imenu-add-to-menubar):
4208 * files.el (basic-save-buffer, recover-file):
4209 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4210 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4211 (checkdoc-message-text, checkdoc-defun):
4212 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4213 * cus-edit.el (customize-changed-options, customize-rogue)
4214 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4215 (custom-variable-mark-to-reset-standard)
4216 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4217 (custom-file):
4218 * completion.el (check-completion-length):
4219 * comint.el (comint-search-arg)
4220 (comint-previous-matching-input-string-position)
4221 (comint-previous-matching-input)
4222 (comint-replace-by-expanded-history-before-point, comint-send-input)
4223 (comint-copy-old-input, comint-backward-matching-input)
4224 (comint-goto-process-mark, comint-set-process-mark):
4225 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4226 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4227
8a61ee22
SM
42282012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4229
66408d1e
SM
4230 * dabbrev.el (dabbrev--ignore-case-p): New function.
4231 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4232 Use it.
4233
8a61ee22
SM
4234 * files.el (automount-dir-prefix): Mark as obsolete.
4235
3c74813a
GM
42362012-05-04 Glenn Morris <rgm@gnu.org>
4237
4238 * patcomp.el, play/bruce.el: Move to obsolete/.
4239
0bfcf5c5
PE
42402012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4241
4242 Fix minor Y10k bugs.
4243 * arc-mode.el (archive-unixdate):
4244 * autoinsert.el (auto-insert-alist):
4245 * calc/calc-forms.el (math-this-year):
4246 * emacs-lisp/copyright.el (copyright-current-year)
4247 (copyright-update-year, copyright):
4248 * tar-mode.el (tar-clip-time-string):
4249 * time.el (display-time-update):
4250 Don't assume years have 4 digits.
4251
78f3273a
CY
42522012-05-04 Chong Yidong <cyd@gnu.org>
4253
4254 * dos-w32.el (file-name-buffer-file-type-alist)
4255 (direct-print-region-use-command-dot-com):
4256 * ffap.el (ffap-menu-regexp):
4257 * find-file.el (ff-special-constructs):
4258 * follow.el (follow-debug):
4259 * forms.el (forms--debug):
4260 * iswitchb.el (iswitchb-all-frames):
4261 * ido.el (ido-all-frames):
4262 * emacs-lisp/timer.el (timer-max-repeats):
4263 * mail/feedmail.el (feedmail-mail-send-hook)
4264 (feedmail-mail-send-hook-queued):
4265 * mail/footnote.el (footnote-signature-separator):
4266 * mail/mailabbrev.el (mail-alias-separator-string)
4267 (mail-abbrev-mode-regexp):
4268 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4269 * progmodes/idlwave.el (idlwave-libinfo-file)
4270 (idlwave-default-completion-case-is-down)
4271 (idlwave-library-routines): Convert defvars to defcustoms.
4272
4273 * mail/rmail.el (rmail-decode-mime-charset):
4274 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4275 (idlwave-shell-fix-inserted-breaks)
4276 (idlwave-shell-activate-alt-keybindings)
4277 (idlwave-shell-use-breakpoint-glyph):
4278 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4279
f7ae6719
SM
42802012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4281
4282 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4283
47086495
WS
42842012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4285
4286 * progmodes/verilog-mode.el (font-lock-keywords):
4287 Fix mis-highligting auto. Reported by Craig Barner.
4288 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4289 defines from global name space. Reported by Dan Dever.
4290 (verilog-auto-reset, verilog-auto-reset-widths)
4291 (verilog-auto-tieoff): Support using unbased numbers for
4292 AUTORESET and AUTOTIEOFF.
4293 (verilog-submit-bug-report): Update variable list.
4294 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4295 parenthesis from not matching. Reported by Michael Rytting.
4296 (verilog-auto-template-lint): Fix hash error when linting modules
4297 with no used templates.
4298 (verilog-warn, verilog-warn-error)
4299 (verilog-warn-fatal): When non-interactive report multiple
4300 warnings before exiting. Suggested by Brad Dobbie.
4301 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4302 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4303 to report unused template errors. Reported by Brad Dobbie.
4304 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4305 nets, bug438. Reported by Vns Blore.
4306 (verilog-auto-inout-module, verilog-auto-reg)
4307 (verilog-read-decls, verilog-read-sub-decls-sig)
4308 (verilog-signals-edit-wire-reg, verilog-signals-with):
4309 Fix passing of Verilog data types in ANSI input/output ports
4310 such as "output logic" into the AUTOs. Special case "wire" and
4311 "reg" for backwards compatibility presuming Verilog 2001.
4312 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4313 (verilog-preprocess): Fix replication of preprocess output.
4314 Reported by Brad Dobbie.
4315 (verilog-auto-inst-interfaced-ports):
4316 Create verilog-auto-inst-interfaced-ports, bug429.
4317 Reported by Julian Gorfajn.
4318 (verilog-after-save-font-hook)
4319 (verilog-before-save-font-hook): New variable.
4320 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4321 (verilog-save-font-mods): Wrap disabling fontification, reported
4322 by David Rogoff.
4323 (verilog-do-indent, verilog-pretty-declarations-auto)
4324 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4325 Reported by Pierre-David Pfister.
4326 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4327 of class declarations, bug292. Reported by Kevin Heilman.
4328 (verilog-read-decls): Fix 'parameter type' not appearing in
4329 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4330 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4331 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4332 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4333 Reported by David Kravitz.
4334
43352012-05-03 Michael McNamara <mac@mail.brushroad.com>
4336
4337 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4338 assignment with tests in ifs and for loops.
4339 (verilog-extended-complete-re, verilog-complete-reg): Change so
4340 that DPI inport functions don't look like fuction declarations.
4341 (verilog-pretty-expr): Don't line up assignment
4342 operations to the test and increment in if and for loops
4343 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4344 that DPI inport functions don't look like fuction declarations.
47086495 4345
2e51d4b5
KH
43462012-05-03 Kenichi Handa <handa@m17n.org>
4347
4348 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4349 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4350 (Bug#11282).
4351
2bd785a2
SM
43522012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4353
4354 * emacs-lisp/bytecomp.el
4355 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4356 since cconv.el might have introduced :fun-body, internal-make-closure,
4357 and friends for bytecomp to handle (bug#11391).
4358 * custom.el (defcustom): Avoid ((λ ..) ..).
4359
99d27583
SM
43602012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4361
4362 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4363
55a71479
JB
43642012-05-02 Juanma Barranquero <lekktu@gmail.com>
4365
4366 * notifications.el (dbus-debug):
4367 * term/linux.el (gpm-mouse-enable):
4368 * term/screen.el (xterm-register-default-colors): Declare.
4369
7b97c764
CY
43702012-05-02 Chong Yidong <cyd@gnu.org>
4371
2bc356d7
CY
4372 * cus-start.el (gc-cons-percentage, exec-suffixes)
4373 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4374 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4375 (make-cursor-line-fully-visible, void-text-area-pointer)
4376 (font-list-limit): Add customization data.
4377
7b97c764
CY
4378 * allout.el (allout-exposure-change-functions)
4379 (allout-structure-added-functions)
4380 (allout-structure-deleted-functions)
4381 (allout-structure-shifted-functions): Rename abnormal hooks from
4382 *-hook, and convert to defcustoms.
5d3385a0
JB
4383 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4384 Convert to defcustoms.
7b97c764
CY
4385 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4386
4387 * allout-widgets.el: Hook callers changed.
4388
90207a15 43892012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4390
4391 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4392 the yanked message in preference to the default value of
4393 buffer-file-coding-system.
4394
90207a15 43952012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4396
5d3385a0
JB
4397 * window.el (display-buffer--action-function-custom-type):
4398 Fix entry.
d9558cad 4399
90207a15 44002012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4401
4402 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4403
d80ac57b
GM
44042012-05-01 Glenn Morris <rgm@gnu.org>
4405
976f7668
GM
4406 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4407
beb83b5a
GM
4408 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4409
d80ac57b
GM
4410 * cus-edit.el (custom-variable-documentation): Simplify with format.
4411
b593d6a9 44122012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4413 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4414
4415 * simple.el (suggest-key-bindings, execute-extended-command):
4416 Move from keyboard.c.
4417
782fbf2a
CY
44182012-05-01 Chong Yidong <cyd@gnu.org>
4419
4420 * follow.el: Eliminate advice.
4421 (set-process-filter, process-filter, sit-for): Advice deleted.
4422 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4423 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4424 Vars deleted.
782fbf2a
CY
4425 (follow-auto): Use a :set function.
4426 (follow-mode): Rewritten. Don't advise process filters.
4427 (follow-switch-to-current-buffer-all, follow-scroll-up)
4428 (follow-scroll-down): Assume follow-mode is bound.
4429 (follow-comint-scroll-to-bottom)
4430 (follow-align-compilation-windows): New functions.
4431 (follow--window-sorter): New function.
4432 (follow-all-followers): Use it to explicitly sort windows by their
4433 positions; don't make assumptions about next-window order.
4434 (follow-windows-start-end, follow-delete-other-windows-and-split)
4435 (follow-calc-win-start): Doc fix.
4436 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4437 vertical-motion unnecessarily.
4438 (follow-adjust-window): New function.
4439 (follow-post-command-hook): Use it.
4440 (follow-call-set-process-filter, follow-call-process-filter)
4441 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4442 (follow-stop-intercept-process-output, follow-generic-filter):
4443 Functions deleted.
4444 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4445 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4446 New functions, replacing advice on scroll-bar-* commands.
87233a14 4447 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4448
4449 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4450 (comint-postoutput-scroll-to-bottom): Use it.
4451 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4452
290af740
GM
44532012-05-01 Glenn Morris <rgm@gnu.org>
4454
4455 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4456 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4457 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4458 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4459 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4460 Remove no-byte-compile setting.
4461
6eac8dc9
SM
44622012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4463
4464 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4465 all-completions code to not return a number in the last cdr.
4466
9cc7819c
LL
44672012-04-30 Leo Liu <sdl.web@gmail.com>
4468
4469 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4470 read-only error.
4471
c93b886f
CY
44722012-04-29 Chong Yidong <cyd@gnu.org>
4473
4474 * follow.el (follow-calc-win-end): Rewrite to handle partial
4475 screen lines correctly (Bug#8390).
4476 (follow-avoid-tail-recenter): Minor cleanup.
4477
8b6c19f4
SM
44782012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4479
4480 Avoid the obsolete `assoc' package.
4481 * speedbar.el (speedbar-refresh): Avoid adelete.
4482 (speedbar-file-lists): Simplify and avoid aput.
4483 * man.el (Man--sections, Man--refpages): New vars, replacing
4484 Man-sections-alist and Man-refpages-alist.
4485 (Man-build-section-alist, Man-build-references-alist):
4486 Use them; avoid aput.
4487 (Man--last-section, Man--last-refpage): New vars.
4488 (Man-follow-manual-reference): Use them.
4489 Use the `default' arg of completing-read.
4490 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4491
c5bb7569
CY
44922012-04-27 Chong Yidong <cyd@gnu.org>
4493
d1d2e2e8
CY
4494 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4495
15cd8efd
CY
4496 * startup.el (x-apply-session-resources): New function.
4497
4498 * term/ns-win.el (ns-initialize-window-system):
4499 * term/w32-win.el (w32-initialize-window-system):
4500 * term/x-win.el (x-initialize-window-system): Use it to properly
4501 set menu-bar-mode and other vars from X resources, even if the
4502 initial frame is not a window-system frame (Bug#2299).
4503
c5bb7569
CY
4504 * subr.el (read-key): Avoid running filter function when setting
4505 up temporary tool bar entries (Bug#9922).
4506
a8e7d6d7 45072012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4508
4509 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4510 (Bug#11344)
4511
a8e7d6d7 45122012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4513
4514 * select.el (xselect--encode-string): New function, split from
4515 xselect-convert-to-string.
4516 (xselect-convert-to-string): Use it.
4517 (xselect-convert-to-filename, xselect-convert-to-os)
4518 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4519 returned strings are properly encoded (Bug#11315).
4520
a8e7d6d7 45212012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4522
4523 * simple.el (delete-active-region): Move to killing custom group.
4524
a8e7d6d7 45252012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4526
4527 * progmodes/which-func.el (which-func-current): Quote %
4528 characters for mode-line processing.
4529
578c1d4b 45302012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4531
4532 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4533 reaching eob (Bug#11286).
4534
a8e7d6d7 45352012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4536
4537 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4538 (gdb): Make it buffer-local and init to zero.
4539 (gdb-control-commands-regexp): New variable.
4540 (gdb-send): Don't wrap in "-interpreter-exec console" if
4541 gdb-control-level is positive. Increment gdb-control-level
4542 whenever the command matches gdb-control-commands-regexp, and
4543 decrement it each time the command is "end". (Bug#11279)
4544
a8e7d6d7 45452012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4546
4547 * window.el (adjust-window-trailing-edge, enlarge-window)
4548 (shrink-window, window-resize):
4549 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4550 windows (Bug#11276).
4551
b3608390
CY
45522012-04-27 Chong Yidong <cyd@gnu.org>
4553
4554 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4555 fix "missing prefix" warning. All callers changed.
b3608390 4556
797e6e88
SM
45572012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4558
4559 * emacs-lisp/assoc.el: Move to obsolete/.
4560
e95a67dc
SM
45612012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4562
657c21e4 4563 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4564
4565 * term/ns-win.el (ns-define-service):
4566 * progmodes/pascal.el (pascal-goto-defun):
4567 * progmodes/js.el (js--read-tab):
4568 * progmodes/etags.el (tags-lazy-completion-table):
4569 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4570 * emacs-lisp/ewoc.el (ewoc--wrap):
4571 * emacs-lisp/assoc.el (aput, adelete, amake):
4572 * doc-view.el (doc-view-convert-current-doc):
4573 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4574
cb3e7ae0
CY
45752012-04-26 Chong Yidong <cyd@gnu.org>
4576
dce04f7f
CY
4577 * image.el (image-type-from-buffer): Only return supported image
4578 type (Bug#9045).
4579
cb3e7ae0
CY
4580 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4581 value, for symmetry with diff-end-of-hunk.
4582 (diff-split-hunk, diff-find-source-location)
4583 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4584 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4585 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4586 compute the relevant hunk or file properly (Bug#6005).
4587 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4588
0d42eb3e
SM
45892012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4590
4591 * vc/vc-mtn.el:
4592 * vc/vc-hg.el:
4593 * vc/vc-git.el:
4594 * vc/vc-dir.el:
4595 * vc/vc-cvs.el:
4596 * vc/vc-bzr.el:
4597 * vc/vc-arch.el:
4598 * vc/vc.el: Replace lexical-let by lexical-binding.
4599 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4600 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4601 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4602
f08ae1c9
CY
46032012-04-26 Chong Yidong <cyd@gnu.org>
4604
8b71081d
CY
4605 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4606 (diff-mode-shared-map): Bind it to / and [remap undo].
4607
f08ae1c9
CY
4608 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4609 (ediff-window-setup-function): Use it as the default, to set up
4610 windows based on whether the current frame is graphical (Bug#2138).
4611 (ediff-choose-window-setup-function-automatically): Make obsolete.
4612
4613 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4614
ef24141c
SM
46152012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4616
cc356a5d
SM
4617 * ffap.el: Remove old code for obsolete package.
4618 (ffap-complete-as-file-p): Remove.
4619
b4ff4f1f
SM
4620 Use completion-table-with-quoting for comint and pcomplete.
4621 * comint.el (comint--unquote&requote-argument)
4622 (comint--unquote-argument, comint--requote-argument): New functions.
4623 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4624 (comint-quote-filename): Use regexp-opt-charset.
4625 (comint--common-suffix, comint--common-quoted-suffix)
4626 (comint--table-subvert): Remove.
4627 (comint-unquote-function, comint-requote-function): New vars.
4628 (comint--complete-file-name-data): Use them with
4629 completion-table-with-quoting.
4630 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4631 * pcomplete.el (pcomplete-arg-quote-list)
4632 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4633 (pcomplete-unquote-argument-function): Default to non-nil.
4634 (pcomplete-unquote-argument): Simplify.
4635 (pcomplete--common-quoted-suffix): Remove.
4636 (pcomplete-requote-argument-function): New var.
4637 (pcomplete--common-suffix): New function.
4638 (pcomplete-completions-at-point): Use completion-table-with-quoting
4639 and completion-table-subvert.
4640
79c4eeb4
SM
4641 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4642 (minibuffer--double-dollars): Preserve properties.
4643 (completion--sifn-requote): New function.
4644 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4645
ef24141c
SM
4646 * minibuffer.el: Add support for completion of quoted/escaped data.
4647 (completion-table-with-quoting, completion-table-subvert): New funs.
4648 (completion--twq-try, completion--twq-all): New functions.
4649 (completion--nth-completion): New function.
4650 (completion-try-completion, completion-all-completions): Use it.
4651
784e7d6e
LL
46522012-04-25 Leo Liu <sdl.web@gmail.com>
4653
dd2ac746
SM
4654 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4655 Use compilation-message if available to find real filename.
784e7d6e 4656
07875ee7
CY
46572012-04-25 Chong Yidong <cyd@gnu.org>
4658
4659 * vc/diff-mode.el (diff-setup-whitespace): New function.
4660 (diff-mode): Use it.
4661
4662 * vc/diff.el (diff-sentinel):
4663 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4664 Whitespace mode variables based on diff style (Bug#8612).
4665
5055880d
LL
46662012-04-25 Leo Liu <sdl.web@gmail.com>
4667
daf75653
LL
4668 * progmodes/python.el (python-send-region): Add suffix .py to the
4669 temp file.
4670
5055880d
LL
4671 * files.el (auto-mode-alist): Use javascript-mode instead.
4672
db9b177b
AH
46732012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4674
ef24141c 4675 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4676
090bd7cb 4677 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4678 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4679 references, see Bug#9.
ef24141c 4680 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4681 when receiving a fault reply.
ef24141c 4682 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4683
090bd7cb 4684 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4685 (soap-inspect-simple-type): New function.
db9b177b 4686
090bd7cb 4687 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4688 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4689 (soap-decode-basic-type, soap-encode-basic-type):
4690 support unsignedInt and double basic types.
db9b177b 4691 (soap-resolve-references-for-simple-type)
ef24141c
SM
4692 (soap-parse-simple-type, soap-encode-simple-type): New function.
4693 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4694
090bd7cb 4695 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4696 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4697 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4698 the local name of "soapenc:Array".
4699 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4700 decoding integer, byte and anyURI xsd types.
4701
1fc6097b
CY
47022012-04-25 Chong Yidong <cyd@gnu.org>
4703
4704 * cus-edit.el (custom-buffer-create-internal): Update header text.
4705
afc6df87
EZ
47062012-04-25 Eli Zaretskii <eliz@gnu.org>
4707
4708 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4709 settings on 'system-type', not on 'window-system'. On MS-Windows,
4710 set interactive-mode on in GDB.
4711
dfbd787f
SM
47122012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4713
4714 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4715 (ruby-syntax-propertize-regexp): Remove.
4716 (ruby-syntax-propertize-function): Split regexp into chunks.
4717 Match following code directly.
4718
85222d44
DG
47192012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4720
51a8ea2a
DG
4721 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4722 (ruby-syntax-propertize-regexp): New function.
4723 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4724 by a special keyword.
4725
85222d44
DG
4726 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4727 (ruby-syntax-general-delimiters-goto-beg)
4728 (ruby-syntax-propertize-general-delimiters): New functions.
4729 (ruby-syntax-propertize-function): Use them to handle GDL.
4730 (ruby-font-lock-keywords): Move old handling of GDL...
4731 (ruby-font-lock-syntactic-keywords): .. to here.
4732 (ruby-calculate-indent): Adjust indentation for GDL.
4733
b613912b
MA
47342012-04-24 Michael Albinus <michael.albinus@gmx.de>
4735
b5380639
MA
4736 * notifications.el (top): Remove unneeded declarations.
4737 (notifications-specification-version): Change to "1.2".
e43042fe 4738 (notifications-interface, notifications-notify-method)
b613912b
MA
4739 (notifications-close-notification-method): Fix docstring.
4740 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4741 (notifications-notify): Add :action-items, :resident and
4742 :transient hints. Change "image_data" to "image-data" and
4743 "image_path" to "image-path".
b613912b
MA
4744 (notifications-get-capabilities): New defun.
4745
257440aa
LL
47462012-04-24 Leo Liu <sdl.web@gmail.com>
4747
4748 * progmodes/python.el: Move hideshow setup to the end.
4749
b1bac16e
MR
47502012-04-24 Martin Rudalics <rudalics@gmx.at>
4751
4752 * window.el (handle-select-window): Clear echo area since this is
4753 no more done by read_char (Bug#11304).
4754
d81bd059
SM
47552012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4756
4757 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4758 and `/ M' to filter-derived-mode.
4759 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4760 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4761 (ibuffer-mark-by-mode): Use default rather than initial-input.
4762 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4763
c4cf6d91
IA
47642012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4765
4766 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4767 (ibuffer-filter-by-derived-mode): New filter.
4768 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4769
7511ded8
CY
47702012-04-23 Andreas Politz <politza@fh-trier.de>
4771
4772 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4773
775c916b
CY
47742012-04-23 Chong Yidong <cyd@gnu.org>
4775
4776 * cus-edit.el (customize-apropos, customize-apropos-options):
4777 Disable matching of non-option variables (Bug#11176).
4778 (customize-option, customize-option-other-window)
4779 (customize-changed-options): Doc fix.
4780 (customize-apropos-options, customize-apropos-faces)
4781 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4782
4783 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4784 Fix word list splitting (Bug#11132).
46c71e23
CY
4785 (apropos-symbol, apropos-keybinding, apropos-label)
4786 (apropos-property, apropos-function-button)
4787 (apropos-variable-button, apropos-misc-button): New faces.
4788 (apropos-symbol-face, apropos-keybinding-face)
4789 (apropos-label-face, apropos-property-face, apropos-match-face):
4790 Variables removed (Bug#8396).
4791 (apropos-library-button, apropos-format-plist, apropos-print)
4792 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4793
2df41f9c
MA
47942012-04-23 Michael Albinus <michael.albinus@gmx.de>
4795
4796 * net/xesam.el (xesam-mode-map): Use let-bound map in
4797 initialization. (Bug#11292)
4798
da00640a
AM
47992012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4800
4801 Preserve ispell session localwords when switching back to
4802 original buffer.
4803
090bd7cb
JB
4804 * textmodes/ispell.el (ispell-buffer-session-localwords):
4805 New buffer-local variable to hold buffer session localwords.
ed9265fc 4806 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4807 localwords.
4808 (ispell-command-loop, ispell-change-dictionary)
4809 (ispell-buffer-local-words): Preserve session localwords when
4810 needed.
4811
090bd7cb
JB
4812 * textmodes/flyspell.el (flyspell-process-localwords)
4813 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4814
f621ccf5
AM
48152012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4816
090bd7cb
JB
4817 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4818 using obsolete `translation-table-for-input'.
ef24141c
SM
4819 (ispell-word, ispell-process-line, ispell-complete-word):
4820 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4821
c2d1019e
CY
48222012-04-22 Chong Yidong <cyd@gnu.org>
4823
4824 * cus-edit.el (custom-variable-menu)
4825 (custom-variable-reset-saved, custom-face-menu)
4826 (custom-face-reset-saved): If there is no saved value, make the
4827 "reset-saved" operation bring back the default (Bug#9509).
4828 (custom-face-state): Properly detect themed faces.
4829
eeddc531
CY
4830 * faces.el (face-spec-set): Stop supporting deprecated form of
4831 third arg.
4832
dcbf5805
MA
48332012-04-22 Michael Albinus <michael.albinus@gmx.de>
4834
4835 Move functions from C to Lisp. Make non-blocking method calls
4836 the default. Implement further D-Bus standard interfaces.
4837
ef24141c
SM
4838 * net/dbus.el (dbus-message-internal): Declare function.
4839 Remove unneeded function declarations.
dcbf5805
MA
4840 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4841 (dbus-message-type-method-return, dbus-message-type-error)
4842 (dbus-message-type-signal): Declare variables. Remove local
4843 definitions.
4844 (dbus-interface-dbus, dbus-interface-peer)
4845 (dbus-interface-introspectable, dbus-interface-properties)
4846 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4847 Adapt docstring.
4848 (dbus-interface-objectmanager): New defconst.
4849 (dbus-call-method, dbus-call-method-asynchronously)
4850 (dbus-send-signal, dbus-method-return-internal)
4851 (dbus-method-error-internal, dbus-register-service)
4852 (dbus-register-signal, dbus-register-method): New defuns, moved
4853 from dbusbind.c
4854 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4855 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4856 New defuns.
dcbf5805
MA
4857 (dbus-call-method-non-blocking): Make it an obsolete function.
4858 (dbus-unregister-object, dbus-unregister-service)
4859 (dbus-handle-event, dbus-register-property)
4860 (dbus-property-handler): Obey the new structure of
4861 `bus-registered-objects'.
4862 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4863 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4864 Use `dbus-call-method'.
4865
cf20dee0
CY
48662012-04-22 Chong Yidong <cyd@gnu.org>
4867
4868 * cus-edit.el (custom-commands, custom-reset-menu)
4869 (Custom-reset-standard): Tweak labels.
4870 (custom-reset-button-menu): Change default to t.
4871 (custom-buffer-create-internal): For the custom-reset-button-menu
4872 case, put the revert button first.
4873 (custom-group-subtitle): New face.
4874 (custom-group-value-create): Align docstring to a specific column.
4875
4876 * wid-edit.el (widget-documentation-link-add): Don't handle
4877 indentation in this function.
4878 (widget-documentation-string-indent-to): New function.
4879 (widget-documentation-string-value-create): Use it.
4880
4881 * autorevert.el (auto-revert):
4882 * epg-config.el (epg):
4883 * ibuffer.el (ibuffer):
4884 * mpc.el (mpc):
4885 * ses.el (ses):
4886 * eshell/eshell.el (eshell):
4887 * net/ange-ftp.el (ange-ftp):
4888 * progmodes/ebnf2ps.el (postscript):
4889 * progmodes/flymake.el (flymake):
4890 * progmodes/prolog.el (prolog):
4891 * progmodes/verilog-mode.el (verilog-mode):
4892 * progmodes/which-func.el (which-func):
4893 * term/xterm.el (xterm):
4894 * textmodes/picture.el (picture):
4895 * textmodes/tildify.el (tildify):
4896 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4897 customization buffers.
4898
583e23bd
AM
48992012-04-22 Alan Mackenzie <acm@muc.de>
4900
4901 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4902 Adding a ) can hide the resulting (..) from searches. Fix it.
4903 Bound the backward search to the position of the existing (.
4904
7dd51bf1
JB
49052012-04-21 Juanma Barranquero <lekktu@gmail.com>
4906
4907 * progmodes/verilog-mode.el (verilog-mode): Check whether
4908 which-func-modes is t before adding verilog-mode.
4909 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4910
d64a438f
LL
49112012-04-21 Leo Liu <sdl.web@gmail.com>
4912
7dd51bf1 4913 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4914
081e8d65
MV
49152012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4916
4917 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4918 filling of the last column of a table (Bug#5635).
4919 (woman-find-next-control-line): New arg, specifying an additional
4920 regexp component for the control line.
4921 (woman2-roff-buffer): Use it.
4922 (woman-break-table): New function.
4923 (woman2-TS): Use it.
4924
49252012-04-21 Chong Yidong <cyd@gnu.org>
4926
4927 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4928 (woman-horizontal-escapes, woman-negative-vertical-space)
4929 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4930 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4931
ed571ccb
SM
49322012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * minibuffer.el (completion-file-name-table): Complete user names.
4935
39773899
LL
49362012-04-20 Leo Liu <sdl.web@gmail.com>
4937
4938 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4939 and pcase-let*.
4940
de6ff46d
CY
49412012-04-20 Chong Yidong <cyd@gnu.org>
4942
4943 * server.el (server-execute): Respect initial-buffer-choice if it
4944 is a string and there are no files to open (Bug#2825).
4945 (server-create-window-system-frame, server-create-tty-frame):
4946 Don't switch buffers here.
2d0e8e61
CY
4947 (server-process-filter): Only try to open a window system frame if
4948 compiled with graphical support (Bug#8314).
de6ff46d 4949
54071013
DN
49502012-04-20 Dan Nicolaescu <dann@gnu.org>
4951
4952 * battery.el (battery-echo-area-format): Display remaining time
4953 for sysfs backend too (Bug#11269).
4954 (battery-linux-sysfs): Fix conditional for the charge.
4955
f30d612a
CY
49562012-04-20 Chong Yidong <cyd@gnu.org>
4957
c07a4c0b 4958 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4959 (gdb-inferior-io--init-proc): New function.
4960 (gdb-init-1): Use it.
4961 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4962 responsible for allocating a new pty and hooking it to gdb when
4963 the old pty gets an EIO due to process exit.
4964 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4965 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4966 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4967
2116e93c
EZ
49682012-04-20 Eli Zaretskii <eliz@gnu.org>
4969
4970 * window.el (window-min-size, window-sizable, window-min-delta)
4971 (window-max-delta, window--resizable, window-resizable)
4972 (window-total-size, window-full-height-p, window-full-width-p)
4973 (window-in-direction, window--resize-mini-window, window-resize)
4974 (window--resize-child-windows-normal)
4975 (window--resize-child-windows, window--resize-siblings)
4976 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4977 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4978
c07a4c0b 49792012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4980
ef24141c
SM
4981 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4982 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4983 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4984 pty process (Bug#11273).
4985 (gdb-update): New arg to suppress talking to the gdb process.
4986 (gdb-done-or-error): Use it.
4987 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4988 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4989 sentinel not being called.
4990
4991 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4992
d02766ab
CY
4993 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4994
c07a4c0b 49952012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4996
4997 * net/network-stream.el (open-network-stream): Doc fix.
4998
c07a4c0b 49992012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
5000
5001 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
5002
c07a4c0b 50032012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
5004
5005 Ensure searching for keywords is case sensitive.
5006
5007 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
5008 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
5009 (c-defun-name, c-mark-function, c-cpp-define-name)
5010 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 5011 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 5012
ef24141c
SM
5013 * progmodes/cc-mode.el (c-font-lock-fontify-region):
5014 Bind case-fold-search to nil.
f0f6bc35 5015
c07a4c0b 50162012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
5017
5018 * mail/sendmail.el (mail-bury): Call return action with the right
5019 Rmail buffer (Bug#11242).
5020
9a864fa2
CY
5021 * server.el (server-process-filter): Handle corner case where both
5022 tty and nowait options are present (Bug#11102).
5023
539aa513
EZ
50242012-04-20 Eli Zaretskii <eliz@gnu.org>
5025
5026 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
5027 (top level): Put into the executable the ident-style '$Id:' tag on
5028 windows-nt as well.
539aa513 5029
cfc7d5da
SM
50302012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
5031
5032 * electric.el (electric-indent-post-self-insert-function): Check that
5033 electric-indent-mode is enabled in current buffer.
5034
5b01685c
JB
50352012-04-19 Juanma Barranquero <lekktu@gmail.com>
5036
5037 * imenu.el (imenu-progress-message): Restore; it is "used" in
5038 erc/erc-imenu.el and net/snmp-mode.el.
5039
4d6769e1
JB
50402012-04-19 Juanma Barranquero <lekktu@gmail.com>
5041
5042 * avoid.el (mouse-avoidance-mode): Mark unused arg.
5043 (mouse-avoidance-nudge-mouse): Remove unused binding.
5044
5045 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
5046
5047 * descr-text.el (describe-char):
5048 * progmodes/python.el (python-describe-symbol):
5049 Don't call `toggle-read-only', set `buffer-read-only'.
5050
5051 * imenu.el (imenu-default-goto-function): Mark unused args.
5052 (imenu-progress-message): Remove obsolete macro; all callers changed.
5053
5054 * subr.el (keymap-canonicalize): Remove unused binding.
5055 (read-passwd): Mark unused arg.
5056
5057 * tutorial.el (tutorial--display-changes): Remove unused binding.
5058 (tutorial--save-tutorial-to): Remove unused variable.
5059
5060 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5061 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5062 (package-generate-autoloads, package-menu--generate)
5063 (package-menu--find-upgrades): Remove unused bindings.
5064
5065 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5066 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5067 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5068 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5069 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5070 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5071 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5072 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5073 (cua-delete-char-rectangle): Mark unused args.
5074 (cua-align-rectangle): Remove unused binding.
5075
5076 * mail/rmail.el (compilation--message->loc)
5077 (epa--find-coding-system-for-mime-charset): Declare.
5078
5079 * net/dbus.el (dbus-register-service): Declare.
5080 (dbus-name-owner-changed-handler): Remove unused binding.
5081
5082 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5083 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5084 (nxml-scan-backward-within): Mark unused arg.
5085 (nxml-dynamic-markup-word): Remove unused binding.
5086
5087 * mouse.el (mouse-menu-major-mode-map):
5088 * emacs-lisp/authors.el (authors-scan-change-log)
5089 (authors-add-to-author-list):
5090 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5091 * emacs-lisp/smie.el (smie-auto-fill):
5092 * mail/sendmail.el (mail-bury):
5093 * mail/unrmail.el (unrmail):
5094 * net/tls.el (open-tls-stream):
5095 * textmodes/picture.el (picture-mouse-set-point):
5096 Remove unused bindings.
5097
8c8fc5df
MA
50982012-04-19 Michael Albinus <michael.albinus@gmx.de>
5099
5100 * net/tramp.el (tramp-action-password): Let-bind
5101 `enable-recursive-minibuffers' to t.
5102
a77b0ac9
SS
51032012-04-18 Sam Steingold <sds@gnu.org>
5104
5105 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5106 instead of 'string to accommodate values like [f11].
5107 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5108 * progmodes/gdb-mi.el: Likewise.
5109
12a106a9
LL
51102012-04-18 Leo Liu <sdl.web@gmail.com>
5111
5112 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5113 current buffer.
5114 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5115 LOCAL is nil.
5116
bc6494ef
CY
51172012-04-18 Chong Yidong <cyd@gnu.org>
5118
5119 * simple.el (line-move): Use forward-line if in batch mode
5120 (Bug#11053).
5121
c09c46b2
CS
51222012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5123
5124 * files.el (after-find-file): Do not try to add a final newline if
5125 the buffer is read-only (Bug#11156).
5126
5f6530ea
RS
51272012-04-17 Richard Stallman <rms@gnu.org>
5128
5129 * mail/rmail.el (rmail-start-mail):
5130 Pass (rmail-mail-return...) for the return-action.
5131 Pass (rmail-yank-current-message...) for the yank-action.
5132 (rmail-yank-current-message): New function.
5133 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5134 (rmail-reply): Likewise.
5135 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5136
5137 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5138 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5139 buffer, not newbuf.
5140
197b6f3c
JB
51412012-04-17 Juanma Barranquero <lekktu@gmail.com>
5142
5143 * server.el (server-ensure-safe-dir): Simplify.
5144
2311d8e5 51452012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5146
2311d8e5
GM
5147 * emacs-lisp/smie.el: Provide smarter auto-filling.
5148 (smie-auto-fill): New function.
5149 (smie-setup): Use it.
98fb480e 5150
2311d8e5
GM
5151 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5152
51532012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5154
5155 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5156 (comment-indent): Use it.
5157
2311d8e5 51582012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5159
5160 * ses.el: The overall change is to add cell renaming, that is
5161 setting fancy names for cell symbols other than name matching
5162 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5163 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5164 (ses-create-cell-variable): New defun.
2311d8e5 5165 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5166 (ses-relocate-formula): Relocate formulas only for cells the
5167 symbols of which are not renamed, i.e. symbols whose names do not
5168 match regexp "\\`[A-Z]+[0-9]+\\'".
5169 (ses-relocate-all): Relocate values only for cells the symbols of
5170 which are not renamed.
5171 (ses-load): Create cells variables as the (ses-cell ...) are read,
5172 in order to check row col consistency with cell symbol name only
5173 for cells that are not renamed.
5174 (ses-replace-name-in-formula): New defun.
5175 (ses-rename-cell): New defun.
4bdf2ad2 5176
fc72b15c
PO
51772012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5178
5179 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5180 New option (bug#11118).
5181 (perl-calculate-indent): Respect it.
5182
12e10e61
GM
51832012-04-17 Glenn Morris <rgm@gnu.org>
5184
5185 * dired-aux.el (dired-mark-read-string): Doc fix.
5186
30009afd
DA
51872012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5188
5189 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5190 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5191
41f03f4d
GM
51922012-04-17 Glenn Morris <rgm@gnu.org>
5193
5194 * mouse.el (mouse-drag-track):
5195 * speedbar.el (speedbar-frame-mode):
5196 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5197
f45f90f3
LL
51982012-04-16 Leo Liu <sdl.web@gmail.com>
5199
5200 * progmodes/python.el: Trivial cleanup.
5201
94ee8db5
GM
52022012-04-16 Glenn Morris <rgm@gnu.org>
5203
121b8917
GM
5204 * vc/vc.el (vc-string-prefix-p):
5205 * vc/pcvs-util.el (cvs-string-prefix-p):
5206 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5207 * mpc.el (mpc-string-prefix-p):
5208 Make all of these into obsolete aliases for string-prefix-p.
5209 Update callers.
5210 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5211
1197ecfa
GM
5212 * textmodes/two-column.el: Move custom options to the start.
5213 (frame-width): Remove compat definition.
5214 (2C-associate-buffer, 2C-dissociate):
5215 Use with-current-buffer rather than save-excursion.
5216 (2C-dissociate): Force a mode-line update.
5217 (2C-autoscroll): Use ignore-errors.
5218
099e7202
GM
5219 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5220 Autoload trivia.
5221
bf350d6a
GM
5222 * emacs-lisp/cl-extra.el (*random-state*):
5223 Remove unnecessary declaration.
5224
0e829eab
GM
5225 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5226
e3ad7552
GM
5227 * play/cookie1.el (cookie-snarf):
5228 Give an explicit error if input file cannot be read.
5229
68892d27
GM
5230 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5231
20f0c46d
GM
5232 * progmodes/perl-mode.el (c-macro-expand):
5233 Remove unnecessary autoload (it is in loaddefs.el).
5234
5a0978ce
GM
5235 * textmodes/picture.el (picture-desired-column)
5236 (picture-update-desired-column): Convert comments to doc-strings.
5237 (picture-substitute): Remove function.
5238 (picture-mode-map): Initialize in the defvar.
5239
6b955486
GM
5240 * woman.el: Remove eval-after-load for tar-mode.
5241 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5242 (woman-tar-extract-file): Autoload it.
5243
94ee8db5
GM
5244 * frame.el (automatic-hscrolling): Make this alias obsolete.
5245
177eca34
AM
52462012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5247
090bd7cb 5248 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5249 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5250 (ispell-dictionary-base-alist): Revert to original XEmacs
5251 friendly version for default. [:alpha:] will be added in
090bd7cb 5252 `ispell-set-spellchecker-params' if needed.
177eca34 5253
c505aaeb
CY
52542012-04-16 Chong Yidong <cyd@gnu.org>
5255
b19dd9d1 5256 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5257 (imagemagick-register-types): Use it.
5258 (imagemagick-types-inhibit): Add :set function. Allow new value
5259 of t to inhibit all types.
5260
5261 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5262 so we can preload it.
5263
5264 * loadup.el (fboundp): Preload regexp-opt, needed by
5265 imagemagick-register-types.
5266
60efac0f
CY
52672012-04-15 Chong Yidong <cyd@gnu.org>
5268
5269 * frame.el (scrolling): Remove nearly unused customization group.
5270
5271 * scroll-all.el (scroll-all-mode): Move to windows group.
5272
5dd1713e
CY
52732012-04-15 Chong Yidong <cyd@gnu.org>
5274
5275 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5276
e6fd457e
CY
52772012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5278
5279 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5280 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5281
e153c136
GM
52822012-04-15 Glenn Morris <rgm@gnu.org>
5283
5284 * simple.el (process-file-side-effects): Doc fix.
5285
e6fd457e 52862012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5287
5288 * international/mule-cmds.el (set-language-environment): Doc fix.
5289
3603c3b1
JB
52902012-04-14 Juanma Barranquero <lekktu@gmail.com>
5291
5292 * server.el (server-auth-key, server-generate-key): Doc fixes.
5293 (server-get-auth-key): Doc fix. Use `string-match-p'.
5294 (server-start): Reflow docstring.
5295
e6de100c
LI
52962012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5297
5298 * server.el (server-generate-key): `called-interactively-p'
5299 requires a parameter.
5300
29734c21
MN
53012012-04-14 Michal Nazarewicz <mina86@mina86.com>
5302
5303 * server.el (server-auth-key): New variable.
75f1671a 5304 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5305 (server-start): Use the new variable and functions to allow
5306 setting a permanent server key (bug#9423).
5307
d65c9521
LL
53082012-04-14 Leo Liu <sdl.web@gmail.com>
5309
5310 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5311
5ae255c7
PE
53122012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5313
5314 Spelling fixes.
5315 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5316 Emacs uses American spelling.
5317
d5e6342e
JB
53182012-04-14 Juanma Barranquero <lekktu@gmail.com>
5319
5320 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5321 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5322 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5323 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5324
ab036cd7
SM
53252012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5326
5327 * progmodes/which-func.el (which-func-modes): Change default.
5328
35dc09a1 53292012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5330
5331 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5332 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5333
35dc09a1 53342012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5335
5336 * custom.el (custom-theme-set-variables): Doc fix.
5337
35dc09a1 53382012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5339
5340 * international/mule.el (set-auto-coding-for-load): Doc fix.
5341
35dc09a1 53422012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5343
35dc09a1
GM
5344 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5345 imenu work again for Objective C Mode. Correct the *-index values,
5346 these having been disturbed by a previous change in 2011-08.
57f845ee 5347
0de3da9f
AM
5348 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5349 Correct two search limits.
5350
35dc09a1 53512012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5352
5353 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5354
35dc09a1 53552012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5356
5357 * international/characters.el: Fix sorting.
5358
35dc09a1 53592012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5360
5361 * international/characters.el: Add more missing Latin case pairs.
5362
35dc09a1 53632012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5364
5365 * files.el (dir-locals-set-class-variables): Doc fix.
5366
35dc09a1 53672012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5368
3f1b5bf8
EZ
5369 * international/characters.el: Add set-case-syntax-pair call for
5370 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5371 counterpart. (Bug#11209)
5372
9f847f41
EZ
5373 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5374
35dc09a1 53752012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5376
5377 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5378
35dc09a1 53792012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5380
35dc09a1
GM
5381 * textmodes/ispell.el (ispell-dictionary-base-alist):
5382 Add data for Hebrew.
e2627d21 5383
35dc09a1 53842012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5385
35dc09a1
GM
5386 * net/rcirc.el (rcirc-cmd-quit):
5387 Revert 2012-03-18 change (Bug#11192).
5c14e333 5388
35dc09a1 53892012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5390
5391 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5392
35dc09a1 53932012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5394
4517fe3a
SM
5395 * minibuffer.el (completion-in-region-mode-map):
5396 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5397
b472a594
VD
53982012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5399
5400 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5401
09b95ce3
MY
54022012-04-13 Masatake YAMATO <yamato@redhat.com>
5403
5404 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5405 to allow `C-M-f' and `C-M-b' to move to the nearest path
5406 separator (bug#9511).
5407
4b63a9ca
LI
54082012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5409
5410 * avoid.el: Require cl when compiling. And also move the
5411 `provide' to the end.
5412
7b55b8bf
TV
54132012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5414
5415 * avoid.el (mouse-avoidance-banish-position): New variable.
5416 (mouse-avoidance-banish-destination): Use it (bug#10165).
5417
adedaa1f
LL
54182012-04-13 Leo Liu <sdl.web@gmail.com>
5419
5420 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5421
70e74021
KB
54222012-04-13 Ken Brown <kbrown@cornell.edu>
5423
5424 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5425 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5426 (browse-url-filename-alist): For the same reason, don't modify
5427 file:// URLs on Cygwin.
5428
e75e89ba
SM
54292012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5430
5431 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5432 the region on shift if the binding is already shifted (bug#11221).
5433
82f289a4
GM
54342012-04-12 Glenn Morris <rgm@gnu.org>
5435
5436 * mail/mailpost.el: Move to obsolete/.
5437
d333dc4c
DA
54382012-04-12 Drew Adams <drew.adams@oracle.com>
5439
5440 * imenu.el (imenu--generic-function): Ignore invisible definitions
5441 (bug#10123).
5442
0d15b5ba
VD
54432012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5444
5445 * hexl.el (hexl-bits): New variable.
5446 (hexl-options): Mention the variable in the doc string.
75f1671a 5447 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5448 (hexl-mode): Mention the new variable.
75f1671a
JB
5449 (hexl-mode, hexl-current-address, hexl-current-address):
5450 Use the displen.
0d15b5ba
VD
5451 (hexl-ascii-start-column): New function.
5452 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5453 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5454
64a440db
AM
54552012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5456
5457 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5458 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5459 the encoding, as expected by hunspell.
5460
6decb6c2
SM
54612012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5462
5463 * battery.el (battery--linux-sysfs-regexp): New const.
5464 (battery-status-function): Use it. Remove yeeloong special case.
5465 (battery-yeeloong-sysfs): Remove.
5466 (battery-echo-area-format): Remove yeeloong special case.
5467
088be6fb
SM
54682012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5469
6622e416
SM
5470 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5471 Reported by Noah Friedman.
5472
088be6fb
SM
5473 * subr.el (read-passwd): Use read-string.
5474
b49f886e
LMI
54752012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5476
5477 * vcursor.el (vcursor-move): Increase the priority of the overlay
5478 (bug#9663).
5479
a63067fc
DD
54802012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5481
5482 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5483 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5484
ac3cf14a
WS
54852012-04-11 William Stevenson <yhvh2000@gmail.com>
5486
5487 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5488 define-minor-mode (bug#10760).
5489
c4fc691b 54902012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5491
4d6769e1 5492 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5493 that directories matching `grep-find-ignored-files' won't be
5494 pruned (bug#10351).
5495
af23e2e5
CY
54962012-04-11 Chong Yidong <cyd@gnu.org>
5497
5498 * startup.el (command-line): Remove support for long-obsolete
5499 variable font-lock-face-attributes.
5500
ab7ce8c1
GM
55012012-04-11 Glenn Morris <rgm@gnu.org>
5502
5503 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5504
de8c03dc
SM
55052012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5506
5507 * window.el (window--state-get-1): Obey window-point-insertion-type.
5508
050cc68b
LB
55092012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5510
5511 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5512 to previous function when point is on the first character of a
75f1671a 5513 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5514
a38c310c
GM
55152012-04-11 Glenn Morris <rgm@gnu.org>
5516
effed0c2
GM
5517 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5518 not just file-errors.
5519
a38c310c
GM
5520 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5521 (vc-bzr-sha1): Use internal sha1.
5522
0221e323
SM
55232012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5524
5525 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5526
43956923
SG
55272012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5528
5529 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5530 that start in the middle of the line (bug#10496).
5531
6a8c9eaf
DN
55322012-04-10 Dan Nicolaescu <dann@gnu.org>
5533
5534 * battery.el (battery-linux-proc-acpi): Only one battery is
5535 discharged at a time, but that seems to confuse battery.el when
5536 computing `rate-type' for the battery not being discharged
5537 (bug#10332).
5538
1930bf5d
SM
55392012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5540
2a718f6f
SM
5541 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5542
599430d0
SM
5543 * international/quail.el: Use dolist and simplify.
5544 (quail-define-package, quail-update-keyboard-layout)
5545 (quail-define-rules): Use dolist.
5546 (quail-insert-kbd-layout, quail-get-translation): CSE.
5547
a2754b6c
SM
5548 * tmm.el: Use dolist, remove left over hook.
5549 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5550 Use dolist.
5551 (calendar-load-hook): Don't mess with it.
5552
1930bf5d
SM
5553 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5554 Use derived-mode-p. Run the diff asynchronously.
5555
9f67961c
LMI
55562012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5557
5558 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5559
2a8ce227
JB
55602012-04-10 Juanma Barranquero <lekktu@gmail.com>
5561
5562 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5563 (list-dynamic-libraries--loaded): New function.
5564 (list-dynamic-libraries--refresh): Use it.
5565
8f33b5f8
NW
55662012-04-10 Nathan Weizenbaum <nweiz@google.com>
5567
1930bf5d
SM
5568 * progmodes/python.el (python-fill-paragraph):
5569 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5570 disabled (bug#7018).
5571
b12f0439
L
55722012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5573
1930bf5d 5574 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5575 DOS/MS Windows for the Baltic languages. There are still plenty
5576 of texts written in this encoding/codepage (bug#6519).
b12f0439 5577
57c3bd01
GM
55782012-04-10 Glenn Morris <rgm@gnu.org>
5579
5580 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5581 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5582
6c3eab30
FA
55832012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5584
1930bf5d 5585 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5586 next-line "n" and previous-line "p" in order to make recentf more
5587 consistent with ibuffer, dired or org-mode (bug#9387).
5588
24d78a88
LMI
55892012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5590
bc72b5d9
LMI
5591 * image.el (put-image): Return the overlay created instead of the
5592 optional input string (bug#7834). Note that this may break code
5593 that is (for some reason or other) depending on `put-image'
5594 returning the string.
5595
bd2dba5a
LMI
5596 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5597
74beb59f
LMI
5598 * simple.el (zap-to-char): Allow zapping using input methods
5599 (bug#1580).
5600
24d78a88
LMI
5601 * textmodes/fill.el (fill-region): Leave point and mark where they
5602 were before filling (bug#5399).
5603
263f20cd
GM
56042012-04-09 Glenn Morris <rgm@gnu.org>
5605
5606 * version.el (emacs-bzr-get-version):
5607 Handle lightweight checkouts of local branches.
5608
58d1f797
AS
56092012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5610
263f20cd 5611 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5612
b4d3bc10
CY
56132012-04-09 Chong Yidong <cyd@gnu.org>
5614
5615 * custom.el (custom-variable-p): Return nil for non-symbol
5616 arguments instead of signaling an error.
5617 (user-variable-p): Obsolete alias for custom-variable-p.
5618
5619 * apropos.el (apropos-variable):
5620 * files-x.el (read-file-local-variable):
5621 * simple.el (set-variable):
5622 * woman.el (woman-mini-help):
5623 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5624
fd06db5d
GM
56252012-04-09 Glenn Morris <rgm@gnu.org>
5626
e5fcdb5e
GM
5627 * startup.el (normal-top-level): Don't look for leim-list.el
5628 in places where it will not be found. (Bug#910)
5629
fd06db5d
GM
5630 * international/mule-cmds.el (set-default-coding-systems):
5631 * files.el (normal-mode):
5632 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5633 This function was removed with ucs-tables.el in 2008.
5634
b39bb7e1
EZ
56352012-04-08 Eli Zaretskii <eliz@gnu.org>
5636
5637 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5638 ispell-encoding8-command to "-i", without a trailing space.
5639 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5640 separate command-line arguments, to specify the encoding, since
5641 that's how hunspell expects it.
5642
5c5b8e23
GM
56432012-04-08 Glenn Morris <rgm@gnu.org>
5644
5645 * loadup.el: Load bindings before cus-start.
5646 This reduces somewhat the number of "rogue" settings in emacs -Q.
5647
a1ed8b05
GM
56482012-04-07 Glenn Morris <rgm@gnu.org>
5649
5650 * version.el (emacs-bzr-get-version): New function.
dfae128a 5651 (emacs-bzr-version): New variable.
a1ed8b05
GM
5652 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5653 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5654
b142f158
EZ
56552012-04-07 Eli Zaretskii <eliz@gnu.org>
5656
dfae128a
GM
5657 * international/uni-bidi.el, international/uni-category.el:
5658 * international/uni-combining.el, international/uni-decimal.el:
5659 * international/uni-decomposition.el, international/uni-digit.el:
5660 * international/uni-lowercase.el, international/uni-mirrored.el:
5661 * international/uni-name.el, international/uni-numeric.el:
5662 * international/uni-titlecase.el, international/uni-uppercase.el:
5663 Update for Unicode 6.1.
b142f158 5664
9078ead6
EZ
56652012-04-07 Eli Zaretskii <eliz@gnu.org>
5666
5667 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5668
f23d2c7d
LMI
56692012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5670
5671 * window.el (shrink-window): Mention the `window-min-height'
5672 variable in the doc string.
5673
0a0a3573
BG
56742012-04-05 Bastien Guerry <bzg@altern.org>
5675
5676 * color.el (color-lighten-name): Fix typo.
5677
e5248ac9
SM
56782012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5679
5680 * server.el (server--on-display-p): New function.
5681 (server--on-display-p): Use it.
5682
b4243e22
GV
56832012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5684
5685 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5686 (bug#11145).
5687
305d9f44
SM
56882012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5689
5690 * comint.el (comint--common-quoted-suffix): Check string boundary
5691 before comparing (bug#11158).
5692 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5693
3d439cd1
CY
56942012-04-04 Chong Yidong <cyd@gnu.org>
5695
321cc491
CY
5696 * minibuffer.el (completion-extra-properties): Doc fix.
5697
3d439cd1
CY
5698 * subr.el (delayed-warnings-hook): Doc fix.
5699
2d562c0f
DU
57002012-04-04 Daiki Ueno <ueno@unixuser.org>
5701
5702 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5703 selection (Bug#11159).
5704 (epa-insert-keys): Inform that the default public key will be
5705 exported if no key is selected.
5706
4443f204
RS
57072012-04-04 Richard Stallman <rms@gnu.org>
5708
5709 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5710
529c06b6
CY
57112012-04-03 Chong Yidong <cyd@gnu.org>
5712
5713 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5714 mail-insert-file, not its obsolete alias mail-attach-file.
5715
66b907dc
MA
57162012-04-03 Michael Albinus <michael.albinus@gmx.de>
5717
5718 * notifications.el (notifications-notify): Fix docstring.
5719
c0ea195d
GM
57202012-04-02 Glenn Morris <rgm@gnu.org>
5721
5722 * emacs-lisp/authors.el (authors-aliases): Another addition.
5723
5ca64e00
MA
57242012-04-02 Michael Albinus <michael.albinus@gmx.de>
5725
5726 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5727 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5728 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5729
42ee526b
CY
57302012-04-01 Chong Yidong <cyd@gnu.org>
5731
5732 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5733 Handle root directory properly.
5734 (copy-directory): Caller changed.
5735
5736 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5737 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5738
0b021094
GM
57392012-03-31 Glenn Morris <rgm@gnu.org>
5740
40f86458
GM
5741 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5742
7019c177
GM
5743 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5744
a1daddd6
GM
5745 * calendar/calendar.el (calendar-window-list)
5746 (calendar-hide-window): Restore. (Bug#11140)
5747 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5748
0b021094
GM
5749 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5750
40311efc
TV
57512012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5752
5753 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5754 Check if file is a symlink (Bug#10489).
5755
5756 * files.el (copy-directory): Likewise.
5757
5319014e
CY
57582012-03-30 Chong Yidong <cyd@gnu.org>
5759
5760 * image.el (imagemagick-types-inhibit)
5761 (imagemagick-register-types): Doc fix.
5762
935d1290
AM
57632012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5764
090bd7cb 5765 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5766 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5767 and treats ~word as ordinary words in pipe mode.
935d1290 5768
61c6e8fd
GM
57692012-03-30 Glenn Morris <rgm@gnu.org>
5770
5771 * tutorial.el (help-with-tutorial): Ensure local variables don't
5772 happen to make the buffer read-only. (Bug#11127)
5773
81fdff00
SM
57742012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5775
5776 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5777 (perl-calculate-indent): Return `noindent' in strings.
5778
6e7a6ec0
SS
57792012-03-28 Sam Steingold <sds@gnu.org>
5780
5781 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5782 instead of the broken adhockery which does not prevent calendar
5783 buffers from being displayed at random after exit.
5784 (calendar-window-list, calendar-hide-window): Remove the broken
5785 adhockery.
5786
fee88ca0
GM
57872012-03-28 Glenn Morris <rgm@gnu.org>
5788
5789 * replace.el (query-replace-map): Doc fix.
5790
38de3354
AS
57912012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5792
5793 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5794 contents. (Bug#11109)
5795
b973155e
SM
57962012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5797
5798 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5799 (bug#11077).
5800 (avl-tree--check, avl-tree--check-node): New funs.
5801
dcb6e7b3
MR
58022012-03-27 Martin Rudalics <rudalics@gmx.at>
5803
5804 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5805 (switch-to-prev-buffer, switch-to-next-buffer):
5806 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5807 showing a buffer already is done on the same frame.
5808
b4fa35fa
GM
58092012-03-27 Glenn Morris <rgm@gnu.org>
5810
5811 * startup.el (mail-host-address): Doc fix.
5812
f9210e18
SM
58132012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5814
5815 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5816 than 197 variables.
5817
c0bf7753
AF
58182012-03-26 Ami Fischman <ami@fischman.org>
5819
5820 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5821
33da7b16
GM
58222012-03-26 Glenn Morris <rgm@gnu.org>
5823
02243d9d
GM
5824 * files.el (save-buffers-kill-emacs): Doc fix.
5825
33da7b16
GM
5826 * startup.el (normal-top-level, command-line, command-line-1):
5827 Give them doc strings.
5828
e5a69fd0
EZ
58292012-03-25 Eli Zaretskii <eliz@gnu.org>
5830
5831 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5832 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5833
9a69676a
CY
58342012-03-25 Chong Yidong <cyd@gnu.org>
5835
4125cb8b
CY
5836 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5837 theme if it was previously enabled before (Bug#11031).
5838
dd470960
CY
5839 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5840 spec with custom-face-get-current-spec if its :shown-value is not
5841 determined yet (Bug#9337).
4125cb8b 5842 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5843
9a69676a
CY
5844 * button.el (button-at): Minor addition to docstring.
5845
6e7e90fa
SL
58462012-03-24 Simon Leinen <simon.leinen@gmail.com>
5847
5848 * vc/vc.el (vc-merge): Fix a prompt.
5849
f06e2758
CY
58502012-03-24 Chong Yidong <cyd@gnu.org>
5851
5852 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5853 point (Bug#9623).
5854
6e7e90fa
SL
5855 * button.el (button-at): Minor addition to docstring.
5856
b9d0879b
SM
58572012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5858
5859 * newcomment.el (comment-choose-indent): No space after BOL.
5860
e71cebb3
SS
58612012-03-22 Sam Steingold <sds@gnu.org>
5862
5863 * window.el (switch-to-prev-buffer): Revert last patch because the
5864 bug turned out to be an advertised feature (Elisp manual 28.14).
5865
335aff35
GM
58662012-03-22 Glenn Morris <rgm@gnu.org>
5867
5868 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5869 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5870
c676576a
LMI
58712012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5872
5873 * net/network-stream.el (network-stream-open-starttls): Make error
5874 message under Windows be less misleading.
5875
126f3d39
LW
58762012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5877
5878 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5879 understands (bug#9942).
5880
64fee311
CY
58812012-03-22 Chong Yidong <cyd@gnu.org>
5882
5883 * simple.el (end-of-visible-line): Handle return value of
5884 next-single-property-change properly (Bug#9371).
5885
a640d29a
KH
58862012-03-22 Kenichi Handa <handa@m17n.org>
5887
5888 * international/quail.el (quail-insert-kbd-layout): Fix previous
5889 change. To avoid unwanted bidi reordering, use
5890 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5891
39675016
DG
58922012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5893
5894 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5895 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5896 (ruby-beginning-of-indent): Be more careful with the difference
5897 between word-boundary and symbol boundary.
5898 (ruby-mode-syntax-table): Make : a symbol constituent.
5899
0a6934fc 59002012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5901
3d008e4f
SM
5902 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5903
0a6934fc
SM
59042012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5905
af67c9d7
SM
5906 * progmodes/etags.el (tags-completion-at-point-function):
5907 Improve last fix.
5908
1acad97c
SM
5909 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5910
e298b5da
SS
59112012-03-21 Sam Steingold <sds@gnu.org>
5912
5913 * progmodes/etags.el (tags-completion-at-point-function):
5914 Avoid the error when point is inside the pattern.
5915
91d82a70
JY
59162012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5917
5918 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5919 line (Bug#10855).
5920
69188b79
CY
59212012-03-21 Drew Adams <drew.adams@oracle.com>
5922
5923 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5924
99fc91fe
AK
59252012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5926
5927 * ido.el (ido-set-current-directory, ido-read-internal)
5928 (ido-choose-completion-string, ido-completion-help): Handle nil
5929 value of ido-completion-buffer (Bug#11008).
5930
087bbb4c
SS
59312012-03-21 Sam Steingold <sds@gnu.org>
5932
5933 * window.el (switch-to-prev-buffer): Do not switch to a visible
5934 window previous buffer, just like with the frame previous buffers.
5935
fb5b8aca
CY
59362012-03-21 Chong Yidong <cyd@gnu.org>
5937
5938 * faces.el (make-face, make-empty-face, copy-face):
5939 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5940 Doc fixes.
5941
dc9924b8
SM
59422012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5943
5944 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5945 (widget-complete): Remove broken use of it.
5946
f0bcceb9
CY
59472012-03-20 Chong Yidong <cyd@gnu.org>
5948
dc9924b8
SM
5949 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5950 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5951 characters.
5952
ee52ebf3
TH
59532012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5954
5955 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5956 to draw rectangles, not squares. (Regression introduced by revno
5957 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5958
4c5779ab
CY
59592012-03-18 Chong Yidong <cyd@gnu.org>
5960
5961 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5962 it is not yet defined (for temacs).
5963
15360934
LL
59642012-03-18 Leo Liu <sdl.web@gmail.com>
5965
dc9924b8 5966 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5967
d9a8eb66
EZ
59682012-03-17 Eli Zaretskii <eliz@gnu.org>
5969
5970 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5971 (ispell-choices-win-default-height, ispell-silently-savep)
5972 (ispell-dictionary-alist, ispell-encoding8-command)
5973 (ispell-check-version, ispell-aspell-find-dictionary)
5974 (ispell-valid-dictionary-list, ispell-words-keyword)
5975 (ispell-get-word, ispell-internal-change-dictionary)
5976 (ispell-region, ispell-skip-region-list)
5977 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5978 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5979 (ispell-message-text-end, ispell-message)
5980 (ispell-buffer-local-parsing): Doc fix.
5981
f02ff80d
J
59822012-03-13 Jambunathan K <kjambunathan@gmail.com>
5983
5984 * htmlfontify.el: Add support for code block fontification for ODT
5985 export (Bug #9914).
5986 (hfy-optimisations): Define new option
5987 `body-text-only'
5988 (hfy-fontify-buffer): Honor above setting.
5989 (hfy-begin-span, hfy-end-span): New routines factored out form
5990 `hfy-fontify-buffer'.
5991 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5992 that permit insertion of custom tags.
5993 (hfy-fontify-buffer): Use above handlers.
5994 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5995 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5996 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5997 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5998 bind a special variable `hfy-user-sheet-assoc'.
5999 (htmlfontify-string): New defun.
6000 (hfy-compile-face-map): Make sure that the last char in the
6001 buffer is correctly fontified.
6002 (hfy-face-resolve-face): Whitespace only change.
6003
9ac7a13f
EZ
60042012-03-17 Eli Zaretskii <eliz@gnu.org>
6005
6006 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
6007 message more clear.
6008
e2b5bdd7
LL
60092012-03-16 Leo Liu <sdl.web@gmail.com>
6010
6011 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
6012
2e492df3
AM
60132012-03-16 Alan Mackenzie <acm@muc.de>
6014
6015 Further optimise the handling of large macros.
6016
6017 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
6018 limit to a call of `c-literal-limits'.
6019 (c-determine-+ve-limit): New function.
dc9924b8
SM
6020 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
6021 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
6022 In CASE 5B, restrict a search limit to 500.
6023 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
6024
6025 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
6026 Restrict macro bounds to +-500 from after-change's BEG END.
6027
50e94f0c
LL
60282012-03-16 Leo Liu <sdl.web@gmail.com>
6029
6030 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
6031
6f09f6ed
AH
60322012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
6033
6034 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 6035 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 6036
c7e73d51
GM
60372012-03-16 Glenn Morris <rgm@gnu.org>
6038
da986230
GM
6039 * view.el (view-buffer, view-buffer-other-window)
6040 (view-buffer-other-frame): Doc fixes re special mode-class.
6041
0835f01e
GM
6042 * subr.el (eval-after-load): If named feature is provided not from
6043 a file, run after-load forms. (Bug#10946)
6044
c7e73d51
GM
6045 * calendar/calendar.el (calendar-insert-at-column):
6046 Handle non-unit-width characters a bit better. (Bug#10978)
6047
3f2eafd1
CY
60482012-03-15 Chong Yidong <cyd@gnu.org>
6049
6050 * emacs-lisp/ring.el (ring-extend): New function.
6051 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6052
6053 * comint.el (comint-read-input-ring)
6054 (comint-add-to-input-history): Grow comint-input-ring lazily.
6055
103af3fe
SM
60562012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6057
663b1677
SM
6058 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6059 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6060
103af3fe
SM
6061 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6062 (imenu-add-to-menubar): Don't add a redundant index.
6063 (imenu-update-menubar): Handle a dynamically composed keymap.
6064
899cb7cb
KY
60652012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6066
6067 * mail/sendmail.el (mail-encode-header):
6068 Bind rfc2047-encode-encoded-words to nil.
6069
3809f91d
GM
60702012-03-13 Glenn Morris <rgm@gnu.org>
6071
6072 * calendar/calendar.el (calendar-string-spread):
6073 Handle non-unit-width characters a bit better. (Bug#10978)
6074
9e345a01
LL
60752012-03-13 Leo Liu <sdl.web@gmail.com>
6076
6077 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6078 directory and file as argument (Bug#10822).
6079
4a07df36
KS
60802012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6081
6082 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6083 For dynamically generated code, follow $PC.
6084 (gdb-disassembly-handler-custom): Handle no function name case.
6085
4aaa9356
TL
60862012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6087
6088 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6089 * emulation/ws-mode.el (ws-query-replace):
6090 * sort.el (sort-regexp-fields):
6091 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6092
225979da
SM
60932012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6094
6095 * dabbrev.el: Fix cycle completion order (bug#10963).
6096 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6097 (dabbrev-completion): Don't use an obarray; provide
6098 a cycle-sort-function.
6099
e2f1fdab
LL
61002012-03-12 Leo Liu <sdl.web@gmail.com>
6101
dc9924b8 6102 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6103 (kill-do-not-save-duplicates): Doc fix.
6104
b19490ed
SM
61052012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6106
6107 * dabbrev.el: Fix cycle completion (bug#10963).
6108 Use lexical binding and wrap to 80 columns.
6109 (dabbrev-completion): Delay computing the list of completions.
6110
4b05d722
KH
61112012-03-12 Kenichi Handa <handa@m17n.org>
6112
6113 * international/quail.el (quail-insert-kbd-layout): Surround each
6114 row by LRO and PDF instead of inserting many LRMs. Pad the left
6115 and right of each non-spacing marks. Insert invisible space
6116 between lower and upper characters to prevent composition.
6117
dbbc2e69
SM
61182012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6119
6120 * minibuffer.el (minibuffer-complete): Don't get confused when the
6121 function is run twice via different commands (bug#10958).
6122 (complete-with-action): Fix docstring.
6123
292112ed
CY
61242012-03-12 Chong Yidong <cyd@gnu.org>
6125
5d1ac394
CY
6126 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6127 (nxml-completion-at-point-function): New function.
6128 (nxml-mode): Use it.
6129 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6130
292112ed
CY
6131 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6132 Load generated autoloads file before byte compiling (Bug#10970).
6133 (package--make-autoloads-and-compile): New helper fun.
6134
4098f8f7
CS
61352012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6136
6137 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6138
8f754691
MA
61392012-03-11 Michael Albinus <michael.albinus@gmx.de>
6140
6141 * autorevert.el (auto-revert-handler): Ensure, that
6142 file-readable-p is applied only for local files or in
6143 auto-revert-tail-mode.
6144
e29ab36b
AS
61452012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6146
dbbc2e69
SM
6147 * server.el (server-eval-at): Handle non-tcp connections.
6148 Decode result string.
ad0bf5b6 6149
e29ab36b
AS
6150 * server.el (server-msg-size): New constant.
6151 (server-reply-print): New function.
6152 (server-eval-and-print): Use it.
6153 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6154 Handle -print-nonl.
6155
de5939ba
CS
61562012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6157
6158 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6159 (Bug#10987).
6160
0c93eabf
CY
61612012-03-11 Chong Yidong <cyd@gnu.org>
6162
397a688f
CY
6163 * simple.el (goto-line): Doc fix (Bug#9938).
6164
2cc775f9
CY
6165 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6166
0c93eabf
CY
6167 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6168 when finished (Bug#10963).
6169
c491fa41
MR
61702012-03-11 Martin Rudalics <rudalics@gmx.at>
6171
6172 * window.el (split-window-below): Fix bug in case where
6173 split-window-keep-point is nil (Bug#10971).
6174
300e8fa5
JL
61752012-03-11 Juri Linkov <juri@jurta.org>
6176
6177 * replace.el (replace-highlight): Set isearch-word to nil
6178 unconditionally. (Bug#10887)
6179
dbf6c5a1
EZ
61802012-03-10 Eli Zaretskii <eliz@gnu.org>
6181
6182 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6183 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6184 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6185 (mairix-widget-create-query): Add usage information about mairix
6186 search forms: negating words, searching for substrings, etc.
6187
b9e501de
JP
61882012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6189
6190 * international/fontset.el (font-encoding-alist): Add an entry for
6191 ksx1001 (Bug#5667).
6192
92795c91
RS
61932012-03-10 Richard Stallman <rms@gnu.org>
6194
1694e6c1
RS
6195 * mail/sendmail.el (mail-encode-header):
6196 Set rfc2047-encode-encoded-words.
6197
607e8555
RS
6198 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6199
de3bc99a
RS
6200 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6201 view buffer means not swapped.
6202 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6203 (rmail-write-region-annotate): Error if real text has disappeared.
6204
92795c91
RS
6205 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6206
699bd04e
CY
62072012-03-10 Chong Yidong <cyd@gnu.org>
6208
6209 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6210 * emulation/cua-base.el (cua--init-keymaps):
6211 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6212
570a1714
MR
62132012-03-10 Martin Rudalics <rudalics@gmx.at>
6214
dbbc2e69
SM
6215 * speedbar.el (speedbar-unhighlight-one-tag-line):
6216 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6217
82dcf4e4
CY
62182012-03-10 Chong Yidong <cyd@gnu.org>
6219
7a2c7ca7
CY
6220 * minibuffer.el (completion-in-region, completion-help-at-point):
6221 Give the completion field overlay a high priority (Bug#6830).
6222
82dcf4e4
CY
6223 * dired.el (dired-goto-file): Recognize absolute file name
6224 listings (Bug#7126).
6225 (dired-goto-file-1): New helper function.
6226 (dired-toggle-read-only): Inhibit warnings.
6227
052e28ac
MA
62282012-03-09 Michael Albinus <michael.albinus@gmx.de>
6229
75f1671a 6230 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6231 there are no properties.
6232
95d5e396
LL
62332012-03-09 Leo Liu <sdl.web@gmail.com>
6234
6235 * savehist.el (savehist-printable): Stricter check for string
6236 value (Bug#10937).
6237
3f018d6d
EZ
62382012-03-09 Eli Zaretskii <eliz@gnu.org>
6239
dbbc2e69
SM
6240 * mail/smtpmail.el (smtpmail-send-it):
6241 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6242 valid mbox format.
6243
f7fd3d79
GM
62442012-03-09 Glenn Morris <rgm@gnu.org>
6245
6246 * files.el (dir-locals-find-file):
6247 Don't check result is regular, readable.
6248 (dir-locals-read-from-file): Demote errors.
6249
6ff6e72f
EZ
62502012-03-08 Eli Zaretskii <eliz@gnu.org>
6251
dbbc2e69
SM
6252 * international/quail.el (quail-insert-kbd-layout):
6253 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6254 layout cell, to prevent their reordering by bidi display engine.
6255 For details, see the discussion in
6256 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6257
9cec7834
AM
62582012-03-08 Alan Mackenzie <acm@muc.de>
6259
6260 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6261 the starting position; make it extend the marked region when
6262 invoked repeatedly - all under appropriate circumstances.
6263 Fixes bugs #5525, #10906.
6264
9a40b8d4
GM
62652012-03-08 Glenn Morris <rgm@gnu.org>
6266
6267 * files.el (locate-dominating-file, dir-locals-find-file):
6268 Undo 2012-03-06 change.
6269
7a08ed35
EZ
62702012-03-07 Eli Zaretskii <eliz@gnu.org>
6271
dbbc2e69
SM
6272 * international/quail.el (quail-help):
6273 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6274 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6275 for the reason.
6276
5aca4f71 62772012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6278
6279 Avoid superfluous registering of signals. (Bug#10807)
6280
6281 * notifications.el (notifications-on-action-object)
6282 (notifications-on-close-object): New defvars.
6283 (notifications-on-action-signal, notifications-on-closed-signal):
6284 Unregister the signal if not needed any longer.
6285 (notifications-notify): Register `notifications-action-signal' or
6286 `notifications-closed-signal', if :on-action or :on-close has been
6287 passed as argument.
6288
78e8b10a
CY
62892012-03-07 Chong Yidong <cyd@gnu.org>
6290
6291 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6292 non-X platforms.
6293
69481eb8
GM
62942012-03-06 Glenn Morris <rgm@gnu.org>
6295
6296 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6297 (x-disown-selection-internal, x-get-selection-internal):
6298 Doc fix (add arglist signatures). (Bug#10783)
6299
133b8e11
KS
63002012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6301
6302 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6303 Handle breakpoints with no "type".
6304
99a83064
GM
63052012-03-06 Glenn Morris <rgm@gnu.org>
6306
6307 * files.el (locate-dominating-file): Add optional predicate argument.
6308 (dir-locals-find-file): Make use of above change.
6309
17798e78
TTN
63102012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6311
6312 * info.el (Info-insert-dir): Also try "dir.gz".
6313
eb182446
GM
63142012-03-06 Glenn Morris <rgm@gnu.org>
6315
8f2114ee
GM
6316 * files.el (dir-locals-find-file):
6317 Ignore non-readable or non-regular files. (Bug#10928)
6318
eb182446
GM
6319 * files.el (locate-dominating-file): Doc fix.
6320
24679323
AS
63212012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6322
6323 * calendar/calendar.el (calendar-set-mode-line):
6324 `getenv' returns a string. (Bug#10951)
6325
01d972a9
LL
63262012-03-05 Leo Liu <sdl.web@gmail.com>
6327
109aa8a9
LL
6328 * simple.el (backward-delete-char-untabify): Constrain point to
6329 field (Bug#10939).
6330
01d972a9
LL
6331 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6332
10607bea
CY
63332012-03-05 Chong Yidong <cyd@gnu.org>
6334
6335 * simple.el (count-words): If called from Lisp, return the word
6336 count, for symmetry with `count-lines'. Arglist changed.
6337 (count-words--message): Args changed. Consolidate counting code
6338 from count-words and count-words-region.
6339 (count-words-region): Caller changed.
6340 (count-lines-region): Make it an obsolete alias.
6341
5dd11cfe
TH
63422012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6343
6344 * saveplace.el (save-place-to-alist)
6345 (save-place-ignore-files-regexp): Allow value nil to disable this
6346 feature.
6347
c349f4e6
CY
63482012-03-04 Chong Yidong <cyd@gnu.org>
6349
6350 * faces.el (face-spec-reset-face): For the default face, reset the
6351 attributes to default values (Bug#10748).
6352
e627be4c
LMI
63532012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6354
6355 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6356 previous patch: Check `message-send-mail-function', and not the
6357 default function (bug#10897).
6358
ebeabff4
MA
63592012-03-04 Michael Albinus <michael.albinus@gmx.de>
6360
a41a6cf4
MA
6361 * notifications.el (notifications-on-action-signal)
6362 (notifications-on-closed-signal): Check for unique service name of
6363 incoming event. Fix error in removing entry.
ebeabff4 6364 (top): Register for signals with wildcard service name.
a41a6cf4 6365 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6366
c1ca42b4
CY
63672012-03-04 Chong Yidong <cyd@gnu.org>
6368
dc9924b8 6369 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6370
ea16568d
GM
63712012-03-04 Glenn Morris <rgm@gnu.org>
6372
6373 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6374 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6375 (expand-abbrev, define-abbrev-table): Doc fixes.
6376
fbae4637
LMI
63772012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6378
6379 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6380 `message-default-send-mail-function' and not `send-mail-function'
6381 when doing the prompting for `sendmail-query-once' before sending
6382 in Message buffers (bug#10897).
6383
a1e7225c
LMI
6384 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6385 This is inconsistent with all the other stream functions, which leave
6386 the setting up to the higher levels (if so wanted) (bug#10931).
6387
56d093a9
AM
63882012-03-02 Alan Mackenzie <acm@muc.de>
6389
6390 Depessimize the handling of very large macros.
6391
6392 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6393 (c-macro-cache-syntactic): New variables to implement a one
6394 element macro cache.
6395 (c-invalidate-macro-cache): New function.
6396 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6397 Adapt to use the new cache.
6398 (c-state-safe-place): Use better the cache of safe positions.
6399 (c-state-semi-nonlit-pos-cache)
6400 (c-state-semi-nonlit-pos-cache-limit):
6401 New variables for...
6402 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6403 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6404 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6405 Use c-state-semi-safe-place.
56d093a9 6406
dbbc2e69
SM
6407 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6408 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6409
817e5c3d
MA
64102012-03-02 Michael Albinus <michael.albinus@gmx.de>
6411
dbbc2e69
SM
6412 * jka-compr.el (jka-compr-call-process):
6413 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6414 not remote.
6415
a032a702
MA
64162012-03-01 Michael Albinus <michael.albinus@gmx.de>
6417
6418 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6419 access of FILE2, if FILE1 does not exist.
6420
99a54f21
MA
6421 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6422 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6423
6424 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6425 Add "PAGER=" to `process-environment'.
6426
f6561e1f
MM
64272012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6428
6429 * progmodes/sql.el: Bug fix
6430 (sql-get-login-ext): Save login values in globals.
6431 (sql-get-login): Use new version of `sql-get-login-ext'.
6432 (sql-interactive-mode): Set global `sql-connection' to nil.
6433 (sql-connect): Set global values for connection.
6434 (sql-product-interactive): Save global values as buffer local.
6435
2d44d9cc
LL
64362012-02-29 Leo Liu <sdl.web@gmail.com>
6437
6438 * abbrev.el (define-abbrevs): Reset sys to nil.
6439
96b49301 64402012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6441
bf7f9bc5
JB
6442 * files.el (file-equal-p): Rename from `files-equal-p'.
6443 Return nil when one or both files don't exist.
96b49301 6444 (file-subdir-of-p): Now only top directory must exists,
6445 return nil if it doesn't.
bf7f9bc5
JB
6446 (copy-directory): No need to test with `file-subdir-of-p' after
6447 creating dir.
6448 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6449 to `file-equal-p'.
96b49301 6450
44e97401
GM
64512012-02-28 Glenn Morris <rgm@gnu.org>
6452
6453 * shell.el (shell-mode):
6454 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6455 * play/landmark.el (landmark-font-lock-face-O):
6456 * play/handwrite.el (handwrite):
6457 * play/gomoku.el (gomoku-O):
6458 * net/browse-url.el (browse-url-browser-display):
6459 * international/mule.el (define-charset):
6460 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6461 * filesets.el (filesets-find-file-delay):
6462 * eshell/em-xtra.el (eshell-xtra):
6463 * eshell/em-unix.el (eshell-grep):
6464 * emulation/viper.el (viper-mode):
6465 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6466 * emacs-lisp/easymenu.el (easy-menu-define):
6467 * calendar/timeclock.el (timeclock-use-display-time):
6468 * bs.el (bs-mode):
6469 * bookmark.el (bookmark-save-flag):
6470 Doc fix (standardize possessive apostrophe usage).
6471
c98c6276
CY
64722012-02-27 Chong Yidong <cyd@gnu.org>
6473
bf7f9bc5
JB
6474 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6475 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6476
c98c6276
CY
6477 * font-lock.el (font-lock-specified-p): Rename from
6478 font-lock-spec-present. Callers changed.
6479
9c62cd04 64802012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6481
bf7f9bc5
JB
6482 * emacs-lisp/package.el (package-compute-transaction):
6483 Handle holding a package version to t in package-load-list.
8ac9e529 6484
530739c9
MA
64852012-02-26 Michael Albinus <michael.albinus@gmx.de>
6486
6487 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6488 (tramp-get-inode, tramp-get-device): Use cached values.
6489
487915d7
AM
64902012-02-26 Alan Mackenzie <acm@muc.de>
6491
6492 Check there is a font-lock specification before doing initial
6493 fontification.
6494
6495 * font-core.el (font-lock-mode): Move the conditional from
6496 :after-hook to font-lock-initial-fontify.
6497 (font-lock-default-function): Move the check for a specification
6498 to font-lock-spec-present.
6499
dc9924b8 6500 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6501 (font-lock-spec-present): New function.
6502
4fd96557
JB
65032012-02-26 Jim Blandy <jimb@red-bean.com>
6504
6505 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6506 (gdb-send): Apply it to the operand of the '-interpreter-exec
6507 console' command, so that we can pass arguments with (say) quotes
6508 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6509
9a4888c0
CY
65102012-02-26 Chong Yidong <cyd@gnu.org>
6511
07498861
CY
6512 * help-fns.el (describe-function-1): Clarify description of
6513 remapping (Bug#10844).
6514
9a4888c0
CY
6515 * files.el (files-equal-p): Doc fix.
6516 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6517 and quit the loop once a mismatch is found.
6518
ea8fb88d
JB
65192012-02-25 Juanma Barranquero <lekktu@gmail.com>
6520
6521 * bs.el (bs--show-with-configuration): Don't throw an error
6522 if the window cannot be split; otherwise, subsequent calls to
6523 bs-show fail, restoring a stale window config. (Bug#10882)
6524
525795c1
JD
65252012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6526
6527 * term/ns-win.el (global-map): Bind ns-drag-file to
6528 ns-find-file (Bug#5855, Bug#10050).
6529
f008086f
AS
65302012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6531
6532 * calendar/parse-time.el (parse-time-string): Allow extractor to
6533 return nil.
6534
a3fcfa99
MA
65352012-02-25 Michael Albinus <michael.albinus@gmx.de>
6536
91027d08
JB
6537 * net/tramp.el (tramp-file-name-for-operation):
6538 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6539
6540 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6541 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6542 Add COPY-CONTENTS argument.
a3fcfa99 6543
67b0de11
CY
65442012-02-25 Chong Yidong <cyd@gnu.org>
6545
6546 Add custom groups for VC backends, for consistency with vc-bzr.
6547
6548 * vc/vc-arch.el (vc-arch):
6549 * vc/vc-cvs.el (vc-cvs):
6550 * vc/vc-git.el (vc-git):
6551 * vc/vc-hg.el (vc-hg):
6552 * vc/vc-mtn.el (vc-mtn):
6553 * vc/vc-rcs.el (vc-rcs):
6554 * vc/vc-sccs.el (vc-sccs):
6555 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6556 All relevant defcustoms reassigned.
6557
3c9dfce6
CY
65582012-02-25 Chong Yidong <cyd@gnu.org>
6559
1339bf43
CY
6560 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6561
3c9dfce6
CY
6562 * term/x-win.el (x-initialize-window-system): Reduce default for
6563 x-selection-timeout to 5 seconds (Bug#8869).
6564
25b2e303 65652012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6566
ec70a47d
GM
6567 * files.el (files-equal-p, file-subdir-of-p): New functions.
6568 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6569 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6570 * dired-aux.el (dired-copy-file-recursive): Same.
6571 (dired-create-files): Modify destination when source is equal to
6572 dest when copying files.
53a46cd0 6573 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6574
914260cd
MA
65752012-02-24 Michael Albinus <michael.albinus@gmx.de>
6576
6577 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6578 (Bug#10874)
6579
2cb228f7
AM
65802012-02-23 Alan Mackenzie <acm@muc.de>
6581
6582 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6583 parameter "after-hook:" to allow the expansion to run code after
6584 the execution of the mode hooks.
6585
6586 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6587 from font-lock-mode-internal.
2cb228f7 6588
91027d08 6589 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6590 :after-hook.
6591
8f0fde21
SM
65922012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6593
3e88618b
SM
6594 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6595 (completion--cache-all-sorted-completions): New function.
6596 (completion-all-sorted-completions): Use it.
6597 (completion--do-completion, minibuffer-force-complete):
6598 Use it to re-instate the flush hook.
6599
8f0fde21
SM
6600 * icomplete.el (icomplete-completions): Replace last fix with a better
6601 one (bug#10850).
6602
8e911f6f
DG
66032012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6604
6605 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6606 when it might call us back infinitely (bug#10797).
6607
49fe4321
GM
66082012-02-23 Glenn Morris <rgm@gnu.org>
6609
6610 * minibuffer.el (completion-category-overrides): Doc fix.
6611
b291b572
SM
66122012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6613
6614 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6615 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6616
31a9ef2e
GM
66172012-02-23 Glenn Morris <rgm@gnu.org>
6618
5e6e6794 6619 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6620 (authors-obsolete-files-regexps, authors-ignored-files)
6621 (authors-ambiguous-files, authors-renamed-files-alist):
6622 Add more entries.
6623
0bd1e074
JL
66242012-02-23 Juri Linkov <juri@jurta.org>
6625
6626 * isearch.el (isearch-occur): Sync interactive spec with occur's
6627 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6628
b617673c
JL
6629 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6630
19e9789e
JL
66312012-02-22 Juri Linkov <juri@jurta.org>
6632
6633 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6634 (ucs-insert): Doc fix. Check for hex digits in the string.
6635 Don't display `nil' in the error message. (Bug#10857)
6636
f41ce09d
AM
66372012-02-22 Alan Mackenzie <acm@muc.de>
6638
7a71b18d 6639 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6640
ac2eceee
GM
66412012-02-22 Glenn Morris <rgm@gnu.org>
6642
6643 * ffap.el (ffap-c-path):
6644 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6645
abd1f678
CY
66462012-02-22 Chong Yidong <cyd@gnu.org>
6647
6648 * custom.el (load-theme): Doc fix.
6649
f25aef2e
GM
66502012-02-22 Glenn Morris <rgm@gnu.org>
6651
6652 * dired-x.el (dired-guess-shell-alist-default):
6653 Remove escape sequences from nroff output. (Bug#172)
6654
5f8dc2ca
GM
66552012-02-21 Glenn Morris <rgm@gnu.org>
6656
6ff86ec4
GM
6657 * vc/emerge.el (emerge-defvar-local):
6658 Set `permanent-local' property rather than unused `preserved'.
6659
be3223a3 6660 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6661 (picture-mode-map): Use it. (Bug#10860)
6662 (picture-mode): Doc fix.
6663
3fe58f4f
JB
66642012-02-21 Juanma Barranquero <lekktu@gmail.com>
6665
6666 * newcomment.el (uncomment-region-default): Remove unused binding.
6667
f9a998c3
GM
66682012-02-21 Glenn Morris <rgm@gnu.org>
6669
6670 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6671 (picture-self-insert, picture-tab-chars): Doc fix.
6672 (picture-mode-map): Fix C-a, C-e.
6673
c6029348
GM
66742012-02-20 Glenn Morris <rgm@gnu.org>
6675
6676 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6677
ab1ce9d7
LL
66782012-02-20 Leo Liu <sdl.web@gmail.com>
6679
6680 * icomplete.el (icomplete-completions): Check FROM arg before
6681 passing to substring (Bug#10850).
6682
0fd40f89
CY
66832012-02-19 Chong Yidong <cyd@gnu.org>
6684
6685 * comint.el: Require ansi-color.
6686 (comint-output-filter-functions): Add ansi-color-process-output.
6687
6688 * ansi-color.el: Don't set comint-output-filter-functions; it is
6689 now in the initial value defined in comint.el.
6690 (ansi-color-apply-face-function): New variable.
6691 (ansi-color-apply-on-region): Use it.
6692 (ansi-color-apply-overlay-face): New function.
6693
6694 * shell.el (shell): No need to require ansi-color.
6695 (shell-mode): Use ansi-color-apply-face-function to highlight
6696 color escapes using font-lock-face property (Bug#10835).
6697
20af2394
CY
66982012-02-19 Chong Yidong <cyd@gnu.org>
6699
6700 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6701 mode-line formats (Bug#10839).
6702
e23a3fbe
GM
67032012-02-18 Glenn Morris <rgm@gnu.org>
6704
b474519e
GM
6705 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6706
6707 * mail/undigest.el (unforward-rmail-message): Doc fix.
6708
e23a3fbe
GM
6709 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6710
57939ff4
EZ
67112012-02-18 Eli Zaretskii <eliz@gnu.org>
6712
6713 * international/characters.el (script-list): Sync with the latest
6714 Unicode Character Database.
6715
0c23686e
AS
67162012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6717
6718 * international/titdic-cnv.el: Remove duplicate coding tag.
6719 * language/cham.el: Likewise.
6720 * language/tai-viet.el: Likewise.
6721
6818b449
GM
67222012-02-18 Glenn Morris <rgm@gnu.org>
6723
6724 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6725 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6726 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6727 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6728 * calendar/holidays.el (holiday-bahai-holidays)
6729 (calendar-holidays, list-holidays):
6730 Use utf-8 Bahá'í in doc-strings, menus, etc.
6731
0311a3fc
TH
67322012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6733
6734 * saveplace.el (save-place-ignore-files-regexp): New variable
6735 allowing for excluding files from saving their location of point.
6736 The default value matches the temporary commit message editing
6737 files from Git, SVN, Bazaar, and Mercurial.
6738 (save-place-to-alist): Use it.
6739
d209e2fb 67402012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6741 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6742
6743 * newcomment.el (uncomment-region-default): Don't leave extra space
6744 when an arg is provided (bug#8150).
6745
ee0ce425
TZ
67462012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6747
eb864a71 6748 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6749
95ddf442
GM
67502012-02-17 Glenn Morris <rgm@gnu.org>
6751
6752 * net/socks.el: Require network-stream. (Bug#10599)
6753
48dd1e39 67542012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6755
6756 * international/charprop.el:
6757 * international/uni-name.el:
6758 * international/uni-old-name.el:
6759 * international/uni-comment.el: Regenerate.
6760
d68cd087
GM
67612012-02-16 Glenn Morris <rgm@gnu.org>
6762
6763 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6764 Interactively in calendar buffer, give an error if not on a date.
6765
13932042
GM
67662012-02-15 Glenn Morris <rgm@gnu.org>
6767
6768 * shell.el (shell-delimiter-argument-list):
6769 Revert 2011-02-17 change. (Bug#8027)
6770
c3a70e2b
CY
67712012-02-15 Chong Yidong <cyd@gnu.org>
6772
60236b0d
CY
6773 * minibuffer.el (completion-at-point-functions): Doc fix.
6774
c3a70e2b
CY
6775 * custom.el (defcustom): Doc fix; note use of defvar.
6776
9f26dc24
GM
67772012-02-15 Glenn Morris <rgm@gnu.org>
6778
6779 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6780 Doc fixes.
6781
6546b134
GM
67822012-02-14 Glenn Morris <rgm@gnu.org>
6783
6784 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6785
d29b2b4c
LI
67862012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6787
6788 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6789 way the ports list is computed.
835bdcba
LI
6790 (smtpmail-query-smtp-server): Prompt the user for a port number if
6791 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6792
08dcdbc9
TZ
67932012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6794
6795 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6796
2605051a
GM
67972012-02-13 Glenn Morris <rgm@gnu.org>
6798
6799 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6800
7ee99f32
TZ
68012012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6802
6803 * net/gnutls.el (gnutls-trustfiles): New variable.
6804 (gnutls-negotiate): Use it.
6805
5f0af64f
LI
68062012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6807
6808 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6809 does its stuff if Gnus is running.
6810
c14fcc95
AM
68112012-02-13 Alan Mackenzie <acm@muc.de>
6812
6813 Fix a loop in c-set-fl-decl-start.
6814
7a71b18d 6815 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6816 c-backward-syntactic-ws actually moves backwards.
6817
142b4d90
LL
68182012-02-13 Leo Liu <sdl.web@gmail.com>
6819
6820 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6821 beginning so that all \C-o chars are removed.
6822
fa9958a6
TZ
68232012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6824
dc9924b8 6825 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6826
0bc5886a
AM
68272012-02-12 Alan Mackenzie <acm@muc.de>
6828
6829 Fix infinite loop with long macros.
4d6769e1 6830 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6831
d4bd55e7
CY
68322012-02-12 Chong Yidong <cyd@gnu.org>
6833
6834 * window.el (display-buffer): Doc fix (Bug#10785).
6835
66f3fe22
GM
68362012-02-12 Glenn Morris <rgm@gnu.org>
6837
bd7da63e
GM
6838 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6839 (x-disown-selection-internal, x-get-selection-internal):
6840 Sync docs with the xselect.c versions.
6841
66f3fe22
GM
6842 * allout-widgets.el: Add missing license notice.
6843
3e0d2fa7
GM
68442012-02-11 Glenn Morris <rgm@gnu.org>
6845
cfecdf09
GM
6846 * select.el (x-get-selection-internal, x-own-selection-internal)
6847 (x-disown-selection-internal):
6848 * x-dnd.el (x-get-selection-internal): Update declarations.
6849
6d216d7f
GM
6850 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6851
2bed3f04
GM
6852 * window.el (window-sides-slots):
6853 * tool-bar.el (tool-bar-position):
6854 * term/xterm.el (xterm-extra-capabilities):
6855 * ses.el (ses-self-reference-early-detection):
6856 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6857 (verilog-auto-wire-type)
6858 (verilog-auto-delete-trailing-whitespace)
6859 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6860 (verilog-auto-tieoff-declaration):
6861 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6862 (sql-oracle-statement-starters, sql-oracle-scan-on):
6863 * progmodes/prolog.el (prolog-align-comments-flag)
6864 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6865 (prolog-left-indent-regexp, prolog-paren-indent-p)
6866 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6867 (prolog-types, prolog-mode-specificators)
6868 (prolog-determinism-specificators, prolog-directives)
6869 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6870 (prolog-electric-dot-flag)
6871 (prolog-electric-dot-full-predicate-template)
6872 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6873 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6874 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6875 (prolog-program-switches, prolog-prompt-regexp)
6876 (prolog-debug-on-string, prolog-debug-off-string)
6877 (prolog-trace-on-string, prolog-trace-off-string)
6878 (prolog-zip-on-string, prolog-zip-off-string)
6879 (prolog-use-standard-consult-compile-method-flag)
6880 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6881 (prolog-imenu-max-lines, prolog-info-predicate-index)
6882 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6883 (prolog-char-quote-workaround):
6884 * progmodes/cc-vars.el (c-defun-tactic):
6885 * net/tramp.el (tramp-encoding-command-interactive)
6886 (tramp-local-end-of-line):
6887 * net/soap-client.el (soap-client):
6888 * net/netrc.el (netrc-file):
6889 * net/gnutls.el (gnutls):
6890 * minibuffer.el (completion-category-overrides)
6891 (completion-cycle-threshold)
6892 (completion-pcm-complete-word-inserts-delimiters):
6893 * man.el (Man-name-local-regexp):
6894 * mail/feedmail.el (feedmail-display-full-frame):
6895 * international/characters.el (glyphless-char-display-control):
6896 * eshell/em-ls.el (eshell-ls-date-format):
6897 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6898 (lisp-lambda-list-keyword-parameter-indentation)
6899 (lisp-lambda-list-keyword-parameter-alignment):
6900 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6901 * dired-x.el (dired-omit-verbose):
6902 * cus-theme.el (custom-theme-allow-multiple-selections):
6903 * calc/calc.el (calc-highlight-selections-with-faces)
6904 (calc-lu-field-reference, calc-lu-power-reference)
6905 (calc-note-threshold):
6906 * battery.el (battery-mode-line-limit):
6907 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6908 (archive-7z-update):
6909 * allout.el (allout-prefixed-keybindings)
6910 (allout-unprefixed-keybindings)
6911 (allout-inhibit-auto-fill-on-headline)
6912 (allout-flattened-numbering-abbreviation):
6913 * allout-widgets.el (allout-widgets-auto-activation)
6914 (allout-widgets-icons-dark-subdir)
6915 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6916 (allout-widgets-theme-dark-background)
6917 (allout-widgets-theme-light-background)
6918 (allout-widgets-item-image-properties-emacs)
6919 (allout-widgets-item-image-properties-xemacs)
6920 (allout-widgets-run-unit-tests-on-load)
6921 (allout-widgets-time-decoration-activity)
6922 (allout-widgets-hook-error-post-time)
6923 (allout-widgets-track-decoration):
6924 Add missing :version tags to new defcustoms and defgroups.
6925
5fec1b8e
GM
6926 * progmodes/sql.el (sql-ansi-statement-starters)
6927 (sql-oracle-statement-starters): Add custom type.
6928
3e0d2fa7
GM
6929 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6930 (prolog-system-version): Give it a type.
6931
90b671e2
EZ
69322012-02-11 Eli Zaretskii <eliz@gnu.org>
6933
6934 * term/pc-win.el (x-select-text, x-selection-owner-p)
6935 (x-own-selection-internal, x-disown-selection-internal)
6936 (x-get-selection-internal): Sync doc strings and argument lists
6937 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6938
5eac0c02
LL
69392012-02-11 Leo Liu <sdl.web@gmail.com>
6940
6941 * progmodes/python.el (python-end-of-statement): Fix infinite
6942 loop. (Bug#10788)
6943
f82cb659
GM
69442012-02-10 Glenn Morris <rgm@gnu.org>
6945
6946 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6947 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6948
cc26d239
LI
69492012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6950
6951 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6952 about SMTP before checking the From header.
6953
91027d08 6954 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6955 into own function for reuse by emacsbug.el.
6956
1be3ca5a
LL
69572012-02-10 Leo Liu <sdl.web@gmail.com>
6958
6959 * subr.el (condition-case-unless-debug): Rename from
6960 condition-case-no-debug. All callers changed.
6961 (with-demoted-errors): Fix caller.
6962
6963 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6964 * nxml/rng-valid.el (rng-do-some-validation):
6965 * emacs-lisp/package.el (package-refresh-contents)
6966 (package-menu-execute):
6967 * desktop.el (desktop-create-buffer):
91027d08 6968 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6969
b011fbfe
GM
69702012-02-10 Glenn Morris <rgm@gnu.org>
6971
b2096d72
GM
6972 * textmodes/bibtex.el:
6973 Add missing :version tags for new/changed defcustoms.
6974
b011fbfe
GM
6975 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6976
4c7e65bf
LI
69772012-02-09 Lars Ingebrigtsen <larsi@rusty>
6978
6979 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6980 (smtpmail-via-smtp): Use it, or fall back on the From address.
6981 (smtpmail-send-it): Ditto.
6982
f3934f6f
SM
69832012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6984
6985 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6986 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6987 (byte-compile-tmp-var): New const.
6988 (byte-compile-defvar): Use it to minimize .elc size.
6989 Just use `defvar' rather than simulate it (bug#10761).
6990
a075a2c5
GM
69912012-02-09 Glenn Morris <rgm@gnu.org>
6992
cf3aa21b
GM
6993 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6994
354998cd
GM
6995 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6996 Add :version tags.
6997
dc9924b8
SM
6998 * progmodes/compile.el (compilation-error-screen-columns)
6999 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 7000
dab3703d
GM
7001 * vc/log-view.el (log-view-toggle-entry-display):
7002 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
7003
3f88cd72
GM
7004 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
7005 (report-emacs-bug-can-use-xdg-email):
7006 (report-emacs-bug-insert-to-mailer): Doc fixes.
7007 (report-emacs-bug): Message fix.
7008
d95b247d
GM
7009 * net/browse-url.el (browse-url-can-use-xdg-open)
7010 (browse-url-xdg-open): Doc fixes.
7011
a075a2c5
GM
7012 * electric.el (electric-indent-mode, electric-pair-mode)
7013 (electric-layout-rules, electric-layout-mode): Doc fixes.
7014 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
7015
ffb6157e
MR
70162012-02-08 Martin Rudalics <rudalics@gmx.at>
7017
7018 * server.el (server-unselect-display): Don't inadvertently kill
7019 the current buffer. (Bug#10729)
7020
e1ac4066
GM
70212012-02-08 Glenn Morris <rgm@gnu.org>
7022
34e8a2da
GM
7023 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
7024 (sql-list-table): Doc fixes.
7025
b4ac6e8c
GM
7026 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
7027 Comment out (does nothing).
7028
e1ac4066
GM
7029 * completion.el (dynamic-completion-mode):
7030 * dirtrack.el (dirtrack-debug-mode):
7031 * electric.el (electric-layout-mode):
7032 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
7033 * face-remap.el (text-scale-mode, buffer-face-mode):
7034 * iimage.el (iimage-mode):
7035 * image-mode.el (image-transform-mode):
7036 * minibuffer.el (completion-in-region-mode):
7037 * scroll-lock.el (scroll-lock-mode):
7038 * simple.el (next-error-follow-minor-mode):
7039 * tar-mode.el (tar-subfile-mode):
7040 * tooltip.el (tooltip-mode):
7041 * vcursor.el (vcursor-use-vcursor-map):
7042 * wid-browse.el (widget-minor-mode):
7043 * emulation/tpu-edt.el (tpu-edt-mode):
7044 * emulation/tpu-extras.el (tpu-cursor-free-mode):
7045 * international/iso-ascii.el (iso-ascii-mode):
7046 * language/thai-util.el (thai-word-mode):
7047 * mail/supercite.el (sc-minor-mode):
7048 * net/goto-addr.el (goto-address-mode):
7049 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
7050 * progmodes/cwarn.el (cwarn-mode):
7051 * progmodes/flymake.el (flymake-mode):
7052 * progmodes/glasses.el (glasses-mode):
7053 * progmodes/hideshow.el (hs-minor-mode):
7054 * progmodes/pascal.el (pascal-outline-mode):
7055 * textmodes/enriched.el (enriched-mode):
7056 * vc/smerge-mode.el (smerge-mode):
7057 Doc fixes (minor mode argument).
7058
5e0d957f
EZ
70592012-02-07 Eli Zaretskii <eliz@gnu.org>
7060
7061 * ls-lisp.el (ls-lisp-sanitize): New function.
7062 (ls-lisp-insert-directory): Use it to fix or remove any elements
7063 in file-alist with missing attributes. (Bug#4673)
7064
98d7371e
AM
70652012-02-07 Alan Mackenzie <acm@muc.de>
7066
7067 Fix spurious recognition of c-in-knr-argdecl.
7068
7069 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7070 putative K&R region.
7071
667ced3a
AM
70722012-02-07 Alan Mackenzie <acm@muc.de>
7073
eb864a71
LM
7074 * progmodes/cc-engine.el (c-forward-objc-directive):
7075 Prevent looping in "#pragma mark @implementation".
667ced3a 7076
5b77774d
MA
70772012-02-07 Michael Albinus <michael.albinus@gmx.de>
7078
7079 * notifications.el (notifications-on-closed-signal): Make `reason'
7080 optional. (Bug#10744)
7081
af008560
GM
70822012-02-07 Glenn Morris <rgm@gnu.org>
7083
60d47423
GM
7084 * emacs-lisp/easy-mmode.el (define-minor-mode):
7085 Doc fixes for the macro and the mode it defines.
7086
dd605cc4
GM
7087 * image.el (imagemagick-types-inhibit): Doc fix.
7088
af008560
GM
7089 * cus-start.el (imagemagick-render-type): Add it.
7090
5cc59a37
LI
70912012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7092
4d6769e1
JB
7093 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7094 Set the default at load time, too, so that `font-lock-fontify-buffer'
7095 can be called without setting up the entire mode first. This fixes
7096 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7097
9a6dd747
CY
70982012-02-06 Chong Yidong <cyd@gnu.org>
7099
2d16b285
CY
7100 * simple.el (list-processes--refresh): Delete exited processes
7101 (Bug#8094).
7102
171e9b6e
CY
7103 * comint.el (comint-next-prompt): next-single-char-property-change
7104 and prev-single-char-property-change never return nil (Bug#8657).
7105
9a6dd747
CY
7106 * custom.el (defcustom): Doc fix (Bug#9711).
7107
aa4589a7
CY
71082012-02-05 Chong Yidong <cyd@gnu.org>
7109
5c2a252f
CY
7110 * cus-edit.el (custom-variable-reset-backup): Quote the value
7111 before storing it in the customized-value property (Bug#6712).
4aab9006 7112 (custom-display): Add a customization type tag.
983b9602 7113 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7114
aa4589a7
CY
7115 * wid-edit.el (widget-field-value-get): New optional arg to
7116 suppress trailing whitespace truncation.
7117 (character): Use it (Bug#2689).
7118
1ff980ae
AS
71192012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7120
7121 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7122 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7123
03988c98
CY
71242012-02-05 Chong Yidong <cyd@gnu.org>
7125
eeb6cc88
CY
7126 * cus-edit.el (custom-variable-value-create): For mismatched
7127 types, show the current value (Bug#7600).
7128
03988c98
CY
7129 * custom.el (defcustom): Doc fix.
7130
f8cdeef0
GM
71312012-02-05 Glenn Morris <rgm@gnu.org>
7132
7133 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7134
0696d255
JB
71352012-02-05 Juanma Barranquero <lekktu@gmail.com>
7136
7137 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7138 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7139 (pp-last-sexp): Use `looking-at-p'.
7140
34c99998
GM
71412012-02-04 Glenn Morris <rgm@gnu.org>
7142
8f05da42
GM
7143 * files.el (revert-buffer):
7144 Doc fix (mention revert-buffer-in-progress-p).
7145
f160676e
GM
7146 * emacs-lisp/ert-x.el (ert-simulate-command):
7147 Check deferred-action-list (which is obsolete) is bound.
7148
c7291ad9
GM
7149 * subr.el (with-wrapper-hook): Doc fixes.
7150
34c99998
GM
7151 * simple.el (filter-buffer-substring-functions)
7152 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7153
6283a7d3
LL
71542012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7155
7156 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7157 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7158
e96e3013
LL
71592012-02-04 Leo Liu <sdl.web@gmail.com>
7160
7161 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7162
8ded50f2
GM
71632012-02-04 Glenn Morris <rgm@gnu.org>
7164
82ff1d13
GM
7165 * image.el (image-extension-data): Add obsolete alias.
7166
987a0a16
GM
7167 * isearch.el (isearch-update): Doc fix.
7168
ea32ef46
GM
7169 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7170
8ded50f2
GM
7171 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7172
eea14f31
GM
71732012-02-03 Glenn Morris <rgm@gnu.org>
7174
7175 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7176 (image-animate-timeout): Doc fix.
7177
7178 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7179
12f381b7
GM
71802012-02-02 Glenn Morris <rgm@gnu.org>
7181
953cebf5
GM
7182 * server.el (server-auth-dir): Doc fix.
7183 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7184
12f381b7
GM
7185 * subr.el (run-mode-hooks): Doc fix.
7186
953a8c3b
JL
71872012-02-02 Juri Linkov <juri@jurta.org>
7188
7189 * image-mode.el (image-toggle-display-image): Remove tautological
7190 `major-mode' from the `derived-mode-p' test.
7191
c5d3843c
KH
71922012-02-02 Kenichi Handa <handa@m17n.org>
7193
9f6e692e 7194 * composite.el (compose-region): Cancel previous change.
c5d3843c 7195
159462d4 71962012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7197
7198 * composite.el (compose-region, compose-string): Signal error for
7199 a null string component (Bug#6988).
7200
9f562668
CY
72012012-02-01 Chong Yidong <cyd@gnu.org>
7202
e2cef717
CY
7203 * view.el (view-buffer-other-window, view-buffer-other-frame):
7204 Handle special modes like view-buffer (Bug#10650).
7205 (view-buffer): Simplify.
7206
9f562668
CY
7207 * frame.el (set-frame-font): Tweak meaning of third argument.
7208
9f6e692e
JB
7209 * dynamic-setting.el (font-setting-change-default-font):
7210 Use set-frame-font (Bug#9982).
9f562668 7211
781acb9f
GM
72122012-02-01 Glenn Morris <rgm@gnu.org>
7213
6035be52
GM
7214 * progmodes/compile.el (compilation-internal-error-properties):
7215 Respect compilation-first-column in the "*compilation*" buffer.
7216
781acb9f
GM
7217 * emacs-lisp/easy-mmode.el (define-minor-mode):
7218 Relax :variable's test for a named function.
7219
abbceb00
AM
72202012-01-31 Alan Mackenzie <acm@muc.de>
7221
7222 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7223 off by one error.
7224
fce3fdeb
CY
72252012-01-31 Chong Yidong <cyd@gnu.org>
7226
7227 * frame.el (set-frame-font): New arg ALL-FRAMES.
7228
7229 * menu-bar.el (menu-set-font): Use set-frame-font.
7230
7231 * faces.el (face-spec-reset-face): Don't apply unspecified
7232 attribute values to the default face.
7233
47893581
JB
72342012-01-31 Juanma Barranquero <lekktu@gmail.com>
7235
7236 * progmodes/cwarn.el (cwarn): Remove dead link.
7237 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7238 Remove * from defcustom docstrings.
7239 (turn-on-cwarn-mode): Make obsolete.
7240 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7241 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7242
e58e988a
GM
72432012-01-31 Glenn Morris <rgm@gnu.org>
7244
60dc2671 7245 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7246 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7247 Allow named functions to be used as the cdr of :variable.
e58e988a 7248
7a3f511d
GM
72492012-01-30 Glenn Morris <rgm@gnu.org>
7250
7251 * emacs-lisp/authors.el (authors-fixed-entries):
7252 Remove reference to deleted file rnewspost.el.
7253
cb882333
JB
72542012-01-29 Juanma Barranquero <lekktu@gmail.com>
7255
7256 * window.el (window-with-parameter): Remove unused variable `windows'.
7257 (window--side-check): Remove unused variable `code'.
7258 (window--resize-siblings): Remove unused variable `first'.
7259 (adjust-window-trailing-edge): Remove unused variable `failed'.
7260 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7261 Use `let', not `let*'.
7262 (balance-windows-2): Remove unused variable `found'.
7263 (window--state-put-2): Remove unused variable `splits'.
7264 (window-state-put): Remove unused variable `selected'.
7265 (same-window-p): Use `string-match-p'.
7266 (display-buffer-assq-regexp): Remove unused variable `value'.
7267 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7268 Mark argument ALIST as ignored.
7269 (pop-to-buffer): Remove unused variable `old-window'.
7270
907201af
EZ
72712012-01-29 Eli Zaretskii <eliz@gnu.org>
7272
7273 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7274 and .lzma compressed files.
7275
ea162670
CY
72762012-01-29 Chong Yidong <cyd@gnu.org>
7277
5b95ee8a
CY
7278 * frame.el (window-system-default-frame-alist): Doc fix.
7279
ea162670
CY
7280 * dynamic-setting.el (font-setting-change-default-font): Don't
7281 change the default face if SET-FONT argument is non-nil (Bug#9982).
7282
d6e6f4b1
SB
72832012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7284
7285 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7286
0f29fa41 72872012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7288
7289 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7290 breakpoints in files outside current directory (Bug#6098).
7291
db174434
CY
72922012-01-29 Chong Yidong <cyd@gnu.org>
7293
6b25e4e2
SE
7294 * progmodes/python.el: Require ansi-color at top-level.
7295
6df6ae42
JB
7296 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7297 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7298 (lisp-mode-abbrev-table): Add doc.
7299 (lisp-mode-variables): Don't set local-abbrev-table.
7300 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7301
e70ee681
RW
73022012-01-28 Roland Winkler <winkler@gnu.org>
7303
7304 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7305
ace88aa2
RW
73062012-01-28 Roland Winkler <winkler@gnu.org>
7307
7308 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7309 (bibtex-set-dialect): Use it. Either set global values of
7310 dialect-dependent variables or bind these variables buffer-locally
7311 (Bug#10254).
7312 (bibtex-mode): Call bibtex-set-dialect via
7313 hack-local-variables-hook.
eb864a71
LM
7314 (bibtex-dialect): Update docstring.
7315 Add safe-local-variable predicate.
ace88aa2
RW
7316 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7317 bibtex-set-dialect.
7318 (bibtex-mode-map): Define menu for each dialect.
7319 (bibtex-entry): Fix docstring.
7320
93376c5b
CY
73212012-01-28 Chong Yidong <cyd@gnu.org>
7322
7323 * eshell/esh-arg.el (eshell-quote-argument): New function.
7324
7325 * eshell/esh-ext.el (eshell-invoke-batch-file):
7326 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7327 first arg to eshell-parse-command (Bug#10523).
7328
4372494f
DA
73292012-01-28 Drew Adams <drew.adams@oracle.com>
7330
7331 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7332 `default-directory' is non-nil.
7333
4d4ec1f8
EZ
73342012-01-28 Eli Zaretskii <eliz@gnu.org>
7335
7336 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7337 line that displays system-configuration-options. (Bug#9924)
7338
7c188927
DA
73392012-01-28 Drew Adams <drew.adams@oracle.com>
7340
7341 * descr-text.el (describe-char): Show information about POS, in
7342 addition to information about the character at POS. Improve and
7343 update the doc string. Change "code point" to "code point in
7344 charset", to avoid confusion with the character's Unicode code
7345 point shown above that. (Bug#10129)
7346
e0da685a
EZ
73472012-01-28 Eli Zaretskii <eliz@gnu.org>
7348
7349 * descr-text.el (describe-char): Show the raw character, not only
7350 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7351 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7352 for the reasons.
7353
70550acf
PH
73542012-01-28 Phil Hagelberg <phil@hagelb.org>
7355
eb864a71
LM
7356 * emacs-lisp/package.el (package-install):
7357 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7358
0ce8e868
CY
73592012-01-28 Chong Yidong <cyd@gnu.org>
7360
cb882333
JB
7361 * emacs-lisp/package.el (package-maybe-load-descriptor):
7362 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7363 (package-maybe-load-descriptor): Use it.
7364 (package-download-transaction): Fully load required packages
7365 inside the loop, so that `require' calls work (Bug#10593).
7366 (package-install): No need to call package-initialize now.
7367
2e7f3bea
CY
73682012-01-28 Chong Yidong <cyd@gnu.org>
7369
6e9bad14
CY
7370 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7371
f823b8ca
CY
7372 * tooltip.el (tooltip-mode): Doc fix.
7373 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7374
2680c309
CY
7375 * frame.el (set-cursor-color): Doc fix (Bug#352).
7376
d7a9e63b
CY
7377 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7378 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7379
2e7f3bea
CY
7380 * cus-edit.el (custom-buffer-create-internal): Fix search button
7381 action (Bug#10542).
2ae01800 7382 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7383
fc4f7a23
EW
73842012-01-27 Eduard Wiebe <usenet@pusto.de>
7385
7386 * dired.el (dired-mark-files-regexp):
7387 Include any subdirectory components. (Bug#10445)
7388
7dd37071
ML
73892012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7390
7391 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7392 Handle [host]:port syntax. (Bug#10533)
7393
a268160b
AH
73942012-01-27 Alex Harsanyi <harsanyi@mac.com>
7395
7396 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7397
e43273ef
GM
73982012-01-26 Glenn Morris <rgm@gnu.org>
7399
7400 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7401 * term.el (term-raw-escape-map): Use Control-X-prefix.
7402 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7403
1edf595d
MR
74042012-01-25 Martin Rudalics <rudalics@gmx.at>
7405
7406 * window.el (window-state-get, window--state-get-1): Don't deal
7407 with fixed-sizeness of windows. Simplify code.
7408
fa8eafef
JC
74092012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7410
6df6ae42
JB
7411 * window.el (window--state-get-1, window--state-put-2):
7412 Don't save and restore the mark.
fa8eafef 7413
0b21c100
CY
74142012-01-25 Chong Yidong <cyd@gnu.org>
7415
7416 * custom.el (custom-variable-p): Doc fix.
7417
5ae1a6c8
GM
74182012-01-25 Glenn Morris <rgm@gnu.org>
7419
40047858
GM
7420 * dired.el (dired-goto-file): Handle some of the more common
7421 characters that `ls -b' escapes. (Bug#10596)
7422
5ddce96c
GM
7423 * progmodes/compile.el (compilation-next-error-function):
7424 Respect compilation-first-column in the "*compilation*" buffer.
7425 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7426
5ae1a6c8
GM
7427 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7428
b559f1a9
GM
74292012-01-24 Glenn Morris <rgm@gnu.org>
7430
7431 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7432
6725d21a
JD
74332012-01-24 Julien Danjou <julien@danjou.info>
7434
7435 * color.el (color-rgb-to-hsl): Fix value computing.
7436 (color-hue-to-rgb): New function.
7437 (color-hsl-to-rgb): New function.
7438 (color-clamp, color-saturate-hsl, color-saturate-name)
7439 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7440 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7441
70df4bbe
GM
74422012-01-24 Glenn Morris <rgm@gnu.org>
7443
7444 * vc/vc-rcs.el (vc-rcs-create-tag):
7445 * vc/vc-sccs.el (vc-sccs-create-tag):
7446 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7447
802a2ae2
ML
74482012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7449
7450 * eshell/esh-util.el (eshell-read-hosts-file):
7451 Skip comment lines. (Bug#10549)
7452
d7128bb1
ML
7453 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7454
d1a5c3b4
JB
74552012-01-23 Juanma Barranquero <lekktu@gmail.com>
7456
2724d9c7
JB
7457 * subr.el (display-delayed-warnings): Doc fix.
7458 (collapse-delayed-warnings): New function to collapse identical
7459 adjacent warnings.
7460 (delayed-warnings-hook): Add it.
d1a5c3b4 7461
a5509865
MA
74622012-01-22 Michael Albinus <michael.albinus@gmx.de>
7463
7464 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7465
a5509865
MA
7466 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7467 (tramp-default-user-alist): Don't add "pscp".
7468 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7469 property "login-as", if set. (Bug#10530)
7470
cc6d5805
MA
74712012-01-21 Michael Albinus <michael.albinus@gmx.de>
7472
7473 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7474 "plink1" and "psftp". (Bug#10530)
7475
74762012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7477
7478 * international/mule-cmds.el (prefer-coding-system): Show a
7479 warning message if the default value of file-name-coding-system
7480 was not changed.
7481
f0960428
JC
74822012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7483
cb882333
JB
7484 * windmove.el (windmove-reference-loc):
7485 Fix windmove-reference-loc miscalculation.
f0960428 7486
dd6f2a63
JB
74872012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7488
7489 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7490 default unit.
7491
7b447e9b
GM
74922012-01-21 Glenn Morris <rgm@gnu.org>
7493
117a9ea1
GM
7494 * international/mule.el (auto-coding-alist): Add .tbz.
7495
7b447e9b
GM
7496 * files.el (local-enable-local-variables): Doc fix.
7497 (inhibit-local-variables-regexps): Rename from
7498 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7499 Doc fix. Add some extensions from auto-coding-alist.
7500 (inhibit-local-variables-suffixes):
7501 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7502 (inhibit-local-variables-p):
7503 New function, extracted from set-auto-mode-1.
7504 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7505 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7506 (hack-local-variables): Doc fix. Make the mode-only case
7507 respect enable-local-variables and friends.
7508 Respect inhibit-local-variables-regexps for file-locals, but
7509 not for directory-locals.
7510 (set-visited-file-name):
7511 Take account of inhibit-local-variables-regexps.
7512 Whether it applies may change as the file name is changed.
7513 * jka-cmpr-hook.el (jka-compr-install):
7514 * jka-compr.el (jka-compr-uninstall):
7515 Update for inhibit-first-line-modes-suffixes name change.
7516
dd6e3cdd
MR
75172012-01-20 Martin Rudalics <rudalics@gmx.at>
7518
7519 * help-macro.el (make-help-screen): Temporarily restore original
7520 binding for minor-mode-map-alist (Bug#10454).
7521
0d0deb38
JD
75222012-01-19 Julien Danjou <julien@danjou.info>
7523
7524 * color.el (color-name-to-rgb): Use the white color to find the max
7525 color component value and return correctly computed values.
7526 (color-name-to-rgb): Add missing float conversion for max value.
7527
34a02f46
MR
75282012-01-19 Martin Rudalics <rudalics@gmx.at>
7529
7530 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7531 special state value for window-persistent-parameters.
7532 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7533 (window--state-put-2): Reset all window parameters to nil before
7534 assigning values of persistent parameters.
7535
606c44c4
AM
75362012-01-18 Alan Mackenzie <acm@muc.de>
7537
7538 Eliminate sluggishness and hangs in fontification of "semicolon
7539 deserts".
7540
cb882333
JB
7541 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7542 Change value 10000 -> 3000.
606c44c4
AM
7543 (c-state-safe-place): Reformulate so it doesn't stack up an
7544 infinite number of wrong entries in c-state-nonlit-pos-cache.
7545 (c-determine-limit-get-base, c-determine-limit): New functions to
7546 determine backward search limits disregarding literals.
7547 (c-find-decl-spots): Amend commenting.
7548 (c-cheap-inside-bracelist-p): New function which detects "={".
7549
7550 * progmodes/cc-fonts.el
7551 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7552 backward search.
7553 (c-font-lock-declarations): Fix an occurrence of point being
7554 undefined. Check additionally for point being in a bracelist or
7555 near a macro invocation without a semicolon so as to avoid a
7556 fruitless time consuming search for a declarator. Give a more
7557 precise search limit for declarators using the new
7558 c-determine-limit.
7559
f3860cea
GM
75602012-01-18 Glenn Morris <rgm@gnu.org>
7561
7562 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7563 (set-auto-mode): Doc fixes.
7564
1db03b16
GM
75652012-01-17 Glenn Morris <rgm@gnu.org>
7566
0e6038be
GM
7567 * isearch.el (search-nonincremental-instead): Fix doc typo.
7568
1db03b16
GM
7569 * dired.el (dired-insert-directory): Handle newlines in directory name.
7570 (dired-build-subdir-alist): Unescape newlines in directory name.
7571
4cb0aa75
MA
75722012-01-17 Michael Albinus <michael.albinus@gmx.de>
7573
7574 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7575 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7576 (tramp-action-terminal): Use it. (Bug#10530)
7577
1d00653d
SM
75782012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7579
7580 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7581
6a6ee00d
MR
75822012-01-16 Martin Rudalics <rudalics@gmx.at>
7583
7584 * window.el (window-state-ignored-parameters): Remove variable.
7585 (window--state-get-1): Rename argument MARKERS to IGNORE.
7586 Handle persistent window parameters. Make copy of clone-of
7587 parameter only if requested. (Bug#10348)
7588 (window--state-put-2): Install a window parameter only if it has
7589 a non-nil value or an existing parameter shall be overwritten.
7590
97912def
MA
75912012-01-15 Michael Albinus <michael.albinus@gmx.de>
7592
7593 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7594
688070a5
EZ
75952012-01-14 Eli Zaretskii <eliz@gnu.org>
7596
7597 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7598 don't pass the (nil) value of `upnode' to string-match.
7599
301afadc
CY
76002012-01-14 Chong Yidong <cyd@gnu.org>
7601
7602 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7603 Fix values recognized by the cursorBlink resource.
301afadc 7604
9e5788aa
PE
76052012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7606
7607 * epg.el (epg--make-temp-file): Avoid permission race condition
7608 when running on old Emacs versions (bug#10403).
7609
3cdb7f5a
GM
76102012-01-14 Glenn Morris <rgm@gnu.org>
7611
7612 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7613
8c82b1b4
AM
76142012-01-13 Alan Mackenzie <acm@muc.de>
7615
7616 Fix filling for when filladapt mode is enabled.
7617
7618 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7619 c-mask-paragraph, pass in `fill-paragraph' rather than
7620 `fill-region-as-paragraph'. (This is a reversion of a previous
7621 change.)
eb864a71
LM
7622 * progmodes/cc-mode.el (c-basic-common-init):
7623 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7624
e517eda4
GM
76252012-01-13 Glenn Morris <rgm@gnu.org>
7626
1498536e
GM
7627 * dired.el (dired-switches-escape-p): New function.
7628 (dired-insert-directory): Use dired-switches-escape-p.
7629 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7630
e517eda4
GM
7631 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7632
328f984d
GM
76332012-01-12 Glenn Morris <rgm@gnu.org>
7634
7635 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7636 changes in adaptive-fill-regexp. (Bug#10276)
7637
2cc769a8
AM
76382012-01-11 Alan Mackenzie <acm@muc.de>
7639
7640 Fix Emacs bug #10463 - put `widen's around the critical spots.
7641
1d00653d 7642 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7643 widen around each invocation of c-state-pp-to-literal. Remove an
7644 unused let variable.
7645
e52c37fa
GM
76462012-01-11 Glenn Morris <rgm@gnu.org>
7647
7648 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7649 Doc fix.
e52c37fa 7650
96f8741e
CY
76512012-01-10 Chong Yidong <cyd@gnu.org>
7652
1d00653d
SM
7653 * net/network-stream.el (network-stream-open-starttls):
7654 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7655 response to the capability command.
7656
b09a806e
GM
76572012-01-10 Glenn Morris <rgm@gnu.org>
7658
7659 * mail/unrmail.el (unrmail): Tweak previous change.
7660
7655cb66
CY
76612012-01-09 Chong Yidong <cyd@gnu.org>
7662
7663 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7664
9d5a8f0b
AM
76652012-01-08 Alan Mackenzie <acm@muc.de>
7666
7667 Optimise font locking in long enum definitions.
7668
7669 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7670 arm to a cond form to handle enums.
7671 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7672 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7673
9a0115ab 76742012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7675
7676 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7677 (Bug#10401)
6bb72cbd 7678
f186bb95
LMI
76792012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7680
29232a68
LMI
7681 * faces.el (set-face-attribute): Clarify the meaning of the nil
7682 frame (bug#10294).
7683
4e5d086d
LMI
7684 * subr.el (with-selected-frame): Mention that the selected frame
7685 is restored (bug#9980).
7686
8e66aebe
LMI
7687 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7688 (bug#9759).
7689
cd394be1 7690 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7691 (password-read): Don't autoload unused function.
7692
adf4e762
JB
76932012-01-07 Juanma Barranquero <lekktu@gmail.com>
7694
7695 * progmodes/which-func.el (which-func-mode): Turn into a
7696 non-interactive function and mark as obsolete (bug#10428).
7697
89bd9ccd
CY
76982012-01-06 Chong Yidong <cyd@gnu.org>
7699
7700 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7701 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7702 functions, along with 1 and -1.
7703
4afee9d5
EZ
77042012-01-06 Eli Zaretskii <eliz@gnu.org>
7705
7706 * time.el (display-time-load-average)
7707 (display-time-default-load-average): Doc fixes. See the thread
7708 starting at
7709 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7710 for the details.
7711
536aea70
GM
77122012-01-06 Glenn Morris <rgm@gnu.org>
7713
665ae865
GM
7714 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7715 has no messages. (Bug#10377)
7716
c869783d
GM
7717 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7718 than Info-edit. (Bug#10385)
7719
2bb4227e
GM
7720 * time.el (display-time-load-average, display-time-next-load-average):
7721 Doc fixes.
7722
7d5944b9
GM
7723 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7724 local setting of buffer-read-only to the input buffer. (Bug#10419)
7725
536aea70
GM
7726 * calendar/calendar.el (calendar-mode):
7727 Locally set scroll-margin to 0. (Bug#10379)
7728
7dccca16
UM
77292012-01-06 Ulrich Mueller <ulm@gentoo.org>
7730
7731 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7732
afbb7930
GM
77332012-01-05 Glenn Morris <rgm@gnu.org>
7734
7735 * eshell/em-unix.el (diff-no-select): Autoload it.
7736 (eshell/diff): Use diff-no-select. (Bug#10420)
7737
04482335
CY
77382012-01-05 Chong Yidong <cyd@gnu.org>
7739
7baca3bc
CY
7740 * shell.el (shell-dynamic-complete-functions): Revert last change.
7741 (shell-command-completion-function): New function.
7742 (shell-completion-vars): Use it to implement
7743 shell-completion-execonly (Bug#10417).
7744
04482335
CY
7745 * custom.el (enable-theme): Don't set custom-safe-themes.
7746
1d00653d
SM
7747 * cus-theme.el (custom-theme-merge-theme):
7748 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7749
bb5aa5d6
MM
77502012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7751
7752 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7753 first prompt in `sql-interacive-mode'.
7754 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7755 keywords.
6df6ae42 7756 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7757 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7758 context of original buffer. Invoke `sql-login-hook'.
7759
a7183d7c
EZ
77602012-01-04 Eli Zaretskii <eliz@gnu.org>
7761
7762 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7763 letters in cite-prefix.
7764
a1eacd1e
LMI
77652012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7766
7767 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7768
787cdb34
CY
77692012-01-03 Chong Yidong <cyd@gnu.org>
7770
1d00653d
SM
7771 * shell.el (shell-dynamic-complete-functions):
7772 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7773 comint-filename-completion first (Bug#10417).
7774
30710442
RS
77752012-01-02 Richard Stallman <rms@gnu.org>
7776
7777 * battery.el (battery-status-function):
7778 Detect when to use battery-yeeloong-sysfs.
7779 (battery-echo-area-format): Add string for Yeeloong.
7780 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7781 (battery-yeeloong-sysfs): New function.
7782
f75bfc33
CY
77832012-01-02 Chong Yidong <cyd@gnu.org>
7784
7785 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7786 (dirtrack): Merge code for handling relative filenames in prompt
7787 from shell-dir-cookie-watcher.
7788 (dirtrack-debug-message): New arg to avoid excess format calls.
7789
7790 * shell.el (shell-dir-cookie-re): Variable deleted.
7791 (shell-dir-cookie-watcher): Function deleted.
7792 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7793 with dirtrack-mode.
7794
651e947e
EZ
77952012-01-01 Eli Zaretskii <eliz@gnu.org>
7796
1d00653d
SM
7797 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7798 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7799 libgnutls-26.dll.
7800
94d4c7dc
AS
78012011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7802
7803 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7804
8d43f3cd
EZ
78052011-12-31 Eli Zaretskii <eliz@gnu.org>
7806
7807 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7808 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7809
98c8795a
MA
78102011-12-29 Michael Albinus <michael.albinus@gmx.de>
7811
7812 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7813 also for alternative shells.
7814 (tramp-open-connection-setup-interactive-shell): Check, whether
7815 the shell is a busybox.
7816 (tramp-send-command): Don't suppress multiple prompts for
7817 busyboxes, it hurts.
7818
51281b32
CY
78192011-12-28 Chong Yidong <cyd@gnu.org>
7820
7821 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7822 (gdb-get-source-file): Move mode line update to
7823 gdb-get-source-file (Bug#10087).
7824
2170cb53
CY
78252011-12-25 Chong Yidong <cyd@gnu.org>
7826
7827 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7828 gud-gdb-marker-filter without taking it as an argument.
7829 (gud-gdb-run-command-fetch-lines): Caller changed.
7830 (gud-gdb-completion-function): New variable.
7831 (gud-gdb-completion-at-point): Use it.
7832 (gud-gdb-completions-1): Split from gud-gdb-completions.
7833
7834 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7835 function as separate arguments.
7836 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7837 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7838 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7839 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7840 (gdb-stopped, def-gdb-auto-update-trigger)
7841 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7842 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7843 Callers changed.
2170cb53
CY
7844 (gud-gdbmi-completions): New function.
7845 (gdb): Use it for generating the completion table.
7846
be8b11bb
AM
78472011-12-24 Alan Mackenzie <acm@muc.de>
7848
7849 Introduce a mechanism to widen the region used in context font
1d00653d 7850 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7851
1d00653d
SM
7852 * progmodes/cc-langs.el (c-before-font-lock-functions):
7853 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7854 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7855 functions to be run just before context (etc.) font locking.
7856
7857 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7858 New, functionality extracted from
be8b11bb 7859 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7860 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7861 (c-after-change): Set c-in-after-change-fontification.
7862 (c-set-fl-decl-start): Rejig its interface, so it can be called
7863 from both after-change and context fontifying.
b81d40f0
JB
7864 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7865 New functions.
7866 (c-standard-font-lock-fontify-region-function): New variable.
7867 (c-font-lock-fontify-region): New function.
be8b11bb 7868
341cf6ac
JL
78692011-12-24 Juri Linkov <juri@jurta.org>
7870
7871 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7872 (Bug#10348)
7873
bffcee0a
MA
78742011-12-23 Michael Albinus <michael.albinus@gmx.de>
7875
7876 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7877 existence of source file. (Bug#10325)
7878
cb5e207c
AM
78792011-12-23 Alan Mackenzie <acm@muc.de>
7880
7881 Fix unstable fontification inside templates.
7882
b81d40f0
JB
7883 * progmodes/cc-langs.el (c-before-font-lock-functions):
7884 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7885 additionally has c-set-fl-decl-start. The other languages (apart
7886 from AWK) have that as a single entry.
7887
b81d40f0
JB
7888 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7889 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7890 c-set-fl-decl-start.
7891
b81d40f0
JB
7892 * progmodes/cc-mode.el (c-common-init, c-after-change):
7893 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7894 (c-set-fl-decl-start): New function, extracted from
7895 c-font-lock-enclosing-decls and enhanced.
7896
60ff536c
JB
78972011-12-23 Juanma Barranquero <lekktu@gmail.com>
7898
7899 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7900
1c4757d6
JL
79012011-12-22 Juri Linkov <juri@jurta.org>
7902
7903 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7904
d031f2c7
CY
79052011-12-22 Chong Yidong <cyd@gnu.org>
7906
7907 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7908
bace743a
DA
79092011-12-21 Drew Adams <drew.adams@oracle.com>
7910
7911 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7912
728a1f2b
JC
79132011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7914
7915 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7916
0d373f73
TZ
79172011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7918
fec0aaa4
TZ
7919 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7920 highlighting and support. Fix up comments for capitalization.
7921 (cfengine-mode-debug): New var.
7922 (cfengine3-mode): Change the modeline indicator to "CFE3".
7923 (cfengine3-font-lock-keywords): Improve defun highlighting.
7924 (cfengine2-actions): Rename from `cfengine-actions'.
7925 (cfengine2-font-lock-keywords): Rename from
7926 `cfengine-font-lock-keywords'.
7927 (cfengine2-imenu-expression): Rename from
7928 `cfengine-imenu-expression'.
7929 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7930 (cfengine2-beginning-of-defun): Rename from
7931 `cfengine-beginning-of-defun'.
7932 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7933 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7934 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7935 modeline indicator to "CFE2".
7936 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7937 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7938
bc86f573
CY
79392011-12-21 Chong Yidong <cyd@gnu.org>
7940
7941 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7942 filename argument.
7943
d45ba96b
MR
79442011-12-20 Martin Rudalics <rudalics@gmx.at>
7945
7946 * window.el (window-normalize-buffer-to-display): Remove.
7947 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7948
a6198c90
CY
79492011-12-19 Chong Yidong <cyd@gnu.org>
7950
7951 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7952 Don't signal an error in a predicate function; return non-nil.
7953 (vc-dir-mark-file): Move the error here.
7954 (vc-dir-mark-unmark): If acting on the region, keep going if one
7955 of the entries cannot be marked/unmarked.
7956 (vc-dir-mark-all-files): If current entry is a directory, mark
7957 only child files, as documented.
7958
34c5fb55
VB
79592011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7960
7961 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7962 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7963 addition.
7964
c803b2b7
JD
79652011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7966
7967 * term/ns-win.el (ns-get-selection-internal)
7968 (ns-store-selection-internal): Declare.
1154d12e
JB
7969 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7970 Declare as obsolete.
7971 (ns-get-pasteboard, ns-paste-secondary):
7972 Use ns-get-selection-internal.
7973 (ns-set-pasteboard, ns-copy-including-secondary):
7974 Use ns-store-selection-internal.
c803b2b7 7975
9cff91f8 79762011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7977
7978 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7979 (vc-deduce-fileset): Doc fix.
99a289d9 7980
f16c898a
AS
79812011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7982
7983 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7984
763237c4
SS
79852011-12-13 Sam Steingold <sds@gnu.org>
7986
7987 * man.el (Man-getpage-in-background): When running under a
7988 window-system, ignore $MANWIDTH and $COLUMNS.
7989
5fc1c122
KH
79902011-12-15 Kenichi Handa <handa@m17n.org>
7991
7992 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7993 (setup-ethiopic-environment-internal): Comment out key-binding for
7994 ethio-toggle-punctuation.
7995
13d49cbb
AM
79962011-12-13 Alan Mackenzie <acm@muc.de>
7997
898169a2
AM
7998 Add the switch statement to AWK Mode.
7999
7a71b18d 8000 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
8001 "default" to the keywords regexp.
8002
7a71b18d 8003 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 8004 expression as the rest.
1d00653d
SM
8005 (c-nonlabel-token-key): Allow string literals for AWK.
8006 Refactor for the other modes.
898169a2 8007
13d49cbb 8008 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 8009 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
8010 routines. Limit backward searching in c-font-lock-enclosing.decl.
8011
8012 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
8013 pp-state and literal type in addition to the limits.
1d00653d 8014 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 8015 (c-state-literal-at): Use the above new defun.
1d00653d
SM
8016 (c-slow-in-literal, c-fast-in-literal): Remove.
8017 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
8018
8019 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
8020 being in a literal. Add a limit for backward searching.
8021
8022 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
8023 c-slow-in-literal.
8024
15e0efc7
SM
80252011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
8026
8027 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
8028
454592a6
MR
80292011-12-13 Martin Rudalics <rudalics@gmx.at>
8030
8031 * window.el (delete-other-windows): Use correct frame in call to
8032 window-with-parameter.
8033
87393f26
DP
80342011-12-12 Daniel Pfeiffer <occitan@t-online.de>
8035
8036 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
8037 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
8038 (makefile-gmake-statements, makefile-makepp-statements):
8039 Use it and add new makepp keywords.
8040 (makefile-makepp-font-lock-keywords): Add new patterns.
8041 (makefile-match-function-end): Match new [...] and [[...]].
8042
11636b22
JB
80432011-12-11 Juanma Barranquero <lekktu@gmail.com>
8044
8045 * ses.el (ses-call-printer-return, ses-cell-property-get)
8046 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
8047 (ses-create-cell-variable, ses-reset-header-string)
8048 (ses-cell-set-formula, ses-repair-cell-reference-all)
8049 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
8050 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
8051 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8052 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8053 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8054 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8055 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8056 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8057 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8058 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8059 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8060 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8061
cf018193
VB
80622011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8063
8064 * ses.el: The overall change is to add cell renaming, that is
8065 setting fancy names for cell symbols other than name matching
8066 "\\`[A-Z]+[0-9]+\\'" regexp .
8067 (ses-create-cell-variable): New defun.
8068 (ses-relocate-formula): Relocate formulas only for cells the
8069 symbols of which are not renamed, i.e. symbols whose names do not
8070 match regexp "\\`[A-Z]+[0-9]+\\'".
8071 (ses-relocate-all): Relocate values only for cells the symbols of
8072 which are not renamed.
8073 (ses-load): Create cells variables as the (ses-cell ...) are read,
8074 in order to check row col consistency with cell symbol name only
8075 for cells that are not renamed.
8076 (ses-replace-name-in-formula): New defun.
8077 (ses-rename-cell): New defun.
8078
ee957461
CY
80792011-12-11 Chong Yidong <cyd@gnu.org>
8080
8081 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8082 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8083
9a9e9ef0
MR
80842011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8085
8086 * window.el (other-window): Fix docstring.
8087
92a8eba5
EZ
80882011-12-10 Eli Zaretskii <eliz@gnu.org>
8089
8090 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8091 `from' or `to' address before taking its substring.
8092 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8093 encoded name is chopped in the middle of the encoded string, and
8094 thus displayed encoded.
8095
e152e577
JB
80962011-12-10 Juanma Barranquero <lekktu@gmail.com>
8097
8098 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8099
e5d84bfe
EZ
81002011-12-10 Eli Zaretskii <eliz@gnu.org>
8101
8102 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8103 to use texinfo-update-node and commands that call it if the
8104 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8105 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8106 (texinfo-all-menus-update, texinfo-master-menu)
8107 (texinfo-update-node, texinfo-every-node-update)
8108 (texinfo-multiple-files-update): Doc fix. Warn against updating
8109 all the @node lines.
8110 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8111 argument is numeric. Explain better in the doc string what the
8112 function really does.
8113 (texinfo-insert-master-menu-list): Improve the error message
8114 displayed if there's no menu in the Top node.
8115 (Bug#2975) See also this thread:
e5d84bfe
EZ
8116 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8117
1d84e9bb
MG
81182011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8119
8120 * speedbar.el (speedbar-supported-extension-expressions):
8121 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8122
382c953b
JB
81232011-12-09 Juanma Barranquero <lekktu@gmail.com>
8124
8125 * printing.el (pr-mode-alist):
8126 * simple.el (filter-buffer-substring-functions)
8127 (completion-list-insert-choice-function):
8128 * window.el (window-with-parameter, window-atom-root)
8129 (window-sides-slots, window-size-fixed, window-min-delta)
8130 (window-max-delta, window--resize-mini-window)
8131 (window--resize-child-windows-normal, window-tree)
8132 (delete-other-windows, quit-window, split-window)
8133 (display-buffer-record-window, special-display-buffer-names)
8134 (special-display-regexps, special-display-popup-frame)
8135 (same-window-p, split-window-sensibly)
8136 (display-buffer-overriding-action, display-buffer-alist)
8137 (display-buffer-base-action, display-buffer, switch-to-buffer)
8138 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8139 (fit-window-to-buffer, recenter-positions)
8140 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8141 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8142 and remove unneeded backslashes in docstrings.
8143
39c9faef
SM
81442011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8145
98449af8
SM
8146 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8147
39c9faef
SM
8148 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8149 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8150 end in ".mk".
8151 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8152 when reading the makefile (bug#10116).
8153
86ed9fdc
SM
81542011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8155
8156 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8157 (bug#10116).
8158
5580f89d
GM
81592011-12-06 Glenn Morris <rgm@gnu.org>
8160
8161 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8162
28d3917c
CY
81632011-12-06 Chong Yidong <cyd@gnu.org>
8164
8165 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8166
a98edce9
JB
81672011-12-06 Juanma Barranquero <lekktu@gmail.com>
8168
8169 * textmodes/table.el (table-shorten-cell): Fix typo.
8170
e65adfac
CG
81712011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8172
8173 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8174
71cc0b74
EZ
81752011-12-05 Eli Zaretskii <eliz@gnu.org>
8176
8177 * descr-text.el (describe-char): Fix display of strong
8178 right-to-left characters and directional embeddings and overrides.
8179
8180 * simple.el (what-cursor-position): Fix display of codepoints of
8181 strong right-to-left characters.
8182
315bc30d
CY
81832011-12-05 Chong Yidong <cyd@gnu.org>
8184
8185 * faces.el (read-color): Doc fix.
8186
58a70b94
GM
81872011-12-05 Glenn Morris <rgm@gnu.org>
8188
8189 * align.el (align--set-marker): Add doc-string.
8190 Don't try to move something that is not a marker. (Bug#10216)
8191
5158face
GM
81922011-12-04 Glenn Morris <rgm@gnu.org>
8193
8194 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8195 overly zealous deletion of trailing whitespace.
8196
520fca41
JB
81972011-12-04 Juanma Barranquero <lekktu@gmail.com>
8198
8199 * server.el (server-delete-client): On Windows, do not try to delete
8200 the only terminal.
8201 (server-process-filter): On Windows, treat requests for a tty frame as
8202 if they were for a GUI frame if the running server is in GUI mode.
8203
5e605a2e
GM
82042011-12-03 Glenn Morris <rgm@gnu.org>
8205
8206 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8207
5c3fe83f
SM
82082011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8209
6f5e57e7
SM
8210 * electric.el: Streamline electric-indent's hook.
8211 (electric-indent-chars): Revert to simple list.
8212 (electric-indent-functions): New var.
8213 (electric-indent-post-self-insert-function): Use it.
8214
5c3fe83f
SM
8215 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8216 there's no inferior buffer (bug#10196).
8217 (prolog-consult-compile): Don't use toggle-read-only.
8218
6bdac736
MA
82192011-12-02 Michael Albinus <michael.albinus@gmx.de>
8220
8221 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8222 interrupt. (Bug#10187)
8223
6131ba7f
SM
82242011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8225
99c79fee
SM
8226 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8227 (bug#9160).
8228
6131ba7f
SM
8229 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8230 (bug#10191).
8231
cb0a02ea
JL
82322011-12-02 Juri Linkov <juri@jurta.org>
8233
8234 * info.el (Info-search): Display "end of manual" when Isearch
8235 reaches the end of single-file Info manual. (Bug#9918)
8236
66e0570c
EZ
82372011-12-02 Eli Zaretskii <eliz@gnu.org>
8238
8239 * isearch.el (isearch-message-prefix): Run the input method part
8240 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8241
02b16839
JL
82422011-12-02 Juri Linkov <juri@jurta.org>
8243
8244 * isearch.el (isearch-occur): Use `word-search-regexp' for
8245 `isearch-word'.
8246 (isearch-search-and-update): Add condition for `isearch-word' and
8247 call `word-search-regexp'. (Bug#10145)
8248
0b950688
GM
82492011-12-01 Glenn Morris <rgm@gnu.org>
8250
8251 * eshell/em-hist.el (eshell-hist-initialize):
8252 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8253 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8254
9505c3c7
SM
82552011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8256
8257 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8258
1bbe96b2 82592011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8260
a1beca85
SM
8261 * progmodes/verilog-mode.el (verilog-pretty-expr):
8262 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8263 verilog, such as += *= and the like.
8264 (verilog-assignment-operator-re): Regular expression to find the
8265 assigment operator in a verilog assignment.
8266 (verilog-assignment-operation-re): Regular expression to find an
8267 assignment statement for pretty-expr.
8268 (verilog-in-attribute-p): Query returns true if point is in an
8269 attribute context; used to skip these for expression line up from
8270 pretty-expr.
8271 (verilog-in-parameter-p): Query returns true if point is in an
8272 parameter definition context; used to skip these for expression
8273 line up from pretty-expr.
8274 (verilog-in-parenthesis-p): Query returns true if point is in a
8275 parenthetical expression, specifically ( ) but not [ ] or { };
8276 used by pretty-expr.
8277 (verilog-just-one-space): If there is no space, don't add one.
8278 (verilog-get-lineup-indent-2): Specifically skip just attribute
8279 contexts for expression lineup, rather than skipping all
8280 parenthetical expressions.
8281 (verilog-calculate-indent): Fix comment, and fix indent.
8282 (verilog-do-indent): Indent declarations in lists (suggested by
8283 Joachim Lechner).
8284 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8285 skeleton items.
8286 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8287 by Alain Mellan).
8288
1bbe96b2 82892011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8290
8291 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8292 parameters with embedded comments. Reported by Ray Stevens.
8293 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8294 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8295 Reported by Tim Holt.
8296 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8297 instantiated by upper module causing wrong expansion until AUTOed a
8298 second time. Reported by K C Buckenmaier.
8299 (verilog-diff-auto): Fix showing .* as a difference when
8300 `verilog-auto-star-save' off. Reported by Dan Dever.
8301 (verilog-auto-reset, verilog-read-always-signals)
8302 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8303 temporary signals in reset list if
8304 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8305 style to each signal's assignment type, bug381.
8306 Reported by Thomas Esposito.
6288f0ca
WS
8307 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8308 (verilog-uvm-statement-re): Support UVM indentation and
8309 highlighting, with old OVM keywords only.
a1beca85 8310 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8311 Support AUTOTIEOFF creating non-wire data types.
8312 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8313 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8314 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8315 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8316 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8317 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8318 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8319 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8320 non-numeric vector width. Reported by Alex Reed.
8321 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8322 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8323 (verilog-auto-delete-trailing-whitespace):
8324 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8325 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8326 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8327 Fix verilog-scan-cache corruption when running user AUTO expansion
8328 hooks that call indentation routines.
8329 (verilog-simplify-range-expression): Fix typo ignoring lower case
8330 identifiers.
8331 (verilog-delete-auto): Fix delete-autos to also remove user created
8332 automatics, as long as they start with AUTO.
8333 (verilog-batch-diff-auto, verilog-diff-auto)
8334 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8335 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8336 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8337 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8338 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8339 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8340 is disabled and its cache will get corrupt, causing AUTOS not to
8341 expand. Instead use only -quick functions.
8342 (verilog-scan-region): Fix scanning over escaped quotes.
8343 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8344 (verilog-re-search-backward-quick)
8345 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8346 related functions now ignore strings, to fix misparsing of strings
8347 with magic comments embedded in them.
a1beca85
SM
8348 (verilog-read-auto-template):
8349 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8350 Reported by Brad Dobbie.
8351 (verilog-read-auto-template):
8352 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8353 Reported by Brad Dobbie.
6288f0ca
WS
8354 (verilog-auto-inst, verilog-auto-inst-param)
8355 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8356 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8357 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8358 debugging templates without merge conflicts, bug357.
8359 Reported by Brad Dobbie.
8360 (verilog-read-auto-template):
8361 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8362 Reported by Brad Dobbie.
8363 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8364 abbrevs so user won't be asked to save.
8365 (verilog-read-auto-lisp-present): Fix to start at beginning of
8366 buffer in case called outside of verilog-auto.
8367 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8368 to "X-2". Reported by Matthew Myers.
8369 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8370 all inputs from module templates. Reported by Leith Johnson.
8371 (verilog-module-inside-filename-p): Fix locating programs as with
8372 modules.
8373 (verilog-auto-inst-port): Fix vl-width expressions when using
8374 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8375 (verilog-decls-get-regs, verilog-decls-get-signals,
8376 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8377 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8378 verilog-read-decls): Combine reg and wire structures into one var
8379 structure to represent SystemVerilog concepts.
8380 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8381 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8382 (verilog-auto-wire-type, verilog-insert-definition):
8383 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8384 SystemVerilog "logic" keyword instead of "wire"/"reg".
8385 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8386 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8387 ifdef or generate if so there's not a driver conflict).
8388 Reported by Matthew Myers.
8389 (verilog-auto-declare-nettype, verilog-insert-definition):
8390 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8391 `default_nettype none. Reported by Julian Gorfajn.
8392 (verilog-read-always-signals-recurse, verilog-read-decls)
8393 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8394 malformed end statement, bug325. Reported by Joshua Wise and
8395 Andrew Drake.
8396 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8397 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8398 when expanding .* in interfaces, bug320.
8399 Reported by Pierre-David Pfister.
6288f0ca 8400 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8401 name and open parenthesis, bug317.
8402 Reported by Pierre-David Pfister.
6288f0ca
WS
8403 (verilog-simplify-range-expression): Fix simplification of
8404 multiplications inside AUTOWIRE connections, bug303.
8405 (verilog-auto-inst-port): Support parameter expansion in
8406 multidimensional arrays.
8407 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8408 after "assert property". Reported by Julian Gorfajn.
8409 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8410 with multiplication, bug303.
8411 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8412 Reported by Jan Frode Lonnum.
8413
1bbe96b2
GM
84142011-11-30 Juanma Barranquero <lekktu@gmail.com>
8415
8416 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8417 (hfy-shell-file-name, hfy-shell):
8418 * international/fontset.el (x-decompose-font-name): Fix typos.
8419
84202011-11-29 Ken Brown <kbrown@cornell.edu>
8421
8422 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8423 (gdb-version): Remove defvar.
8424 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8425 (gdb-gud-context-command, gdb-non-stop-handler)
8426 (gdb-current-context-command, gdb-stopped): Use it.
8427 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8428 (gdb-non-stop-handler): Don't enable pretty-printing here.
8429 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8430 non-stop mode. Use the following.
8431 (gdb-check-target-async): New defun.
8432 (gud-watch, gdb-stopped): Fix whitespace.
8433 (gdb-get-source-file): Don't try to display the source file if
8434 `gdb-main-file' is nil.
8435
84362011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8437
8438 * align.el: Try to generate fewer markers (bug#10047).
8439 (align--set-marker): New macro.
8440 (align-region): Use it.
8441
c935221f
SM
84422011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8443
8444 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8445
e70b5064
CY
84462011-11-29 Chong Yidong <cyd@gnu.org>
8447
8448 * indent.el (indent-for-tab-command, indent-according-to-mode):
8449 Doc fix.
8450 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8451
f3af92b7
MA
84522011-11-29 Michael Albinus <michael.albinus@gmx.de>
8453
8454 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8455 aware of remote file names. (Bug#10124)
8456
ed472be9
CY
84572011-11-29 Chong Yidong <cyd@gnu.org>
8458
8459 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8460
24510c22
SM
84612011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8462
8463 * files.el (find-file): Don't use force-same-window (bug#10144).
8464 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8465 use pop-to-buffer if the selected window can't be used.
8466 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8467
c60c3703
EZ
84682011-11-28 Eli Zaretskii <eliz@gnu.org>
8469
8470 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8471 special-mode-map.
8472
e95def75
CY
84732011-11-28 Chong Yidong <cyd@gnu.org>
8474
8475 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8476
c3f1c606
NR
84772011-11-27 Nick Roberts <nickrob@snap.net.nz>
8478
8479 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8480 gdb-get-source-file-list on gdb-create-source-file-list.
8481
00db469c
EZ
84822011-11-26 Eli Zaretskii <eliz@gnu.org>
8483
8484 * whitespace.el (whitespace-newline): Use a different foreground
8485 color for 16-color light-background displays.
8486
4ad3bc2a
CY
84872011-11-24 Chong Yidong <cyd@gnu.org>
8488
8489 * window.el (display-buffer--special-action): Doc fix.
8490
e9fce1ac
JB
84912011-11-25 Juanma Barranquero <lekktu@gmail.com>
8492
8493 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8494 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8495 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8496 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8497 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8498 (avl-tree-stack-first):
8499 * emacs-lisp/cconv.el (cconv--analyse-use):
8500 * net/gnutls.el (gnutls-negotiate): Fix typos.
8501
cb825e5d
GM
85022011-11-24 Glenn Morris <rgm@gnu.org>
8503
3adbe224
GM
8504 * lpr.el (lpr-windows-system, lpr-lp-system):
8505 * mail/binhex.el (binhex-begin-line):
8506 * progmodes/grep.el (grep-history, grep-find-history):
8507 * textmodes/flyspell.el:
8508 * vc/pcvs-defs.el (cvs-global-menu):
8509 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8510 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8511 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8512
321decc8
GM
8513 * net/tls.el: Fix case of "GnuTLS".
8514
420b63ad
GM
8515 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8516
cb825e5d
GM
8517 * version.el (emacs-build-system): Give it a doc-string.
8518
a0649f08
JL
85192011-11-24 Juri Linkov <juri@jurta.org>
8520
8521 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8522
c0bc0fd4
GM
85232011-11-24 Glenn Morris <rgm@gnu.org>
8524
8525 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8526 if called on a non-mime message just toggle the headers. (Bug#8006)
8527
20db1522
JB
85282011-11-24 Juanma Barranquero <lekktu@gmail.com>
8529
8530 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8531 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8532 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8533 (allout-rebullet-heading, allout-open-sibtopic)
8534 (allout-toggle-current-subtree-encryption)
8535 (allout-toggle-subtree-encryption, allout-encrypt-string)
8536 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8537 (allout-distinctive-bullets-string, allout-auto-activation):
8538 * window.el (window-normalize-buffer-to-display):
8539 * progmodes/verilog-mode.el (verilog-batch-indent):
8540 * textmodes/bibtex.el (bibtex-field-braces-opt)
8541 (bibtex-field-strings-opt):
8542 * vc/cvs-status.el (cvs-tree-merge):
8543 Fix typos.
8544
7262a87c
MA
85452011-11-23 Michael Albinus <michael.albinus@gmx.de>
8546
8547 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8548 `non-essential' to t, in order to avoid remote connections.
8549
283430a1
EZ
85502011-11-23 Eli Zaretskii <eliz@gnu.org>
8551
a1beca85
SM
8552 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8553 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8554 case-insensitively.
8555
d2992a38
ML
85562011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8557
8558 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8559
50419064
GM
85602011-11-23 Glenn Morris <rgm@gnu.org>
8561
da94eca1
GM
8562 * paths.el (rmail-file-name): Reformat the doc-string so that it
8563 is picked up.
8564
9aac4de2
GM
8565 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8566 (rmail-auto-file): Ignore case in the "special" field names,
8567 as mail-fetch-field does for all others.
8568
8038d2d2
GM
8569 * mail/rmail.el (rmail-forward):
8570 * mail/rmailkwd.el (rmail-set-label):
8571 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8572 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8573
f3fe222a
GM
8574 * mail/rmail.el (rmail-current-message): Doc fix.
8575
50419064
GM
8576 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8577
28109f49
SM
85782011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8579
8580 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8581
394c65f1
GM
85822011-11-22 Glenn Morris <rgm@gnu.org>
8583
8584 * mail/rmailmm.el (test-rmail-mime-handler)
8585 (test-rmail-mime-bulk-handler)
8586 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8587
f2a0aa3a
JL
85882011-11-21 Juri Linkov <juri@jurta.org>
8589
1154d12e
JB
8590 * calc/calc.el (calc-read-key-sequence):
8591 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8592
9c34a344
LMI
85932011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8594
8595 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8596 Tell the caller that the next line needs recomputation, even
8597 though it doesn't start a sexp (bug#10094).
8598
f04a3be9
SM
85992011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8600
8601 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8602
7978747f
SM
86032011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8604
f04a3be9
SM
8605 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8606 Use force-same-window.
7978747f 8607
fe7a3057
JB
86082011-11-20 Juanma Barranquero <lekktu@gmail.com>
8609
8610 * descr-text.el (describe-char-unicode-data):
8611 * json.el (json-string-escape):
8612 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8613 (Footnote-unicode, Footnote-style-p):
8614 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8615
24901d61
CY
86162011-11-20 Chong Yidong <cyd@gnu.org>
8617
8618 * window.el (replace-buffer-in-windows): Restore interactive spec.
8619
bac7ff22
SM
86202011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8621
24f3d7b9
SM
8622 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8623
bac7ff22
SM
8624 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8625 (byte-compile-global-not-obsolete-vars): New var.
8626 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8627 Use it.
8628 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8629
cd1181db
JB
86302011-11-20 Juanma Barranquero <lekktu@gmail.com>
8631
8632 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8633 * progmodes/pascal.el (electric-pascal-equal):
8634 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8635 * xml.el (xml-substitute-special): Fix typos.
8636
7fb18e9e
GM
86372011-11-20 Glenn Morris <rgm@gnu.org>
8638
8639 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8640 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8641 Doc fixes.
8642 (rmail-decode-mime-charset): Mark as obsolete.
8643
8644 * mail/rmailsum.el (rmail-message-regexp-p-1):
8645 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8646 Before using mime functions, check they are set. (Bug#10077)
8647
d5a6b3ba
JL
86482011-11-19 Juri Linkov <juri@jurta.org>
8649
8650 * info.el (Info-finder-find-node): Use `package--builtins' instead
8651 of `package-alist'. Use node names formed by the pattern "Keyword "
8652 and the keyword name.
8653
e981b61f
AS
86542011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8655
1d00653d 8656 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8657
3ffbc301
JL
86582011-11-19 Juri Linkov <juri@jurta.org>
8659
8660 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8661 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8662 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8663 `old-history', `old-history-forward'. Add let-binding
8664 `window-selected'. Remove calls to `kill-buffer',
8665 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8666 before calling `Info-find-node', so `Info-find-node-2' will reread
8667 the Info file. Restore window positions only when `window-selected'
8668 is non-nil.
8669
30c62133
JL
86702011-11-19 Juri Linkov <juri@jurta.org>
8671
8672 * isearch.el (isearch-lazy-highlight-new-loop):
8673 Remove condition `(not isearch-error)'. (Bug#9918)
8674
8675 * misearch.el (multi-isearch-search-fun): Add condition
8676 `(not bound)' to ignore lazy-highlighting search.
8677 Add the search-failed message "end of multi" when the end of
8678 multi-sequence is reached. Uncapitalize the search-failed
8679 message "Repeat for next buffer".
8680
8681 * info.el (Info-search): Add the search-failed message
8682 "end of the manual" when the end of the manual is reached
8683 in Isearch mode.
8684
645ca9cf
JL
86852011-11-19 Juri Linkov <juri@jurta.org>
8686
8687 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8688 Use non-destructive `remove' instead of `delete' because
8689 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8690 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8691
df754f66
JL
86922011-11-19 Juri Linkov <juri@jurta.org>
8693
8694 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8695 to nil instead of binding `search-ring' and `regexp-search-ring'.
8696 (Bug#9185)
8697
0e23d96a
EZ
86982011-11-19 Eli Zaretskii <eliz@gnu.org>
8699
8700 * simple.el (line-move): Force movement by logical lines for any
8701 hscrolled window, not only when auto-hscroll-mode is on.
8702 (line-move-visual): Update doc string to that effect. (Bug#10076)
8703
8a6ccb66
AS
87042011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8705
8706 * language/european.el (macintosh): Define as alias for mac-roman.
8707
49ae5b39
EZ
87082011-11-19 Eli Zaretskii <eliz@gnu.org>
8709
8710 * mail/rmailmm.el (rmail-mime-display-header)
8711 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8712 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8713 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8714 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8715 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8716 of a raw aref.
8717 (rmail-mime-entity-segment): To get past the tagline, move forward
8718 2 more lines, to account for the 2 empty lines that precede and
8719 follow the line with the buttons.
8720 (rmail-mime-update-tagline): Move one more line, to get past the
8721 empty line that follows the buttons in the tagline. (Bug#9520)
8722
c56cad4a
MR
87232011-11-19 Martin Rudalics <rudalics@gmx.at>
8724
8725 * window.el (window-max-delta-1, window-min-delta-1)
8726 (window-min-size-1, window-state-get-1, window-state-put-1)
8727 (window-state-put-2): Use "window--" prefix.
8728
cbe71af3
SM
87292011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8730
2ad52c60
SM
8731 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8732 (smie-warning-count): New var.
8733 (smie-set-prec2tab): Use it.
8734 (smie-bnf->prec2): Improve warnings. Add docstring.
8735 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8736 (smie-bnf--set-class): New function.
8737 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8738 corner case.
8739
6944dbc1
SM
8740 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8741 (compilation-error-properties, compilation-move-to-column):
8742 Handle compilation-first-column while in the target buffer.
8743
c400c4d7
SM
8744 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8745 Don't hardcode point-min==1.
8746
6dbe3e96
SM
8747 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8748 (eshell-rewrite-for-command): Remove workaround.
8749 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8750 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8751 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8752
cbe71af3
SM
8753 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8754
a8e1496d
GM
87552011-11-17 Glenn Morris <rgm@gnu.org>
8756
8757 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8758 Ignore buffer-local generated-autoload-file if it is the same
8759 as the global value. (Bug#10049)
8760
df85d315
JB
87612011-11-17 Juanma Barranquero <lekktu@gmail.com>
8762
8763 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8764 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8765 (reftex-toc-previous-heading, reftex-toc-max-level)
8766 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8767 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8768 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8769 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8770 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8771 (reftex-toc-rename-label, reftex-toc-visit-location)
8772 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8773 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8774 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8775 leaving "*toc*" only for references to the buffer.
8776
a0c2d0ae
MR
87772011-11-17 Martin Rudalics <rudalics@gmx.at>
8778
8779 * window.el (window-resize, delete-window, split-window):
8780 Replace window-splits by window-combination-resize.
1d00653d 8781 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8782
35c0bac8
GM
87832011-11-17 Glenn Morris <rgm@gnu.org>
8784
8785 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8786 Make bash entry derive from sh entry, not shell entry.
8787
d0c8fc8a
MA
87882011-11-16 Michael Albinus <michael.albinus@gmx.de>
8789
7262a87c
MA
8790 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8791 local file name.
8792
7877f373
JB
87932011-11-16 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * menu-bar.el (menu-bar-file-menu):
8796 * printing.el (pr-ps-utility):
8797 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8798 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8799 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8800 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8801 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8802 (icalendar--convert-cyclic-to-ical)
8803 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8804 (icalendar--convert-ical-to-diary)
8805 (icalendar--convert-recurring-to-diary)
8806 (icalendar--convert-non-recurring-all-day-to-diary)
8807 (icalendar-import-format-sample):
8808 * progmodes/idlw-shell.el (idlwave-shell-mode):
8809 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8810 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8811 (vhdl-ps-print-init): Fix typos.
8812
10649b82
KM
88132011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8814
9d0cfcd6
GM
8815 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8816 FSF and collapse date sequence, obscure author/maintainer email address
8817 better, remove extra version line, track relocation of author's webpage.
10649b82 8818
9d0cfcd6
GM
8819 * progmodes/python.el (python-pdbtrack-input-prompt)
8820 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8821 regular python pdb prompts. Adjustments shamelessly taken exactly as
8822 suggested in EmacsWiki page (tiny change):
8823 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8824
58179cce
JB
88252011-11-16 Juanma Barranquero <lekktu@gmail.com>
8826
8827 * expand.el (expand-pos, expand-index, expand-point):
8828 Remove redundant info from docstring.
8829 (expand-add-abbrevs): Doc fix.
8830 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8831 (expand-sample-perl-mode-expand-list): Fix typos.
8832
8833 * net/dbus.el (dbus-event-member-name):
8834 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8835 * term/pc-win.el (msdos-create-frame-with-faces):
8836 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8837
b6f67890
MR
88382011-11-16 Martin Rudalics <rudalics@gmx.at>
8839
8840 * window.el (split-window, window-state-get-1)
8841 (window-state-put-1, window-state-put-2): Rename occurrences of
8842 window-nest to window-combination-limit.
1d00653d 8843 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8844
ce7ddba0
CY
88452011-11-16 Chong Yidong <cyd@gnu.org>
8846
8847 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8848 regexp (Bug#10033).
8849
3ae704f4
SM
88502011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8851
8852 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8853 `completing-read' will remove *Completions* and will preserve
8854 current-buffer for us.
8855 (tmm-add-prompt): Users of *Completions* will always (re)set its
8856 major mode.
8857 (tmm-old-comp-map): Remove.
8858
6ad1cdde
GM
88592011-11-16 Glenn Morris <rgm@gnu.org>
8860
8861 * mail/rmailedit.el: Require rmailmm when compiling.
8862 (rmail-old-mime-state): New declaration.
8863 (rmail-edit-current-message): If editing a mime message,
8864 edit the "raw" message from the mbox buffer.
8865 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8866
d20faa20
GM
88672011-11-15 Glenn Morris <rgm@gnu.org>
8868
8869 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8870 which wasn't being used. Add optional arg to force given state.
8871 (rmail-mime): Add optional arg to force given state.
8872
c7015153
JB
88732011-11-15 Juanma Barranquero <lekktu@gmail.com>
8874
8875 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8876 * frame.el (display-mm-dimensions-alist):
8877 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8878 (outline-move-subtree-down):
8879 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8880 (newsticker--treeview-do-get-node):
8881 * net/quickurl.el (quickurl-list-buffer-name):
8882 * progmodes/dcl-mode.el (dcl-mode):
8883 * progmodes/gdb-mi.el (gdb-mapcar*):
8884 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8885
45261b50
GM
88862011-11-15 Glenn Morris <rgm@gnu.org>
8887
8888 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8889 in a boolean sense, so just make it a boolean, and fix the doc.
8890 (rmail-show-mime-function, rmail-mime-feature)
8891 (rmail-require-mime-maybe): Doc fixes.
8892 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8893
8894 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8895
0d26e0b6
JB
88962011-11-15 Juanma Barranquero <lekktu@gmail.com>
8897
8898 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8899 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8900 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8901 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8902
447f30f6
GM
89032011-11-15 Glenn Morris <rgm@gnu.org>
8904
672b871d
GM
8905 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8906 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8907 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8908 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8909 (rmail-mime, rmail-show-mime): Doc fixes.
8910
f6aa5bb1
GM
8911 * term/ns-win.el (mode-line-frame-identification):
8912 Leave it alone. (Bug#10051)
8913
947cd66b
GM
8914 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8915
447f30f6
GM
8916 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8917 Handle empty buffers. (Bug#9978)
8918
0b381c7e
JB
89192011-11-14 Juanma Barranquero <lekktu@gmail.com>
8920
8921 * international/mule.el (define-charset):
8922 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8923 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8924 * progmodes/verilog-mode.el (verilog-backward-token):
8925 * textmodes/ispell.el (lookup-words):
8926 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8927
71e027ac
GM
89282011-11-14 Glenn Morris <rgm@gnu.org>
8929
56632ce4
GM
8930 * progmodes/executable.el
8931 (executable-make-buffer-file-executable-if-script-p):
8932 Handle file-modes returning nil.
8933
40500957
GM
8934 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8935 message - not necessary, and causes problems. (Bug#9831)
8936
071c2340
GM
8937 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8938
d3cfca60
GM
8939 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8940
71e027ac
GM
8941 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8942 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8943 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8944
89d61221
MR
89452011-11-12 Martin Rudalics <rudalics@gmx.at>
8946
8947 * window.el (window-resize, delete-window): Use window-splits
8948 variable instead of function.
8949 (window-state-get-1, window-state-put-2, window-state-put):
8950 Don't deal with windows' splits status.
8951
98282f6f
GM
89522011-11-12 Glenn Morris <rgm@gnu.org>
8953
8954 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8955 (apropos-documentation): Doc fixes.
8956
40a8bdf6
JB
89572011-11-11 Juanma Barranquero <lekktu@gmail.com>
8958
8959 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8960 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8961
65bd19ff
SM
89622011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * electric.el (electric-indent-post-self-insert-function): Make it
8965 possible for a char to only indent in some circumstances.
8966 (electric-indent-mode): Simplify.
8967
54f9154c
MR
89682011-11-11 Martin Rudalics <rudalics@gmx.at>
8969
8970 * window.el (windows-with-parameter): Remove unused function.
8971 (windows-at-side): Rename to window-at-side-list.
8972 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8973 (window-side-check, window-size-ignore, window-size-fixed-1)
8974 (window-in-direction-2): Prefix with "window--".
8975 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8976
68cbc58b
GM
89772011-11-11 Glenn Morris <rgm@gnu.org>
8978
8979 * subr.el (eval-after-load): If FILE is already loaded,
8980 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8981
b2621720
GM
89822011-11-10 Glenn Morris <rgm@gnu.org>
8983
9a4de110
GM
8984 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8985 Call svn via vc-svn-command rather than vc-do-command.
8986 (vc-svn-command): Add --non-interactive. (Bug#9993)
8987 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8988
b2621720
GM
8989 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8990 Add toggle-read-only. (Bug#7292)
8991 * files.el (toggle-read-only): Mention that it should only
8992 be used interactively. (Bug#10006)
8993
1dce7193
SM
89942011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8995
d9ac1a1e
SM
8996 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8997 Adjust regexp for OCaml warnings.
8998
0c325082
SM
8999 * electric.el (electric-pair-post-self-insert-function): Let user
9000 turn it off buffer-locally (bug#9932).
9001
90132c14
SM
9002 * progmodes/python.el (python-beginning-of-statement):
9003 Rewrite (bug#2703).
9004
1dce7193
SM
9005 * progmodes/compile.el: Better handle TABs (bug#9749).
9006 (compilation-internal-error-properties)
9007 (compilation-next-error-function): Obey the target buffer's
9008 compilation-error-screen-columns.
9009
c4e7c63a
JB
90102011-11-09 Juanma Barranquero <lekktu@gmail.com>
9011
9012 * progmodes/meta-mode.el: Remove obsolete comments.
9013 (meta-right-comment-regexp, meta-ignore-comment-regexp):
9014 Fix typos in docstrings.
9015
2cffd681
MR
90162011-11-09 Martin Rudalics <rudalics@gmx.at>
9017
9018 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 9019 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
9020 (window--resizable): New function. Make all callers of
9021 window-resizable call window--resizable instead.
9022 (window-resizable): Rewrite in terms of window--resizable.
9023
0edcba87
GM
90242011-11-08 Glenn Morris <rgm@gnu.org>
9025
9026 * progmodes/delphi.el (delphi-mode-syntax-table):
9027 Let define-derived-mode define a proper syntax table. (Bug#9994)
9028
4b0d61e3
SM
90292011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9030
9031 * window.el: Stay away from defsubst.
9032 (window-list-no-nils): Remove.
9033 (window-state-get-1, window-state-get): Use backquote instead.
9034
cd394be1 90352011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 9036
4b0d61e3 9037 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 9038 Fix incorrect use of default argument in `completing-read'.
9039
e1c2c6f2
MR
90402011-11-08 Martin Rudalics <rudalics@gmx.at>
9041
9042 * window.el (display-buffer-function, special-display-function):
9043 Mention display-buffer-record-window but do not mention
9044 help-setup parameter in doc-strings.
b3f4a882 9045 (window-min-delta): Fix doc-string typo.
e1c2c6f2 9046
105216ed
CY
90472011-11-08 Chong Yidong <cyd@gnu.org>
9048
9049 * window.el (window-total-height, window-total-width): Doc fix.
9050 (window-body-size): Move from C.
9051 (window-body-height, window-body-width): Move to C.
9052
0a9f9ab5
SM
90532011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9054
9055 * window.el: Make special-display like display-buffer-alist (bug#9532).
9056 (display-buffer--special-action): New function, morphed
9057 from display-buffer--special.
9058 (display-buffer): Use it to handle special-display-buffers at higher
9059 priority (just after display-buffer-alist).
9060 (display-buffer-fallback-action, display-buffer--other-frame-action)
9061 (pop-to-buffer-same-window): Remove display-buffer--special.
9062
a769dd15
GM
90632011-11-07 Glenn Morris <rgm@gnu.org>
9064
9065 * calendar/cal-menu.el (cal-menu-set-date-title):
9066 Do nothing if not in a calendar. (Bug#9976)
9067
05a61ee3
SM
90682011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * files.el (find-file): Always use selected-window.
9071
be7f5545
MR
90722011-11-07 Martin Rudalics <rudalics@gmx.at>
9073
9074 * window.el (window-combinations): Make WINDOW argument
9075 mandatory. Rewrite doc-string.
9076 (walk-window-subtree, window-atom-check, window-min-delta)
9077 (window-max-delta, window--resize-this-window)
9078 (window--resize-root-window-vertically, window-tree)
9079 (balance-windows, window-state-put): Rewrite doc-strings as to
9080 not mention the term "subwindow".
9081 (window--resize-subwindows-skip-p): Rename to
9082 window--resize-child-windows-skip-p.
9083 (window--resize-subwindows-normal): Rename to
9084 window--resize-child-windows-normal.
9085 (window--resize-subwindows): Rename to
9086 window--resize-child-windows.
9087 (window-or-subwindow-p): Rename to window--in-subtree-p.
9088
3c6702ef
ML
90892011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9090
9091 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9092 Ensure that mbox format messages end in two newlines (Bug#9974).
9093
49745b39
CY
90942011-11-06 Chong Yidong <cyd@gnu.org>
9095
9096 * window.el (window-combination-p): Function deleted; its
9097 side-effect is not used in any existing code.
9098 (window-combinations, window-combined-p): Call window-*-child
9099 directly.
9100
24300f5f
CY
91012011-11-05 Chong Yidong <cyd@gnu.org>
9102
9103 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9104 (window-size-ignore, window-state-get): Callers changed.
9105 (window-normalize-window): Rename from window-normalize-any-window.
9106 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9107 (window-normalize-live-window): Delete.
447f16b8
CY
9108 (window-combination-p, window-combined-p, window-combinations)
9109 (walk-window-subtree, window-atom-root, window-min-size)
9110 (window-sizable, window-sizable-p, window-size-fixed-p)
9111 (window-min-delta, window-max-delta, window-resizable)
9112 (window-resizable-p, window-full-height-p, window-full-width-p)
9113 (window-current-scroll-bars, window-point-1, set-window-point-1)
9114 (window-at-side-p, window-in-direction, window-resize)
9115 (adjust-window-trailing-edge, maximize-window, minimize-window)
9116 (window-deletable-p, delete-window, delete-other-windows)
9117 (record-window-buffer, unrecord-window-buffer)
9118 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9119 (quit-window, split-window, window-state-put)
9120 (set-window-text-height, fit-window-to-buffer)
9121 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9122
89bd5ee1
EZ
91232011-11-04 Eli Zaretskii <eliz@gnu.org>
9124
53479029
EZ
9125 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9126 rfc2047-decode-string.
9127 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9128 warnings.
9129
89bd5ee1
EZ
9130 * window.el (window-body-height, window-body-width): Mention in
9131 the doc string that the return values are in frame's canonical
9132 units. (Bug#9949)
9133
bd17fdee
AM
91342011-11-03 Alan Mackenzie <acm@muc.de>
9135
9136 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9137 change in cc-engine.el.
9138
acc825c5
SM
91392011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9140
9141 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9142
1885e5b8
MR
91432011-11-02 Martin Rudalics <rudalics@gmx.at>
9144
9145 * window.el (quit-window): Call unrecord-window-buffer after
9146 showing another buffer in the window. (Bug#9937)
acc825c5 9147 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9148
ebe06da9
JB
91492011-11-02 Juanma Barranquero <lekktu@gmail.com>
9150
9151 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9152 Accept status with more than 9 shelves. (Bug#9935)
9153 Reported by Colin D Bennett <colin@gibibit.com>.
9154
4ee88440
MR
91552011-11-01 Martin Rudalics <rudalics@gmx.at>
9156
9157 * help.el (with-help-window): Don't reference
9158 temp-buffer-show-specifiers in doc-string.
9159
08e1d82c
AS
91602011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9161
9162 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9163 menu-item.
9164
84bd6e9e
VJL
91652011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9166
9167 * whitespace.el: New version 13.2.2.
9168 (whitespace-newline-mode): Disable properly. Reported by Sarah
9169 <EmacsWiki>.
9170
dba0634a
UJ
91712011-10-30 Ulf Jasper <ulf.jasper@web.de>
9172
9173 * net/newst-treeview.el: Remove "Time-stamp".
9174 (newsticker--group-manage-orphan-feeds): Do not call
9175 newsticker--treeview-tree-update.
db22a3c2
JB
9176 (newsticker-treeview-update, newsticker-treeview):
9177 Call newsticker--treeview-tree-update if necessary.
dba0634a 9178
3d8daefe
MR
91792011-10-30 Martin Rudalics <rudalics@gmx.at>
9180
9181 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9182 (window-iso-combinations): Remove "iso-" infix.
9183 Suggested by Chong Yidong.
3d8daefe
MR
9184 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9185 (window-max-delta-1, window-resize, window--resize-siblings)
9186 (window--resize-this-window, adjust-window-trailing-edge)
9187 (split-window, balance-windows-1)
9188 (shrink-window-if-larger-than-buffer):
9189 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9190 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9191
1bc4c3ae
SM
91922011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9193
9194 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9195 in place (bug#9907).
9196 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9197 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9198 (eshell-structure-basic-command, eshell-rewrite-while-command)
9199 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9200 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9201 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9202 (eshell-do-pipelines-synchronously, eshell-eval-command):
9203 Use backquotes and prefer setq to set.
9204 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9205 (eshell-macrop): Use functionp.
c1e2f5fa 9206 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9207
30b65d9c
CY
92082011-10-30 Chong Yidong <cyd@gnu.org>
9209
9210 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9211 instead of set-mark (Bug#9810).
9212
2d197ffb
CY
92132011-10-30 Chong Yidong <cyd@gnu.org>
9214
9215 * window.el (split-window-below, split-window-right): Rename from
9216 split-window-above-each-other and split-window-side-by-side
9217 respectively. All callers changed.
9218 (split-window-sensibly, split-window-sensibly): Use them.
9219 (split-window-keep-point): Doc fix.
9220
9221 * isearch.el: Add isearch-scroll property to split-window-below
9222 and split-window-right.
9223
9224 * follow.el (follow-mode):
9225 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9226 * progmodes/ada-xref.el (ada-gdb-application):
9227 * emulation/vip.el (vip-buffer-in-two-windows):
9228 * image-dired.el (image-dired-dired-with-window-configuration):
9229 * dired-x.el (dired-do-find-marked-files):
9230 * dired.el (dired-pop-to-buffer):
9231 * bs.el (bs--show-with-configuration):
9232 * vc/emerge.el (emerge-setup-windows):
9233 * textmodes/two-column.el (2C-two-columns):
9234 * textmodes/reftex-toc.el (reftex-toc):
9235 * progmodes/gdb-mi.el (gdb-setup-windows):
9236 * progmodes/fortran.el (fortran-window-create):
9237 * net/newst-treeview.el (newsticker--treeview-window-init):
9238 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9239 * emulation/tpu-edt.el (tpu-gold-map):
9240 * emulation/crisp.el (crisp-mode-map):
9241 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9242
38bb2ca8
CY
92432011-10-29 Chong Yidong <cyd@gnu.org>
9244
aa4de341
CY
9245 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9246
e1eb5385
CY
9247 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9248
5d2ece3c
CY
9249 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9250 forged Ispell output (Bug#7904).
9251
38bb2ca8
CY
9252 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9253
d0af9f77
SM
92542011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * doc-view.el: Avoid ugly errors about not finding nil.
9257 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9258 (doc-view-dvipdf-program, doc-view-unoconv-program)
9259 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9260 Avoid nil or absolute file name as default value.
9261 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9262
52bedd34
AM
92632011-10-28 Alan Mackenzie <acm@muc.de>
9264
db22a3c2 9265 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9266
7e43cfa5
AM
92672011-10-28 Alan Mackenzie <acm@muc.de>
9268
9269 Amend the handling of c-beginning/end-of-defun in nested declaration
9270 scopes.
9271
52bedd34
AM
9272 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9273 cc-langs.el. Change it to a defcustom.
7e43cfa5 9274
52bedd34
AM
9275 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9276 cc-vars.el.
7e43cfa5 9277
d0af9f77
SM
9278 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9279 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9280
52bedd34 9281 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9282 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9283 (c-widen-to-enclosing-decl-scope): New function.
9284 (c-while-widening-to-decl-block): New macro.
9285 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9286 outward for defun boundaries, and correspondingly change symbol
9287 `respect-enclosure' to `go-outward'.
9288 (c-declaration-limits): Change algorithm to report only the "innermost"
9289 defun's boundaries.
9290
1a2ce9ee
DD
92912011-10-28 Deniz Dogan <deniz@dogan.se>
9292
9293 * net/rcirc.el (rcirc-mode): Use hard newlines.
9294
bc97a826
AM
92952011-10-28 Alan Mackenzie <acm@muc.de>
9296
9297 Amend to indent and fontify macros "which include their own semicolon"
9298 correctly, using the "virtual semicolon" mechanism.
9299
52bedd34 9300 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9301
d0af9f77 9302 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9303 Recode to scan one line at a time rather than having \n and \r
58179cce 9304 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9305 (c-forward-label): Amend for virtual semicolons.
58179cce 9306 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9307
52bedd34
AM
9308 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9309 of the new C macros.
bc97a826 9310
52bedd34 9311 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9312 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9313 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9314 (c-opt-cpp-macro-define): Make into a full language variable.
9315 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9316 AWK Mode (including \n, \r) removed, no longer needed.
9317
d0af9f77
SM
9318 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9319 Invoke c-make-macro-with-semi-re.
bc97a826 9320
52bedd34
AM
9321 * progmodes/cc-vars.el (c-macro-with-semi-re):
9322 (c-macro-names-with-semicolon): New variables.
58179cce 9323 (c-make-macro-with-semi-re): New function.
bc97a826 9324
7a6c0941
SM
93252011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9326
9327 * vc/log-edit.el: Fill empty field rather than adding new one.
9328 (log-edit-add-field): New function.
9329 (log-edit-insert-changelog): Use it.
9330
b0c4cdcf
ML
93312011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9332
9333 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9334
ee1f1da9
SM
93352011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9336
9337 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9338 (gdb--check-interpreter): New function.
9339 (gdb): Use it.
9340
51bc5f8b
GM
93412011-10-27 Glenn Morris <rgm@gnu.org>
9342
416a2c45
GM
9343 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9344 (least-positive-float, least-negative-float)
9345 (least-positive-normalized-float, least-negative-normalized-float)
9346 (float-epsilon, float-negative-epsilon):
9347 Remove unnecessary declarations.
9348
9349 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9350 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9351 (least-positive-float, least-negative-float)
9352 (least-positive-normalized-float, least-negative-normalized-float)
9353 (float-epsilon, float-negative-epsilon): Add doc-strings,
9354 based on those in cl.texi.
9355
51bc5f8b
GM
9356 * files.el (set-visited-file-name): If the major-mode changed,
9357 reload the local variables. (Bug#9796)
9358
15de15c6
CY
93592011-10-27 Chong Yidong <cyd@gnu.org>
9360
9361 * subr.el (change-major-mode-after-body-hook): New hook.
9362 (run-mode-hooks): Run it.
9363
ee1f1da9
SM
9364 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9365 Use change-major-mode-before-body-hook.
15de15c6
CY
9366
9367 * simple.el (fundamental-mode):
9368 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9369 change introducing fundamental-mode-hook.
9370
5430d399
JB
93712011-10-26 Juanma Barranquero <lekktu@gmail.com>
9372
acc825c5 9373 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9374
ad74a69e
MA
93752011-10-26 Michael Albinus <michael.albinus@gmx.de>
9376
9377 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9378 tramp.el explicitly. (Bug#7583)
ad74a69e 9379
71d4c2a5
SM
93802011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9381
9382 * progmodes/octave-mod.el:
9383 * progmodes/octave-inf.el: Update maintainer.
9384
b1f6fa26
CY
93852011-10-26 Chong Yidong <cyd@gnu.org>
9386
9387 * subr.el (with-wrapper-hook): Rewrite doc.
9388
3f04efd6
MA
93892011-10-25 Michael Albinus <michael.albinus@gmx.de>
9390
9391 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9392 filenames "/method:foo:". (Bug#9793)
3f04efd6 9393
410488d3
SM
93942011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9395
9396 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9397 (bug#9865).
9398
c1ebb47e
GM
93992011-10-24 Glenn Morris <rgm@gnu.org>
9400
9401 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9402
7f5c46c7
MA
94032011-10-24 Michael Albinus <michael.albinus@gmx.de>
9404
9405 * notifications.el: Add the requirement of a running D-Bus session
9406 bus to the Commentary.
9407
db2440b6
JL
94082011-10-24 Juri Linkov <juri@jurta.org>
9409
9410 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9411 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9412 (Bug#9364)
9413
feecf435
JL
94142011-10-24 Juri Linkov <juri@jurta.org>
9415
9416 * info.el (Info-following-node-name-re): Add newline to the list
9417 of allowed characters for leading space. (Bug#9824)
9418
a3839de2
SM
94192011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9420
acc825c5
SM
9421 * progmodes/octave-inf.el (inferior-octave-mode-map):
9422 Fix C-c C-h binding.
a3839de2
SM
9423 * progmodes/octave-mod.el (octave-help): Remove.
9424
09388e76
MA
94252011-10-23 Michael Albinus <michael.albinus@gmx.de>
9426
9427 Sync with Tramp 2.2.3.
9428
9429 * net/tramp-cache.el (top): Pacify byte-compiler using
9430 `init-file-user' and `site-run-file'.
9431
9432 * net/trampver.el: Update release number.
9433
86c60681
CY
94342011-10-23 Chong Yidong <cyd@gnu.org>
9435
9436 * files.el (toggle-read-only): Remove obsolete comment about
9437 version control.
9438
9439 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9440 for toggle-read-only. Note that this hasn't called vc-next-action
9441 since 2008-05-02, though it wasn't documented at the time.
9442
a3839de2
SM
9443 * vc/ediff-init.el (ediff-toggle-read-only-function):
9444 Use toggle-read-only.
86c60681 9445
cd5495ff
AM
94462011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9447
9448 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9449 of c-parse-state.
9450
00b77525 9451 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9452 correct faulty logical expression.
cd5495ff
AM
9453 (c-parse-state-state, c-record-parse-state-state):
9454 (c-replay-parse-state-state): New defvar/defuns.
9455 (c-debug-parse-state): Use new functions.
9456
42ee24ed
MR
94572011-10-22 Martin Rudalics <rudalics@gmx.at>
9458
9459 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9460 last fix. Use window-in-direction correctly.
42ee24ed 9461
a7dee7e7
CY
94622011-10-21 Chong Yidong <cyd@gnu.org>
9463
9464 * progmodes/idlwave.el (idlwave-mode):
9465 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9466 require-final-newline; that's done in prog-mode.
9467 Suggested by Stefan Monnier.
a7dee7e7 9468
e07b9a6d
MR
94692011-10-21 Martin Rudalics <rudalics@gmx.at>
9470
9471 * mouse.el (mouse-drag-window-above)
9472 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9473 (mouse-drag-mode-line-1, mouse-drag-header-line)
9474 (mouse-drag-vertical-line-rightward-window): Remove.
9475 (mouse-drag-line): New function.
9476 (mouse-drag-mode-line, mouse-drag-header-line)
9477 (mouse-drag-vertical-line): Call mouse-drag-line.
9478 * window.el (window-at-side-p, windows-at-side): New functions.
9479
7e1361d9
UM
94802011-10-21 Ulrich Mueller <ulm@gentoo.org>
9481
9482 * tar-mode.el (tar-grind-file-mode):
9483 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9484
30fcaf3a
CY
94852011-10-21 Chong Yidong <cyd@gnu.org>
9486
9487 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9488 * progmodes/vera-mode.el (vera-mode):
9489 Use mode-require-final-newline.
30fcaf3a 9490
516eddb0
GM
94912011-10-20 Glenn Morris <rgm@gnu.org>
9492
db22a3c2 9493 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9494
10d5f513
CS
94952011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9496
9497 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9498
ac6c8639
CY
94992011-10-20 Chong Yidong <cyd@gnu.org>
9500
9501 * emulation/cua-base.el (cua-mode):
9502 * mail/footnote.el (footnote-mode):
9503 * mail/mailabbrev.el (mail-abbrevs-mode):
9504 * net/xesam.el (xesam-minor-mode):
9505 * progmodes/bug-reference.el (bug-reference-mode):
9506 * progmodes/cap-words.el (capitalized-words-mode):
9507 * progmodes/compile.el (compilation-minor-mode)
9508 (compilation-shell-minor-mode):
9509 * progmodes/gud.el (gud-tooltip-mode):
9510 * progmodes/hideif.el (hide-ifdef-mode):
9511 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9512 * progmodes/subword.el (subword-mode):
9513 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9514 * progmodes/which-func.el (which-function-mode):
9515 * term/tvi970.el (tvi970-set-keypad-mode):
9516 * term/vt100.el (vt100-wide-mode):
9517 * textmodes/flyspell.el (flyspell-mode):
9518 * textmodes/ispell.el (ispell-minor-mode):
9519 * textmodes/nroff-mode.el (nroff-electric-mode):
9520 * textmodes/paragraphs.el (use-hard-newlines):
9521 * textmodes/refill.el (refill-mode):
9522 * textmodes/reftex.el (reftex-mode):
9523 * textmodes/rst.el (rst-minor-mode):
9524 * textmodes/sgml-mode.el (html-autoview-mode)
9525 (sgml-electric-tag-pair-mode):
9526 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9527 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9528 * emulation/crisp.el (crisp-mode):
9529 * emacs-lisp/eldoc.el (eldoc-mode):
9530 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9531 minor mode behavior.
9532
aa42ab43
JL
95332011-10-19 Juri Linkov <juri@jurta.org>
9534
9535 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9536 the list of hard-coded chars with escape-glyph face.
9537
89400f1d
SM
95382011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9539
9540 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9541
305c07f6
MA
95422011-10-19 Michael Albinus <michael.albinus@gmx.de>
9543
9544 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9545 running process.
9546
13754b54
GM
95472011-10-19 Glenn Morris <rgm@gnu.org>
9548
9549 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9550 Ignore ignored files. (Bug#9726)
9551
06e21633
CY
95522011-10-19 Chong Yidong <cyd@gnu.org>
9553
9554 Doc fix for minor modes, stating that an omitted argument enables
9555 the mode unconditionally when called from Lisp.
9556
9557 * abbrev.el (abbrev-mode):
9558 * allout.el (allout-mode):
9559 * autoinsert.el (auto-insert-mode):
9560 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9561 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9562 (global-auto-revert-mode):
9563 * battery.el (display-battery-mode):
9564 * composite.el (global-auto-composition-mode)
9565 (auto-composition-mode):
9566 * delsel.el (delete-selection-mode):
9567 * desktop.el (desktop-save-mode):
9568 * dired-x.el (dired-omit-mode):
9569 * dirtrack.el (dirtrack-mode):
9570 * doc-view.el (doc-view-minor-mode):
9571 * double.el (double-mode):
9572 * electric.el (electric-indent-mode, electric-pair-mode):
9573 * emacs-lock.el (emacs-lock-mode):
9574 * epa-hook.el (auto-encryption-mode):
9575 * follow.el (follow-mode):
9576 * font-core.el (font-lock-mode):
9577 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9578 * help.el (temp-buffer-resize-mode):
9579 * hilit-chg.el (highlight-changes-mode)
9580 (highlight-changes-visible-mode):
9581 * hi-lock.el (hi-lock-mode):
9582 * hl-line.el (hl-line-mode, global-hl-line-mode):
9583 * icomplete.el (icomplete-mode):
9584 * ido.el (ido-everywhere):
9585 * image-file.el (auto-image-file-mode):
9586 * image-mode.el (image-minor-mode):
9587 * iswitchb.el (iswitchb-mode):
9588 * jka-cmpr-hook.el (auto-compression-mode):
9589 * linum.el (linum-mode):
9590 * longlines.el (longlines-mode):
9591 * master.el (master-mode):
9592 * mb-depth.el (minibuffer-depth-indicate-mode):
9593 * menu-bar.el (menu-bar-mode):
9594 * minibuf-eldef.el (minibuffer-electric-default-mode):
9595 * mouse-sel.el (mouse-sel-mode):
9596 * msb.el (msb-mode):
9597 * mwheel.el (mouse-wheel-mode):
9598 * outline.el (outline-minor-mode):
9599 * paren.el (show-paren-mode):
9600 * recentf.el (recentf-mode):
9601 * reveal.el (reveal-mode, global-reveal-mode):
9602 * rfn-eshadow.el (file-name-shadow-mode):
9603 * ruler-mode.el (ruler-mode):
9604 * savehist.el (savehist-mode):
9605 * scroll-all.el (scroll-all-mode):
9606 * scroll-bar.el (scroll-bar-mode):
9607 * server.el (server-mode):
9608 * shell.el (shell-dirtrack-mode):
9609 * simple.el (auto-fill-mode, transient-mark-mode)
9610 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9611 (line-number-mode, column-number-mode, size-indication-mode)
9612 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9613 * strokes.el (strokes-mode):
9614 * time.el (display-time-mode):
9615 * t-mouse.el (gpm-mouse-mode):
9616 * tool-bar.el (tool-bar-mode):
9617 * tooltip.el (tooltip-mode):
9618 * type-break.el (type-break-mode-line-message-mode)
9619 (type-break-query-mode):
9620 * view.el (view-mode):
9621 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9622 (global-whitespace-mode, global-whitespace-newline-mode):
9623 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9624
a3839de2
SM
9625 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9626 Fix autogenerated docstring.
06e21633 9627
5214e501
JL
96282011-10-19 Juri Linkov <juri@jurta.org>
9629
9630 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9631 by checking environment variables "DESKTOP_SESSION" and
9632 "XDG_CURRENT_DESKTOP". (Bug#9779)
9633
195f8db9
JL
96342011-10-19 Juri Linkov <juri@jurta.org>
9635
9636 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9637 (browse-url-chromium-program, browse-url-chromium-arguments):
9638 New defcustoms.
9639 (browse-url-default-browser): Check for `browse-url-chromium' and
9640 call `browse-url-chromium-program'.
9641 (browse-url-chromium): New command. (Bug#9779)
9642
343a34ff
JB
96432011-10-18 Juanma Barranquero <lekktu@gmail.com>
9644
9645 * facemenu.el (list-colors-duplicates): On Windows, detect more
9646 duplicates by assuming that only colors matching "^System" are
9647 special "system colors". (Bug#9722)
9648
6978a151
SM
96492011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9650
9651 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9652 to distinguish the author from the committer.
9653
6a80b297
MA
96542011-10-18 Michael Albinus <michael.albinus@gmx.de>
9655
9656 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9657
b31a5677
JK
96582011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9659
9660 * international/mule.el (sgml-html-meta-auto-coding-function):
9661 Add support for detecting encoding in HTML5 specified only as
9662 <meta charset="UTF-8">. Implementation just makes http-equiv and
9663 content-type parts from HTML4 encoding string optional. (Bug#9716)
9664
80c6d77f
GM
96652011-10-18 Glenn Morris <rgm@gnu.org>
9666
9667 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9668
08b0fee8
CY
96692011-10-18 Chong Yidong <cyd@gnu.org>
9670
9671 * faces.el (cursor): Doc fix.
9672
67e729a5
CY
96732011-10-17 Chong Yidong <cyd@gnu.org>
9674
9675 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9676
343a34ff 96772011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9678
9679 * dirtrack.el (dirtrack): Support shell buffers with path
9680 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9681
0bc06380
TZ
96822011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9683
9684 * json.el: Bump version to 1.3 and note change in History.
9685 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9686
8b79f3e0
SM
96872011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9688
5a7c536b
SM
9689 * comint.el (comint-insert-input, comint-send-input)
9690 (comint-get-old-input-default, comint-backward-matching-input)
9691 (comint-next-prompt): Use nil instead of `input' for field property of
9692 past user input (bug#114).
9693
96a8a0df
SM
9694 * minibuffer.el (completion--replace): Inherit surrounding properties
9695 (bug#114).
9696 (minibuffer-complete-and-exit): Use it.
9697
8b79f3e0
SM
9698 * comint.el (comint--table-subvert): Quote the all-completions output
9699 (bug#9160).
9700
b8f7ff0d
MR
97012011-10-17 Martin Rudalics <rudalics@gmx.at>
9702
8b79f3e0 9703 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9704
b8f7ff0d 9705 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9706 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9707 entries and separate them from frame entries.
9708
c235b555
GM
97092011-10-15 Glenn Morris <rgm@gnu.org>
9710
9711 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9712 Doc fixes.
9713
6bbfa6e1
CY
97142011-10-15 Chong Yidong <cyd@stupidchicken.com>
9715
8b79f3e0
SM
9716 * net/network-stream.el (network-stream-open-starttls):
9717 Improve detection of failure due to lack of TLS support.
ec5c990d 9718
6bbfa6e1
CY
9719 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9720 putting the input text in front and in bold.
9721
98488977
SM
97222011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9723
3d1337be
SM
9724 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9725
ee0b45e4
SM
9726 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9727 empty buffer.
9728
98488977
SM
9729 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9730 unread-command-events rather than pushing yet-another event.
9731
186f4720
EZ
97322011-10-14 Eli Zaretskii <eliz@gnu.org>
9733
9734 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9735 the explanation of the possible choices. Make the options passed
9736 to completing-read shorter.
9737
8b7a997c
AM
97382011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9739
9740 * textmodes/flyspell.el (flyspell-large-region): Make sure
9741 extended character mode is used if defined (Bug#1339).
9742
12587bbb
EZ
97432011-10-13 Eli Zaretskii <eliz@gnu.org>
9744
9745 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9746 character info for LRE, LRO, RLE, and RLO characters by appending
9747 an invisible PDF.
12587bbb 9748
bad41229
SM
97492011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9750
9751 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9752 even in case of error; add debug spec; simplify data flow.
9753 (with-timeout-handler): Remove.
9754
28dbc92f
MA
97552011-10-12 Michael Albinus <michael.albinus@gmx.de>
9756
9757 Fix Bug#6019, Bug#9315.
9758
9759 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9760 complete `buffer-file-name', the local file name part could look
9761 remotely (for example on VMS).
9762
9763 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9764 `tramp-run-real-handler'.
9765 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9766 already quoted by '"'.
9767
9768 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9769 Let `file-name-handler-alist' be nil, the local file name part
9770 could look remotely (for example on VMS).
9771
e1b0b23a
SM
97722011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9773
9774 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9775 from here...
9776 (flyspell-post-command-hook): ...to here.
9777
a120bde9
SM
97782011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9779
9780 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9781 if not needed.
9782 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9783 using completion. Protect against "slow" callers.
9784 Remove the "message hack".
9785
7ce7717b
JL
97862011-10-11 Juri Linkov <juri@jurta.org>
9787
9788 * isearch.el (isearch-lazy-highlight-word): New variable.
9789 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9790 Use it. (Bug#9727)
9791
c02ee9d6
GM
97922011-10-11 Glenn Morris <rgm@gnu.org>
9793
9794 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9795 like f90-previous-statement does.
9796
93e616fd 97972011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9798
1f190e73 9799 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9800 only in interactive use, to avoid error.
9801
af7b6078
SM
98022011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9803
9804 * minibuffer.el (completion-file-name-table): Fix last change,
9805 i.e. ignore normal errors but not the other ones.
9806
0563dae9
MR
98072011-10-10 Martin Rudalics <rudalics@gmx.at>
9808
9809 * window.el (special-display-buffer-names)
9810 (special-display-regexps): Remove some remnants of earlier
9811 changes from doc-strings.
366ca7f3
MR
9812 (quit-windows-on): New function.
9813
9814 * vc/vc.el (vc-revert, vc-rollback):
9815 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9816 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9817 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9818
49677495
MR
98192011-10-09 Martin Rudalics <rudalics@gmx.at>
9820
9821 * window.el (frame-auto-hide-function): Add version tag.
9822 (Bug#9699)
9823
56f2d1e1
MA
98242011-10-09 Michael Albinus <michael.albinus@gmx.de>
9825
9826 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9827 condition.
9828
112a6592
LL
98292011-10-09 Leo Liu <sdl.web@gmail.com>
9830
9831 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9832 (Bug#9701)
9833
0812589b
GM
98342011-10-08 Glenn Morris <rgm@gnu.org>
9835
9836 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9837 before the first code statement zero indent. (Bug#9690)
9838
b2b0776e
CY
98392011-10-08 Chong Yidong <cyd@stupidchicken.com>
9840
9841 * simple.el (count-words-region): Always count in the region.
9842 Report the number of lines and characters too.
9843 (count-words): New command, which counts in the buffer if the
9844 region is inactive, as count-words-region used to.
9845 (count-words--message): New function. Handle plurals.
9846 (count-lines-region): Make it an alias for count-words-region.
9847
9848 * bindings.el (esc-map): Replace count-lines-region with
9849 count-words-region.
9850
c557cd6b
MR
98512011-10-08 Martin Rudalics <rudalics@gmx.at>
9852
9853 * window.el (window--delete): Delete dedicated frame
9854 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9855 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9856
61a57ef4 98572011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9858
3a7d293b 9859 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9860
c3833279
CY
98612011-10-07 Chong Yidong <cyd@stupidchicken.com>
9862
9863 * bindings.el ([M-left],[M-right]): Bind to left-word and
9864 right-word respectively.
9865
21ce8245
GM
98662011-10-07 Glenn Morris <rgm@gnu.org>
9867
9868 * cus-start.el (debug-on-quit): Fix custom type.
9869
6d823bb2
LMI
98702011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9871
0181e193
LMI
9872 * subr.el (define-key-after): Clarify that the function is not
9873 useful for non-menu keymaps.
9874
6d823bb2
LMI
9875 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9876
8e3459ce 98772011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9878
21ce8245 9879 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9880 in current minibuffer (Fix bug with recursive minibuffers).
9881
a1c2d21e
CY
98822011-10-06 Chong Yidong <cyd@stupidchicken.com>
9883
9884 * progmodes/gdb-mi.el (gdb): Doc fix.
9885
5a4cf282
MR
98862011-10-05 Martin Rudalics <rudalics@gmx.at>
9887
9888 * window.el (frame-auto-hide-function): New option replacing
9889 frame-auto-delete. Suggested by Stefan Monnier.
9890 (window--delete): Call frame-auto-hide-function instead of
9891 investigating frame-auto-delete.
c96111ea
MR
9892 (window-point-1, set-window-point-1): New functions.
9893 (window-in-direction, record-window-buffer, window-state-get-1)
9894 (display-buffer-record-window): Use window-point-1 instead of
9895 window-point.
9896 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9897
9854542e
SM
98982011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9899
9900 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9901
8943cfb0
GM
99022011-10-05 Glenn Morris <rgm@gnu.org>
9903
9904 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9905 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9906
647ab967
LL
99072011-10-05 Leo Liu <sdl.web@gmail.com>
9908
9909 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9910 works with buffer object.
9911
3ddfbced
SM
99122011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9913
9914 * mpc.el (mpc-tool-bar-map): Add labels.
9915
bdfa5dd2
GM
99162011-10-04 Glenn Morris <rgm@gnu.org>
9917
9918 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9919
0e2070b5
MR
99202011-10-04 Martin Rudalics <rudalics@gmx.at>
9921
9922 * window.el (window--delete): New function.
9923 (frame-auto-delete): Resuscitate option.
9924 (bury-buffer, replace-buffer-in-windows)
9925 (quit-window): Rewrite using window--delete.
9926 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9927 Pass display-buffer-mark-dedicated to window--display-buffer-2
9928 (Bug#9639).
9929
3dc61a09
SM
99302011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9931
915a9b64
SM
9932 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9933 returns a list (bug#9554). Add remote file name completion.
9934 * comint.el (comint--table-subvert): Curry and get quote&unquote
9935 functions as arguments.
9936 (comint--complete-file-name-data): Adjust call accordingly.
9937 * pcomplete.el (pcomplete--table-subvert): Remove.
9938 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9939
3dc61a09
SM
9940 * minibuffer.el (completion-table-case-fold): Use currying.
9941 (completion--styles-type, completion--cycling-threshold-type):
9942 New constants.
9943 (completion-styles, completion-category-overrides)
9944 (completion-cycle-threshold): Use them.
9945 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9946 completion-table-case-fold.
9947
8ea0a993
SB
99482011-10-03 Stephen Berman <stephen.berman@gmx.net>
9949
9950 * minibuffer.el (completion-category-overrides): Fix type of styles
9951 and add more user friendly tags (bug#9660).
9952
8c24b7f6
SM
99532011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9954
9955 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9956 (mule-input-method-string): New widget.
9957 (default-input-method, language-info-custom-alist): Use it.
9958
428fe61a
SM
99592011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9960
32c1fffd
SM
9961 * pcomplete.el: Require comint.
9962 (pcomplete--common-suffix): Remove.
9963 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9964 (pcomplete--table-subvert): Sync with comint--table-subvert.
9965 (pcomplete--entries): Use comint-completion-file-name-table.
9966 * comint.el (comint-unquote-filename): Simplify.
9967 (comint-completion-file-name-table): New function (bug#9616).
9968 (comint--complete-file-name-data): Use it.
9969
428fe61a
SM
9970 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9971 (pcmpl-gnu-tar-buffer): Remove.
9972 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9973 around. Make sure pcomplete-suffix-list is only changed temporarily.
9974 Don't look inside the tar's file if it's too large.
428fe61a 9975
04c52e2f
CY
99762011-10-01 Chong Yidong <cyd@stupidchicken.com>
9977
ce3cefcc
CY
9978 * cus-edit.el (custom-mode-map):
9979 * epa.el (epa-key-list-mode-map):
9980 * man.el (Man-mode-map):
9981 * startup.el (splash-screen-keymap):
9982 * simple.el (special-mode-map): Use scroll-up-command and
9983 scroll-down-command.
9984
9985 * progmodes/idlw-help.el (idlwave-help-mode-map):
9986 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9987 * net/newst-plainview.el (newsticker-mode-map):
9988 * emulation/ws-mode.el (wordstar-mode-map):
9989 * emulation/vi.el (vi-com-map):
9990 * calc/calc-graph.el (calc-graph-show-dumb):
9991 * term/sun.el (terminal-init-sun):
9992 * term/ns-win.el (global-map):
9993 * progmodes/grep.el (grep-mode-map):
9994 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9995 * mail/rmail.el (rmail-mode-map):
9996 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9997
04c52e2f
CY
9998 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9999 custom-safe-themes as special.
10000
79adf8c8
JD
100012011-10-01 Julien Danjou <julien@danjou.info>
10002
10003 * notifications.el (notifications-notify): Fix docstring.
10004
63bd50d3
PS
100052011-10-01 Per Starbäck <per@starback.se>
10006
10007 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
10008
199e4c7e
MR
100092011-09-30 Martin Rudalics <rudalics@gmx.at>
10010
10011 * startup.el (command-line-1): Fix last fix by inserting
10012 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 10013 (Bug#9605) and (Bug#9636)
199e4c7e 10014
fe5f08dd
EZ
100152011-09-29 Eli Zaretskii <eliz@gnu.org>
10016
10017 * simple.el (line-move): If auto-hscroll-mode is disabled and the
10018 window is hscrolled, move by logical lines. (Bug#9607)
10019 (line-move-visual): Update the doc string to the above effect.
10020
b5516bbd
MR
100212011-09-29 Martin Rudalics <rudalics@gmx.at>
10022
ccee00c0
MR
10023 * window.el (display-buffer-record-window): When WINDOW is the
10024 selected window use `point' instead of `window-point'. (Bug#9626)
10025
b5516bbd
MR
10026 * startup.el (command-line-1): Use insert-before-markers when
10027 inserting initial-scratch-message. (Bug#9605)
ccee00c0 10028
b5516bbd
MR
10029 * help.el (help-window): Remove variable.
10030
52aa0014
GM
100312011-09-29 Glenn Morris <rgm@gnu.org>
10032
10033 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
10034
df9a7357
JB
100352011-09-29 Juanma Barranquero <lekktu@gmail.com>
10036
10037 * descr-text.el (describe-char-categories): Accept category
10038 descriptions more than one line long.
10039
a8406c20
SM
100402011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
10041
88d9610c
SM
10042 * simple.el (delete-trailing-whitespace): Fix last change.
10043
a5daf810
SM
10044 * progmodes/perl-mode.el (perl-syntax-propertize-function):
10045 Don't confuse "y => 3" as the beginning of a `y' operation.
10046
a8406c20
SM
10047 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
10048 object has more than 4 slots (bug#9613).
10049
a239d4e9
JB
100502011-09-28 Juanma Barranquero <lekktu@gmail.com>
10051
10052 * subr.el (with-output-to-temp-buffer):
10053 * net/quickurl.el (quickurl, quickurl-browse-url):
10054 Fix typos in docstrings.
10055
693fbdb6
EZ
100562011-09-27 Eli Zaretskii <eliz@gnu.org>
10057
10058 * minibuffer.el (completion-styles)
10059 (completion-category-overrides): Cross reference each other in doc
10060 strings.
10061
8b457e28
GM
100622011-09-27 Glenn Morris <rgm@gnu.org>
10063
10064 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10065 to split-string. (Bug#9606)
10066
85a16208
LMI
100672011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10068
10069 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10070 (bug#9615).
10071
502f9ebd
CY
100722011-09-27 Chong Yidong <cyd@stupidchicken.com>
10073
10074 * emacs-lisp/package.el (list-packages): Fix echo area message.
10075
7690bdea
LL
100762011-09-27 Leo Liu <sdl.web@gmail.com>
10077
10078 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10079
e2ee6f30
MA
100802011-09-25 Michael Albinus <michael.albinus@gmx.de>
10081
10082 * net/dbus.el (dbus-unregister-object): Don't release services for
10083 registered signals. (Bug#9581)
10084
f3f98342
TZ
100852011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10086
10087 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10088 function that picks between cfengine 2 and 3 support
10089 automatically. Update docs accordingly.
10090
dd7aa8dd
KH
100912011-09-22 Kenichi Handa <handa@m17n.org>
10092
10093 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10094 ZERO.
10095 (indian-itrans-v5-table-for-tamil): New variable.
10096 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10097
3f2b07f8
KM
100982011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10099
10100 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10101 that's true if the current command involved collapsing of text.
10102 It's reset to false at the beginning of the next command.
10103 (allout-post-command-business): Move the cursor to the beginning
10104 of entry if the cursor is hidden and collapsing activity just
10105 happened.
10106
371d6a61
CY
101072011-09-24 Chong Yidong <cyd@stupidchicken.com>
10108
10109 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10110 tracking (Bug#9541).
10111
2ac2721a
UJ
101122011-09-24 Ulf Jasper <ulf.jasper@web.de>
10113
10114 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10115 (newsticker-show-news): Automatically load html rendering package
10116 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10117 because w3m-fill-column is let-bound" and the error "Symbol's value
10118 as variable is void: w3m-fill-column".
2ac2721a 10119
fac7ae53
MA
101202011-09-24 Michael Albinus <michael.albinus@gmx.de>
10121
10122 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10123 Release services only if they are defined. (Bug#9581)
10124
e08b633b
RS
101252011-09-23 Richard Stallman <rms@gnu.org>
10126
e488d29c
RS
10127 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10128 distinguish start of paragraph from start of its text.
10129
19c38752
RS
10130 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10131
e08b633b
RS
10132 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10133 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10134 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10135
0a39f27e
AS
101362011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10137
10138 * international/mule-diag.el (mule-diag): Insert a newline after
10139 each fontset description.
10140
db4e950d
SM
101412011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10142
10143 * simple.el (delete-trailing-whitespace):
10144 Document last change; simplify.
10145
eca3f3ea
PW
101462011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10147
d68e189a
PW
10148 * simple.el (delete-trailing-whitespace): Also delete
10149 extra newlines at the end of the buffer.
10150
eca3f3ea
PW
10151 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10152 (picture-newline): Use forward-line so as to ignore fields.
10153
01c157cc
SM
101542011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10155
10156 * subr.el (with-wrapper-hook): Fix edebug spec.
10157
022de23e
LMI
101582011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10159
10160 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10161 (bug#4538).
10162
91683089
MA
101632011-09-23 Michael Albinus <michael.albinus@gmx.de>
10164
eca3f3ea
PW
10165 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10166 Fix nasty bug using wrong cached values.
91683089 10167
5bdd6fa4
AM
101682011-09-23 Alan Mackenzie <acm@muc.de>
10169
10170 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10171
97adfb97
CY
101722011-09-23 Chong Yidong <cyd@stupidchicken.com>
10173
10174 * window.el (pop-to-buffer): Ensure right window is selected if we
10175 chose another frame.
10176
d4ef2b50
EZ
101772011-09-22 Eli Zaretskii <eliz@gnu.org>
10178
10179 * simple.el (what-cursor-position): Use get-char-property-change
10180 and next-single-char-property-change, to be able to show display
10181 properties that come from overlays as well as text properties.
10182
72258fe5
CY
101832011-09-22 Chong Yidong <cyd@stupidchicken.com>
10184
10185 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10186
10187 * cmuscheme.el (run-scheme, switch-to-scheme):
10188 * cus-edit.el (customize-group, custom-buffer-create)
10189 (customize-browse):
10190 * info.el (info):
10191 * shell.el (shell):
10192 * mail/sendmail.el (mail):
10193 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10194
8f098516
RS
101952011-09-22 Richard Stallman <rms@gnu.org>
10196
10197 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10198 move back only to line beg, don't move back over blank lines.
10199
e74f1bb6
MA
102002011-09-22 Michael Albinus <michael.albinus@gmx.de>
10201
10202 * files.el (copy-directory): Set directory attributes only in case
10203 they could be retrieved from the source directory. (Bug#9565)
10204
bfeef8b6
DK
102052011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10206
10207 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10208 (hs-find-block-beginning, hs-hide-level-recursive):
10209 Ignore strings as well as comments. (Bug#9502)
10210
7e423bb8
AS
102112011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10212
10213 * progmodes/sql.el (sql-comint-postgres):
10214 Convert port number to a string. (Bug#9566)
10215
b4d72fcf
MR
102162011-09-22 Martin Rudalics <rudalics@gmx.at>
10217
10218 * window.el (quit-window): Undedicate window when switching to
10219 previous buffer. Reported by Thierry Volpiatto
10220 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10221 (special-display-popup-frame): When popping up a new frame reset
10222 its previous buffers to nil. Simplify code.
b4d72fcf 10223
a7b88dc6
MA
102242011-09-21 Michael Albinus <michael.albinus@gmx.de>
10225
10226 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10227 and process filter, as done also in `shell-command'.
10228
cf4eacfd
MR
102292011-09-21 Martin Rudalics <rudalics@gmx.at>
10230
eca3f3ea 10231 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10232 Call set-window-start with NOFORCE argument t.
10233 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10234 (quit-window): Reword doc-string. Handle new format of
10235 quit-restore parameter. Don't delete window if it has a
10236 previous buffer we can show instead of the present one.
10237 (display-buffer-record-window): Rewrite using a new format for
10238 the quit-restore window parameter
10239 (special-display-popup-frame, display-buffer-same-window)
10240 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10241 (display-buffer-pop-up-window, display-buffer-use-some-window):
10242 Adapt symbol passed to display-buffer-record-window.
10243 * help.el (help-window-setup): Handle new format of quit-restore
10244 parameter.
10245
8d28cb95
SM
102462011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10247
94ab793f
SM
10248 * faces.el (face-list): Fix docstring (bug#9564).
10249
8d28cb95
SM
10250 * window.el (display-buffer--action-function-custom-type):
10251 Don't include internal functions in the Custom interface.
10252
3820edeb
JL
102532011-09-20 Juri Linkov <juri@jurta.org>
10254
10255 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10256 (Info-forward-node, Info-backward-node, Info-next-preorder)
10257 (Info-last-preorder): Use it. (Bug#9528)
10258
5147931d
JL
102592011-09-20 Juri Linkov <juri@jurta.org>
10260
10261 * info.el (Info-last-preorder): Visit last menu item only when
10262 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10263
cf499a1a
JD
102642011-09-20 Julien Danjou <julien@danjou.info>
10265
10266 * password-cache.el (password-cache-remove): Remove entries even if the
10267 value is nil, so that password with a nil value (negative caching) is
10268 possible to invalidate.
10269
f84e2fe2
LM
102702011-09-20 Lawrence Mitchell <wence@gmx.li>
10271
10272 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10273 all whitespace around breakpoint. (Bug#9553)
10274 (f90-find-breakpoint): Only break at whitespace inside a comment.
10275
78054a46
SM
102762011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10277
10278 * minibuffer.el (completion-file-name-table): Keep track of errors.
10279 (completion-table-with-predicate): Handle the case where pred1 is nil.
10280 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10281
345083b2
SM
102822011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10283
e24e27be
SM
10284 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10285 (debugger-return-value): Signal an error if the debugging context does
10286 not await any return value.
10287
345083b2
SM
10288 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10289 * image-mode.el (image-toggle-display-text)
10290 (image-toggle-display-image): Stay away from evil `intangible'.
10291
08d355e3
LL
102922011-09-19 Leo Liu <sdl.web@gmail.com>
10293
10294 * replace.el (occur-revert-arguments): Make it permanent-local.
10295 (occur-mode): Don't call font-lock-defontify.
10296
f01da43f
CY
102972011-09-19 Chong Yidong <cyd@stupidchicken.com>
10298
10299 * net/ldap.el (ldap-search-internal): Don't push empty search
10300 result (Bug#9508).
10301
b6072fa6
SM
103022011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10303
10304 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10305
443d6696
MA
103062011-09-19 Michael Albinus <michael.albinus@gmx.de>
10307
10308 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10309 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10310
7cc6e154
JL
103112011-09-18 Juri Linkov <juri@jurta.org>
10312
10313 * buff-menu.el (Buffer-menu-mode-map):
10314 * dired.el (dired-mode-map):
10315 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10316 (lisp-interaction-mode-map):
10317 * emacs-lisp/package.el (package-menu-mode-map):
10318 * epa.el (epa-key-list-mode-map):
10319 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10320 (menu-bar-options-menu):
10321 * outline.el (outline-mode-menu-bar-map):
10322 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10323 * vc/vc-dir.el (vc-dir-menu-map):
10324 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10325 Capitalize non-function content words in menu item strings.
10326
10327 * dired.el (dired-mode-map): Add menu item for
10328 `image-dired-dired-toggle-marked-thumbs'.
10329
80302a81
JL
103302011-09-18 Juri Linkov <juri@jurta.org>
10331
10332 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10333 to `isearch-case-fold-search' and restore its original value
10334 after the `isearch-mode' call.
10335
46c5cf66
JL
103362011-09-18 Juri Linkov <juri@jurta.org>
10337
10338 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10339 because `zgrep' returns 1 for successful matches (bug#9226).
10340
d18b513b
JL
103412011-09-18 Juri Linkov <juri@jurta.org>
10342
10343 * info.el (Info-extract-menu-node-name): Check the second match
10344 for empty string (second test-case of bug#9528).
10345 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10346 intermediate nodes to the history (first test-case of bug#9528).
10347
72753f87
JL
103482011-09-18 Juri Linkov <juri@jurta.org>
10349
10350 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10351 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10352
c9384295
JL
103532011-09-18 Juri Linkov <juri@jurta.org>
10354
1154d12e
JB
10355 * info.el (Info-file-supports-index-cookies):
10356 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10357 outputs one more line for long file names (bug#4142).
c9384295 10358
d473dce8
CY
103592011-09-18 Chong Yidong <cyd@stupidchicken.com>
10360
10361 * newcomment.el (comment-normalize-vars): If prompting for
10362 comment-start, set comment-start-skip too (Bug#8424).
10363
2176854d
JB
103642011-09-18 Johan Bockgård <bojohan@gnu.org>
10365
10366 * icomplete.el: Fix previous fix of Bug#5849.
10367 (icomplete-mode): Don't set completion-show-inline-help.
10368 (icomplete-minibuffer-setup): Set completion-show-inline-help
10369 locally during icompletion.
10370
3aace4e4
CY
103712011-09-18 Chong Yidong <cyd@stupidchicken.com>
10372
c940224f
CY
10373 * woman.el (woman2-process-escapes): Don't delete unrecognized
10374 escapes (Bug#7843).
10375
3aace4e4
CY
10376 * files.el (inhibit-first-line-modes-regexps): Add image files.
10377 (hack-local-variables-prop-line): Return nil for malformed
10378 prop-lines (Bug#9044).
10379
710dec63
MA
103802011-09-18 Michael Albinus <michael.albinus@gmx.de>
10381
10382 * net/tramp.el (top): Don't require 'shell.
10383 (tramp-methods): Fix docstring.
10384 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10385 Return complete remote file name. Handle "smb" case.
10386 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10387 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10388
10389 * net/tramp-compat.el (top): Require 'shell.
10390
10391 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10392 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10393 `tramp-current-host'.
10394 (tramp-get-remote-tmpdir): Remove.
10395
10396 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10397 `tramp-tmpdir' entries.
10398 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10399 (tramp-smb-handle-file-attributes): Ignore errors.
10400 (tramp-smb-wait-for-output): Check also for process end.
10401
5d5ac8ec
LMI
104022011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10403
10404 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10405 when sending QUIT (bug#9312).
10406
8c0f49f0
CY
104072011-09-17 Chong Yidong <cyd@stupidchicken.com>
10408
10409 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10410 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10411 occur-mode-display-occurrence.
10412 (occur-edit-mode): Add usage message.
10413 (occur-cease-edit): New command.
10414 (occur-after-change-function): Use text properties to find the
10415 position of the prefix text.
10416 (occur-engine): Set stickiness of prefix text properties.
10417
8f1383f7
GM
104182011-09-17 Glenn Morris <rgm@gnu.org>
10419
10420 * progmodes/etags.el (complete-tag):
10421 Fix call to completion-in-region. (Bug#9526)
10422
744ba0e3
JL
104232011-09-17 Juri Linkov <juri@jurta.org>
10424
10425 * textmodes/ispell.el (ispell-word): Add to the error message
10426 the word, ispell program name and current dictionary (bug#9121).
10427 (ispell-tex-arg-end): Capitalize "error" in the error message.
10428
d9bbf400
AS
104292011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10430
10431 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10432 check. (Bug#4251)
10433
8da11505
JL
104342011-09-17 Juri Linkov <juri@jurta.org>
10435
10436 * window.el (window-safe-min-height, window-safe-min-width):
10437 Fix typos (followup to bug#9522).
10438
a91adc7e
SJ
104392011-09-17 Sven Joachim <svenjoac@gmx.de>
10440
10441 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10442
064f328a
EZ
104432011-09-16 Eli Zaretskii <eliz@gnu.org>
10444
10445 * simple.el (line-move): If goal-column is set, move by logical
10446 lines, not by display lines. (Bug#971)
10447 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10448 to reflect the above change.
10449
e69df516
SM
104502011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10451
10452 * image.el (imagemagick-register-types): Use regexp-opt.
10453
cbb0f9ab
CY
104542011-09-15 Chong Yidong <cyd@stupidchicken.com>
10455
10456 * window.el (display-buffer-base-action): Rename from
10457 display-buffer-default-action. Make default value empty.
10458 (display-buffer-overriding-action): Convert to defvar.
10459 (display-buffer-fallback-action): New var.
10460
25322144
CY
104612011-09-15 Chong Yidong <cyd@stupidchicken.com>
10462
10463 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10464 declaration.
10465 (package--add-to-archive-contents): If there is a duplicate entry
10466 with an older version, remove it.
10467 (package-menu-mark-delete, package-menu-mark-install)
10468 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10469 (package-menu-mark-obsolete-for-deletion):
10470 Use package-menu-get-status instead of a regexp search.
25322144
CY
10471 (package-menu-get-status): Use tabulated-list-entry.
10472 (package-menu-mark-upgrades): New command.
d770725a 10473 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10474 (package-menu-execute): Do installation before deletion.
10475 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10476 instead of checking major-mode.
10477 (package-menu--find-upgrades): New function.
10478
7520339c
LMI
104792011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10480
10481 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10482 passwords in the log buffer.
65a046c4
LMI
10483 (smtpmail-process-filter): Update the process marker so that the
10484 "broken by peer" status message is inserted in the right place.
7520339c 10485
d3c30954
SM
104862011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10487
3fe48822
SM
10488 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10489 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10490 bibtex-completion-at-point-function.
10491 (bibtex-completion-at-point-function): Use them.
10492
1b8b3954
SM
10493 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10494
d3c30954
SM
10495 * mpc.el (mpc-constraints-tag-lookup): New function.
10496 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10497 also to browser "album|playlist".
10498
72779976
JL
104992011-09-14 Juri Linkov <juri@jurta.org>
10500
10501 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10502 (isearch-edit-string): Use length of `isearch-string' when
10503 `isearch-fail-pos' returns nil.
10504 (isearch-message): Remove duplicate code and call
10505 `isearch-fail-pos' with arg `t'.
10506
a0bf2bcd
CY
105072011-09-14 Chong Yidong <cyd@stupidchicken.com>
10508
17bb0a2d
CY
10509 * replace.el (occur-mode-goto-occurrence): Don't force using other
10510 window (Bug#9499).
10511
a0bf2bcd
CY
10512 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10513
f678e0b6
MR
105142011-09-14 Martin Rudalics <rudalics@gmx.at>
10515
10516 * window.el (display-buffer-window): Remove.
10517 (display-buffer-record-window): Use help-setup window parameter
10518 instead of variable display-buffer-window.
10519 (display-buffer-function, special-display-buffer-names)
10520 (special-display-function): Mention help-setup parameter instead
10521 of display-buffer-window in doc-string.
d3c30954
SM
10522 * help.el (help-window-setup): New argument help-window.
10523 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10524 Reword some messages.
10525 (with-help-window): Pass window used for displaying the buffer
10526 to help-window-setup. Don't set display-buffer-window.
10527
8e39b2e8
GM
105282011-09-13 Glenn Morris <rgm@gnu.org>
10529
10530 * emacs-lisp/debug.el (debugger-make-xrefs):
10531 Preserve point. (Bug#9462)
10532
85e9c04b
CY
105332011-09-13 Chong Yidong <cyd@stupidchicken.com>
10534
10535 * window.el (window-deletable-p): Use next-frame.
10536
1b36ed6a
MR
105372011-09-13 Martin Rudalics <rudalics@gmx.at>
10538
10539 * window.el (window-auto-delete): Remove.
10540 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10541 dedication and previous buffers.
1b36ed6a
MR
10542 (switch-to-prev-buffer): Don't delete window.
10543 (delete-windows-on): Delete a window's frame if and only if the
10544 window is dedicated.
10545 (replace-buffer-in-windows): Delete buffer's window or frame if
10546 and only if window is dedicated.
10547 (quit-window): Handle quit-restore as before last change.
4d61f28d 10548 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10549
ef8ef9fb
CY
105502011-09-13 Chong Yidong <cyd@stupidchicken.com>
10551
10552 * window.el (window-deletable-p): Never delete the last frame on a
10553 given terminal.
10554
b2cba41e
GM
105552011-09-13 Glenn Morris <rgm@gnu.org>
10556
10557 * help.el (describe-key-briefly): Copy previous standard-output change.
10558
51553db6 105592011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10560
10561 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10562
b7556719
GM
105632011-09-13 Glenn Morris <rgm@gnu.org>
10564
10565 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10566 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10567
64b51947
CY
105682011-09-12 Chong Yidong <cyd@stupidchicken.com>
10569
10570 * dired-aux.el (dired-mark-read-string): Don't return default
10571 value on empty input (Bug#9361).
10572 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10573 Omit initial minibuffer contents.
10574 (dired-do-chmod): Signal an error on empty input.
10575 (dired-mark-read-string): Don't return default on empty input.
10576
10577 * files.el (file-modes-symbolic-to-number): Doc fix.
10578
393a301e
SM
105792011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10580
10581 * international/mule-cmds.el (ucs-completions): Remove.
10582 (read-char-by-name): Use complete-with-action instead; add metadata.
10583
fa5660f9
CY
105842011-09-11 Chong Yidong <cyd@stupidchicken.com>
10585
10586 * window.el (display-buffer--action-function-custom-type)
10587 (display-buffer--action-custom-type): New vars.
10588 (display-buffer-alist, display-buffer-default-action)
10589 (display-buffer-overriding-action): Add defcustom types.
10590
4a592f66
CY
10591 * frame.el (delete-other-frames): Doc fix (Bug#276).
10592
73d56dbd
LMI
105932011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10594
10595 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10596
37ac18a3
CY
105972011-09-11 Chong Yidong <cyd@stupidchicken.com>
10598
10599 Change modes that used same-window-* vars to use switch-to-buffer.
10600
10601 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10602 Use switch-to-buffer.
10603
10604 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10605 (customize-browse, custom-buffer-create-other-window):
10606 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10607
10608 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10609 (Info-prev, Info-up, Info-speedbar-goto-node)
10610 (info-display-manual): Use switch-to-buffer.
10611 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10612
10613 * mail/sendmail.el (mail): Use switch-to-buffer.
10614 (mail-recover): Use switch-to-buffer-other-window.
10615
10616 * cmuscheme.el (run-scheme, switch-to-scheme):
10617 * ielm.el (ielm):
10618 * shell.el (shell):
10619 * net/rlogin.el (rlogin):
10620 * net/telnet.el (telnet, rsh):
10621 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10622
10195bd6
AS
106232011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10624
10625 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10626
b322f63a
LMI
106272011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10628
39d7fed6
LMI
10629 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10630 so don't mention it (bug#9301).
ba5a81f1 10631 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10632
ee0e9f11
LMI
10633 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10634 match `x', `w32' and `ns', like the manual says (bug#9029).
10635
0b1c89c1 10636 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10637 (process-kill-buffer-query-function): Mention the buffer name in
10638 the query.
0b1c89c1 10639
77549ea8
LMI
10640 * image-mode.el (image-next-line): The line parameter is mandatory
10641 (bug#9258).
10642
803ef892
LMI
10643 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10644 which can be useful (bug#9301).
10645
12980837
LMI
10646 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10647
91054f8f
LMI
10648 * subr.el (match-string): Mention that the current buffer should
10649 be the same as the search was done in (bug#9282).
10650
b322f63a
LMI
10651 * facemenu.el: Disable the remove-* commands if the mark isn't
10652 active (bug#9162).
10653
3199b96f
CY
106542011-09-10 Chong Yidong <cyd@stupidchicken.com>
10655
10656 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10657 of display-buffer.
10658 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10659
10660 * replace.el (occur-mode-goto-occurrence)
10661 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10662 and display-buffer.
10663
10664 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10665 display-buffer.
10666
10667 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10668 special-display and same-window variables.
10669 (mail-other-window): Use switch-to-buffer-other-window.
10670 (mail-other-frame): USe switch-to-buffer-other-frame.
10671
393a301e
SM
10672 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10673 Use display-buffer-other-frame.
3199b96f
CY
10674 (gdb-display-gdb-buffer): Use pop-to-buffer.
10675
10676 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10677
10678 * progmodes/python.el: Don't set same-window-buffer-names.
10679
10680 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10681
10682 * window.el (display-buffer-alist): Add *Python*.
10683
8319e0bf
CY
106842011-09-10 Chong Yidong <cyd@stupidchicken.com>
10685
10686 * window.el (display-buffer-alist): Add entry for buffers
10687 previously handled same-window-*.
10688 (display-buffer-alist, display-buffer-default-action)
10689 (display-buffer-overriding-action): Mark as risky.
10690 (display-buffer-alist): Document action function changes.
10691 (display-buffer--same-window-action)
10692 (display-buffer--other-frame-action): New variables.
10693 (switch-to-buffer, display-buffer-other-frame): Use them.
10694 (display-buffer): Rename reuse-frame entry to reusable-frames.
10695 (display-buffer-reuse-selected-window): Function deleted.
10696 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10697 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10698 (display-buffer-special): New function.
10699 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10700 display-buffer-reuse-or-pop-window. Split off special-display
10701 part into display-buffer-special.
10702 (display-buffer-use-some-window): Don't perform any special
10703 pop-up-frames handling.
10704 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10705 (display-buffer--maybe-same-window): Rename from
0d3ff375 10706 display-buffer-maybe-same-window.
8319e0bf 10707
919a69aa
CY
10708 * info.el: Don't set same-window-regexps.
10709 (info-setup): New function.
10710 (info-other-window, info): Call it.
10711
10712 * cus-edit.el: Don't set same-window-regexps.
10713 (customize-group): New argument.
10714 (customize-group-other-window): Use it.
10715 (customize-face, customize-face-other-window): Likewise.
10716 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10717
8319e0bf
CY
10718 * net/rlogin.el:
10719 * net/telnet.el:
10720 * progmodes/gud.el: Don't set same-window-regexps.
10721
10722 * cmuscheme.el:
10723 * ielm.el:
10724 * shell.el:
10725 * mail/sendmail.el:
10726 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10727
25173000
JL
107282011-09-10 Juri Linkov <juri@jurta.org>
10729
10730 * isearch.el (isearch-edit-string): Remove obsolete mention of
10731 `C-w' (`isearch-yank-word-or-char') from docstring.
10732 (isearch-query-replace): Fix typo in docstring (bug#9466).
10733
056e44ef
JL
107342011-09-10 Juri Linkov <juri@jurta.org>
10735
10736 * paren.el (show-paren-function): Don't show escaped parens.
10737 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10738
c3760c17
EZ
107392011-09-10 Eli Zaretskii <eliz@gnu.org>
10740
10741 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10742 (mm-default-file-encoding): Remove autoload forms, they are
10743 replaced with autoload cookies in mml.el and mm-encode.el.
10744 (mail-add-attachment): New command.
10745 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10746 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10747 the doc string.
10748 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10749
fece895e
RT
107502011-09-10 Reuben Thomas <rrt@sc3d.org>
10751
e69df516
SM
10752 * simple.el (count-words-region): Use buffer if there's no region
10753 (bug#9429).
fece895e 10754
5e68ce4a
JL
107552011-09-09 Juri Linkov <juri@jurta.org>
10756
10757 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10758 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10759 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10760
0a6b9622
AM
107612011-09-09 Alan Mackenzie <acm@muc.de>
10762
10763 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10764 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10765
14a29deb
EZ
107662011-09-09 Eli Zaretskii <eliz@gnu.org>
10767
10768 Fix for Savannah bug#9392.
10769 * simple.el (mail-encode-mml): New defvar.
10770
10771 * mail/rmail.el (mail-encode-mml): Add a defvar.
10772 (rmail-enable-mime-composing): Default to t.
10773 (rmail-forward): Use MIME method of forwarding only if both
10774 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10775 Set mail-encode-mml non-nil if the MIME method was used.
10776
10777 * mail/sendmail.el (mml-to-mime): Add autoload form.
10778 (mail-encode-mml): Add a defvar.
10779 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10780 to nil.
10781 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10782 message through mml-to-mime, and reset mail-encode-mml to nil.
10783
28c45130
GM
107842011-09-09 Glenn Morris <rgm@gnu.org>
10785
10786 * woman.el (woman-if-body): When processing an .el block,
10787 do not delete the next .el block as well. (Bug#9447)
69f4b618 10788 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10789
9b1c252e
MR
107902011-09-08 Martin Rudalics <rudalics@gmx.at>
10791
10792 * window.el (window-deletable-p): Make sure window is live before
10793 invoking window-prev-buffers.
10794
567457e3
LL
107952011-09-08 Leo Liu <sdl.web@gmail.com>
10796
10797 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10798
97f05794
JL
107992011-09-08 Juri Linkov <juri@jurta.org>
10800
10801 * progmodes/compile.el (compilation-environment): Make it
10802 a defcustom (bug#8340).
10803
8b0874b5
MR
108042011-09-08 Martin Rudalics <rudalics@gmx.at>
10805
10806 * window.el (frame-auto-delete): Rename to window-auto-delete.
10807 Make it control auto-deletion of windows and/or frames.
10808 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10809 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10810 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10811 Rewrite handling of case when window/frame can be deleted.
10812 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10813 argument t. (Bug#9456)
8b0874b5 10814
4feb6e73
CY
108152011-09-07 Chong Yidong <cyd@stupidchicken.com>
10816
10817 * help-mode.el (help-mode): Restore autoload.
10818
91ab9c13
JL
108192011-09-07 Juri Linkov <juri@jurta.org>
10820
10821 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10822 `compilation-environment'. Set buffer-local
10823 `compilation-environment' to `thisenv' later after (funcall mode).
10824 (Bug#8340)
10825
10826 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10827 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10828 instead of replacing its value. (Bug#8340)
10829
0527e251
JL
108302011-09-07 Juri Linkov <juri@jurta.org>
10831
10832 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10833 based on text properties put by `grep-filter' instead of matching
10834 escape sequences.
10835 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10836 to the value of `grep-error-screen-columns' (bug#9438).
10837
249f792c
JL
108382011-09-07 Juri Linkov <juri@jurta.org>
10839
10840 * simple.el (next-error-highlight, next-error-highlight-no-select):
10841 Doc fix (bug#9432).
10842
ff7271b9
OT
108432011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10844
10845 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10846 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10847
183fc730
LL
108482011-09-07 Leo Liu <sdl.web@gmail.com>
10849
10850 * net/rcirc.el (rcirc-mode): Conditionally initialize
10851 rcirc-input-ring.
10852
77694924
SM
108532011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10854
10855 * emacs-lisp/find-func.el (find-function-C-source): Only set
10856 find-function-C-source-directory after checking that we found a source
10857 file there (bug#9440).
10858
d809b8eb
AM
108592011-09-06 Alan Mackenzie <acm@muc.de>
10860
10861 * isearch.el (isearch-other-meta-char): Wherever a key list is
10862 unread, "unread" the prefix arg, too. This fixes bug #8901.
10863
453de99f
OG
108642011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10865
10866 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10867
90439906
JL
108682011-09-05 Juri Linkov <juri@jurta.org>
10869
10870 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10871
f62bd846
JL
108722011-09-05 Juri Linkov <juri@jurta.org>
10873
10874 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10875 keeping point where processing of grep matches begins, and
10876 continue to delete remaining escape sequences from the same point.
10877 (grep-filter): Make leading zero optional in "0?1;31m" because
10878 git-grep emits "\033[1;31m" escape sequences unlike expected
10879 "\033[01;31m" as GNU Grep does (bug#9408).
10880 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10881
045820ec
JL
108822011-09-05 Juri Linkov <juri@jurta.org>
10883
10884 * subr.el (y-or-n-p): Capitalize "yes".
10885
f5e29b9b
MA
108862011-09-04 Michael Albinus <michael.albinus@gmx.de>
10887
10888 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10889 `tramp-cache-unload-hook' where appropriate.
10890 (tramp-methods): Rename `tramp-remote-sh' to
10891 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10892 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10893
10894 * net/tramp-sh.el (top): Don't require 'shell.
10895 (tramp-methods): Add `tramp-remote-shell' and
10896 `tramp-remote-shell-args' entries.
10897 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10898 (tramp-sh-handle-shell-command): Remove.
10899 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10900 Use `tramp-remote-shell'.
10901
2784c434
CY
109022011-09-03 Chong Yidong <cyd@stupidchicken.com>
10903
393a301e 10904 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10905 (sendmail-query-once): Save directly to send-mail-function.
10906 Update message-send-mail-function too.
10907
10908 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10909
464cdf56
CS
109102011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10911
10912 * progmodes/python.el (python-mode-map): Use correct function to
10913 start python interpreter from menu-bar (as reported by Geert
10914 Kloosterman).
10915 (inferior-python-mode-map): Fix typo.
393a301e 10916 (python-shell-map): Remove.
464cdf56 10917
d37e5c87
DD
109182011-09-03 Deniz Dogan <deniz@dogan.se>
10919
10920 * net/rcirc.el (rcirc-print): Simplify code for
10921 rcirc-scroll-show-maximum-output. There is no need to walk
10922 through all windows to find the right one.
10923
f3ada0ee
CS
109242011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10925
10926 * help.el (help-return-method): Doc fix.
10927
1f3c99ca
MR
109282011-09-03 Martin Rudalics <rudalics@gmx.at>
10929
10930 * window.el (window-deletable-p): Don't return a non-nil value
10931 when there's a buffer that was shown in the window before.
10932 (Bug#9419)
393a301e
SM
10933 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10934 Set window's previous buffers to nil.
1f3c99ca 10935
a3cf097f
EZ
109362011-09-03 Eli Zaretskii <eliz@gnu.org>
10937
10938 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10939 newline before and after the tag line, so it doesn't interfere
10940 with determining the paragraph direction of bidirectional text.
10941
3d03de90
LL
109422011-09-03 Leo Liu <sdl.web@gmail.com>
10943
10944 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10945
c3313451
CY
109462011-09-02 Chong Yidong <cyd@stupidchicken.com>
10947
393a301e 10948 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10949 (pop-to-buffer): Change interactive spec. Pass second argument
10950 directly to display-buffer.
10951 (display-buffer): Fix interactive spec. Use functionp to
10952 distinguish between a function and a list of functions.
10953
10954 * abbrev.el (edit-abbrevs):
10955 * arc-mode.el (archive-extract):
10956 * autoinsert.el (auto-insert):
10957 * bookmark.el (bookmark-bmenu-list):
10958 * files.el (find-file):
10959 * view.el (view-buffer):
10960 * progmodes/compile.el (compilation-goto-locus):
10961 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10962
89894cd8
CY
109632011-09-02 Chong Yidong <cyd@stupidchicken.com>
10964
10965 * window.el (display-buffer-alist): Doc fix.
10966 (display-buffer): Add docstring. Don't treat
10967 display-buffer-default specially.
10968 (display-buffer-reuse-selected-window)
10969 (display-buffer-same-window, display-buffer-maybe-same-window)
10970 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10971 (display-buffer-pop-up-window)
10972 (display-buffer-reuse-or-pop-window)
10973 (display-buffer-use-some-window): New functions.
10974 (display-buffer-default-action): Use them.
393a301e 10975 (display-buffer-default): Delete.
89894cd8
CY
10976 (pop-to-buffer-1): Fix choice of actions.
10977
ae0bc9fb
SM
109782011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10979
10980 * minibuffer.el (completion--insert-strings): Don't get confused by
10981 completion entries that end with an LF char.
10982
e9d90883
EZ
109832011-09-01 Eli Zaretskii <eliz@gnu.org>
10984
10985 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10986
437014c8
CY
109872011-09-01 Chong Yidong <cyd@stupidchicken.com>
10988
10989 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10990 (display-buffer-same-window, display-buffer-other-window):
10991 New functions.
437014c8
CY
10992 (pop-to-buffer-1): New function. Use the above.
10993 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10994 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10995
10996 * view.el (view-buffer-other-window, view-buffer-other-frame):
10997 Just use pop-to-buffer.
10998
a5e063d5
TV
109992011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
11000
11001 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
11002
793d32bb
WH
110032011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
11004
11005 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
11006
d65e4c15
RS
110072011-08-31 Richard Stallman <rms@gnu.org>
11008
11009 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
11010 of the separation of rmail-view-buffer from rmail-buffer.
11011 If you say no to "replace original", the decrypt is in the
11012 view buffer. If you say yes, the decrypt goes into the
11013 rmail buffer also.
11014
f818cd2a
MR
110152011-08-31 Martin Rudalics <rudalics@gmx.at>
11016
11017 * window.el (display-buffer-window): Rewrite doc-string.
11018 (display-buffer-record-window): New function.
11019 (display-buffer-macro-specifiers)
11020 (display-buffer-even-window-sizes, display-buffer-set-height)
11021 (display-buffer-set-width, display-buffer-in-window)
11022 (display-buffer-reuse-window, display-buffer-split-specifiers)
11023 (display-buffer-side-specifiers, display-buffer-split-window-1)
11024 (display-buffer-split-window, display-buffer-split-atom-window)
11025 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11026 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
11027 (display-buffer-other-window-means-other-frame)
11028 (display-buffer-normalize-special)
11029 (display-buffer-normalize-default)
11030 (display-buffer-normalize-argument)
11031 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
11032 (display-buffer-normalize-specifiers, display-buffer-frame)
11033 (display-buffer-same-window, display-buffer-same-frame)
11034 (display-buffer-other-window)
11035 (display-buffer-same-frame-other-window)
11036 (display-buffer-other-frame, pop-to-buffer-same-window)
11037 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
11038 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
11039 (switch-to-buffer-same-frame)
11040 (switch-to-buffer-other-window-same-frame)
11041 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
11042 (display-buffer-alist-set-1, display-buffer-alist-set-2)
11043 (display-buffer-alist-set): Remove.
11044 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
11045 (special-display-regexps, special-display-function):
11046 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
11047 parameter.
11048 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
11049 (special-display-frame-alist, special-display-popup-frame)
11050 (same-window-buffer-names, same-window-regexps, same-window-p)
11051 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11052 (split-window-preferred-function, split-height-threshold)
11053 (split-width-threshold, window-splittable-p)
11054 (split-window-sensibly, window--try-to-split-window)
11055 (window--frame-usable-p, even-window-heights)
11056 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11057 (window--display-buffer-2, display-buffer-other-frame):
11058 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11059 (display-buffer-default, display-buffer-assq-regexp): New functions.
11060 (display-buffer-alist): Rewrite doc-string.
11061 (display-buffer-default-action)
11062 (display-buffer-overriding-action): New variables.
11063 (display-buffer, switch-to-buffer): Rewrite.
11064 (pop-to-buffer): Restore Emacs 23 behavior but use
11065 window-normalize-buffer-to-display.
11066 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11067 Restore Emacs 23 behavior but use
11068 window-normalize-buffer-to-switch-to.
11069 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11070 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11071 Rewrite using Emacs 23 options.
f818cd2a 11072
5bc3b51d
MA
110732011-08-31 Michael Albinus <michael.albinus@gmx.de>
11074
11075 * net/tramp.el (tramp-root-regexp): Remove.
11076 (tramp-completion-file-name-regexp-unified)
11077 (tramp-completion-file-name-regexp-separate)
11078 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11079 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11080 (tramp-drop-volume-letter): Simplify definition.
11081 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11082
b1a4f8e1
SM
110832011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11084
11085 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11086 (bug#9356).
11087
5664fa7b
RT
110882011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11089
b1a4f8e1 11090 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11091
9a45d6c3
JL
110922011-08-29 Juri Linkov <juri@jurta.org>
11093
11094 * isearch.el (isearch-done): Don't display message "Mark saved"
11095 when arg `edit' is non-nil to prevent its flicker in the echo area.
11096
fb87e0fb
CY
110972011-08-28 Chong Yidong <cyd@stupidchicken.com>
11098
11099 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11100 obsolete packages for deletion.
11101
09ac1c2a
CS
111022011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11103
11104 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11105 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11106 view-mode from help-mode.
11107 (help-xref-override-view-map): Remove.
11108 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11109 view-mode is not used anymore.
11110
7a1ff57f
CY
111112011-08-28 Chong Yidong <cyd@stupidchicken.com>
11112
11113 * server.el (server-port): Doc fix.
11114
b9696605
CY
11115 * cus-theme.el (custom-theme-choose-mode): Inherit from
11116 special-mode (Bug#9124).
11117 (custom-theme-choose-mode-map): Add special-mode to parent.
11118
ef8cdf8c
AM
111192011-08-28 Alan Mackenzie <acm@muc.de>
11120
11121 * progmodes/cc-fonts.el
11122 (c-make-font-lock-BO-decl-search-function): New function.
11123 (c-basic-matchers-after - "Fontify the clauses after various
11124 keywords"): Extract the three keyword lists for the 3 erroneous
11125 constructs from the list of four, and use the new function above
11126 in place of an old one.
11127
27de4e20
DD
111282011-08-28 Deniz Dogan <deniz@dogan.se>
11129
11130 * net/rcirc.el (rcirc-insert-prev-input)
11131 (rcirc-insert-next-input): Remove unused argument.
11132
356a3681
SM
111332011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11134
11135 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11136
3fc9b218
AM
111372011-08-27 Alan Mackenzie <acm@muc.de>
11138
11139 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11140 handle function pointer parameters properly.
11141
538a061c
MR
111422011-08-27 Martin Rudalics <rudalics@gmx.at>
11143
11144 * window.el (display-buffer-reuse-window): Fix case where
11145 selected window was reused with non-nil OTHER-WINDOW argument.
11146 (Bug#9381)
11147
35b1c40c
DD
111482011-08-27 Deniz Dogan <deniz@dogan.se>
11149
11150 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11151 oftc's NickServ messages.
11152
2f6a3e79
GM
111532011-08-27 Glenn Morris <rgm@gnu.org>
11154
11155 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11156
7254299e
CY
111572011-08-26 Chong Yidong <cyd@stupidchicken.com>
11158
11159 * emacs-lisp/package.el (package-install): Call package-initialize
11160 if called interactively.
11161
f8ccf167
LL
111622011-08-26 Leo Liu <sdl.web@gmail.com>
11163
11164 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11165
3e8cd5ce
JL
111662011-08-25 Juri Linkov <juri@jurta.org>
11167
11168 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11169 `search-whitespace-regexp' (bug#9364).
11170
93eb7113
JL
111712011-08-25 Juri Linkov <juri@jurta.org>
11172
11173 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11174 `regexp-search-ring' to their global values to protect from
11175 updating by `read-from-minibuffer' (bug#9185).
11176
f65d1611
JL
111772011-08-25 Juri Linkov <juri@jurta.org>
11178
11179 * textmodes/ispell.el (ispell-command-loop): Add newline
11180 at the end of the "Use option `i'..." line.
11181
f1cf7a31
JL
111822011-08-25 Juri Linkov <juri@jurta.org>
11183
11184 * battery.el (display-battery-mode): If `battery-status-function'
11185 or `battery-mode-line-format' is nil, display the message and set
11186 `display-battery-mode' to nil (bug#9363).
11187
0c95fcf7
EZ
111882011-08-25 Eli Zaretskii <eliz@gnu.org>
11189
11190 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11191 bidi-string-mark-left-to-right; they are unnecessary now.
11192
a2ebe600
DD
111932011-08-25 Deniz Dogan <deniz@dogan.se>
11194
11195 * net/quickurl.el: Documentation typo fixes.
11196
e4ed06f1
CY
111972011-08-25 Chong Yidong <cyd@stupidchicken.com>
11198
11199 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11200
e5f1c99e
GM
112012011-08-25 Glenn Morris <rgm@gnu.org>
11202
b2948976
GM
11203 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11204
e5f1c99e
GM
11205 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11206 (smtpmail-via-smtp): Handle nil response from smtp.
11207
f22f4808
JL
112082011-08-24 Juri Linkov <juri@jurta.org>
11209
11210 * proced.el (proced-marked): Inherit from `error' instead of
11211 `font-lock-warning-face'.
11212
11213 * ibuffer.el (ibuffer-marked-face): Change default face from
11214 `font-lock-warning-face' to `warning'.
11215 (ibuffer-deletion-face): Change default face from
11216 `font-lock-type-face' to `error'.
11217
11218 * battery.el (battery-update): Use the face `error' instead of
11219 `font-lock-warning-face' (bug#6117).
11220
6a93965e
JL
112212011-08-24 Juri Linkov <juri@jurta.org>
11222
11223 * faces.el (success): Change face color from "Green3" to
11224 "ForestGreen" on light background (bug#9353).
11225
1ed43b09
CY
112262011-08-24 Chong Yidong <cyd@stupidchicken.com>
11227
5664fa7b
RT
11228 * window.el (quit-window): Rename from quit-restore-window.
11229 Use same arglist as old quit-window.
1ed43b09
CY
11230 (frame-auto-delete): Doc fix.
11231
11232 * view.el (view-mode-exit): Use quit-window.
11233
11dcdbb2
JL
112342011-08-24 Juri Linkov <juri@jurta.org>
11235
11236 * isearch.el (isearch-ring-adjust1): Start visiting previous
11237 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11238 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11239 for empty search string (when the last search string is reused
11240 automatically) to adjust the isearch ring to the last element and
11241 prepare the correct index for further M-p commands (bug#9185).
11242
de62b4df
KH
112432011-08-24 Kenichi Handa <handa@m17n.org>
11244
11245 * international/ucs-normalize.el: If decomposition property of
11246 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11247 nil.
11248 (nfd, nfkd): Likewise.
11249
963b492b
SM
112502011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11251
11252 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11253 from process filters aren't reliably transmitted to the surrounding
11254 accept-process-output.
11255 (mpc-proc-check): New function.
11256 (mpc-proc-sync): Use it (bug#8293)
11257
93b6b5e1
SM
112582011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11259
11260 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11261 Add compatibility functions (bug#9313).
11262
bca633fb
EZ
112632011-08-23 Eli Zaretskii <eliz@gnu.org>
11264
b177498a
EZ
11265 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11266
6df6ae42 11267 * international/uni-bidi.el: Regenerate.
bca633fb 11268
0902a04e
KH
112692011-08-23 Kenichi Handa <handa@m17n.org>
11270
11271 * international/charprop.el:
11272 * international/uni-bidi.el:
11273 * international/uni-category.el:
11274 * international/uni-combining.el:
11275 * international/uni-comment.el:
11276 * international/uni-decimal.el:
11277 * international/uni-decomposition.el:
11278 * international/uni-digit.el:
11279 * international/uni-lowercase.el:
11280 * international/uni-mirrored.el:
11281 * international/uni-name.el:
11282 * international/uni-numeric.el:
11283 * international/uni-old-name.el:
11284 * international/uni-titlecase.el:
11285 * international/uni-uppercase.el: Regenerate.
11286
3bbf23bc
MR
112872011-08-23 Martin Rudalics <rudalics@gmx.at>
11288
11289 * help.el (help-window-setup): Fix message displayed when other
11290 window is reused. (Bug#9341)
11291
b3fd59bd
SM
112922011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11293
1802e444
SM
11294 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11295 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11296
b3fd59bd
SM
11297 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11298 Mark obsolete.
11299 * shell.el (shell-parse-pcomplete-arguments): New function.
11300 (shell-completion-vars): Use it instead (bug#9160).
11301
4eb61348
SM
113022011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11303
867cab74
SM
11304 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11305 strings and comments (bug#9333).
11306
4eb61348
SM
11307 * emacs-lisp/debug.el (debug-arglist): New function.
11308 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11309 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11310
262a1439
JL
113112011-08-22 Juri Linkov <juri@jurta.org>
11312
56ee679c
JL
11313 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11314 Revert regexp that highlights output switches to its old
11315 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11316
262a1439
JL
11317 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11318 to check for empty output (bug#9226).
11319
f13f86fb
CY
113202011-08-22 Chong Yidong <cyd@stupidchicken.com>
11321
11322 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11323 symbol-constituent as the default, as that stops font-lock from
11324 working properly (Bug#8843).
11325
c65c9622
LMI
113262011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11327
11328 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11329 `coding-system-for-*' around the process open call to avoid
11330 auth-source side effects.
e7f2c178 11331 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11332 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11333 probe hangs.
c65c9622 11334
23a8a5ab
CY
113352011-08-21 Chong Yidong <cyd@stupidchicken.com>
11336
ff98b2dd
CY
11337 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11338
23a8a5ab
CY
11339 * emacs-lisp/find-func.el (find-function-noselect): New arg
11340 lisp-only.
11341
11342 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11343 signal an error for built-in functions (Bug#6664).
11344
f5e3c598
LMI
113452011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11346
11347 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11348 (smtpmail-try-auth-methods): Use it.
11349
a3f2468a
CY
113502011-08-21 Chong Yidong <cyd@stupidchicken.com>
11351
2c34e8da
CY
11352 * font-lock.el (font-lock-fontify-region)
11353 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11354 (font-lock-default-unfontify-buffer)
11355 (font-lock-default-fontify-region)
11356 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11357
b3fd59bd
SM
11358 * progmodes/compile.el (compilation-error-properties):
11359 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11360 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11361 `ant' regexp.
ee31aabc 11362
a3f2468a
CY
11363 * net/browse-url.el (browse-url-firefox): Don't call
11364 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11365
8e999f70
GM
113662011-08-20 Glenn Morris <rgm@gnu.org>
11367
c21a496a
GM
11368 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11369
59ee0542
GM
11370 * tutorial.el (tutorial--default-keys): Update some default bindings.
11371
8e999f70
GM
11372 * files.el (hack-local-variables): Fully ignore case for "mode:".
11373
e3715033
AM
113742011-08-20 Alan Mackenzie <acm@muc.de>
11375
11376 Resolve invalid use of a regexp in regexp-opt.
11377
4d61f28d
JB
11378 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11379 detection for a java annotation.
e3715033 11380
4d61f28d 11381 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11382 detection for a java annotation.
11383
4d61f28d
JB
11384 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11385 handling for java.
e3715033
AM
11386 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11387
04ed2e9c
CY
113882011-08-20 Chong Yidong <cyd@stupidchicken.com>
11389
11390 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11391 (Bug#9274).
11392
826cee64
AM
113932011-08-20 Alan Mackenzie <acm@muc.de>
11394
58179cce 11395 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11396 such a construct. Mainly for when jit-lock etc. starts a chunk
11397 here.
11398
58179cce 11399 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11400 variable.
58179cce 11401 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11402 c-make-font-lock-search-function.
11403 (c-make-font-lock-search-function): Use the above function.
11404 (c-make-font-lock-context-search-function): New function.
11405 (c-cpp-matchers): Enhance the preprocessor expression case with
11406 the above function
11407 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11408 which takes an expression.
11409
11410 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11411
13009bd8
MR
114122011-08-20 Martin Rudalics <rudalics@gmx.at>
11413
11414 * window.el (display-buffer-reuse-window)
11415 (display-buffer-pop-up-window): Don't reuse or split a side
11416 window.
11417
9234ff7f
GM
114182011-08-19 Glenn Morris <rgm@gnu.org>
11419
11420 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11421 Downcase "Mode:". (Bug#9331)
9234ff7f 11422
f635daa1
CY
114232011-08-18 Chong Yidong <cyd@stupidchicken.com>
11424
11425 * international/characters.el: Add L and R categories.
11426
11427 * subr.el (bidi-string-mark-left-to-right): Rename from
11428 string-mark-left-to-right. Use category search.
11429
11430 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11431
bc987f8b
JL
114322011-08-18 Juri Linkov <juri@jurta.org>
11433
11434 * faces.el (error, warning, success): New faces with definitions
11435 copied from old default values of `font-lock-warning-face',
11436 `compilation-warning', `compilation-info' (bug#6117).
11437
11438 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11439
11440 * progmodes/compile.el (compilation-error): Inherit from `error'.
11441 (compilation-warning): Inherit from `warning'.
11442 (compilation-info): Inherit from `success'.
11443
11444 * dired.el (dired-marked): Inherit from `warning'.
11445 (dired-flagged): Inherit from `error'.
11446
57173b96
LMI
114472011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11448
3e79eb87
LMI
11449 * mail/smtpmail.el (auth-source): Require to avoid problems with
11450 binding variables (bug#9298). Also clean up some unused
11451 autoloads.
11452
b3fd59bd
SM
11453 * net/network-stream.el (network-stream-open-starttls):
11454 Support using starttls.el without using gnutls-cli.
57173b96 11455
02b404de
JL
114562011-08-17 Juri Linkov <juri@jurta.org>
11457
11458 * progmodes/grep.el (rgrep): Handle the case when
11459 `grep-find-command' is a cons cell (bug#9278).
11460
8c9177f2
MR
114612011-08-17 Martin Rudalics <rudalics@gmx.at>
11462
11463 * window.el (display-buffer-pop-up-frame): Run frame creation
11464 function with BUFFER current (as special-display-popup-frame
11465 does). Reported by Drew Adams.
11466
3644a0ab
DU
114672011-08-17 Daiki Ueno <ueno@unixuser.org>
11468
11469 * epa-mail.el: Simplify GnuPG group expansion using
11470 epg-expand-group.
11471 (epa-mail-group-alist, epa-mail-group-modtime)
11472 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11473 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11474 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11475 Remove.
11476
5e617bc2 114772011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11478
11479 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11480
9c4aeabf
AM
114812011-08-16 Alan Mackenzie <acm@muc.de>
11482
11483 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11484 Correct, to avoid the inside of macros.
11485
3a99bf64
RS
114862011-08-16 Richard Stallman <rms@gnu.org>
11487
04963aa8
RS
11488 * epa-mail.el: Handle GnuPG group definitions.
11489 (epa-mail-group-alist, epa-mail-group-modtime)
11490 (epa-mail-gnupg-conf-file): New variables.
11491 (epa-mail-parse-groups, epa-mail-sync-groups)
11492 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11493 (epa-mail-expand-recipients): New functions.
11494 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11495
177549d0
RS
11496 * mail/rmail.el (rmail-epa-decrypt): New command.
11497
fe38beef
RS
11498 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11499 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11500 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11501 (epa-decrypt-armor-in-region): Make error message clearer.
11502
934eacb9
SM
115032011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11504
11505 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11506 and "a2b" to "ab" for `prefix'.
11507
d024fb4e
CY
115082011-08-14 Chong Yidong <cyd@stupidchicken.com>
11509
11510 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11511 filter groups.
de148fee
CY
11512 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11513 Fourquet (Bug#8804).
d024fb4e 11514
62f1ca49
JB
115152011-08-12 Juanma Barranquero <lekktu@gmail.com>
11516
11517 * startup.el (argi): Declare as global variable (bug#9275).
11518
9ccaaa4b
CY
115192011-08-12 Chong Yidong <cyd@stupidchicken.com>
11520
11521 * subr.el (string-mark-left-to-right): Search the entire string
11522 for RTL script, not just the terminating character. Doc fix.
11523
a3dae87a
SM
115242011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11525
6cd18349
SM
11526 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11527 New function.
11528 (js--regexp-literal, js-syntax-propertize-function): Remove.
11529 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11530 (js-mode-map): Don't rebind electric keys.
11531 (js-insert-and-indent): Remove.
11532 (js-mode): Setup electric-layout and electric-indent instead.
11533
a3dae87a
SM
11534 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11535
9d5cb631
DU
115362011-08-12 Daiki Ueno <ueno@unixuser.org>
11537
11538 * epa.el (epa-progress-callback-function): Fix the logic of
11539 displaying progress.
11540 * epa-file.el (epa-file-insert-file-contents): Make progress
11541 display more user-friendly.
11542 (epa-file-write-region): Ditto.
11543
3e26a4a2
CY
115442011-08-10 Chong Yidong <cyd@stupidchicken.com>
11545
11546 * subr.el (string-mark-left-to-right): New function.
11547
11548 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11549 Use string-mark-left-to-right.
11550 (list-buffers-noselect): Caller changed.
11551
a3dae87a
SM
11552 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11553 Use string-mark-left-to-right.
3e26a4a2
CY
11554 (tabulated-list-print): Recenter after moving point.
11555
ac8cf6e6
JL
115562011-08-10 Juri Linkov <juri@jurta.org>
11557
11558 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11559 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11560 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11561
8d96c9a4
CY
115622011-08-09 Chong Yidong <cyd@stupidchicken.com>
11563
11564 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11565 (Bug#7554).
11566
7be1c708 115672011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11568
11569 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11570 character. (Bug#6594)
11571
37e11a63
CY
115722011-08-08 Chong Yidong <cyd@stupidchicken.com>
11573
839dde57
CY
11574 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11575 (image-dired--with-db-file): New macro.
11576 (image-dired-write-tags, image-dired-remove-tag)
11577 (image-dired-create-gallery-lists, image-dired-write-comments)
11578 (image-dired-get-comment, image-dired-mark-tagged-files)
11579 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11580 (image-dired-gallery-generate): Use insert-file-contents.
11581
37e11a63
CY
11582 * time.el (display-time-world-list, display-time-world-display):
11583 * time-stamp.el (time-stamp-string):
11584 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11585 set-time-zone-rule (Bug#7337).
11586
0b4946c4
DU
115872011-08-08 Daiki Ueno <ueno@unixuser.org>
11588
11589 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11590 (epg-error-to-string, epg-errors-to-string): New function.
11591 (epg-wait-for-completion): Reverse errors list.
11592 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11593 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11594 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11595 (epg-sign-keys, epg-generate-key-from-file)
11596 (epg-generate-key-from-string): Format errors by using
11597 epg-errors-to-string (bug#9255).
11598 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11599
75bfc667
JL
116002011-08-07 Juri Linkov <juri@jurta.org>
11601
11602 * faces.el (list-faces-display): Remove extra angle bracket
11603 from `help-mode-map'.
11604
11605 * info.el (Info-history-toc-nodes): Doc fix.
11606
11607 * longlines.el (longlines-mode): Doc fix.
11608
673e08bb
SM
116092011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11610
4640dd88
SM
11611 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11612 of statements and in a few more cases (bug#9183).
11613
673e08bb
SM
11614 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11615 New functions.
11616 (cl-transform-lambda): Use them (bug#9239).
11617
89b3f019
MR
116182011-08-05 Martin Rudalics <rudalics@gmx.at>
11619
11620 * window.el (display-buffer-same-window)
11621 (display-buffer-same-frame, display-buffer-other-window)
11622 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11623 (pop-to-buffer-other-window)
11624 (pop-to-buffer-same-frame-other-window)
11625 (pop-to-buffer-other-frame): Make them defuns.
11626 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11627
640c8776
SM
116282011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11629
11630 * subr.el (make-composed-keymap): Move from C. Change calling
11631 convention, and improve docstring to bring attention to a subtle point.
11632 * minibuffer.el (completing-read-default): Adjust accordingly.
11633
63648a95
MA
116342011-08-03 Michael Albinus <michael.albinus@gmx.de>
11635
11636 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11637 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11638
11639 * net/trampver.el: Update release number.
11640
b796c9b7
SM
116412011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11642
11643 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11644 "in" (bug#9190).
11645
2239d7d5
LMI
116462011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11647
e07dd7c3
LMI
11648 * mail/sendmail.el (sendmail-query-once): Restore the current
11649 buffer after querying (bug#9074).
11650
0e6a2bd7
LMI
11651 * dired.el (dired-flagged): Use different faces for marked and
11652 flagged files (bug#6117).
11653
ce887515
LMI
11654 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11655 (bug#4433).
11656
92f2affc
LMI
11657 * ido.el (ido-mode): Switch off the message if called
11658 non-interactively.
11659
57d5aff0
LMI
11660 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11661 before 587, since it appears that that's more likely to work for
11662 more people.
11663
98cd6c18 11664 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11665 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11666 exist.
11667
b96dec83
LMI
11668 * info.el: Remove the `Info-beginning-of-buffer' function
11669 (bug#8325).
11670
b796c9b7
SM
11671 * net/network-stream.el (network-stream-open-starttls):
11672 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11673
d90e2ea0
MR
116742011-08-01 Martin Rudalics <rudalics@gmx.at>
11675
11676 * window.el (display-buffer-in-window): Don't set dedicated status
11677 of window here (Bug#9215).
11678 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11679 (display-buffer-pop-up-side-window)
b796c9b7 11680 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11681
cca09170
SM
116822011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11683
11684 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11685 before binding generated-autoload-file.
11686
027b979c
DD
116872011-08-01 Deniz Dogan <deniz@dogan.se>
11688
11689 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11690
3c7ee4f3
MA
116912011-07-30 Michael Albinus <michael.albinus@gmx.de>
11692
11693 Sync with Tramp 2.2.2.
11694
11695 * net/trampver.el: Update release number.
11696
2cc8e51a
JL
116972011-07-30 Juri Linkov <juri@jurta.org>
11698
11699 * dired-aux.el (dired-touch-initial): Remove function.
11700 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11701 current time, and `default' to the last modification time of the
11702 current marked file (bug#6887).
11703
a514d856
JM
117042011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11705
11706 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11707 numeric argument to read-number (bug#9163).
a514d856 11708
8a7eddd7
MA
117092011-07-27 Michael Albinus <michael.albinus@gmx.de>
11710
11711 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11712 connection process, it could be nil.
11713
1ddd96f5
LL
117142011-07-27 Leo Liu <sdl.web@gmail.com>
11715
11716 Simplify url handling in rcirc-mode.
11717
11718 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11719 (rcirc-browse-url-at-mouse): Remove.
11720 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11721
b248a85d
AM
117222011-07-26 Alan Mackenzie <acm@muc.de>
11723
11724 Fontify bitfield declarations properly.
11725
11726 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11727 (c-symbol-chars): Now exported as a lang variable.
11728 (c-not-primitive-type-keywords): New lang variable.
11729
11730 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11731 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11732 parsed as a bitfield declaration.
b248a85d 11733
b796c9b7
SM
11734 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11735 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11736 (c-punctuation-in): New function.
11737 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11738 declarations properly.
11739
68575ab0
UJ
117402011-07-26 Ulf Jasper <ulf.jasper@web.de>
11741
11742 * calendar/icalendar.el (icalendar--all-events): Take care of
11743 multiple vcalendars in a single file.
b796c9b7 11744 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11745
0f0a88b9
DD
117462011-07-25 Deniz Dogan <deniz@dogan.se>
11747
11748 * image.el (insert-image): Clarifying docstring.
11749
0b3f36df
MA
117502011-07-24 Michael Albinus <michael.albinus@gmx.de>
11751
11752 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11753 `tramp-send-command-and-check' if there is no error.
11754 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11755
a9901f61
AM
117562011-07-22 Alan Mackenzie <acm@muc.de>
11757
11758 Prevent cc-langs.elc being loaded at run time.
11759
11760 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11761 cc-langs.
11762
4d61f28d 11763 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11764 "(require 'cc-langs)". Quote a form so it will evaluate at
11765 (cc-mode's) compilation time.
11766
11d074b2
MA
117672011-07-22 Michael Albinus <michael.albinus@gmx.de>
11768
11769 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11770 loading. (Bug#9114)
11771
938b94c8
MR
117722011-07-21 Martin Rudalics <rudalics@gmx.at>
11773
11774 * window.el (display-buffer-pop-up-window)
11775 (display-buffer-pop-up-side-window)
11776 (display-buffer-in-side-window): Call display-buffer-set-height
11777 and display-buffer-set-width after setting the new window's
b796c9b7 11778 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11779
bfa4f190
SS
117802011-07-20 Sam Steingold <sds@gnu.org>
11781
11782 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11783 (etags-tags-included-tables): Call `convert-standard-filename' on
11784 the file names contained in TAGS so that windows Emacs can handle
11785 TAGS files created by cygwin ctags.
11786
8ca42262
LMI
117872011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11788
11789 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11790 which apparently didn't work.
11791
5db2afd2 117922011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11793
5db2afd2
RW
11794 * proced.el (proced-send-signal): For *Marked Processes* buffer
11795 put point at beginning of buffer.
11796
92e15d10
SB
117972011-07-19 Stephen Berman <stephen.berman@gmx.net>
11798
11799 * proced.el (proced-format): Make header lines align with the text
11800 (bug#1779).
11801
1bfd59e5
LMI
118022011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11803
11804 * view.el (view-buffer): Allow running in `special' modes if we're
11805 visiting a file (bug#8615).
11806
f5aae37c
MR
118072011-07-19 Martin Rudalics <rudalics@gmx.at>
11808
11809 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11810 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11811 New functions.
f5aae37c
MR
11812 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11813 more accurately.
11814
bf2c1571
AM
118152011-07-18 Alan Mackenzie <acm@muc.de>
11816
11817 Fontify declarators properly when, e.g., a jit-lock chunk begins
11818 inside a declaration.
11819
11820 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11821
b796c9b7
SM
11822 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11823 New function.
bf2c1571
AM
11824 (c-complex-decl-matchers): Insert reference to
11825 c-font-lock-enclosing-decls.
11826
11827 * progmodes/cc-engine.el (c-backward-single-comment):
11828 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11829 to nil around calls to (forward-comment -1).
11830
4e190b80
LMI
118312011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11832
12dc863d
LMI
11833 * image.el (put-image): Doc typo fix.
11834
a762e966
LMI
11835 * progmodes/etags.el (tags-search): Doc typo fix.
11836
4e190b80
LMI
11837 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11838 password if we get errors 550 to 554.
11839
f019fb21
LMI
118402011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11841
b796c9b7 11842 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11843
81746738
LMI
11844 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11845 indentation character (bug#6380).
11846
3ee3a1b5
LMI
11847 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11848
c82f64de
LMI
11849 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11850 to clarify what the problem is (bug#4291).
11851
f019fb21
LMI
11852 * simple.el (current-kill): Clarify what
11853 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11854 (auto-fill-mode): Document `auto-fill-function' in relation to
11855 `auto-fill-mode' (bug#2470).
f019fb21 11856
0794775d
LM
118572011-07-16 Lawrence Mitchell <wence@gmx.li>
11858
11859 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11860 method if slot is read-only (bug#9035).
11861
be39b8cc
MR
118622011-07-16 Martin Rudalics <rudalics@gmx.at>
11863
b796c9b7 11864 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11865 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11866 selected before, see discussion of (Bug#8615), (Bug#6954).
11867 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11868
6ccf7859
GM
118692011-07-15 Glenn Morris <rgm@gnu.org>
11870
11871 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11872 Respect help-form.
6ccf7859 11873
87e86684
LM
118742011-07-09 Lawrence Mitchell <wence@gmx.li>
11875
11876 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11877 (gnutls-negotiate): Use it.
11878
d6066239
LMI
118792011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11880
b796c9b7
SM
11881 * net/gnutls.el (gnutls-negotiate):
11882 Upcase `gnutls-algorithm-priority'.
d6066239 11883
bd23ebc0
GM
118842011-07-15 Glenn Morris <rgm@gnu.org>
11885
c65bca65
GM
11886 * jka-compr.el (jka-compr-verbose): Move from here...
11887 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11888 Add missing :version tag.
11889 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11890
478615cc
LMI
118912011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11892
7b41decb
LMI
11893 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11894 (gnutls-negotiate): Use it.
11895
dbc44fcd
LMI
11896 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11897
06789f97
LMI
11898 * info.el (Info-beginning-of-buffer): New command.
11899 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11900 announcing `b' as the key (bug#8325).
ab896c37 11901 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11902
c39da690
LMI
11903 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11904
3aa5f34b
LMI
11905 * international/mule-cmds.el
11906 (describe-specified-language-support): Make the error message
11907 clearer (bug#8905).
11908
4bf0979f
LMI
11909 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11910
478615cc
LMI
11911 * isearch.el (isearch-barrier): Add a doc string, since it's
11912 mentioned in a function doc string (bug#8678).
11913
75c68aa1
MR
119142011-07-15 Martin Rudalics <rudalics@gmx.at>
11915
11916 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11917 buffer argument (Bug#9083) and self-identifying label argument.
11918
a7c33da2
GM
119192011-07-15 Glenn Morris <rgm@gnu.org>
11920
11921 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11922
2f5c6024
LMI
119232011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11924
11925 * man.el (Man-fontify-manpage): Fix message when formatting the
11926 man page (bug#7929).
11927
0bb23927 119282011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11929
11930 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11931 argument LRM; if non-nil, append an invisible LRM character to the
11932 buffer name.
11933 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11934 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11935 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11936 paragraph direction.
cce4b0a7 11937
621ef9ab
LMI
119382011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11939
d1583c48
LMI
11940 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11941 the man page name (bug#7929).
11942
6a57fb5f
LMI
11943 * image.el (put-image): Mention the `put-image' overlay property
11944 (bug#7834).
11945
d7956b14
LMI
11946 * scroll-bar.el (set-scroll-bar-mode): Mention that
11947 `scroll-bar-mode' lists the values (bug#7772).
11948
5b2d4a66
LMI
11949 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11950 command (bug#7729).
11951
7509a874
LMI
11952 * rect.el (apply-on-rectangle): Return the point after the last
11953 operation.
11954 (string-rectangle): Go to the point after the last operation
11955 (bug#7522).
11956
4fe74b19
LMI
11957 * printing.el (pr-toggle-region): Clarify the documentation
11958 slightly (bug#7493).
11959
b796c9b7
SM
11960 * time.el (display-time-update):
11961 Allow `display-time-mail-function' to return nil (bug#7158).
11962 Fix suggested by Detlev Zundel.
ab283561 11963
fc233c9d
LMI
11964 * vc/diff.el (diff): Clarify the order the file names are read
11965 (bug#7111).
11966
43f5740b
LMI
11967 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11968 the doc string (bug#7015).
11969
f2182a76
LMI
11970 * font-lock.el (font-lock-maximum-decoration): Mention what
11971 numeric levels mean (bug#6935).
11972
621ef9ab
LMI
11973 * startup.el (initial-buffer-choice): Don't mention the `none'
11974 selection, which is against policy.
11975
adc47434
MR
119762011-07-14 Martin Rudalics <rudalics@gmx.at>
11977
b796c9b7
SM
11978 * window.el (display-buffer-normalize-special):
11979 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11980
7e5bfb8f
EZ
119812011-07-14 Eli Zaretskii <eliz@gnu.org>
11982
11983 * subr.el (version<, version<=, version=): Mention "-CVS" and
11984 "-12345" alpha version numbers.
11985
27fa387a
CY
119862011-07-14 Chong Yidong <cyd@stupidchicken.com>
11987
11988 * bindings.el: Add advertised binding for set-mark-command
11989 (Bug#5772).
11990
8bdfa064
CY
119912011-07-14 Chong Yidong <cyd@stupidchicken.com>
11992
11993 * bindings.el (mode-line-other-buffer):
11994 * bookmark.el (bookmark-bmenu-2-window):
11995 * bs.el (bs-cycle-next, bs-cycle-previous):
11996 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11997 switch-to-buffer.
11998
11999 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 12000 Delete.
8bdfa064 12001
5eba16a3
JB
120022011-07-14 Juanma Barranquero <lekktu@gmail.com>
12003
12004 * follow.el (follow-debug-message, follow-redisplay):
12005 * jka-cmpr-hook.el (with-auto-compression-mode):
12006 Fix typos in docstrings.
12007
15853710
LMI
120082011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12009
a28e4607
LMI
12010 * subr.el (with-silent-modifications): Clarify somewhat what the
12011 macro inhibits (bug#6525).
12012
15853710
LMI
12013 * simple.el (eval-expression): Note what it does if called
12014 interactively (bug#6495).
12015
bee0fcef
CY
120162011-07-13 Chong Yidong <cyd@stupidchicken.com>
12017
b796c9b7
SM
12018 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
12019 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
12020
12021 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12022 Remove switch-to-buffer.
12023
58274504
LMI
120242011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12025
bd2fcc8d
LMI
12026 * files.el (make-directory): Clarify that an error will be raised
12027 if there's an error (bug#6397).
12028
0f04b32c
LMI
12029 * startup.el (initial-buffer-choice): Add `none' as a choice
12030 (bug#6234).
12031
465c5fc8
LMI
12032 * subr.el (add-hook): Clarify section about buffer-local hooks
12033 (bug#6218).
12034
58274504
LMI
12035 * dired.el (dired-flagged): Clarify doc string (bug#6117).
12036
bead9a43
JB
120372011-07-13 Juanma Barranquero <lekktu@gmail.com>
12038
12039 * tabify.el (untabify): Preserve the current column so that point
12040 doesn't move (bug#6032).
12041
3af98a7b
LMI
120422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12043
b796c9b7
SM
12044 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
12045 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 12046
6240145a
GM
120472011-07-13 Glenn Morris <rgm@gnu.org>
12048
12049 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
12050 (dired-insert-directory): Give a message the first time
12051 if ls is found not to support --dired.
12052
1d8c2ccc
LMI
120532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12054
12055 * simple.el (toggle-truncate-lines): Clarify what is toggled
12056 (bug#5580). Text by Drew Adams.
12057
5fc4038e
CY
120582011-07-13 Chong Yidong <cyd@stupidchicken.com>
12059
12060 * simple.el (blink-matching-open): Make the error message from the
12061 last change less verbose.
12062
bf6012e5
DN
120632011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12064
12065 * font-lock.el (font-lock-comment-face): Use the high contrast
12066 "yellow" color for font-lock-comment-face on low color terminals
12067 using a dark background color (bug#4221).
12068
343c3b5a
LMI
120692011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12070
7e9505c5
LMI
12071 * dired.el (dired-insert-set-properties): Make the doc string
12072 reflect what it does now (bug#5325).
12073
c26fdcf5
LMI
12074 * simple.el (blink-matching-open): Say that we were unable to find
12075 the match within the limit, if we're limited (bug#5122).
12076
bb388cc5
LMI
12077 * international/mule-cmds.el (prefer-coding-system): Add an
12078 example (bug#4869).
12079
343c3b5a
LMI
12080 * progmodes/etags.el (tags-search): Document `file-list-form'
12081 (bug#4731).
12082
2a517d45
LM
120832011-07-13 Lawrence Mitchell <wence@gmx.li>
12084
12085 * net/browse-url.el (browse-url-default-browser)
12086 (browse-url-browser-function): Make the default browser choice a
12087 bit more logical (bug#4300). Also clean up the doc string.
12088
b6c78ef2
JB
120892011-07-13 Juanma Barranquero <lekktu@gmail.com>
12090
12091 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12092 binary endings (bug#4440).
12093
1c4dd947
LMI
120942011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12095
a2014063
LMI
12096 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12097 which can be pretty annoying (bug#8971).
12098
9c9c2d88
LMI
12099 * jka-compr.el (jka-compr-verbose): New variable, and use
12100 throughout (bug#8971).
12101
1c4dd947
LMI
12102 * info.el (Info-find-file): Fall back on the installation
12103 directory if we can't find the info node anywhere else.
12104
a1c9f41b
SO
121052011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12106
12107 * vc/vc.el (vc-revert-file):
12108 Don't set file time-stamp in the past. (Bug#5181)
12109
536f3d36
LMI
121102011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12111
7152b011
LMI
12112 * files.el (after-find-file): Give a better error message when
12113 trying to find a symlink that points to a file that doesn't exist
12114 (bug#4398).
12115
536f3d36
LMI
12116 * progmodes/cc-vars.el: Remove (probably) misleading comment
12117 (bug#4396).
12118
460c0fba
JB
121192011-07-12 Johan Bockgård <bojohan@gnu.org>
12120
12121 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12122
7a6bda45
CY
121232011-07-12 Chong Yidong <cyd@stupidchicken.com>
12124
12125 * mouse-sel.el: Hack restoring functionality, while keeping
12126 compatibility with 2010-07-03 changes to mouse selection.
12127 (mouse-sel-primary-overlay): New var.
12128 (mouse-sel-selection-alist): Use it.
12129 (mouse-sel-mode): Doc fix; remove points that are default features
12130 of mouse.el.
12131
c79598ef
JB
121322011-07-12 Johan Bockgård <bojohan@gnu.org>
12133
12134 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12135 Fix previous fix (bug#2490).
12136
ff8be6ef
RW
121372011-07-12 Roland Winkler <winkler@gnu.org>
12138
b796c9b7
SM
12139 * textmodes/bibtex.el (bibtex-initialize):
12140 Use pop-to-buffer-same-window.
ff8be6ef
RW
12141 (bibtex-search-entries): Fix interactive call.
12142
296ba3ee
LMI
121432011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12144
f5242a02 12145 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12146 Fontise bytecomp Error lines more correctly (bug#2490).
12147 Fix suggested by Johan Bockgård.
f5242a02 12148
296ba3ee
LMI
12149 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12150
12151 * dired-x.el (dired-guess-default): Use `delete-dups'.
12152
f69fd0d2
CY
121532011-07-12 Chong Yidong <cyd@stupidchicken.com>
12154
12155 * dired.el (dired-mark-prompt):
12156 * dired-aux.el (dired-read-shell-command): Doc fix.
12157
eab5dc07
LMI
121582011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12159
b796c9b7
SM
12160 * mail/sendmail.el (sendmail-query-once):
12161 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12162 emacs -Q.
12163
12164 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12165
eab5dc07
LMI
12166 * cus-edit.el (custom-file): Take an optional no-error variable.
12167 (customize-save-variable): Set the variable, and give a warning if
12168 running under "emacs -q".
12169
a1e65d42
JB
121702011-07-11 Juanma Barranquero <lekktu@gmail.com>
12171
12172 * loadhist.el (unload-feature-special-hooks):
12173 Add `auto-coding-functions', `fill-nobreak-predicate' and
12174 `find-directory-functions' (bug#5327).
12175
1d52da10
LMI
121762011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12177
be958f1d
LMI
12178 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12179
5bedb26c
LMI
12180 * cus-edit.el (custom-guess-name-alist): -alist variables should
12181 use the `alist' type (bug#3120). Suggested by Drew Adams.
12182
1d52da10
LMI
12183 * printing.el: Add documentation to all the `pr-toggle-' commands.
12184
cd394be1 121852011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12186
12187 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12188 backends where it makes sense (bug#2623).
12189
dcc88d8a
LMI
121902011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12191
c3de9feb
LMI
12192 * dired-x.el (dired-guess-default): Remove duplicate shell command
12193 entries (bug#2028).
8a93078b 12194 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12195 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12196
dcc88d8a
LMI
12197 * subr.el (remove-duplicates): New conveniency function.
12198
505e3645
LMI
121992011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12200
12201 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12202 (bug#1526).
12203
122042011-07-10 Martin Rudalics <rudalics@gmx.at>
12205
12206 * window.el (display-buffer-normalize-default): Don't invert
12207 meaning of even-window-heights. Reported by Eli Zaretskii
12208 <eliz@gnu.org>.
12209
455e4fa1
BR
122102011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12211
12212 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12213
8e0bc3e9
CY
122142011-07-10 Chong Yidong <cyd@stupidchicken.com>
12215
12216 * window.el (display-buffer): Fix arguments to
12217 display-buffer-reuse-window in last change.
12218
fa7c3228
CY
12219 * faces.el (link): Use a less saturated blue on light backgrounds.
12220
12221 * startup.el (fancy-startup-text, fancy-about-text)
12222 (fancy-startup-tail): Use font-lock faces, for background safety.
12223
c0a7f300
BN
122242011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12225
b796c9b7
SM
12226 * emulation/viper-cmd.el (viper-change-state-to-vi):
12227 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12228
4dc2a129
MR
122292011-07-09 Martin Rudalics <rudalics@gmx.at>
12230
12231 * window.el (display-buffer-default-specifiers): Remove.
12232 (display-buffer-macro-specifiers): Remove default specifiers.
12233 (display-buffer-alist): Default to nil.
b796c9b7 12234 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12235 (display-buffer-pop-up-window): Allow splitting internal
12236 windows. Check whether a live window was created.
12237 (display-buffer-other-window-means-other-frame)
12238 (display-buffer-normalize-arguments): Rename to
12239 display-buffer-normalize-argument and rewrite. Set the
12240 other-window specifier.
12241 (display-buffer-normalize-special): New function.
12242 (display-buffer-normalize-options): Rename to
12243 display-buffer-normalize-default and rewrite.
12244 (display-buffer-normalize-options-inhibit): Remove.
12245 (display-buffer-normalize-specifiers): Rewrite.
12246 (display-buffer): Process other-window specifier and call
12247 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12248 more faithfully.
b796c9b7 12249 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12250 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12251 (display-buffer-in-window, display-buffer-alist-set):
12252 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12253 <tassilo@member.fsf.org>.
12254
2d43b8c9
LL
122552011-07-09 Leo Liu <sdl.web@gmail.com>
12256
12257 * register.el (insert-register): Restore accidental change on
12258 2011-06-26. (Bug#9028)
12259
7f9b7c53
GM
122602011-07-09 Glenn Morris <rgm@gnu.org>
12261
12262 * subr.el (remq): Handle the empty list. (Bug#9024)
12263
f042cfd8
AS
122642011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12265
12266 * mail/sendmail.el (send-mail-function): No longer delay custom
12267 initialization.
12268 * custom.el (custom-initialize-delay): Doc fix.
12269
856b2f11
SM
122702011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12271
12272 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12273
afae1d68
MA
122742011-07-08 Michael Albinus <michael.albinus@gmx.de>
12275
12276 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12277 human-friendly prompt.
12278
0757af94
SM
122792011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12280
12281 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12282 provided by a particular plugin.
12283
d760b731
LMI
122842011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12285
12286 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12287 save customizations (with "emacs -Q"), just set the variable
12288 instead of erroring out.
12289
12290 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12291
cd79ce90
JL
122922011-07-08 Juri Linkov <juri@jurta.org>
12293
12294 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12295 (archive-zip-update-case): Use 7z if found by `executable-find'.
12296 The order of searching the available programs is the same as in
12297 `archive-zip-extract' (bug#8968).
12298
14cc04aa
CY
122992011-07-07 Chong Yidong <cyd@stupidchicken.com>
12300
12301 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12302 (menu-bar-options-menu): Tweak descriptions.
12303
0a1848ec
LMI
123042011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12305
12306 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12307 menu items into verb phrases (bug#1421). Also refill to fit under
12308 80 columns.
12309
f5bd0689
CY
123102011-07-07 Chong Yidong <cyd@stupidchicken.com>
12311
538e85c6
CY
12312 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12313 (Info-read-node-name): Doc fix (Bug#1084).
12314
f5bd0689
CY
12315 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12316 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12317 (end-of-sexp, beginning-of-sexp)
12318 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12319 (forward-symbol, forward-same-syntax, word-at-point)
12320 (sentence-at-point): Doc fix (Bug#1144).
12321
56ec5115
LMI
123222011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12323
f3f8e37f
LMI
12324 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12325 should cover it (bug#1281).
12326
0757af94 12327 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12328
e9fce1ac 12329 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12330 negotiation fails, then possibly try again with a non-encrypted
12331 connection (bug#9017).
12332
56ec5115
LMI
12333 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12334 be used.
12335
c2f9aec8
RS
123362011-07-07 Richard Stallman <rms@gnu.org>
12337
12338 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12339 property, and handle its changed format.
12340 Look for the correct line number.
12341 Use file's line contents (but not past first =) to find
12342 correct line in message.
12343
ef7b981d 123442011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12345
12346 * international/characters.el (build-unicode-category-table):
12347 Delete it.
0757af94 12348 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12349
0757af94 12350 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12351 to src/chartab.c.
12352 (get-char-code-property): Call unicode-property-table-internal to
12353 load a file. Call get-unicode-property-internal where necessary.
12354 (put-char-code-property): Call unicode-property-table-internal to
12355 load a file. Call put-unicode-property-internal where necessary.
12356 put-unicode-property-internal where necessary.
0757af94
SM
12357 (char-code-property-description):
12358 Call unicode-property-table-internal to load a file.
c805dec0
KH
12359
12360 * international/charprop.el:
12361 * international/uni-bidi.el:
12362 * international/uni-category.el:
12363 * international/uni-combining.el:
12364 * international/uni-comment.el:
12365 * international/uni-decimal.el:
12366 * international/uni-decomposition.el:
12367 * international/uni-digit.el:
12368 * international/uni-lowercase.el:
12369 * international/uni-mirrored.el:
12370 * international/uni-name.el:
12371 * international/uni-numeric.el:
12372 * international/uni-old-name.el:
12373 * international/uni-titlecase.el:
12374 * international/uni-uppercase.el: Regenerate.
12375
12376 * loadup.el: Load international/charprop.el before
12377 international/characters.
12378
e14b388a
CY
123792011-07-07 Chong Yidong <cyd@stupidchicken.com>
12380
12381 * window.el (next-buffer, previous-buffer): Signal an error if
12382 called from a minibuffer window.
12383
12384 * bindings.el: Revert 2011-07-04 change.
12385
354cf0ba
RS
123862011-07-06 Richard Stallman <rms@gnu.org>
12387
12388 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12389 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12390 Treat markers like ints.
12391 (rmail-mime-entity): Doc fix.
12392
a48868a7
LMI
123932011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12394
4906cd3d
LMI
12395 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12396 defcustom again for backwards compatibility.
12397
e0457abe
LMI
12398 * simple.el (shell-command-on-region): Fill.
12399
d67f7e1f
LMI
12400 * dired-aux.el (dired-kill-line): Add a doc string.
12401
fe204702
LMI
12402 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12403 to "\\sw\\|\\s_" (bug#358).
12404
a48868a7
LMI
12405 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12406 (dired-unmark-backward): Ditto.
12407 (dired-flag-backup-files): Ditto.
12408
12409 * dired-x.el (dired-mark-sexp): Ditto.
12410
aa8a705c
RS
124112011-07-06 Richard Stallman <rms@gnu.org>
12412
12413 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12414 (rmail-mime-entity): New arg TRUNCATED.
12415 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12416 New functions.
12417 (rmail-mime-save): Warn if entity is truncated.
12418 (rmail-mime-toggle-hidden): Likewise, for showing.
12419 (rmail-mime-process-multipart): Record when an entity is truncated.
12420
a9a936b9
RS
12421 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12422 if ENTITY is a string.
12423
1f2b92cb
LMI
124242011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12425
f4f73198 12426 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12427 of faces when `M-C-x'-ing their definitions (bug#8378).
12428 Also clean up the code slightly.
f4f73198 12429
12b16734 12430 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12431 because that makes the colors go away.
12b16734 12432
f0691d22
LMI
12433 * mail/sendmail.el (send-mail-function): Change the default to
12434 `sendmail-query-once'.
9e87df06 12435 (sendmail-query-once): Add an autoload cookie.
f0691d22 12436
1f2b92cb
LMI
12437 * net/network-stream.el (network-stream-open-starttls): Try using
12438 a plain connection even if the server offered STARTTLS, and we
12439 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12440 capability. This should make smtpmail.el work in slightly more
12441 configurations.
12442
1cdd2a1b
MA
124432011-07-06 Michael Albinus <michael.albinus@gmx.de>
12444
12445 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12446 New defun.
12447 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12448
fbcc67e2
MM
124492011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12450
12451 * progmodes/sql.el: Version 3.0
0757af94 12452 (sql-product-alist): Add product :completion-object,
fbcc67e2 12453 :completion-column, and :statement attributes.
0757af94 12454 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12455 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12456 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12457 ansi keywords.
12458 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12459 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12460 (sql-oracle-show-reserved-words): New function for development.
12461 (sql-product-font-lock): Simplify for source code buffers.
12462 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12463 New functions.
12464 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12465 (sql-mode-map): Add statement movement functions.
12466 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12467 New variable.
fbcc67e2
MM
12468 (sql-statement-regexp, sql-beginning-of-statement)
12469 (sql-end-of-statement, sql-signum): New functions.
0757af94 12470 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12471 (sql-show-sqli-buffer): Bug fix.
12472 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12473 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12474 with sql-interactive-mode.
12475 (sql-save-connection): Save buffer local settings.
0757af94 12476 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12477 (sql-product-interactive): Bug fix.
12478 (sql-preoutput-hold): New variable.
12479 (sql-interactive-remove-continuation-prompt): Bug fixes.
12480 (sql-debug-redirect): New variable.
12481 (sql-str-literal): New function.
12482 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12483 Redesign.
fbcc67e2
MM
12484 (sql-oracle-save-settings, sql-oracle-restore-settings)
12485 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12486 (sql-completion-object, sql-completion-column)
12487 (sql-completion-sqlbuf): New variables.
12488 (sql-build-completions-1, sql-build-completions)
12489 (sql-try-completion): New functions.
12490 (sql-read-table-name): Use them.
12491 (sql-contains-names): New buffer local variable.
12492 (sql-list-all, sql-list-table): Use it.
12493 (sql-oracle-completion-types): New variable.
12494 (sql-oracle-completion-object, sql-sqlite-completion-object)
12495 (sql-postgres-completion-object): New functions.
12496
d4eaeab1
GM
124972011-07-06 Glenn Morris <rgm@gnu.org>
12498
12499 * window.el (pop-to-buffer): Doc fix.
12500
322b7dab 125012011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12502
12503 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12504
322b7dab 125052011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12506
322b7dab 12507 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12508
322b7dab 12509 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12510
605dd5bf
CY
125112011-07-05 Chong Yidong <cyd@stupidchicken.com>
12512
12513 * button.el (button): Inherit from link face. Suggested by Dan
12514 Nicolaescu.
12515
7dbfa719
SM
125162011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12517
3db614b0
SM
12518 * progmodes/gdb-mi.el: Fit in 80 columns.
12519 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12520 switch-to-buffer.
12521
7dbfa719
SM
12522 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12523 if imenu is simply not configured (bug#8941).
12524
919d884a
KM
125252011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12526
12527 * allout.el (allout-post-undo-hook): New allout outline-change
12528 event hook to signal undo activity.
12529 (allout-post-command-business): Run allout-post-undo-hook if an
12530 undo just occurred.
7dbfa719
SM
12531 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12532 * allout-widgets.el (allout-widgets-after-undo-function):
12533 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12534 in the vicinity of an undo.
12535 (allout-widgets-mode): Include allout-widgets-after-undo-function
12536 on the new allout-post-undo-hook.
12537
450a0f09
SM
125382011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12539
12540 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12541 Let define-derived-mode define it.
12542 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12543 cycles of abbrev-table inheritance (bug#8998).
12544
2de69e00
RW
125452011-07-05 Roland Winkler <winkler@gnu.org>
12546
12547 * textmodes/bibtex.el: Add support for biblatex.
12548 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12549 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12550 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12551 (bibtex-entry-alist, bibtex-field-alist): New variables.
12552 (bibtex-entry-field-alist): Obsolete alias for
12553 bibtex-BibTeX-entry-alist.
12554 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12555 (bibtex-set-dialect): New command.
12556 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12557 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12558 Bind via bibtex-set-dialect.
2de69e00
RW
12559 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12560 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12561 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12562 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12563 Define via bibtex-set-dialect.
450a0f09
SM
12564 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12565 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12566 (bibtex-vec-push, bibtex-vec-incr): New functions.
12567 (bibtex-format-entry, bibtex-field-list)
12568 (bibtex-print-help-message, bibtex-validate)
12569 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12570
2dcdbdd9
SM
125712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12572
12573 * progmodes/compile.el (compilation-goto-locus):
12574 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12575 * bs.el (bs-cycle-next, bs-cycle-previous):
12576 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12577 * bindings.el (mode-line-other-buffer):
12578 * autoinsert.el (auto-insert):
12579 * arc-mode.el (archive-extract):
12580 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12581
b27640fe
JB
125822011-07-05 Juanma Barranquero <lekktu@gmail.com>
12583
12584 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12585 Fix check of `emacs-lock-unlockable-modes'.
12586 Coerce true values of `emacs-lock--try-unlocking' to t.
12587
53bbe3ad
JB
125882011-07-05 Juanma Barranquero <lekktu@gmail.com>
12589
12590 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12591 * emacs-lock.el: New file.
12592
1d3cdbc7
JD
125932011-07-05 Julien Danjou <julien@danjou.info>
12594
12595 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12596 than `boundp' to check if face is set.
12597
9173deec
JB
125982011-07-05 Juanma Barranquero <lekktu@gmail.com>
12599
12600 * register.el (registerv-make):
12601 * window.el (window-min-height): Fix typos in docstrings.
12602
869795d6
JD
126032011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12604
9173deec 12605 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12606 Update doc string.
12607
b768cdcd
JB
126082011-07-04 Juanma Barranquero <lekktu@gmail.com>
12609
12610 * server.el (server-execute): Catch quit and call
12611 `server-return-error' to pass the error back to emacsclient and
12612 close the connection (bug#8942).
12613
13aa217b
KM
126142011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12615
12616 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12617 insecure exception for current topic. Also note that auto-saves
12618 are handled differently.
12619
5d3385a0 12620 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12621 State variables for tracking auto-save inhibition situation.
12622
12623 (allout-write-contents-hook-handler): Rename from
12624 'allout-write-file-hook-handler', and describe how it depends on
12625 write-contents-functions sensitivity to non-nil value to prevent
12626 file write.
12627
12628 (allout-auto-save-hook-handler): Remove. auto-save does not check
12629 this in individual buffers, only in the starting buffer, so this
12630 is not the right way for us to inhibit auto-save in a buffer
12631 according to its condition.
12632
12633 (allout-mode): Use new allout-write-contents-hook-handler, and
12634 only with write-contents-functions. Remove auto-save provisions -
12635 they're implemented elsewhere.
12636
12637 (allout-before-change-handler): If undo is in progress, note that
12638 for attention of allout-post-command-business.
12639
12640 (allout-post-command-business): If the command we're following was
12641 an undo, check for change in the status of encrypted items and
12642 adjust auto-save inhibitions accordingly.
12643
12644 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12645 according to whether there are or aren't any plain-text topics
12646 pending encryption.
12647
2dcdbdd9 12648 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12649 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12650 if there are plain-text topics pending encryption.
13aa217b
KM
12651
12652 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12653 buffer-saved-size and some allout state to not inhibit auto-saves
12654 if there are no longer any plain-text topics pending encryption.
12655
0757af94
SM
12656 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12657 No longer provide for exemption of the current topic.
13aa217b 12658
ac89b32c
JL
126592011-07-04 Juri Linkov <juri@jurta.org>
12660
12661 Add 7z operations to delete and save changed members (bug#8968).
12662 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12663 New defcustoms.
12664 (archive-7z-write-file-member): New function.
12665 (archive-7z-summarize): Fix the number of dashes in the
12666 listing output.
12667
8fa39615
SM
126682011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12669
12670 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12671 (bug#8958).
12672
2f11b3f1
CY
126732011-07-04 Chong Yidong <cyd@stupidchicken.com>
12674
d66fef2b
CY
12675 * bindings.el: Ignore next-buffer and previous-buffer in
12676 minibuffer-local-map.
12677
2f11b3f1
CY
12678 * font-lock.el (font-lock-builtin-face): Change light background
12679 color to dark slate blue (Bug#6693).
12680
f932a347
WD
126812011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12682
12683 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12684
c8af70e1
SM
126852011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12686
12687 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12688 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12689 Add switch-to-buffer.
12690
f158badc
LMI
126912011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12692
12693 * isearch.el (isearch-search-fun-function): Clarify further the
12694 meaning of the function returned.
12695
6d95bd46
MA
126962011-07-04 Michael Albinus <michael.albinus@gmx.de>
12697
12698 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12699
12700 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12701 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12702 Use it.
12703 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12704 `tramp-default-remote-path' does not exist.
12705 (tramp-send-command-and-read): New optional argument NOERROR.
12706 (tramp-open-connection-setup-interactive-shell)
12707 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12708 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12709 (tramp-process-sentinel): Flush also process' connection property.
12710 (tramp-sh-handle-start-file-process): Do not set process
12711 sentinel. It is done now ...
12712 (tramp-maybe-open-connection): ... here. (Bug#8929)
12713
909e6b67
MK
127142011-07-04 MON KEY <monkey@sandpframing.com>
12715
12716 * play/animate.el (animate-string): Doc fixes and allow changing
12717 the buffer name (bug#5417).
12718
127192011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12720
c8af70e1 12721 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12722
f34755dc
PE
127232011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12724
396cec72
PE
12725 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12726 This is simpler and helps future-proof the code.
12727 (timer-until): Use time-subtract and float-time.
08235028 12728 (timer--time-less-p): Use time-less-p.
f34755dc 12729
56e6cc31
JB
127302011-07-04 Juanma Barranquero <lekktu@gmail.com>
12731
3abb79e5
JB
12732 * type-break.el (timep): Use the value of `float-time' to avoid a
12733 byte-compiler warning.
12734
56e6cc31
JB
12735 * server.el (server-eval-and-print): Return any result, even nil.
12736
7b9430b4
PE
127372011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12738
12739 * type-break.el: Accept time formats that the builtins accept.
12740 (timep, type-break-time-difference): Accept any format that
12741 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12742 This is simpler and helps future-proof the code.
12743 (type-break-time-difference): Round rather than ignoring
12744 subseconds components.
12745
3034e9e7
LMI
127462011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12747
12748 * info.el (Info-apropos-matches): Make non-interactive, since it
12749 doesn't seem to do anything useful as a command (bug#8829).
12750
1485f4c0
CY
127512011-07-03 Chong Yidong <cyd@stupidchicken.com>
12752
12753 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12754 Move from faces.el.
1485f4c0
CY
12755 (frame-default-terminal-background): New function.
12756
12757 * custom.el (custom-push-theme): Don't record faces in `changed'
12758 theme; this doesn't work correctly for per-frame face settings.
12759 (disable-theme): Use face-set-after-frame-default to reset faces.
12760 (custom--frame-color-default): New function.
12761
9fa3dd45
LMI
127622011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12763
c8af70e1 12764 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12765 (bug#8769).
12766
6cbbc20c
KR
127672011-03-29 Kevin Ryde <user42@zip.com.au>
12768
12769 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12770 `perl-Test2' extend to match possible "fail #N" rep count
12771 (bug#8377).
12772
c7f98048
LMI
127732011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12774
65676592
LMI
12775 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12776 `smtpmail-via-smtp' now returns the error instead of nil.
12777
c7f98048
LMI
12778 * isearch.el (isearch-search-fun-function): Clarify the doc string
12779 (bug#8101).
12780
56e6cc31 127812011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12782
12783 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12784 unnecessary spaces (bug#8987).
12785
2b216704
LMI
127862011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12787
12788 * net/network-stream.el (open-network-stream): Use the
12789 :end-of-capability command thoughout.
12790
127912011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12792
12793 * net/network-stream.el (open-network-stream): Add the
12794 :end-of-capability command parameter, used by pop3.el.
12795
36adf6ce
LMI
127962011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12797
1ca0da0e
LMI
12798 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12799
fc00f69c
LMI
12800 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12801 for list)" (bug#6475).
12802
28fd8759 12803 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12804 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12805 an error (bug#6297).
12806
0dd8b6da
LMI
12807 * man.el (Man-reference-regexp): Allow matching possible
12808 word-wrapped references (bug#6289).
12809
ce1438d6
LMI
12810 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12811 for consistency with the other vc buffers (bug#6197).
12812 (vc-checkin): Ditto.
12813
12814 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12815
36adf6ce
LMI
12816 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12817
e83cc1f7
LMI
128182011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12819
8a20ca4c
LMI
12820 * custom.el (defcustom): Clarify that :set is only used in the
12821 Customize user interface (bug#6089).
12822
83319045
LMI
12823 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12824 associated with a file, refuse to run instead of erroring out
12825 (bug#6084).
12826
a8392169
LMI
12827 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12828 the doc string, since it appears that using `fill-column' always
12829 controls the width (bug#7845).
12830
e83cc1f7
LMI
12831 * simple.el (shell-command-on-region): Say where the error output
12832 went if `shell-command-default-error-buffer' is set (bug#6857).
12833
e47ca23b
KM
128342011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12835
12836 * allout.el (allout-yank-processing): Adjust cursor position for
12837 backwards-deleted space.
12838
12839 (allout-rebullet-heading): Register changes with
12840 allout-exposure-changed-hook, so the modified topic is properly
12841 decorated.
12842
5cf56143
LMI
128432011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12844
08549772
LMI
12845 * minibuffer.el (completion-in-region): Document PREDICATE
12846 (bug#7136).
12847
48e96771
LMI
12848 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12849 of keyword/argument pairs (bug#6904).
12850
c8af70e1
SM
12851 * replace.el (multi-occur):
12852 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12853
e17d05e2
LMI
128542011-07-02 Drew Adams <drew.adams@oracle.com>
12855
12856 * dired.el (dired-mark-if): Make the message about whether it's
12857 marking or unmarking clearer (bug#8523).
12858
063b0e45
LMI
128592011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12860
12861 * disp-table.el (display-table-print-array): New function.
12862 (describe-display-table): Use it to print the vectors more pretty
12863 (Bug#8859).
12864
28545e04
MR
128652011-07-02 Martin Rudalics <rudalics@gmx.at>
12866
12867 * window.el (window-state-get-1): Don't assign clone numbers.
12868 Add clone-of item to list of window parameters.
12869 (window-state-put-2): Don't process clone numbers.
12870 (display-buffer-alist): Fix doc-string.
12871
3349e122
SM
128722011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12873
12874 * subr.el (remq): Don't allocate if it's not needed.
12875 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12876 (keymap--merge-bindings): New functions.
12877 (keymap-canonicalize): Use them to refine the canonicalization.
12878 * minibuffer.el (minibuffer-local-completion-map)
12879 (minibuffer-local-must-match-map): Move initialization from C.
12880 (minibuffer-local-filename-completion-map): Move initialization from C;
12881 don't inherit from anything here.
12882 (minibuffer-local-filename-must-match-map): Make obsolete.
12883 (completing-read-default): Use make-composed-keymap to combine
12884 minibuffer-local-filename-completion-map with either
12885 minibuffer-local-must-match-map or
12886 minibuffer-local-filename-completion-map.
12887
d224ac83
GM
128882011-07-01 Glenn Morris <rgm@gnu.org>
12889
3de63bf8
GM
12890 * type-break.el (type-break-time-sum): Use dolist.
12891
d224ac83
GM
12892 * textmodes/flyspell.el (flyspell-word-search-backward):
12893 Replace CL function.
12894
1a1e3f32
SM
128952011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12896
fe3f64d5
SM
12897 * mouse.el (mouse--strip-first-event): New function.
12898 (function-key-map): Use it to map fringe clicks to normal clicks
12899 by default.
12900
eb604e34
SM
12901 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12902 (vc-bzr-revision-completion-table): Add support for annotate and date.
12903
1a1e3f32
SM
12904 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12905 inherit from parent.
12906
5bd35902
LMI
129072011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12908
ace6c69c 12909 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12910 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12911
191e2bed
LMI
12912 * dired.el (dired-mode): Fix up the doc string as suggested by
12913 Drew Adams (bug#8817).
12914
5bd35902
LMI
12915 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12916 cookie, since the manual says that it should be possible to add
12917 this function to `find-file-hook' (bug#8709).
12918
eee8207a
TZ
129192011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12920
12921 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12922 here. Noted Ted Zlatanov as the maintainer.
12923 (cfengine-common-settings, cfengine-common-syntax): New functions
12924 to set up common things between `cfengine-mode' and
12925 `cfengine3-mode'.
12926 (cfengine3-mode): New mode.
12927 (cfengine3-defuns cfengine3-defuns-regex
12928 (cfengine3-class-selector-regex cfengine3-category-regex)
12929 (cfengine3-vartypes cfengine3-font-lock-keywords)
12930 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12931 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12932
36b148cf
MA
129332011-07-01 Michael Albinus <michael.albinus@gmx.de>
12934
12935 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12936
12937 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12938
0bf4ba9a
MR
129392011-07-01 Martin Rudalics <rudalics@gmx.at>
12940
12941 * window.el (same-window-buffer-names, same-window-regexps)
12942 (same-window-p, special-display-frame-alist)
12943 (special-display-popup-frame, special-display-function)
12944 (special-display-buffer-names, special-display-regexps)
12945 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12946 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12947 (split-window-preferred-function, split-height-threshold)
12948 (split-width-threshold, even-window-heights)
12949 (display-buffer-mark-dedicated, window-splittable-p)
12950 (split-window-sensibly, window-safely-shrinkable-p):
12951 Un-obsolete.
12952 (display-buffer): Don't spread args with function specifier
12953 because special-display-popup-frame won't like it.
12954
35837f51
PE
129552011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12956
d0672f86
PE
12957 Time-stamp simplifications and fixes.
12958 These improve accuracy slightly, and future-proof the code
12959 against some potential changes to current-time format.
12960
b9444d97
PE
12961 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12962 by using time-since and float-time.
12963
0ef923dc
PE
12964 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12965 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12966 + NNN microseconds".
12967
2f81380d
PE
12968 * type-break.el (type-break-time-sum): Rewrite using time-add.
12969
845b5c3e
PE
12970 * play/hanoi.el (hanoi-current-time-float): Remove.
12971 All uses replaced by float-time.
12972
ee6f1be0
PE
12973 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12974 This yields a more-accurate answer.
12975 (rng-time-to-float): Remove; no longer needed.
12976
fe955043
PE
12977 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12978
5777162a
PE
12979 * calendar/timeclock.el (timeclock-seconds-to-time):
12980 Defalias to seconds-to-time, since they're the same thing.
12981
3103f8b6 12982 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12983 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12984 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12985
0e61a35f
SM
129862011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12987
12988 * window.el (bury-buffer): Don't iconify the only frame.
12989 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12990 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12991
ddd63a1e
CY
129922011-07-01 Chong Yidong <cyd@stupidchicken.com>
12993
0e61a35f
SM
12994 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12995 Add mouse-yank-primary.
ddd63a1e 12996
055f4923
TZ
129972011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12998
12999 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
13000
6a2fb145
SM
130012011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
13002
13003 * emacs-lisp/find-func.el (find-library--load-name): New fun.
13004 (find-library-name): Use it to find relative load names when provided
13005 absolute file name (bug#8803).
13006
fd4983f2
LMI
130072011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13008
887d14ad
LMI
13009 * textmodes/flyspell.el (flyspell-word): Consider words that
13010 differ only in case as potential doublons (bug#5687).
13011
c53dc7fc
LMI
13012 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
13013 Remove two rather uninteresting debugging-like messages to make
13014 debbugs.el more silent.
13015
fd4983f2
LMI
13016 * comint.el (comint-password-prompt-regexp): Accept "Response" as
13017 a password-like phrase.
13018
7a71b18d 130192011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
13020
13021 * progmodes/cc-guess.el: New file.
13022
6a2fb145 13023 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
13024
13025 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
13026 derived from `c-basic-common-init'.
13027
13028 * progmodes/cc-mode.el (top-level): Require cc-guess.
13029 (c-basic-common-init): Use `cc-choose-style-for-mode'.
13030
1fa280a3
LM
130312011-06-30 Lawrence Mitchell <wence@gmx.li>
13032
13033 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
13034
e6597158
AM
130352011-06-30 Alan Mackenzie <acm@muc.de>
13036
1fa280a3
LM
13037 * progmodes/cc-engine.el (c-guess-continued-construct):
13038 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
13039 lock is disabled. Name this case as "CASE G".
13040
68ba37fb
KM
130412011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
13042
13043 * allout.el (allout-yank-processing): Fix injection of extra space
13044 between bullet and non-whitespace character in first topic when
13045 pasting, ensuring that the actual spacing in the pasted topic
13046 following the bullet char is preserved. This extra space was
13047 causing pasted encrypted topics to get a decrypted status even
13048 when the content was actually still encrypted. Now the decryption
13049 status from before the paste is preserved.
13050
13051 (allout-flag-region): Set all allout overlays so they evaporate
13052 when reduced to zero length (evanescent), to prevent overlay
13053 leakage.
13054
887a0b34
GM
130552011-06-30 Glenn Morris <rgm@gnu.org>
13056
94b9acce
GM
13057 * w32-fns.el (w32-charset-info-alist): Declare.
13058
1d9b46d4
GM
13059 * find-dired.el (find-grep-options): Simplify.
13060
cc232200
GM
13061 * term/ns-win.el (ns-set-resource): Declare.
13062
28e77c46
GM
13063 * ses.el (row, col): Declare dynamic variables honestly.
13064
887a0b34
GM
13065 * textmodes/reftex-parse.el (index-tags): Declare.
13066
658d8eb8
CY
130672011-06-30 Chong Yidong <cyd@stupidchicken.com>
13068
13069 * cus-edit.el (customize-push-and-save): New function.
13070
13071 * files.el (hack-local-variables-confirm): Use it.
13072
1fa280a3
LM
13073 * custom.el (load-theme): New arg NO-CONFIRM.
13074 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13075 (custom-enabled-themes): Doc fix.
13076
13077 * cus-theme.el (customize-create-theme)
13078 (custom-theme-merge-theme): Callers to load-theme changed.
13079
bb617717
LMI
130802011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13081
d61bdd5d
LMI
13082 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13083 short URLs have at least one dot in them (bug #7614).
13084
bb617717
LMI
13085 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13086 nil, because using a pty is apparently too slow (bug #895).
13087
2f31f37a
LMI
130882011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13089
13090 * mail/sendmail.el (sendmail-query-once): New function.
13091 (sendmail-query-once-function): New variable.
13092
3076b24e
GM
130932011-06-29 Glenn Morris <rgm@gnu.org>
13094
faf2a174
GM
13095 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13096
3076b24e
GM
13097 * ses.el (top-level): Require cl when compiling.
13098 (ses-set-localvars): Fix error statement.
13099 Call it at compile time to silence a storm of warnings.
13100
5386012d
MR
131012011-06-29 Martin Rudalics <rudalics@gmx.at>
13102
13103 * window.el (normalize-live-buffer): Rename to
13104 window-normalize-buffer.
13105 (normalize-live-frame): Rename to window-normalize-frame.
13106 (normalize-any-window): Rename to window-normalize-any-window.
13107 (normalize-live-window): Rename to window-normalize-live-window.
13108 (make-window-atom): Rename to window-make-atom.
13109 (window-resize-reset): Rename to window--resize-reset.
13110 (window-resize-reset-1): Rename to window--resize-reset-1.
13111 (resize-mini-window): Rename to window--resize-mini-window.
13112 (resize-subwindows-skip-p): Rename to
13113 window--resize-subwindows-skip-p.
13114 (resize-subwindows-normal): Rename to
13115 window--resize-subwindows-normal.
13116 (resize-subwindows): Rename to window--resize-subwindows.
13117 (resize-other-windows): Rename to window--resize-siblings.
13118 (resize-this-window): Rename to window--resize-this-window.
13119 (resize-root-window): Rename to window--resize-root-window.
13120 (resize-root-window-vertically): Rename to
13121 window--resize-root-window-vertically.
13122 (normalize-buffer-to-display): Rename to
13123 window-normalize-buffer-to-display.
13124 (normalize-buffer-to-switch-to): Rename to
13125 window-normalize-buffer-to-switch-to.
13126 Correspondingly update all callers of the functions listed
13127 above.
13128 (display-buffer-alist, display-buffer-normalize-arguments)
13129 (display-buffer-normalize-options, display-buffer)
13130 (display-buffer-alist-set): Use "function" instead of
13131 "fun-with-args".
13132
1176868d
CY
131332011-06-28 Chong Yidong <cyd@stupidchicken.com>
13134
13135 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13136 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13137 debbugs.gnu.org. Mention acknowledgment email.
13138
20a7a65f
LMI
131392011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13140
13141 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13142 buffer multibyteness, since it shouldn't matter.
13143
5f45cca5
MR
131442011-06-28 Martin Rudalics <rudalics@gmx.at>
13145
13146 * window.el (display-buffer-in-side-window): Handle dedicated
13147 windows as in display-buffer-reuse-window.
13148 (display-buffer-normalize-alist): Use value of override
13149 specifier.
13150 (display-buffer-normalize-specifiers): Use value of
13151 other-window-means-other-frame specifier.
13152 (display-buffer-alist): Rewrite some texts in widgets.
13153 (display-buffer): Spread arguments when calling function
13154 specified by fun-with-args.
13155
ad85fe1f
DD
131562011-06-28 Deniz Dogan <deniz@dogan.se>
13157
1fa280a3
LM
13158 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13159 Unnest `let'.
da68c4c8 13160
ad85fe1f
DD
13161 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13162 selectors (Bug#5732).
ec49bd31 13163 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13164
a08cc025
JA
131652011-06-27 Jari Aalto <jari.aalto@cante.net>
13166
13167 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13168 (eshell-ls-date-format): New defcustom.
13169 (eshell-ls-file): Use it.
13170
e2b551c5
SM
131712011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13172
13173 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13174
8982b231
KY
131752011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13176
13177 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13178 (ange-ftp-make-tmp-name): New arg.
13179 (ange-ftp-file-local-copy): Use it.
13180
36c9fa27
J
131812011-06-27 Jambunathan K <kjambunathan@gmail.com>
13182
13183 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13184 no-conversion (Bug#8870).
13185
d68443dc
MR
131862011-06-27 Martin Rudalics <rudalics@gmx.at>
13187
13188 * window.el (window-right, window-left, window-child)
13189 (window-child-count, window-last-child)
13190 (window-iso-combination-p, walk-window-tree-1)
13191 (window-atom-check-1, window-tree-1, delete-window)
13192 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13193 new naming conventions - window-vchild, window-hchild,
13194 window-next and window-prev are now called window-top-child,
13195 window-left-child, window-next-sibling and window-prev-sibling
13196 respectively.
d615d6d2
MR
13197 (resize-window-reset): Rename to window-resize-reset.
13198 (resize-window-reset-1): Rename to window-resize-reset-1.
13199 (resize-window): Rename to window-resize.
13200 (window-min-height, window-min-width)
13201 (resize-mini-window, resize-this-window, resize-root-window)
13202 (resize-root-window-vertically, adjust-window-trailing-edge)
13203 (enlarge-window, shrink-window, maximize-window)
13204 (minimize-window, delete-window, quit-restore-window)
13205 (split-window, balance-windows, balance-windows-area-adjust)
13206 (balance-windows-area, window-state-put-2)
13207 (display-buffer-even-window-sizes, display-buffer-set-height)
13208 (display-buffer-set-width, set-window-text-height)
13209 (fit-window-to-buffer): Rename all "resize-window" prefixed
13210 calls to use the "window-resize" prefix convention.
13211 (display-buffer-alist): Fix symbol for label specifier.
13212 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13213 corresponding specifier.
13214 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13215
b6458526
VB
132162011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13217
13218 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13219 convention.
13220 (ses-call-printer): Does not pass an empty string to formatter when the
13221 cell is empty to keep from barking printer Calc math-format-value.
13222
d31fd9ac
RS
132232011-06-27 Richard Stallman <rms@gnu.org>
13224
43d5bf84
RS
13225 * battery.el (battery-mode-line-limit): New variable.
13226 (battery-update): Handle it.
13227
d31fd9ac
RS
13228 * mail/rmailmm.el (rmail-mime-process-multipart):
13229 Handle truncated messages.
13230
819a6054
GM
132312011-06-27 Glenn Morris <rgm@gnu.org>
13232
13233 * progmodes/flymake.el (flymake-err-line-patterns):
13234 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13235
cedc73f2
VB
132362011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13237
819a6054 13238 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13239 (ses--clean-!, ses--clean-_): New functions.
13240 (ses-range): Add configurability of readout order, and conversion
13241 to Calc vector.
13242
5e5d49b6
VB
13243 * ses.el (ses-repair-cell-reference-all): New function.
13244 (ses-cell-symbol): Set macro as safe, so that it can be used in
13245 formulas.
13246
56e6cc31 13247 * ses.el: Update cycle detection algorithm.
90ca8b49 13248 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13249 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13250 (ses-set-localvars): New function.
13251 (ses-make-cell): Add property-list as a cell element.
13252 (ses-cell-property-get-fun, ses-cell-property-get)
13253 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13254 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13255 New functions.
90ca8b49
VB
13256 (ses-cell-property-set, ses-cell-property-pop)
13257 (ses-cell-property-get-handle): New macro.
13258 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13259 New aliases, used for code readability.
13260 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13261 cycle detection.
13262 (ses-self-reference-early-detection): New defcustom.
fac916bf 13263 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13264 (ses-mode): Use ses-set-localvars.
13265 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13266 before lauching the update processing.
13267 (ses-initialize-Dijkstra-attempt): New function.
13268 (ses-recalculate-cell): Update for cycle detection based on
13269 Dijkstra algorithm.
13270
2bb63e81
VB
13271 * ses.el: Fix commenting and indenting convention.
13272
c9d29fb8
SM
132732011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13274
13275 * bs.el (bs-cycle-next): Complete last change.
13276
d8e4b68b
JB
132772011-06-27 Drew Adams <drew.adams@oracle.com>
13278
13279 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13280
40098786
LMI
132812011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13282
c9d29fb8
SM
13283 * net/network-stream.el (network-stream-open-starttls):
13284 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13285 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13286
40098786
LMI
13287 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13288 to binary to possibly avoid line encoding issues on Windows (among
13289 other things).
13290
468d09d4
LMI
132912011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13292
13293 * net/network-stream.el (open-network-stream): Return an :error
13294 saying what the problem was, if possible.
13295
13296 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13297 server.
13298
13299 * net/network-stream.el (network-stream-open-starttls): If we
13300 wanted to use STARTTLS, and the server offered it, but we weren't
13301 able to because we had no STARTTLS support, then close the connection.
13302 (open-network-stream): Return an :error element, if present.
13303
16f07dd7
CY
133042011-06-26 Chong Yidong <cyd@stupidchicken.com>
13305
88821ca0
CY
13306 * hl-line.el (hl-line-sticky-flag): Doc fix.
13307 (global-hl-line-sticky-flag): New option (Bug#8323).
13308 (global-hl-line-highlight): Obey it.
13309
16f07dd7
CY
13310 * vc/vc.el (vc-revert-show-diff): Default to t.
13311
6b5ccddf
KM
133122011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13313
c9d29fb8
SM
13314 * allout-widgets.el (allout-widgets-post-command-business):
13315 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13316 undecorated when an isearch is continued past, and isearch
13317 automatically collapses them. This leads to "widget leaks", where
13318 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13319 hidden widgets can slow down cursor travel, substantially.
13320 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13321 so we're doing without this nicety.
13322
13323 (allout-widgets-tally-string): Don't try to do a hash-table-count
13324 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13325 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13326 *Messages* when allout-widgets-maintain-tally is t.
13327
355f2e07
MR
133282011-06-26 Martin Rudalics <rudalics@gmx.at>
13329
13330 * window.el (display-buffer-normalize-argument): Rename to
13331 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13332 LABEL argument. Respect special-display-function when popping up
13333 a new frame. Fix code searching for a window showing the buffer
13334 on another frame.
c9d29fb8
SM
13335 (display-buffer-normalize-specifiers):
13336 Call display-buffer-normalize-arguments.
355f2e07
MR
13337 (display-buffer-in-window): Don't undedicate the window if its
13338 buffer remains the same.
13339 Reported by Drew Adams <drew.adams@oracle.com>.
13340 (display-buffer-alist): Add choice for same-window macro
13341 specfier.
13342 (display-buffer): Mention special meaning of LABEL argument in
13343 doc-string. Fix quoting. Don't pop up a new frame even as
13344 fallback.
13345
7ca8fc42
JB
133462011-06-26 Juanma Barranquero <lekktu@gmail.com>
13347
13348 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13349 avoid deleting the current window in some cases (bug#8911).
13350
bc312254
AS
133512011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13352
13353 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13354 (Bug#8934)
13355
2db18f3f
LMI
133562011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13357
c9d29fb8
SM
13358 * net/network-stream.el (network-stream-open-starttls):
13359 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13360 (network-stream-open-tls): Ditto.
13361
6302e0d3
LL
133622011-06-26 Leo Liu <sdl.web@gmail.com>
13363
13364 * register.el (registerv): New struct.
13365 (registerv-make): New function.
c9d29fb8
SM
13366 (jump-to-register, describe-register-1, insert-register):
13367 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13368 struct. (Bug#8415)
13369
5fdd4046
CY
133702011-06-26 Chong Yidong <cyd@stupidchicken.com>
13371
2afef60a
CY
13372 * vc/vc.el (vc-revert-show-diff): New defcustom.
13373 (vc-diff-internal): New arg specifying diff buffer.
13374 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13375 reuse an existing *vc-diff* buffer (Bug#8927).
13376
5fdd4046
CY
13377 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13378
e93db24a
GM
133792011-06-26 Glenn Morris <rgm@gnu.org>
13380
13381 * progmodes/f90.el (f90-critical-indent): New option.
13382 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13383 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13384 (f90-mode): Doc fix.
13385 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13386 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13387 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13388 (f90-match-end): Handle block, critical.
13389
eefff499
GM
133902011-06-25 Glenn Morris <rgm@gnu.org>
13391
f6ba4cc9
GM
13392 * calendar/diary-lib.el (diary-included-files): Doc fix.
13393 (diary-include-files): New function, extracted from
13394 diary-include-other-diary-files and diary-mark-included-diary-files.
13395 (diary-include-other-diary-files, diary-mark-included-diary-files):
13396 Just call diary-include-files.
13397 (diary-mark-entries): Reset diary-included-files on first call.
13398
16712304
GM
13399 * calendar/diary-lib.el (diary-mark-entries)
13400 (diary-mark-included-diary-files):
13401 Visit included diary-files in temp buffers.
13402
5d8e0d43
GM
13403 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13404 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13405 (f90-start-block-re, f90-imenu-generic-expression)
13406 (f90-looking-at-program-block-start, f90-no-block-limit):
13407 Add support for submodules.
13408
ccf7a5d5
GM
13409 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13410 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13411
11fdef7d 134122011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13413
13414 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13415 buffer-file-type before setting its value, to avoid disastrous
eefff499 13416 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13417
74f53697
JB
134182011-06-25 Juanma Barranquero <lekktu@gmail.com>
13419
13420 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13421
13422 * ses.el (ses-unload-function):
13423 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13424
13425 * proced.el (proced-unload-function):
13426 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13427
18a4ce5e
AR
134282011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13429
13430 * server.el (server-create-window-system-frame): Add parameters arg.
13431 (server-process-filter): Doc fix. Handle frame-parameters.
13432
519d22cc
JB
134332011-06-25 Juanma Barranquero <lekktu@gmail.com>
13434
13435 Fix bug#8730, bug#8781.
13436
13437 * loadhist.el (unload--set-major-mode): New function.
13438 (unload-feature): Use it.
13439
13440 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13441 (python-unload-function): New function.
13442
c206f5b0
SM
134432011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13444
13445 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13446
f9ad64f3
GS
134472011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13448
13449 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13450 the candidates list.
13451
7d0da90e
JB
134522011-06-24 Juanma Barranquero <lekktu@gmail.com>
13453
13454 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13455
14b4e83d
RS
134562011-06-23 Richard Stallman <rms@gnu.org>
13457
13458 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13459 (rmail-variables): Set next-error-move-function.
13460 (rmail-what-message): Take argument POS.
13461 (rmail-next-error-move): New function.
13462
273d2baf
SM
134632011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13464
13465 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13466 messages for adjacent non-terminals.
13467
56c2cc9a
RS
134682011-06-23 Richard Stallman <rms@gnu.org>
13469
13470 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13471 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13472 (rmail-start-mail): Don't specify use of rmail-mail-return;
13473 that's done by mail-bury now.
13474 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13475
d59eb518
MA
134762011-06-23 Michael Albinus <michael.albinus@gmx.de>
13477
13478 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13479 SIZE is a number.
13480
02cfc6d6
MR
134812011-06-23 Martin Rudalics <rudalics@gmx.at>
13482
13483 * window.el (get-lru-window, get-mru-window)
13484 (get-largest-window): Never return a minibuffer window.
13485 (display-buffer-pop-up-window): Fix a bug that could lead to
13486 reusing the minibuffer window.
13487 (display-buffer): Pass original specifier argument to
13488 display-buffer-function instead of the normalized one.
13489 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13490
4e323265
LL
134912011-06-22 Leo Liu <sdl.web@gmail.com>
13492
13493 * minibuffer.el (completing-read-function)
13494 (completing-read-default): Move from minibuf.c
13495
7a70468f
RS
134962011-06-22 Richard Stallman <rms@gnu.org>
13497
50718fc2
RS
13498 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13499 to Rmail even if not started by a special Rmail command.
13500
7a70468f
RS
13501 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13502 Copy the buffer currently showing just one message.
13503
297dde5a
RW
135042011-06-22 Roland Winkler <winkler@gnu.org>
13505
13506 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13507 (bibtex-clean-entry): First delete the old key so that a
13508 customized algorithm for generating the new key does not get
13509 confused by the old key.
13510 (bibtex-url): Obey regexp of first step.
13511 (bibtex-search-entries): Do not use add-to-list with local
13512 list-var.
13513
97bb1093
LMI
135142011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13515
13516 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13517 stored a user name, then query for the password first, instead of
13518 waiting for SMTP to give an error message and the trying again.
13519
1c0f1a19
JD
135202011-06-22 Lawrence Mitchell <wence@gmx.li>
13521
13522 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13523 BUFFER in call-process.
13524
396f7c9d
LMI
135252011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13526
13527 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13528 QUIT twice.
ddb7ffee
LMI
13529 (smtpmail-try-auth-methods): Require user name and password from
13530 auth-source.
396f7c9d 13531
8998d1b3
MR
135322011-06-22 Martin Rudalics <rudalics@gmx.at>
13533
13534 * window.el (display-buffer-default-specifiers)
13535 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13536 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13537 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13538
13539 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13540 (special-display-frame-alist, special-display-popup-frame):
13541 Remove duplicate declarations. These are now in window.el.
13542
4ea31e07
LMI
135432011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13544
c9d29fb8
SM
13545 * mail/smtpmail.el (smtpmail-via-smtp):
13546 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13547 server supports it. SMTP servers that support STARTTLS commonly
13548 require it.
13549
13550 * net/network-stream.el (network-stream-open-starttls): Support
13551 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13552 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13553
95f41d9a
LMI
13554 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13555 upgrades with `open-network-stream', and rely solely on
13556 auth-source for all credentials. Big changes throughout the file,
13557 but in particular:
c9d29fb8
SM
13558 (smtpmail-auth-credentials): Remove.
13559 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13560 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13561 MAIL FROM, too.
95f41d9a 13562
c9d29fb8
SM
13563 * net/network-stream.el (network-stream-open-starttls):
13564 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13565 STARTTLS.
13566 (auth-source): Require.
13567 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13568 (network-stream-certificate): Change cert-cert to cert and
13569 cert-key to key.
4ea31e07 13570
065ec2c7
MA
135712011-06-21 Michael Albinus <michael.albinus@gmx.de>
13572
13573 * net/tramp-cache.el (top): Don't load the persistency file when
13574 "emacs -Q" has been called.
13575
cd93b359
DR
135762011-06-21 Tim Harper <timcharper@gmail.com>
13577
d8e4b68b
JB
13578 * term/ns-win.el (ns-initialize-window-system):
13579 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13580 resource to NO as it is not yet supported by the NS port.
13581
ae9c0411
JB
135822011-06-21 Juanma Barranquero <lekktu@gmail.com>
13583
13584 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13585 (list-dynamic-libraries): ...not here.
13586
7f3f739f
LL
135872011-06-21 Leo Liu <sdl.web@gmail.com>
13588
13589 * subr.el (sha1): Implement sha1 using secure-hash.
13590
327c8fb1
MR
135912011-06-21 Martin Rudalics <rudalics@gmx.at>
13592
13593 * window.el (display-buffer-alist): In default value do not
13594 enforce searching a window on any but the selected frame.
13595 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13596 (display-buffer-select-window): Remove function.
13597 (display-buffer-in-window): When a window on another frame gets
13598 reused, do not select it any more but just raise its frame if
13599 necessary (Bug#8851) and (Bug#8856).
13600 (display-buffer-normalize-options): Handle pop-up-frames related
13601 options more faithfully.
13602 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13603 window if it is on another frame.
c9d29fb8
SM
13604 (display-buffer-alist, display-buffer-default-specifiers):
13605 Don't make new frame unsplittable by default.
9e9de014
MR
13606 (display-buffer-normalize-argument): Fix doc-string typo and use
13607 'same-frame-other-window instead of 'other-window when associating
13608 with display-buffer-macro-specifiers.
327c8fb1 13609
7cf3f556
VB
136102011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13611
13612 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13613 New functions.
13614 (5x5-mode-map, 5x5-mode-menu): Bind them.
13615 (5x5-draw-grid): Tweak the solver's rendering.
13616
60a406cf
SM
136172011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13618
13619 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13620 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13621
d8e4b68b 136222011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13623
13624 * menu-bar.el: Use function variable instead of switch-to-buffer.
13625 (menu-bar-select-buffer-function): New variable.
60a406cf 13626 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13627
478d6f95
SM
136282011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13629
13630 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13631 variable's status.
13632
ca530739
JD
136332011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13634
13635 * x-dnd.el (x-dnd-version-from-flags)
13636 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13637 and long as number (Bug#8899).
13638 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13639
bcd70d97
SM
136402011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13641
60a406cf 13642 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13643 (completion-try-completion, completion-all-completions): Compute the
13644 metadata argument if it's missing; make it optional (bug#8795).
13645
60a406cf 13646 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13647 (widget-complete): Use new :completion-function property.
13648 (widget-completions-at-point): New function.
13649 (default): Use :completion-function instead of :complete.
60a406cf
SM
13650 (widget-default-completions): Rename from widget-default-complete;
13651 Rewrite.
bcd70d97
SM
13652 (widget-string-complete, widget-file-complete, widget-color-complete):
13653 Remove functions.
13654 (file, symbol, function, variable, coding-system, color):
13655 * international/mule-cmds.el (default-input-method, charset)
13656 (language-info-custom-alist):
13657 * cus-edit.el (face): Use new property :completions.
13658
13659 * progmodes/pascal.el (pascal-completions-at-point): New function.
13660 (pascal-mode): Use it.
13661 (pascal-mode-map): Use completion-at-point.
13662 (pascal-toggle-completions): Make obsolete.
13663 (pascal-complete-word, pascal-show-completions):
13664 * progmodes/octave-mod.el (octave-complete-symbol):
13665 Redefine as obsolete alias.
13666 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13667 Signal absence of completion info for old Octave,
13668 (inferior-octave-complete): Redefine as obsolete alias.
13669 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13670 (meta-completions-at-point): Rename from meta-complete-symbol and
13671 adapt it for use on completion-at-point-functions.
13672 (meta-common-mode): Use it.
13673 (meta-looking-at-backward, meta-match-buffer): Remove.
13674 (meta-complete-symbol): Redefine as obsolete alias.
13675 (meta-common-mode-map): Use completion-at-point.
13676 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13677 (makefile-mode-map): Use completion-at-point.
13678 (makefile-completions-at-point): Rename from makefile-complete and
13679 adapt it for use on completion-at-point-functions.
13680 (makefile-mode): Use it.
13681 (makefile-complete): Redefine as obsolete alias.
13682
aebf69c8
DD
136832011-06-20 Deniz Dogan <deniz@dogan.se>
13684
13685 * net/rcirc.el: Delete trailing whitespaces once and for all.
13686
bfbbb27d
DC
136872011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13688
13689 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13690
d264a46b
CY
136912011-06-19 Chong Yidong <cyd@stupidchicken.com>
13692
4ca009e5
CY
13693 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13694
d264a46b
CY
13695 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13696
fbf5b3ce
MR
136972011-06-19 Martin Rudalics <rudalics@gmx.at>
13698
13699 * window.el (display-buffer-other-window-means-other-frame):
13700 Call display-buffer-normalize-alist.
13701 (display-buffer-normalize-specifiers-1): Rename to
13702 display-buffer-normalize-argument. New argument other-frame.
13703 Rewrite.
13704 (display-buffer-normalize-specifiers-2): Rename to
13705 display-buffer-normalize-options.
13706 (display-buffer-normalize-alist-1): New function.
13707 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13708 display-buffer-normalize-alist.
13709 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13710 (display-buffer-normalize-options-inhibit): New variable.
13711 (display-buffer-normalize-specifiers): Rewrite calling
13712 display-buffer-normalize-alist,
13713 display-buffer-normalize-argument, and
13714 display-buffer-normalize-options. Don't call the latter if
13715 display-buffer-normalize-options-inhibit is non-nil.
13716 (frame-auto-delete): New option.
13717 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13718 (window-list-no-nils, window-state-ignored-parameters)
13719 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13720 (window-state-put-1, window-state-put-2, window-state-put):
13721 New functions.
9a028c23
MR
13722 (display-buffer-normalize-options): Move special-display-p group
13723 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13724
6d10d800
CY
137252011-06-18 Chong Yidong <cyd@stupidchicken.com>
13726
6420d28b
CY
13727 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13728 groups (Bug#8776).
13729 (rx-submatch-n): New function.
13730 (rx): Document it.
13731
ddb8b596
CY
13732 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13733 (Bug#8768).
13734
13735 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13736
77080289
CY
13737 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13738
61dfb316
CY
13739 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13740 anytime existing face settings are present (Bug#8889).
13741
6d10d800
CY
13742 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13743 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13744 Remove unused argument.
13745
be3fb2b8
MR
137462011-06-18 Martin Rudalics <rudalics@gmx.at>
13747
bcd70d97
SM
13748 * window.el (display-buffer-default-specifiers):
13749 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13750 pop-up-window-min-width, and another reuse-window specifier
13751 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13752 (display-buffer-normalize-specifiers-2):
13753 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13754 pop-up-windows is unset. Add a reuse-window specifier for the
13755 case popping up a new window fails.
13756 (special-display-popup-frame): Remove double quoting.
28dec25a 13757 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13758
1c6d8c76
SM
137592011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13760
13761 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13762 according to comint-completion-addsuffix.
13763
13764 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13765 (pcomplete-suffix-list): Mark as obsolete.
13766 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13767 pcomplete-seen in the closure.
13768 (pcomplete-comint-setup): Setup completion-at-point as well.
13769 (pcomplete--entries): New function.
13770 (pcomplete--env-regexp): New var.
13771 (pcomplete-entries): Rewrite to work with partial-completion and
13772 without relying on pcomplete-suffix-list.
13773 (pcomplete-pare-list): Remove, unused.
13774
25aef8b8
MR
137752011-06-17 Martin Rudalics <rudalics@gmx.at>
13776
13777 * window.el (display-buffer-alist): Set pop-up-window-min-height
13778 and pop-up-window-min-width in default value. Reported by
13779 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13780 other-window-means-other-frame.
13781 (display-buffer-macro-specifiers): Comment out entry for
13782 other-window specifier.
13783 (display-buffer-other-window-means-other-frame): New function.
13784 (display-buffer-normalize-specifiers-1): New arguments
13785 buffer-name and label. Treat other-window case specially.
13786 (display-buffer-normalize-specifiers-2): Treat other-window case
13787 specially.
13788 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13789 (display-buffer-normalize-specifiers):
13790 Call display-buffer-normalize-specifiers-3.
25aef8b8 13791
dbad4f69
MR
137922011-06-17 Martin Rudalics <rudalics@gmx.at>
13793
13794 * window.el (same-window-p): Fix two typos introduced when
13795 adding with-no-warnings.
d1067961
MR
13796 (display-buffer-normalize-specifiers-1): Don't check
13797 pop-up-frames for 'unset initialization.
13798 (display-buffer-normalize-specifiers-2): Major rewrite using
13799 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13800 (pop-up-frames, display-buffer-reuse-frames)
13801 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13802 Suggested by David Engster <deng@randomsample.de>.
13803 (even-window-heights): Initialize to 'unset.
13804 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13805 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13806 other window case.
dbad4f69 13807
9b9c9e3a
MR
138082011-06-16 Martin Rudalics <rudalics@gmx.at>
13809
bcd70d97
SM
13810 * window.el (display-buffer-normalize-specifiers-1):
13811 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13812 second argument of display-buffer (Bug#8865).
981d5c09
MR
13813 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13814 (switch-to-buffer-other-window-same-frame)
13815 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13816 Adams (Bug#8875).
9c2755e9
MR
13817 (display-buffer): Don't check noninteractive when calling
13818 display-buffer-pop-up-frame.
13819 (display-buffer-pop-up-frame): Never pop up a frame in
13820 noninteractive mode (Bug#8857).
67222e1d
MR
13821 (enlarge-window, shrink-window): Don't report an error when the
13822 window can't be resized as requested (Bug#8862).
9b9c9e3a 13823
2b75be67
SM
138242011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13825
9ffdd3ba
SM
13826 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13827
cb581a67
SM
13828 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13829
2b75be67
SM
13830 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13831
8c0e3589
AM
138322011-06-15 Alan Mackenzie <acm@muc.de>
13833
cb581a67
SM
13834 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13835 for declarators, disable knr checking to speed up for normal files.
13836 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13837
b96e6cde
LMI
138382011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13839
4bba86e6
LMI
13840 * net/network-stream.el (open-network-stream): Add the keyword
13841 :always-query-capabilities for the case where you want to force a
13842 `plain' network connection, but the protocol still requires the
13843 capabilitiy command (i.e., SMTP and EHLO).
13844
2b75be67 13845 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13846 consistency with other `-live-p' functions.
13847
efdcdbf8
SM
138482011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13849
13850 * window.el (same-window-buffer-names, same-window-regexps)
13851 (special-display-frame-alist, special-display-popup-frame)
13852 (special-display-function, special-display-buffer-names)
13853 (special-display-regexps, pop-up-frame-alist)
13854 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13855 (pop-up-windows, split-window-preferred-function)
13856 (split-height-threshold, split-width-threshold, even-window-heights)
13857 (display-buffer-mark-dedicated): Don't encourage the use of
13858 display-buffer-alist from Elisp code.
13859
c5cde042
DN
138602011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13861
13862 * progmodes/python.el (python-mode): Derive from prog-mode.
13863 * progmodes/ps-mode.el (ps-mode):
13864 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13865 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13866 * progmodes/ld-script.el (ld-script-mode): Likewise.
13867
baa1c9ab
MR
138682011-06-15 Martin Rudalics <rudalics@gmx.at>
13869
13870 * window.el (display-buffer-alist): Trim default value to avoid
13871 popping up a new frame (Bug#8857) or reusing an arbitrary window
13872 on another frame.
13873 (display-buffer): Do not fall back on popping up a new frame in
13874 batch mode (Bug#8857).
13875
c5dd5a51
CY
138762011-06-14 Chong Yidong <cyd@stupidchicken.com>
13877
13878 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13879 (custom-theme-summary): New function.
13880 (customize-themes): Use it.
13881
d647b7c4
GM
138822011-06-13 Glenn Morris <rgm@gnu.org>
13883
13884 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13885
9481c002
MR
138862011-06-13 Martin Rudalics <rudalics@gmx.at>
13887
357f93d2
MR
13888 * help.el (help-window): Remove variable.
13889 (help-window-point-marker, temp-buffer-max-height)
13890 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13891 (help-print-return-message): Don't set help-window.
13892 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13893 (help-window-setup-finish): Remove.
13894 (help-window-display-message, help-window-setup)
13895 (with-help-window): Major rewrite based on new
13896 display-buffer-window variable.
13897
13898 * help-mode.el (help-mode-finish): Remove help-window related
13899 code.
13900
13901 * view.el (view-exits-all-viewing-windows): Remove reference to
13902 view-return-to-alist in doc-string.
13903 (view-return-to-alist): Make obsolete.
13904 (view-buffer): Call pop-to-buffer-same-window and remove
13905 undo-window code.
13906 (view-buffer-other-window): Call pop-to-buffer-other-window and
13907 simplify code. Ignore second argument.
13908 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13909 simplify code. Ignore second argument.
13910 (view-return-to-alist-update): Make obsolete.
13911 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13912 Rewrite using quit-restore window parameters.
2b75be67
SM
13913 (view-mode-exit): Rename second argument to EXIT-ONLY.
13914 Rewrite using quit-restore-window.
357f93d2
MR
13915 (View-exit, View-exit-and-edit, View-leave, View-quit)
13916 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13917 appropriate arguments.
13918 (view-end-message): Use quit-restore window parameter.
13919
9481c002
MR
13920 * window.el (display-buffer-function): Rewrite doc-string.
13921 (display-buffer-window, display-buffer-alist): New variables.
13922 (display-buffer-split-specifiers)
13923 (display-buffer-side-specifiers)
13924 (display-buffer-macro-specifiers): New constants.
13925 (display-buffer-even-window-sizes, display-buffer-set-height)
13926 (display-buffer-set-width, display-buffer-select-window)
13927 (display-buffer-in-window, display-buffer-reuse-window)
13928 (display-buffer-split-window-1, display-buffer-split-window)
13929 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13930 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13931 (display-buffer-in-side-window, normalize-buffer-to-display)
13932 (display-buffer-normalize-specifiers-1)
13933 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13934 (display-buffer-normalize-specifiers, display-buffer-frame):
13935 New functions.
9481c002
MR
13936 (display-buffer): Major rewrite.
13937 (display-buffer-other-window, display-buffer-other-frame)
13938 (pop-to-buffer, switch-to-buffer-other-window)
13939 (switch-to-buffer-other-frame): Rewrite.
13940 (display-buffer-same-window, display-buffer-same-frame)
13941 (display-buffer-same-frame-other-window)
13942 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13943 (pop-to-buffer-other-window)
13944 (pop-to-buffer-same-frame-other-window)
13945 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13946 (switch-to-buffer-other-window-same-frame): New functions.
13947 (same-window-p, special-display-p): Rewrite disabling warnings.
13948 Make obsolete.
13949 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13950 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13951 Make obsolete
13952 (same-window-buffer-names, same-window-regexps)
13953 (special-display-frame-alist, special-display-popup-frame)
13954 (special-display-function, special-display-buffer-names)
13955 (special-display-regexps, pop-up-frame-alist)
13956 (pop-up-frame-function, split-window-preferred-function)
13957 (split-height-threshold, split-width-threshold)
13958 (even-window-heights): Make obsolete.
13959
9db51aca
GM
139602011-06-12 Glenn Morris <rgm@gnu.org>
13961
13962 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13963 Misc simplifications.
9db51aca 13964
39cffb44
MR
139652011-06-12 Martin Rudalics <rudalics@gmx.at>
13966
13967 * window.el (window-safely-shrinkable-p): Restore function which
13968 was inadvertently removed in change from 2011-06-11. Declare as
13969 obsolete.
13970
2b75be67
SM
13971 * calendar/calendar.el (calendar-generate-window):
13972 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13973 window-safely-shrinkable-p.
13974
a8955be7
GM
139752011-06-12 Glenn Morris <rgm@gnu.org>
13976
13977 * progmodes/fortran.el (fortran-mode-syntax-table):
13978 * progmodes/f90.el (f90-mode-syntax-table):
13979 Set % to punctuation. (Bug#8820)
13980 (f90-find-tag-default): Remove, no longer needed.
13981
f0d4059d
DC
139822011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13983
13984 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13985
1100a63c
CY
139862011-06-11 Chong Yidong <cyd@stupidchicken.com>
13987
13988 * image.el (image-animated-p): Return animation delay in seconds.
13989 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13990 (image-animate-timeout): Remove DELAY argument. Don't assume
13991 every subimage has the same delay; get it from image-animated-p.
13992 (image-animate): Caller changed.
13993
def722bf
MA
139942011-06-11 Michael Albinus <michael.albinus@gmx.de>
13995
13996 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13997 to ignored backtrace functions.
13998
0a2bb1a9
GM
139992011-06-11 Glenn Morris <rgm@gnu.org>
14000
14001 * calendar/appt.el (appt-disp-window-function): Doc fix.
14002 (appt-check): Handle overlapping appointments. (Bug#8337)
14003
6198ccd0
MR
140042011-06-11 Martin Rudalics <rudalics@gmx.at>
14005
14006 * window.el (window-tree-1, window-tree): New functions, moving
14007 the latter to window.el.
14008 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
14009 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
14010 (bw-refresh-edges): Remove.
14011 (balance-windows-1, balance-windows-2): New functions.
14012 (balance-windows): Rewrite in terms of window tree functions,
14013 balance-windows-1 and balance-windows-2.
14014 (bw-adjust-window): Remove.
14015 (balance-windows-area-adjust): New function with functionality of
14016 bw-adjust-window but using resize-window.
2b75be67
SM
14017 (set-window-text-height): Rewrite doc-string.
14018 Use normalize-live-window and resize-window.
14019 (enlarge-window-horizontally, shrink-window-horizontally):
14020 Rename argument to DELTA.
6198ccd0
MR
14021 (window-buffer-height): New function.
14022 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
14023 Rewrite using new window resize routines.
2b75be67
SM
14024 (kill-buffer-and-window, mouse-autoselect-window-select):
14025 Use ignore-errors instead of condition-case.
6198ccd0
MR
14026 (quit-window): Call delete-frame instead of delete-windows-on
14027 for the only buffer on frame.
14028
9397e56f
MR
140292011-06-10 Martin Rudalics <rudalics@gmx.at>
14030
14031 * loadup.el (top-level): Load window before files for the sake
14032 of replace-buffer-in-windows.
14033
14034 * files.el (read-buffer-to-switch)
14035 (switch-to-buffer-other-window)
2b75be67
SM
14036 (switch-to-buffer-other-frame, display-buffer-other-frame):
14037 Move to window.el.
9397e56f
MR
14038
14039 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
14040 (previous-buffer): Move to window.el.
14041
14042 * bindings.el (unbury-buffer): Move to window.el.
14043
14044 * window.el (delete-other-windows-vertically): Move after
14045 definition of delete-other-windows.
14046 (other-window, delete-windows-on, replace-buffer-in-windows):
14047 Move here from window.c.
14048 (record-window-buffer, unrecord-window-buffer)
14049 (set-window-buffer-start-and-point, switch-to-prev-buffer)
14050 (switch-to-next-buffer): New functions.
14051 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14052 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14053 (previous-buffer): Move here from simple.el.
14054 Call switch-to-prev-buffer.
9397e56f
MR
14055 (bury-buffer): Move here from buffer.c. Switch to previous
14056 buffer when window cannot be deleted.
14057 (unbury-buffer): Move here from bindings.el.
14058 (ctl-x-map): Move binding for other-window from window.c to
14059 here.
14060 (read-buffer-to-switch, switch-to-buffer-other-window)
14061 (switch-to-buffer-other-frame): Move here from files.el.
14062 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14063 (switch-to-buffer): Move here from buffer.c.
14064 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14065
562dd5e9
MR
140662011-06-10 Martin Rudalics <rudalics@gmx.at>
14067
14068 * window.el (window-min-height, window-min-width): Move here
14069 from window.c. Add defcustoms and rewrite doc-strings.
14070 (resize-mini-window, resize-window): New functions.
14071 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14072 Move here from window.c.
14073 (maximize-window, minimize-window): New functions.
14074 (delete-window, delete-other-windows, split-window): Move here
14075 from window.c.
14076 (window-split-min-size): New function.
14077 (split-window-keep-point): Mention split-window-above-each-other
14078 instead of split-window-vertically.
2b75be67 14079 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14080 Rename split-window-vertically to split-window-above-each-other
14081 and provide defalias for old definition.
14082 (split-window-side-by-side, split-window-horizontally):
14083 Rename split-window-horizontally to split-window-side-by-side
14084 and provide defalias for the old definition.
562dd5e9
MR
14085 (ctl-x-map): Move bindings for delete-window,
14086 delete-other-windows and enlarge-window here from window.c.
14087 Replace bindings for split-window-vertically and
14088 split-window-horizontally by bindings for
14089 split-window-above-each-other and split-window-side-by-side.
14090
14091 * cus-start.el (all): Remove entries for window-min-height and
14092 window-min-width. Add entries for window-splits and
14093 window-nest.
14094
f0da764a
GM
140952011-06-09 Glenn Morris <rgm@gnu.org>
14096
80675c21
GM
14097 * calendar/appt.el (appt-mode-line): New function.
14098 (appt-check, appt-disp-window): Use it.
14099
f0da764a
GM
14100 * files.el (hack-one-local-variable-eval-safep):
14101 Allow minor-modes with explicit +/-1 arguments.
14102
59f623b7
TZ
141032011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14104
14105 * term/xterm.el (xterm): Add defgroup.
14106 (xterm-extra-capabilities): Add defcustom to supply known xterm
14107 capabilities, skip querying them, or query them (default).
14108 (terminal-init-xterm): Use it.
14109 (terminal-init-xterm-modify-other-keys): New function to set up
14110 modifyOtherKeys support to simplify `terminal-init-xterm'.
14111
9aab8e0d
MR
141122011-06-09 Martin Rudalics <rudalics@gmx.at>
14113
14114 * window.el (resize-window-reset, resize-window-reset-1)
14115 (resize-subwindows-skip-p, resize-subwindows-normal)
14116 (resize-subwindows, resize-other-windows, resize-this-window)
14117 (resize-root-window, resize-root-window-vertically)
14118 (window-deletable-p, window-or-subwindow-p)
14119 (frame-root-window-p): New functions.
14120
e8b08aee
GM
141212011-06-09 Glenn Morris <rgm@gnu.org>
14122
14123 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14124 (ange-ftp-get-files): Use it.
14125
254c37a5
AK
141262011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14127
14128 * mail/sendmail.el (mail-recover-1, mail-recover):
14129 * files.el (recover-file, recover-session):
14130 Handle dired-listing-switches not being just a single short option.
14131
35d7dbd3
GM
141322011-06-09 Glenn Morris <rgm@gnu.org>
14133
14134 * calendar/appt.el (appt-display-message, appt-disp-window):
14135 Handle lists of appointments.
14136
387522b2
MR
141372011-06-08 Martin Rudalics <rudalics@gmx.at>
14138
2b75be67
SM
14139 * window.el (one-window-p): Move down in code.
14140 Rewrite doc-string.
14141 (window-current-scroll-bars): Rewrite doc-string.
14142 Normalize live window argument.
387522b2
MR
14143 (walk-windows, get-window-with-predicate, count-windows):
14144 Rewrite doc-string. Use window-list-1.
14145 (window-in-direction-2, window-in-direction, get-mru-window):
14146 New functions.
14147
d8e4b68b 141482011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14149
14150 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14151 Doc fix (Bug#8713).
14152
141532011-06-08 Chong Yidong <cyd@stupidchicken.com>
14154
14155 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14156
141572011-06-08 Juanma Barranquero <lekktu@gmail.com>
14158
14159 * loadhist.el (unload-feature-special-hooks):
14160 Add `comint-output-filter-functions'.
14161
0de12c52
IK
141622011-06-08 Ivan Kanis <gnu@kanis.fr>
14163
14164 * calendar/appt.el (appt-check): Move some initializations into the let.
14165
f3d1777e
MR
141662011-06-08 Martin Rudalics <rudalics@gmx.at>
14167
14168 * window.el (window-height): Defalias to window-total-height.
14169 (window-width): Defalias to window-body-width.
14170
18af70d0
CY
141712011-06-07 Chong Yidong <cyd@stupidchicken.com>
14172
14173 * image-mode.el (image-toggle-animation): New command.
14174 (image-mode-map): Bind it to RET.
14175 (image-mode): Update message.
14176 (image-toggle-display-image): Avoid a spurious cache flush.
14177 (image-transform-rotation): Doc fix.
14178 (image-transform-properties): Return quickly in the normal case.
14179 (image-animate-loop): Rename from image-animate-max-time.
14180
2b75be67 14181 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14182 (create-animated-image): Remove unnecessary function.
14183 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14184 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14185 (image-animate-timer): Use car-safe.
14186 (image-animate-timeout): Rename argument.
14187
190b47e6
MR
141882011-06-07 Martin Rudalics <rudalics@gmx.at>
14189
14190 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14191 window.c. Rename first argument to ALL-FRAMES.
14192 Rephrase doc-strings.
14193 (get-buffer-window-list): Rewrite using window-list-1.
14194 Rephrase doc-string.
a1511caf
MR
14195 (window-safe-min-height, window-safe-min-width): New constants.
14196 (window-size-ignore, window-min-size, window-min-size-1)
14197 (window-sizable, window-sizable-p, window-size-fixed-1)
14198 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14199 (window-max-delta-1, window-max-delta, window-resizable)
14200 (window-resizable-p, window-total-height, window-total-width)
14201 (window-body-width): New functions.
14202 (window-full-height-p, window-full-width-p): Rewrite using
14203 window-total-size.
14204 (window-body-height): Rewrite using window-body-size.
190b47e6 14205
85cc1f11
MR
142062011-06-06 Martin Rudalics <rudalics@gmx.at>
14207
14208 * window.el (window-right, window-left, window-child)
14209 (window-child-count, window-last-child, window-any-p)
14210 (normalize-live-buffer, normalize-live-frame)
14211 (normalize-any-window, normalize-live-window)
14212 (window-iso-combination-p, window-iso-combined-p)
14213 (window-iso-combinations)
14214 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14215 (windows-with-parameter, window-with-parameter)
14216 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14217 (window-atom-check, window-side-check, window-check):
14218 New functions.
85cc1f11
MR
14219 (ignore-window-parameters, window-sides, window-sides-vertical)
14220 (window-sides-slots): New variables.
14221 (window-size-fixed): Move down in code. Minor doc-string fix.
14222
e7156492
AS
142232011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14224
14225 * comint.el (comint-dynamic-complete-as-filename)
14226 (comint-dynamic-complete-filename): Correctly call
14227 completion-in-region.
14228
7e821d0d
DD
142292011-06-05 Deniz Dogan <deniz@dogan.se>
14230
14231 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14232 in last change.
14233
ac09b8a1
DD
142342011-06-05 Deniz Dogan <deniz@dogan.se>
14235
14236 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14237 (rcirc): Use it to prompt for encryption.
14238
34699b85
RW
142392011-06-05 Roland Winkler <winkler@gnu.org>
14240
14241 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14242 (bibtex-search-entries): New command bound to C-c C-a.
14243 (bibtex-display-entries): New function.
14244
004dedd3
RW
142452011-06-05 Roland Winkler <winkler@gnu.org>
14246
14247 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14248 (bibtex-insert-kill): After yanking insert newline if necessary.
14249 (bibtex-initialize): Call bibtex-string-files-init only once.
14250 (bibtex-mode): Do not call easy-menu-add.
14251 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14252 (bibtex-yank): Set arg properly if nil.
14253
022fe7ce
RW
142542011-06-05 Roland Winkler <winkler@gnu.org>
14255
2b75be67
SM
14256 * textmodes/bibtex.el (bibtex-search-entry-globally):
14257 New variable.
022fe7ce
RW
14258 (bibtex-search-entry): Use it.
14259
b7c3692a
RW
142602011-06-05 Roland Winkler <winkler@gnu.org>
14261
14262 * textmodes/bibtex.el (bibtex-entry-format): New option
14263 sort-fields.
14264 (bibtex-format-entry, bibtex-reformat): Honor this option.
14265 (bibtex-parse-entry): Return fields in proper order.
14266
8eda563d
JB
142672011-06-05 Juanma Barranquero <lekktu@gmail.com>
14268
14269 * doc-view.el (doc-view-remove-if): Move computation of result out
14270 of `dolist' to silence misleading lexical-binding warning.
14271
7dbe3dbc
CY
142722011-06-04 Chong Yidong <cyd@stupidchicken.com>
14273
14274 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14275 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14276
0c33dd17
MA
142772011-06-04 Michael Albinus <michael.albinus@gmx.de>
14278
14279 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14280 "SunOS 5.10".
14281
f8f91c2b
MA
142822011-06-04 Michael Albinus <michael.albinus@gmx.de>
14283
14284 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14285 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14286 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14287 (tramp-parse-putty):
14288 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14289 (tramp-completion-function-alist-ssh)
14290 (tramp-completion-function-alist-telnet)
14291 (tramp-completion-function-alist-su)
14292 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14293 cookie.
14294
14295 * net/tramp-ftp.el:
14296 * net/tramp-sh.el:
14297 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14298 load "tramp.el" `tramp-set-completion-function'.
14299
e17d9003
SM
143002011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14301
14302 * shell.el: Require and use pcomplete.
14303 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14304 (shell-completion-vars): Set pcomplete-default-completion-function.
14305
6c4cab03
DD
143062011-06-04 Deniz Dogan <deniz@dogan.se>
14307
14308 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14309 `memq' (Bug#8799).
14310
ea9fafe0
SM
143112011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14312
14313 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14314
b3e945d3
JB
143152011-06-02 Juanma Barranquero <lekktu@gmail.com>
14316
14317 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14318 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14319 * vc/log-view.el (log-view-beginning-of-defun):
14320 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14321 (smerge-refine-forward, smerge-refine-chopup-region):
14322 Silence warning for unused `dotimes' counter variables.
14323
7d520089
SM
143242011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14325
14326 * net/tramp.el (tramp-with-progress-reporter): Rename from
14327 with-progress-reporter. Use `declare'.
14328 * net/tramp-smb.el:
14329 * net/tramp-sh.el:
14330 * net/tramp-gvfs.el: Update all uses.
14331
a1c2400f
JB
143322011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14333
14334 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14335 buffer isn't killed before making it current.
14336
2403c841
SM
143372011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 Silence various byte-compiler warnings.
14340 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14341 `access-type' and new obsolescence format.
14342 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14343 new format.
14344 (byte-compile-check-variable): New `access-type' argument.
14345 Only warn if the access-type is obsolete.
14346 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14347 (byte-compile-variable-set): Adjust callers.
14348 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14349 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14350 setting it as obsolete.
14351 * simple.el (minibuffer-completing-symbol):
14352 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14353 access as obsolete.
14354 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14355 obsolete yet.
14356 * international/quail.el (quail-mouse-choose-completion): Remove unused
14357 code referring to obsolete var.
14358 (quail-choose-completion-string): Remove.
14359 * server.el (server-clients-with, server-kill-buffer-query-function)
14360 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14361 * proced.el (proced-send-signal):
14362 * emacs-lisp/lisp.el (lisp-complete-symbol):
14363 Replace completion-annotate-function with completion-extra-properties.
14364
2462470b
SM
143652011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14366
fb5b2591
SM
14367 * simple.el (goto-line): Use read-number.
14368 (overriding-map-is-bound): Remove.
14369 (saved-overriding-map): Change default.
14370 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14371 Take the map as argument.
14372 (universal-argument, negative-argument, digit-argument): Use it.
14373 (restore-overriding-map): Adjust.
14374 (do-auto-fill): Use fill-forward-paragraph.
14375 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14376
fd6fa53f
SM
14377 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14378 (minibuffer-inactive-mode): New major mode.
14379 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14380 the *Messages* buffer" hack.
14381 (mouse-popup-menubar): Don't burp if the event is a normal key.
14382
2462470b
SM
14383 Miscellaneous tweaks.
14384 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14385 lexical scoping as in subr.el's dolist and dotimes.
14386 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14387 Silence compiler warning.
14388 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14389 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14390 * international/ccl.el (ccl-compile): Trivial simplification.
14391 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14392 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14393 `printflag' argument.
14394 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14395 Purecopy the whole obsolescence data.
14396
108bf785
LL
143972011-06-01 Leo Liu <sdl.web@gmail.com>
14398
14399 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14400 improve doc-string as suggested by Marco Pessotto
14401 <melmothx@gmail.com>.
14402 (rcirc-print): Fix last change.
14403
30a23501
SM
144042011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14405
14406 * minibuffer.el (complete-with-action): Return nil for the metadata and
14407 boundaries of non-functional tables.
14408 (completion-table-dynamic): Return nil for the metadata.
14409 (completion-table-with-terminator): Add default case, using
14410 complete-with-action.
14411 (completion--metadata): New function.
14412 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14413 to try and avoid pathological performance problems.
14414 (completion--embedded-envvar-table): Return `category' metadata.
14415
bcd54f83
LMI
144162011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14417
14418 * subr.el (process-alive-p): New tiny convenience function.
14419
e227544d
SM
144202011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14421
14422 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14423 content but also its previous major mode.
14424
e8296fdc
HE
144252011-05-31 Helmut Eller <eller.helmut@gmail.com>
14426
4d61f28d 14427 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14428 *Backtrace* buffer when we exit with C-M-c.
14429
620c53a6
SM
144302011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14431
14432 * minibuffer.el: Add metadata method to completion tables.
14433 (completion-category-overrides): New defcustom.
14434 (completion-metadata, completion--field-metadata)
14435 (completion-metadata-get, completion--styles)
14436 (completion--cycle-threshold): New functions.
14437 (completion-try-completion, completion-all-completions):
14438 Add `metadata' argument to choose completion-styles.
14439 (completion--do-completion): Use metadata to choose cycling.
14440 (completion-all-sorted-completions): Use metadata for sorting.
14441 Remove :completion-cycle-penalty which is not needed any more.
14442 (completion--try-word-completion): Add `metadata' argument.
14443 (minibuffer-completion-help): Check metadata for annotation function
14444 and sorting.
14445 (completion-file-name-table): Return `category' metadata.
14446 (minibuffer-completing-file-name): Make obsolete.
14447 * simple.el (minibuffer-completing-symbol): Make obsolete.
14448 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14449 completion-try-completion.
14450
1257e755
SM
144512011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14452
14453 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14454
3767e706
LL
144552011-05-30 Leo Liu <sdl.web@gmail.com>
14456
14457 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14458 (rcirc-print): Decode all incoming messages (bug#8744).
14459 (rcirc-decode-coding-system): Allow value nil for automatic coding
14460 system detection.
3767e706 14461
d1a5d56a
GM
144622011-06-01 Glenn Morris <rgm@gnu.org>
14463
14464 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14465
e8cbec34
CY
144662011-05-29 Chong Yidong <cyd@stupidchicken.com>
14467
14468 * image.el (image-animate-max-time): Allow nil and t values.
14469 Default to nil.
14470 (create-animated-image): Doc fix.
14471 (image-animate-start): Remove second arg; just use
14472 image-animate-max-time.
14473 (image-animate-timeout): Doc fix. Args changed.
14474
14475 * image-mode.el (image-toggle-display-image): Ensure that the
14476 image spec passed to the animate timer is the same object as in
58179cce 14477 the buffer's display property (Bug#6981).
e8cbec34
CY
14478 (image-transform-properties): Doc fix.
14479
14480 * image.el (image-animate-max-time): Default to nil.
14481
159daf87
MR
144822011-05-29 Martin Rudalics <rudalics@gmx.at>
14483
14484 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14485 entire buffer list (Bug#8184).
14486
d66c4c7c
CY
144872011-05-29 Chong Yidong <cyd@stupidchicken.com>
14488
14489 * image.el (imagemagick-types-inhibit)
14490 (imagemagick-register-types): Doc fix.
14491
80aec780
DD
144922011-05-29 Deniz Dogan <deniz@dogan.se>
14493
14494 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14495 default.
14496
1dd3c2d9
CY
144972011-05-29 Chong Yidong <cyd@stupidchicken.com>
14498
14499 * select.el: Don't perform clipboard-manager saving in hooks;
14500 leave the hooks empty.
14501
60e56523
LL
145022011-05-28 Leo Liu <sdl.web@gmail.com>
14503
14504 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14505 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14506 (occur-edit-mode): New major mode (Bug#8463).
14507 (occur-after-change-function): New function.
14508 (occur-engine): Give Occur tags a read-only property.
14509
2b1e1a22
KR
145102011-05-28 Kevin Ryde <user42@zip.com.au>
14511
14512 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14513
5d344e88
CY
145142011-05-28 Chong Yidong <cyd@stupidchicken.com>
14515
8e6ca83d
CY
14516 * bindings.el (help-echo): Make the initial non-indicator dash
14517 empty on graphical terminals (Bug#7295).
14518
5d344e88
CY
14519 * files.el (auto-mode-alist): Move config rule after the
14520 in-stripping one (Bug#8547).
14521
bfbbace7
CY
14522 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14523
fbeba6e2
CY
14524 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14525 setting (Bug#8740).
14526
60ed8c72
AA
145272011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14528
4ac619f0
AA
14529 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14530 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14531 (Bug#8539).
60ed8c72 14532
23db196e
CY
145332011-05-28 Chong Yidong <cyd@stupidchicken.com>
14534
14535 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14536
5012f24c
DK
145372011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14538
14539 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14540 (hs-hide-block-at-point, hs-find-block-beginning)
14541 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14542 (Bug#8279).
14543
6a639b16
GM
145442011-05-28 Glenn Morris <rgm@gnu.org>
14545
14546 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14547
d43eaf2c
CY
145482011-05-28 Chong Yidong <cyd@stupidchicken.com>
14549
5199bde1
CY
14550 * help-fns.el (describe-function-1): If the function is a derived
14551 major mode, print the parent mode.
14552
d43eaf2c
CY
14553 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14554 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14555
423428a8
SM
145562011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14557
0ff8e1ba 14558 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14559 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14560 * progmodes/etags.el (tags-completion-at-point-function):
14561 * info-look.el (info-lookup-completions-at-point): Mark as
14562 non-exclusive.
14563 (info-complete): Adjust accordingly.
14564
423428a8
SM
14565 * info-look.el: Convert to lexical-binding and completion-at-point.
14566 (info-lookup-completions-at-point): New function.
14567 (info-complete): Use it and completion-in-region.
14568
b74aa22b
DA
145692011-05-28 Drew Adams <drew.adams@oracle.com>
14570
14571 * isearch.el: Let M-e start with point at the first mismatched char.
14572 (isearch-fail-pos): New function.
14573 (isearch-edit-string): Use it.
14574
66e2e71d
DK
145752011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14576
14577 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14578
b1890b0f 145792011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14580
14581 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14582 traversal functions for avl-trees.
14583 (avl-tree--stack): New struct.
14584 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14585 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14586 (avl-tree--do-enter): Add optional `updatefun' arg.
14587 Change return value.
eb95d01d 14588 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14589 (avl-tree--do-delete): Add `test' and `nilflag' args.
14590 Change return value.
eb95d01d
TC
14591 (avl-tree-member): Add optional `nilflag'
14592 (avl-tree-member-p): New function.
14593 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14594 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14595 (avl-tree-stack-empty-p): New functions.
14596
3769ddcf
TC
14597 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14598 avl-tree--del-balance1 and make it work both ways.
14599 (avl-tree--del-balance2): Remove.
14600 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14601 make it work both ways.
14602 (avl-tree--enter-balance2): Remove.
14603 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14604 New macros.
14605 (avl-tree--mapc, avl-tree-map): Add direction argument.
14606
eb95d01d 146072011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14608
14609 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14610
a9f737ee
CY
146112011-05-27 Chong Yidong <cyd@stupidchicken.com>
14612
14613 * select.el: Support clipboard managers with built-in function
14614 x-clipboard-manager-save, via delete-frame-functions and
14615 kill-emacs-hook.
14616 (xselect-convert-to-targets): Add MULTIPLE target to list.
14617 (xselect-convert-to-save-targets): New function.
14618
c92a1e54
KH
146192011-05-27 Kenichi Handa <handa@m17n.org>
14620
14621 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14622 let-binding rfc2047-encode-encoded-words to nil.
14623
e145f188
GM
146242011-05-27 Glenn Morris <rgm@gnu.org>
14625
5ec8a862
GM
14626 * mail/emacsbug.el: Don't require url-util.
14627
4b29d9fb
GM
14628 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14629
e145f188
GM
14630 * files.el (set-auto-mode):
14631 Also respect mode: entries at the end of the file. (Bug#8586)
14632
7d15102b
GM
146332011-05-26 Glenn Morris <rgm@gnu.org>
14634
98f593b8
GM
14635 * files.el (hack-local-variables-prop-line, hack-local-variables):
14636 Downcase mode names, as seems to be traditional.
27b48e63 14637 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14638
7d15102b
GM
14639 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14640 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14641
51d5b4ec
JD
146422011-05-25 Julien Danjou <julien@danjou.info>
14643
14644 * textmodes/rst.el (rst-define-level-faces): Do not define face
14645 symbol if it is already defined.
14646
91513f63
VB
146472011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14648
14649 * play/5x5.el (5x5-new-game, 5x5-randomize):
14650 Reset 5x5-solver-output to nil when a new grid is cast.
14651 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14652 these debugging traces, as defmacro breaks the compiled code.
14653
4d90d6d0
DK
146542011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14655
14656 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14657
e1b90ef6
LL
146582011-05-24 Leo Liu <sdl.web@gmail.com>
14659
14660 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14661 (vc-bzr-sha1): Adapt.
14662
d8e4b68b 14663 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14664
14665 * bindings.el: Provide sha1 feature.
14666
db0406bb 146672011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14668
14669 * mail/sendmail.el: Require `rfc2047'.
14670 (mail-insert-from-field): Do not perform RFC2047 encoding.
14671 (mail-encode-header): New function.
14672 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14673 buffer to the return value of select-message-coding-system.
14674 Call mail-encode-header.
b8d747b9
KH
14675
14676 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14677
db0406bb 146782011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14679
4d90d6d0
DK
14680 * mail/supercite.el (sc-default-cite-frame):
14681 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14682
eb8a5e9b
GM
146832011-05-24 Glenn Morris <rgm@gnu.org>
14684
f8630703
GM
14685 * progmodes/python.el (brm-menu): Declare.
14686
8831bbed
GM
14687 * emulation/viper.el (viper-set-hooks): Declare.
14688
eb8a5e9b
GM
14689 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14690 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14691 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14692 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14693 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14694 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14695
a2a25d24
SM
146962011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14697
14698 Add an :exit-function for completion-at-point.
14699
14700 * minibuffer.el (completion--done): New fun.
14701 (completion--do-completion): Use it. New arg `expect-exact'.
14702 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14703 since completion--do-completion does it for us now.
14704 (minibuffer-force-complete): Use completion--done and
14705 completion--replace. Handle sole-completion case with more care.
14706 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14707 (completion-extra-properties): New var.
14708 (completion-annotate-function): Make obsolete.
14709 (minibuffer-completion-help): Adjust accordingly.
14710 Use completion-list-insert-choice-function.
14711 (completion-at-point, completion-help-at-point):
14712 Bind completion-extra-properties.
14713 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14714 * simple.el (completion-list-insert-choice-function): New var.
14715 (completion-setup-function): Preserve it.
14716 (choose-completion): Pay attention to it, shuffle the code a bit.
14717 (choose-completion-string): New arg `insert-function'.
14718
14719 * textmodes/bibtex.el: Convert to lexical binding.
14720 (bibtex-mode-map): Use completion-at-point.
14721 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14722 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14723 (bibtex-complete): Define as obsolete alias.
14724 (bibtex-complete-internal): Remove.
14725 (bibtex-format-entry): Remove unused sub-group in regexp.
14726 * shell.el (shell--command-completion-data)
14727 (shell-environment-variable-completion):
14728 * pcomplete.el (pcomplete-completions-at-point):
14729 * comint.el (comint--complete-file-name-data): Use :exit-function
14730 instead of completion-table-with-terminator so it also works for
14731 choose-completion.
14732
e44e373d
SM
147332011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14734
4f91a816
SM
14735 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14736
782fc819
SM
14737 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14738 (bug#8710).
14739
e44e373d
SM
14740 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14741
381987c3
KM
147422011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14743
14744 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14745 customization variable and implement: If non-nil, auto-fill will
14746 be inhibited while on topic's header line.
14747
b776bc70
VB
147482011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14749
14750 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14751 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14752 always have a solution in grid size = 5 cases.
14753 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14754 (5x5-solver-output, 5x5-log-buffer): New vars.
14755 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14756 Make these variables buffer local to achieve 5x5 multi-session-ness.
14757 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14758 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14759 (5x5-solve-suggest): New funs.
14760 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14761 randomize a grid so that we ensure that there is always a solution.
14762 (5x5-make-random-grid): Allow other movement than flipping.
14763
7de88b6e
KR
147642011-05-23 Kevin Ryde <user42@zip.com.au>
14765
14766 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14767 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14768 advice and passes PREDICATE.
14769
b1ef1257
SM
147702011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14771
bbca48fe
SM
14772 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14773 byte-compile-lambda if it's actually a lambda.
14774
b1ef1257
SM
14775 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14776 Fix function quoting. Use backquote better.
14777
92a9cc65
YS
147782011-05-22 Yuanle Song <sylecn@gmail.com>
14779
14780 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14781 matching (Bug#8516).
14782
f0fb8059
JA
147832011-01-22 Jari Aalto <jari.aalto@cante.net>
14784
14785 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14786 different face (Bug#8178).
14787
d5b44c93
CY
147882011-05-22 Chong Yidong <cyd@stupidchicken.com>
14789
14790 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14791 defface (Bug#8144).
14792
79106a44
SM
147932011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14794
9c848d8a
SM
14795 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14796 funcall as well (bug#8712). Warn when performing those conversions.
14797 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14798
79106a44
SM
14799 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14800
88dfa756
GM
148012011-05-22 Glenn Morris <rgm@gnu.org>
14802
14803 * files.el (hack-local-variables-prop-line): Small simplifications.
14804 (hack-local-variables, hack-local-variables-prop-line):
14805 If MODE-ONLY, return the mode, rather than just `t'.
14806
b7cf2c79
SM
148072011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14810
3f1a8558
GM
148112011-05-21 Glenn Morris <rgm@gnu.org>
14812
7e4ccca3
GM
14813 * files.el (hack-local-variables-prop-line, hack-local-variables):
14814 If only interested in the mode, don't bother doing the other stuff.
14815
637d46ca
GM
14816 * image-mode.el (image-after-revert-hook):
14817 Redraw all frames on which the image is visible. (Bug#8567)
14818
973d955b
GM
14819 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14820
3f1a8558
GM
14821 * wid-edit.el (widget-checklist-match-inline):
14822 Fix 2011-04-19 change. (Bug#8649)
14823
96479927
SM
148242011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14825
1dcf791f
SM
14826 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14827 Also allow singlespace after single-letter capitals followed by a dot.
14828
96479927
SM
14829 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14830 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14831
35fd0881
N
148322011-05-20 Nix <nix@esperi.org.uk>
14833
14834 * files.el (basic-save-buffer-2):
14835 Fix handling of break-hardlink-on-save with non-existent files.
14836
82745640
DD
148372011-05-19 Deniz Dogan <deniz@dogan.se>
14838
14839 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14840 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14841
4a720484
GM
148422011-05-19 Glenn Morris <rgm@gnu.org>
14843
d1f21341
GM
14844 * progmodes/f90.el (f90-type-def-re):
14845 Handle "type, bind(c)". (Bug#8691)
14846
4a720484
GM
14847 * emacs-lisp/autoload.el (batch-update-autoloads):
14848 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14849
2fb0a219
MA
148502011-05-18 Michael Albinus <michael.albinus@gmx.de>
14851
14852 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14853 property for the correct connection in case of multihops.
14854
e565dd37
GM
148552011-05-18 Glenn Morris <rgm@gnu.org>
14856
c2571358 14857 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14858 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14859
e565dd37
GM
14860 Rationalize calendar handling of day and month abbrev-arrays.
14861 * calendar/calendar.el (calendar-customized-p): New function.
14862 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14863 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14864 Add :set function.
14865 (calendar-abbrev-length, calendar-day-abbrev-array)
14866 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14867 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14868 Elements may no longer be nil.
14869 (calendar-day-name, calendar-month-name):
14870 Update for changed nature of abbrev arrays.
14871 * calendar/diary-lib.el (diary-name-pattern):
14872 Update for changed nature of abbrev arrays.
14873 (diary-mark-entries-1): Update calendar-make-alist calls.
14874 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14875 * calendar/cal-html.el (cal-html-day-abbrev-array):
14876 Simply inherit from calendar-day-abbrev-array.
14877
1d99a745
SM
148782011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14879
14880 * progmodes/grep.el (grep-mode): Disable default
14881 compilation-directory-matcher setting (bug#8684).
14882
7c1d9aa0
MA
148832011-05-17 Michael Albinus <michael.albinus@gmx.de>
14884
14885 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14886 instead of "head" and "tail". There were problems with SunOS 5.9,
14887 and it performs better.
14888
3952e9d8
GM
148892011-05-17 Glenn Morris <rgm@gnu.org>
14890
2dd12e7f
GM
14891 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14892
e4157b9c
GM
14893 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14894 Replace obsolete function.
14895
8e249bbd
GM
14896 * shell.el (pcomplete-parse-arguments-function): Declare.
14897
3952e9d8
GM
14898 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14899 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14900 (appt-check): Doc fixes.
14901 (appt-disp-window-function, appt-delete-window-function):
14902 Remove needless special case in custom :type.
14903 (appt-display-count): Default to 0, not nil.
14904 (appt-check): Reset appt-display-count to 0, not nil.
14905
c71a0d48 149062011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14907
c71a0d48
GM
14908 * progmodes/python.el (python-font-lock-keywords):
14909 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14910
31d55be9
SM
149112011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14912
14913 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14914
3bfacb2f
KR
149152011-05-16 Kevin Ryde <user42@zip.com.au>
14916
14917 * info-look.el (makefile-automake-mode): New setups, looking in
14918 automake manual, then makefile-mode.
14919 (makefile-mode): Remove automake manual, have it just in
14920 makefile-automake-mode since there's various things different or
14921 not relevant to plain make.
14922 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14923 believe a hypothetical automake-mode would go to makefile-mode,
14924 not the other way around.
14925
c8e83751
CY
149262011-05-15 Chong Yidong <cyd@stupidchicken.com>
14927
5e9e35cd
CY
14928 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14929 hunk-end tags (Bug#8672).
14930
c8e83751
CY
14931 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14932 vc-annotate-show-diff-revision-at-line (Bug#8671).
14933
50b23e5a
GM
149342011-05-14 Glenn Morris <rgm@gnu.org>
14935
7210a739
GM
14936 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14937 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14938 (change-log-font-lock-keywords): Also handle multiple author lines
14939 with leading tabs. (Bug#8644)
7210a739 14940
4691905a
GM
14941 * calendar/appt.el (appt-check): Rename some local variables.
14942 Some simplification/reordering.
14943
50b23e5a
GM
14944 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14945 (feedmail-sendmail-f-doesnt-sell-me-out)
14946 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14947 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14948 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14949 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14950 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14951 (feedmail-binmail-gnulinuxish-template):
14952 Rename from feedmail-binmail-linuxish-template.
14953 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14954 Use insert-buffer-substring.
14955
215cda7c
BC
149562011-05-14 Bill Carpenter <bill@carpenter.org>
14957
14958 * mail/feedmail.el (feedmail-patch-level): Increase.
14959 (feedmail-debug): New custom group.
14960 (feedmail-confirm-outgoing-timeout)
14961 (feedmail-sendmail-f-doesnt-sell-me-out)
14962 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14963 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14964 (feedmail-sender-line, feedmail-from-line)
14965 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14966 (feedmail-spray-this-address)
215cda7c
BC
14967 (feedmail-spray-address-fiddle-plex-list)
14968 (feedmail-queue-use-send-time-for-date)
14969 (feedmail-queue-use-send-time-for-message-id)
14970 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14971 (feedmail-buffer-eating-function):
14972 Doc fixes.
14973 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14974 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14975 (feedmail-message-action-scroll-down): New functions.
14976 (feedmail-queue-directory, feedmail-queue-draft-directory):
14977 Use expand-file-name.
14978 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14979 Remove C-v help entry.
14980 (feedmail-queue-buffer-file-name): New variable.
14981 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14982 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14983 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14984 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14985 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14986 (feedmail-message-action-toggle-spray)
14987 (feedmail-run-the-queue-no-prompts)
14988 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14989 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14990 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14991 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14992 (feedmail-envelope-deducer, feedmail-fiddle-from)
14993 (feedmail-fiddle-sender, feedmail-default-date-generator)
14994 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14995 (feedmail-fiddle-spray-address)
14996 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14997 (feedmail-fiddle-list-of-fiddle-plexes)
14998 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14999 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
15000 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
15001 Change default. Doc fix.
15002 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
15003 (feedmail-binmail-linuxish-template): New constant.
15004 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
15005 Respect feedmail-sendmail-f-doesnt-sell-me-out.
15006 (feedmail-send-it): Add debug call.
15007 Use feedmail-queue-buffer-file-name, and
15008 feedmail-send-it-immediately-wrapper.
15009 (feedmail-message-action-send): Add debug call.
15010 Use feedmail-send-it-immediately-wrapper.
15011 (feedmail-queue-express-to-queue): Add debug call.
15012 Run feedmail-queue-express-hook.
15013 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
15014 (feedmail-message-action-help-blat):
15015 Rename from feedmail-queue-send-edit-prompt-help-first.
15016 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
15017 Check line-endings. Handle errors better.
15018 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
15019 Doc fix. Add debug call.
15020 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
15021 Use feedmail-queue-send-edit-prompt-inner.
15022 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
15023 (feedmail-queue-send-edit-prompt-inner): New function, extracted
15024 from feedmail-queue-send-edit-prompt.
15025 (feedmail-queue-send-edit-prompt-help)
15026 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
15027 (feedmail-tidy-up-slug): Add debug call.
15028 Respect feedmail-queue-slug-suspect-regexp.
15029 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
15030 (feedmail-dump-message-to-queue): Add debug call.
15031 Expand queue-directory.
15032 (feedmail-dump-message-to-queue): Change message slightly.
15033 Use feedmail-say-chatter.
15034 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
15035 (feedmail-send-it-immediately-wrapper): New function.
15036 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
15037 Insert empty string rather than newline. Handle full-frame case.
15038 Use catch/throw. Use feedmail-say-chatter.
15039 (feedmail-fiddle-from): Try mail-host-address.
15040 (feedmail-default-message-id-generator): Doc fix.
15041 Bind system-time-locale. Handle missing end.
15042 (feedmail-fiddle-x-mailer): Add debug call.
15043 Handle feedmail-x-mailer-line being nil.
15044 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
15045 Add debug call. Use buffer-substring-no-properties.
15046 (feedmail-say-debug, feedmail-say-chatter): New functions.
15047 (feedmail-find-eoh): Give an explicit error.
15048
42c7e61e
UJ
150492011-05-13 Ulf Jasper <ulf.jasper@web.de>
15050
c2571358 15051 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15052 family from helvetica to sans.
c2571358 15053 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15054 etc/images/newsticker.
15055
c2571358 15056 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15057 family from helvetica to sans.
15058
15059 * net/newst-plainview.el (newsticker-new-item-face)
15060 (newsticker-old-item-face, newsticker-immortal-item-face)
15061 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15062 (newsticker-statistics-face): Change default family from
42c7e61e 15063 helvetica to sans.
c2571358 15064 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15065 etc/images/newsticker.
15066
5d3385a0
JB
15067 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15068 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15069 auto-marking.
15070
8497a297
DV
150712011-05-13 Didier Verna <didier@xemacs.org>
15072
15073 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15074 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15075 TODO entries.
8497a297
DV
15076 (lisp-lambda-list-keyword-parameter-indentation)
15077 (lisp-lambda-list-keyword-parameter-alignment)
15078 (lisp-lambda-list-keyword-alignment): New customizable user options.
15079 (lisp-indent-defun-method): Improve docstring.
15080 (extended-loop-p): Fix comment.
15081 (lisp-indent-lambda-list-keywords-regexp): New variable.
15082 (lisp-indent-lambda-list): New function.
15083 (lisp-indent-259): Use it.
15084 (lisp-indent-defmethod): Support for more than one
15085 method qualifier and properly indent methods lambda-lists.
15086 (defgeneric): Provide a missing common-lisp-indent-function property.
15087
f278f87f
SM
150882011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15089
15090 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15091 bounds for the empty string (bug#8667).
15092
5233edd7
GM
150932011-05-13 Glenn Morris <rgm@gnu.org>
15094
5237a44f
GM
15095 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15096
8340026c 15097 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15098 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15099
5233edd7 15100 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15101 (appt-time-msg-list): Doc fix.
a5464014 15102 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15103
92d10796
AS
151042011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15105
15106 * progmodes/ld-script.el (ld-script-keywords)
15107 (ld-script-builtins): Update keywords list.
15108
914a0ae1
SM
151092011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15110
c89be45f
SM
15111 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15112
914a0ae1
SM
15113 * shell.el (shell-completion-vars): New function.
15114 (shell-mode):
15115 * simple.el (read-shell-command): Use it.
15116 (blink-matching-open): No need for " [...]" in minibuffer-message.
15117
98dc3df3
GM
151182011-05-12 Glenn Morris <rgm@gnu.org>
15119
15120 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15121 (appt-check): Simplify.
15122
d2fc7e3d 151232011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15124
4d61f28d 15125 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15126 literal "/dev/null".
15127
d2fc7e3d 151282011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15129
15130 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15131 Fix typo.
15132
d2fc7e3d 151332011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15134
3f254caa
SM
15135 * progmodes/which-func.el (which-function):
15136 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15137 which might not be defined (Bug#8260).
15138
d45885f7
GM
151392011-05-12 Glenn Morris <rgm@gnu.org>
15140
15141 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15142 Let byte-compile-initial-macro-environment always take precedence.
15143
488086f4
SM
151442011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15145
15146 * net/rcirc.el: Add support for SSL/TLS connections.
15147 (rcirc-server-alist): New field `encryption'.
15148 (rcirc): Check `encryption' settings.
15149 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15150 Merge make-local-variable into `set'.
15151 (rcirc--connection-open-p): New function.
15152 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15153 the process is not a network process (e.g. running gnutls-cli).
15154 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15155 Make rcirc-(en|de)code-coding-system local here.
15156 (rcirc-mode): Merge make-local-variable into `set'.
15157 (rcirc-parent-buffer): Make permanent buffer-local.
15158 (rcirc-multiline-minor-mode): Don't do it here.
15159 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15160 there's no server buffer.
15161
7d3b9d44
GM
151622011-05-11 Glenn Morris <rgm@gnu.org>
15163
f64049c6
GM
15164 * newcomment.el (comment-kill): Prefix "unused" local.
15165
93c9df73
GM
15166 * term/w32console.el (get-screen-color): Declare.
15167
7d3b9d44
GM
15168 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15169 Handle symbol elements of byte-compile-initial-macro-environment.
15170
9e2dd53f
LL
151712011-05-10 Leo Liu <sdl.web@gmail.com>
15172
488086f4
SM
15173 * bookmark.el (bookmark-bmenu-mode-map):
15174 Bind bookmark-bmenu-search to `/'.
8b340240 15175
9e2dd53f 15176 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15177 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15178 (Footnote-unicode): New function.
15179 (footnote-style-alist): Add unicode style to the list.
15180 (footnote-style): Doc fix.
9e2dd53f 15181
79b70037
GM
151822011-05-10 Jim Meyering <meyering@redhat.com>
15183
15184 Fix doubled-word typos.
15185 * international/quail.el (quail-insert-kbd-layout): and and -> and
15186 * kermit.el: and and -> and
15187 * net/ldap.el (ldap-search-internal): to to -> to
15188 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15189 * progmodes/js.el (js-mode): and and -> and
15190 * textmodes/artist.el (artist-move-to-xy): at at -> at
15191 (artist-draw-region-trim-line-endings): if if -> if
15192 And Safetyc -> Safety.
15193 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15194
b8f82dc1 151952011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15196 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15197
15198 * files.el (hack-one-local-variable-eval-safep):
15199 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15200
4f99f44b
GM
152012011-05-10 Glenn Morris <rgm@gnu.org>
15202
15203 * calendar/diary-lib.el (diary-list-entries-hook)
15204 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15205 (diary-nongregorian-marking-hook, diary-list-entries)
15206 (diary-include-other-diary-files, diary-mark-entries)
15207 (diary-mark-included-diary-files): Doc fixes.
15208
84f29e6b
JB
152092011-05-09 Juanma Barranquero <lekktu@gmail.com>
15210
15211 * misc.el: Require tabulated-list.el during compilation.
15212
9bedd73a
CY
152132011-05-09 Chong Yidong <cyd@stupidchicken.com>
15214
488086f4
SM
15215 * progmodes/compile.el (compilation-start):
15216 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15217 (compilation-filter-hook): Doc fix.
15218
797c735c
DD
152192011-05-09 Deniz Dogan <deniz@dogan.se>
15220
15221 * wdired.el: Remove outdated installation comment. Fix usage
15222 comment.
15223
5f4b1dfe
JB
152242011-05-09 Juanma Barranquero <lekktu@gmail.com>
15225
15226 * misc.el: Implement new command `list-dynamic-libraries'.
15227 (list-dynamic-libraries--loaded-only-p): New variable.
15228 (list-dynamic-libraries--refresh): New function.
15229 (list-dynamic-libraries): New command.
15230
4c44026c
CY
152312011-05-09 Chong Yidong <cyd@stupidchicken.com>
15232
488086f4
SM
15233 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15234 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15235 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15236 higher priority to avoid clobbering by gnu.
15237
027f966d
CY
152382011-05-08 Chong Yidong <cyd@stupidchicken.com>
15239
15240 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15241 if the face has existing theme settings (Bug#8454).
15242
085f5d7d
CY
152432011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15244
488086f4
SM
15245 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15246 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15247
2a86a00c
RS
15248 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15249 special file names `.' and `..' (Bug#8259).
15250
d9c54a06
CY
152512011-05-08 Chong Yidong <cyd@stupidchicken.com>
15252
488086f4
SM
15253 * progmodes/grep.el (grep-mode-font-lock-keywords):
15254 Remove buffer-changing entries.
d9c54a06
CY
15255 (grep-filter): New function.
15256 (grep-mode): Add it to compilation-filter-hook.
15257
15258 * progmodes/compile.el (compilation-filter-hook)
15259 (compilation-filter-start): New defvars.
15260 (compilation-filter): Call compilation-filter-hook prior to
15261 updating the process mark.
15262
c4662635
SM
152632011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15264
15265 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15266
b0512a1d
EZ
152672011-05-07 Eli Zaretskii <eliz@gnu.org>
15268
605c9376
EZ
15269 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15270 mailclient-send-it even if window-system is nil. (Bug#8595)
15271
c4662635
SM
15272 * term/w32console.el (terminal-init-w32console):
15273 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15274 background-mode. (Bug#8597)
15275
d1dc2cc2
SM
152762011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15277
15278 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15279 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15280 New functions.
15281 (defgeneric, eieio--defmethod): Use them.
15282 (eieio-defgeneric): Remove.
15283 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15284
915d1300
GM
152852011-05-07 Glenn Morris <rgm@gnu.org>
15286
a3961c3e
GM
15287 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15288 Use let rather than let*.
15289 (timeclock-find-discrep): Remove unused local.
15290
314347b9
GM
15291 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15292
915d1300
GM
15293 * calendar/appt.el (appt-time-msg-list): Doc fix.
15294
275b59b0
NF
152952011-05-06 Noah Friedman <friedman@splode.com>
15296
15297 * apropos.el (apropos-print-doc): Only use
15298 emacs-lisp-docstring-fill-column when it is bound to an integer,
15299 per that variable's documentation.
15300
6c19f744
SM
153012011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15302
15303 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15304 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15305
60f884b2
GM
153062011-05-06 Glenn Morris <rgm@gnu.org>
15307
5006e634
GM
15308 * calendar/appt.el (appt-message-warning-time): Doc fix.
15309 (appt-warning-time-regexp): New option.
15310 (appt-make-list): Respect appt-message-warning-time.
15311
548d0a63
GM
15312 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15313 New options.
15314 (diary-add-to-list): Strip comments from the displayed string.
15315 (diary-mode): Set comment-start and comment-end.
15316
60f884b2
GM
15317 * vc/diff-mode.el (smerge-refine-subst): Declare.
15318 (diff-refine-hunk): Don't require smerge-mode when compiling.
15319
989681bb
JB
153202011-05-06 Juanma Barranquero <lekktu@gmail.com>
15321
15322 * simple.el (list-processes): Return nil as the docstring says.
15323
a6bc05e1
MA
153242011-05-05 Michael Albinus <michael.albinus@gmx.de>
15325
15326 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15327 to "".
15328 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15329 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15330 determining of binary transfer. (Bug#7383)
15331
23c22e9a
MA
153322011-05-05 Michael Albinus <michael.albinus@gmx.de>
15333
c4662635
SM
15334 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15335 Fix port computation bug. (Bug#8618)
23c22e9a 15336
0bff894f
GM
153372011-05-05 Glenn Morris <rgm@gnu.org>
15338
b8296902
GM
15339 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15340
1f522ce8
GM
15341 * simple.el (shell-dynamic-complete-functions)
15342 (comint-dynamic-complete-functions): Declare.
15343
cf5bee67
GM
15344 * net/network-stream.el (gnutls-negotiate):
15345 * simple.el (tabulated-list-print): Fix declarations.
15346
15347 * progmodes/gud.el (syntax-symbol, syntax-point):
15348 Remove unnecessary and incorrect declarations.
15349
0bff894f
GM
15350 * emacs-lisp/check-declare.el (check-declare-scan):
15351 Handle byte-compile-initial-macro-environment in bytecomp.el
15352
9869b3ae
SM
153532011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15354
15355 Fix earlier half-done eieio-defmethod change (bug#8338).
15356 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15357 Streamline and change calling convention.
15358 (defmethod): Adjust accordingly and simplify.
15359 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15360 new eieio--defmethod.
15361 (slot-boundp): Minor CSE simplification.
15362
9c1d5ac5
MZ
153632011-05-05 Milan Zamazal <pdm@zamazal.org>
15364
15365 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15366 (glasses-make-readable): Use glasses-separate-capital-groups.
15367
455c834e
JB
153682011-05-05 Juanma Barranquero <lekktu@gmail.com>
15369
15370 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15371 (warning-series): Doc fix.
15372 (display-warning): Don't try to create the buffer if we just found it.
15373
9ed7c8cb
CY
153742011-05-04 Chong Yidong <cyd@stupidchicken.com>
15375
15376 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15377 (autoload-find-generated-file): New function.
15378 (generate-file-autoloads): Bind generated-autoload-file to
15379 buffer-file-name.
9869b3ae
SM
15380 (update-file-autoloads, update-directory-autoloads):
15381 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15382 output file (Bug#7989).
15383 (batch-update-autoloads): Doc fix.
15384
0898ca10
JB
153852011-05-04 Juanma Barranquero <lekktu@gmail.com>
15386
15387 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15388
31dfb76c
GM
153892011-05-04 Glenn Morris <rgm@gnu.org>
15390
f330b642
GM
15391 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15392 function, so it follows changes in calendar-date-style.
15393 (diary-fancy-date-matcher): New function.
15394 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15395 (diary-fancy-font-lock-fontify-region-function):
15396 Use diary-fancy-date-pattern as a function.
15397
31dfb76c
GM
15398 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15399 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15400
48e79d6a
TZ
154012011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15402
15403 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15404 instead of positional arguments. Allow :keylist and :crlfiles
15405 arguments.
15406 (open-gnutls-stream): Call it.
15407
15408 * net/network-stream.el (network-stream-open-starttls): Adjust to
15409 call `gnutls-negotiate' with :process and :hostname arguments.
15410
dd5a5ee0
SM
154112011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15412
ef80fc09
SM
15413 * minibuffer.el (completion--message): New function.
15414 (completion--do-completion, minibuffer-complete)
15415 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15416 (completion--do-completion): Don't ignore completion-auto-help when in
15417 icomplete-mode.
15418
dd5a5ee0
SM
15419 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15420 internal encoding (e.g. tibetan zero is not whitespace).
15421 (global-whitespace-mode): Prefer save-current-buffer.
15422 (whitespace-trailing-regexp): Remove useless save-match-data.
15423 (whitespace-empty-at-bob-regexp): Minor simplification.
15424
b7d22a83
CY
154252011-05-03 Chong Yidong <cyd@stupidchicken.com>
15426
15427 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15428
5192af46
AM
154292011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15430
15431 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15432 Use `concat' to create string for insertion.
5192af46 15433
5767d190
SM
154342011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15435
15436 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15437 Avoid open-line which runs post-self-insert-hook.
15438 (bibtex-fill-entry): Remove unused `end' var.
15439
bf242939
AM
154402011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15441
5767d190
SM
15442 * textmodes/ispell.el (ispell-add-per-file-word-list):
15443 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15444
25666126
LL
154452011-05-03 Leo Liu <sdl.web@gmail.com>
15446
15447 * isearch.el (isearch-yank-pop): New command.
5767d190 15448 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15449 (isearch-forward): Mention it.
15450
52d3c2d0
SM
154512011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15452
1bcace58
SM
15453 * simple.el (minibuffer-complete-shell-command): Remove.
15454 (minibuffer-local-shell-command-map): Use completion-at-point.
15455 (read-shell-command): Setup completion vars here instead.
15456 (read-expression-map): Bind TAB to symbol completion.
15457
52d3c2d0
SM
15458 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15459 error directly rather via storing it into `results'.
15460
35813471
LL
154612011-05-02 Leo Liu <sdl.web@gmail.com>
15462
15463 * vc/diff.el: Fix description.
15464
e793a940
LMI
154652011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15466
15467 * server.el (server-eval-at): New function.
15468
8de66e05
LMI
154692011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15470
15471 * net/network-stream.el (open-network-stream): Take a :nowait
15472 parameter and pass it on to `make-network-process'.
15473 (network-stream-open-plain): Ditto.
15474
dcb79f20
AS
154752011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15476
15477 * faces.el (face-spec-set-match-display): Don't match toolkit
15478 options on terminal frames.
15479
14a7fbd8
SM
154802011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15481
7eabc1be
SM
15482 * progmodes/pascal.el: Use lexical binding.
15483 (pascal-mode-map): Remove author preferences.
15484
14a7fbd8
SM
15485 * pcomplete.el (pcomplete-std-complete): Don't abuse
15486 completion-at-point.
15487
50f84510
JB
154882011-04-28 Juanma Barranquero <lekktu@gmail.com>
15489
6e087a44
JB
15490 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15491 removing code that has been dead since 1991 or so.
15492
50f84510
JB
15493 * startup.el (command-line): When warning about "_emacs", use a
15494 delayed warning to allow the user to filter it out.
15495
0ba690bd
DD
154962011-04-28 Deniz Dogan <deniz@dogan.se>
15497
15498 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15499 user has not joined.
15500
08abfaad
SM
155012011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15502
15503 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15504 aren't any completions at point.
15505
638f053a
JB
155062011-04-28 Juanma Barranquero <lekktu@gmail.com>
15507
15508 * subr.el (display-delayed-warnings): New function.
15509 (delayed-warnings-hook): New variable.
15510
8fff8daa
SM
155112011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15512
08abfaad
SM
15513 * minibuffer.el (completion-at-point, completion-help-at-point):
15514 Don't presume that a given completion-at-point-function will always
15515 use the same calling convention.
15516
8fff8daa
SM
15517 * pcomplete.el (pcomplete-completions-at-point):
15518 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15519 pcomplete-seen is non-nil.
15520 (pcomplete-comint-setup): Also recognize the new comint/shell
15521 completion functions.
15522 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15523 pcomplete-seen is non-nil.
15524
841a1577 155252011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15526
841a1577 15527 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15528 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15529 the first character in the entry. This allows for code to add its
211ec907
UJ
15530 own uid to the entry.
15531 (icalendar--convert-float-to-ical): Add export of
15532 `diary-float'-entries save for those with the optional DAY
15533 argument.
15534
2a782793
DC
155352011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15536
15537 * subr.el (shell-quote-argument): Use alternate escaping strategy
15538 when we spot a variable reference in a string.
15539
0438ce91
DC
155402011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15541
15542 * cus-start.el (all): Define customization for debug-on-event.
15543
841a1577 155442011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15545
15546 * subr.el (shell-quote-argument): Escape correctly under Windows.
15547
d090ed6c
SM
155482011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15549
15550 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15551
bfd31217
MA
155522011-04-25 Michael Albinus <michael.albinus@gmx.de>
15553
d090ed6c
SM
15554 * net/tramp.el (tramp-process-actions): Add POS argument.
15555 Delete region between POS and (pos).
bfd31217 15556
d090ed6c
SM
15557 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15558 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15559 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15560
15561 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15562 position in `tramp-process-actions' call.
15563
15564 * net/trampver.el: Update release number.
15565
e92f3bd3
SM
155662011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15567
850256b5
SM
15568 * custom.el (defcustom): Obey lexical-binding.
15569
e92f3bd3
SM
15570 Fix octave-inf completion problems reported by Alexander Klimov.
15571 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15572 Inherit from octave-mode-syntax-table.
15573 (inferior-octave-mode): Set info-lookup-mode.
15574 (inferior-octave-completion-at-point): New function.
15575 (inferior-octave-complete): Use it and completion-in-region.
15576 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15577 comint-filename-completion.
15578 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15579 symbol elements which shouldn't be word elements.
15580 (octave-font-lock-keywords, octave-beginning-of-defun)
15581 (octave-function-header-regexp): Adjust regexps accordingly.
15582 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15583
cd22b309
JB
155842011-04-25 Juanma Barranquero <lekktu@gmail.com>
15585
15586 * net/gnutls.el (gnutls-errorp): Declare before first use.
15587
8b492194
TZ
155882011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15589
15590 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15591 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15592 default trustfile exists before going to use it. Add missing
5a5fa834 15593 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15594 Reported by Claudio Bley <claudio.bley@gmail.com>.
15595 (open-gnutls-stream): Add usage example.
15596
15597 * net/network-stream.el (network-stream-open-starttls): Give host
15598 parameter to `gnutls-negotiate'.
15599 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15600 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15601
841a1577 156022011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15603
cd22b309
JB
15604 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15605 Use correct match group (bug#8438).
05842630 15606
3ba7869c
CY
156072011-04-24 Chong Yidong <cyd@stupidchicken.com>
15608
512e3ae1
CY
15609 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15610 (package-menu--generate): New arg specifying packages to show.
15611 (package-menu-refresh, package-menu-execute, list-packages):
15612 Callers changed.
15613 (package-show-package-list): New function, replacing deleted
15614 package--list-packages (renamed because it is non-internal).
15615
15616 * finder.el (finder-list-matches): Use package-show-package-list
15617 instead of deleted package--list-packages.
15618
e92f3bd3
SM
15619 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15620 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15621 (vc-annotate-mode-map): Bind it to RET.
15622
7031be6d
UR
156232011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15624
15625 * progmodes/etags.el (next-file): Don't use set-buffer to change
15626 buffers (Bug#8478).
15627
4ef177aa
CY
156282011-04-24 Chong Yidong <cyd@stupidchicken.com>
15629
c8d173eb
CY
15630 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15631
4ef177aa
CY
15632 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15633 (apropos-accumulator): Doc fix.
15634 (apropos-function, apropos-macro, apropos-command)
15635 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15636 (apropos-plist): Add face property.
15637 (apropos-symbols-internal): Fix indentation.
15638 (apropos-print): Simplify help, and recognize apropos-multi-type.
15639 (apropos-print-doc): Use button-type-get to extract the button's
15640 face property. Fill docstring (Bug#8352).
15641
4ffd0d6b 156422011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15643
15644 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15645
c6c32125 15646 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15647 (mpuz-mode-map): Use mapc.
c6c32125
JB
15648 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15649 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15650 Fix typos in docstrings.
15651
58d468b4
JB
15652 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15653 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15654
6470c3c6
JB
15655 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15656
4ffd0d6b 156572011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15658
15659 * minibuffer.el (completion--do-completion): Avoid the "Next char
15660 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15661
3ad8bad0
CY
15662 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15663 mouse-2 into unread-command-events, it is interpreted correctly.
15664
71d73c9c 15665 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15666 (image-toggle-display): Doc fix.
71d73c9c 15667
841a1577 156682011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15669
4ffd0d6b
GM
15670 * textmodes/page.el (what-page): Use line-number-at-pos to
15671 calculate line number (Bug#6825).
6e1dbaa9 15672
c2fb1b60
JB
156732011-04-22 Juanma Barranquero <lekktu@gmail.com>
15674
15675 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15676 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15677 Pass argument NO-DEFAULT to `find-tag-interactive'.
15678
e02f48d7
JB
156792011-04-22 Juanma Barranquero <lekktu@gmail.com>
15680
15681 Lexical-binding cleanup.
15682
15683 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15684 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15685 * progmodes/ada-prj.el (ada-prj-initialize-values)
15686 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15687 (ada-prj-show-value):
15688 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15689 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15690 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15691 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15692 * progmodes/bug-reference.el (bug-reference-push-button):
15693 * progmodes/fortran.el (fortran-line-length):
15694 * progmodes/glasses.el (glasses-change):
15695 * progmodes/octave-mod.el (octave-fill-paragraph):
15696 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15697 (python-pdbtrack-grub-for-buffer, python-sentinel):
15698 * progmodes/sql.el (sql-save-connection):
15699 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15700 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15701 Mark unused parameters.
15702
15703 * progmodes/compile.el (compilation--flush-directory-cache)
15704 (compilation--flush-parse, compile-internal): Mark unused parameters.
15705 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15706 (compilation-next-error-function): Remove unused variable `timestamp'.
15707
15708 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15709 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15710
15711 * progmodes/dcl-mode.el (dcl-end-of-command):
15712 Remove unused variable `start'.
15713 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15714 (dcl-option-value-basic, dcl-option-value-offset)
15715 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15716 Mark unused parameters.
15717 (dcl-save-local-variable): Remove unused variable `val'.
15718 (mode): Declare.
15719
15720 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15721 Mark unused parameters.
15722 (delphi-ignore-changes): Move before first use.
15723 (delphi-charset-token-at): Remove unused variable `start'.
15724 (delphi-else-start): Remove unused variable `if-count'.
15725 (delphi-comment-block-start, delphi-comment-block-end):
15726 Remove unused variable `kind'.
15727 (delphi-indent-line): Remove unused variable `new-point'.
15728
15729 * progmodes/ebrowse.el (ebrowse-files-list)
15730 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15731 Mark unused parameters. Don't quote `lambda'.
15732 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15733 Don't quote `lambda'.
15734 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15735 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15736 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15737 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15738 Use `ignore-errors'.
15739 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15740 (ebrowse-view/find-file-and-search-pattern)
15741 (ebrowse-view/find-member-declaration/definition):
15742 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15743 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15744 Rename parameter PREFIX-ARG to PREFIX.
15745 (ebrowse-tags-read-name): Remove unused variables `start' and
15746 `member-info'.
15747 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15748 to `tags-file'.
15749
15750 * progmodes/etags.el (local-find-tag-hook): Declare.
15751 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15752 Mark unused parameters.
15753
15754 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15755 (executable-interpret): Mark unused parameter.
15756
15757 * progmodes/flymake.el (flymake-process-sentinel)
15758 (flymake-after-change-function)
15759 (flymake-create-temp-with-folder-structure)
15760 (flymake-get-include-dirs-dot): Mark unused parameters.
15761 (flymake-safe-delete-directory): Remove unused variable `err'.
15762
15763 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15764 (speedbar-timer-fn, speedbar-line-text)
15765 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15766 (speedbar-center-buffer-smartly): Declare functions.
15767 (gdb-find-watch-expression): Remove unused variable `array'.
15768 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15769 (gdb-starting): Mark unused parameters.
15770 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15771 (gdb-table-string): Remove unused variable `res'.
15772 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15773 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15774 (gdb-display-buffer): Remove unused variable `cur-size'.
15775
15776 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15777 allow lexical-binding compilation.
15778 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15779 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15780 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15781 Mark unused parameters.
15782 (gud-gdb-marker-filter): Remove unused variable `match'.
15783 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15784 lambda expressions and funcall them, instead of using `fset'.
15785
15786 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15787 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15788
15789 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15790 variable `header-beg'; use `let'.
15791
15792 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15793 `restart', `last-sexp' and `at-do'.
15794
15795 * progmodes/js.el (js--debug): Mark unused parameter.
15796 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15797 (js--splice-into-items): Remove unused variable `item'.
15798 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15799
15800 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15801 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15802 (makefile-complete): Remove unused variable `try'.
15803 (makefile-fill-paragraph, makefile-match-function-end):
15804 Mark unused parameters.
15805
15806 * progmodes/octave-inf.el (inferior-octave-complete):
15807 Remove unused variable `proc'.
15808 (inferior-octave-output-digest): Mark unused parameter.
15809
15810 * progmodes/perl-mode.el (perl-calculate-indent):
15811 Remove unused variable `err'.
15812
15813 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15814 (prolog-indent-line): Mark unused parameters.
15815 (prolog-indent-line): Remove unused variable `beg'.
15816
15817 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15818 (reporter-dont-compact-list): Declare.
15819
15820 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15821 Remove unused variable `char'.
15822 (sh-debug): Mark unused parameter.
15823 (sh-get-indent-info): Remove unused variable `start'.
15824 (sh-calculate-indent): Remove unused variable `var'.
15825
15826 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15827 (simula-electric-keyword): Remove unused variable `null'.
15828 (simula-search-backward, simula-search-forward): Remove unused
15829 variables `begin' and `end'.
15830
15831 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15832 Remove unused variable `pos'.
15833 (vera-electric-tab, vera-comment-uncomment-region):
15834 Mark unused parameters.
15835 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15836
7ede3b65
CY
158372011-04-22 Chong Yidong <cyd@stupidchicken.com>
15838
15839 * emacs-lisp/package.el (package--builtins, package-alist)
15840 (package-load-descriptor, package-built-in-p, package-activate)
15841 (define-package, package-installed-p)
15842 (package-compute-transaction, package-buffer-info)
15843 (package--push): Doc fix. Distinguish more clearly between
15844 version strings and version lists.
15845
121656e9
JB
158462011-04-21 Juanma Barranquero <lekktu@gmail.com>
15847
15848 Lexical-binding cleanup.
15849
15850 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15851 (5x5-make-mutate-best):
15852 * play/fortune.el (fortune-in-buffer):
15853 * play/gomoku.el (gomoku-init-display):
15854 * play/solitaire.el (solitaire, solitaire-do-check):
15855 * play/tetris.el (tetris-default-update-speed-function):
15856 Mark unused parameters.
15857
15858 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15859 (bubbles--shift): Remove unused variable `char-org'.
15860 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15861 (bubbles--show-images): Remove unused variable `char'.
15862
15863 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15864 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15865 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15866 (decipher-analyze-buffer): Use ?\s.
15867 (decipher-make-checkpoint): Remove unused variable `mapping'.
15868
15869 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15870
15871 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15872 Remove unused variable `result'; use `let'.
15873
15874 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15875 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15876 (gametree-children-shown-p, gametree-compute-reduced-score):
15877 Use `ignore-errors'.
15878
15879 * play/handwrite.el (ps-lpr-switches): Declare.
15880 (handwrite): Remove unused variables `pmin' and `lastp'.
15881
15882 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15883
15884 * play/landmark.el (landmark-init-display)
15885 (landmark-update-naught-weights): Mark unused parameters.
15886 (landmark-y): Remove unused variable `noise'. Simplify.
15887 (landmark-human-plays): Remove unused variable `score'.
15888
15889 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15890 (mpuz-try-proposal): Remove unused variable `game'.
15891
15892 * play/zone.el (life-patterns): Declare.
15893
80f499c7
JB
158942011-04-20 Juanma Barranquero <lekktu@gmail.com>
15895
15896 * vc/vc.el (ediff-vc-internal): Declare function.
15897
024ff170
SM
158982011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15899
c0a193ea
SM
15900 * shell.el: Use lexical-binding and std completion UI.
15901 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15902 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15903 comint-preoutput-filter-functions rather than on
15904 comint-output-filter-functions.
15905 (shell-command-completion, shell--command-completion-data)
15906 (shell-filename-completion, shell-environment-variable-completion)
15907 (shell-c-a-p-replace-by-expanded-directory): New functions.
15908 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15909 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15910 (shell-dynamic-complete-environment-variable): Use them.
15911 (shell-dynamic-complete-as-environment-variable)
15912 (shell-dynamic-complete-as-command): Remove.
15913 (shell-match-partial-variable): Match past point.
15914 * comint.el: Clean up use of completion-at-point-functions.
15915 (comint-completion-at-point): New function.
15916 (comint-mode): Use it completion-at-point-functions.
15917 (comint-dynamic-complete): Make it obsolete.
15918 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15919 (comint-c-a-p-replace-by-expanded-history): New function.
15920 (comint-dynamic-complete-functions)
15921 (comint-replace-by-expanded-history): Use it.
15922 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15923 termination strings. Try harder to avoid second try-completion.
15924 (completion-in-region-mode-map): Disable bindings that don't work yet.
15925
2dbaa080
SM
15926 * comint.el: Use lexical-binding. Require CL.
15927 (comint-dynamic-complete-functions): Use comint-filename-completion.
15928 (comint-completion-addsuffix): Tweak custom type.
15929 (comint-filename-completion, comint--common-suffix)
15930 (comint--common-quoted-suffix, comint--table-subvert)
15931 (comint--complete-file-name-data): New functions.
15932 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15933 (comint-dynamic-list-filename-completions): Use them.
15934 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15935
2dbaa080
SM
15936 * minibuffer.el (completion-in-region-mode):
15937 Keep completion-in-region-mode--predicate global.
15938 (completion-in-region--postch):
15939 Assume completion-in-region-mode--predicate is not null.
15940
c79a6f38
SM
15941 * progmodes/flymake.el (flymake-start-syntax-check-process):
15942 Obey `dir'. Simplify.
15943
024ff170
SM
15944 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15945 we're in VC after all.
15946
1c6c854e
CS
159472011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15948
15949 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15950 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15951 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15952
bed7f140
SM
159532011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15954
332e62ab
SM
15955 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15956 add sanity check.
15957
bed7f140
SM
15958 * obsolete/erc-hecomplete.el: Make obsolete.
15959 * obsolete/: Standardize obsolescence info in the header.
15960
f195c582
GM
159612011-04-20 Glenn Morris <rgm@gnu.org>
15962
15963 * calendar/solar.el (solar-horizontal-coordinates):
15964 Use the longitude argument rather than `calendar-longitude'.
15965 (solar-date-next-longitude): Remove unused locals.
15966
cb79b8c0
VJL
159672011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15968
15969 * whitespace.el: New version 13.2.1.
15970
159712011-04-20 felix <EmacsWiki> (tiny change)
15972
d8e4b68b 15973 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15974 switching between major modes on a file.
15975
602ea69d
SM
159762011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15977
15978 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15979 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15980 multi-line comments as well.
15981
06b60517
JB
159822011-04-19 Juanma Barranquero <lekktu@gmail.com>
15983
15984 Lexical-binding cleanup.
15985
15986 * arc-mode.el (archive-mode-revert):
15987 * cmuscheme.el (scheme-interactively-start-process):
15988 * custom.el (custom-initialize-delay):
15989 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15990 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15991 * emacs-lock.el (emacs-lock-clear-sentinel):
15992 * ezimage.el (defezimage):
15993 * follow.el (follow-avoid-tail-recenter):
15994 * fringe.el (set-fringe-mode-1):
15995 * generic-x.el (bat-generic-mode-compile):
15996 * help-mode.el (help-info-variable, help-do-xref)
15997 (help-mode-revert-buffer):
15998 * help.el (view-emacs-todo):
15999 * iswitchb.el (iswitchb-completion-help):
16000 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
16001 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
16002 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
16003 * locate.el (locate-update):
16004 * longlines.el (longlines-encode-region)
16005 (longlines-after-change-function):
16006 * outline.el (outline-isearch-open-invisible):
16007 * ps-def.el (declare-function, charset-dimension, char-width)
16008 (encode-char):
16009 * ps-mule.el (ps-mule-plot-string):
16010 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
16011 (recentf-edit-list-select, recentf-edit-list-validate)
16012 (recentf-open-files-action):
16013 * rect.el (delete-whitespace-rectangle-line)
16014 (rectangle-number-line-callback):
16015 * register.el (window-configuration-to-register)
16016 (frame-configuration-to-register):
16017 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
16018 * select.el (xselect-convert-to-string, xselect-convert-to-length)
16019 (xselect-convert-to-targets, xselect-convert-to-delete)
16020 (xselect-convert-to-filename, xselect-convert-to-charpos)
16021 (xselect-convert-to-lineno, xselect-convert-to-colno)
16022 (xselect-convert-to-os, xselect-convert-to-host)
16023 (xselect-convert-to-user, xselect-convert-to-class)
16024 (xselect-convert-to-name, xselect-convert-to-integer)
16025 (xselect-convert-to-atom, xselect-convert-to-identity):
16026 * subr.el (declare, ignore, process-kill-without-query)
16027 (text-clone-maintain):
16028 * terminal.el (te-get-char, te-tic-sentinel):
16029 * tool-bar.el (tool-bar-make-keymap):
16030 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
16031 * type-break.el (type-break-mode, type-break-noninteractive-query):
16032 * view.el (View-back-to-mark):
16033 * wid-browse.el (widget-browse-action, widget-browse-widget)
16034 (widget-browse-widgets, widget-browse-sexp):
16035 * widget.el (define-widget-keywords):
16036 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
16037 Mark unused parameters.
16038
16039 * align.el (align-adjust-col-for-rule): Mark unused parameter.
16040 (align-areas): Remove unused variable `look'.
16041 (align-region): Remove unused variables `real-end' and `pos-list'.
16042
16043 * apropos.el (apropos-score-doc): Remove unused variable `i'.
16044
16045 * bindings.el (mode-line-modified, mode-line-remote):
16046 Mark unused parameters.
16047 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
16048
16049 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
16050 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
16051
16052 * comint.el (comint-history-isearch-pop-state)
16053 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16054 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16055 (comint-substitute-in-file-name): Doc fix.
16056
16057 * completion.el (cmpl-statistics-block): Mark unused parameter.
16058 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16059 (save-completions-to-file, load-completions-from-file):
16060 Remove unused local variable `e'.
16061
16062 * composite.el (compose-chars): Remove unused variable `len'.
16063 (lgstring-insert-glyph): Remove unused variable `g'.
16064 (compose-glyph-string): Remove unused variables `ascent',
16065 `descent', `lbearing' and `rbearing'.
16066 (compose-glyph-string-relative): Remove unused variables
16067 `lbearing', `rbearing' and `wadjust'.
16068 (compose-gstring-for-graphic): Remove unused variables `header',
16069 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16070 (compose-gstring-for-terminal): Remove unused variables `header'
16071 and `nchars'. Use `let', not `let*'.
16072
16073 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16074 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16075 (Custom-buffer-done, custom-buffer-create-internal)
16076 (custom-browse-visibility-action, custom-browse-group-tag-action)
16077 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16078 (widget-magic-mouse-down-action, custom-toggle-parent)
16079 (custom-add-parent-links, custom-toggle-hide-variable)
16080 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16081 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16082 (custom-face-menu-create, custom-variable-menu-create, get)
16083 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16084 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16085 (customize-apropos): Remove unused variable `tests'.
16086 (custom-group-value-create): Remove unused variable `hidden-p'.
16087 (sort-fold-case): Declare.
16088
16089 * cus-theme.el (custom-reset-standard-faces-list)
16090 (custom-reset-standard-variables-list): Declare.
16091 (customize-create-theme, custom-theme-revert, custom-theme-write)
16092 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16093 Mark unused parameters.
16094
16095 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16096
16097 * delim-col.el (delimit-columns-max): Move defvar before first use.
16098
16099 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16100 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16101
16102 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16103 (auto-insert): Declare.
16104 (desktop-restore-file-buffer): Rename desktop-* parameters;
16105 mark unused ones.
16106 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16107 (desktop-buffer): Rename desktop-* parameters.
16108
16109 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16110 (dframe-reposition-frame-xemacs, dframe-help-echo)
16111 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16112 Mark unused parameters.
16113
16114 * dired-aux.el (backup-extract-version-start, overwrite-query)
16115 (overwrite-backup-query, rename-regexp-query)
16116 (rename-non-directory-query): Declare.
16117 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16118 (dired-add-entry): Remove unused variable `orig-file-name'.
16119 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16120 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16121 `dired-copy-preserve-time' directly.
16122 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16123 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16124
16125 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16126 (dired-virtual-revert, dired-make-relative-symlink):
16127 Mark unused parameters.
16128 (manual-program): Declare.
16129 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16130 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16131 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16132
16133 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16134
16135 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16136
16137 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16138 Declare.
16139
16140 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16141
16142 * electric.el (Electric-command-loop): Rename parameter
16143 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16144
16145 * expand.el (expand-in-literal): Remove unused variable `here'.
16146
16147 * facemenu.el (facemenu-add-new-color):
16148 Remove unused variable `docstring'.
16149
16150 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16151 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16152 (face-attr-construct): Mark unused parameter. Doc fix.
16153 (read-color): Remove unused variable `hex-string'.
16154
16155 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16156 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16157 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16158 (display-buffer-other-frame): Remove unused variable `old-window'.
16159 (kill-buffer-hook): Declare.
16160 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16161 Mark unused parameters.
16162 (after-find-file): Pass 1 to `auto-save-mode', not t.
16163
16164 * files-x.el (auto-insert): Declare.
16165 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16166
16167 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16168 variable `buf'. Mark unused parameter.
06b60517
JB
16169 (find-lisp-insert-directory): Mark unused parameter.
16170
16171 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16172 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16173 (format-common-tail): Remove, unused.
16174 (format-deannotate-region): Remove unused variable `loc'.
16175 (format-annotate-region): Remove unused variable `p'.
16176 (format-annotate-single-property-change): Remove unused variables
16177 `default' and `tail'.
16178
16179 * forms.el (read-file-filter): Declare.
16180 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16181
16182 * frame.el (frame-creation-function-alist): Mark unused parameter.
16183 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16184
16185 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16186 Remove unused parameters.
16187 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16188 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16189
16190 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16191 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16192 (hfy-prepare-tag-map): Mark unused parameters.
16193 (htmlfontify-buffer): Use `called-interactively-p'.
16194
16195 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16196 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16197 (ibuffer-do-occur): Mark unused parameters.
16198 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16199 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16200
16201 * ibuffer.el: Don't quote `lambda'.
16202 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16203 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16204 Mark unused parameters.
16205
16206 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16207 (ido-completing-read): Mark unused parameters.
16208 (ido-copy-current-word): Mark unused parameters;
16209 remove unused variable `name'.
16210 (ido-sort-merged-list): Remove unused parameter `dirs'.
16211
16212 * ielm.el (ielm-input-sender): Mark unused parameter.
16213 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16214 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16215 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16216 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16217 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16218
16219 * image-dired.el (image-dired-display-thumbs): Remove unused
16220 variables `curr-file' and `count'.
16221 (image-dired-remove-tag): Remove unused variable `start'.
16222 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16223 variable `curr-file'
16224 (image-dired-rotate-original): Remove unused variable `temp-file'.
16225 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16226 Remove unused variable `file'.
16227 (image-dired-gallery-generate): Remove unused variable `curr'.
16228 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16229
16230 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16231
16232 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16233
16234 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16235
16236 * isearch.el (minibuffer-history-symbol): Declare.
16237 (isearch-edit-string): Remove unused variable `err'.
16238 (isearch-message-prefix, isearch-message-suffix):
16239 Mark unused parameters.
16240
16241 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16242
16243 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16244
16245 * makesum.el (double-column): Remove unused variable `cnt'.
16246
16247 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16248 (ido-ignore-item-temp-list): Declare.
16249
16250 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16251 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16252 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16253 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16254 `mouse-col-delta'.
16255
16256 * mouse-sel.el (mouse-extend-internal):
16257 Remove unused variable `orig-window-frame'.
16258
16259 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16260 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16261 Move declarations before first use.
16262 (pcomplete-opt): Mark unused parameters; doc fix.
16263
16264 * proced.el (proced-revert): Mark unused parameter.
16265 (proced-send-signal): Remove unused variable `err'.
16266
16267 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16268 Rename parameter PREFIX-ARG to ARG.
16269 (ps-basic-plot-string, ps-basic-plot-whitespace):
16270 Mark unused parameters.
16271
16272 * replace.el (replace-count): Define.
16273 (occur-revert-function): Mark unused parameters.
16274 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16275 (isearch-case-fold-search, isearch-string): Declare.
16276 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16277 bind `case-fold-search'. Remove unused variables `beg' and `end',
16278 and simplify.
16279 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16280 COUNT and bind `replace-count'.
16281 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16282 to COUNT.
16283
16284 * savehist.el (print-readably, print-string-length): Declare.
16285
16286 * shadowfile.el (shadow-expand-cluster-in-file-name):
16287 Remove unused variable `cluster'.
16288 (shadow-copy-file): Remove unused variable `i'.
16289 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16290 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16291 (shadow-define-literal-group, shadow-define-regexp-group)
16292 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16293
16294 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16295 (shell): Use `called-interactively-p'.
16296 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16297
16298 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16299 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16300 (delete-backward-char): Remove unused variable `ocol'.
16301 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16302 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16303 (event-apply-hyper-modifier, event-apply-shift-modifier)
16304 (event-apply-control-modifier, event-apply-meta-modifier):
16305 Mark unused parameters.
16306 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16307 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16308
16309 * speedbar.el (speedbar-ignored-directory-expressions)
16310 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16311 (speedbar-find-file, speedbar-dir-follow)
16312 (speedbar-directory-buttons-follow, speedbar-tag-find)
16313 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16314 (speedbar-buffers-line-directory, speedbar-buffer-click):
16315 Mark unused parameters.
16316 (speedbar-tag-file): Remove unused variable `mode'.
16317 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16318
16319 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16320
16321 * talk.el (talk): Remove unused variable `display'.
16322
16323 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16324 (tar-write-region-annotate): Mark unused parameter.
16325
16326 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16327 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16328 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16329 warning by another.
16330
16331 * time-stamp.el (time-stamp-string-preprocess):
16332 Remove unused variable `require-padding'.
16333
16334 * tree-widget.el (widget-glyph-enable): Declare.
16335 (tree-widget-action): Mark unused parameter.
16336
16337 * w32-fns.el (x-get-selection): Mark unused parameter.
16338 (autoload-make-program, generated-autoload-file): Declare.
16339
16340 * wdired.el (wdired-revert): Mark unused parameters.
16341 (wdired-xcase-word): Remove unused variable `err'.
16342
16343 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16344 (whitespace-help-scroll): Remove unused variable `data-help'.
16345
16346 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16347 (widget-image-insert, widget-after-change, default)
16348 (widget-default-format-handler, widget-default-notify)
16349 (widget-default-prompt-value, widget-info-link-action)
16350 (widget-url-link-action, widget-function-link-action)
16351 (widget-variable-link-action, widget-file-link-action)
16352 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16353 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16354 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16355 (widget-insert-button-action, widget-delete-button-action, visibility)
16356 (widget-documentation-link-action, widget-documentation-string-action)
16357 (widget-const-prompt-value, widget-regexp-match, symbol)
16358 (widget-coding-system-prompt-value)
16359 (widget-key-sequence-value-to-external, sexp)
16360 (widget-sexp-value-to-internal, character, vector, cons)
16361 (widget-choice-prompt-value, widget-boolean-prompt-value)
16362 (widget-color--choose-action): Mark unused parameters.
16363 (widget-item-match-inline, widget-choice-match-inline)
16364 (widget-checklist-match, widget-checklist-match-inline)
16365 (widget-group-match): Rename parameter VALUES to VALS.
16366 (widget-field-value-set): Remove unused variable `size'.
16367 (widget-color-action): Remove unused variables `value' and `start'.
16368
16369 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16370 variable `dir'. Doc fix.
06b60517
JB
16371 (windmove-find-other-window): Don't pass it.
16372
16373 * window.el (count-windows): Mark unused parameter.
16374 (bw-adjust-window): Remove unused variable `err'.
16375
16376 * woman.el (woman-file-name): Remove unused variable `default'.
16377 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16378 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16379 (global-font-lock-mode): Declare.
16380 (woman-decode-region): Mark unused parameter.
16381 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16382
16383 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16384 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16385 (x-dnd-handle-moz-url): Remove unused variable `title'.
16386 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16387
16388 * xml.el (xml-parse-tag, xml-parse-attlist):
16389 Remove unused variable `pos'.
16390
bc4f7f3d
GM
163912011-04-19 Glenn Morris <rgm@gnu.org>
16392
16393 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16394 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16395 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16396 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16397 * calendar/cal-html.el (cal-html-insert-minical):
16398 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16399 (calendar-mark-date-pattern):
16400 Prefix "unused" locals.
16401
16402 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16403 optional argument `style'.
16404
16405 * calendar/appt.el (appt-make-list):
16406 * calendar/cal-china.el (calendar-chinese-date-string):
16407 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16408 (diary-hebrew-yahrzeit):
16409 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16410 * calendar/calendar.el (calendar-generate-window):
16411 * calendar/time-date.el (time-to-days):
16412 Remove unused local variables.
16413
16a43933
CY
164142011-04-18 Chong Yidong <cyd@stupidchicken.com>
16415
16416 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16417 glyphless-char-display table.
16418 (tabulated-list-glyphless-char-display): New var.
16419
7eed1860
SS
164202011-04-18 Sam Steingold <sds@gnu.org>
16421
16422 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16423 to acknowledgments.
16424
4d2d1ccd
GM
164252011-04-17 Glenn Morris <rgm@gnu.org>
16426
16427 * calendar/diary-lib.el (diary-sexp-entry):
16428 * calendar/holidays.el (holiday-sexp):
16429 Set debug-on-error rather than the removed stack-trace-on-error.
16430
239da61d
GM
164312011-04-16 Glenn Morris <rgm@gnu.org>
16432
16433 * progmodes/f90.el: Use lexical-binding.
16434 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16435
8b05752a
SM
164362011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16437
daca8ba5
SM
16438 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16439 (mail-mode): Setup mailalias completion here instead.
16440 * mail/mailalias.el: Use lexical-binding.
16441 (pattern, mailalias-done): Declare dynamic.
16442 (mail-completion-at-point-function): New function, from mail-complete.
16443 (mail-complete): Use it.
16444 (mail-completion-expand): New function.
16445 (mail-get-names): Use it.
16446 (mail-directory, mail-directory-process, mail-directory-stream):
16447 Don't use `pattern' for lexically bound arg.
16448
6f542485
SM
16449 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16450
037e7c3f
SM
16451 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16452 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16453 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16454
8b05752a
SM
16455 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16456 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16457 (byte-interactive-p): Define them again, for use when inlining
16458 old code.
16459
49093f60
JB
164602011-04-15 Juanma Barranquero <lekktu@gmail.com>
16461
16462 * loadup.el: Use `string-to-number', not `string-to-int'.
16463
b5b8e7de
SM
164642011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16465
16466 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16467 gud-gdb-complete-command.
16468 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16469 (gud-gdb-completion-at-point): New function.
16470 (gud-gdb-completions): Remove.
16471
f42efeb5
MA
164722011-04-14 Michael Albinus <michael.albinus@gmx.de>
16473
49093f60
JB
16474 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16475 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16476 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16477 whether `executable-find' is bound.
f42efeb5
MA
16478
16479 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16480
e240cc21
SM
164812011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16482
16483 * minibuffer.el (completion-in-region-mode-predicate)
16484 (completion-in-region-mode--predicate): New vars.
16485 (completion-in-region, completion-in-region--postch)
16486 (completion-in-region-mode): Use them.
16487 (completion--capf-wrapper): Also return the hook function.
16488 (completion-at-point, completion-help-at-point):
16489 Adjust and provide a predicate.
c2bd2ab0
SM
16490
16491 Preserve arg names for advice of subr and lexical functions (bug#8457).
16492 * help-fns.el (help-function-arglist): Consolidate the subr and
16493 new-byte-code cases. Add argument `preserve-names' to extract names
16494 from the docstring when needed.
16495 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16496 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16497 (ad-arglist): Use help-function-arglist's new arg.
16498 (ad-definition-type): Use cond.
16499
c183f693
JB
165002011-04-13 Juanma Barranquero <lekktu@gmail.com>
16501
06641a47
JB
16502 * autorevert.el (auto-revert-handler):
16503 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16504 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16505 Don't quote lambda.
16506
c183f693
JB
16507 * image-mode.el (image-transform-set-scale):
16508 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16509
1e3b6001
G
165102011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16511
16512 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16513 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16514 Upgrades via gnutls-cli are too slow to be done opportunistically.
16515
2d6af8dd
JB
165162011-04-12 Juanma Barranquero <lekktu@gmail.com>
16517
16518 * dframe.el (dframe-current-frame): Remove spurious quote.
16519
c0749a51
GM
165202011-04-12 Glenn Morris <rgm@gnu.org>
16521
088d0d61
GM
16522 * calendar/cal-tex.el (cal-tex-end-document):
16523 Try to automatically use latin1 input if needed.
16524
c0749a51
GM
16525 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16526 Don't try to cons a mark onto an empty element.
16527
5c90fde0
LL
165282011-04-11 Leo Liu <sdl.web@gmail.com>
16529
16530 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16531 buffers.
16532 (ido-kill-buffer-at-head): Support killing virtual buffers.
16533
369e974d
CY
165342011-04-10 Chong Yidong <cyd@stupidchicken.com>
16535
16536 * minibuffer.el (completion-show-inline-help): New var.
16537 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16538 (minibuffer-force-complete, minibuffer-complete-word):
16539 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16540
16541 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16542 to avoid interference from inline help (Bug#5849).
16543
37f1c930
LL
165442011-04-10 Leo Liu <sdl.web@gmail.com>
16545
099c39a4
JB
16546 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16547 Fix typo.
37f1c930 16548
a32d4040
CY
165492011-04-09 Chong Yidong <cyd@stupidchicken.com>
16550
16551 * image-mode.el (image-toggle-display-image): Signal an error if
16552 not in Image mode.
16553 (image-transform-mode, image-transform-resize)
16554 (image-transform-set-rotation): Doc fix.
daca8ba5 16555 (image-transform-set-resize): Delete.
a32d4040
CY
16556 (image-transform-set-scale, image-transform-fit-to-height)
16557 (image-transform-fit-to-width): Handle image-toggle-display-image
16558 and image-transform-resize directly.
16559
099c39a4 165602011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16561
16562 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16563 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16564 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16565 (doc-view-mode-map): Add bindings for the new functions.
16566
099c39a4 165672011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16568
4d61f28d 16569 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16570 Fix typo in docstring.
16571
3726838a
EZ
165722011-04-08 Eli Zaretskii <eliz@gnu.org>
16573
04f33f1e
EZ
16574 * files.el (file-size-human-readable): Produce one digit after
16575 decimal, like "ls -lh" does.
16576
16577 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16578 the file size representation.
16579
3726838a
EZ
16580 * simple.el (list-processes): If async subprocesses are not
16581 available, error out with a clear error message.
16582
cbb59342
CY
165832011-04-08 Chong Yidong <cyd@stupidchicken.com>
16584
16585 * help.el (help-form-show): New function, to be called from C.
16586 Put help-form output in a buffer named differently than *Help*.
16587
e3971c44
EZ
165882011-04-08 Eli Zaretskii <eliz@gnu.org>
16589
16590 * files.el (file-size-human-readable): New function.
16591
16592 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16593 computing the representation inline. Don't require `cl'.
16594
12544bbe
GM
165952011-04-08 Glenn Morris <rgm@gnu.org>
16596
a1de6c6a
GM
16597 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16598
3c4671f4
GM
16599 * net/browse-url.el (browse-url-firefox):
16600 Test system-type, not system-configuration.
16601
b605679c
GM
16602 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16603 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16604 Use log-edit-empty-buffer-p. (Bug#7598)
16605
56442f0c
GM
16606 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16607 (rlogin-mode-map): Initialize in the defvar.
16608 (rlogin): Use ignore-errors.
16609
12544bbe
GM
16610 * replace.el (occur-mode-map): Some fixes for menu items.
16611
eb237b0f
AH
166122011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16613
16614 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16615
7d668f2c
CY
166162011-04-06 Chong Yidong <cyd@stupidchicken.com>
16617
e67a13ab
CY
16618 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16619 issuing unused warnings.
16620
16621 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16622 macro directly.
16623
7d668f2c
CY
16624 * simple.el: Lisp reimplement of list-processes. Based on an
16625 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16626 (process-menu-mode): New major mode.
16627 (list-processes--refresh, list-processes):
16628 (process-menu-visit-buffer): New functions.
16629
16630 * files.el (save-buffers-kill-emacs): Don't assume any return
16631 value of list-processes, which is undocumented anyway.
16632
a83ec3c9
CY
166332011-04-06 Chong Yidong <cyd@stupidchicken.com>
16634
16635 * emacs-lisp/tabulated-list.el: New file.
16636
e91a96fe
CY
16637 * emacs-lisp/package.el: Use Tabulated List mode.
16638 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16639 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16640 table format using Tabulated List mode variables.
16641 (package--push): New macro, replacing package-list-maybe-add.
16642 (package-menu--generate): Use package--push. Renamed from
16643 package--generate-package-list.
16644 (package-menu-refresh, list-packages): Use it.
daca8ba5 16645 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16646 Return insertion data instead of inserting it directly.
099c39a4
JB
16647 (package-menu-describe-package, package-menu-execute):
16648 Use tabulated-list-get-id.
e91a96fe
CY
16649 (package-menu-mark-delete, package-menu-mark-install)
16650 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16651 (package-menu-mark-obsolete-for-deletion):
16652 Use tabulated-list-put-tag.
e91a96fe
CY
16653 (package--list-packages, package-menu-revert)
16654 (package-menu-get-package, package-menu-get-version)
16655 (package-menu-sort-by-column): Functions deleted.
16656 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16657 (package-menu--status-predicate, package-menu--version-predicate)
16658 (package-menu--name-predicate)
16659 (package-menu--description-predicate): Handle arguments in the
16660 Tabulated List format.
16661 (package-list-packages-no-fetch): Call list-packages.
16662
3e214b50
JB
166632011-04-06 Juanma Barranquero <lekktu@gmail.com>
16664
16665 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16666 (after-find-file): Don't bind it.
3e214b50
JB
16667 (revert-buffer-in-progress-p): New variable.
16668 (revert-buffer): Bind it.
16669 Pass nil for `after-find-file-from-revert-buffer'.
16670
16671 * saveplace.el (save-place-find-file-hook): Use new variable
16672 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16673
3f0f1700
GM
166742011-04-06 Glenn Morris <rgm@gnu.org>
16675
c0274801
GM
16676 * Makefile.in (AUTOGEN_VCS): New variable.
16677 (autoloads): Use $AUTOGEN_VCS.
16678
3f0f1700
GM
16679 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16680 * calendar/calendar.el (calendar-mode-map):
16681 Check for toolkit scroll bars. (Bug#8305)
16682
41ea9e48
CY
166832011-04-05 Chong Yidong <cyd@stupidchicken.com>
16684
16685 * minibuffer.el (completion-in-region--postch)
16686 (completion-in-region-mode): Remove unnecessary messages.
16687
6194c800
JB
166882011-04-05 Juanma Barranquero <lekktu@gmail.com>
16689
33256f14
JB
16690 * font-lock.el (font-lock-refresh-defaults):
16691 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16692 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16693
6194c800
JB
16694 * info.el (Info-directory-list, Info-read-node-name-2)
16695 (Info-split-parameter-string): Doc fixes.
16696 (Info-virtual-nodes): Reflow docstring.
16697 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16698 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16699 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16700 Fix typos in docstrings.
16701 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16702 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16703 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16704 (Info-restore-desktop-buffer): Mark unused parameters.
16705 (Info-directory-find-file, Info-directory-find-node)
16706 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16707 (Info-virtual-index-find-node, Info-apropos-find-file)
16708 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16709 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16710 (Info-virtual-index): Remove unused local variable `nodename'.
16711
b87a8200 167122011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16713
b87a8200
DD
16714 * net/rcirc.el: Update my e-mail address.
16715 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16716
3b2ff876
CY
167172011-04-05 Chong Yidong <cyd@stupidchicken.com>
16718
16719 * startup.el (command-line): Save the cursor's theme-face
16720 directly, instead of using face-override-spec.
16721
16722 * custom.el (load-theme): Minor optimization in assigning faces.
16723
8d17e7ca
JB
167242011-04-04 Juanma Barranquero <lekktu@gmail.com>
16725
16726 * help-fns.el (describe-variable): Complete all variables having
16727 documentation, including keywords.
16728 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16729
2fbc1934
JB
167302011-04-04 Juanma Barranquero <lekktu@gmail.com>
16731
16732 Convert to lexical-binding.
16733
16734 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16735 (bs--get-marked-string, bs--get-modified-string)
16736 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16737 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16738 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16739
16740 * ehelp.el (electric-help-execute-extended)
16741 (electric-help-ctrl-x-prefix):
16742 * hexl.el (hexl-revert-buffer-function):
16743 * linum.el (linum-after-change, linum-after-scroll):
16744 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16745
16746 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16747
74f50695
DU
167482011-04-04 Daiki Ueno <ueno@unixuser.org>
16749
16750 * epa-dired.el:
16751 * epa-mail.el:
16752 * epa-hook.el:
16753 * epa-file.el:
16754 * epa.el:
16755 * epg.el: Use lexical binding.
16756
c11325f7
CY
167572011-04-03 Chong Yidong <cyd@stupidchicken.com>
16758
0d9e9a12
CY
16759 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16760
c11325f7 16761 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16762 dictionary case for flyspell-mark-duplications-exceptions.
16763 Use regexp matching for languages.
c11325f7
CY
16764 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16765 default dictionary (Bug#7926).
16766
da91b5f2
CY
167672011-04-02 Chong Yidong <cyd@stupidchicken.com>
16768
099c39a4
JB
16769 * emacs-lisp/package.el (package--with-work-buffer):
16770 Recognize https URLs.
da91b5f2 16771
099c39a4
JB
16772 * net/network-stream.el: Move from gnus/proto-stream.el.
16773 Change prefix to network-stream throughout.
da91b5f2
CY
16774 (open-protocol-stream): Merge into open-network-stream, leaving
16775 open-protocol-stream as an alias. Handle nil BUFFER args.
16776
16777 * subr.el (open-network-stream): Move to net/network-stream.el.
16778
afa8e9f6
GM
167792011-04-02 Glenn Morris <rgm@gnu.org>
16780
1d2e369d
GM
16781 * find-dired.el (find-exec-terminator): New option.
16782 (find-ls-option): Test for -ls support.
16783 (find-ls-subdir-switches): Test for -b in find-ls-option.
16784 (find-dired, find-grep-dired): Doc fixes.
16785 (find-dired): Use find-exec-terminator.
16786
8abb7da8 16787 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16788 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16789 (find-name-arg): Remove purecopy.
8abb7da8 16790
f3ca7378
GM
16791 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16792 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16793 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16794 accordingly. Don't add the null-device if not needed.
16795
afa8e9f6
GM
16796 * files.el (save-some-buffers): Doc fix.
16797
35eae264
EZ
167982011-04-02 Eli Zaretskii <eliz@gnu.org>
16799
16800 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16801
26b51db5
JB
168022011-04-01 Juanma Barranquero <lekktu@gmail.com>
16803
16804 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16805 Use `dolist' rather than `mapcar'.
16806
7200d79c
SM
168072011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16808
03408648 16809 Add lexical binding.
7200d79c 16810
03408648
SM
16811 * subr.el (apply-partially): Use new closures rather than CL.
16812 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16813 (dolist, dotimes): Use slightly different expansion for lexical code.
16814 (functionp): Move to C.
16815 (letrec): New macro.
16816 (with-wrapper-hook): Use it and apply-partially instead of CL.
16817 (eval-after-load): Preserve lexical-binding.
16818 (save-window-excursion, with-output-to-temp-buffer): Turn them
16819 into macros.
7200d79c 16820
03408648
SM
16821 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16822
16823 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16824 than the arglist.
16825 (help-add-fundoc-usage): Don't add `Not documented'.
16826 (help-function-arglist): Handle closures, subroutines, and new
16827 byte-code-functions.
16828 (help-make-usage): Remove leading underscores.
16829 (describe-function-1): Handle closures.
16830 (describe-variable): Use special-variable-p for completion.
16831
16832 * files.el (lexical-binding): Declare safe.
f488fb65 16833
03408648
SM
16834 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16835 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16836 (pcase): Add `let' pattern.
16837 Change memoization so it actually works.
16838 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16839 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16840 <let>: New case.
f488fb65 16841
03408648
SM
16842 * emacs-lisp/macroexp.el: Use lexical binding.
16843 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16844 Don't convert ' to #' without checking that it's indeed quoting
16845 a lambda.
16846
16847 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16848 Use eval-sexp-add-defvars.
03408648
SM
16849 (eval-sexp-add-defvars): New fun.
16850
16851 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16852
16853 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16854 Don't autoload.
16855 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16856 than the internal `byte-compile-lambda'.
16857 (defmethod): Don't hide code under quotes.
16858 (eieio-defmethod): New `code' argument.
16859
16860 * emacs-lisp/eieio-comp.el: Remove.
16861
16862 * emacs-lisp/edebug.el (edebug-eval-defun)
16863 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16864 (edebug-toggle): Avoid `eval'.
16865
16866 * emacs-lisp/disass.el (disassemble-internal): Handle new
16867 `closure' objects.
16868 (disassemble-1): Handle new byte codes.
16869
16870 * emacs-lisp/cl.el (pushnew): Silence warning.
16871
16872 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16873 (cl-byte-compile-throw): Remove.
16874 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16875
16876 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16877 closures.
16878
16879 * emacs-lisp/cconv.el: New file.
16880
16881 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16882 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16883 (byte-compile-initial-macro-environment):
16884 Handle declare-function here.
16885 (byte-compile--lexical-environment): New var.
16886 (byte-stack-ref, byte-stack-set, byte-discardN)
16887 (byte-discardN-preserve-tos): New lap codes.
16888 (byte-interactive-p): Don't use any more.
16889 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16890 New macros.
16891 (byte-compile-lapcode): Use them and handle new lap codes.
16892 (byte-compile-obsolete): Remove.
16893 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16894 (byte-compile-arglist-warn): Check late def of inlinable funs.
16895 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16896 since they should have been expanded by now.
16897 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16898 (byte-compile-from-buffer): Remove unused second arg.
16899 (byte-compile-preprocess): New function.
16900 (byte-compile-toplevel-file-form): New function to distinguish
16901 file-form calls from outside from file-form calls from hunk-handlers.
16902 (byte-compile-file-form): Simplify.
16903 (byte-compile-file-form-defsubst): Remove.
16904 (byte-compile-file-form-defmumble): Simplify now that
16905 byte-compile-lambda always returns a byte-code-function.
16906 (byte-compile): Preprocess.
16907 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16908 Remove, not used any more.
16909 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16910 (byte-compile-make-args-desc): New funs.
16911 (byte-compile-lambda): Handle lexical functions. Always return
16912 a byte-code-function.
16913 (byte-compile-reserved-constants): New var, to make up room for
16914 closed-over variables.
16915 (byte-compile-constants-vector): Obey it.
16916 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16917 (byte-compile-macroexpand-declare-function): New function.
16918 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16919 byte-code-functions.
16920 (byte-compile-form): Check obsolescence here.
16921 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16922 (byte-compile-variable-ref): Remove.
16923 (byte-compile-dynamic-variable-op): New fun.
16924 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16925 (byte-compile-variable-set): New funs.
16926 (byte-compile-discard): Add 2 args.
16927 (byte-compile-stack-ref, byte-compile-stack-set)
16928 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16929 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16930 macroexpand-all instead.
16931 (byte-compile-quote-form): Remove.
16932 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16933 (byte-compile-bind, byte-compile-unbind): New funs.
16934 (byte-compile-let): Handle let* and lexical binding.
16935 (byte-compile-let*): Remove.
16936 (byte-compile-catch, byte-compile-unwind-protect)
16937 (byte-compile-track-mouse, byte-compile-condition-case):
16938 Handle a new :fun-body form, used for lexical scoping.
16939 (byte-compile-save-window-excursion)
16940 (byte-compile-with-output-to-temp-buffer): Remove.
16941 (byte-compile-defun): Simplify.
16942 (byte-compile-stack-adjustment): New fun.
16943 (byte-compile-out): Use it.
16944 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16945
16946 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16947 handler any more.
16948
16949 * emacs-lisp/byte-opt.el: Use lexical binding.
16950 (byte-inline-lapcode): Remove (to bytecomp).
16951 (byte-compile-inline-expand): Pay attention to inlining to/from
16952 lexically bound code.
16953 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16954 any more.
16955 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16956 any more and don't call compiler-macros.
16957 (byte-compile-splice-in-already-compiled-code): Remove.
16958 (byte-code): Don't inline any more.
16959 (disassemble-offset): Receive `bytes' as argument rather than via
16960 dynamic scoping.
16961 (byte-compile-tag-number): Declare before first use.
16962 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16963 `return' even if make-spliceable.
16964 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16965 obsolete interactive-p.
16966 (byte-optimize-lapcode): Optimize new lap-codes.
16967 Don't trip up on new form of `byte-constant' lap code.
16968
16969 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16970
16971 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16972
16973 * custom.el (custom-initialize-default, custom-declare-variable):
16974 Use `defvar'.
16975
16976 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16977 New variables.
16978 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16979 (COMPILE_FIRST): Add macroexp and cconv.
16980 * makefile.w32-in: Mirror changes in Makefile.in.
16981
16982 * vc/cvs-status.el:
16983 * vc/diff-mode.el:
16984 * vc/log-edit.el:
16985 * vc/log-view.el:
16986 * vc/smerge-mode.el:
16987 * textmodes/bibtex-style.el:
090bd7cb 16988 * textmodes/css-mode.el:
03408648
SM
16989 * startup.el:
16990 * uniquify.el:
da91b5f2
CY
16991 * minibuffer.el:
16992 * newcomment.el:
16993 * reveal.el:
16994 * server.el:
16995 * mpc.el:
16996 * emacs-lisp/smie.el:
16997 * doc-view.el:
16998 * dired.el:
03408648
SM
16999 * abbrev.el: Use lexical binding.
17000
0f0c1f27
EZ
170012011-04-01 Eli Zaretskii <eliz@gnu.org>
17002
17003 * info.el (info-display-manual): New function.
17004
c82b2579
SM
170052011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
17006
17007 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
17008
221ddf68
TH
170092011-03-31 Tassilo Horn <tassilo@member.fsf.org>
17010
17011 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 17012 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 17013
cba6e77e
GM
170142011-03-31 Glenn Morris <rgm@gnu.org>
17015
e040639f
GM
17016 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
17017
cba6e77e
GM
17018 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
17019
6d0f1c9e
CS
170202011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
17021
17022 * progmodes/python.el (python-default-interpreter)
17023 (python-python-command-args, python-jython-command-args)
17024 (python-which-shell, python-which-args, python-which-bufname)
17025 (python-file-queue, python-comint-output-filter-function)
17026 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
17027 variables and functions.
17028
3e2d70fd
SM
170292011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
17030
17031 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
17032 (completion-in-region-mode): New minor mode.
17033 (completion-in-region): Use it.
17034 (completion-in-region--data, completion-in-region-mode-map): New vars.
17035 (completion-in-region--postch): New function.
17036 (completion--capf-misbehave-funs, completion--capf-safe-funs):
17037 New vars.
17038 (completion--capf-wrapper): New function.
17039 (completion-at-point): Use it to track well-behavedness of
17040 hook functions.
17041 (completion-help-at-point): New command.
17042
f3e4086c
JM
170432011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
17044
17045 * vc/add-log.el (add-change-log-entry): Don't use whitespace
17046 syntax class to search for whitespace on a single line
17047 (Message-ID: <4D938140.4030905@redhat.com>).
17048
eb7ffc14
LL
170492011-03-30 Leo Liu <sdl.web@gmail.com>
17050
17051 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17052 New commands.
17053 (edit-abbrevs-map): Bind them here.
17054 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17055
d806ab68
KM
170562011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17057
17058 * allout.el (allout-hide-by-annotation, allout-flag-region):
17059 Reduce possibility of overlay leakage by making them volatile.
17060
17061 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17062 hash is not shared between buffers. Mode initialization is
17063 responsible for giving it a useful starting value.
17064 (allout-item-span): Reduce possibility of overlay leakage by
17065 making them volatile.
17066 (allout-widgets-count-buttons-in-region): Add diagnostic function
17067 for tracking down button overlay leaks.
17068
ea622834
LL
170692011-03-29 Leo Liu <sdl.web@gmail.com>
17070
17071 * ido.el (ido-read-internal): Use the default history var
17072 minibuffer-history if no HISTORY is specified.
17073
b62f8267
G
170742011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17075
03408648
SM
17076 * net/imap.el (imap-shell-open, imap-process-connection-type):
17077 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17078 Kerberos, SSL, other subprocesses.
17079
947b6566
LL
170802011-03-28 Leo Liu <sdl.web@gmail.com>
17081
17082 * abbrev.el (abbrev-table-empty-p): New function.
17083 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17084 nonempty ones. (Bug#5937)
17085
5ffb62aa
JD
170862011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17087
17088 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17089
7a097943
LL
170902011-03-27 Leo Liu <sdl.web@gmail.com>
17091
17092 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17093 for foreground and background colors.
17094 (ansi-color-make-color-map): Adapt.
17095
c5b40130
LL
170962011-03-25 Leo Liu <sdl.web@gmail.com>
17097
1f48f7d2
LL
17098 * midnight.el (midnight-time-float): Remove. Note it calculates
17099 the microsecond component incorrectly and seconds-to-time does the
17100 same job.
625897ec 17101 Remove redundant (require 'timer).
1f48f7d2 17102
c5b40130
LL
17103 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17104 (ido-completions): Remove unused arguments. (Bug#8329)
17105
d86d2721
SM
171062011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17107
17108 * minibuffer.el (completion--flush-all-sorted-completions):
17109 Remove itself from hook.
17110 (completion-at-point): Let the functions perform the completion
17111 immediately and return nil or t.
17112 * comint.el (comint-dynamic-complete-functions): Now identical to
17113 completion-at-point-functions.
17114 (comint-dynamic-list-input-ring): Remove unused var `index'.
17115 (comint--match-partial-filename, comint--unquote&expand-filename):
17116 New funs, split from comint-match-partial-filename.
17117 (comint-dynamic-complete): Use completion-at-point.
17118 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17119
e8974c48
DA
171202011-03-24 Drew Adams <drew.adams@oracle.com>
17121
17122 * thingatpt.el: Support `defun'.
17123
def71b5e
LL
171242011-03-23 Leo Liu <sdl.web@gmail.com>
17125
cb5af48e
LL
17126 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17127
def71b5e
LL
17128 * help-mode.el (help-mode-finish): Tweak regexp.
17129
927c53e7
GM
171302011-03-23 Glenn Morris <rgm@gnu.org>
17131
18d05bed
GM
17132 * eshell/esh-opt.el (eshell-eval-using-options):
17133 Do not bind unused local variable `eshell-option-stub'.
17134
927c53e7
GM
17135 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17136
9d0da923
JB
171372011-03-22 Juanma Barranquero <lekktu@gmail.com>
17138
17139 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17140 keymap variable in `with-no-warnings' to avoid a warning when the
17141 keymap has been already `defconst'ed.
17142
4b978a67
LL
171432011-03-22 Leo Liu <sdl.web@gmail.com>
17144
17145 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17146 encode all chars in abbrevs; otherwise use emacs-mule or
17147 utf-8-emacs. (Bug#8308)
17148
5fd62452
JB
171492011-03-22 Juanma Barranquero <lekktu@gmail.com>
17150
0b1596c6
JB
17151 * simple.el (backward-delete-char-untabify):
17152 Avoid warning about using `delete-backward-char'.
17153
5fd62452
JB
17154 * image.el (image-type-file-name-regexps): Make it variable.
17155 `imagemagick-register-types' modifies it, and the user may want
17156 to add new extensions for known image types.
17157 (imagemagick-register-types): Throw error if not using ImageMagick.
17158
0b4e93f1
LL
171592011-03-22 Leo Liu <sdl.web@gmail.com>
17160
17161 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17162 located before rcirc-prompt-end-marker.
17163 (rcirc-complete): Error if point is not after rcirc prompt.
17164 Handle the case when table is nil.
9882e214 17165 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17166
fccee4ab
CY
171672011-03-22 Chong Yidong <cyd@stupidchicken.com>
17168
17169 * custom.el (custom--inhibit-theme-enable): Make it affect only
17170 custom-theme-set-variables and custom-theme-set-faces.
17171 (provide-theme): Ignore custom--inhibit-theme-enable.
17172 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17173 (custom-enabling-themes): Delete variable.
d86d2721
SM
17174 (enable-theme): Accept only loaded themes as arguments.
17175 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17176 (custom-enabled-themes): Forbid themes from setting this.
17177 Eliminate use of custom-enabling-themes.
17178 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17179
af896da6
LL
171802011-03-21 Leo Liu <sdl.web@gmail.com>
17181
17182 * ido.el (ido-read-internal): Add ido-selected to history instead
17183 of user input.
17184
78f64af0
SM
171852011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17186
17187 * subr.el (deferred-action-list, deferred-action-function):
17188 Mark obsolete.
17189
b16ac1ec
LL
171902011-03-21 Leo Liu <sdl.web@gmail.com>
17191
810f7698
LL
17192 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17193 change on 2011-02-13 (bug#8309).
17194
b16ac1ec
LL
17195 * minibuffer.el (read-file-name-function): Change default value.
17196 (read-file-name--defaults): Rename from read-file-name-defaults.
17197 (read-file-name-default): Rename from read-file-name.
17198 (read-file-name): Call read-file-name-function.
17199
4e05e67e
GM
172002011-03-21 Glenn Morris <rgm@gnu.org>
17201
17202 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17203 Doc fixes.
17204
4359915b
CY
172052011-03-21 Chong Yidong <cyd@stupidchicken.com>
17206
17207 * cus-theme.el: Add missing provide statement.
17208 (customize-create-theme): Extract theme value correctly.
17209 (custom-theme-visit-theme): Autoload.
17210 (customize-create-theme): Prompt before inserting default faces.
17211
1fe275ee
JB
172122011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17213
17214 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17215 units and musical notes.
17216
cd394be1 172172011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17218
17219 * ido.el (ido-read-internal): Use completing-read-default.
17220 (ido-completing-read): Fix compatibility with completing-read.
17221
7d476bde
CO
172222011-03-20 Christian Ohler <ohler@gnu.org>
17223
17224 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17225 (ert-delete-all-tests): Use `called-interactively-p' rather than
17226 `interactive-p'.
17227 (ert--make-xrefs-region): Respect END.
17228
fe0fb33e
CY
172292011-03-19 Chong Yidong <cyd@stupidchicken.com>
17230
ff854b0b
CY
17231 * dired-aux.el (dired-create-directory): Signal an error if the
17232 directory already exists (Bug#8246).
17233
fe0fb33e
CY
17234 * facemenu.el (list-colors-display): Call list-faces-display
17235 inside with-help-window.
17236 (list-colors-print): Use display property to align the final
17237 column, instead of checking window-width.
17238
576bce32
EZ
172392011-03-19 Eli Zaretskii <eliz@gnu.org>
17240
4d61f28d 17241 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17242 windows-nt systems.
17243 (emerge-protect-metachars): Quote correctly for ms-dos and
17244 windows-nt systems.
17245
89c41d68 172462011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17247
17248 * info.el (info-initialize): Replace all uses of `:' with
17249 path-separator for compatibility with non-Unix systems.
17250 Cache quoting of path-separator. (Bug#8258)
17251
b14e3e21 172522011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17253
17254 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17255 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17256 (mouse-avoidance-mode): Fix typos in docstrings.
17257
4525ce3e
CY
172582011-03-19 Chong Yidong <cyd@stupidchicken.com>
17259
17260 * startup.el (package-subdirectory-regexp): Move from package.el.
17261 Omit \\` and \\', and let callers add them.
17262
17263 * emacs-lisp/package.el (package-strip-version)
17264 (package-load-all-descriptors): Add \\` and \\' to
17265 package-subdirectory-regexp before using it.
17266 (package-untar-buffer): New arg DIR; ensure that file untars only
17267 into this expected directory. Remove superfluous delete-region.
17268 (package-unpack): Caller changed.
17269 (package-tar-file-info): Use package-subdirectory-regexp.
17270
a904a09a 172712011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17272
a904a09a
SM
17273 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17274 diff-mode-shared-map (bug#8284).
17275 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17276
172772011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17278
17279 * calendar/time-date.el (format-seconds): Use assoc instead of
17280 assoc-string, since assoc-string doesn't exist in XEmacs.
17281
171fc304
JB
172822011-03-17 Juanma Barranquero <lekktu@gmail.com>
17283
17284 * custom.el (custom-known-themes): Reflow docstring.
17285 (custom-theme-load-path): Fix typo in docstring.
17286 (load-theme): Fix typo in error message.
17287 (custom-available-themes, custom-variable-theme-value):
17288 Use `let', not `let*'.
17289
d71990a1
JB
172902011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17291
17292 * calc/README: Mention inclusion of musical notes.
17293
17294 * calc/calc-units.el (calc-lu-quant): Rename from
17295 `calc-logunits-quantity'.
17296 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17297 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17298 (calc-db): Rename from `calc-dblevel'.
17299 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17300 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17301 (calc-np): Rename from `calc-nplevel'.
17302 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17303 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17304 (calc-lu-plus): Rename from `calc-logunits-add'.
17305 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17306 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17307 (calc-lu-minus): Rename from `calc-logunits-sub'.
17308 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17309 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17310 (calc-lu-times): Rename from `calc-logunits-mul'.
17311 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17312 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17313 (calc-lu-divide): Rename from `calc-logunits-div'.
17314 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17315 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17316
17317 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17318 functions being autoloaded.
17319
17320 * calc/calc.el (calc-lu-power-reference): Rename from
17321 `calc-logunits-power-reference'.
17322 (calc-lu-field-reference): Rename from
17323 `calc-logunits-field-reference'.
17324
7a71b18d
GM
17325 * calc/calc-help.el (calc-l-prefix-help):
17326 Mention musical note functions.
d71990a1 17327
40c2934b
SM
173282011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17329
17330 * minibuffer.el (completion-all-sorted-completions):
17331 Use :completion-cycle-penalty text property if present.
17332
b0911414
KM
173332011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17334
17335 * allout.el (allout-yank-processing): Adjust for new rebulleting
17336 regime so bullet being yanked is used without prompting the user
17337 for a choice.
17338
8a05b668
JB
173392011-03-16 Juanma Barranquero <lekktu@gmail.com>
17340
17341 * startup.el (command-line): Warn the user that _emacs is deprecated.
17342
5ba5fb81
JB
173432011-03-16 Juanma Barranquero <lekktu@gmail.com>
17344
17345 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17346 (delphi-verbose, delphi-comment-face, delphi-string-face)
17347 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17348 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17349 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17350 (delphi-new-comment-line, delphi-font-lock-defaults)
17351 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17352 Fix typos in docstrings.
17353
2dab465b
KM
173542011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17355
5ba5fb81 17356 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17357 Invert the roles of character and string values for INSTEAD, so a
17358 string is used for the more common case of a defaulting prompt.
17359
0adf5618
SM
173602011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17361
17362 * progmodes/ruby-mode.el (ruby-backward-sexp):
17363 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17364 * play/gamegrid.el (gamegrid-make-face):
17365 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17366 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17367 * notifications.el (notifications-notify):
17368 * net/xesam.el (xesam-search-engines):
17369 * net/quickurl.el (quickurl-list-insert):
17370 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17371
d72700e5
CY
173722011-03-15 Chong Yidong <cyd@stupidchicken.com>
17373
17374 * startup.el (command-line): Update package subdirectory regexp.
17375
49c5410a
SM
173762011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17377
c6eee9aa
SM
17378 * allout.el (allout-abbreviate-flattened-numbering)
17379 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17380
49c5410a
SM
17381 * subr.el (read-char-choice): Only show the cursor after the prompt,
17382 not after the answer.
17383
047b2bb9
KR
173842011-03-15 Kevin Ryde <user42@zip.com.au>
17385
17386 * help-fns.el (variable-at-point): Skip leading quotes, if any
17387 (bug#8253).
17388
0a57d256
SM
173892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17390
17391 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17392 warning message.
17393
77c992bc
MA
173942011-03-14 Michael Albinus <michael.albinus@gmx.de>
17395
17396 * shell.el (shell): When called interactively, offer to change the
17397 shell file name on remote hosts.
17398
eebc475d
TZ
173992011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17400
17401 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17402 integration for LDAP parameters. The host, base, user or binddn,
17403 and secret tokens can be specified in a netrc file, for instance.
17404 This is optional because an `auth-source' parameter must be
17405 specified in the search attributes.
17406
9d05d1ba
JB
174072011-03-13 Juanma Barranquero <lekktu@gmail.com>
17408
17409 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17410
09d9db2c
GM
174112011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17412
17413 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17414 into declaration. Remove redundant and harmful binding.
17415
174162011-03-12 Eli Zaretskii <eliz@gnu.org>
17417
17418 * files.el (file-ownership-preserved-p): Pass `integer' as an
17419 explicit 2nd argument to `file-attributes'. If the file's owner
17420 is the Administrators group on Windows, and the current user is
17421 Administrator, consider that a match.
17422
17423 * server.el (server-ensure-safe-dir): Consider server directory
17424 safe on MS-Windows if its owner is the Administrators group while
17425 the current Emacs user is Administrator. Use `=' to compare
17426 numerical UIDs, since they could be integers or floats.
17427
219bd536
JB
174282011-03-12 Juanma Barranquero <lekktu@gmail.com>
17429
17430 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17431
f3afd36b
MA
174322011-03-12 Michael Albinus <michael.albinus@gmx.de>
17433
17434 Sync with Tramp 2.2.1.
17435
17436 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17437
17438 * net/trampver.el: Update release number.
17439
3aaaa6f1
SM
174402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17441
94642599
SM
17442 * progmodes/compile.el (compilation--previous-directory): Fix up
17443 various nil/dead-marker mismatches (bug#8014).
17444 (compilation-directory-properties, compilation-error-properties):
17445 Don't call it at a position past the one we're about to change.
17446
3aaaa6f1
SM
17447 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17448 Disable obsolescence warnings in the file that declares it.
17449
14239447
KM
174502011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17451
099c39a4
JB
17452 * allout-widgets.el (allout-widgets-tally):
17453 Initialize allout-widgets-tally as a hash table rather than nil to
17454 prevent mode-line redisplay warnings. Also, clarify the module
17455 description and fix a comment typo.
14239447 17456
135e287c
JB
174572011-03-11 Juanma Barranquero <lekktu@gmail.com>
17458
17459 * help-fns.el (describe-variable): Don't complete keywords.
17460 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17461
ffbf300e
CY
174622011-03-10 Chong Yidong <cyd@stupidchicken.com>
17463
ba08b241
CY
17464 * emacs-lisp/package.el (package-version-join): Impose a standard
17465 string representation for pre/alpha/beta version lists.
17466 (package-unpack-single): Standardize the directory name by passing
17467 it through package-version-join.
17468 (package-strip-rcs-id): Accept any version string that does not
17469 signal an error in version-to-list.
ffbf300e 17470
f346fd6b
MA
174712011-03-10 Michael Albinus <michael.albinus@gmx.de>
17472
17473 * simple.el (delete-trailing-whitespace): Return nil for the
17474 benefit of `write-file-functions'.
17475
ccb55d27
GM
174762011-03-10 Glenn Morris <rgm@gnu.org>
17477
5ceaac0c
GM
17478 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17479
02da65ff
GM
17480 * vc/vc-git.el (vc-git-program): New option.
17481 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17482 (vc-git--call): Use it.
17483
b2f603cc
GM
17484 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17485
5772caab
GM
17486 * cus-edit.el (Custom-newline): If no button at point, look
17487 for a subgroup button at start-of-line. (Bug#2298)
17488
ccb55d27
GM
17489 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17490
ec6ecaed
JD
174912011-03-10 Julien Danjou <julien@danjou.info>
17492
17493 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17494 `cursor-type' is nil.
17495
9d5aa01d
JB
174962011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17497
17498 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17499
b6a5875b
KM
175002011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17501
7a71b18d 17502 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17503 preserves the existing header prefix, rebulleting it if necessary,
17504 rather than replacing it. This is necessary for proper operation
17505 of cooperative addons like allout-widgets.
1154d12e
JB
17506 (allout-make-topic-prefix, allout-rebullet-heading):
17507 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17508 value as alternate bullet to be used, instead of prompting the user
17509 for a bullet character.
b6a5875b 17510
ee545c35
MA
175112011-03-09 Michael Albinus <michael.albinus@gmx.de>
17512
d86d2721
SM
17513 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17514 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17515 `tramp-default-port'.
17516
c47971d7
DD
175172011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17518
17519 * net/rcirc.el (rcirc-handler-001): Remove useless
17520 with-rcirc-process-buffer.
17521 (rcirc-check-auth-status): Swap arguments to string-match.
17522
13522cb4
GM
175232011-03-09 Glenn Morris <rgm@gnu.org>
17524
0be6f4f1
GM
17525 * shell.el (shell-mode):
17526 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17527
13522cb4
GM
17528 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17529 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17530
515de2e3
CY
175312011-03-08 Chong Yidong <cyd@stupidchicken.com>
17532
17533 * emacs-lisp/package.el (package-refresh-contents)
17534 (package-menu-execute): Use condition-case-no-debug.
17535
b511b994
MA
175362011-03-08 Michael Albinus <michael.albinus@gmx.de>
17537
17538 * simple.el (shell-command-to-string): Use `process-file'.
17539
17540 * emacs-lisp/package.el (package-tar-file-info): Handle also
17541 remote files.
17542
d86d2721
SM
17543 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17544 Use `equal' for upload base check.
b511b994 17545
25bbfb31
AM
175462011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17547
17548 * textmodes/texinfo.el (texinfo-environments):
17549 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17550
be996521
GM
175512011-03-08 Glenn Morris <rgm@gnu.org>
17552
e9c8529f
GM
17553 * cus-start.el (cursor-in-non-selected-windows):
17554 Fix :set quoting oddness. (Bug#8192)
17555
be996521
GM
17556 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17557 in some setf expressions. (Bug#2159)
17558
2bb5649e
CY
175592011-03-08 Chong Yidong <cyd@stupidchicken.com>
17560
17561 * custom.el (custom-available-themes): Return themes in
17562 alphabetical order.
17563
33383987 17564See ChangeLog.15 for earlier changes.
e3d51b27
MR
17565
17566;; Local Variables:
17567;; coding: utf-8
e3d51b27
MR
17568;; End:
17569
acaf905b 17570 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17571
17572 This file is part of GNU Emacs.
17573
17574 GNU Emacs is free software: you can redistribute it and/or modify
17575 it under the terms of the GNU General Public License as published by
17576 the Free Software Foundation, either version 3 of the License, or
17577 (at your option) any later version.
17578
17579 GNU Emacs is distributed in the hope that it will be useful,
17580 but WITHOUT ANY WARRANTY; without even the implied warranty of
17581 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17582 GNU General Public License for more details.
17583
17584 You should have received a copy of the GNU General Public License
17585 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.