Fix last change to with-selected-window.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
35cb9c06
MR
12012-08-13 Martin Rudalics <rudalics@gmx.at>
2
3 * subr.el (with-selected-window): Fix last change.
4
1439443b
SM
52012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
6
7 * subr.el (internal--before-with-seleted-window)
8 (internal--after-with-seleted-window): New functions.
9 (with-selected-window): Use them, to replace dependency on tty-top-frame.
10
0d9e2599
NN
112012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
12
13 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
14 binding for `newline'.
15 (ruby-move-to-block): When moving backward, stop at block opening,
16 not indentation.
17 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
18 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
19 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
20 `ruby-toggle-block'.
21
ba10c48c
SM
222012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
23
24 * ibuffer.el (ibuffer-do-toggle-read-only):
25 * dired.el (dired-toggle-read-only):
26 * buff-menu.el (Buffer-menu-toggle-read-only):
27 * bindings.el (mode-line-toggle-read-only):
28 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
29
9229c658
AS
302012-08-12 Andreas Schwab <schwab@linux-m68k.org>
31
32 * descr-text.el (describe-char): Put the overlays over the
33 "displayed as" character.
34
0fd09128
JB
352012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
36
37 * calc/calc-units.el (math-default-units-table): Give an
38 initial value.
39 (math-put-default-units): Add options to put composite units and
40 unit systems in the default units table.
41 (calc-convert-units): Send composite units to
42 `math-put-default-units' when appropriate.
43
9ff9402d 442012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 45
fbb5e336
GM
46 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
47
7aacaf15
GM
48 * tutorial.el (help-with-tutorial):
49 * emacs-lisp/copyright.el (copyright-update-directory):
50 * emacs-lisp/autoload.el (autoload-find-generated-file)
51 (autoload-find-file): Disable local eval: (for insurance).
52
f40b9f10
GM
53 * files.el (hack-local-variables-filter): If an eval: form is not
54 known to be safe, and enable-local-variables is :safe, then ignore
55 the form totally, as is done for non-eval forms. (Bug#12155)
56
daa9f1a6
SM
572012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
58
59 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
60 (rx-form): Simplify.
61
9cd80478
DG
622012-08-09 Dmitry Gutov <dgutov@yandex.ru>
63
0d9e2599
NN
64 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
65 ?, _, and : are symbol constituents, ! is not (but kinda should be).
66 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
67 (ruby-syntax-propertize-function): Adjust for changes in
68 `ruby-syntax-propertize-heredoc'.
69
702012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
71
9cd80478
DG
72 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
73 binding (use `M-;' instead).
9cd80478 74 (ruby-singleton-class-p): New function.
0d9e2599 75 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 76
d301b413
SM
772012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
78
79 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
80
1530c98e
CY
812012-08-10 Chong Yidong <cyd@gnu.org>
82
83 * progmodes/python.el (python-shell-get-process-name): Don't mess
84 with same-window-buffer-names.
85
86 * eshell/eshell.el (eshell-add-to-window-buffer-names)
87 (eshell-remove-from-window-buffer-names): Make obsolete.
88 (eshell-buffer-name, eshell-unload-hook): Don't use them.
89 (eshell): Just use pop-to-buffer-same-window instead.
90
e1293765
CY
912012-08-10 Chong Yidong <cyd@gnu.org>
92
93 * bindings.el: Bind M-= back to count-words-region.
94
95 * simple.el (count-words-region): Accept a prefix arg for acting
96 on the entire buffer.
97 (count-words--buffer-message): New helper function.
98
e1894109
SM
992012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
100
101 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
102 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
103 (event-start, event-end): Use posn-at-point to return a more
104 informative posn.
105 (posnp): New function.
106 * mouse.el (popup-menu-normalize-position): Use it.
107
c69f56a2
MY
1082012-08-10 Masatake YAMATO <yamato@redhat.com>
109
110 * mouse.el (popup-menu-normalize-position): New function.
111 (popup-menu): Use `popup-menu-normalize-position' to normalize
112 the form for POSITION argument.
113
114 * term/x-win.el (x-menu-bar-open):
115 Use the value returend from (posn-at-point) as position
116 passed to `popup-menu'.
117
31673780
JB
1182012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
119
120 * calc/calccomp.el (math-compose-expr): Add extra argument
121 indicating that parentheses should be put around products in
122 denominators. Give multiplication precedence over division during
123 composition.
124
dab7711b
CY
1252012-08-09 Chong Yidong <cyd@gnu.org>
126
dee4ef93
CY
127 * man.el (Man-switches, Man-sed-command, Man-awk-command)
128 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
129 (Man-untabify-command, manual-program): Convert to defcustom
130 (Bug#10429).
131
73e2bbc5
CY
132 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
133
3e861c8a
CY
134 * descr-text.el (describe-char): Don't insert extra newlines
135 (Bug#10127).
136
a9f5a649
CY
137 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
138 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
139
dab7711b
CY
140 * align.el (align-region): Delete temporary markers (Bug#10047).
141 Plus some code cleanups.
142
e0cc4efa
FEG
1432012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
144
145 * progmodes/python.el (python-pdbtrack-tracked-buffer)
146 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
147 (python-shell-internal-last-output): Use make-local-variable
148 instead of make-variable-buffer-local.
149
489af14f
FEG
1502012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
151
152 * progmodes/python.el: Enhancements to forward-sexp.
153 (python-nav-forward-sexp): Rename from
154 python-nav-forward-sexp-function.
c69f56a2
MY
155 (python-nav--forward-sexp, python-nav--backward-sexp):
156 New functions.
489af14f 157
0fc50303
JB
1582012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
159
160 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
161 modes and simplification modes.
162
5d65606a
SM
1632012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
164
165 * delsel.el (delete-selection-pre-hook): Don't propagate the
166 file-supersession signals (bug#12161).
167
4250fdf5
SM
1682012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
169
170 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
171 (cl-map-extents): Add compatibility aliases (bug#12135).
172
d9f9b465
MA
1732012-08-08 Michael Albinus <michael.albinus@gmx.de>
174
175 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
176 tests by `ignore-error'.
177 (tramp-find-shell): Open also a new shell, when cache is already
178 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
179
ce0fcefa
JL
1802012-08-08 Juri Linkov <juri@jurta.org>
181
182 * bookmark.el: Add `defaults' property to the bookmark record.
183 (bookmark-current-buffer): Doc fix.
184 (bookmark-make-record): Add `defaults' property with default values
185 to the bookmark record.
186 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
187 with `bookmark-insert-current-bookmark'.
188 (bookmark-set): Get `defaults' property from the bookmark record
189 and use it in `read-from-minibuffer'.
190 (bookmark-insert-current-bookmark): Remove function.
191
192 * info.el (Info-bookmark-make-record): Add `defaults' property
193 with values of canonical Info node name, the current Info file
194 name and the current Info node name. (Bug#12107)
195
53fa8652
JL
1962012-08-08 Juri Linkov <juri@jurta.org>
197
198 * files.el (basic-save-buffer): Use `buffer-name' as the default
199 of `read-file-name' when buffer is not visiting a file (bug#12128).
200
242c0a95
JL
2012012-08-08 Juri Linkov <juri@jurta.org>
202
203 * info.el (Info-isearch-search): Doc fix.
204 (Info-search): Change search-failed message from "initial node" to
205 "end of node" (bug#12078).
206 (Info-isearch-search): Change `isearch-string-state' to
207 `isearch--state-string'.
208
32ac3a6b
GM
2092012-08-08 Glenn Morris <rgm@gnu.org>
210
211 * language/persian.el: Remove file.
f8c1afd5 212 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
213 * loadup.el: Remove language/persian.
214
2c2d9c9c
OF
2152012-08-08 Óscar Fuentes <ofv@wanadoo.es>
216
217 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
218
2d79ec42
FEG
2192012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
220
221 * progmodes/python.el Fixed defsubst warning.
222 (python-syntax-context) Rename from python-info-ppss-context.
223 (python-syntax-context-type): Rename from
224 python-info-ppss-context-type.
225 (python-syntax-comment-or-string-p): Rename from
226 python-info-ppss-comment-or-string-p.
227
2bd255dd
JB
2282012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
229
230 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
231
c395097f
AS
2322012-08-07 Andreas Schwab <schwab@linux-m68k.org>
233
6125983e
AS
234 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
235 a defcustom that is quoted with backquote.
236
4250fdf5
SM
237 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
238 Fix handling of interactive spec when the body uses return.
651eaf36
AS
239 (math-do-arg-check, math-define-function-body): Use backquote forms.
240 * calc/calc-ext.el (math-defcache): Likewise.
241 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
242 * allout.el (allout-new-exposure): Likewise.
243 * calc/calcalg2.el (math-tracing-integral): Likewise.
244 * info.el (Info-last-menu-item): Likewise.
245 * emulation/vip.el (vip-loop): Likewise.
246 * textmodes/artist.el (artist-funcall): Likewise.
247 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
248 Construct menu-item directly.
249
4250fdf5
SM
250 * progmodes/autoconf.el (font-lock-syntactic-keywords):
251 Don't declare.
c395097f 252
5fb50dd3
CY
2532012-08-07 Chong Yidong <cyd@gnu.org>
254
255 * simple.el (deactivate-mark): Preserve text properties when
256 saving the primary selection (Bug#8384).
257
54eea618
KR
2582012-08-07 Kevin Ryde <user42@zip.com.au>
259
260 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
261 (woman-parse-numeric-value): On a bad .IP line, issue a warning
262 and continue processing (Bug#12110).
263
638eaeb9
SM
2642012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
265
266 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
267 syntax-propertize-function (bug#10095).
268
ea376861
SM
2692012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
270
f91b35be
SM
271 * help-fns.el (help-fns--key-bindings, help-fns--signature)
272 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
273 describe-function-1.
274 (describe-function-1): Use them. Move compiler macro after sig.
275 (help-fns--compiler-macro): Use function-get. Assume we're already in
276 standard-output. Adjust layout to new call order.
277
ea376861
SM
278 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
279 re-binding a symbol that has a symbol-macro (bug#12119).
280
d5be7bd0
MB
2812012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
282
283 * language/persian.el: New file. (Bug#11812)
284 * loadup.el: Add language/persian.el.
285
90749b53
CY
2862012-08-06 Chong Yidong <cyd@gnu.org>
287
288 * window.el (window--maybe-raise-frame): New function.
289 (window--display-buffer): Split off from here.
290 (display-buffer-reuse-window, display-buffer-pop-up-frame)
291 (display-buffer-pop-up-window, display-buffer-use-some-window):
292 Obey an inhibit-switch-frame action alist entry.
293 (display-buffer): Update doc.
294
295 * replace.el (occur-after-change-function): Avoid losing focus by
296 using the inhibit-switch-frame display parameter (Bug#12139).
297
ba7b0154
FEG
2982012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
299
300 Make internal shell process buffer names start with space.
301 * progmodes/python.el (python-shell-make-comint): Add optional
302 argument INTERNAL.
303 (run-python-internal): Use it.
304 (python-shell-internal-get-or-create-process): Check for new
305 internal buffer names.
306
5eaeacb5
GM
3072012-08-06 Glenn Morris <rgm@gnu.org>
308
e296d94b 309 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
310 Do less getting and setting of environment variables.
311
b7ccbdc2
CY
3122012-08-05 Chong Yidong <cyd@gnu.org>
313
777fe95e
CY
314 * proced.el (proced): Add substitution string to docstring to
315 trigger autoloading of the proced library on C-h f (Bug#1768).
316
4250fdf5
SM
317 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
318 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
319
320 * imenu.el (imenu-generic-expression): Move documentation here
321 from imenu--generic-function.
322 (imenu--generic-function): Refer to imenu-generic-expression.
323
9e3b7800 3242012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
325
326 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
327 indentation declaration.
328 (viper-loop): Add indentation declaration (Bug#7025).
329
e5d9c0d1
CY
3302012-08-05 Chong Yidong <cyd@gnu.org>
331
f0422feb
CY
332 * help-fns.el (describe-variable): Add hyperlink for
333 directory-local variables files. Improve buffer-local and
334 permanent-local reporting; suggested by MON KEY (Bug#6644).
335
336 * help-mode.el (help-dir-local-var-def): New button type.
337
e5d9c0d1
CY
338 * files.el (kill-buffer-hook): Provide a defvar.
339
a4f2deaa
GM
3402012-08-05 Glenn Morris <rgm@gnu.org>
341
342 * eshell/esh-ext.el (eshell/addpath):
343 Also update eshell-path-env. (Bug#12013)
344
a9dd5754
CY
3452012-08-05 Chong Yidong <cyd@gnu.org>
346
a4f2deaa 347 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 348
d014c740
CY
349 * fringe.el (fringe-styles): Add docstring.
350 (fringe--check-mode): New function.
351 (set-fringe-mode, set-fringe-style): Use it.
352 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
353
a9dd5754
CY
354 * files.el (set-auto-mode): Fix invalid setq call.
355
7c2dc8bd
SM
3562012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
357
358 * isearch.el: Misc simplification; use defstruct.
359 (isearch-mode-map): Dense maps now work like sparse ones.
360 (isearch--state): New defstruct.
361 (isearch-string-state, isearch-message-state, isearch-point-state)
362 (isearch-success-state, isearch-forward-state)
363 (isearch-other-end-state, isearch-word-state, isearch-error-state)
364 (isearch-wrapped-state, isearch-barrier-state)
365 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
366 replaced by defstruct's accessors.
367 (isearch--set-state): Rename from isearch-top-state and change
368 calling convention.
369 (isearch-push-state): Use new isearch--get-state.
370 (isearch-toggle-word): Disable regexp when enabling word.
371 (isearch-message-prefix): Remove unused arg _c-q-hack.
372 (isearch-message-suffix): Remove unused arg _ellipsis.
373
7fcc0070
AS
3742012-08-04 Andreas Schwab <schwab@linux-m68k.org>
375
376 * simple.el (list-processes--refresh): For a server use :host or
377 :local as the address.
97ad0769 378 (list-processes): Doc fix.
7fcc0070 379
00340faf
MN
3802012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
381
382 * lisp/mpc.el: Support password in host argument.
383 (mpc--proc-connect): Parse and use new password element.
384 Set mpc-proc variable instead of returning process.
385 (mpc-proc): Adjust accordingly.
386
6dad7178
EZ
3872012-08-03 Eli Zaretskii <eliz@gnu.org>
388
18949c2f
EZ
389 * whitespace.el (whitespace-display-mappings): Use Unicode
390 codepoints, instead of emacs-mule codepoints. See
391 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
392 for the details.
393
6dad7178
EZ
394 * files.el (file-truename): Don't skip symlink-chasing part on
395 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
396 Windows into the loop that recursively chases symlinks.
397 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
398 MS-DOS.
399
385b0198
CY
4002012-08-03 Chong Yidong <cyd@gnu.org>
401
6200f3c4
CY
402 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
403
385b0198
CY
404 * sort.el (sort-regexp-fields): Doc fix.
405
b9e74744
TH
4062012-08-03 Tassilo Horn <tsdh@gnu.org>
407
408 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
409 labels regex position point at the expected place.
410
41013cb4
MK
4112012-08-03 MON KEY <monkey@sandpframing.com>
412
413 * net/imap.el (imap-interactive-login, imap-authenticate)
414 (imap-mailbox-lsub, imap-mailbox-list)
415 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
416 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
417 (imap-parse-response): Doc fix.
418
0ffee616
JT
4192012-08-03 João Távora <joaotavora@gmail.com>
420
421 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
422 if sexp scanning does not move point (Bug#5734).
423
cfcc9cc8
TH
4242012-08-02 Tassilo Horn <tsdh@gnu.org>
425
426 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
427 Add listings, minted, and ctable packages.
428 (reftex-label-alist-builtin): Move listings, minted, and ctable
429 entries before LaTeX.
a01bbb84 430 (reftex-label-alist): Docfix.
cfcc9cc8 431
66ec2442
BG
4322012-08-02 Bastien Guerry <bzg@gnu.org>
433
434 * replace.el (occur): Fix docstring (bug#12122).
435
837b365b
GM
4362012-08-02 Glenn Morris <rgm@gnu.org>
437
438 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
439
e098de97
PE
4402012-08-02 Paul Eggert <eggert@cs.ucla.edu>
441
442 Obsolete alias inactivate-current-input-method-function (Bug#10150).
443 * international/mule-cmds.el: Create
444 inactivate-current-input-method-function as an obsolete alias for
445 deactivate-current-input-method-function. See Katsumi Yamaoka in
446 <http://bugs.gnu.org/10150#46>.
447
a0f95636
JB
4482012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
449
450 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
451 of nested `if's.
452
0d26d7c4
GM
4532012-08-01 Glenn Morris <rgm@gnu.org>
454
455 * progmodes/autoconf.el (autoconf-definition-regexp):
456 Add AH_TEMPLATE, adjust submatch numbering.
457 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
458 (autoconf-current-defun-function): Update for above change.
459 (autoconf-current-defun-function): First skip to end of current word.
460
b686ba06
RS
4612012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
462
463 * calendar/cal-html.el (cal-html-insert-agenda-days):
464 Fix typo. (Bug#12018)
465
0d49da68
FEG
4662012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
467
468 Shell processes: enhancements to startup and CEDET compatibility.
469 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
470 (python-shell-make-comint): accept-process-output at startup.
471 (run-python-internal): Set inferior-python-mode-hook to nil.
472 (python-shell-internal-get-or-create-process): call sit-for.
473 (python-preoutput-result): Add obsolete alias.
474 (python-shell-internal-send-string): Use it.
475 (python-shell-send-setup-code): Remove call to
476 accept-process-output.
477
f1a71c6e
AS
4782012-07-31 Andreas Schwab <schwab@linux-m68k.org>
479
480 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
481 (Bug#12108)
482
d2605269
JB
4832012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
484
485 * calc-mode.el (calc-basic-simplification-mode): Rename from
486 `calc-limited-simplification-mode'.
487 (calc-alg-simplification-mode): New function.
d66060f8 488 (calc-set-simplify-mode): Adjust message.
f1a71c6e 489
d2605269
JB
490 * calc.el (calc-set-mode-line): Adjust mode line display for
491 basic simplification mode.
492
493 * calc-help.el (calc-m-prefix-help): Update help message.
494
495 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
496 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
497
a3827a43
BG
4982012-07-31 Bastien Guerry <bzg@gnu.org>
499
500 * man.el (man): Fix comment. (bug#12101)
501
502e3f89
MR
5022012-07-31 Martin Rudalics <rudalics@gmx.at>
503
504 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
505 Don't return a non-nil value when no suitable buffer was found.
506
d7714961
FEG
5072012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
508
509 * progmodes/python.el (run-python-internal): Disable font lock for
510 internal shells.
511
1f45e27e
SM
5122012-07-30 Stefan Merten <smerten@oekonux.de>
513
514 * rst.el: Silence `checkdoc-ispell'.
515 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
516 (rst-official-version, rst-official-cvs-rev)
517 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
518 (rst-mode-map): New key binding.
519
0aee6912
PE
5202012-07-30 Paul Eggert <eggert@cs.ucla.edu>
521
522 Update .PHONY listings in makefiles.
523 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
524 autoloads, update-subdirs, updates, bzr-update, update-authors,
525 compile-onefile, compile-calc, backup-compiled-files,
526 compile-after-backup, compile-one-process, mh-autoloads,
527 bootstrap-clean, distclean, maintainer-clean.
528
9052f9f0
JB
5292012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
530
1823ac5a
JB
531 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
532 (calc-set-mode-line): Don't display "AlgSimp ".
533
534 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
535 (calc-lim-simplify-mode): New function.
536 (calc-set-simplify-mode): Default to 'alg.
537 (calc-default-simplify-mode): Make algebraic simplifications
538 the default.
539
540 * calc/calc-ext.el (calc-init-extensions): Remove binding for
541 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
542
8d7c7eed 543 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
544 indicate new simplification modes.
545
1823ac5a
JB
546 * calc/README: Mention new default simplification mode.
547
9052f9f0
JB
548 * calc/calc.el (math-normalize-error): New variable.
549 (math-normalize): Set `math-normalize-error' to t
550 when there's an error.
551
552 * calc/calc-alg.el (math-simplify): Don't simplify when
553 `math-normalize' returns an error.
554
20ba0cb4
EZ
5552012-07-29 Eli Zaretskii <eliz@gnu.org>
556
557 * international/mule-cmds.el (set-locale-environment): Revert last
558 change, since display-graphic-p returns nil when this function is
559 called during startup. Instead...
560
561 * term/w32console.el (terminal-init-w32console): ...setup the
562 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
563
a5dcc929
JL
5642012-07-29 Juri Linkov <juri@jurta.org>
565
566 * simple.el (goto-line): Don't display default line number in the
567 prompt because it should be displayed by `read-number' (bug#9952).
568 Add the current line number to the defaults of `goto-line' to
569 allow its easier modification by users with `M-n' (bug#9201).
570
571 * subr.el (read-number): Support multiple default values like in
572 other minibuffer reading functions. Replace `read' with
573 `string-to-number' for consistency with `number-to-string'.
574
72b255c7
PE
5752012-07-29 Paul Eggert <eggert@cs.ucla.edu>
576
577 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
578 * emulation/viper-init.el (viper-deactivate-input-method-action):
579 Rename from viper-inactivate-input-method-action.
580 (viper-deactivate-input-method):
581 Rename from viper-inactivate-input-method.
582 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
583 * international/mule-cmds.el (deactivate-input-method):
584 Rename from inactivate-input-method.
585 Also run input-method-deactivate-hook.
586 (deactivate-current-input-method-function):
587 Rename from inactivate-current-input-method-function.
588 (input-method-deactivate-hook): New hook.
589 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
590 (inactivate-input-method): Mark obsolete.
591
72b255c7
PE
592 * international/quail.el (quail-activate):
593 Also run quail-deactivate-hook.
594 (quail-deactivate): Rename from quail-inactivate.
595 * international/robin.el (robin-activate):
596 Also run robin-deactivate-hook.
597 (robin-deactivate): Rename from robin-inactivate.
598
2549c068
CY
5992012-07-29 Chong Yidong <cyd@gnu.org>
600
601 * simple.el (indicate-copied-region): New function.
602 (kill-ring-save): Split off from here.
603
604 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
605 (kill-rectangle): Set deactivate-mark to t on read-only error.
606
607 * register.el (copy-to-register, copy-rectangle-to-register):
608 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
609 (append-to-register, prepend-to-register):
610 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
611
612 * simple.el (async-shell-command-buffer): New defcustom.
613 (shell-command): Use it. (Bug#4719)
614
01bd1b0d
EZ
6152012-07-28 Eli Zaretskii <eliz@gnu.org>
616
617 * international/mule-cmds.el (set-locale-environment): In a
618 console session on MS-Windows, set up keyboard and terminal
619 encoding from the OEM codepage, not the ANSI codepage.
620 (Bug#12055)
621
a55739d3
CY
6222012-07-28 Chong Yidong <cyd@gnu.org>
623
624 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
625 gdb-get-location.
626
0e1a094f 6272012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
628
629 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
630 the alist (bug#12029).
631
20329d73
EZ
6322012-07-28 Eli Zaretskii <eliz@gnu.org>
633
634 * makefile.w32-in (custom-deps, finder-data, updates, compile)
635 (compile-always, compile-first)
636 ($(lisp)/calendar/cal-loaddefs.el)
637 ($(lisp)/calendar/diary-loaddefs.el)
638 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
639 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
640 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
641 instead of on update-subdirs.
642 (bootstrap-clean): Delete $(lisp)/subdirs.el.
643
345a2258
CY
6442012-07-28 Chong Yidong <cyd@gnu.org>
645
1eee6341
CY
646 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
647 directory if vc-deduce-backend returns nil (Bug#7350).
648
345a2258
CY
649 * simple.el (delete-trailing-lines): New option.
650 (delete-trailing-whitespace): Obey it (Bug#11879).
651
049a0936
DE
6522012-07-28 David Engster <deng@randomsample.de>
653
654 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
655 Explanation of new 'symbol-qnames feature in doc-strings.
656 (xml-maybe-do-ns): Return expanded names as plain symbols if
657 'symbol-qnames was provided in XML-NS argument (Bug#11916).
658 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
659
aa81af71
FEG
6602012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
661
662 Consistent completion in inferior python with emacs -nw.
663 * progmodes/python.el (inferior-python-mode): replace "<tab>"
664 binding in inferior-python-mode-map with "\t".
665 (python-shell-completion-complete-at-point)
666 (python-completion-complete-at-point): Remove interactive spec.
667
e827b1eb
JB
6682012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
669
670 * calc/calccomp.el (math-compose-expr): Undo previous change.
671
a90dfb95
FEG
6722012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
673
4250fdf5 674 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
675 run-python.
676 (python-shell-make-comint): Fix pop-to-buffer call.
677 (run-python): Autoload. New arg SHOW.
678 (python-shell-get-or-create-process): Do not pop python process
679 buffer.
680
32770973 6812012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
682
683 * notifications.el (notifications-on-action-signal)
684 (notifications-on-closed-signal): Use also the bus address for the map.
685 (notifications-notify, notifications-close-notification)
686 (notifications-get-capabilities): Add optional argument BUS.
687
86332df2
TH
6882012-07-27 Tassilo Horn <tsdh@gnu.org>
689
4250fdf5
SM
690 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
691 Add support for the lstlisting and minted environments, and for the
86332df2
TH
692 ctable macro.
693 * textmodes/reftex.el (reftex-compile-variables): Also recognize
694 labels written in keyvals syntax.
695
ca1302a4
JB
6962012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
697
698 * calc/calccomp.el (math-compose-expr): Use parentheses when
699 there is a product in the denominator of a fraction.
700
f8b91036
EZ
7012012-07-26 Eli Zaretskii <eliz@gnu.org>
702
703 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
704 ($(lisp)/calendar/diary-loaddefs.el)
705 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
706 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
707 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
708 rewritten while the autoload files are built at the same time,
709 which needs to load subdirs.el.
710
c8e5a42c
MR
7112012-07-26 Martin Rudalics <rudalics@gmx.at>
712
713 * mouse.el (popup-menu): Fix doc-string and re-indent code.
714 (mouse-drag-line): Don't exit tracking when a switch-frame or
715 switch-window event occurs (Bug#12006).
716
670d85ea
SM
7172012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 * mouse.el (popup-menu): Fix last change.
720
7abaf5cc
SM
7212012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
722
723 Autoload from Lisp with more care. Follow aliases when looking for
724 function properties.
725 * subr.el (autoloadp): New function.
726 (symbol-file): Use it.
727 (function-get): New function.
728 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
729 autoload-do-load.
730 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
731 (lisp-indent-function):
732 * emacs-lisp/gv.el (gv-get):
733 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
734 * emacs-lisp/byte-opt.el (byte-optimize-form):
735 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
736 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
737 Use function-get.
738 * emacs-lisp/cl.el: Don't propagate function properties any more.
739
740 * speedbar.el (speedbar-add-localized-speedbar-support):
741 * emacs-lisp/disass.el (disassemble-internal):
742 * desktop.el (desktop-load-file):
743 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
744 (describe-function-1):
745 * emacs-lisp/find-func.el (find-function-noselect):
746 * emacs-lisp/elp.el (elp-instrument-function):
747 * emacs-lisp/advice.el (ad-has-proper-definition):
748 * apropos.el (apropos-safe-documentation, apropos-macrop):
749 * emacs-lisp/debug.el (debug-on-entry):
750 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
751 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
752 * calc/calc.el (name): Use autoloadp & autoload-do-load.
753
b1364986
AA
7542012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
755
756 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
757 function, not an obsolete variable (Bug#12046).
758
67ada220
AS
7592012-07-25 Andreas Schwab <schwab@linux-m68k.org>
760
761 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
762
f08088e3
CS
7632012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
764
765 * emacs-lisp/pp.el (pp-display-expression): Select old selected
766 window only if it is still live (Bug#12034).
767
8137e7b3
MR
7682012-07-25 Martin Rudalics <rudalics@gmx.at>
769
770 * subr.el (redirect-frame-focus): Add advertised calling
771 convention (Bug#12030).
772
09ae5da1
PE
7732012-07-25 Paul Eggert <eggert@cs.ucla.edu>
774
775 Prefer typical American spelling for "acknowledgment".
776 * vc/add-log.el (change-log-acknowledgment): Rename from
777 change-log-acknowledgement, with an alias for the old name.
778
3cc5a3a8
JB
7792012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
780
781 * calc-alg.el (math-simplify-divide): Don't cross multiply
782 in an equation when the lhs is a variable.
783
b7af7f62
JD
7842012-07-24 Julien Danjou <julien@danjou.info>
785
786 * net/netrc.el (netrc-find-service-number, netrc-store-data):
787 Remove, unused.
788
ec1b09b1
EZ
7892012-07-23 Eli Zaretskii <eliz@gnu.org>
790
791 * startup.el (command-line): Don't display an empty user name in
792 the error message about non-existent home directory, when
793 init-file-user was set to an empty string. See
794 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
795 for the details and context.
796
b525fd8a
VB
7972012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
798
799 * ses.el (ses-cell-formula-aset): New macro.
800 (ses-cell-references-aset): New macro.
801 (ses-cell-p): New function.
802 (ses-rename-cell): Do no longer rely on complex operations like
803 ses-cell-set-formula or ses-set-cell to change the cell and handle
804 the undo at the same time, but rather use lower level new macros
805 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
806 the undo directly. Refresh the mode line.
807
2c73e345
LL
8082012-07-21 Leo Liu <sdl.web@gmail.com>
809
670d85ea
SM
810 * progmodes/cc-cmds.el (c-defun-name):
811 Use match-string-no-properties instead for consistency.
2c73e345 812
542dfbde
LL
8132012-07-20 Leo Liu <sdl.web@gmail.com>
814
3646bcd6
LL
815 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
816 (Bug#7879)
817
542dfbde
LL
818 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
819
25721031
CY
8202012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
821
822 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
823 * progmodes/bug-reference.el, misearch.el: Provide themselves
824 (bug#11915).
825
826 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
827 of narrowed buffer (bug#11966).
828
316e68a7
VB
8292012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
830
831 * ses.el (ses-rename-cell): Set new name also in reference list of
832 cells of which the renamed cell depends.
833
bbf0e7d9
MY
8342012-07-20 Masatake YAMATO <yamato@redhat.com>
835
836 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
837 to check whether menu-bar is shown or not. If not shown,
838 show the menu-bar as a popup menu instead of using tmm.
839 * mouse.el (popup-menu): Accept `point' as `position' argument.
840
c28662a8
DG
8412012-07-20 Dmitry Gutov <dgutov@yandex.ru>
842
843 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
844 up inside string symbol literal (bug#11923).
845
87ab808f
EZ
8462012-07-20 Eli Zaretskii <eliz@gnu.org>
847
848 * startup.el (fancy-startup-text): Read the whole tutorial, not
849 just its first 256 bytes. Prevents gibberish in display of the
850 tutorial title.
851
89dea803
DA
8522012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
853
854 Drop idle buffer compaction due to an absence of the
855 proved efficiency.
856 * compact.el: Remove.
857
8a4e6db8
SS
8582012-07-19 Sam Steingold <sds@gnu.org>
859
860 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
861 vc-bzr-pull & vc-bzr-merge-branch.
862 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
863 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
864 for consistency with compilation-error-regexp-alist.
865 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
866 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
867 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
868 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
869
5db81e33
SM
8702012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
871
872 * emacs-lisp/chart.el: Use lexical-binding.
873 (chart-emacs-storage): Don't hardcode the list of entries.
874
5b835e1d
DA
8752012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
876
877 Next round of tweaks caused by Fgarbage_collect changes.
878 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
879
9cd47b72
DA
8802012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
881
882 Compact buffers when idle.
883 * compact.el: New file.
884
1d6fc0df
SM
8852012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
886
887 * subr.el (eventp): Presume that if it looks vaguely like an event,
888 it's an event (bug#10190).
889
1d29cc7d
FEG
8902012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
891
892 Enhancements to ppss related code (thanks Stefan).
893 * progmodes/python.el (python-indent-context)
894 (python-indent-calculate-indentation, python-indent-dedent-line)
895 (python-indent-electric-colon, python-nav-forward-block)
896 (python-mode-abbrev-table)
1d6fc0df 897 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
898 for ppss context.
899 (python-info-continuation-line-p): Cleanup.
900 (python-info-ppss-context): Do not catch 'quote.
901 (python-info-ppss-context-type)
902 (python-info-ppss-comment-or-string-p): Simplify.
903
d583cbe6
FEG
9042012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
905
906 * progmodes/python.el: Enhancements to eldoc support.
907 (python-info-current-symbol): New function.
908 (python-eldoc-at-point): Use python-info-current-symbol.
909 (python-info-current-defun): Fix cornercase on first defun scan.
910 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
911 and signal error when no inferior python process is available.
912
eceb6feb
DG
9132012-07-18 Dmitry Gutov <dgutov@yandex.ru>
914
915 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
916 assume it's always t.
917 (vc-git-registered): Remove caching, the function is only called
918 once.
919 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
920
4c8ff0fe
CY
9212012-07-18 Chong Yidong <cyd@gnu.org>
922
19fb7186
CY
923 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
924
9587c688
CY
925 * simple.el (count-words): Report on narrowing (Bug#9959).
926
0fe776a1
CY
927 * bindings.el: Bind M-= to count-words.
928
4c8ff0fe
CY
929 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
930
7f5331cc
MY
9312012-07-18 Masatake YAMATO <yamato@redhat.com>
932
933 * progmodes/sh-script.el (sh-imenu-generic-expression):
934 Capture a function with `function' keyword and without parentheses
935 like "function FOO" (bug#11856).
936
2dc2a609
TH
9372012-07-18 Tassilo Horn <tassilo@member.fsf.org>
938
939 * window.el (split-window-sensibly): Make WINDOW argument
940 optional.
941
439f7677
CY
9422012-07-18 Chong Yidong <cyd@gnu.org>
943
9aeb25a6
CY
944 * subr.el (keyboard-translate): Doc fix (Bug#7261).
945
439f7677
CY
946 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
947 and make C-x 8 RET exit isearch (Bug#11439).
948
949 * international/iso-transl.el: Move isearch-mode-map key
950 definitions to isearch.el.
951
12999ea8
SM
9522012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
953
954 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
955 (eieio-defclass): Use gv-define-setter when possible.
956
3ab6e069
DA
9572012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
958
959 Reflect recent changes in Fgarbage_collect.
960 * emacs-lisp/chart.el (chart-emacs-storage): Change to
961 reflect new format of data returned by Fgarbage_collect.
962
0a60bc10
FEG
9632012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
964
965 New utility functions + python-info-ppss-context fix (Bug#11910).
966 * progmodes/python.el (python-info-beginning-of-block-statement-p)
967 (python-info-ppss-comment-or-string-p): New functions.
968 (python-info-ppss-context): Small fix for string check.
969
6dafa0d5
JL
9702012-07-17 Juri Linkov <juri@jurta.org>
971
972 * dired-aux.el (dired-do-async-shell-command): Doc fix.
973 (dired-do-async-shell-command): Don't add `*' at the end of the
974 command (Bug#11815).
975 (dired-do-shell-command): Doc fix.
976 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
977 Join the individual commands using either "&" or ";" as the
978 separator depending on the values of these trailing characters.
979 At the end re-add the trailing "&". (Bug#10598)
980
981 * simple.el (async-shell-command): Sync the interactive spec with
982 `shell-command'. Doc fix.
983 (shell-command): Doc fix.
984
b19dd9d1
JL
9852012-07-17 Juri Linkov <juri@jurta.org>
986
987 * descr-text.el (describe-char): Fix format args. (Bug#10129)
988
bcdc27d7 9892012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 990
bcdc27d7 991 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
992 * progmodes/python.el (python-nav-beginning-of-statement):
993 Rename from python-nav-statement-start.
bcdc27d7
FEG
994 (python-nav-end-of-statement): Rename from
995 python-nav-statement-end.
996 (python-nav-beginning-of-block): Rename from
997 python-nav-block-start.
998 (python-nav-end-of-block): Rename from python-nav-block-end.
999
191da00e
FEG
10002012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1001
7f5331cc
MY
1002 * progmodes/python.el (python-shell-send-string-no-output):
1003 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1004 future interactions (Bug#11868).
1005
4dc7c8d5 10062012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1007
88ecaf8f
SM
1008 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1009
ef501ef0
SM
1010 * emacs-lisp/elint.el (elint-find-args-in-code):
1011 Use help-function-arglist, so as to handle lexical byte-code.
1012
aa7aaf8f
SM
1013 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1014 change (bug#11826).
1015
45fd731c
SM
10162012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1017
2143fa32
SM
1018 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1019 Avoid spuriously marking the buffer as modified because of c-is-sws.
1020
efc26dbe
SM
1021 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1022 as not-a-comment (bug#11946).
1023
f5695c9a
SM
1024 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1025 for uninterned vars.
1026
1027 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1028 Use read-event since we don't really want to read chars but bytes.
1029
45fd731c
SM
1030 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1031 $$..$$ but also $..$ using regexps (bug#11953).
1032 Use tex-verbatim for \url and \path.
1033 (tex-font-lock-keywords): Define as defconst like the others.
1034 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1035
ddfc8813
RK
10362012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1037
1038 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1039 alias for insert-char.
1040
758e556a
FEG
10412012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1042
1043 * progmodes/python.el: Simplified imenu implementation.
1044 (python-nav-jump-to-defun): Remove command.
1045 (python-mode-map): Use `imenu' instead.
1046 (python-nav-list-defun-positions-cache)
1047 (python-imenu-include-defun-type, python-imenu-make-tree)
1048 (python-imenu-subtree-root-label, python-imenu-index-alist):
1049 Remove vars.
1050 (python-nav-list-defun-positions, python-nav-read-defun)
1051 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1052 (python-imenu-make-tree, python-imenu-create-index):
1053 Remove functions.
758e556a
FEG
1054 (python-mode): Update to interact with imenu by setting
1055 `imenu-extract-index-name-function' only.
1056
032d23ab
FEG
10572012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1058
1059 * progmodes/python.el: Enhancements to navigation commands.
1060 (python-nav-backward-sentence)
1061 (python-nav-forward-sentence): Remove.
1062 (python-nav-backward-statement, python-nav-forward-statement)
1063 (python-nav-statement-start, python-nav-statement-end)
1064 (python-nav-backward-block, python-nav-forward-block)
1065 (python-nav-block-start, python-nav-block-end)
1066 (python-nav-forward-sexp-function)
1067 (python-info-current-line-comment-p)
1068 (python-info-current-line-empty-p): New functions.
1069 (python-indent-context): Use `python-nav-statement-start'.
1070
01795a1b
MA
10712012-07-16 Michael Albinus <michael.albinus@gmx.de>
1072
9328d9aa
MA
1073 * eshell/em-ls.el (eshell/ls): Use `apply'.
1074
1075 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1076 multi-hops, instead of Tramp internals.
1077
01795a1b
MA
1078 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1079
1080 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1081 when F1 and F2 are located on different hosts.
1082
63408057
CY
10832012-07-14 Chong Yidong <cyd@gnu.org>
1084
1085 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1086 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1087 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1088 (xterm-mouse--read-event-sequence-1000)
1089 (xterm-mouse--read-event-sequence-1006): New functions. For old
1090 mouse protocol, handle M-mouse-X events correctly.
1091 (xterm-mouse-event): New arg specifying mouse protocol.
1092 (turn-on-xterm-mouse-tracking-on-terminal)
1093 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1094 sequence to toggle extended coordinates on newer XTerms.
1095 This appears to be harmless on terminals which do not support this.
63408057 1096
cd276f6e
LL
10972012-07-14 Leo Liu <sdl.web@gmail.com>
1098
28ca98ac
LL
1099 Add fringe bitmap indicators for flymake. (Bug#11253)
1100 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1101 (flymake-make-overlay): New arg BITMAP.
1102 (flymake-error-bitmap, flymake-warning-bitmap)
1103 (flymake-fringe-indicator-position): New user variables.
1104
cd276f6e
LL
1105 * fringe.el: New bitmap exclamation-mark.
1106
04408072
JD
11072012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1108
1109 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1110 also (Bug#7879).
1111
b5cf7fc4
CY
11122012-07-14 Chong Yidong <cyd@gnu.org>
1113
1114 * electric.el (electric-pair-post-self-insert-function): Fix pair
1115 insertion in empty-region case (Bug#11520).
1116
be755c79
RT
11172012-07-14 Chong Yidong <cyd@gnu.org>
1118
45fd731c
SM
1119 * bindings.el: Consolidate ctl-x-r-map bindings.
1120 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1121
1122 * rect.el, register.el: Move bindings to bindings.el.
1123
11242012-07-14 Reuben Thomas <rrt@sc3d.org>
1125
1126 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1127
7f5b3198
AS
11282012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1129
1130 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1131
97662200
JB
11322012-07-13 Juanma Barranquero <lekktu@gmail.com>
1133
80185fed
JB
1134 * bindings.el (top): Use `mapc' instead of `mapcar'.
1135
97662200
JB
1136 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1137
2bb1ae55
MA
11382012-07-13 Michael Albinus <michael.albinus@gmx.de>
1139
1140 * progmodes/sql.el (sql-comint): Suppress the check for program on
1141 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1142 (Bug#11908)
1143
dea31bd3
CY
11442012-07-13 Chong Yidong <cyd@gnu.org>
1145
1146 * bindings.el: Assign a non-nil permanent-local property to
1147 per-buffer variables which lack a default value (Bug#11930).
1148
1149 * help-fns.el (describe-variable): In the "automatically becomes
1150 local" notice, take note of permanent-local variables.
1151
b68b3337
CY
11522012-07-13 Chong Yidong <cyd@gnu.org>
1153
1154 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1155 to allow printing the message when called from Lisp.
1156
1157 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1158 Remove toggle-read-only.
1159
1160 * bs.el (bs-toggle-readonly):
45fd731c
SM
1161 * buff-menu.el (Buffer-menu-toggle-read-only):
1162 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1163
1164 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1165 Remove with-no-warnings around toggle-read-only.
1166 (ffap-read-only, ffap-read-only-other-window)
1167 (ffap-read-only-other-frame): Callers changed.
1168
1169 * help-mode.el: Don't require view package.
1170 (help-mode-finish): Set buffer-read-only instead of calling
1171 toggle-read-only.
1172
1173 * bindings.el (mode-line-toggle-read-only):
1174 * dired.el (dired-toggle-read-only):
1175 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1176 with non-nil second arg.
1177
1178 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1179 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1180 directly.
1181
56bc1586
EZ
11822012-07-12 Eli Zaretskii <eliz@gnu.org>
1183
1184 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1185 not incf.
1186
a464a6c7
SM
11872012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1188
1189 More CL cleanups and reduction of use of cl.el.
1190 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1191 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1192 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1193 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1194 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1195 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1196 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1197 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1198 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1199 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1200 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1201 * eshell/em-cmpl.el, eshell/em-banner.el:
1202 * calendar/parse-time.el: Use cl-lib.
1203 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1204 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1205 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1206 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1207 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1208 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1209 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1210 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1211 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1212 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1213 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1214 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1215 `lambda' rather than with `quote'.
1216 (eshell-do-opt): Adjust accordingly.
1217 (eshell-process-option): Simplify.
1218 * eshell/esh-var.el:
1219 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1220 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1221 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1222 to `pcase--dontcare'.
1223 * emacs-lisp/cl.el (labels): Mark obsolete.
1224 (cl--letf, letf): Move to cl-lib.
1225 (cl--letf*, letf*): Remove.
1226 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1227 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1228 (cl-progv): Rewrite.
1229 (cl--letf, cl-letf): Move from cl.el.
1230 (cl-letf*): New macro.
1231 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1232
7ad4afe1
MA
12332012-07-11 Michael Albinus <michael.albinus@gmx.de>
1234
1235 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1236
9af57756
CY
12372012-07-11 Chong Yidong <cyd@gnu.org>
1238
1239 * vc/log-edit.el (log-edit-vc-backend): New variable.
1240 (log-edit): Doc fix.
1241
1242 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1243 argument of log-edit to set up all local variables.
1244 (vc-start-logentry): New optional arg specifying VC backend.
1245
1246 * vc/vc.el (vc-checkin): Use it.
1247 (vc-deduce-fileset): Handle Log Edit buffers.
1248 (vc-diff): Make first argument optional too.
1249
1250 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1251
8477cc7a
MA
12522012-07-10 Michael Albinus <michael.albinus@gmx.de>
1253
1254 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1255 command, just in case. The function is not needed anymore.
1256 (eshell-external-command): Do not call `eshell-remote-command'.
1257
19faa8e8
SM
12582012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1259
f58e0fd5
SM
1260 Reduce use of (require 'cl).
1261 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1262 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1263 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1264 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1265 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1266 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1267 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1268 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1269 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1270 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1271 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1272 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1273 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1274 (byte-compile-unfold-bcf, byte-compile-check-variable):
1275 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1276 (byte-compile-nilconstp):
1277 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1278 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1279
2519d43a
SM
1280 * emacs-lisp/gv.el (cond): Make it a valid place.
1281 (if): Simplify slightly.
1282
19faa8e8
SM
1283 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1284 (pcase--self-quoting-p): New function.
1285 (pcase--u1): Use it.
1286
c4907a5e
GM
12872012-07-10 Glenn Morris <rgm@gnu.org>
1288
1289 * emacs-lisp/authors.el (authors-fixed-entries):
1290 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1291
c4444d16
PE
12922012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1293
1294 Rename configure.in to configure.ac (Bug#11603).
1295 * emacs-lisp/authors.el (authors-canonical-file-name):
1296 * progmodes/autoconf.el (autoconf-mode):
1297 Prefer configure.ac to configure.in.
1298
d75be97d
CY
12992012-07-08 Chong Yidong <cyd@gnu.org>
1300
01ac65bd
CY
1301 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1302 Implement the mouse-1-click-follows-link handling properly.
1303
1304 * info.el (Info-link-keymap): Use follow-link mechanism for
1305 header-line links (Bug#374).
1306
d75be97d
CY
1307 * simple.el (deactivate-mark): Do not set the primary selection
1308 if another program has acquired it (Bug#11772).
1309
87a92845 13102012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1311
1312 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1313 (woman-decode-region): Replace escaped-escapes without destroying
1314 bold or underline (Bug#11552).
87a92845 1315 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1316
621b9d6c
CY
13172012-07-07 Chong Yidong <cyd@gnu.org>
1318
1319 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1320 (interprogram-cut-function, interprogram-paste-function):
1321 Mention that we typically mean the clipboard.
621b9d6c 1322
133a11fc
GM
13232012-07-06 Glenn Morris <rgm@gnu.org>
1324
0d27a45e
GM
1325 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1326
133a11fc
GM
1327 * files.el (toggle-read-only): Restrict message to interactive use.
1328
07b151f1
MA
13292012-07-06 Michael Albinus <michael.albinus@gmx.de>
1330
1331 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1332
1333 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1334
211b896b
GM
13352012-07-06 Glenn Morris <rgm@gnu.org>
1336
50394322
GM
1337 * Makefile.in (compile-one-process): Rename from "recompile".
1338
211b896b
GM
1339 * Makefile.in (bzr-update): "compile" is the same as "recompile
1340 autoloads", but parallelizable, so use that instead.
1341
4737eec9
DG
13422012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1343
1344 * window.el (quit-window): Always restore window height when
8137e7b3 1345 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1346
226c3633 13472012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1348
1349 * simple.el (kill-whole-line): Doc tweak.
1350
226c3633 13512012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1352
1353 * files.el (file-relative-name): Compare file names
1354 case-insensitively if on MS-Windows or MS-DOS, or if
1355 read-file-name-completion-ignore-case is non-nil. Don't use
1356 case-fold-search for this purpose. (Bug#11827)
1357
4dc7c8d5
SM
13582012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1359
1360 * calendar/cal-dst.el (calendar-current-time-zone):
1361 Return calendar-current-time-zone-cache if non-nil.
1362
13632012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 13642012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1365
19faa8e8
SM
1366 * calendar/cal-dst.el (calendar-current-time-zone):
1367 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1368
60198fc9
GM
13692012-07-06 Glenn Morris <rgm@gnu.org>
1370
1371 * Makefile.in (cvs-update): Remove old alias.
1372
957b3189
MA
13732012-07-05 Michael Albinus <michael.albinus@gmx.de>
1374
1375 Sync with Tramp 2.2.6-pre.
1376
1377 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1378 compatible declaration.
1379
19faa8e8
SM
1380 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1381 Protect `list-load-path-shadows' call.
957b3189
MA
1382
1383 * net/tramp-compat.el (top): Require packages, which aren't
1384 autoloaded anymore for XEmacs. Protect call of
1385 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1386 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1387 it hurts at least for SXEmacs.
1388 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1389 standard-value for `temporary-file-directory'.
1390
1391 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1392 Redirect stderr to /dev/null.
1393 (tramp-sh-handle-write-region): uid and gid can be floats.
1394 Reported by Russell Sim <russell.sim@gmail.com>.
1395 (tramp-sh-handle-vc-registered): Hide errors.
1396 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1397 and `start-file-process'.
1398 (tramp-maybe-open-connection): Check also whether `non-essential'
1399 is bound.
1400
566df3fc
CY
14012012-07-04 Chong Yidong <cyd@gnu.org>
1402
1403 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1404 (xml-parse-tag): Likewise, and avoid changing entity tables.
1405 (xml-syntax-table): Define from scratch, making sure not to give
1406 x2000 and other Unicode spaces whitespace syntax, since those are
1407 not spaces in XML.
1408 (xml-parse-fragment): Delete unused function.
1409 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1410 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1411 (xml-entity-ref, xml-pe-reference-re)
1412 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1413 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1414 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1415 (xml-entity-value-re): Use syntax references in regexps where
1416 possible; no need to define inside a let-binding.
1417 (xml-parse-dtd): Use xml-pe-reference-re.
1418 (xml-entity-or-char-ref-re): New defconst.
1419 (xml-parse-string, xml-substitute-special): Use it.
1420
30eabd7a
SM
14212012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1422
0781098a
SM
1423 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1424 (find-file--read-only): New function.
1425 (find-file-read-only, find-file-read-only-other-window)
1426 (find-file-read-only-other-frame): Use it.
1427 (insert-file-contents-literally): Don't `fset'.
1428 (get-free-disk-space): Use locate-dominating-file.
1429
b5771c0d
SM
1430 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1431 function is already compiled.
1432
30eabd7a
SM
1433 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1434
b4886f6e
MA
14352012-07-03 Michael Albinus <michael.albinus@gmx.de>
1436
1437 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1438 files on the same host.
1439
b9d82339
AS
14402012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1441
1442 * help-fns.el (describe-function-1): Only call
1443 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1444
a76e6535
CY
14452012-07-03 Chong Yidong <cyd@gnu.org>
1446
1447 * xml.el: Protect parser against XML bombs.
1448 (xml-entity-expansion-limit): New variable.
1449 (xml-parse-string, xml-substitute-special): Use it.
1450 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1451
b544fef2
GM
14522012-07-03 Glenn Morris <rgm@gnu.org>
1453
1454 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1455 Allow linking to specific messages in debbugs reports (eg 123#5).
1456
a7aef6f5
CY
14572012-07-02 Chong Yidong <cyd@gnu.org>
1458
1459 * xml.el: Fix entity and character reference expansion, allowing
1460 them to expand into markup as per XML spec.
1461 (xml-default-ns): New variable.
1462 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1463 (xml-parse-region): Make first two arguments optional.
1464 Discard text properties.
1465 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1466 All callers changed.
a7aef6f5
CY
1467 (xml-parse-tag): Call xml-parse-tag-1. For backward
1468 compatibility, this function should not modify buffer contents.
1469 (xml-parse-tag-1): Fix opening-tag regexp.
1470 (xml-parse-string): Rewrite, handling entity and character
1471 references properly.
1472 (xml--entity-replacement-text): Signal an error if a parameter
1473 entity is undefined.
1474
3df31c9f
SM
14752012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1476
2b5208f1
SM
1477 * comint.el (comint-output-filter): Filter out repeated prompts.
1478
3df31c9f
SM
1479 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1480 and file-name-absolute-p.
1481 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1482 internal calls.
1483
e3ac1281
PE
14842012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1485
1486 Spelling fixes.
1487 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1488 Rename from byte-compile--refiy-function. All uses changed.
1489
fbf2e7ad
CY
14902012-07-01 Chong Yidong <cyd@gnu.org>
1491
1492 * xml.el (xml--parse-buffer): New function. Move most of
1493 xml-parse-region here.
1494 (xml-parse-region): Copy region into a temporary buffer, since
1495 parameter entity substitution requires changing buffer contents.
1496 Use xml--parse-buffer.
1497 (xml-parse-file): Use xml--parse-buffer.
1498 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1499 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1500
9bf0aa15
GM
15012012-06-30 Glenn Morris <rgm@gnu.org>
1502
bbce2853
GM
1503 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1504
9bf0aa15
GM
1505 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1506 Remove outdated and unnecessary dbus declarations.
1507
0d23c240
EZ
15082012-06-30 Eli Zaretskii <eliz@gnu.org>
1509
1510 * emacs-lisp/timer.el (timer-until): Subtract results of
1511 float-time, instead of taking float-time of the result of
1512 time-subtract, since float-time signals an error for negative time
1513 arguments.
1514
b3218de1
CY
15152012-06-30 Chong Yidong <cyd@gnu.org>
1516
1517 * xml.el (xml-*-re): Convert defvars into defconsts, and
1518 eval-and-compile them so eval-and-compile works on derivatives.
1519 (xml--entity-replacement-text): Use eval-and-comple.
1520
a40c87a0
MA
15212012-06-30 Michael Albinus <michael.albinus@gmx.de>
1522
1523 * vc/vc-git.el (vc-git-registered): Use cache property
1524 `git-registered'.
1525 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1526 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1527 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1528
ac87de97
DG
15292012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1530
1531 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1532 removed (likely outside Emacs). (Bug#11757)
ac87de97 1533
ac10fe06
SM
15342012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1535
3df31c9f 1536 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1537
7f3fbd5d
CY
15382012-06-30 Chong Yidong <cyd@gnu.org>
1539
1540 * xml.el: Implement XML parameter entities.
1541 (xml-parameter-entity-alist): New variable.
1542 (xml-parse-region, xml-parse-fragment): Preserve previous values
1543 of xml-entity-alist and xml-parameter-entity-alist, so that
1544 repeated calls on different documents do not change them.
1545 (xml-parse-tag): Fix doctype regexp.
1546 (xml--entity-replacement-text): New function.
1547 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1548 properly requires url retrieval which is unimplemented.
1549 (xml-escape-string): Doc fix.
1550
3cfbebba
SM
15512012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1552
1553 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1554
2af3565e
DA
15552012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1556
1557 * fringe.el (fringe-mode): Doc fix.
1558
929df0e7
MA
15592012-06-29 Michael Albinus <michael.albinus@gmx.de>
1560
1561 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1562 is non-nil.
1563 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1564 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1565
c8d3a25c 15662012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1567
c8d3a25c
GM
1568 * calendar/cal-dst.el (calendar-current-time-zone):
1569 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1570
c8d3a25c 15712012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1572
1573 * progmodes/which-func.el (which-func-format):
1574 Add mouse-face. (Bug#11698)
1575
c8d3a25c
GM
15762012-06-29 Leo Liu <sdl.web@gmail.com>
1577
1578 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1579
15802012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 * minibuffer.el (minibuffer-confirm-exit-commands):
1583 Add completion-at-point (bug#11725).
1584
15852012-06-29 Glenn Morris <rgm@gnu.org>
1586
1587 * progmodes/f90.el (f90-font-lock-keywords-2):
1588 Add some preprocessor elements. (Bug#10499)
1589
15902012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1591
1592 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1593 Use syntax-propertize (bug#11739).
1594
2badeec4
JB
15952012-06-28 Juanma Barranquero <lekktu@gmail.com>
1596
1597 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1598
ae4969c2
JD
15992012-06-28 Julien Danjou <julien@danjou.info>
1600
1601 * term.el (term-handle-colors-array): Use a set of new faces to
1602 color the terminal. Also uses :inverse-video property.
1603 (term-default-fg-color): Set to nil by default, deprecate in favor
1604 of `term-face'.
1605 (term-default-bg-color): Set to nil by default, deprecate in favor
1606 of `term-face'.
1607 (term-current-face): Use `term-face' by default.
1608 (term-bold-attribute): Variable deleted.
1609
1c9bd870
GM
16102012-06-28 Glenn Morris <rgm@gnu.org>
1611
1612 * simple.el (completion-list-mode-finish):
1613 Don't use toggle-read-only. (Since completion-list-mode has
1614 a special mode-class, it wasn't doing anything extra anyway.)
1615
c207708c
SM
16162012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1617
1618 Make inlining of other-mode interpreted functions work (bug#11799).
1619 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1620 (byte-compile): Use it to fix compilation of lexical-binding closures.
1621 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1622 function, if needed.
1623
3fd56834
SM
16242012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1625
04901786
SM
1626 * help-mode.el (help-make-xrefs): Don't just withstand
1627 cyclic-variable-indirection but any error in documentation-property.
1628
1ec4b7b2
SM
1629 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1630 memory use.
1631 * bindings.el (bindings--define-key): New function.
1632 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1633 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1634 * bindings.el: Use it to purecopy define-key bindings.
1635
e309e2a5
SM
1636 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1637
d5c6faf9
SM
1638 * emacs-lisp/cl.el (flet): Mark obsolete.
1639 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1640 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1641 * progmodes/js.el (js-c-fill-paragraph):
1642 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1643 (ebrowse-switch-member-buffer-to-derived-class):
1644 * play/5x5.el (5x5-solver): Use cl-flet.
1645
6e9590e2
SM
1646 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1647 (cl--symbol-function): New macro.
1648 (cl--letf, cl--letf*): Use it.
1649
3fd56834
SM
1650 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1651 Strip "toggle-" if any.
1652
35ff222c
GM
16532012-06-27 Glenn Morris <rgm@gnu.org>
1654
1ba6038a
GM
1655 * info.el (Info-default-directory-list): Move here from paths.el.
1656 * paths.el: Remove file, which is now empty.
1657 * loadup.el: No longer load "paths".
1658
0ea0e51b
GM
1659 * custom.el (custom-initialize-delay): Doc fix.
1660
35ff222c
GM
1661 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1662 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1663 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1664 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1665 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1666 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1667 * eshell/eshell.el (eshell-defgroup): Remove alias.
1668
c89926a5
CY
16692012-06-27 Chong Yidong <cyd@gnu.org>
1670
1671 * help.el (help-enable-auto-load): New variable.
1672
1673 * help-fns.el (help-fns--autoloaded-p): New function.
1674 (describe-function-1): Refer to a function as "autoloaded" if it
1675 was autoloaded at any time in the past. Perform autoloading if
1676 help-enable-auto-load is non-nil.
1677
cc06e7e7
EZ
16782012-06-26 Eli Zaretskii <eliz@gnu.org>
1679
1680 * makefile.w32-in (compile, compile-always): Depend on
1681 update-subdirs, not on subdirs.el. Otherwise, several different
1682 sub-targets of 'bootstrap' running in parallel could
1683 simultaneously write to subdirs.el, producing a garbled file.
1684
d2c32364
SS
16852012-06-26 Sam Steingold <sds@gnu.org>
1686
1687 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1688 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1689 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1690 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1691 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1692 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1693 * textmodes/tex-mode.el: Use it.
1694 Did not touch cedet and org because they are maintained elsewhere.
1695
5cf983b2
MR
16962012-06-26 Martin Rudalics <rudalics@gmx.at>
1697
1698 * calendar/calendar.el (calendar-exit): Don't try to delete or
1699 iconify last frame. See:
1700 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1701
8c4f2952
JD
17022012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1703
1704 * server.el (server-process-filter): Remember dir in the
1705 process's `server-client-directory' properties.
1706
772b2e2c
CY
17072012-06-24 Chong Yidong <cyd@gnu.org>
1708
1709 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1710 non-tag text.
1711
711b11e1
JB
17122012-06-23 Juanma Barranquero <lekktu@gmail.com>
1713
1714 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1715
dc5d230c
SM
17162012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1717
1718 * help-fns.el (describe-variable): Don't croak when doc is not found.
1719 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1720 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1721 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1722 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1723 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1724 ((lambda ..) ..).
1725 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1726
136e1c1d
CY
17272012-06-23 Chong Yidong <cyd@gnu.org>
1728
e8c1cabf
CY
1729 * info.el (Info-mouse-follow-link): Accept symbol values of
1730 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1731 (Info-fontify-node): Use Info-link-keymap for all navigation
1732 buttons, with link-args property to perform the desired action.
1733 (Info-link-keymap): Doc fix.
1734 (Info-next-link-keymap, Info-prev-link-keymap)
1735 (Info-up-link-keymap): Delete now-unused keymaps.
1736
0e9e6c6a
CY
17372012-06-23 Chong Yidong <cyd@gnu.org>
1738
05e89fea
CY
1739 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1740
0e9e6c6a
CY
1741 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1742 system abbrevs.
1743
1744 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1745
e33c6771
SM
17462012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1747
b68581e2
SM
1748 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1749 (bug#11719).
1750
e33c6771
SM
1751 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1752 the requote function doesn't work properly (bug#11714).
1753
7117e105
GM
17542012-06-23 Glenn Morris <rgm@gnu.org>
1755
1756 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1757
36cec983
SM
17582012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1759
1760 Further GV/CL cleanups.
1761 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1762 gv-expander.
1763 (gv--defun-declaration): New function.
1764 (defun-declarations-alist): Use it.
1765 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1766 (gv-place): Autoload.
1767 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1768 original definition of dotimes and dolist.
1769 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1770 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1771 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1772 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1773 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1774 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1775 to the function's definition.
1776 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1777 * window.el:
1778 * files.el:
1779 * faces.el:
1780 * env.el: Don't use CL.
1781
d35af63c
PE
17822012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1783
1784 Support higher-resolution time stamps (Bug#9000).
1785
1786 * calendar/time-date.el (with-decoded-time-value): New arg
1787 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1788 (encode-time-value): New optional arg PICO. New type 3.
1789 (time-to-seconds) [!float-time]: Support the new picoseconds
1790 component if it's used.
1791 (seconds-to-time, time-subtract, time-add):
1792 Support ps-resolution time stamps as well.
1793
1794 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1795 (timerp): Timer vectors now have length 9, not 8.
1796 (timer--time): Support new-style (4-part) time stamps.
1797 (timer-next-integral-multiple-of-time): Time stamps now have
1798 picosecond resolution, so take a bit more care about rounding.
1799 (timer-relative-time, timer-inc-time): New optional arg psecs.
1800 (timer-set-time-with-usecs): Set psecs to 0.
1801 (timer--activate): Check psecs component, too.
1802
1803 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1804
ac77b21a
SM
18052012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1806
f143bfe3
SM
1807 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1808 Move the non-essential binding to the post/pre-command-hook where it is
1809 more obviously correct.
1810
ac77b21a
SM
1811 * subr.el (read-passwd): Don't use a history at all.
1812 * savehist.el (savehist-save): Remove password saved accidentally
1813 because of the above bug.
1814
76386c5a
BG
18152012-06-22 Bastien Guerry <bzg@gnu.org>
1816
1817 * files.el (toggle-read-only): Display a message telling whether
1818 the buffer is read-only or not (bug#11726).
1819
2ee3d7f0
SM
18202012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1821
1822 * emacs-lisp/gv.el: New file.
1823 * subr.el (push, pop): Extend to generalized variables.
1824 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1825 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1826 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1827 gv-define-simple-setter, and gv-define-expander.
1828 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1829 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1830 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1831 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1832 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1833 gv-letplace.
1834 (cl-defstruct): Don't define setf-method any more.
1835 * emacs-lisp/cl.el (flet): Don't autoload.
1836 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1837 (define-setf-expander, defsetf, define-modify-macro)
1838 (cl-struct-setf-expander): Move from cl-lib.el.
1839 * emacs-lisp/syntax.el:
1840 * emacs-lisp/ewoc.el:
1841 * emacs-lisp/smie.el:
1842 * emacs-lisp/cconv.el:
1843 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1844 (timer--time): Use gv-define-simple-setter.
1845 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1846 to avoid coding-system problems in subr.el. Adjust all users.
1847 (macroexp--maxsize, macroexp-small-p): New functions.
1848 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1849 * scroll-bar.el (scroll-bar-mode):
1850 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1851 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1852 * winner.el (winner-configuration, winner-make-point-alist)
1853 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1854 * files.el (locate-file-completion-table): Avoid list*.
1855
c5695d1d
CY
18562012-06-22 Chong Yidong <cyd@gnu.org>
1857
1858 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1859 (dired-create-files): Doc fix (Bug#11329).
1860 (dired-do-copy): Doc fix (Bug#11334).
1861 (dired-mark-read-string): Doc fix (Bug#11553).
1862
2ee3d7f0
SM
1863 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1864 Doc fix (Bug#11326).
c5695d1d
CY
1865 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1866 (dired-dwim-target): Doc fix.
1867
1868 * wdired.el (wdired-mode): Doc fix.
1869
89b5595a
GM
18702012-06-22 Glenn Morris <rgm@gnu.org>
1871
575db3f1
GM
1872 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1873 (pcmpl-rpm-cache-stamp-file): New constant.
1874 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1875 (pcmpl-rpm-packages): Optionally cache list of packages.
1876
a4c8dd51
GM
1877 * pcmpl-rpm.el (pcmpl-rpm): New group.
1878 (pcmpl-rpm-query-options): New option.
1879 (pcmpl-rpm-packages): No need to inline it.
1880 Use pcmpl-rpm-query-options.
1881
89b5595a
GM
1882 * calendar/calendar.el (calendar-in-read-only-buffer):
1883 Avoid some needless mode changes.
1884
e76f0800
CY
18852012-06-21 Chong Yidong <cyd@gnu.org>
1886
1887 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1888 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1889 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1890
297a8f1d
CY
18912012-06-20 Chong Yidong <cyd@gnu.org>
1892
1893 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1894
d34c18b1
DR
18952012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1896
1897 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1898 (bug#11201).
1899
32f7f28e
CY
19002012-06-20 Chong Yidong <cyd@gnu.org>
1901
1902 * term.el (term-window-width): Handle the case of a missing right
1903 fringe (Bug#8837).
1904 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1905 (term-mode): Use define-derived-mode. Minor cleanups.
1906 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1907 (term-move-columns, term-insert-char, term-emulate-terminal)
1908 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1909
493c6688
MA
19102012-06-20 Michael Albinus <michael.albinus@gmx.de>
1911
d34c18b1
DR
1912 * net/ange-ftp.el (ange-ftp-get-passwd):
1913 Bind `enable-recursive-minibuffers'.
493c6688
MA
1914 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1915
3f06ecf4
DR
19162012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1917
1918 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1919
68f12411
GM
19202012-06-19 Glenn Morris <rgm@gnu.org>
1921
1922 * progmodes/python.el (python-mode): Derive from prog-mode.
1923
b3820318
KG
19242012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1925
1926 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1927 (edt-user-menu-bar-update-buffers): New functions.
1928 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1929
c6bf3022
CY
19302012-06-19 Chong Yidong <cyd@gnu.org>
1931
1932 * subr.el (with-selected-window): Preserve the selected window's
1933 terminal's top-frame (Bug#4702).
1934
1935 * window.el (save-selected-window): Likewise.
1936
25f09295
SM
19372012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1938
1939 * progmodes/python.el (python-rx-constituents): Move backquote.
1940 (python-skeleton-define, python-define-auxiliary-skeleton):
1941 Use `declare'.
1942
6b11952a
MA
19432012-06-18 Michael Albinus <michael.albinus@gmx.de>
1944
1945 * minibuffer.el (read-file-name-default): Revert the patch from
1946 2012-06-17.
1947
ee4b1330
SM
19482012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1949
1950 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1951 (pcase--u1, pcase--q1): Don't use apply-partially.
1952
35647f79
GM
19532012-06-18 Glenn Morris <rgm@gnu.org>
1954
1955 * progmodes/python.el (python-proc, python-buffer)
1956 (python-send-receive, python-send-string): Fix obsolete versions.
1957
24b0cff0
MR
19582012-06-18 Martin Rudalics <rudalics@gmx.at>
1959
1960 * window.el (special-display-p): Completely remove stringp
1961 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1962
29855149
MA
19632012-06-17 Michael Albinus <michael.albinus@gmx.de>
1964
1965 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1966
1967 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1968
1969 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1970 * net/tramp-sh.el (tramp-maybe-open-connection):
1971 Throw if `non-essential' is non-nil.
1972
07463363
MR
19732012-06-17 Martin Rudalics <rudalics@gmx.at>
1974
1975 * window.el (special-display-p): Signal an error if BUFFER-NAME
1976 is not a string (Bug#11713).
1977
48d1354e
PE
19782012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1979
1980 * progmodes/python.el (python-info-beginning-of-backslash):
1981 Rename from python-info-beginning-of-backlash, as a spelling fix.
1982
eb4a8a9a
CY
19832012-06-17 Chong Yidong <cyd@gnu.org>
1984
1985 * term.el (term-emulate-terminal): If term-check-size is called,
1986 move point to the process mark without resetting point (Bug#4635).
1987
ddfbf826 19882012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1989
1990 * international/mule-cmds.el (mule-menu-keymap)
1991 (set-language-environment, set-locale-environment): Doc tweaks.
1992
9b0e3eba
AA
19932012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1994
1995 * cus-face.el (custom-face-attributes): Add wave-style underline
1996 attribute.
1997 * faces.el (set-face-attribute): Update docstring to describe
1998 wave-style underline attribute.
1999
771e3eae
CY
20002012-06-16 Chong Yidong <cyd@gnu.org>
2001
2002 * term/xterm.el (terminal-init-xterm): Discard input before
2003 querying background mode (Bug#10959).
2004
7ae2ea10
SM
20052012-06-16 Stefan Merten <smerten@oekonux.de>
2006
2007 * textmodes/rst.el: Added and corrected some comments.
2008 (rst-re-alist-def): Improve symbol syntax.
2009 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2010 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2011 (rst-official-version, rst-official-cvs-rev): Update version
2012 information.
7ae2ea10 2013
b6974efa
JB
20142012-06-15 Juanma Barranquero <lekktu@gmail.com>
2015
2016 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2017 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2018
8826d473
GM
20192012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2020
2021 * progmodes/python.el: New python.el merge.
2022 (python-guess-indent): Obsolete var.
2023 (python-indent-guess-indent-offset): New defcustom.
2024 (python-indent): Obsolete var.
2025 (python-indent-offset): New defcustom.
2026 (python-python-command, python-jython-command): Delete var.
2027 (python-shell-interpreter): New defcustom.
2028 (python-pdbtrack-do-tracking-p): Delete var.
2029 (python-pdbtrack-activate): New defcustom.
2030 (python-use-skeletons): Obsolete var.
2031 (python-skeleton-autoinsert): New defcustom.
2032 (inferior-python-filter-regexp, python-continuation-offset)
2033 (python-honour-comment-indentation, python-indent-string-contents)
2034 (python-jython-packages, python-mode-hook)
2035 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2036 (python-shell-prompt-alist)
2037 (python-source-modes): Delete defcustoms.
2038 (python-check-buffer-name, python-eldoc-setup-code)
2039 (python-eldoc-string-code, python-ffap-setup-code)
2040 (python-ffap-string-code, python-fill-comment-function)
2041 (python-fill-decorator-function, python-fill-paren-function)
2042 (python-fill-string-function, python-imenu-include-defun-type)
2043 (python-imenu-make-tree, python-imenu-subtree-root-label)
2044 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2045 (python-shell-compilation-regexp-alist)
2046 (python-shell-completion-module-string-code)
2047 (python-shell-completion-pdb-string-code)
2048 (python-shell-completion-setup-code)
2049 (python-shell-completion-string-code)
2050 (python-shell-enable-font-lock, python-shell-exec-path)
2051 (python-shell-extra-pythonpaths)
2052 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2053 (python-shell-process-environment)
2054 (python-shell-prompt-block-regexp)
2055 (python-shell-prompt-output-regexp)
2056 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2057 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2058 (python-shell-virtualenv-path): New defcustoms.
2059 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2060 (inferior-python-mode-syntax-table, python--prompt-regexp)
2061 (python-buffer, python-command python-python-command)
2062 (python-default-template, python-imports, python-indent-index)
2063 (python-indent-list, python-indent-list-length)
2064 (python-mode-running, python-pdbtrack-is-tracking-p)
2065 (python-preoutput-continuation, python-preoutput-leftover)
2066 (python-preoutput-result, python-preoutput-skip-next-prompt)
2067 (python-prev-dir/file, python-recursing)
2068 (python-saved-check-command, python-version-checked)
2069 (python-which-func-length-limit)
2070 (view-return-to-alist): Delete vars.
2071 (python-check-custom-command, python-dotty-syntax-table)
2072 (python-imenu-index-alist, python-indent-current-level)
2073 (python-indent-dedenters, python-indent-levels)
2074 (python-nav-beginning-of-defun-regexp)
2075 (python-nav-list-defun-positions-cache)
2076 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2077 (python-shell-internal-buffer)
2078 (python-skeleton-available): New vars.
2079 (def-python-skeleton): Delete macro.
2080 (python-skeleton-define): New macro.
2081 (python-define-auxiliary-skeleton, python-rx): New macros.
2082 (python-insert-class): Delete command.
2083 (python-skeleton-class): New command.
2084 (python-insert-def): Delete command.
2085 (python-skeleton-def): New command.
2086 (python-insert-for): Delete command.
2087 (python-skeleton-for): New command.
2088 (python-insert-if): Delete command.
2089 (python-skeleton-if): New command.
2090 (python-insert-try/except, python-insert-try/finally): Delete commands.
2091 (python-skeleton-try): New command.
2092 (python-insert-while): Delete command.
2093 (python-skeleton-while): New command.
2094 (python-backspace): Delete command.
2095 (python-indent-dedent-line-backspace): New command.
2096 (python-electric-colon): Delete command.
2097 (python-indent-electric-colon): New command.
2098 (python-guess-indent): Delete command.
2099 (python-indent-guess-indent-offset): New command.
2100 (python-shift-left): Delete command.
2101 (python-indent-shift-left): New command.
2102 (python-shift-right): Delete command.
2103 (python-indent-shift-right): New command.
2104 (python-find-function): Delete command.
2105 (python-nav-jump-to-defun): New command.
2106 (python-next-statement): Delete command.
2107 (python-nav-forward-sentence): New command.
2108 (python-previous-statement): Delete command.
2109 (python-nav-backward-sentence): New command.
2110 (python-fill-paragraph): Delete command.
2111 (python-fill-paragraph-function): New command.
2112 (python-send-buffer): Delete command.
2113 (python-shell-send-buffer): New command.
2114 (python-send-defun): Delete command.
2115 (python-shell-send-defun): New command.
2116 (python-send-region, python-send-region-and-go): Delete commands.
2117 (python-shell-send-region)
2118 (python-shell-switch-to-shell): New commands.
2119 (python-send-string): Delete command.
2120 (python-shell-send-string): New command.
2121 (python-switch-to-python): Delete command.
2122 (python-shell-switch-to-shell): New command.
2123 (python-describe-symbol): Delete command.
2124 (python-eldoc-at-point): New command.
2125 (python--set-prompt-regexp, python-args-to-list)
2126 (python-after-info-look, python-check-version)
2127 (python-check-comint-prompt, python-find-imports)
2128 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2129 (python-unload-function, python-expand-template)
2130 (python-maybe-jython, python-preoutput-filter)
2131 (python-pdbtrack-get-source-buffer)
2132 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2133 (python-pdbtrack-toggle-stack-tracking)
2134 (python-pdbtrack-track-stack-file, python-initial-text)
2135 (python-first-word, python-comment-line-p, python-send-command)
2136 (python-setup-brm, python-sentinel, python-set-proc)
2137 (python-skip-out, python-input-filter, python-outdent-p)
2138 (python-outline-level, python-backslash-continuation-line-p)
2139 (python-end-of-block, python-end-of-statement, python-mark-block)
2140 (python-beginning-of-block, python-beginning-of-statement)
2141 (python-blank-line-p, python-beginning-of-string)
2142 (python-open-block-statement-p): Delete functions.
2143 (python-indent-line, python-indent-line-1): Delete functions.
2144 (python-indent-line): New function.
2145 (python-indentation-levels): Delete function.
2146 (python-indent-calculate-levels): New function.
2147 (python-proc): Delete function.
2148 (python-shell-get-process): New function.
2149 (python-send-receive): Delete function.
2150 (python-shell-send-string-no-output): New function.
2151 (python-module-path): Delete function.
2152 (python-ffap-module-path): New function.
2153 (python-completion-at-point)
2154 (python-symbol-completions): Delete functions.
2155 (python-completion-complete-at-point): New function.
2156 (python-load-file): Delete function.
2157 (python-shell-send-file): New function.
2158 (python-calculate-indentation): Delete function.
2159 (python-indent-calculate-indentation): New function.
2160 (python-skip-comments/blanks): Delete function.
2161 (python-util-forward-comment): New function.
2162 (python-continuation-line-p): Delete function.
2163 (python-info-continuation-line-p): New function.
2164 (python-which-func, python-current-defun): Delete function.
2165 (python-info-current-defun): New function.
2166 (python-beginning-of-defun): Delete function.
2167 (python-nav-beginning-of-defun): New function.
2168 (python-close-block-statement-p)
2169 (python-block-end-p): Delete function.
2170 (python-info-closing-block): New function.
2171 (python-comint-output-filter-function)
2172 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2173 (python-fill-comment, python-fill-decorator, python-fill-paren)
2174 (python-fill-string, python-imenu-make-element-tree)
2175 (python-imenu-make-tree, python-imenu-tree-assoc)
2176 (python-indent-context, python-indent-dedent-line)
2177 (python-indent-line-function)
2178 (python-indent-post-self-insert-function)
2179 (python-indent-toggle-levels)
2180 (python-info-assignment-continuation-line-p)
2181 (python-info-beginning-of-backlash)
2182 (python-info-block-continuation-line-p)
2183 (python-info-closing-block-message)
2184 (python-info-line-ends-backslash-p)
2185 (python-info-looking-at-beginning-of-defun)
2186 (python-info-ppss-context, python-info-ppss-context-type)
2187 (python-nav-list-defun-positions, python-nav-read-defun)
2188 (python-nav-sentence-end, python-nav-sentence-start)
2189 (python-pdbtrack-comint-output-filter-function)
2190 (python-pdbtrack-set-tracked-buffer)
2191 (python-shell-calculate-exec-path)
2192 (python-shell-calculate-process-environment)
2193 (python-shell-completion--do-completion-at-point)
2194 (python-shell-completion--get-completions)
2195 (python-shell-completion-complete-at-point)
2196 (python-shell-completion-complete-or-indent)
2197 (python-shell-get-or-create-process)
2198 (python-shell-get-process-name)
2199 (python-shell-internal-get-or-create-process)
2200 (python-shell-internal-get-process-name)
2201 (python-shell-internal-send-string, python-shell-make-comint)
2202 (python-shell-parse-command, python-shell-send-setup-code)
2203 (python-skeleton-add-menu-items)
2204 (python-util-clone-local-variables, python-util-position)
2205 (run-python-internal, python-indentation-levels)
2206 (python-nav-beginning-of-defun)
2207 (python-completion-complete-at-point): New functions.
2208 (run-python): Change arguments. New API requirements.
2209
4302f5ba
SM
22102012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2211
f38ea36d
SM
2212 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2213 (bug#11649).
2214
2215 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2216 (macroexp--expand-all): Use it.
2217
4302f5ba
SM
2218 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2219 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2220 Use `cl-function' instead.
2221
33377562
JB
22222012-06-14 Juanma Barranquero <lekktu@gmail.com>
2223
2224 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2225 Suggested by Stefan Monnier while discussing bug#11657.
2226
54c5ba1a
SS
22272012-06-14 Sam Steingold <sds@gnu.org>
2228
2229 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2230
f9f1b1fe
AS
22312012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2232
2233 * play/doctor.el (doctor-doc): Remove parameter and use
2234 doctor-sent instead of sent.
2235 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2236
a81068ba
SM
22372012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2238
5a315f9c
SM
2239 * files.el: Require cl-lib.
2240 (file-name-non-special): Replace case -> cl-case.
2241
2242 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2243
a81068ba
SM
2244 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2245 mapping from #' to function*.
2246
8cca9703
CY
22472012-06-13 Chong Yidong <cyd@gnu.org>
2248
2249 * mouse.el (mouse-drag-track): Do not set the mark if the user
2250 releases the mouse without selecting anything (Bug#11588).
2251
a12ac9d7
SM
22522012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2253
ccf1dc18
SM
2254 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2255 as well (bug#11646).
2256
ef62b23d
SM
2257 * loadup.el: Count byte-code functions as well.
2258
c4c8444a
SM
2259 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2260 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2261
a12ac9d7
SM
2262 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2263 (bug#11649). Add cl-defun and cl-defmacro.
2264
87e6e64f
DA
22652012-06-13 Drew Adams <drew.adams@oracle.com>
2266
2267 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2268 Fix last change.
2269
682cefaf
MA
22702012-06-13 Michael Albinus <michael.albinus@gmx.de>
2271
2272 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2273 Otherwise, it blocks in batch mode.
2274
773e1f08
JB
22752012-06-13 Juanma Barranquero <lekktu@gmail.com>
2276
2277 * help-mode.el (bookmark-make-record-default): Declare.
2278
60057926
CY
22792012-06-13 Chong Yidong <cyd@gnu.org>
2280
2281 * emacs-lisp/package.el (list-packages): Compute a list of
2282 packages that are newly-available since the last list-packages
2283 invocation.
2284 (package-menu--new-package-list): New var.
2285 (package-menu--generate, package-menu--print-info)
2286 (package-menu--status-predicate, package-menu-mark-install):
2287 Handle new status label "new".
2288
ad4d226c
SM
22892012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2290
2291 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2292 conversion to backquotes.
2293
f1a4e679
CY
22942012-06-12 Chong Yidong <cyd@gnu.org>
2295
2296 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2297 Rename from gud-inhibit-global-bindings.
2298
2299 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2300
2301 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2302 hook from nxml-glyph-set-hook.
2303
2304 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2305 declaration.
2306
2307 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2308
2309 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2310 Convert to defcustom.
2311
0c9e42b5
DA
23122012-06-12 Drew Adams <drew.adams@oracle.com>
2313
2314 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2315 New functions.
2316 (help-mode): Use them.
2317
09e06855
GM
23182012-06-11 Glenn Morris <rgm@gnu.org>
2319
2320 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2321 Use preprocessor face for directives.
2322 (fortran-directive-re): Doc fix.
2323
71adb94b
SM
23242012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2325
2eb87922
SM
2326 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2327 conversion to backquotes (bug#11652).
2328
71adb94b
SM
2329 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2330 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2331 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2332 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2333 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2334 (cl-ninth, cl-tenth): Mark them as inlinable.
2335 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2336 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2337 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2338 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2339 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2340 (cl-list*, cl-adjoin): Don't put an autoload manually.
2341 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2342 (cl--compiler-macro-list*): Add autoload cookie.
2343 (cl--compiler-macro-cXXr): New function.
2eb87922 2344
71adb94b
SM
2345 * help-fns.el (help-fns--compiler-macro): New function extracted from
2346 describe-function-1; follow aliases and use `compiler-macro' property.
2347 (describe-function-1): Use it.
2348
a6674402
CY
23492012-06-11 Chong Yidong <cyd@gnu.org>
2350
2351 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2352 is uninstalled, if imagemagick is installed.
2353
bb3faf5b
SM
23542012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2355
2356 * emacs-lisp/cl-lib.el: Use lexical-binding.
2357 (cl-map-extents, cl-maclisp-member): Remove.
2358 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2359 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2360 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2361 * emacs-lisp/cl-extra.el: Use lexical-binding.
2362 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2363 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2364 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2365 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2366 * emacs-lisp/cl-seq.el: Use lexical-binding.
2367 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2368 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2369 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2370 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2371 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2372 CL's internals.
2373
2fe4b125
MA
23742012-06-11 Michael Albinus <michael.albinus@gmx.de>
2375
2376 Sync with Tramp 2.2.6-pre.
2377
2378 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2379 `print-length' and `print-level' to nil, in order to avoid
2380 truncation. Reported by Christopher Schmidt
2381 <christopher@ristopher.com>.
2382
2383 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2384
2385 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2386 New defmacro.
2387 (tramp-compat-copy-directory): Add optional argument
2388 COPY-CONTENTS. It is not handled yet.
2389
2390 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2391 (tramp-ftp-file-name-p): Simplify.
2392
2393 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2394 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2395 connection vector.
2396
2397 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2398 (tramp-methods): Do not use `tramp-password-end-of-line'.
2399 (tramp-completion-function-alist-putty): Handle UNIX case.
2400 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2401 (tramp-do-file-attributes-with-stat)
2402 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2403 gid as real numbers. They could run out of integer range on cygwin.
2404 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2405 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2406 (tramp-open-connection-setup-interactive-shell):
2407 Use `tramp-cleanup'. Move check for busyboxes ...
2408 (tramp-find-shell): ... here. Simplify implementation.
2409 Set "remote-shell" property also for alternative shells.
2410 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2411 If failing, a regular file would be written otherwise.
2412 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2413 (tramp-find-inline-encoding): Cache the coding commands in the
2414 process cache. Apply test command on the remote side, if defined.
2415 (tramp-find-inline-compress): Cache the compress commands in the
2416 process cache.
2417 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2418 when requested. Handle hops.
2419 (tramp-current-connection): New defvar.
87e6e64f
DA
2420 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2421 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2422 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2423 (tramp-get-inline-compress, tramp-get-inline-coding):
2424 Read connection properties from the process cache.
2fe4b125
MA
2425
2426 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2427 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2428 New defconsts.
2fe4b125
MA
2429 (tramp-smb-prompt): Extend for powershell prompt.
2430 (tramp-smb-file-name-handler-alist): Add handlers for
2431 `process-file', `shell-command' and `start-file-process'.
2432 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2433 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2434 (tramp-smb-file-name-p): Simplify.
2435 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2436 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2437 (tramp-smb-shell-quote-argument): New defuns.
2438 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2439 Implement using "tar". By this, time-stamps are preserved.
2440 (tramp-smb-handle-copy-file): Handle also the case of directories.
2441 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2442 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2443 Use `tramp-get-connection-buffer').
2fe4b125
MA
2444 (tramp-smb-handle-rename-file): Use "rename", when source and
2445 target are on the same share.
87e6e64f
DA
2446 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2447 Use `tramp-smb-server-version'.
2fe4b125
MA
2448 (tramp-smb-wait-for-output): Remove prompt.
2449
2450 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2451 (tramp-methods, tramp-rsh-end-of-line):
2452 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2453 (tramp-save-ad-hoc-proxies): New defcustom.
2454 (tramp-completion-function-alist): Adapt docstring.
2455 (tramp-default-password-end-of-line): Remove defcustom.
2456 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2457 (tramp-user-regexp, tramp-file-name-regexp-unified)
2458 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2459 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2460 (tramp-remote-file-name-spec-regexp): New defconst.
2461 (tramp-file-name-structure): Extend structure for hops.
2462 (tramp-get-method-parameter): Move up.
2463 (tramp-file-name-p, tramp-dissect-file-name)
2464 (with-parsed-tramp-file-name): Handle hops.
2465 (tramp-file-name-hop): New defun.
2466 (tramp-make-tramp-file-name): New optional arg HOP.
2467 (tramp-message-show-progress-reporter-message): New defvar.
2468 (tramp-with-progress-reporter): Use it. We cannot use
2469 `tramp-message-show-message' here, because this suppresses also
2470 error buffers.
2471 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2472 `tramp-message-show-message' is nil.
2473 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2474 (tramp-cleanup): New defun.
2475 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2476 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2477 an error unchanged.
2478 (tramp-completion-handle-file-name-all-completions): Handle hops.
2479 Fix an error when called from ido.
2480 (tramp-completion-dissect-file-name): Use better local variable
2481 name. Add hop to the vector.
2482 (tramp-handle-insert-file-contents): Use progress-reporter for the
2483 whole scenario.
2484 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2485 to `t'.
2486 (tramp-check-for-regexp): Simplify search.
2487 (tramp-enter-password): Remove it. Move implementation ...
2488 (tramp-action-password): ... here.
2489 (tramp-mode-string-to-int, tramp-local-host-p)
2490 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2491 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2492 Set tramp-autoload cookie.
2fe4b125
MA
2493
2494 * net/trampver.el: Update release number.
2495
24962012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2497 Michael Albinus <michael.albinus@gmx.de>
2498
2499 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2500 (tramp-parse-group, tramp-parse-file)
2501 (tramp-parse-shostkeys-sknownhosts): New defuns.
2502 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2503 (tramp-parse-shosts-group, tramp-parse-sconfig)
2504 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2505 (tramp-parse-sknownhosts, tramp-parse-hosts)
2506 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2507 Use them.
2508 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2509 (tramp-parse-putty-group): Don't narrow.
2510 (tramp-parse-putty): Make a loop.
2511 (tramp-file-name-handler): Catch the `suppress' signal.
2512
72834e10
CY
25132012-06-11 Chong Yidong <cyd@gnu.org>
2514
2515 * image.el (imagemagick-register-types): Put the ImageMagick entry
2516 at the end of image-type-file-name-regexps.
2517
a4712e11
JB
25182012-06-11 Johan Bockgård <bojohan@gnu.org>
2519
2520 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2521 (pcase, pcase-let*, pcase-dolist): Use them.
2522
82ad98e3
SM
25232012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2524
2525 * emacs-lisp/pcase.el (pcase--let*): New function.
2526 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2527 (pcase--expand): Use macroexp-let².
2528
f80efb86
SM
25292012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2530
2531 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2532 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2533 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2534 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2535 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2536 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2537
31ca4639 25382012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2539
31ca4639
CY
2540 * mail/rmail.el (rmail-yank-current-message): Leave point at
2541 correct position. (Bug#11660)
94f0aa34 2542
31ca4639 25432012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2544
31ca4639 2545 * allout-widgets.el: Fix code header.
9e1b8ec4 2546
31ca4639 25472012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2548
f80efb86
SM
2549 * cus-edit.el (customize-changed-options-previous-release):
2550 Bump to 24.1.
31ca4639 2551
642b6d30
AS
25522012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2553
2554 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2555
4f5d2ba1
CY
25562012-06-09 Chong Yidong <cyd@gnu.org>
2557
2558 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2559
e75852fd
MR
25602012-06-09 Martin Rudalics <rudalics@gmx.at>
2561
2562 * window.el (special-display-popup-frame): Don't use
2563 window--display-buffer (Bug#11651).
2564
1e48e282
EZ
25652012-06-09 Eli Zaretskii <eliz@gnu.org>
2566
8a26b487
EZ
2567 Fix parallel builds: make sure loaddefs.el is not being written
2568 while Lisp files are compiled.
2569 (compile): Don't depend on 'mh-autoloads'.
2570 (compile-CMD, compile-SH): Depend on 'autoloads'.
2571 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2572
1e48e282
EZ
2573 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2574
6175e34b
CY
25752012-06-09 Chong Yidong <cyd@gnu.org>
2576
2577 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2578 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2579 Doc fixes (Bug#11225).
2580
d9857e53
SM
25812012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2582
2583 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2584 a function if there's a clear indication that it has a compiler-macro.
2585 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2586 (macro-declarations-alist): Add arglist to declaration functions.
2587 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2588 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2589 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2590 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2591 Also add autoload to find the compiler macro.
2592 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2593 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2594 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2595 (cl--compiler-macro-get): New functions, replacing calls to
2596 cl-define-compiler-macro.
2597 (cl-typep) [compiler-macro]: Use macroexp-let².
2598
f81298f8 25992012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2600
2601 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2602 string properly, fixes Bug#11473.
2603
4b56d0fe
CY
26042012-06-08 Chong Yidong <cyd@gnu.org>
2605
2606 * faces.el (set-face-attribute): Doc fix.
2607 (modify-face): Don't use :bold and :italic.
2608 (error, warning, success): Tweak definitions.
2609
2610 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2611 (custom-modified, custom-set, custom-changed, custom-themed)
2612 (custom-saved, custom-button, custom-button-mouse)
2613 (custom-button-pressed, custom-state, custom-comment-tag)
2614 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2615 (custom-group-subtitle): Use new-style face specs.
2616 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2617 (custom-set-face, custom-changed-face, custom-saved-face)
2618 (custom-button-face, custom-button-pressed-face)
2619 (custom-documentation-face, custom-state-face)
2620 (custom-comment-face, custom-comment-tag-face)
2621 (custom-variable-tag-face, custom-variable-button-face)
2622 (custom-face-tag-face, custom-group-tag-face-1)
2623 (custom-group-tag-face): Remove obsolete face alias.
2624
2625 * epa.el (epa-validity-high, epa-validity-medium)
2626 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2627 (epa-field-name, epa-field-body):
2628 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2629 (font-lock-keyword-face, font-lock-builtin-face)
2630 (font-lock-function-name-face, font-lock-variable-name-face)
2631 (font-lock-type-face, font-lock-constant-face):
2632 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2633 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2634 * speedbar.el (speedbar-button-face, speedbar-file-face)
2635 (speedbar-directory-face, speedbar-tag-face)
2636 (speedbar-selected-face, speedbar-highlight-face)
2637 (speedbar-separator-face):
2638 * whitespace.el (whitespace-newline, whitespace-space)
2639 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2640 (whitespace-line, whitespace-space-before-tab)
2641 (whitespace-space-after-tab, whitespace-indentation)
2642 (whitespace-empty):
2643 * emulation/cua-base.el (cua-global-mark):
2644 * eshell/em-prompt.el (eshell-prompt):
2645 * net/newst-plainview.el (newsticker-new-item-face)
2646 (newsticker-old-item-face, newsticker-immortal-item-face)
2647 (newsticker-obsolete-item-face, newsticker-date-face)
2648 (newsticker-statistics-face, newsticker-default-face):
2649 * net/newst-reader.el (newsticker-feed-face)
2650 (newsticker-extra-face, newsticker-enclosure-face):
2651 * net/newst-treeview.el (newsticker-treeview-face)
2652 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2653 (newsticker-treeview-immortal-face)
2654 (newsticker-treeview-obsolete-face)
2655 (newsticker-treeview-selection-face):
2656 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2657 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2658 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2659 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2660 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2661 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2662 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2663 (mpuz-text):
2664 * progmodes/vera-mode.el (vera-font-lock-number)
2665 (vera-font-lock-function, vera-font-lock-interface):
2666 * textmodes/table.el (table-cell): Use new-style face specs, and
2667 don't use the old :bold and :italic attributes.
2668
2669 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2670 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2671 (ebrowse-member-class, ebrowse-progress): Likewise.
2672 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2673 (ebrowse-file-name-face, ebrowse-default-face)
2674 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2675 (ebrowse-progress-face): Remove obsolete faces.
2676
2677 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2678 Inherit from error and warning faces respectively.
2679
2680 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2681 Likewise.
f80efb86
SM
2682 (flyspell-incorrect-face, flyspell-duplicate-face):
2683 Remove obsolete aliases.
4b56d0fe 2684
03310646
MA
26852012-06-08 Michael Albinus <michael.albinus@gmx.de>
2686
2687 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2688 Avoid infloop.
2689
513749ee
SM
26902012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2691
2692 * startup.el (argv, argi): Make lexically scoped.
2693 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2694 * emacs-lisp/cl-macs.el: Use lexical-binding.
2695 Rename cl-bind-* to cl--bind-*.
2696 * files.el: Don't require `cl' since it doesn't use it.
2697 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2698
595ef4ad
JB
26992012-06-08 Juanma Barranquero <lekktu@gmail.com>
2700
2701 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2702 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2703 instead of calling external sort utility.
2704 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2705
e9f66fcb
EZ
27062012-06-08 Eli Zaretskii <eliz@gnu.org>
2707
2708 * descr-text.el (describe-char): Mention how to insert the
2709 character, if the current input method doesn't support it.
2710 See the discussion in this thread for the details:
2711 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2712
3d10db47
SS
27132012-06-08 Sam Steingold <sds@gnu.org>
2714
2715 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2716 XF86Back to previous-buffer.
2717 (minibuffer-local-map): Bind them to next-history-element and
2718 previous-history-element respectively.
2719 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2720 help-go-back respectively.
2721 * info.el (Info-mode-map): Bind them to Info-history-forward and
2722 Info-history-back respectively.
2723 These are the keys next to Up on the ThinkPad keyboard.
2724
de7e2b36
SM
27252012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2726
2727 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2728 * emacs-lisp/cl-macs.el: Provide itself.
2729 (cl--labels-convert-cache): New var.
2730 (cl--labels-convert): New function.
2731 (cl-flet, cl-labels): New implementation with new semantics, relying on
2732 lexical-binding.
2733 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2734 (cl-closure-vars, cl--function-convert-cache)
2735 (cl--function-convert): Move from cl-macs.el.
2736 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2737 rename by removing the "cl-" prefix.
2738 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2739
6fa6c4ae
SM
27402012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2743 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2744 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2745 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2746 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2747 (cl-hash-table-count): Add old compatibility aliases.
2748
2749 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2750 Use macroexpand-all-environment instead.
2751 (cl--old-macroexpand): New var.
2752 (cl--sm-macroexpand): New function.
2753 (cl-symbol-macrolet): Use it during macro expansion.
2754 (cl--function-convert-cache): New var.
2755 (cl--function-convert): New function, extracted from
2756 cl-macroexpand-all.
2757 (cl-lexical-let): Use it.
2758
2759 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2760 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2761 (cl-member): Remove old alias.
2762
2763 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2764 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2765 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2766 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2767 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2768 (cl-macroexpand-cmacs): Remove var.
2769 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2770 Use macroexpand-all instead.
2771
4dd1c416
SM
27722012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2773
2774 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2775 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2776 (macroexp-copyable-p): New functions and macros.
2777 * emacs-lisp/edebug.el (edebug-unwrap):
2778 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2779 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2780 (pcase--let*): Remove.
2781 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2782 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2783 macroexp-const-p instead.
2784 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2785
2786 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2787 instead of "cl-" for internal definitions. Use macroexp-const-p.
2788 (cl-old-bc-file-form): Remove var.
2789 (cl-const-exprs-p): Remove fun.
2790 (cl-labels, cl-macrolet): Use backquote.
2791 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2792 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2793 (cl-define-setf-expander): Rename from cl-define-setf-method.
2794 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2795
2796 * international/mule-cmds.el: Don't require CL.
2797 (view-hello-file): Don't use `letf'.
2798
ed8bd4d7
SM
27992012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2800
7287f2f3
SM
2801 * tmm.el (tmm-prompt): Use string-prefix-p.
2802 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2803 (tmm-add-prompt): Use minibuffer-completion-help.
2804 (tmm-delete-map): Remove.
2805
ed8bd4d7
SM
2806 * subr.el (kbd): Make it its own function.
2807
7b4cdbf4
SM
28082012-06-07 Stefan Merten <smerten@oekonux.de>
2809
2810 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2811 Silence compiler warnings. Fix versions.
ed8bd4d7 2812 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2813 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2814 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2815 (rst-package-emacs-version-alist): Correct Emacs version to
2816 represent major merge with upstream.
ed8bd4d7 2817 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2818
2b48d721
GM
28192012-06-06 Glenn Morris <rgm@gnu.org>
2820
2821 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2822 Only print environment variables if set.
2823
fa779ab0
SM
28242012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2825
2826 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2827 (macroexp--cons): Rename from maybe-cons.
2828 (macroexp--accumulate): Rename from macroexp-accumulate.
2829 (macroexp--all-forms): Rename from macroexpand-all-forms.
2830 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2831 (macroexp--expand-all): Rename from macroexpand-all-1.
2832
628299e0
SS
28332012-06-06 Sam Steingold <sds@gnu.org>
2834
2835 * calendar/calendar.el (calendar-in-read-only-buffer):
2836 Call `special-mode' to enable the standard read-only keybindings.
2837
b7bb5838
SM
28382012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2839
2840 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2841 with "loading" messages (bug#11635).
2842
dfb308ba
MA
28432012-06-06 Michael Albinus <michael.albinus@gmx.de>
2844
2845 * files.el (enable-remote-dir-locals): New option.
2846 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2847
0372ee92
MA
2848 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2849 Ensure, that the temp directory is local.
2850
2851 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2852 `temporary-file-directory'.
2853
eed0bb91
MA
2854 * progmodes/python.el (python-send-region): Ensure, that the
2855 temporary file is created also in the remote case.
2856
7a58f64d
GM
28572012-06-06 Glenn Morris <rgm@gnu.org>
2858
f7dd4e98
GM
2859 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2860 (vc-rcs-update-changelog): Use it.
2861
090bd7cb 2862 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2863
7a58f64d
GM
2864 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2865 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2866 (vc-sccs-diff): Replace use of the external vcdiff script.
2867
daed4003
GM
28682012-06-05 Glenn Morris <rgm@gnu.org>
2869
2870 * ledit.el: Move to obsolete/.
2871
48c455c7
SS
28722012-06-05 Sam Steingold <sds@gnu.org>
2873
ed9265fc 2874 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2875 patch (Bug#11140).
2876
57a7d507
SM
28772012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2878
090bd7cb 2879 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2880
53aacf21
SM
2881 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2882 compiler-macro expansion.
2883
57a7d507
SM
2884 Add native compiler-macro support.
2885 * emacs-lisp/macroexp.el (macroexpand-all-1):
2886 Support compiler-macros directly. Properly follow aliases and apply
2887 the compiler macros more thoroughly.
2888 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2889 macroexpand now properly follows aliases.
2890 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2891 (cl-compiler-macroexpand): Use new prop.
2892 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2893
2894 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2895
51a5f9d8
MR
28962012-06-05 Martin Rudalics <rudalics@gmx.at>
2897
2898 * window.el (get-lru-window, get-mru-window, get-largest-window):
2899 New argument NOT-SELECTED to avoid picking the selected window.
2900 (window--display-buffer-1, window--display-buffer-2): Replace by
2901 new function window--display-buffer
2902 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2903 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2904 Use window--display-buffer.
51a5f9d8
MR
2905 (display-buffer-use-some-window): Remove temporary dedication
2906 hack by calling get-lru-window and get-largest-window with
2907 NOT-SELECTED argument non-nil. Call window--display-buffer.
2908
08f9f738
GM
29092012-06-05 Glenn Morris <rgm@gnu.org>
2910
2911 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2912 Replace external vcdiff script.
2913
e364a2b7
SM
29142012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2915
2916 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2917
041df390
CY
29182012-06-04 Chong Yidong <cyd@gnu.org>
2919
e364a2b7
SM
2920 * image.el (imagemagick-types-inhibit): Revert last change.
2921 Add INFO and M.
47b36b94 2922 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2923
7c1898a7
SM
29242012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2925
2926 * emacs-lisp/cl-lib.el: Rename from cl.el.
2927 * emacs-lisp/cl.el: New compatibility file.
2928 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2929 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2930 to obey the "cl-" prefix.
2931 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2932
0c3461de
GM
29332012-06-03 Glenn Morris <rgm@gnu.org>
2934
1e266c88
GM
2935 * emacs-lisp/authors.el (authors-aliases): Addition.
2936
0c3461de
GM
2937 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2938 Fix :version.
2939
d8a52e15
SM
29402012-06-03 Stefan Merten <smerten@oekonux.de>
2941
2942 * textmodes/rst.el: Add comments.
2943 (rst-transition, rst-adornment): New faces.
2944 (rst-adornment-faces-alist): Make default safe to reevaluate.
2945 Fixes
2946 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2947 Improve customization tags.
2948 (rst-define-level-faces): Clarify meaning.
2949
5205d6f6
CY
29502012-06-03 Chong Yidong <cyd@gnu.org>
2951
2952 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2953 (compilation-mode-line-run, compilation-mode-line-exit):
2954 New faces.
5205d6f6
CY
2955 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2956
757ee657
JD
29572012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2958
7c1898a7
SM
2959 * progmodes/which-func.el (which-func-update-ediff-windows):
2960 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2961
5f2c76c6
CY
29622012-06-03 Chong Yidong <cyd@gnu.org>
2963
2964 * bindings.el: Remove explicit help text from format-mode-line.
2965 It is now supplied by mode-line-default-help-echo.
2966 (mode-line-front-space, mode-line-end-spaces)
2967 (mode-line-misc-info): New variables.
2968 (mode-line-modes, mode-line-position): Move the default value to
2969 the variable definition.
2970 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2971 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2972 (mode-line-modified-help-echo): New functions.
2973 (mode-line-mule-info, mode-line-modified): Use them.
2974 (mode-line-eol-desc, propertized-buffer-identification):
2975 Consistency fixes for help text.
cbe46e5f
CY
2976 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2977 set-buffer-file-coding-system (Bug#289).
2978 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2979
f2d6a3df
SM
29802012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2981
2982 * simple.el (execute-extended-command): Set real-this-command
2983 (bug#11506).
2984
37269466
CY
29852012-06-02 Chong Yidong <cyd@gnu.org>
2986
2987 Remove incorrect uses of "modeline" in comments, docstrings, and
2988 function/variable names (Bug#10329).
2989
2990 * cus-edit.el (mode-line):
2991 * dframe.el (dframe-mouse-hscroll):
2992 * emacs-lisp/re-builder.el:
2993 * emacs-lisp/easy-mmode.el (define-minor-mode):
2994 * frame.el (set-frame-name):
2995 * help.el (lookup-minor-mode-from-indicator):
2996 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2997 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2998 (c-toggle-hungry-state):
2999 * progmodes/antlr-mode.el (antlr-language-alist):
3000 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3001 * progmodes/vhdl-mode.el (vhdl-mode):
3002 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3003 * term/ns-win.el (ns-face-at-pos):
3004 * term/sup-mouse.el (sup-mouse-report):
3005 * textmodes/flyspell.el (flyspell-mode-line-string):
3006 * textmodes/ispell.el (ispell-highlight-face):
3007 * textmodes/reftex-global.el:
3008 * vc/vc-arch.el (vc-arch-mode-line-string):
3009 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3010 * vc/vc-git.el (vc-git-mode-line-string):
3011 * vc/vc-hooks.el (vc-display-status)
3012 (vc-default-mode-line-string):
3013 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3014
3015 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3016
3017 * dired.el (dired-sort-set-mode-line): Rename from
3018 dired-sort-set-modeline. All callers changed.
3019
3020 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3021 eshell-status-in-modeline.
3022
3023 * foldout.el (foldout-mode-line-string): Rename from
3024 foldout-modeline-string. All callers changed.
3025 (foldout-update-mode-line): Rename from foldout-update-modeline.
3026
3027 * subr.el (redraw-modeline): Make into obsolete alias.
3028
3029 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3030 timeclock-modeline-display. Make old name an alias.
3031 (timeclock-update-mode-line): Likewise. All callers changed.
3032 (timeclock-mode-line-display): No need to check before using
3033 add-hook.
3034 (timeclock-relative, timeclock-day-over-hook)
3035 (timeclock-use-elapsed, timeclock-mode-string)
3036 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3037
3038 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3039 crisp-mode-modeline-string.
3040
3041 * play/solitaire.el (solitaire-build-mode-line): Rename from
3042 solitaire-build-modeline. All callers changed.
3043
3044 * play/zone.el (zone-hiding-mode-line): Rename from
3045 zone-hiding-modeline. All callers changed.
3046 (zone): Remove unusued `modeline-hidden-level' property.
3047
3048 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3049 xscheme-modeline-initialize. All callers changed.
3050
3051 * strokes.el (strokes-lighter): Rename from
3052 strokes-modeline-string.
3053
3054 * textmodes/sgml-mode.el (html-face-tag-alist)
3055 (html-tag-face-alist): Use mode-line face instead of obsolete
3056 alias modeline.
3057
42152ee4
SM
30582012-06-02 Stefan Merten <smerten@oekonux.de>
3059
3060 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3061 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3062
95f520b5
CY
30632012-06-02 Chong Yidong <cyd@gnu.org>
3064
3065 * image.el (imagemagick-enabled-types): Rename from
3066 imagemagick-types-enable. Add many more types.
3067 (imagemagick-types-inhibit): Change default to nil.
3068 (imagemagick-filter-types): Caller changed.
3069
4a5f187a
SM
30702012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3071
03fef3e6
SM
3072 * emacs-lisp/cl-macs.el: Use backquotes.
3073 (cl-transform-function-property): Use eval-and-compile rather than
3074 abusing `require'.
3075 (defstruct): Use declare-function instead of with-no-warnings.
3076
4a5f187a
SM
3077 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3078 (byte-compile-output-docform): Re-add the print-circle bindings.
3079 (byte-compile-fix-header): Use #$ just because it's shorter.
3080 (byte-compile-output-file-form): Remove defun/defmacro.
3081
bd56924f
MR
30822012-06-01 Martin Rudalics <rudalics@gmx.at>
3083
3084 * simple.el (choose-completion): Remove now obsolete binding for
3085 owindow.
3086
046e38ce
MA
30872012-06-01 Michael Albinus <michael.albinus@gmx.de>
3088
3089 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3090 in order to avoid "Stack overflow in regexp matcher".
3091
32d72c2f
GM
30922012-05-31 Glenn Morris <rgm@gnu.org>
3093
3094 * image.el: For clarity, call imagemagick-register-types at
3095 top-level, rather than relying on a custom :initialize.
3096 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3097 (imagemagick-filter-types): New function. (Bug#7406)
3098 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3099 If disabling support, remove elements altogether rather
3100 than using an impossible regexp.
3101 (imagemagick-types-inhibit): Give it the default init function.
3102
dd41169b
SM
31032012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3104
4a5f187a
SM
3105 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3106 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3107
efc00ab1 31082012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3109
3110 * desktop.el (desktop-read): Clear previous and next buffers for
3111 all windows and bury *Messages* buffer (bug#11556).
3112
500fcedc
SM
31132012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3114
3115 Add `declare' for `defun'. Align `defmacro's with it.
3116 * emacs-lisp/easy-mmode.el (define-minor-mode)
3117 (define-globalized-minor-mode): Don't autoload the var definitions.
3118 * emacs-lisp/byte-run.el: Use lexical-binding.
3119 (defun-declarations-alist, macro-declarations-alist): New vars.
3120 (defmacro, defun): Use them.
3121 (make-obsolete, define-obsolete-function-alias)
3122 (make-obsolete-variable, define-obsolete-variable-alias):
3123 Use `declare'.
3124 (macro-declaration-function): Mark obsolete.
3125 * emacs-lisp/autoload.el: Use lexical-binding.
3126 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3127
6e8a1786
AM
31282012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3129
3130 * textmodes/ispell.el (ispell-with-no-warnings):
3131 Define as a macro.
500fcedc
SM
3132 (ispell-kill-ispell, ispell-change-dictionary):
3133 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3134 `interactive-p'.
3135
61b108cc
SM
31362012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3137
3138 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3139 (macro-declaration-function): Move var from C code.
3140 (macro-declaration-function): Define function with defalias.
3141 * emacs-lisp/macroexp.el (macroexpand-all-1):
3142 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3143 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3144 defun/defmacro any more.
3145 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3146 Provide fallback for unknown arglist.
3147 (byte-compile-arglist-warn): Change calling convention.
3148 (byte-compile-output-file-form): Move print-vars binding.
3149 (byte-compile-output-docform): Simplify accordingly.
3150 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3151 (byte-compile-defmacro-declaration): Remove.
3152 (byte-compile-file-form-defmumble): Generalize to defalias.
3153 (byte-compile-output-as-comment): Return byte-positions.
3154 Simplify callers accordingly.
3155 (byte-compile-lambda): Use `assert'.
3156 (byte-compile-defun, byte-compile-defmacro): Remove.
3157 (byte-compile-file-form-defalias):
3158 Use byte-compile-file-form-defmumble.
3159 (byte-compile-defalias-warn): Remove.
3160
6d3f7c2f
SM
31612012-05-29 Stefan Merten <smerten@oekonux.de>
3162
3163 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3164 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3165
3166 (rst-mode-abbrev-table): Merge definition.
3167 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3168 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3169
6dbaa1c7
UJ
31702012-05-29 Ulf Jasper <ulf.jasper@web.de>
3171
3172 * calendar/icalendar.el
3173 (icalendar-export-region): Export UID properly.
3174
d209e2fb 31752012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3176 * calendar/icalendar.el (icalendar-import-format):
3177 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3178 (icalendar-import-format-uid): New.
3179 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3180 Export UID.
3181
6876a58d
SM
31822012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3183
3184 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3185 different alternative patterns.
3186 (pcase-codegen): Be more careful to preserve identity.
3187 (pcase--u1): Don't forget to mark vars as used.
3188
3189 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3190 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3191 (byte-compile-from-buffer): ...rather than here.
3192
3193 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3194 functions from byte-compile-function-environment.
3195
46b7967e
TN
31962012-05-29 Troels Nielsen <bn.troels@gmail.com>
3197
3198 * window.el (window-deletable-p): Avoid deleting the root window
3199 of a frame with an active minibuffer.
3200
69d565e2
MR
32012012-05-29 Martin Rudalics <rudalics@gmx.at>
3202
3203 * simple.el (choose-completion): Use quit-window (Bug#11567).
3204
a149fa51
CY
32052012-05-29 Chong Yidong <cyd@gnu.org>
3206
3207 * whitespace.el (whitespace-cleanup): Fix usage of
3208 whitespace-empty-at-bob-regexp (Bug#11492).
3209
2b311310
AH
32102012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3211
3212 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3213 revert (Bug#11488).
3214
b9cb2387
JL
32152012-05-29 Juri Linkov <juri@jurta.org>
3216
3217 * isearch.el (isearch-mode-map): Bind `M-s _' to
3218 `isearch-toggle-symbol'. Bind `M-s c' to
3219 `isearch-toggle-case-fold'.
3220 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3221 (isearch-forward): Add `M-s _' to the docstring.
3222 (isearch-forward-symbol, isearch-toggle-case-fold)
3223 (isearch-symbol-regexp): New functions. (Bug#11381)
3224
d5e61c1c
JL
32252012-05-29 Juri Linkov <juri@jurta.org>
3226
3227 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3228 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3229 a function, call it to get the regexp.
3230 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3231 property `isearch-message-prefix' instead of the string "word ".
3232 (isearch-search-fun-default): For the case of `isearch-word',
3233 return a lambda that calls re-search-forward/re-search-backward
3234 with a regexp returned by `word-search-regexp' or by the function
3235 in `isearch-word'.
3236
8cbd80f7
JL
32372012-05-29 Juri Linkov <juri@jurta.org>
3238
3239 * isearch.el (isearch-search-fun-default): New function.
3240 (isearch-search-fun): Move default part to the new function
3241 `isearch-search-fun-default'.
3242 (isearch-search-fun-function): Set the default value to
3243 `isearch-search-fun-default'. (Bug#11381)
3244
3245 * comint.el (comint-history-isearch-end):
3246 Use `isearch-search-fun-default'.
3247 (comint-history-isearch-search): Use `isearch-search-fun-default'
3248 and remove spacial case for `isearch-word'.
3249 (comint-history-isearch-wrap): Remove spacial case for
3250 `isearch-word'.
3251
3252 * hexl.el (hexl-isearch-search-function):
3253 Use `isearch-search-fun-default'.
3254
3255 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3256 Use `word-search-regexp' for `isearch-word'.
3257
3258 * misearch.el (multi-isearch-search-fun):
3259 Use `isearch-search-fun-default'.
3260
3261 * simple.el (minibuffer-history-isearch-search):
3262 Use `isearch-search-fun-default' and remove spacial case for
3263 `isearch-word'.
3264 (minibuffer-history-isearch-wrap): Remove spacial case for
3265 `isearch-word'.
3266
3267 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3268 Remove spacial case for `isearch-word'.
3269 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3270
85c8c5b6
AM
32712012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3272
3273 Decrease XEmacs incompatibilities.
3274 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3275 Use `string-match'.
3276 (flyspell-delete-region-overlays): Use alternative definition for
3277 XEmacs.
3278 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3279 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3280 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3281 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3282 `define-obsolete-face-alias' under XEmacs, but old method.
3283
3284 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3285 `with-no-warnings' definition or Emacs alias.
3286 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3287 (ispell-word): Do not use `region-p' if XEmacs.
3288
8cab9efc
AM
32892012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3290
3291 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3292 Check for `ispell-dictionary-base-alist' instead of full
3293 `ispell-dictionary-alist'.
3294 (ispell-init-process): Show spellchecker when starting new Ispell
3295 process.
3296
fda91268
RZ
32972012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3298
3299 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3300 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3301
694ea8e3
JB
33022012-05-27 Juanma Barranquero <lekktu@gmail.com>
3303
3304 * version.el (motif-version-string, gtk-version-string)
3305 (ns-version-string): Declare.
3306
e4d4f539
JL
33072012-05-27 Juri Linkov <juri@jurta.org>
3308
3309 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3310 after the `eval-defun-1' specialcaseing
3311 like in `edebug-eval-defun' (bug#10181).
3312
3313 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3314 like in `eval-defun-1'.
3315
33017faf 33162012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3317
fda91268
RZ
3318 * mail/sendmail.el (mail-yank-region):
3319 Recognize rmail-yank-current-message in addition to insert-buffer.
3320 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3321 a *mail* buffer created through rmail-start-mail with sendmail as
3322 mail-user-agent.
3323
33017faf
GM
33242012-05-27 Chong Yidong <cyd@gnu.org>
3325
3326 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3327 Default to 256 (Bug#11267).
3328
3329 * help.el (describe-mode): Doc fix.
3330
04188bb9
GM
33312012-05-26 Glenn Morris <rgm@gnu.org>
3332
38264cc9
GM
3333 * w32-fns.el (w32-init-info): Remove.
3334 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3335
eb7afdad
GM
3336 * info.el (info-initialize): For self-contained NS builds, put the
3337 included info/ directory at the front. (Bug#2791)
3338
04188bb9
GM
3339 * paths.el (Info-default-directory-list): Make it a defcustom,
3340 mainly so that we can use custom-initialize-delay.
3341
a179e3f7
SM
33422012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3343
43416392
SM
3344 * subr.el (buffer-has-markers-at): Mark obsolete.
3345
a179e3f7 3346 * subr.el (lambda): Use declare.
43416392 3347
a179e3f7
SM
3348 * emacs-lisp/lisp-mode.el (lambda):
3349 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3350
34a008d9
AH
33512012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3352
3353 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3354
0a3b289f
GM
33552012-05-26 Glenn Morris <rgm@gnu.org>
3356
3357 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3358
758c81e8
GM
33592012-05-25 Glenn Morris <rgm@gnu.org>
3360
f9f334f0
GM
3361 * paths.el: Remove no-byte-compile.
3362 * loadup.el: No need to load paths.el uncompiled.
3363
87eb79c2
GM
3364 * image.el (imagemagick-types-inhibit): Doc fix.
3365
758c81e8
GM
3366 * version.el: Remove no-byte-compile and associated formatting.
3367 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3368 is ancient code from when there was an "inc-vers.el".
3369
e7e85dc0
SM
33702012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3371
3372 * progmodes/gdb-mi.el: Minor style changes.
3373 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3374 Turn into minor modes.
3375 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3376 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3377 (gdb-shell): Remove unneeded let-binding.
3378 (gdb-get-many-fields): Eliminate O(n²) behavior.
3379
f31237a4
EZ
33802012-05-25 Eli Zaretskii <eliz@gnu.org>
3381
3382 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3383 platforms that don't link in fontset.c.
3384
bc1b21bb
JL
33852012-05-25 Juri Linkov <juri@jurta.org>
3386
3387 Use the same diff color scheme as in modern VCSes (bug#10181).
3388
3389 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3390 to avoid confusion with `diff-added' that now uses green colors.
3391 (diff-removed): Use shades of red.
3392 (diff-added): Use shades of green.
3393 (diff-changed): Leave just the yellow color.
3394 (diff-use-changed-face): New variable.
3395 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3396 how to highlight context diff changes.
3397 (diff-refine-change): Use shades of yellow.
3398 (diff-refine-removed): New face that uses shades of red.
3399 (diff-refine-added): New face that uses shades of green.
3400 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3401 `diff-refine-removed' in the call to `smerge-refine-subst'
3402 depending on the value of `diff-use-changed-face'.
3403
3404 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3405 (smerge-other): Use shades of green.
3406 (smerge-base): Use shades of yellow.
3407 (smerge-refined-change): Empty face.
3408 (smerge-refined-removed): New face that uses shades of red.
3409 (smerge-refined-added): New face that uses shades of green.
3410 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3411 args `props-r' and `props-a', and use them. Doc fix.
3412 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3413 on its value use different faces `smerge-refined-change',
3414 `smerge-refined-removed', `smerge-refined-added' in the call to
3415 `smerge-refine-subst'.
3416
3417 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3418 Add face condition `min-colors 88' with shades of red.
3419 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3420 `min-colors 88' with shades of green.
3421 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3422 `min-colors 88' with shades of yellow.
3423
6df9112c
GM
34242012-05-24 Glenn Morris <rgm@gnu.org>
3425
ead5edc0
GM
3426 * paths.el (prune-directory-list, remote-shell-program): Move to...
3427 * files.el (prune-directory-list, remote-shell-program): ...here.
3428 For the latter, delay initialization, prefer ssh, just search PATH.
3429
f18b81e6
GM
3430 * paths.el (term-file-prefix): Move to faces.el (the only user).
3431 * faces.el (term-file-prefix): Move here, make it a defcustom.
3432
ee2f89a6
GM
3433 * paths.el (news-directory, news-path, news-inews-program):
3434 Move to gnus/nnspool.el.
61a583ca 3435
f8815e4c
GM
3436 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3437
c8f3b42c
GM
3438 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3439 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3440 Make the latter a defcustom, with a delayed initialization.
3441
6df9112c
GM
3442 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3443 These were deleted from Gnus itself late 2010.
3444
5dadff36
JB
34452012-05-22 Juanma Barranquero <lekktu@gmail.com>
3446
9e1701c6
JB
3447 * progmodes/which-func.el (which-func-ff-hook):
3448 Check against user-error, not error.
3449
bd7239f5 3450 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3451 cl-specs.el, which no longer exists.
3452
3290526d
GM
34532012-05-22 Glenn Morris <rgm@gnu.org>
3454
3455 * info.el (info-emacs-bug): New command.
3456 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3457 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3458
ff0c3cfb
GM
34592012-05-21 Glenn Morris <rgm@gnu.org>
3460
3461 * makefile.w32-in (update-subdirs-SH):
3462 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3463
5814f126
SM
34642012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3465
a52c0aa0
SM
3466 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3467
5814f126
SM
3468 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3469 Simplify Maven regexp, and make sure the file can't start with a space
3470 (bug#11517).
3471
b847032c
GM
34722012-05-21 Glenn Morris <rgm@gnu.org>
3473
3474 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3475 Scrap superfluous subshells.
3476
3858bfe7
SM
34772012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3478
3479 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3480 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3481
d14b0029
JB
34822012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3483
3484 * calc/calc.el (calc-ensure-consistent-units): New variable.
3485
a52c0aa0
SM
3486 * calc/calc-units.el (math-consistent-units-p)
3487 (math-check-unit-consistency): New functions.
3488 (calc-quick-units, calc-convert-units):
3489 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3490 is non-nil.
d14b0029
JB
3491 (calc-extract-units): Fix typo.
3492
60c4db3a
SM
34932012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3494
77f3b62e
SM
3495 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3496
60c4db3a
SM
3497 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3498 (flyspell-default-deplacement-commands): Don't spell check after
3499 repeated window/frame switches (e.g. triggered by mouse-movement).
3500 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3501 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3502 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3503 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3504 Remove unused vars.
3505 (flyspell-get-casechars, flyspell-get-not-casechars):
3506 Simplify; Don't bother removing a ] just to add it back.
3507 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3508
d209e2fb 35092012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3510
3511 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3512 New functions.
bd7239f5 3513 (math-function-table): Add support for more C functions.
b1a10716 3514
3f1b25b5
AM
35152012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3516
090bd7cb
JB
3517 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3518 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3519 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3520
b581bb5c
SM
35212012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3524 their respective macro declarations.
3525 * skeleton.el (define-skeleton):
3526 * progmodes/compile.el (define-compilation-mode):
3527 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3528 (define-ibuffer-filter):
3529 * emacs-lisp/generic.el (define-generic-mode):
3530 * emacs-lisp/easy-mmode.el (define-minor-mode)
3531 (define-globalized-minor-mode):
3532 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3533 * emacs-lisp/byte-run.el (defsubst):
3534 * custom.el (deftheme): Add doc-string metadata.
3535
70b8ef8f
SM
35362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3539
b1198e17
SM
35402012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3541
9abdc45d
SM
3542 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3543
b1198e17
SM
3544 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3545 * emacs-lisp/cl-macs.el: Idem.
3546 * emacs-lisp/cl-specs.el: Remove.
3547
4735906a
SM
35482012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3549
3550 Minor renaming of internal CL functions and variables.
3551 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3552 (cl--position): Rename from cl-position.
3553 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3554 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3555 (cl--random-state): Rename from *random-state*.
3556
ac348012
SM
35572012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3558
3559 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3560 parens around the arg list (bug#11499).
3561
a0a79cde
JL
35622012-05-17 Juri Linkov <juri@jurta.org>
3563
3564 * isearch.el (word-search-regexp, word-search-backward)
3565 (word-search-forward, word-search-backward-lax)
3566 (word-search-forward-lax): Move functions from search.c
3567 (bug#10145, bug#11381).
3568
65034a51
AM
35692012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3570
090bd7cb
JB
3571 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3572 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3573 Delay for otherchars as for normal word components.
65034a51 3574
1a72a195
SM
35752012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3576
3577 * minibuffer.el (completion--sifn-requote): Fix last change.
3578 (minibuffer-local-must-match-filename-map):
3579 Move define-obsolete-variable-alias before its var.
3580
fdb058c2
SM
35812012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3582
c41045e6
SM
3583 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3584
036dfb8b
SM
3585 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3586 behavior.
3587 (completion--string-equal-p): New function.
3588 (completion--twq-all): Use it to get better assertion failure data.
3589
2473256d
SM
3590 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3591 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3592 (shell--requote-argument): New functions.
3593 (shell-completion-vars): Use them.
3594 (shell--parse-pcomplete-arguments): Rename from
3595 shell-parse-pcomplete-arguments.
3596 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3597 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3598 Obey comint-file-name-quote-list.
3599
fdb058c2
SM
3600 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3601 (smie-indent-keyword): Use it.
3602
51fa99f1
SM
36032012-05-14 Stefan Merten <smerten@oekonux.de>
3604
3605 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3606
e18afed7 36072012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3608
3609 * net/rlogin.el (rlogin-mode-map): Fix last change.
3610
e18afed7 36112012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3612
3613 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3614 the following \r\n using a single `process-send-string', since the
3615 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3616 with two `process-send-string's (Bug#11444).
8633b1f4 3617
e18afed7 36182012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3619
fdb058c2
SM
3620 * shell.el (shell-parse-pcomplete-arguments):
3621 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3622
2d21d7f6
WJ
36232012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3624
e18afed7 3625 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3626 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3627 (image-transform-width, image-transform-fit-width): New functions.
3628 (image-transform-properties): Use them.
3629 (image-transform-check-size): New function.
3630 (image-toggle-display-image): Use it (for testing).
3631 (image-transform-set-rotation): Reduce angle mod 360.
3632 Delete obsolete comment.
3633
7102e6d0
WJ
36342012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3635
3636 * image-mode.el: Fix scaling (bug#11399).
3637 (image-transform-resize): Doc fix.
3638 (image-transform-properties): Default scale is 1 and height should
3639 be an integer.
3640
06bc5e6e
SM
36412012-05-13 Johan Bockgård <bojohan@gnu.org>
3642
3643 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3644 than hard-coding `car', to fix misbehavior when moving forward.
3645
0ae03b6a
CY
36462012-05-13 Chong Yidong <cyd@gnu.org>
3647
3648 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3649 (tabulated-list-entries, tabulated-list-padding)
3650 (tabulated-list-sort-key): Make permanent-local.
3651
3652 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3653 (electric-buffer-list): Put electric buffer menu
3654 command descriptions in this docstring, instead of the docstring
3655 of electric-buffer-menu-mode. Code cleanups.
3656 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3657 Electric-buffer-menu-mode.
3658 (electric-buffer-update-highlight): Minor code cleanup.
3659
205a7391
MA
36602012-05-13 Michael Albinus <michael.albinus@gmx.de>
3661
3662 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3663 (Bug#11447)
3664
e5bd0a28
SM
36652012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3666
3667 Move define-obsolete-variable-alias before the var's definition.
3668 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3669 * tooltip.el (tooltip-hook):
3670 * textmodes/reftex-toc.el (reftex-toc-map):
3671 * textmodes/reftex-sel.el (reftex-select-label-map)
3672 (reftex-select-bib-map):
3673 * textmodes/reftex-index.el (reftex-index-map)
3674 (reftex-index-phrases-map):
3675 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3676 * progmodes/meta-mode.el (meta-mode-map):
3677 * novice.el (disabled-command-hook):
3678 * loadhist.el (unload-hook-features-list):
3679 * frame.el (blink-cursor):
3680 * files.el (find-file-not-found-hooks, write-file-hooks)
3681 (write-contents-hooks):
3682 * emulation/tpu-edt.el (GOLD-map):
3683 * emacs-lock.el (emacs-lock-from-exiting):
3684 * emacs-lisp/generic.el (generic-font-lock-defaults):
3685 * emacs-lisp/chart.el (chart-map):
3686 * dos-fns.el (register-name-alist):
3687 * dired-x.el (dired-omit-files-p):
3688 * desktop.el (desktop-enable):
3689 * cus-edit.el (custom-mode-hook):
3690 * buff-menu.el (buffer-menu-mode-hook):
3691 * bookmark.el (bookmark-read-annotation-text-func)
3692 (bookmark-exit-hooks):
3693 * allout.el (allout-mode-deactivate-hook)
3694 (allout-exposure-change-hook, allout-structure-added-hook)
3695 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3696 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3697 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3698 comes before the corresponding variable's definition.
3699
ac59c2f6
CY
37002012-05-12 Chong Yidong <cyd@gnu.org>
3701
3702 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3703 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3704 (Buffer-menu-mode-map): Bind it.
3705 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3706
dee6c9a3
SM
37072012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3708
2171cea5
SM
3709 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3710 (prolog-upper-case-string, prolog-lower-case-string)
3711 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3712 (prolog-use-smie, prolog-smie-grammar): New vars.
3713 (prolog-smie-forward-token, prolog-smie-backward-token)
3714 (prolog-smie-rules): New funs.
3715 (prolog-comment-indent): Remove.
3716 (prolog-mode-variables): Use default comment indentation instead.
3717 Setup SMIE.
3718 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3719 (prolog-mode): Don't call them any more.
3720 (prolog-electric-colon, prolog-electric-dash)
3721 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3722
aa0382bd
SM
3723 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3724
dbacb4bd
SM
3725 * minibuffer.el (completion--twq-all): Again, allow case differences.
3726
13bdd94c
SM
3727 * term.el: Move keymap initialization code to be more idiomatic.
3728 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3729 (term-terminal-menu): Move initialization into declaration.
3730 (term-escape-char): Let the user set it in her .emacs.
3731
ff46c759
SM
3732 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3733 Provide SMIE-based indentation (not enabled by default yet).
3734 (sh-mode-map): Don't bind electric keys.
3735 Use electric-pair-mode instead of skeleton-pair.
3736 (sh-assignment-regexp): Fit within 80 columns.
3737 (sh-indent-supported): Specify actual shell name instead of boolean.
3738 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3739 (sh-maybe-here-document): Use it. Make obsolete.
3740 (sh-electric-here-document-mode) New minor mode.
3741 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3742 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3743 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3744 (sh-smie-rc-grammar, sh-use-smie): New vars.
3745 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3746 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3747 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3748 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3749 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3750 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3751 (sh-set-shell): Use smie-setup if requested.
3752
dee6c9a3
SM
3753 * term.el (term-set-escape-char): Properly set term-escape-char.
3754 See http://stackoverflow.com/questions/10524656.
3755
9f9aa044
CY
37562012-05-10 Chong Yidong <cyd@gnu.org>
3757
3758 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3759 Use url-generic-parse-url, and handle host names and Windows
3760 filenames properly.
3761 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3762 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3763 URL schemes to work on.
3764 (ffap--toggle-read-only): New function.
3765 (ffap-read-only, ffap-read-only-other-window)
3766 (ffap-read-only-other-frame): Use it.
3767 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3768 necessary for ffap-url-unwrap-remote.
3769
836d29b3
DA
37702012-05-10 Dave Abrahams <dave@boostpro.com>
3771
3772 * cus-start.el (create-lockfiles): Add it.
3773
00fd78ed
CY
37742012-05-09 Chong Yidong <cyd@gnu.org>
3775
3776 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3777 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3778
666b903b 37792012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3780
3781 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3782
666b903b 37832012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3784
3785 * ansi-color.el (ansi-color-process-output): Check for validity of
3786 comint-last-output-start before using it. This avoids a bad
3787 interaction with gdb-mi's input/output buffer.
3788
666b903b 37892012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3790
3791 * files.el (dir-locals-read-from-file):
3792 Mention dir-locals in any error message.
3793
666b903b 37942012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3795
3796 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3797 package (Bug#11410).
3798
f677562b
CY
3799 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3800 variables into description.
3801
666b903b 38022012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3803
3804 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3805 shell-delimiter-argument-list (bug#11348).
3806 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3807
b499d8d0
JB
38082012-05-09 Juanma Barranquero <lekktu@gmail.com>
3809
8f6b6da8
JB
3810 * textmodes/rst.el: Silence byte-compiler warnings.
3811 (rst-re-alist, rst-reset-section-caches): Move around.
3812 (rst-re): Use `characterp', not `char-valid-p'.
3813 (font-lock-beg, font-lock-end): Declare.
3814
4824146a
JB
3815 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3816 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3817
b499d8d0
JB
3818 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3819
ad89bb83
GM
38202012-05-08 Glenn Morris <rgm@gnu.org>
3821
3822 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3823
8bba5a75
SM
38242012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3825
49ed9c8e
SM
3826 * vc/log-edit.el: Add GNU coding standards highlighting.
3827 (log-edit-font-lock-gnu-style)
3828 (log-edit-font-lock-gnu-keywords): New vars.
3829 (log-edit-font-lock-keywords): New fun.
3830 (log-edit-mode): Don't fold case in font-lock.
3831 (log-edit-font-lock-keywords): Do not assume case-folding.
3832
07d00b56
SM
3833 * imenu.el: Misc cleanup. Make docstrings out of comments.
3834 Use lexical-binding.
3835 (imenu--index-alist, imenu--last-menubar-index-alist)
3836 (imenu-menubar-modified-tick): Use defvar-local.
3837 (imenu--split-menu): Remove unused var.
3838 (imenu--cleanup-seen): Declare as global.
3839 (imenu--cleanup): Use dolist.
3840
8bba5a75
SM
3841 * subr.el (defvar-local): Add debug spec and doc-string position.
3842
5075bdb5
GM
38432012-05-08 Glenn Morris <rgm@gnu.org>
3844
090bd7cb 3845 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3846 * language/english.el, language/georgian.el, language/greek.el:
3847 * language/japanese.el, language/khmer.el, language/korean.el:
3848 * language/lao.el, language/misc-lang.el, language/romanian.el:
3849 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3850 * language/thai.el, language/utf-8-lang.el:
3851 Remove no-byte-compile setting.
3852
5075bdb5
GM
3853 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3854
06f679a7
AH
38552012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3856
3857 * progmodes/make-mode.el (makefile-browse):
3858 Remove unnecessary interactive. (Bug#11324)
3859
03794570
GM
38602012-05-07 Glenn Morris <rgm@gnu.org>
3861
af8630f4
GM
3862 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3863
03794570
GM
3864 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3865
f0809a9d
SM
38662012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3867
28be5ce7
SM
3868 * loadup.el: Preload newcomment.el.
3869 * newcomment.el: Move autoload-only code to toplevel.
3870
f0809a9d
SM
3871 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3872 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3873 Handle new :right-align column property.
3874 (tabulated-list-print-col): Idem, plus use `display' text-property to
3875 try and preserve alignment for variable pitch fonts.
3876
1241b724
CY
38772012-05-07 Chong Yidong <cyd@gnu.org>
3878
3879 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3880 (tabulated-list-use-header-line): New var.
3881 (tabulated-list-init-header): Use it.
3882 (tabulated-list-print-fake-header): New function.
3883 (tabulated-list-print): Use it.
3884 (tabulated-list-sort-button-map): Add non-header-line commands.
3885 (tabulated-list-init-header): Add column name property to basic
3886 labels as well.
3887 (tabulated-list-col-sort): Handle non-header-line button case.
3888 (tabulated-list--sort-by-column-name): Fix a corner case.
3889
f0809a9d
SM
3890 * buff-menu.el (list-buffers--refresh):
3891 Handle Buffer-menu-use-header-line.
1241b724 3892
e5f9458f
CY
38932012-05-06 Chong Yidong <cyd@gnu.org>
3894
3895 * buff-menu.el: Convert to Tabulated List mode.
3896 (Buffer-menu-buffer+size-width): Make obsolete.
3897 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3898 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3899 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3900 documentation into docstring of buffer-menu.
3901 (Buffer-menu-toggle-files-only): Add an informative message.
3902 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3903 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3904 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3905 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3906 (Buffer-menu-execute, Buffer-menu-select)
3907 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3908 (Buffer-menu-bury): Use Tabulated List machinery.
3909 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3910 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3911 Delete.
e5f9458f
CY
3912 (list-buffers--refresh): New function.
3913 (list-buffers-noselect): Use it.
3914 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3915 (Buffer-menu--pretty-file-name): New helper functions.
3916
3917 * loadup.el: Preload tabulated-list.
3918
3919 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3920 tabulated-list-sort-column.
3921 (tabulated-list-init-header): Add the initial aligning space even
3922 if tabulated-list-padding is zero.
3923
e129292c
CS
39242012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3925
3926 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3927 whose cdr is not a cons cell correctly (bug#11038).
3928
6632d361
CY
39292012-05-06 Chong Yidong <cyd@gnu.org>
3930
e129292c
CS
3931 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3932 Accept additional plist in column descriptors.
6632d361
CY
3933 (tabulated-list-init-header): Obey it.
3934 (tabulated-list-get-entry): New function.
3935 (tabulated-list-put-tag): Use it. Use string-width instead of
3936 length.
3937 (tabulated-list--column-number): New function.
3938 (tabulated-list-print): Use it.
e129292c
CS
3939 (tabulated-list-print-col): New function.
3940 Set `tabulated-list-column-name' property on each column's text.
6632d361 3941 (tabulated-list-print-entry): Use it.
e129292c
CS
3942 (tabulated-list-delete-entry, tabulated-list-set-col):
3943 New functions.
6632d361
CY
3944 (tabulated-list-sort-column): New command (Bug#11337).
3945
3cc99f68
CY
3946 * buff-menu.el (list-buffers): Move C-x C-b binding from
3947 buff-menu.el to bindings.el.
3948
3949 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3950 :advertised-binding feature.
3951
52b61776
TN
39522012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3953
3954 * progmodes/compile.el (compilation-internal-error-properties):
3955 Calculate start position correctly when end-col is set but
3956 end-line is not (Bug#11382).
3957
ebfe2597
WJ
39582012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3959
3960 * man.el (Man-unindent): Use text-property-default-nonsticky to
3961 prevent untabify from inheriting face properties (Bug#11408).
3962
6d3f7c2f
SM
39632012-05-05 Stefan Merten <smerten@oekonux.de>
3964
3965 * textmodes/rst.el: Major merge with upstream development up to
3966 Docutils SVN r7399 / rst.el V1.2.1.
3967
3968 Clarify maintainership and authors.
3969
3970 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3971 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3972 (rst-official-version, rst-official-cvs-rev, rst-version)
3973 (rst-package-emacs-version-alist): New functions and variables
3974 for version information.
3975
3976 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3977 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3978 (rst-mode-syntax-table, rst-mode): New and corrected functions
3979 and variables representing reStructuredText features.
3980
3981 (rst-re): New function for reStructuredText regexes. Use in
3982 many places.
3983
3984 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3985 (rst-mode-map): Rebind keys.
3986
3987 (rst-mode-lazy, rst-font-lock-keywords)
3988 (rst-font-lock-extend-region)
3989 (rst-font-lock-extend-region-internal)
3990 (rst-font-lock-extend-region-extend)
3991 (rst-font-lock-find-unindented-line-limit)
3992 (rst-font-lock-find-unindented-line-match)
3993 (rst-adornment-level, rst-font-lock-adornment-level)
3994 (rst-font-lock-adornment-match)
3995 (rst-font-lock-handle-adornment-pre-match-form)
3996 (rst-font-lock-handle-adornment-matcher): Major revision of
3997 font-locking. Integrate with other code. Use `jit-lock-mode'.
3998
3999 (rst-preferred-adornments, rst-adjust-hook)
4000 (rst-new-adornment-down, rst-preferred-bullets)
4001 (rst-preferred-bullets, rst-indent, rst-indent-width)
4002 (rst-indent-field, rst-indent-literal-normal)
4003 (rst-indent-literal-minimized, rst-indent-comment): Change,
4004 extend and improve customization.
4005
4006 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4007 (rst-normalize-cursor-position, rst-get-decoration)
4008 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4009 (rst-rstrip, rst-toc-insert-find-delete-contents)
4010 (rst-shift-fill-region, rst-compute-bullet-tabs)
4011 (rst-debug-print-tabs, rst-debug-mark-found)
4012 (rst-shift-region-guts, rst-shift-region-right)
4013 (rst-shift-region-left, rst-use-char-classes)
4014 (rst-font-lock-keywords-function)
4015 (rst-font-lock-indentation-point)
4016 (rst-font-lock-find-unindented-line-begin)
4017 (rst-font-lock-find-unindented-line-end)
4018 (rst-font-lock-find-unindented-line)
4019 (rst-font-lock-adornment-point, rst-font-lock-level)
4020 (rst-adornment-level-alist): Remove functions and variables.
4021
4022 (rst-compare-adornments, rst-get-adornment-match)
4023 (rst-suggest-new-adornment, rst-get-adornments-around)
4024 (rst-adornment-complete-p, rst-get-next-adornment)
4025 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4026 (rst-straighten-adornments): Standardize function names to
4027 use "adornment" instead of "decoration". Correct callers.
4028 Similar standardizing in many places.
4029
4030 (rst-update-section, rst-adjust, rst-promote-region)
4031 (rst-enumerate-region, rst-bullet-list-region)
4032 (rst-repeat-last-character): Correct use of `interactive'.
4033
4034 (rst-classify-adornment, rst-find-all-adornments)
4035 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4036 (rst-find-leftmost-column, rst-repeat-last-character):
4037 Refactor functions.
4038
4039 (rst-find-title-line, rst-reset-section-caches)
4040 (rst-get-adornments-around, rst-adjust-adornment-work)
4041 (rst-arabic-to-roman, rst-roman-to-arabic)
4042 (rst-insert-list-pos, rst-insert-list-new-item)
4043 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4044 New functions.
4045
4046 (rst-all-sections, rst-section-hierarchy)
4047 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4048 New variables.
4049
4050 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4051 configuration instead of only buffer. Change where necessary.
4052
4053 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4054 (rst-shift-region, rst-adaptive-fill): New functions for
4055 indentation and filling.
4056
4057 (rst-comment-line-break, rst-comment-indent)
4058 (rst-comment-insert-comment, rst-comment-region)
4059 (rst-uncomment-region): New functions for handling comments.
4060
4061 (rst-compile): Quote shell arguments.
4062
4063 (rst-compile-pdf-preview, rst-compile-slides-preview):
4064 Delete temporary files after use.
4065
a43f98b3
GM
40662012-05-05 Glenn Morris <rgm@gnu.org>
4067
48176e8b
GM
4068 * calendar/cal-html.el: Optionally include holidays in the output.
4069 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4070 (cal-html-holidays): New option.
4071 (cal-html-css-default): Add holiday entry.
4072 (holiday-in-range): Autoload it.
4073 (cal-html-htmlify-entry): Add optional class argument.
4074 (cal-html-htmlify-list): Add optional holidays argument.
4075 (cal-html-insert-agenda-days): Include holidays in the output.
4076 (cal-html-one-month): Maybe include holidays.
4077
a43f98b3
GM
4078 * calendar/holidays.el (holiday-in-range):
4079 Move here from cal-tex-list-holidays.
4080 * calendar/cal-tex.el (cal-tex-list-holidays):
4081 Make it an obsolete alias for holiday-in-range. Update all callers.
4082
fef9d149 40832012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4084
4085 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4086 Nextstep.
4087
248da2f4
RW
40882012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4089
4090 * files.el (file-auto-mode-skip): New var.
4091 (set-auto-mode-1): Use it.
4092
f95e9344
SM
40932012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4094
df96ab1e
SM
4095 * repeat.el: Use lexical-binding.
4096 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4097 (repeat-undo-count): Remove.
4098 (repeat):
4099 * progmodes/octave-mod.el (octave-abbrev-start):
4100 * progmodes/f90.el (f90-abbrev-start):
4101 * face-remap.el (text-scale-adjust):
4102 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4103
5342bb06
SM
4104 * emacs-lisp/pcase.el (pcase--let*): New function.
4105 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4106 a bit more.
4107 (pcase--split-pred): Be more clever about ruling out overlap between
4108 a predicate and some constant pattern.
4109 (pcase--q1): Use `null' instead of (eq foo nil).
4110
f95e9344
SM
4111 * subr.el (setq-local, defvar-local): New macros.
4112 (kbd): Redefine as an alias.
4113 (with-selected-window): Leave unrelated frames alone.
4114 (set-temporary-overlay-map): New function.
4115
71873e2b
SM
41162012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4117
4118 * subr.el (user-error): New function.
4119 * window.el (switch-to-buffer):
4120 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4121 (smerge-match-conflict):
4122 * simple.el (previous-matching-history-element)
4123 (next-matching-history-element, goto-history-element, undo-more)
4124 (undo-start):
4125 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4126 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4127 (next-file, tags-loop-scan, list-tags, complete-tag):
4128 * progmodes/compile.el (compilation-loop):
4129 * mouse.el (mouse-minibuffer-check):
4130 * man.el (Man-bgproc-sentinel, Man-goto-page):
4131 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4132 (Info-history-forward, Info-follow-reference, Info-menu)
4133 (Info-extract-menu-item, Info-extract-menu-counting)
4134 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4135 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4136 (Info-next-reference, Info-prev-reference, Info-index)
4137 (Info-index-next, Info-follow-nearest-node)
4138 (Info-copy-current-node-name):
4139 * imenu.el (imenu--make-index-alist)
4140 (imenu-default-create-index-function, imenu-add-to-menubar):
4141 * files.el (basic-save-buffer, recover-file):
4142 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4143 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4144 (checkdoc-message-text, checkdoc-defun):
4145 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4146 * cus-edit.el (customize-changed-options, customize-rogue)
4147 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4148 (custom-variable-mark-to-reset-standard)
4149 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4150 (custom-file):
4151 * completion.el (check-completion-length):
4152 * comint.el (comint-search-arg)
4153 (comint-previous-matching-input-string-position)
4154 (comint-previous-matching-input)
4155 (comint-replace-by-expanded-history-before-point, comint-send-input)
4156 (comint-copy-old-input, comint-backward-matching-input)
4157 (comint-goto-process-mark, comint-set-process-mark):
4158 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4159 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4160
8a61ee22
SM
41612012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4162
66408d1e
SM
4163 * dabbrev.el (dabbrev--ignore-case-p): New function.
4164 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4165 Use it.
4166
8a61ee22
SM
4167 * files.el (automount-dir-prefix): Mark as obsolete.
4168
3c74813a
GM
41692012-05-04 Glenn Morris <rgm@gnu.org>
4170
4171 * patcomp.el, play/bruce.el: Move to obsolete/.
4172
0bfcf5c5
PE
41732012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4174
4175 Fix minor Y10k bugs.
4176 * arc-mode.el (archive-unixdate):
4177 * autoinsert.el (auto-insert-alist):
4178 * calc/calc-forms.el (math-this-year):
4179 * emacs-lisp/copyright.el (copyright-current-year)
4180 (copyright-update-year, copyright):
4181 * tar-mode.el (tar-clip-time-string):
4182 * time.el (display-time-update):
4183 Don't assume years have 4 digits.
4184
78f3273a
CY
41852012-05-04 Chong Yidong <cyd@gnu.org>
4186
4187 * dos-w32.el (file-name-buffer-file-type-alist)
4188 (direct-print-region-use-command-dot-com):
4189 * ffap.el (ffap-menu-regexp):
4190 * find-file.el (ff-special-constructs):
4191 * follow.el (follow-debug):
4192 * forms.el (forms--debug):
4193 * iswitchb.el (iswitchb-all-frames):
4194 * ido.el (ido-all-frames):
4195 * emacs-lisp/timer.el (timer-max-repeats):
4196 * mail/feedmail.el (feedmail-mail-send-hook)
4197 (feedmail-mail-send-hook-queued):
4198 * mail/footnote.el (footnote-signature-separator):
4199 * mail/mailabbrev.el (mail-alias-separator-string)
4200 (mail-abbrev-mode-regexp):
4201 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4202 * progmodes/idlwave.el (idlwave-libinfo-file)
4203 (idlwave-default-completion-case-is-down)
4204 (idlwave-library-routines): Convert defvars to defcustoms.
4205
4206 * mail/rmail.el (rmail-decode-mime-charset):
4207 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4208 (idlwave-shell-fix-inserted-breaks)
4209 (idlwave-shell-activate-alt-keybindings)
4210 (idlwave-shell-use-breakpoint-glyph):
4211 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4212
f7ae6719
SM
42132012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4214
4215 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4216
47086495
WS
42172012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4218
4219 * progmodes/verilog-mode.el (font-lock-keywords):
4220 Fix mis-highligting auto. Reported by Craig Barner.
4221 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4222 defines from global name space. Reported by Dan Dever.
4223 (verilog-auto-reset, verilog-auto-reset-widths)
4224 (verilog-auto-tieoff): Support using unbased numbers for
4225 AUTORESET and AUTOTIEOFF.
4226 (verilog-submit-bug-report): Update variable list.
4227 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4228 parenthesis from not matching. Reported by Michael Rytting.
4229 (verilog-auto-template-lint): Fix hash error when linting modules
4230 with no used templates.
4231 (verilog-warn, verilog-warn-error)
4232 (verilog-warn-fatal): When non-interactive report multiple
4233 warnings before exiting. Suggested by Brad Dobbie.
4234 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4235 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4236 to report unused template errors. Reported by Brad Dobbie.
4237 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4238 nets, bug438. Reported by Vns Blore.
4239 (verilog-auto-inout-module, verilog-auto-reg)
4240 (verilog-read-decls, verilog-read-sub-decls-sig)
4241 (verilog-signals-edit-wire-reg, verilog-signals-with):
4242 Fix passing of Verilog data types in ANSI input/output ports
4243 such as "output logic" into the AUTOs. Special case "wire" and
4244 "reg" for backwards compatibility presuming Verilog 2001.
4245 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4246 (verilog-preprocess): Fix replication of preprocess output.
4247 Reported by Brad Dobbie.
4248 (verilog-auto-inst-interfaced-ports):
4249 Create verilog-auto-inst-interfaced-ports, bug429.
4250 Reported by Julian Gorfajn.
4251 (verilog-after-save-font-hook)
4252 (verilog-before-save-font-hook): New variable.
4253 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4254 (verilog-save-font-mods): Wrap disabling fontification, reported
4255 by David Rogoff.
4256 (verilog-do-indent, verilog-pretty-declarations-auto)
4257 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4258 Reported by Pierre-David Pfister.
4259 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4260 of class declarations, bug292. Reported by Kevin Heilman.
4261 (verilog-read-decls): Fix 'parameter type' not appearing in
4262 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4263 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4264 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4265 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4266 Reported by David Kravitz.
4267
42682012-05-03 Michael McNamara <mac@mail.brushroad.com>
4269
4270 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4271 assignment with tests in ifs and for loops.
4272 (verilog-extended-complete-re, verilog-complete-reg): Change so
4273 that DPI inport functions don't look like fuction declarations.
4274 (verilog-pretty-expr): Don't line up assignment
4275 operations to the test and increment in if and for loops
4276 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4277 that DPI inport functions don't look like fuction declarations.
47086495 4278
2e51d4b5
KH
42792012-05-03 Kenichi Handa <handa@m17n.org>
4280
4281 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4282 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4283 (Bug#11282).
4284
2bd785a2
SM
42852012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4286
4287 * emacs-lisp/bytecomp.el
4288 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4289 since cconv.el might have introduced :fun-body, internal-make-closure,
4290 and friends for bytecomp to handle (bug#11391).
4291 * custom.el (defcustom): Avoid ((λ ..) ..).
4292
99d27583
SM
42932012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4294
4295 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4296
55a71479
JB
42972012-05-02 Juanma Barranquero <lekktu@gmail.com>
4298
4299 * notifications.el (dbus-debug):
4300 * term/linux.el (gpm-mouse-enable):
4301 * term/screen.el (xterm-register-default-colors): Declare.
4302
7b97c764
CY
43032012-05-02 Chong Yidong <cyd@gnu.org>
4304
2bc356d7
CY
4305 * cus-start.el (gc-cons-percentage, exec-suffixes)
4306 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4307 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4308 (make-cursor-line-fully-visible, void-text-area-pointer)
4309 (font-list-limit): Add customization data.
4310
7b97c764
CY
4311 * allout.el (allout-exposure-change-functions)
4312 (allout-structure-added-functions)
4313 (allout-structure-deleted-functions)
4314 (allout-structure-shifted-functions): Rename abnormal hooks from
4315 *-hook, and convert to defcustoms.
5d3385a0
JB
4316 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4317 Convert to defcustoms.
7b97c764
CY
4318 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4319
4320 * allout-widgets.el: Hook callers changed.
4321
90207a15 43222012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4323
4324 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4325 the yanked message in preference to the default value of
4326 buffer-file-coding-system.
4327
90207a15 43282012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4329
5d3385a0
JB
4330 * window.el (display-buffer--action-function-custom-type):
4331 Fix entry.
d9558cad 4332
90207a15 43332012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4334
4335 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4336
d80ac57b
GM
43372012-05-01 Glenn Morris <rgm@gnu.org>
4338
976f7668
GM
4339 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4340
beb83b5a
GM
4341 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4342
d80ac57b
GM
4343 * cus-edit.el (custom-variable-documentation): Simplify with format.
4344
b593d6a9 43452012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4346 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4347
4348 * simple.el (suggest-key-bindings, execute-extended-command):
4349 Move from keyboard.c.
4350
782fbf2a
CY
43512012-05-01 Chong Yidong <cyd@gnu.org>
4352
4353 * follow.el: Eliminate advice.
4354 (set-process-filter, process-filter, sit-for): Advice deleted.
4355 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4356 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4357 Vars deleted.
782fbf2a
CY
4358 (follow-auto): Use a :set function.
4359 (follow-mode): Rewritten. Don't advise process filters.
4360 (follow-switch-to-current-buffer-all, follow-scroll-up)
4361 (follow-scroll-down): Assume follow-mode is bound.
4362 (follow-comint-scroll-to-bottom)
4363 (follow-align-compilation-windows): New functions.
4364 (follow--window-sorter): New function.
4365 (follow-all-followers): Use it to explicitly sort windows by their
4366 positions; don't make assumptions about next-window order.
4367 (follow-windows-start-end, follow-delete-other-windows-and-split)
4368 (follow-calc-win-start): Doc fix.
4369 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4370 vertical-motion unnecessarily.
4371 (follow-adjust-window): New function.
4372 (follow-post-command-hook): Use it.
4373 (follow-call-set-process-filter, follow-call-process-filter)
4374 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4375 (follow-stop-intercept-process-output, follow-generic-filter):
4376 Functions deleted.
4377 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4378 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4379 New functions, replacing advice on scroll-bar-* commands.
87233a14 4380 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4381
4382 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4383 (comint-postoutput-scroll-to-bottom): Use it.
4384 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4385
290af740
GM
43862012-05-01 Glenn Morris <rgm@gnu.org>
4387
4388 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4389 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4390 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4391 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4392 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4393 Remove no-byte-compile setting.
4394
6eac8dc9
SM
43952012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4396
4397 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4398 all-completions code to not return a number in the last cdr.
4399
9cc7819c
LL
44002012-04-30 Leo Liu <sdl.web@gmail.com>
4401
4402 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4403 read-only error.
4404
c93b886f
CY
44052012-04-29 Chong Yidong <cyd@gnu.org>
4406
4407 * follow.el (follow-calc-win-end): Rewrite to handle partial
4408 screen lines correctly (Bug#8390).
4409 (follow-avoid-tail-recenter): Minor cleanup.
4410
8b6c19f4
SM
44112012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4412
4413 Avoid the obsolete `assoc' package.
4414 * speedbar.el (speedbar-refresh): Avoid adelete.
4415 (speedbar-file-lists): Simplify and avoid aput.
4416 * man.el (Man--sections, Man--refpages): New vars, replacing
4417 Man-sections-alist and Man-refpages-alist.
4418 (Man-build-section-alist, Man-build-references-alist):
4419 Use them; avoid aput.
4420 (Man--last-section, Man--last-refpage): New vars.
4421 (Man-follow-manual-reference): Use them.
4422 Use the `default' arg of completing-read.
4423 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4424
c5bb7569
CY
44252012-04-27 Chong Yidong <cyd@gnu.org>
4426
d1d2e2e8
CY
4427 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4428
15cd8efd
CY
4429 * startup.el (x-apply-session-resources): New function.
4430
4431 * term/ns-win.el (ns-initialize-window-system):
4432 * term/w32-win.el (w32-initialize-window-system):
4433 * term/x-win.el (x-initialize-window-system): Use it to properly
4434 set menu-bar-mode and other vars from X resources, even if the
4435 initial frame is not a window-system frame (Bug#2299).
4436
c5bb7569
CY
4437 * subr.el (read-key): Avoid running filter function when setting
4438 up temporary tool bar entries (Bug#9922).
4439
a8e7d6d7 44402012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4441
4442 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4443 (Bug#11344)
4444
a8e7d6d7 44452012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4446
4447 * select.el (xselect--encode-string): New function, split from
4448 xselect-convert-to-string.
4449 (xselect-convert-to-string): Use it.
4450 (xselect-convert-to-filename, xselect-convert-to-os)
4451 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4452 returned strings are properly encoded (Bug#11315).
4453
a8e7d6d7 44542012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4455
4456 * simple.el (delete-active-region): Move to killing custom group.
4457
a8e7d6d7 44582012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4459
4460 * progmodes/which-func.el (which-func-current): Quote %
4461 characters for mode-line processing.
4462
578c1d4b 44632012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4464
4465 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4466 reaching eob (Bug#11286).
4467
a8e7d6d7 44682012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4469
4470 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4471 (gdb): Make it buffer-local and init to zero.
4472 (gdb-control-commands-regexp): New variable.
4473 (gdb-send): Don't wrap in "-interpreter-exec console" if
4474 gdb-control-level is positive. Increment gdb-control-level
4475 whenever the command matches gdb-control-commands-regexp, and
4476 decrement it each time the command is "end". (Bug#11279)
4477
a8e7d6d7 44782012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4479
4480 * window.el (adjust-window-trailing-edge, enlarge-window)
4481 (shrink-window, window-resize):
4482 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4483 windows (Bug#11276).
4484
b3608390
CY
44852012-04-27 Chong Yidong <cyd@gnu.org>
4486
4487 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4488 fix "missing prefix" warning. All callers changed.
b3608390 4489
797e6e88
SM
44902012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4491
4492 * emacs-lisp/assoc.el: Move to obsolete/.
4493
e95a67dc
SM
44942012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4495
657c21e4 4496 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4497
4498 * term/ns-win.el (ns-define-service):
4499 * progmodes/pascal.el (pascal-goto-defun):
4500 * progmodes/js.el (js--read-tab):
4501 * progmodes/etags.el (tags-lazy-completion-table):
4502 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4503 * emacs-lisp/ewoc.el (ewoc--wrap):
4504 * emacs-lisp/assoc.el (aput, adelete, amake):
4505 * doc-view.el (doc-view-convert-current-doc):
4506 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4507
cb3e7ae0
CY
45082012-04-26 Chong Yidong <cyd@gnu.org>
4509
dce04f7f
CY
4510 * image.el (image-type-from-buffer): Only return supported image
4511 type (Bug#9045).
4512
cb3e7ae0
CY
4513 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4514 value, for symmetry with diff-end-of-hunk.
4515 (diff-split-hunk, diff-find-source-location)
4516 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4517 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4518 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4519 compute the relevant hunk or file properly (Bug#6005).
4520 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4521
0d42eb3e
SM
45222012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4523
4524 * vc/vc-mtn.el:
4525 * vc/vc-hg.el:
4526 * vc/vc-git.el:
4527 * vc/vc-dir.el:
4528 * vc/vc-cvs.el:
4529 * vc/vc-bzr.el:
4530 * vc/vc-arch.el:
4531 * vc/vc.el: Replace lexical-let by lexical-binding.
4532 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4533 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4534 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4535
f08ae1c9
CY
45362012-04-26 Chong Yidong <cyd@gnu.org>
4537
8b71081d
CY
4538 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4539 (diff-mode-shared-map): Bind it to / and [remap undo].
4540
f08ae1c9
CY
4541 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4542 (ediff-window-setup-function): Use it as the default, to set up
4543 windows based on whether the current frame is graphical (Bug#2138).
4544 (ediff-choose-window-setup-function-automatically): Make obsolete.
4545
4546 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4547
ef24141c
SM
45482012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4549
cc356a5d
SM
4550 * ffap.el: Remove old code for obsolete package.
4551 (ffap-complete-as-file-p): Remove.
4552
b4ff4f1f
SM
4553 Use completion-table-with-quoting for comint and pcomplete.
4554 * comint.el (comint--unquote&requote-argument)
4555 (comint--unquote-argument, comint--requote-argument): New functions.
4556 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4557 (comint-quote-filename): Use regexp-opt-charset.
4558 (comint--common-suffix, comint--common-quoted-suffix)
4559 (comint--table-subvert): Remove.
4560 (comint-unquote-function, comint-requote-function): New vars.
4561 (comint--complete-file-name-data): Use them with
4562 completion-table-with-quoting.
4563 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4564 * pcomplete.el (pcomplete-arg-quote-list)
4565 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4566 (pcomplete-unquote-argument-function): Default to non-nil.
4567 (pcomplete-unquote-argument): Simplify.
4568 (pcomplete--common-quoted-suffix): Remove.
4569 (pcomplete-requote-argument-function): New var.
4570 (pcomplete--common-suffix): New function.
4571 (pcomplete-completions-at-point): Use completion-table-with-quoting
4572 and completion-table-subvert.
4573
79c4eeb4
SM
4574 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4575 (minibuffer--double-dollars): Preserve properties.
4576 (completion--sifn-requote): New function.
4577 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4578
ef24141c
SM
4579 * minibuffer.el: Add support for completion of quoted/escaped data.
4580 (completion-table-with-quoting, completion-table-subvert): New funs.
4581 (completion--twq-try, completion--twq-all): New functions.
4582 (completion--nth-completion): New function.
4583 (completion-try-completion, completion-all-completions): Use it.
4584
784e7d6e
LL
45852012-04-25 Leo Liu <sdl.web@gmail.com>
4586
dd2ac746
SM
4587 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4588 Use compilation-message if available to find real filename.
784e7d6e 4589
07875ee7
CY
45902012-04-25 Chong Yidong <cyd@gnu.org>
4591
4592 * vc/diff-mode.el (diff-setup-whitespace): New function.
4593 (diff-mode): Use it.
4594
4595 * vc/diff.el (diff-sentinel):
4596 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4597 Whitespace mode variables based on diff style (Bug#8612).
4598
5055880d
LL
45992012-04-25 Leo Liu <sdl.web@gmail.com>
4600
daf75653
LL
4601 * progmodes/python.el (python-send-region): Add suffix .py to the
4602 temp file.
4603
5055880d
LL
4604 * files.el (auto-mode-alist): Use javascript-mode instead.
4605
db9b177b
AH
46062012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4607
ef24141c 4608 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4609
090bd7cb 4610 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4611 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4612 references, see Bug#9.
ef24141c 4613 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4614 when receiving a fault reply.
ef24141c 4615 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4616
090bd7cb 4617 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4618 (soap-inspect-simple-type): New function.
db9b177b 4619
090bd7cb 4620 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4621 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4622 (soap-decode-basic-type, soap-encode-basic-type):
4623 support unsignedInt and double basic types.
db9b177b 4624 (soap-resolve-references-for-simple-type)
ef24141c
SM
4625 (soap-parse-simple-type, soap-encode-simple-type): New function.
4626 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4627
090bd7cb 4628 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4629 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4630 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4631 the local name of "soapenc:Array".
4632 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4633 decoding integer, byte and anyURI xsd types.
4634
1fc6097b
CY
46352012-04-25 Chong Yidong <cyd@gnu.org>
4636
4637 * cus-edit.el (custom-buffer-create-internal): Update header text.
4638
afc6df87
EZ
46392012-04-25 Eli Zaretskii <eliz@gnu.org>
4640
4641 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4642 settings on 'system-type', not on 'window-system'. On MS-Windows,
4643 set interactive-mode on in GDB.
4644
dfbd787f
SM
46452012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4646
4647 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4648 (ruby-syntax-propertize-regexp): Remove.
4649 (ruby-syntax-propertize-function): Split regexp into chunks.
4650 Match following code directly.
4651
85222d44
DG
46522012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4653
51a8ea2a
DG
4654 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4655 (ruby-syntax-propertize-regexp): New function.
4656 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4657 by a special keyword.
4658
85222d44
DG
4659 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4660 (ruby-syntax-general-delimiters-goto-beg)
4661 (ruby-syntax-propertize-general-delimiters): New functions.
4662 (ruby-syntax-propertize-function): Use them to handle GDL.
4663 (ruby-font-lock-keywords): Move old handling of GDL...
4664 (ruby-font-lock-syntactic-keywords): .. to here.
4665 (ruby-calculate-indent): Adjust indentation for GDL.
4666
b613912b
MA
46672012-04-24 Michael Albinus <michael.albinus@gmx.de>
4668
b5380639
MA
4669 * notifications.el (top): Remove unneeded declarations.
4670 (notifications-specification-version): Change to "1.2".
e43042fe 4671 (notifications-interface, notifications-notify-method)
b613912b
MA
4672 (notifications-close-notification-method): Fix docstring.
4673 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4674 (notifications-notify): Add :action-items, :resident and
4675 :transient hints. Change "image_data" to "image-data" and
4676 "image_path" to "image-path".
b613912b
MA
4677 (notifications-get-capabilities): New defun.
4678
257440aa
LL
46792012-04-24 Leo Liu <sdl.web@gmail.com>
4680
4681 * progmodes/python.el: Move hideshow setup to the end.
4682
b1bac16e
MR
46832012-04-24 Martin Rudalics <rudalics@gmx.at>
4684
4685 * window.el (handle-select-window): Clear echo area since this is
4686 no more done by read_char (Bug#11304).
4687
d81bd059
SM
46882012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4689
4690 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4691 and `/ M' to filter-derived-mode.
4692 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4693 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4694 (ibuffer-mark-by-mode): Use default rather than initial-input.
4695 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4696
c4cf6d91
IA
46972012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4698
4699 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4700 (ibuffer-filter-by-derived-mode): New filter.
4701 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4702
7511ded8
CY
47032012-04-23 Andreas Politz <politza@fh-trier.de>
4704
4705 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4706
775c916b
CY
47072012-04-23 Chong Yidong <cyd@gnu.org>
4708
4709 * cus-edit.el (customize-apropos, customize-apropos-options):
4710 Disable matching of non-option variables (Bug#11176).
4711 (customize-option, customize-option-other-window)
4712 (customize-changed-options): Doc fix.
4713 (customize-apropos-options, customize-apropos-faces)
4714 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4715
4716 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4717 Fix word list splitting (Bug#11132).
46c71e23
CY
4718 (apropos-symbol, apropos-keybinding, apropos-label)
4719 (apropos-property, apropos-function-button)
4720 (apropos-variable-button, apropos-misc-button): New faces.
4721 (apropos-symbol-face, apropos-keybinding-face)
4722 (apropos-label-face, apropos-property-face, apropos-match-face):
4723 Variables removed (Bug#8396).
4724 (apropos-library-button, apropos-format-plist, apropos-print)
4725 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4726
2df41f9c
MA
47272012-04-23 Michael Albinus <michael.albinus@gmx.de>
4728
4729 * net/xesam.el (xesam-mode-map): Use let-bound map in
4730 initialization. (Bug#11292)
4731
da00640a
AM
47322012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4733
4734 Preserve ispell session localwords when switching back to
4735 original buffer.
4736
090bd7cb
JB
4737 * textmodes/ispell.el (ispell-buffer-session-localwords):
4738 New buffer-local variable to hold buffer session localwords.
ed9265fc 4739 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4740 localwords.
4741 (ispell-command-loop, ispell-change-dictionary)
4742 (ispell-buffer-local-words): Preserve session localwords when
4743 needed.
4744
090bd7cb
JB
4745 * textmodes/flyspell.el (flyspell-process-localwords)
4746 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4747
f621ccf5
AM
47482012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4749
090bd7cb
JB
4750 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4751 using obsolete `translation-table-for-input'.
ef24141c
SM
4752 (ispell-word, ispell-process-line, ispell-complete-word):
4753 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4754
c2d1019e
CY
47552012-04-22 Chong Yidong <cyd@gnu.org>
4756
4757 * cus-edit.el (custom-variable-menu)
4758 (custom-variable-reset-saved, custom-face-menu)
4759 (custom-face-reset-saved): If there is no saved value, make the
4760 "reset-saved" operation bring back the default (Bug#9509).
4761 (custom-face-state): Properly detect themed faces.
4762
eeddc531
CY
4763 * faces.el (face-spec-set): Stop supporting deprecated form of
4764 third arg.
4765
dcbf5805
MA
47662012-04-22 Michael Albinus <michael.albinus@gmx.de>
4767
4768 Move functions from C to Lisp. Make non-blocking method calls
4769 the default. Implement further D-Bus standard interfaces.
4770
ef24141c
SM
4771 * net/dbus.el (dbus-message-internal): Declare function.
4772 Remove unneeded function declarations.
dcbf5805
MA
4773 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4774 (dbus-message-type-method-return, dbus-message-type-error)
4775 (dbus-message-type-signal): Declare variables. Remove local
4776 definitions.
4777 (dbus-interface-dbus, dbus-interface-peer)
4778 (dbus-interface-introspectable, dbus-interface-properties)
4779 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4780 Adapt docstring.
4781 (dbus-interface-objectmanager): New defconst.
4782 (dbus-call-method, dbus-call-method-asynchronously)
4783 (dbus-send-signal, dbus-method-return-internal)
4784 (dbus-method-error-internal, dbus-register-service)
4785 (dbus-register-signal, dbus-register-method): New defuns, moved
4786 from dbusbind.c
4787 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4788 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4789 New defuns.
dcbf5805
MA
4790 (dbus-call-method-non-blocking): Make it an obsolete function.
4791 (dbus-unregister-object, dbus-unregister-service)
4792 (dbus-handle-event, dbus-register-property)
4793 (dbus-property-handler): Obey the new structure of
4794 `bus-registered-objects'.
4795 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4796 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4797 Use `dbus-call-method'.
4798
cf20dee0
CY
47992012-04-22 Chong Yidong <cyd@gnu.org>
4800
4801 * cus-edit.el (custom-commands, custom-reset-menu)
4802 (Custom-reset-standard): Tweak labels.
4803 (custom-reset-button-menu): Change default to t.
4804 (custom-buffer-create-internal): For the custom-reset-button-menu
4805 case, put the revert button first.
4806 (custom-group-subtitle): New face.
4807 (custom-group-value-create): Align docstring to a specific column.
4808
4809 * wid-edit.el (widget-documentation-link-add): Don't handle
4810 indentation in this function.
4811 (widget-documentation-string-indent-to): New function.
4812 (widget-documentation-string-value-create): Use it.
4813
4814 * autorevert.el (auto-revert):
4815 * epg-config.el (epg):
4816 * ibuffer.el (ibuffer):
4817 * mpc.el (mpc):
4818 * ses.el (ses):
4819 * eshell/eshell.el (eshell):
4820 * net/ange-ftp.el (ange-ftp):
4821 * progmodes/ebnf2ps.el (postscript):
4822 * progmodes/flymake.el (flymake):
4823 * progmodes/prolog.el (prolog):
4824 * progmodes/verilog-mode.el (verilog-mode):
4825 * progmodes/which-func.el (which-func):
4826 * term/xterm.el (xterm):
4827 * textmodes/picture.el (picture):
4828 * textmodes/tildify.el (tildify):
4829 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4830 customization buffers.
4831
583e23bd
AM
48322012-04-22 Alan Mackenzie <acm@muc.de>
4833
4834 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4835 Adding a ) can hide the resulting (..) from searches. Fix it.
4836 Bound the backward search to the position of the existing (.
4837
7dd51bf1
JB
48382012-04-21 Juanma Barranquero <lekktu@gmail.com>
4839
4840 * progmodes/verilog-mode.el (verilog-mode): Check whether
4841 which-func-modes is t before adding verilog-mode.
4842 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4843
d64a438f
LL
48442012-04-21 Leo Liu <sdl.web@gmail.com>
4845
7dd51bf1 4846 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4847
081e8d65
MV
48482012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4849
4850 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4851 filling of the last column of a table (Bug#5635).
4852 (woman-find-next-control-line): New arg, specifying an additional
4853 regexp component for the control line.
4854 (woman2-roff-buffer): Use it.
4855 (woman-break-table): New function.
4856 (woman2-TS): Use it.
4857
48582012-04-21 Chong Yidong <cyd@gnu.org>
4859
4860 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4861 (woman-horizontal-escapes, woman-negative-vertical-space)
4862 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4863 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4864
ed571ccb
SM
48652012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4866
4867 * minibuffer.el (completion-file-name-table): Complete user names.
4868
39773899
LL
48692012-04-20 Leo Liu <sdl.web@gmail.com>
4870
4871 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4872 and pcase-let*.
4873
de6ff46d
CY
48742012-04-20 Chong Yidong <cyd@gnu.org>
4875
4876 * server.el (server-execute): Respect initial-buffer-choice if it
4877 is a string and there are no files to open (Bug#2825).
4878 (server-create-window-system-frame, server-create-tty-frame):
4879 Don't switch buffers here.
2d0e8e61
CY
4880 (server-process-filter): Only try to open a window system frame if
4881 compiled with graphical support (Bug#8314).
de6ff46d 4882
54071013
DN
48832012-04-20 Dan Nicolaescu <dann@gnu.org>
4884
4885 * battery.el (battery-echo-area-format): Display remaining time
4886 for sysfs backend too (Bug#11269).
4887 (battery-linux-sysfs): Fix conditional for the charge.
4888
f30d612a
CY
48892012-04-20 Chong Yidong <cyd@gnu.org>
4890
c07a4c0b 4891 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4892 (gdb-inferior-io--init-proc): New function.
4893 (gdb-init-1): Use it.
4894 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4895 responsible for allocating a new pty and hooking it to gdb when
4896 the old pty gets an EIO due to process exit.
4897 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4898 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4899 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4900
2116e93c
EZ
49012012-04-20 Eli Zaretskii <eliz@gnu.org>
4902
4903 * window.el (window-min-size, window-sizable, window-min-delta)
4904 (window-max-delta, window--resizable, window-resizable)
4905 (window-total-size, window-full-height-p, window-full-width-p)
4906 (window-in-direction, window--resize-mini-window, window-resize)
4907 (window--resize-child-windows-normal)
4908 (window--resize-child-windows, window--resize-siblings)
4909 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4910 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4911
c07a4c0b 49122012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4913
ef24141c
SM
4914 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4915 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4916 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4917 pty process (Bug#11273).
4918 (gdb-update): New arg to suppress talking to the gdb process.
4919 (gdb-done-or-error): Use it.
4920 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4921 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4922 sentinel not being called.
4923
4924 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4925
d02766ab
CY
4926 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4927
c07a4c0b 49282012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4929
4930 * net/network-stream.el (open-network-stream): Doc fix.
4931
c07a4c0b 49322012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4933
4934 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4935
c07a4c0b 49362012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4937
4938 Ensure searching for keywords is case sensitive.
4939
4940 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4941 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4942 (c-defun-name, c-mark-function, c-cpp-define-name)
4943 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4944 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4945
ef24141c
SM
4946 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4947 Bind case-fold-search to nil.
f0f6bc35 4948
c07a4c0b 49492012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4950
4951 * mail/sendmail.el (mail-bury): Call return action with the right
4952 Rmail buffer (Bug#11242).
4953
9a864fa2
CY
4954 * server.el (server-process-filter): Handle corner case where both
4955 tty and nowait options are present (Bug#11102).
4956
539aa513
EZ
49572012-04-20 Eli Zaretskii <eliz@gnu.org>
4958
4959 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4960 (top level): Put into the executable the ident-style '$Id:' tag on
4961 windows-nt as well.
539aa513 4962
cfc7d5da
SM
49632012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4964
4965 * electric.el (electric-indent-post-self-insert-function): Check that
4966 electric-indent-mode is enabled in current buffer.
4967
5b01685c
JB
49682012-04-19 Juanma Barranquero <lekktu@gmail.com>
4969
4970 * imenu.el (imenu-progress-message): Restore; it is "used" in
4971 erc/erc-imenu.el and net/snmp-mode.el.
4972
4d6769e1
JB
49732012-04-19 Juanma Barranquero <lekktu@gmail.com>
4974
4975 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4976 (mouse-avoidance-nudge-mouse): Remove unused binding.
4977
4978 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4979
4980 * descr-text.el (describe-char):
4981 * progmodes/python.el (python-describe-symbol):
4982 Don't call `toggle-read-only', set `buffer-read-only'.
4983
4984 * imenu.el (imenu-default-goto-function): Mark unused args.
4985 (imenu-progress-message): Remove obsolete macro; all callers changed.
4986
4987 * subr.el (keymap-canonicalize): Remove unused binding.
4988 (read-passwd): Mark unused arg.
4989
4990 * tutorial.el (tutorial--display-changes): Remove unused binding.
4991 (tutorial--save-tutorial-to): Remove unused variable.
4992
4993 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4994 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4995 (package-generate-autoloads, package-menu--generate)
4996 (package-menu--find-upgrades): Remove unused bindings.
4997
4998 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4999 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5000 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5001 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5002 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5003 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5004 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5005 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5006 (cua-delete-char-rectangle): Mark unused args.
5007 (cua-align-rectangle): Remove unused binding.
5008
5009 * mail/rmail.el (compilation--message->loc)
5010 (epa--find-coding-system-for-mime-charset): Declare.
5011
5012 * net/dbus.el (dbus-register-service): Declare.
5013 (dbus-name-owner-changed-handler): Remove unused binding.
5014
5015 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5016 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5017 (nxml-scan-backward-within): Mark unused arg.
5018 (nxml-dynamic-markup-word): Remove unused binding.
5019
5020 * mouse.el (mouse-menu-major-mode-map):
5021 * emacs-lisp/authors.el (authors-scan-change-log)
5022 (authors-add-to-author-list):
5023 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5024 * emacs-lisp/smie.el (smie-auto-fill):
5025 * mail/sendmail.el (mail-bury):
5026 * mail/unrmail.el (unrmail):
5027 * net/tls.el (open-tls-stream):
5028 * textmodes/picture.el (picture-mouse-set-point):
5029 Remove unused bindings.
5030
8c8fc5df
MA
50312012-04-19 Michael Albinus <michael.albinus@gmx.de>
5032
5033 * net/tramp.el (tramp-action-password): Let-bind
5034 `enable-recursive-minibuffers' to t.
5035
a77b0ac9
SS
50362012-04-18 Sam Steingold <sds@gnu.org>
5037
5038 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5039 instead of 'string to accommodate values like [f11].
5040 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5041 * progmodes/gdb-mi.el: Likewise.
5042
12a106a9
LL
50432012-04-18 Leo Liu <sdl.web@gmail.com>
5044
5045 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5046 current buffer.
5047 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5048 LOCAL is nil.
5049
bc6494ef
CY
50502012-04-18 Chong Yidong <cyd@gnu.org>
5051
5052 * simple.el (line-move): Use forward-line if in batch mode
5053 (Bug#11053).
5054
c09c46b2
CS
50552012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5056
5057 * files.el (after-find-file): Do not try to add a final newline if
5058 the buffer is read-only (Bug#11156).
5059
5f6530ea
RS
50602012-04-17 Richard Stallman <rms@gnu.org>
5061
5062 * mail/rmail.el (rmail-start-mail):
5063 Pass (rmail-mail-return...) for the return-action.
5064 Pass (rmail-yank-current-message...) for the yank-action.
5065 (rmail-yank-current-message): New function.
5066 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5067 (rmail-reply): Likewise.
5068 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5069
5070 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5071 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5072 buffer, not newbuf.
5073
197b6f3c
JB
50742012-04-17 Juanma Barranquero <lekktu@gmail.com>
5075
5076 * server.el (server-ensure-safe-dir): Simplify.
5077
2311d8e5 50782012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5079
2311d8e5
GM
5080 * emacs-lisp/smie.el: Provide smarter auto-filling.
5081 (smie-auto-fill): New function.
5082 (smie-setup): Use it.
98fb480e 5083
2311d8e5
GM
5084 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5085
50862012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5087
5088 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5089 (comment-indent): Use it.
5090
2311d8e5 50912012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5092
5093 * ses.el: The overall change is to add cell renaming, that is
5094 setting fancy names for cell symbols other than name matching
5095 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5096 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5097 (ses-create-cell-variable): New defun.
2311d8e5 5098 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5099 (ses-relocate-formula): Relocate formulas only for cells the
5100 symbols of which are not renamed, i.e. symbols whose names do not
5101 match regexp "\\`[A-Z]+[0-9]+\\'".
5102 (ses-relocate-all): Relocate values only for cells the symbols of
5103 which are not renamed.
5104 (ses-load): Create cells variables as the (ses-cell ...) are read,
5105 in order to check row col consistency with cell symbol name only
5106 for cells that are not renamed.
5107 (ses-replace-name-in-formula): New defun.
5108 (ses-rename-cell): New defun.
4bdf2ad2 5109
fc72b15c
PO
51102012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5111
5112 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5113 New option (bug#11118).
5114 (perl-calculate-indent): Respect it.
5115
12e10e61
GM
51162012-04-17 Glenn Morris <rgm@gnu.org>
5117
5118 * dired-aux.el (dired-mark-read-string): Doc fix.
5119
30009afd
DA
51202012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5121
5122 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5123 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5124
41f03f4d
GM
51252012-04-17 Glenn Morris <rgm@gnu.org>
5126
5127 * mouse.el (mouse-drag-track):
5128 * speedbar.el (speedbar-frame-mode):
5129 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5130
f45f90f3
LL
51312012-04-16 Leo Liu <sdl.web@gmail.com>
5132
5133 * progmodes/python.el: Trivial cleanup.
5134
94ee8db5
GM
51352012-04-16 Glenn Morris <rgm@gnu.org>
5136
121b8917
GM
5137 * vc/vc.el (vc-string-prefix-p):
5138 * vc/pcvs-util.el (cvs-string-prefix-p):
5139 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5140 * mpc.el (mpc-string-prefix-p):
5141 Make all of these into obsolete aliases for string-prefix-p.
5142 Update callers.
5143 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5144
1197ecfa
GM
5145 * textmodes/two-column.el: Move custom options to the start.
5146 (frame-width): Remove compat definition.
5147 (2C-associate-buffer, 2C-dissociate):
5148 Use with-current-buffer rather than save-excursion.
5149 (2C-dissociate): Force a mode-line update.
5150 (2C-autoscroll): Use ignore-errors.
5151
099e7202
GM
5152 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5153 Autoload trivia.
5154
bf350d6a
GM
5155 * emacs-lisp/cl-extra.el (*random-state*):
5156 Remove unnecessary declaration.
5157
0e829eab
GM
5158 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5159
e3ad7552
GM
5160 * play/cookie1.el (cookie-snarf):
5161 Give an explicit error if input file cannot be read.
5162
68892d27
GM
5163 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5164
20f0c46d
GM
5165 * progmodes/perl-mode.el (c-macro-expand):
5166 Remove unnecessary autoload (it is in loaddefs.el).
5167
5a0978ce
GM
5168 * textmodes/picture.el (picture-desired-column)
5169 (picture-update-desired-column): Convert comments to doc-strings.
5170 (picture-substitute): Remove function.
5171 (picture-mode-map): Initialize in the defvar.
5172
6b955486
GM
5173 * woman.el: Remove eval-after-load for tar-mode.
5174 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5175 (woman-tar-extract-file): Autoload it.
5176
94ee8db5
GM
5177 * frame.el (automatic-hscrolling): Make this alias obsolete.
5178
177eca34
AM
51792012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5180
090bd7cb 5181 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5182 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5183 (ispell-dictionary-base-alist): Revert to original XEmacs
5184 friendly version for default. [:alpha:] will be added in
090bd7cb 5185 `ispell-set-spellchecker-params' if needed.
177eca34 5186
c505aaeb
CY
51872012-04-16 Chong Yidong <cyd@gnu.org>
5188
b19dd9d1 5189 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5190 (imagemagick-register-types): Use it.
5191 (imagemagick-types-inhibit): Add :set function. Allow new value
5192 of t to inhibit all types.
5193
5194 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5195 so we can preload it.
5196
5197 * loadup.el (fboundp): Preload regexp-opt, needed by
5198 imagemagick-register-types.
5199
60efac0f
CY
52002012-04-15 Chong Yidong <cyd@gnu.org>
5201
5202 * frame.el (scrolling): Remove nearly unused customization group.
5203
5204 * scroll-all.el (scroll-all-mode): Move to windows group.
5205
5dd1713e
CY
52062012-04-15 Chong Yidong <cyd@gnu.org>
5207
5208 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5209
e6fd457e
CY
52102012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5211
5212 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5213 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5214
e153c136
GM
52152012-04-15 Glenn Morris <rgm@gnu.org>
5216
5217 * simple.el (process-file-side-effects): Doc fix.
5218
e6fd457e 52192012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5220
5221 * international/mule-cmds.el (set-language-environment): Doc fix.
5222
3603c3b1
JB
52232012-04-14 Juanma Barranquero <lekktu@gmail.com>
5224
5225 * server.el (server-auth-key, server-generate-key): Doc fixes.
5226 (server-get-auth-key): Doc fix. Use `string-match-p'.
5227 (server-start): Reflow docstring.
5228
e6de100c
LI
52292012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5230
5231 * server.el (server-generate-key): `called-interactively-p'
5232 requires a parameter.
5233
29734c21
MN
52342012-04-14 Michal Nazarewicz <mina86@mina86.com>
5235
5236 * server.el (server-auth-key): New variable.
75f1671a 5237 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5238 (server-start): Use the new variable and functions to allow
5239 setting a permanent server key (bug#9423).
5240
d65c9521
LL
52412012-04-14 Leo Liu <sdl.web@gmail.com>
5242
5243 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5244
5ae255c7
PE
52452012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5246
5247 Spelling fixes.
5248 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5249 Emacs uses American spelling.
5250
d5e6342e
JB
52512012-04-14 Juanma Barranquero <lekktu@gmail.com>
5252
5253 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5254 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5255 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5256 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5257
ab036cd7
SM
52582012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5259
5260 * progmodes/which-func.el (which-func-modes): Change default.
5261
35dc09a1 52622012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5263
5264 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5265 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5266
35dc09a1 52672012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5268
5269 * custom.el (custom-theme-set-variables): Doc fix.
5270
35dc09a1 52712012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5272
5273 * international/mule.el (set-auto-coding-for-load): Doc fix.
5274
35dc09a1 52752012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5276
35dc09a1
GM
5277 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5278 imenu work again for Objective C Mode. Correct the *-index values,
5279 these having been disturbed by a previous change in 2011-08.
57f845ee 5280
0de3da9f
AM
5281 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5282 Correct two search limits.
5283
35dc09a1 52842012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5285
5286 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5287
35dc09a1 52882012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5289
5290 * international/characters.el: Fix sorting.
5291
35dc09a1 52922012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5293
5294 * international/characters.el: Add more missing Latin case pairs.
5295
35dc09a1 52962012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5297
5298 * files.el (dir-locals-set-class-variables): Doc fix.
5299
35dc09a1 53002012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5301
3f1b5bf8
EZ
5302 * international/characters.el: Add set-case-syntax-pair call for
5303 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5304 counterpart. (Bug#11209)
5305
9f847f41
EZ
5306 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5307
35dc09a1 53082012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5309
5310 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5311
35dc09a1 53122012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5313
35dc09a1
GM
5314 * textmodes/ispell.el (ispell-dictionary-base-alist):
5315 Add data for Hebrew.
e2627d21 5316
35dc09a1 53172012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5318
35dc09a1
GM
5319 * net/rcirc.el (rcirc-cmd-quit):
5320 Revert 2012-03-18 change (Bug#11192).
5c14e333 5321
35dc09a1 53222012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5323
5324 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5325
35dc09a1 53262012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5327
4517fe3a
SM
5328 * minibuffer.el (completion-in-region-mode-map):
5329 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5330
b472a594
VD
53312012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5332
5333 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5334
09b95ce3
MY
53352012-04-13 Masatake YAMATO <yamato@redhat.com>
5336
5337 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5338 to allow `C-M-f' and `C-M-b' to move to the nearest path
5339 separator (bug#9511).
5340
4b63a9ca
LI
53412012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5342
5343 * avoid.el: Require cl when compiling. And also move the
5344 `provide' to the end.
5345
7b55b8bf
TV
53462012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5347
5348 * avoid.el (mouse-avoidance-banish-position): New variable.
5349 (mouse-avoidance-banish-destination): Use it (bug#10165).
5350
adedaa1f
LL
53512012-04-13 Leo Liu <sdl.web@gmail.com>
5352
5353 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5354
70e74021
KB
53552012-04-13 Ken Brown <kbrown@cornell.edu>
5356
5357 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5358 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5359 (browse-url-filename-alist): For the same reason, don't modify
5360 file:// URLs on Cygwin.
5361
e75e89ba
SM
53622012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5363
5364 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5365 the region on shift if the binding is already shifted (bug#11221).
5366
82f289a4
GM
53672012-04-12 Glenn Morris <rgm@gnu.org>
5368
5369 * mail/mailpost.el: Move to obsolete/.
5370
d333dc4c
DA
53712012-04-12 Drew Adams <drew.adams@oracle.com>
5372
5373 * imenu.el (imenu--generic-function): Ignore invisible definitions
5374 (bug#10123).
5375
0d15b5ba
VD
53762012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5377
5378 * hexl.el (hexl-bits): New variable.
5379 (hexl-options): Mention the variable in the doc string.
75f1671a 5380 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5381 (hexl-mode): Mention the new variable.
75f1671a
JB
5382 (hexl-mode, hexl-current-address, hexl-current-address):
5383 Use the displen.
0d15b5ba
VD
5384 (hexl-ascii-start-column): New function.
5385 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5386 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5387
64a440db
AM
53882012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5389
5390 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5391 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5392 the encoding, as expected by hunspell.
5393
6decb6c2
SM
53942012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5395
5396 * battery.el (battery--linux-sysfs-regexp): New const.
5397 (battery-status-function): Use it. Remove yeeloong special case.
5398 (battery-yeeloong-sysfs): Remove.
5399 (battery-echo-area-format): Remove yeeloong special case.
5400
088be6fb
SM
54012012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5402
6622e416
SM
5403 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5404 Reported by Noah Friedman.
5405
088be6fb
SM
5406 * subr.el (read-passwd): Use read-string.
5407
b49f886e
LMI
54082012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5409
5410 * vcursor.el (vcursor-move): Increase the priority of the overlay
5411 (bug#9663).
5412
a63067fc
DD
54132012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5414
5415 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5416 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5417
ac3cf14a
WS
54182012-04-11 William Stevenson <yhvh2000@gmail.com>
5419
5420 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5421 define-minor-mode (bug#10760).
5422
c4fc691b 54232012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5424
4d6769e1 5425 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5426 that directories matching `grep-find-ignored-files' won't be
5427 pruned (bug#10351).
5428
af23e2e5
CY
54292012-04-11 Chong Yidong <cyd@gnu.org>
5430
5431 * startup.el (command-line): Remove support for long-obsolete
5432 variable font-lock-face-attributes.
5433
ab7ce8c1
GM
54342012-04-11 Glenn Morris <rgm@gnu.org>
5435
5436 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5437
de8c03dc
SM
54382012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5439
5440 * window.el (window--state-get-1): Obey window-point-insertion-type.
5441
050cc68b
LB
54422012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5443
5444 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5445 to previous function when point is on the first character of a
75f1671a 5446 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5447
a38c310c
GM
54482012-04-11 Glenn Morris <rgm@gnu.org>
5449
effed0c2
GM
5450 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5451 not just file-errors.
5452
a38c310c
GM
5453 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5454 (vc-bzr-sha1): Use internal sha1.
5455
0221e323
SM
54562012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5457
5458 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5459
43956923
SG
54602012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5461
5462 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5463 that start in the middle of the line (bug#10496).
5464
6a8c9eaf
DN
54652012-04-10 Dan Nicolaescu <dann@gnu.org>
5466
5467 * battery.el (battery-linux-proc-acpi): Only one battery is
5468 discharged at a time, but that seems to confuse battery.el when
5469 computing `rate-type' for the battery not being discharged
5470 (bug#10332).
5471
1930bf5d
SM
54722012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5473
2a718f6f
SM
5474 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5475
599430d0
SM
5476 * international/quail.el: Use dolist and simplify.
5477 (quail-define-package, quail-update-keyboard-layout)
5478 (quail-define-rules): Use dolist.
5479 (quail-insert-kbd-layout, quail-get-translation): CSE.
5480
a2754b6c
SM
5481 * tmm.el: Use dolist, remove left over hook.
5482 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5483 Use dolist.
5484 (calendar-load-hook): Don't mess with it.
5485
1930bf5d
SM
5486 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5487 Use derived-mode-p. Run the diff asynchronously.
5488
9f67961c
LMI
54892012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5490
5491 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5492
2a8ce227
JB
54932012-04-10 Juanma Barranquero <lekktu@gmail.com>
5494
5495 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5496 (list-dynamic-libraries--loaded): New function.
5497 (list-dynamic-libraries--refresh): Use it.
5498
8f33b5f8
NW
54992012-04-10 Nathan Weizenbaum <nweiz@google.com>
5500
1930bf5d
SM
5501 * progmodes/python.el (python-fill-paragraph):
5502 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5503 disabled (bug#7018).
5504
b12f0439
L
55052012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5506
1930bf5d 5507 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5508 DOS/MS Windows for the Baltic languages. There are still plenty
5509 of texts written in this encoding/codepage (bug#6519).
b12f0439 5510
57c3bd01
GM
55112012-04-10 Glenn Morris <rgm@gnu.org>
5512
5513 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5514 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5515
6c3eab30
FA
55162012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5517
1930bf5d 5518 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5519 next-line "n" and previous-line "p" in order to make recentf more
5520 consistent with ibuffer, dired or org-mode (bug#9387).
5521
24d78a88
LMI
55222012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5523
bc72b5d9
LMI
5524 * image.el (put-image): Return the overlay created instead of the
5525 optional input string (bug#7834). Note that this may break code
5526 that is (for some reason or other) depending on `put-image'
5527 returning the string.
5528
bd2dba5a
LMI
5529 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5530
74beb59f
LMI
5531 * simple.el (zap-to-char): Allow zapping using input methods
5532 (bug#1580).
5533
24d78a88
LMI
5534 * textmodes/fill.el (fill-region): Leave point and mark where they
5535 were before filling (bug#5399).
5536
263f20cd
GM
55372012-04-09 Glenn Morris <rgm@gnu.org>
5538
5539 * version.el (emacs-bzr-get-version):
5540 Handle lightweight checkouts of local branches.
5541
58d1f797
AS
55422012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5543
263f20cd 5544 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5545
b4d3bc10
CY
55462012-04-09 Chong Yidong <cyd@gnu.org>
5547
5548 * custom.el (custom-variable-p): Return nil for non-symbol
5549 arguments instead of signaling an error.
5550 (user-variable-p): Obsolete alias for custom-variable-p.
5551
5552 * apropos.el (apropos-variable):
5553 * files-x.el (read-file-local-variable):
5554 * simple.el (set-variable):
5555 * woman.el (woman-mini-help):
5556 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5557
fd06db5d
GM
55582012-04-09 Glenn Morris <rgm@gnu.org>
5559
e5fcdb5e
GM
5560 * startup.el (normal-top-level): Don't look for leim-list.el
5561 in places where it will not be found. (Bug#910)
5562
fd06db5d
GM
5563 * international/mule-cmds.el (set-default-coding-systems):
5564 * files.el (normal-mode):
5565 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5566 This function was removed with ucs-tables.el in 2008.
5567
b39bb7e1
EZ
55682012-04-08 Eli Zaretskii <eliz@gnu.org>
5569
5570 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5571 ispell-encoding8-command to "-i", without a trailing space.
5572 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5573 separate command-line arguments, to specify the encoding, since
5574 that's how hunspell expects it.
5575
5c5b8e23
GM
55762012-04-08 Glenn Morris <rgm@gnu.org>
5577
5578 * loadup.el: Load bindings before cus-start.
5579 This reduces somewhat the number of "rogue" settings in emacs -Q.
5580
a1ed8b05
GM
55812012-04-07 Glenn Morris <rgm@gnu.org>
5582
5583 * version.el (emacs-bzr-get-version): New function.
dfae128a 5584 (emacs-bzr-version): New variable.
a1ed8b05
GM
5585 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5586 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5587
b142f158
EZ
55882012-04-07 Eli Zaretskii <eliz@gnu.org>
5589
dfae128a
GM
5590 * international/uni-bidi.el, international/uni-category.el:
5591 * international/uni-combining.el, international/uni-decimal.el:
5592 * international/uni-decomposition.el, international/uni-digit.el:
5593 * international/uni-lowercase.el, international/uni-mirrored.el:
5594 * international/uni-name.el, international/uni-numeric.el:
5595 * international/uni-titlecase.el, international/uni-uppercase.el:
5596 Update for Unicode 6.1.
b142f158 5597
9078ead6
EZ
55982012-04-07 Eli Zaretskii <eliz@gnu.org>
5599
5600 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5601
f23d2c7d
LMI
56022012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5603
5604 * window.el (shrink-window): Mention the `window-min-height'
5605 variable in the doc string.
5606
0a0a3573
BG
56072012-04-05 Bastien Guerry <bzg@altern.org>
5608
5609 * color.el (color-lighten-name): Fix typo.
5610
e5248ac9
SM
56112012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5612
5613 * server.el (server--on-display-p): New function.
5614 (server--on-display-p): Use it.
5615
b4243e22
GV
56162012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5617
5618 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5619 (bug#11145).
5620
305d9f44
SM
56212012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5622
5623 * comint.el (comint--common-quoted-suffix): Check string boundary
5624 before comparing (bug#11158).
5625 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5626
3d439cd1
CY
56272012-04-04 Chong Yidong <cyd@gnu.org>
5628
321cc491
CY
5629 * minibuffer.el (completion-extra-properties): Doc fix.
5630
3d439cd1
CY
5631 * subr.el (delayed-warnings-hook): Doc fix.
5632
2d562c0f
DU
56332012-04-04 Daiki Ueno <ueno@unixuser.org>
5634
5635 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5636 selection (Bug#11159).
5637 (epa-insert-keys): Inform that the default public key will be
5638 exported if no key is selected.
5639
4443f204
RS
56402012-04-04 Richard Stallman <rms@gnu.org>
5641
5642 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5643
529c06b6
CY
56442012-04-03 Chong Yidong <cyd@gnu.org>
5645
5646 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5647 mail-insert-file, not its obsolete alias mail-attach-file.
5648
66b907dc
MA
56492012-04-03 Michael Albinus <michael.albinus@gmx.de>
5650
5651 * notifications.el (notifications-notify): Fix docstring.
5652
c0ea195d
GM
56532012-04-02 Glenn Morris <rgm@gnu.org>
5654
5655 * emacs-lisp/authors.el (authors-aliases): Another addition.
5656
5ca64e00
MA
56572012-04-02 Michael Albinus <michael.albinus@gmx.de>
5658
5659 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5660 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5661 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5662
42ee526b
CY
56632012-04-01 Chong Yidong <cyd@gnu.org>
5664
5665 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5666 Handle root directory properly.
5667 (copy-directory): Caller changed.
5668
5669 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5670 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5671
0b021094
GM
56722012-03-31 Glenn Morris <rgm@gnu.org>
5673
40f86458
GM
5674 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5675
7019c177
GM
5676 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5677
a1daddd6
GM
5678 * calendar/calendar.el (calendar-window-list)
5679 (calendar-hide-window): Restore. (Bug#11140)
5680 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5681
0b021094
GM
5682 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5683
40311efc
TV
56842012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5685
5686 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5687 Check if file is a symlink (Bug#10489).
5688
5689 * files.el (copy-directory): Likewise.
5690
5319014e
CY
56912012-03-30 Chong Yidong <cyd@gnu.org>
5692
5693 * image.el (imagemagick-types-inhibit)
5694 (imagemagick-register-types): Doc fix.
5695
935d1290
AM
56962012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5697
090bd7cb 5698 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5699 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5700 and treats ~word as ordinary words in pipe mode.
935d1290 5701
61c6e8fd
GM
57022012-03-30 Glenn Morris <rgm@gnu.org>
5703
5704 * tutorial.el (help-with-tutorial): Ensure local variables don't
5705 happen to make the buffer read-only. (Bug#11127)
5706
81fdff00
SM
57072012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5708
5709 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5710 (perl-calculate-indent): Return `noindent' in strings.
5711
6e7a6ec0
SS
57122012-03-28 Sam Steingold <sds@gnu.org>
5713
5714 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5715 instead of the broken adhockery which does not prevent calendar
5716 buffers from being displayed at random after exit.
5717 (calendar-window-list, calendar-hide-window): Remove the broken
5718 adhockery.
5719
fee88ca0
GM
57202012-03-28 Glenn Morris <rgm@gnu.org>
5721
5722 * replace.el (query-replace-map): Doc fix.
5723
38de3354
AS
57242012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5725
5726 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5727 contents. (Bug#11109)
5728
b973155e
SM
57292012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5730
5731 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5732 (bug#11077).
5733 (avl-tree--check, avl-tree--check-node): New funs.
5734
dcb6e7b3
MR
57352012-03-27 Martin Rudalics <rudalics@gmx.at>
5736
5737 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5738 (switch-to-prev-buffer, switch-to-next-buffer):
5739 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5740 showing a buffer already is done on the same frame.
5741
b4fa35fa
GM
57422012-03-27 Glenn Morris <rgm@gnu.org>
5743
5744 * startup.el (mail-host-address): Doc fix.
5745
f9210e18
SM
57462012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5747
5748 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5749 than 197 variables.
5750
c0bf7753
AF
57512012-03-26 Ami Fischman <ami@fischman.org>
5752
5753 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5754
33da7b16
GM
57552012-03-26 Glenn Morris <rgm@gnu.org>
5756
02243d9d
GM
5757 * files.el (save-buffers-kill-emacs): Doc fix.
5758
33da7b16
GM
5759 * startup.el (normal-top-level, command-line, command-line-1):
5760 Give them doc strings.
5761
e5a69fd0
EZ
57622012-03-25 Eli Zaretskii <eliz@gnu.org>
5763
5764 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5765 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5766
9a69676a
CY
57672012-03-25 Chong Yidong <cyd@gnu.org>
5768
4125cb8b
CY
5769 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5770 theme if it was previously enabled before (Bug#11031).
5771
dd470960
CY
5772 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5773 spec with custom-face-get-current-spec if its :shown-value is not
5774 determined yet (Bug#9337).
4125cb8b 5775 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5776
9a69676a
CY
5777 * button.el (button-at): Minor addition to docstring.
5778
6e7e90fa
SL
57792012-03-24 Simon Leinen <simon.leinen@gmail.com>
5780
5781 * vc/vc.el (vc-merge): Fix a prompt.
5782
f06e2758
CY
57832012-03-24 Chong Yidong <cyd@gnu.org>
5784
5785 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5786 point (Bug#9623).
5787
6e7e90fa
SL
5788 * button.el (button-at): Minor addition to docstring.
5789
b9d0879b
SM
57902012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5791
5792 * newcomment.el (comment-choose-indent): No space after BOL.
5793
e71cebb3
SS
57942012-03-22 Sam Steingold <sds@gnu.org>
5795
5796 * window.el (switch-to-prev-buffer): Revert last patch because the
5797 bug turned out to be an advertised feature (Elisp manual 28.14).
5798
335aff35
GM
57992012-03-22 Glenn Morris <rgm@gnu.org>
5800
5801 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5802 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5803
c676576a
LMI
58042012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5805
5806 * net/network-stream.el (network-stream-open-starttls): Make error
5807 message under Windows be less misleading.
5808
126f3d39
LW
58092012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5810
5811 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5812 understands (bug#9942).
5813
64fee311
CY
58142012-03-22 Chong Yidong <cyd@gnu.org>
5815
5816 * simple.el (end-of-visible-line): Handle return value of
5817 next-single-property-change properly (Bug#9371).
5818
a640d29a
KH
58192012-03-22 Kenichi Handa <handa@m17n.org>
5820
5821 * international/quail.el (quail-insert-kbd-layout): Fix previous
5822 change. To avoid unwanted bidi reordering, use
5823 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5824
39675016
DG
58252012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5826
5827 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5828 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5829 (ruby-beginning-of-indent): Be more careful with the difference
5830 between word-boundary and symbol boundary.
5831 (ruby-mode-syntax-table): Make : a symbol constituent.
5832
0a6934fc 58332012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5834
3d008e4f
SM
5835 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5836
0a6934fc
SM
58372012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5838
af67c9d7
SM
5839 * progmodes/etags.el (tags-completion-at-point-function):
5840 Improve last fix.
5841
1acad97c
SM
5842 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5843
e298b5da
SS
58442012-03-21 Sam Steingold <sds@gnu.org>
5845
5846 * progmodes/etags.el (tags-completion-at-point-function):
5847 Avoid the error when point is inside the pattern.
5848
91d82a70
JY
58492012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5850
5851 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5852 line (Bug#10855).
5853
69188b79
CY
58542012-03-21 Drew Adams <drew.adams@oracle.com>
5855
5856 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5857
99fc91fe
AK
58582012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5859
5860 * ido.el (ido-set-current-directory, ido-read-internal)
5861 (ido-choose-completion-string, ido-completion-help): Handle nil
5862 value of ido-completion-buffer (Bug#11008).
5863
087bbb4c
SS
58642012-03-21 Sam Steingold <sds@gnu.org>
5865
5866 * window.el (switch-to-prev-buffer): Do not switch to a visible
5867 window previous buffer, just like with the frame previous buffers.
5868
fb5b8aca
CY
58692012-03-21 Chong Yidong <cyd@gnu.org>
5870
5871 * faces.el (make-face, make-empty-face, copy-face):
5872 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5873 Doc fixes.
5874
dc9924b8
SM
58752012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5876
5877 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5878 (widget-complete): Remove broken use of it.
5879
f0bcceb9
CY
58802012-03-20 Chong Yidong <cyd@gnu.org>
5881
dc9924b8
SM
5882 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5883 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5884 characters.
5885
ee52ebf3
TH
58862012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5887
5888 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5889 to draw rectangles, not squares. (Regression introduced by revno
5890 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5891
4c5779ab
CY
58922012-03-18 Chong Yidong <cyd@gnu.org>
5893
5894 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5895 it is not yet defined (for temacs).
5896
15360934
LL
58972012-03-18 Leo Liu <sdl.web@gmail.com>
5898
dc9924b8 5899 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5900
d9a8eb66
EZ
59012012-03-17 Eli Zaretskii <eliz@gnu.org>
5902
5903 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5904 (ispell-choices-win-default-height, ispell-silently-savep)
5905 (ispell-dictionary-alist, ispell-encoding8-command)
5906 (ispell-check-version, ispell-aspell-find-dictionary)
5907 (ispell-valid-dictionary-list, ispell-words-keyword)
5908 (ispell-get-word, ispell-internal-change-dictionary)
5909 (ispell-region, ispell-skip-region-list)
5910 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5911 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5912 (ispell-message-text-end, ispell-message)
5913 (ispell-buffer-local-parsing): Doc fix.
5914
f02ff80d
J
59152012-03-13 Jambunathan K <kjambunathan@gmail.com>
5916
5917 * htmlfontify.el: Add support for code block fontification for ODT
5918 export (Bug #9914).
5919 (hfy-optimisations): Define new option
5920 `body-text-only'
5921 (hfy-fontify-buffer): Honor above setting.
5922 (hfy-begin-span, hfy-end-span): New routines factored out form
5923 `hfy-fontify-buffer'.
5924 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5925 that permit insertion of custom tags.
5926 (hfy-fontify-buffer): Use above handlers.
5927 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5928 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5929 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5930 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5931 bind a special variable `hfy-user-sheet-assoc'.
5932 (htmlfontify-string): New defun.
5933 (hfy-compile-face-map): Make sure that the last char in the
5934 buffer is correctly fontified.
5935 (hfy-face-resolve-face): Whitespace only change.
5936
9ac7a13f
EZ
59372012-03-17 Eli Zaretskii <eliz@gnu.org>
5938
5939 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5940 message more clear.
5941
e2b5bdd7
LL
59422012-03-16 Leo Liu <sdl.web@gmail.com>
5943
5944 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5945
2e492df3
AM
59462012-03-16 Alan Mackenzie <acm@muc.de>
5947
5948 Further optimise the handling of large macros.
5949
5950 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5951 limit to a call of `c-literal-limits'.
5952 (c-determine-+ve-limit): New function.
dc9924b8
SM
5953 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5954 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5955 In CASE 5B, restrict a search limit to 500.
5956 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5957
5958 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5959 Restrict macro bounds to +-500 from after-change's BEG END.
5960
50e94f0c
LL
59612012-03-16 Leo Liu <sdl.web@gmail.com>
5962
5963 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5964
6f09f6ed
AH
59652012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5966
5967 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5968 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5969
c7e73d51
GM
59702012-03-16 Glenn Morris <rgm@gnu.org>
5971
da986230
GM
5972 * view.el (view-buffer, view-buffer-other-window)
5973 (view-buffer-other-frame): Doc fixes re special mode-class.
5974
0835f01e
GM
5975 * subr.el (eval-after-load): If named feature is provided not from
5976 a file, run after-load forms. (Bug#10946)
5977
c7e73d51
GM
5978 * calendar/calendar.el (calendar-insert-at-column):
5979 Handle non-unit-width characters a bit better. (Bug#10978)
5980
3f2eafd1
CY
59812012-03-15 Chong Yidong <cyd@gnu.org>
5982
5983 * emacs-lisp/ring.el (ring-extend): New function.
5984 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5985
5986 * comint.el (comint-read-input-ring)
5987 (comint-add-to-input-history): Grow comint-input-ring lazily.
5988
103af3fe
SM
59892012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5990
663b1677
SM
5991 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5992 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5993
103af3fe
SM
5994 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5995 (imenu-add-to-menubar): Don't add a redundant index.
5996 (imenu-update-menubar): Handle a dynamically composed keymap.
5997
899cb7cb
KY
59982012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5999
6000 * mail/sendmail.el (mail-encode-header):
6001 Bind rfc2047-encode-encoded-words to nil.
6002
3809f91d
GM
60032012-03-13 Glenn Morris <rgm@gnu.org>
6004
6005 * calendar/calendar.el (calendar-string-spread):
6006 Handle non-unit-width characters a bit better. (Bug#10978)
6007
9e345a01
LL
60082012-03-13 Leo Liu <sdl.web@gmail.com>
6009
6010 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6011 directory and file as argument (Bug#10822).
6012
4a07df36
KS
60132012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6014
6015 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6016 For dynamically generated code, follow $PC.
6017 (gdb-disassembly-handler-custom): Handle no function name case.
6018
4aaa9356
TL
60192012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6020
6021 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6022 * emulation/ws-mode.el (ws-query-replace):
6023 * sort.el (sort-regexp-fields):
6024 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6025
225979da
SM
60262012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6027
6028 * dabbrev.el: Fix cycle completion order (bug#10963).
6029 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6030 (dabbrev-completion): Don't use an obarray; provide
6031 a cycle-sort-function.
6032
e2f1fdab
LL
60332012-03-12 Leo Liu <sdl.web@gmail.com>
6034
dc9924b8 6035 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6036 (kill-do-not-save-duplicates): Doc fix.
6037
b19490ed
SM
60382012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6039
6040 * dabbrev.el: Fix cycle completion (bug#10963).
6041 Use lexical binding and wrap to 80 columns.
6042 (dabbrev-completion): Delay computing the list of completions.
6043
4b05d722
KH
60442012-03-12 Kenichi Handa <handa@m17n.org>
6045
6046 * international/quail.el (quail-insert-kbd-layout): Surround each
6047 row by LRO and PDF instead of inserting many LRMs. Pad the left
6048 and right of each non-spacing marks. Insert invisible space
6049 between lower and upper characters to prevent composition.
6050
dbbc2e69
SM
60512012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6052
6053 * minibuffer.el (minibuffer-complete): Don't get confused when the
6054 function is run twice via different commands (bug#10958).
6055 (complete-with-action): Fix docstring.
6056
292112ed
CY
60572012-03-12 Chong Yidong <cyd@gnu.org>
6058
5d1ac394
CY
6059 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6060 (nxml-completion-at-point-function): New function.
6061 (nxml-mode): Use it.
6062 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6063
292112ed
CY
6064 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6065 Load generated autoloads file before byte compiling (Bug#10970).
6066 (package--make-autoloads-and-compile): New helper fun.
6067
4098f8f7
CS
60682012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6069
6070 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6071
8f754691
MA
60722012-03-11 Michael Albinus <michael.albinus@gmx.de>
6073
6074 * autorevert.el (auto-revert-handler): Ensure, that
6075 file-readable-p is applied only for local files or in
6076 auto-revert-tail-mode.
6077
e29ab36b
AS
60782012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6079
dbbc2e69
SM
6080 * server.el (server-eval-at): Handle non-tcp connections.
6081 Decode result string.
ad0bf5b6 6082
e29ab36b
AS
6083 * server.el (server-msg-size): New constant.
6084 (server-reply-print): New function.
6085 (server-eval-and-print): Use it.
6086 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6087 Handle -print-nonl.
6088
de5939ba
CS
60892012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6090
6091 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6092 (Bug#10987).
6093
0c93eabf
CY
60942012-03-11 Chong Yidong <cyd@gnu.org>
6095
397a688f
CY
6096 * simple.el (goto-line): Doc fix (Bug#9938).
6097
2cc775f9
CY
6098 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6099
0c93eabf
CY
6100 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6101 when finished (Bug#10963).
6102
c491fa41
MR
61032012-03-11 Martin Rudalics <rudalics@gmx.at>
6104
6105 * window.el (split-window-below): Fix bug in case where
6106 split-window-keep-point is nil (Bug#10971).
6107
300e8fa5
JL
61082012-03-11 Juri Linkov <juri@jurta.org>
6109
6110 * replace.el (replace-highlight): Set isearch-word to nil
6111 unconditionally. (Bug#10887)
6112
dbf6c5a1
EZ
61132012-03-10 Eli Zaretskii <eliz@gnu.org>
6114
6115 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6116 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6117 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6118 (mairix-widget-create-query): Add usage information about mairix
6119 search forms: negating words, searching for substrings, etc.
6120
b9e501de
JP
61212012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6122
6123 * international/fontset.el (font-encoding-alist): Add an entry for
6124 ksx1001 (Bug#5667).
6125
92795c91
RS
61262012-03-10 Richard Stallman <rms@gnu.org>
6127
1694e6c1
RS
6128 * mail/sendmail.el (mail-encode-header):
6129 Set rfc2047-encode-encoded-words.
6130
607e8555
RS
6131 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6132
de3bc99a
RS
6133 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6134 view buffer means not swapped.
6135 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6136 (rmail-write-region-annotate): Error if real text has disappeared.
6137
92795c91
RS
6138 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6139
699bd04e
CY
61402012-03-10 Chong Yidong <cyd@gnu.org>
6141
6142 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6143 * emulation/cua-base.el (cua--init-keymaps):
6144 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6145
570a1714
MR
61462012-03-10 Martin Rudalics <rudalics@gmx.at>
6147
dbbc2e69
SM
6148 * speedbar.el (speedbar-unhighlight-one-tag-line):
6149 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6150
82dcf4e4
CY
61512012-03-10 Chong Yidong <cyd@gnu.org>
6152
7a2c7ca7
CY
6153 * minibuffer.el (completion-in-region, completion-help-at-point):
6154 Give the completion field overlay a high priority (Bug#6830).
6155
82dcf4e4
CY
6156 * dired.el (dired-goto-file): Recognize absolute file name
6157 listings (Bug#7126).
6158 (dired-goto-file-1): New helper function.
6159 (dired-toggle-read-only): Inhibit warnings.
6160
052e28ac
MA
61612012-03-09 Michael Albinus <michael.albinus@gmx.de>
6162
75f1671a 6163 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6164 there are no properties.
6165
95d5e396
LL
61662012-03-09 Leo Liu <sdl.web@gmail.com>
6167
6168 * savehist.el (savehist-printable): Stricter check for string
6169 value (Bug#10937).
6170
3f018d6d
EZ
61712012-03-09 Eli Zaretskii <eliz@gnu.org>
6172
dbbc2e69
SM
6173 * mail/smtpmail.el (smtpmail-send-it):
6174 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6175 valid mbox format.
6176
f7fd3d79
GM
61772012-03-09 Glenn Morris <rgm@gnu.org>
6178
6179 * files.el (dir-locals-find-file):
6180 Don't check result is regular, readable.
6181 (dir-locals-read-from-file): Demote errors.
6182
6ff6e72f
EZ
61832012-03-08 Eli Zaretskii <eliz@gnu.org>
6184
dbbc2e69
SM
6185 * international/quail.el (quail-insert-kbd-layout):
6186 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6187 layout cell, to prevent their reordering by bidi display engine.
6188 For details, see the discussion in
6189 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6190
9cec7834
AM
61912012-03-08 Alan Mackenzie <acm@muc.de>
6192
6193 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6194 the starting position; make it extend the marked region when
6195 invoked repeatedly - all under appropriate circumstances.
6196 Fixes bugs #5525, #10906.
6197
9a40b8d4
GM
61982012-03-08 Glenn Morris <rgm@gnu.org>
6199
6200 * files.el (locate-dominating-file, dir-locals-find-file):
6201 Undo 2012-03-06 change.
6202
7a08ed35
EZ
62032012-03-07 Eli Zaretskii <eliz@gnu.org>
6204
dbbc2e69
SM
6205 * international/quail.el (quail-help):
6206 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6207 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6208 for the reason.
6209
5aca4f71 62102012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6211
6212 Avoid superfluous registering of signals. (Bug#10807)
6213
6214 * notifications.el (notifications-on-action-object)
6215 (notifications-on-close-object): New defvars.
6216 (notifications-on-action-signal, notifications-on-closed-signal):
6217 Unregister the signal if not needed any longer.
6218 (notifications-notify): Register `notifications-action-signal' or
6219 `notifications-closed-signal', if :on-action or :on-close has been
6220 passed as argument.
6221
78e8b10a
CY
62222012-03-07 Chong Yidong <cyd@gnu.org>
6223
6224 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6225 non-X platforms.
6226
69481eb8
GM
62272012-03-06 Glenn Morris <rgm@gnu.org>
6228
6229 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6230 (x-disown-selection-internal, x-get-selection-internal):
6231 Doc fix (add arglist signatures). (Bug#10783)
6232
133b8e11
KS
62332012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6234
6235 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6236 Handle breakpoints with no "type".
6237
99a83064
GM
62382012-03-06 Glenn Morris <rgm@gnu.org>
6239
6240 * files.el (locate-dominating-file): Add optional predicate argument.
6241 (dir-locals-find-file): Make use of above change.
6242
17798e78
TTN
62432012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6244
6245 * info.el (Info-insert-dir): Also try "dir.gz".
6246
eb182446
GM
62472012-03-06 Glenn Morris <rgm@gnu.org>
6248
8f2114ee
GM
6249 * files.el (dir-locals-find-file):
6250 Ignore non-readable or non-regular files. (Bug#10928)
6251
eb182446
GM
6252 * files.el (locate-dominating-file): Doc fix.
6253
24679323
AS
62542012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6255
6256 * calendar/calendar.el (calendar-set-mode-line):
6257 `getenv' returns a string. (Bug#10951)
6258
01d972a9
LL
62592012-03-05 Leo Liu <sdl.web@gmail.com>
6260
109aa8a9
LL
6261 * simple.el (backward-delete-char-untabify): Constrain point to
6262 field (Bug#10939).
6263
01d972a9
LL
6264 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6265
10607bea
CY
62662012-03-05 Chong Yidong <cyd@gnu.org>
6267
6268 * simple.el (count-words): If called from Lisp, return the word
6269 count, for symmetry with `count-lines'. Arglist changed.
6270 (count-words--message): Args changed. Consolidate counting code
6271 from count-words and count-words-region.
6272 (count-words-region): Caller changed.
6273 (count-lines-region): Make it an obsolete alias.
6274
5dd11cfe
TH
62752012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6276
6277 * saveplace.el (save-place-to-alist)
6278 (save-place-ignore-files-regexp): Allow value nil to disable this
6279 feature.
6280
c349f4e6
CY
62812012-03-04 Chong Yidong <cyd@gnu.org>
6282
6283 * faces.el (face-spec-reset-face): For the default face, reset the
6284 attributes to default values (Bug#10748).
6285
e627be4c
LMI
62862012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6287
6288 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6289 previous patch: Check `message-send-mail-function', and not the
6290 default function (bug#10897).
6291
ebeabff4
MA
62922012-03-04 Michael Albinus <michael.albinus@gmx.de>
6293
a41a6cf4
MA
6294 * notifications.el (notifications-on-action-signal)
6295 (notifications-on-closed-signal): Check for unique service name of
6296 incoming event. Fix error in removing entry.
ebeabff4 6297 (top): Register for signals with wildcard service name.
a41a6cf4 6298 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6299
c1ca42b4
CY
63002012-03-04 Chong Yidong <cyd@gnu.org>
6301
dc9924b8 6302 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6303
ea16568d
GM
63042012-03-04 Glenn Morris <rgm@gnu.org>
6305
6306 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6307 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6308 (expand-abbrev, define-abbrev-table): Doc fixes.
6309
fbae4637
LMI
63102012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6311
6312 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6313 `message-default-send-mail-function' and not `send-mail-function'
6314 when doing the prompting for `sendmail-query-once' before sending
6315 in Message buffers (bug#10897).
6316
a1e7225c
LMI
6317 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6318 This is inconsistent with all the other stream functions, which leave
6319 the setting up to the higher levels (if so wanted) (bug#10931).
6320
56d093a9
AM
63212012-03-02 Alan Mackenzie <acm@muc.de>
6322
6323 Depessimize the handling of very large macros.
6324
6325 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6326 (c-macro-cache-syntactic): New variables to implement a one
6327 element macro cache.
6328 (c-invalidate-macro-cache): New function.
6329 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6330 Adapt to use the new cache.
6331 (c-state-safe-place): Use better the cache of safe positions.
6332 (c-state-semi-nonlit-pos-cache)
6333 (c-state-semi-nonlit-pos-cache-limit):
6334 New variables for...
6335 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6336 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6337 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6338 Use c-state-semi-safe-place.
56d093a9 6339
dbbc2e69
SM
6340 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6341 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6342
817e5c3d
MA
63432012-03-02 Michael Albinus <michael.albinus@gmx.de>
6344
dbbc2e69
SM
6345 * jka-compr.el (jka-compr-call-process):
6346 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6347 not remote.
6348
a032a702
MA
63492012-03-01 Michael Albinus <michael.albinus@gmx.de>
6350
6351 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6352 access of FILE2, if FILE1 does not exist.
6353
99a54f21
MA
6354 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6355 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6356
6357 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6358 Add "PAGER=" to `process-environment'.
6359
f6561e1f
MM
63602012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6361
6362 * progmodes/sql.el: Bug fix
6363 (sql-get-login-ext): Save login values in globals.
6364 (sql-get-login): Use new version of `sql-get-login-ext'.
6365 (sql-interactive-mode): Set global `sql-connection' to nil.
6366 (sql-connect): Set global values for connection.
6367 (sql-product-interactive): Save global values as buffer local.
6368
2d44d9cc
LL
63692012-02-29 Leo Liu <sdl.web@gmail.com>
6370
6371 * abbrev.el (define-abbrevs): Reset sys to nil.
6372
96b49301 63732012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6374
bf7f9bc5
JB
6375 * files.el (file-equal-p): Rename from `files-equal-p'.
6376 Return nil when one or both files don't exist.
96b49301 6377 (file-subdir-of-p): Now only top directory must exists,
6378 return nil if it doesn't.
bf7f9bc5
JB
6379 (copy-directory): No need to test with `file-subdir-of-p' after
6380 creating dir.
6381 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6382 to `file-equal-p'.
96b49301 6383
44e97401
GM
63842012-02-28 Glenn Morris <rgm@gnu.org>
6385
6386 * shell.el (shell-mode):
6387 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6388 * play/landmark.el (landmark-font-lock-face-O):
6389 * play/handwrite.el (handwrite):
6390 * play/gomoku.el (gomoku-O):
6391 * net/browse-url.el (browse-url-browser-display):
6392 * international/mule.el (define-charset):
6393 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6394 * filesets.el (filesets-find-file-delay):
6395 * eshell/em-xtra.el (eshell-xtra):
6396 * eshell/em-unix.el (eshell-grep):
6397 * emulation/viper.el (viper-mode):
6398 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6399 * emacs-lisp/easymenu.el (easy-menu-define):
6400 * calendar/timeclock.el (timeclock-use-display-time):
6401 * bs.el (bs-mode):
6402 * bookmark.el (bookmark-save-flag):
6403 Doc fix (standardize possessive apostrophe usage).
6404
c98c6276
CY
64052012-02-27 Chong Yidong <cyd@gnu.org>
6406
bf7f9bc5
JB
6407 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6408 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6409
c98c6276
CY
6410 * font-lock.el (font-lock-specified-p): Rename from
6411 font-lock-spec-present. Callers changed.
6412
9c62cd04 64132012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6414
bf7f9bc5
JB
6415 * emacs-lisp/package.el (package-compute-transaction):
6416 Handle holding a package version to t in package-load-list.
8ac9e529 6417
530739c9
MA
64182012-02-26 Michael Albinus <michael.albinus@gmx.de>
6419
6420 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6421 (tramp-get-inode, tramp-get-device): Use cached values.
6422
487915d7
AM
64232012-02-26 Alan Mackenzie <acm@muc.de>
6424
6425 Check there is a font-lock specification before doing initial
6426 fontification.
6427
6428 * font-core.el (font-lock-mode): Move the conditional from
6429 :after-hook to font-lock-initial-fontify.
6430 (font-lock-default-function): Move the check for a specification
6431 to font-lock-spec-present.
6432
dc9924b8 6433 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6434 (font-lock-spec-present): New function.
6435
4fd96557
JB
64362012-02-26 Jim Blandy <jimb@red-bean.com>
6437
6438 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6439 (gdb-send): Apply it to the operand of the '-interpreter-exec
6440 console' command, so that we can pass arguments with (say) quotes
6441 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6442
9a4888c0
CY
64432012-02-26 Chong Yidong <cyd@gnu.org>
6444
07498861
CY
6445 * help-fns.el (describe-function-1): Clarify description of
6446 remapping (Bug#10844).
6447
9a4888c0
CY
6448 * files.el (files-equal-p): Doc fix.
6449 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6450 and quit the loop once a mismatch is found.
6451
ea8fb88d
JB
64522012-02-25 Juanma Barranquero <lekktu@gmail.com>
6453
6454 * bs.el (bs--show-with-configuration): Don't throw an error
6455 if the window cannot be split; otherwise, subsequent calls to
6456 bs-show fail, restoring a stale window config. (Bug#10882)
6457
525795c1
JD
64582012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6459
6460 * term/ns-win.el (global-map): Bind ns-drag-file to
6461 ns-find-file (Bug#5855, Bug#10050).
6462
f008086f
AS
64632012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6464
6465 * calendar/parse-time.el (parse-time-string): Allow extractor to
6466 return nil.
6467
a3fcfa99
MA
64682012-02-25 Michael Albinus <michael.albinus@gmx.de>
6469
91027d08
JB
6470 * net/tramp.el (tramp-file-name-for-operation):
6471 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6472
6473 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6474 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6475 Add COPY-CONTENTS argument.
a3fcfa99 6476
67b0de11
CY
64772012-02-25 Chong Yidong <cyd@gnu.org>
6478
6479 Add custom groups for VC backends, for consistency with vc-bzr.
6480
6481 * vc/vc-arch.el (vc-arch):
6482 * vc/vc-cvs.el (vc-cvs):
6483 * vc/vc-git.el (vc-git):
6484 * vc/vc-hg.el (vc-hg):
6485 * vc/vc-mtn.el (vc-mtn):
6486 * vc/vc-rcs.el (vc-rcs):
6487 * vc/vc-sccs.el (vc-sccs):
6488 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6489 All relevant defcustoms reassigned.
6490
3c9dfce6
CY
64912012-02-25 Chong Yidong <cyd@gnu.org>
6492
1339bf43
CY
6493 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6494
3c9dfce6
CY
6495 * term/x-win.el (x-initialize-window-system): Reduce default for
6496 x-selection-timeout to 5 seconds (Bug#8869).
6497
25b2e303 64982012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6499
ec70a47d
GM
6500 * files.el (files-equal-p, file-subdir-of-p): New functions.
6501 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6502 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6503 * dired-aux.el (dired-copy-file-recursive): Same.
6504 (dired-create-files): Modify destination when source is equal to
6505 dest when copying files.
53a46cd0 6506 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6507
914260cd
MA
65082012-02-24 Michael Albinus <michael.albinus@gmx.de>
6509
6510 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6511 (Bug#10874)
6512
2cb228f7
AM
65132012-02-23 Alan Mackenzie <acm@muc.de>
6514
6515 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6516 parameter "after-hook:" to allow the expansion to run code after
6517 the execution of the mode hooks.
6518
6519 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6520 from font-lock-mode-internal.
2cb228f7 6521
91027d08 6522 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6523 :after-hook.
6524
8f0fde21
SM
65252012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6526
3e88618b
SM
6527 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6528 (completion--cache-all-sorted-completions): New function.
6529 (completion-all-sorted-completions): Use it.
6530 (completion--do-completion, minibuffer-force-complete):
6531 Use it to re-instate the flush hook.
6532
8f0fde21
SM
6533 * icomplete.el (icomplete-completions): Replace last fix with a better
6534 one (bug#10850).
6535
8e911f6f
DG
65362012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6537
6538 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6539 when it might call us back infinitely (bug#10797).
6540
49fe4321
GM
65412012-02-23 Glenn Morris <rgm@gnu.org>
6542
6543 * minibuffer.el (completion-category-overrides): Doc fix.
6544
b291b572
SM
65452012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6546
6547 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6548 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6549
31a9ef2e
GM
65502012-02-23 Glenn Morris <rgm@gnu.org>
6551
5e6e6794 6552 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6553 (authors-obsolete-files-regexps, authors-ignored-files)
6554 (authors-ambiguous-files, authors-renamed-files-alist):
6555 Add more entries.
6556
0bd1e074
JL
65572012-02-23 Juri Linkov <juri@jurta.org>
6558
6559 * isearch.el (isearch-occur): Sync interactive spec with occur's
6560 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6561
b617673c
JL
6562 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6563
19e9789e
JL
65642012-02-22 Juri Linkov <juri@jurta.org>
6565
6566 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6567 (ucs-insert): Doc fix. Check for hex digits in the string.
6568 Don't display `nil' in the error message. (Bug#10857)
6569
f41ce09d
AM
65702012-02-22 Alan Mackenzie <acm@muc.de>
6571
7a71b18d 6572 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6573
ac2eceee
GM
65742012-02-22 Glenn Morris <rgm@gnu.org>
6575
6576 * ffap.el (ffap-c-path):
6577 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6578
abd1f678
CY
65792012-02-22 Chong Yidong <cyd@gnu.org>
6580
6581 * custom.el (load-theme): Doc fix.
6582
f25aef2e
GM
65832012-02-22 Glenn Morris <rgm@gnu.org>
6584
6585 * dired-x.el (dired-guess-shell-alist-default):
6586 Remove escape sequences from nroff output. (Bug#172)
6587
5f8dc2ca
GM
65882012-02-21 Glenn Morris <rgm@gnu.org>
6589
6ff86ec4
GM
6590 * vc/emerge.el (emerge-defvar-local):
6591 Set `permanent-local' property rather than unused `preserved'.
6592
be3223a3 6593 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6594 (picture-mode-map): Use it. (Bug#10860)
6595 (picture-mode): Doc fix.
6596
3fe58f4f
JB
65972012-02-21 Juanma Barranquero <lekktu@gmail.com>
6598
6599 * newcomment.el (uncomment-region-default): Remove unused binding.
6600
f9a998c3
GM
66012012-02-21 Glenn Morris <rgm@gnu.org>
6602
6603 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6604 (picture-self-insert, picture-tab-chars): Doc fix.
6605 (picture-mode-map): Fix C-a, C-e.
6606
c6029348
GM
66072012-02-20 Glenn Morris <rgm@gnu.org>
6608
6609 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6610
ab1ce9d7
LL
66112012-02-20 Leo Liu <sdl.web@gmail.com>
6612
6613 * icomplete.el (icomplete-completions): Check FROM arg before
6614 passing to substring (Bug#10850).
6615
0fd40f89
CY
66162012-02-19 Chong Yidong <cyd@gnu.org>
6617
6618 * comint.el: Require ansi-color.
6619 (comint-output-filter-functions): Add ansi-color-process-output.
6620
6621 * ansi-color.el: Don't set comint-output-filter-functions; it is
6622 now in the initial value defined in comint.el.
6623 (ansi-color-apply-face-function): New variable.
6624 (ansi-color-apply-on-region): Use it.
6625 (ansi-color-apply-overlay-face): New function.
6626
6627 * shell.el (shell): No need to require ansi-color.
6628 (shell-mode): Use ansi-color-apply-face-function to highlight
6629 color escapes using font-lock-face property (Bug#10835).
6630
20af2394
CY
66312012-02-19 Chong Yidong <cyd@gnu.org>
6632
6633 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6634 mode-line formats (Bug#10839).
6635
e23a3fbe
GM
66362012-02-18 Glenn Morris <rgm@gnu.org>
6637
b474519e
GM
6638 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6639
6640 * mail/undigest.el (unforward-rmail-message): Doc fix.
6641
e23a3fbe
GM
6642 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6643
57939ff4
EZ
66442012-02-18 Eli Zaretskii <eliz@gnu.org>
6645
6646 * international/characters.el (script-list): Sync with the latest
6647 Unicode Character Database.
6648
0c23686e
AS
66492012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6650
6651 * international/titdic-cnv.el: Remove duplicate coding tag.
6652 * language/cham.el: Likewise.
6653 * language/tai-viet.el: Likewise.
6654
6818b449
GM
66552012-02-18 Glenn Morris <rgm@gnu.org>
6656
6657 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6658 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6659 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6660 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6661 * calendar/holidays.el (holiday-bahai-holidays)
6662 (calendar-holidays, list-holidays):
6663 Use utf-8 Bahá'í in doc-strings, menus, etc.
6664
0311a3fc
TH
66652012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6666
6667 * saveplace.el (save-place-ignore-files-regexp): New variable
6668 allowing for excluding files from saving their location of point.
6669 The default value matches the temporary commit message editing
6670 files from Git, SVN, Bazaar, and Mercurial.
6671 (save-place-to-alist): Use it.
6672
d209e2fb 66732012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6674 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6675
6676 * newcomment.el (uncomment-region-default): Don't leave extra space
6677 when an arg is provided (bug#8150).
6678
ee0ce425
TZ
66792012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6680
eb864a71 6681 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6682
95ddf442
GM
66832012-02-17 Glenn Morris <rgm@gnu.org>
6684
6685 * net/socks.el: Require network-stream. (Bug#10599)
6686
48dd1e39 66872012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6688
6689 * international/charprop.el:
6690 * international/uni-name.el:
6691 * international/uni-old-name.el:
6692 * international/uni-comment.el: Regenerate.
6693
d68cd087
GM
66942012-02-16 Glenn Morris <rgm@gnu.org>
6695
6696 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6697 Interactively in calendar buffer, give an error if not on a date.
6698
13932042
GM
66992012-02-15 Glenn Morris <rgm@gnu.org>
6700
6701 * shell.el (shell-delimiter-argument-list):
6702 Revert 2011-02-17 change. (Bug#8027)
6703
c3a70e2b
CY
67042012-02-15 Chong Yidong <cyd@gnu.org>
6705
60236b0d
CY
6706 * minibuffer.el (completion-at-point-functions): Doc fix.
6707
c3a70e2b
CY
6708 * custom.el (defcustom): Doc fix; note use of defvar.
6709
9f26dc24
GM
67102012-02-15 Glenn Morris <rgm@gnu.org>
6711
6712 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6713 Doc fixes.
6714
6546b134
GM
67152012-02-14 Glenn Morris <rgm@gnu.org>
6716
6717 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6718
d29b2b4c
LI
67192012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6720
6721 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6722 way the ports list is computed.
835bdcba
LI
6723 (smtpmail-query-smtp-server): Prompt the user for a port number if
6724 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6725
08dcdbc9
TZ
67262012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6727
6728 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6729
2605051a
GM
67302012-02-13 Glenn Morris <rgm@gnu.org>
6731
6732 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6733
7ee99f32
TZ
67342012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6735
6736 * net/gnutls.el (gnutls-trustfiles): New variable.
6737 (gnutls-negotiate): Use it.
6738
5f0af64f
LI
67392012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6740
6741 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6742 does its stuff if Gnus is running.
6743
c14fcc95
AM
67442012-02-13 Alan Mackenzie <acm@muc.de>
6745
6746 Fix a loop in c-set-fl-decl-start.
6747
7a71b18d 6748 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6749 c-backward-syntactic-ws actually moves backwards.
6750
142b4d90
LL
67512012-02-13 Leo Liu <sdl.web@gmail.com>
6752
6753 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6754 beginning so that all \C-o chars are removed.
6755
fa9958a6
TZ
67562012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6757
dc9924b8 6758 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6759
0bc5886a
AM
67602012-02-12 Alan Mackenzie <acm@muc.de>
6761
6762 Fix infinite loop with long macros.
4d6769e1 6763 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6764
d4bd55e7
CY
67652012-02-12 Chong Yidong <cyd@gnu.org>
6766
6767 * window.el (display-buffer): Doc fix (Bug#10785).
6768
66f3fe22
GM
67692012-02-12 Glenn Morris <rgm@gnu.org>
6770
bd7da63e
GM
6771 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6772 (x-disown-selection-internal, x-get-selection-internal):
6773 Sync docs with the xselect.c versions.
6774
66f3fe22
GM
6775 * allout-widgets.el: Add missing license notice.
6776
3e0d2fa7
GM
67772012-02-11 Glenn Morris <rgm@gnu.org>
6778
cfecdf09
GM
6779 * select.el (x-get-selection-internal, x-own-selection-internal)
6780 (x-disown-selection-internal):
6781 * x-dnd.el (x-get-selection-internal): Update declarations.
6782
6d216d7f
GM
6783 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6784
2bed3f04
GM
6785 * window.el (window-sides-slots):
6786 * tool-bar.el (tool-bar-position):
6787 * term/xterm.el (xterm-extra-capabilities):
6788 * ses.el (ses-self-reference-early-detection):
6789 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6790 (verilog-auto-wire-type)
6791 (verilog-auto-delete-trailing-whitespace)
6792 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6793 (verilog-auto-tieoff-declaration):
6794 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6795 (sql-oracle-statement-starters, sql-oracle-scan-on):
6796 * progmodes/prolog.el (prolog-align-comments-flag)
6797 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6798 (prolog-left-indent-regexp, prolog-paren-indent-p)
6799 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6800 (prolog-types, prolog-mode-specificators)
6801 (prolog-determinism-specificators, prolog-directives)
6802 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6803 (prolog-electric-dot-flag)
6804 (prolog-electric-dot-full-predicate-template)
6805 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6806 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6807 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6808 (prolog-program-switches, prolog-prompt-regexp)
6809 (prolog-debug-on-string, prolog-debug-off-string)
6810 (prolog-trace-on-string, prolog-trace-off-string)
6811 (prolog-zip-on-string, prolog-zip-off-string)
6812 (prolog-use-standard-consult-compile-method-flag)
6813 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6814 (prolog-imenu-max-lines, prolog-info-predicate-index)
6815 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6816 (prolog-char-quote-workaround):
6817 * progmodes/cc-vars.el (c-defun-tactic):
6818 * net/tramp.el (tramp-encoding-command-interactive)
6819 (tramp-local-end-of-line):
6820 * net/soap-client.el (soap-client):
6821 * net/netrc.el (netrc-file):
6822 * net/gnutls.el (gnutls):
6823 * minibuffer.el (completion-category-overrides)
6824 (completion-cycle-threshold)
6825 (completion-pcm-complete-word-inserts-delimiters):
6826 * man.el (Man-name-local-regexp):
6827 * mail/feedmail.el (feedmail-display-full-frame):
6828 * international/characters.el (glyphless-char-display-control):
6829 * eshell/em-ls.el (eshell-ls-date-format):
6830 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6831 (lisp-lambda-list-keyword-parameter-indentation)
6832 (lisp-lambda-list-keyword-parameter-alignment):
6833 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6834 * dired-x.el (dired-omit-verbose):
6835 * cus-theme.el (custom-theme-allow-multiple-selections):
6836 * calc/calc.el (calc-highlight-selections-with-faces)
6837 (calc-lu-field-reference, calc-lu-power-reference)
6838 (calc-note-threshold):
6839 * battery.el (battery-mode-line-limit):
6840 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6841 (archive-7z-update):
6842 * allout.el (allout-prefixed-keybindings)
6843 (allout-unprefixed-keybindings)
6844 (allout-inhibit-auto-fill-on-headline)
6845 (allout-flattened-numbering-abbreviation):
6846 * allout-widgets.el (allout-widgets-auto-activation)
6847 (allout-widgets-icons-dark-subdir)
6848 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6849 (allout-widgets-theme-dark-background)
6850 (allout-widgets-theme-light-background)
6851 (allout-widgets-item-image-properties-emacs)
6852 (allout-widgets-item-image-properties-xemacs)
6853 (allout-widgets-run-unit-tests-on-load)
6854 (allout-widgets-time-decoration-activity)
6855 (allout-widgets-hook-error-post-time)
6856 (allout-widgets-track-decoration):
6857 Add missing :version tags to new defcustoms and defgroups.
6858
5fec1b8e
GM
6859 * progmodes/sql.el (sql-ansi-statement-starters)
6860 (sql-oracle-statement-starters): Add custom type.
6861
3e0d2fa7
GM
6862 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6863 (prolog-system-version): Give it a type.
6864
90b671e2
EZ
68652012-02-11 Eli Zaretskii <eliz@gnu.org>
6866
6867 * term/pc-win.el (x-select-text, x-selection-owner-p)
6868 (x-own-selection-internal, x-disown-selection-internal)
6869 (x-get-selection-internal): Sync doc strings and argument lists
6870 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6871
5eac0c02
LL
68722012-02-11 Leo Liu <sdl.web@gmail.com>
6873
6874 * progmodes/python.el (python-end-of-statement): Fix infinite
6875 loop. (Bug#10788)
6876
f82cb659
GM
68772012-02-10 Glenn Morris <rgm@gnu.org>
6878
6879 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6880 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6881
cc26d239
LI
68822012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6883
6884 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6885 about SMTP before checking the From header.
6886
91027d08 6887 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6888 into own function for reuse by emacsbug.el.
6889
1be3ca5a
LL
68902012-02-10 Leo Liu <sdl.web@gmail.com>
6891
6892 * subr.el (condition-case-unless-debug): Rename from
6893 condition-case-no-debug. All callers changed.
6894 (with-demoted-errors): Fix caller.
6895
6896 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6897 * nxml/rng-valid.el (rng-do-some-validation):
6898 * emacs-lisp/package.el (package-refresh-contents)
6899 (package-menu-execute):
6900 * desktop.el (desktop-create-buffer):
91027d08 6901 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6902
b011fbfe
GM
69032012-02-10 Glenn Morris <rgm@gnu.org>
6904
b2096d72
GM
6905 * textmodes/bibtex.el:
6906 Add missing :version tags for new/changed defcustoms.
6907
b011fbfe
GM
6908 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6909
4c7e65bf
LI
69102012-02-09 Lars Ingebrigtsen <larsi@rusty>
6911
6912 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6913 (smtpmail-via-smtp): Use it, or fall back on the From address.
6914 (smtpmail-send-it): Ditto.
6915
f3934f6f
SM
69162012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6917
6918 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6919 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6920 (byte-compile-tmp-var): New const.
6921 (byte-compile-defvar): Use it to minimize .elc size.
6922 Just use `defvar' rather than simulate it (bug#10761).
6923
a075a2c5
GM
69242012-02-09 Glenn Morris <rgm@gnu.org>
6925
cf3aa21b
GM
6926 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6927
354998cd
GM
6928 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6929 Add :version tags.
6930
dc9924b8
SM
6931 * progmodes/compile.el (compilation-error-screen-columns)
6932 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6933
dab3703d
GM
6934 * vc/log-view.el (log-view-toggle-entry-display):
6935 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6936
3f88cd72
GM
6937 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6938 (report-emacs-bug-can-use-xdg-email):
6939 (report-emacs-bug-insert-to-mailer): Doc fixes.
6940 (report-emacs-bug): Message fix.
6941
d95b247d
GM
6942 * net/browse-url.el (browse-url-can-use-xdg-open)
6943 (browse-url-xdg-open): Doc fixes.
6944
a075a2c5
GM
6945 * electric.el (electric-indent-mode, electric-pair-mode)
6946 (electric-layout-rules, electric-layout-mode): Doc fixes.
6947 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6948
ffb6157e
MR
69492012-02-08 Martin Rudalics <rudalics@gmx.at>
6950
6951 * server.el (server-unselect-display): Don't inadvertently kill
6952 the current buffer. (Bug#10729)
6953
e1ac4066
GM
69542012-02-08 Glenn Morris <rgm@gnu.org>
6955
34e8a2da
GM
6956 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6957 (sql-list-table): Doc fixes.
6958
b4ac6e8c
GM
6959 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6960 Comment out (does nothing).
6961
e1ac4066
GM
6962 * completion.el (dynamic-completion-mode):
6963 * dirtrack.el (dirtrack-debug-mode):
6964 * electric.el (electric-layout-mode):
6965 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6966 * face-remap.el (text-scale-mode, buffer-face-mode):
6967 * iimage.el (iimage-mode):
6968 * image-mode.el (image-transform-mode):
6969 * minibuffer.el (completion-in-region-mode):
6970 * scroll-lock.el (scroll-lock-mode):
6971 * simple.el (next-error-follow-minor-mode):
6972 * tar-mode.el (tar-subfile-mode):
6973 * tooltip.el (tooltip-mode):
6974 * vcursor.el (vcursor-use-vcursor-map):
6975 * wid-browse.el (widget-minor-mode):
6976 * emulation/tpu-edt.el (tpu-edt-mode):
6977 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6978 * international/iso-ascii.el (iso-ascii-mode):
6979 * language/thai-util.el (thai-word-mode):
6980 * mail/supercite.el (sc-minor-mode):
6981 * net/goto-addr.el (goto-address-mode):
6982 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6983 * progmodes/cwarn.el (cwarn-mode):
6984 * progmodes/flymake.el (flymake-mode):
6985 * progmodes/glasses.el (glasses-mode):
6986 * progmodes/hideshow.el (hs-minor-mode):
6987 * progmodes/pascal.el (pascal-outline-mode):
6988 * textmodes/enriched.el (enriched-mode):
6989 * vc/smerge-mode.el (smerge-mode):
6990 Doc fixes (minor mode argument).
6991
5e0d957f
EZ
69922012-02-07 Eli Zaretskii <eliz@gnu.org>
6993
6994 * ls-lisp.el (ls-lisp-sanitize): New function.
6995 (ls-lisp-insert-directory): Use it to fix or remove any elements
6996 in file-alist with missing attributes. (Bug#4673)
6997
98d7371e
AM
69982012-02-07 Alan Mackenzie <acm@muc.de>
6999
7000 Fix spurious recognition of c-in-knr-argdecl.
7001
7002 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7003 putative K&R region.
7004
667ced3a
AM
70052012-02-07 Alan Mackenzie <acm@muc.de>
7006
eb864a71
LM
7007 * progmodes/cc-engine.el (c-forward-objc-directive):
7008 Prevent looping in "#pragma mark @implementation".
667ced3a 7009
5b77774d
MA
70102012-02-07 Michael Albinus <michael.albinus@gmx.de>
7011
7012 * notifications.el (notifications-on-closed-signal): Make `reason'
7013 optional. (Bug#10744)
7014
af008560
GM
70152012-02-07 Glenn Morris <rgm@gnu.org>
7016
60d47423
GM
7017 * emacs-lisp/easy-mmode.el (define-minor-mode):
7018 Doc fixes for the macro and the mode it defines.
7019
dd605cc4
GM
7020 * image.el (imagemagick-types-inhibit): Doc fix.
7021
af008560
GM
7022 * cus-start.el (imagemagick-render-type): Add it.
7023
5cc59a37
LI
70242012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7025
4d6769e1
JB
7026 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7027 Set the default at load time, too, so that `font-lock-fontify-buffer'
7028 can be called without setting up the entire mode first. This fixes
7029 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7030
9a6dd747
CY
70312012-02-06 Chong Yidong <cyd@gnu.org>
7032
2d16b285
CY
7033 * simple.el (list-processes--refresh): Delete exited processes
7034 (Bug#8094).
7035
171e9b6e
CY
7036 * comint.el (comint-next-prompt): next-single-char-property-change
7037 and prev-single-char-property-change never return nil (Bug#8657).
7038
9a6dd747
CY
7039 * custom.el (defcustom): Doc fix (Bug#9711).
7040
aa4589a7
CY
70412012-02-05 Chong Yidong <cyd@gnu.org>
7042
5c2a252f
CY
7043 * cus-edit.el (custom-variable-reset-backup): Quote the value
7044 before storing it in the customized-value property (Bug#6712).
4aab9006 7045 (custom-display): Add a customization type tag.
983b9602 7046 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7047
aa4589a7
CY
7048 * wid-edit.el (widget-field-value-get): New optional arg to
7049 suppress trailing whitespace truncation.
7050 (character): Use it (Bug#2689).
7051
1ff980ae
AS
70522012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7053
7054 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7055 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7056
03988c98
CY
70572012-02-05 Chong Yidong <cyd@gnu.org>
7058
eeb6cc88
CY
7059 * cus-edit.el (custom-variable-value-create): For mismatched
7060 types, show the current value (Bug#7600).
7061
03988c98
CY
7062 * custom.el (defcustom): Doc fix.
7063
f8cdeef0
GM
70642012-02-05 Glenn Morris <rgm@gnu.org>
7065
7066 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7067
0696d255
JB
70682012-02-05 Juanma Barranquero <lekktu@gmail.com>
7069
7070 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7071 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7072 (pp-last-sexp): Use `looking-at-p'.
7073
34c99998
GM
70742012-02-04 Glenn Morris <rgm@gnu.org>
7075
8f05da42
GM
7076 * files.el (revert-buffer):
7077 Doc fix (mention revert-buffer-in-progress-p).
7078
f160676e
GM
7079 * emacs-lisp/ert-x.el (ert-simulate-command):
7080 Check deferred-action-list (which is obsolete) is bound.
7081
c7291ad9
GM
7082 * subr.el (with-wrapper-hook): Doc fixes.
7083
34c99998
GM
7084 * simple.el (filter-buffer-substring-functions)
7085 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7086
6283a7d3
LL
70872012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7088
7089 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7090 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7091
e96e3013
LL
70922012-02-04 Leo Liu <sdl.web@gmail.com>
7093
7094 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7095
8ded50f2
GM
70962012-02-04 Glenn Morris <rgm@gnu.org>
7097
82ff1d13
GM
7098 * image.el (image-extension-data): Add obsolete alias.
7099
987a0a16
GM
7100 * isearch.el (isearch-update): Doc fix.
7101
ea32ef46
GM
7102 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7103
8ded50f2
GM
7104 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7105
eea14f31
GM
71062012-02-03 Glenn Morris <rgm@gnu.org>
7107
7108 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7109 (image-animate-timeout): Doc fix.
7110
7111 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7112
12f381b7
GM
71132012-02-02 Glenn Morris <rgm@gnu.org>
7114
953cebf5
GM
7115 * server.el (server-auth-dir): Doc fix.
7116 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7117
12f381b7
GM
7118 * subr.el (run-mode-hooks): Doc fix.
7119
953a8c3b
JL
71202012-02-02 Juri Linkov <juri@jurta.org>
7121
7122 * image-mode.el (image-toggle-display-image): Remove tautological
7123 `major-mode' from the `derived-mode-p' test.
7124
c5d3843c
KH
71252012-02-02 Kenichi Handa <handa@m17n.org>
7126
9f6e692e 7127 * composite.el (compose-region): Cancel previous change.
c5d3843c 7128
159462d4 71292012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7130
7131 * composite.el (compose-region, compose-string): Signal error for
7132 a null string component (Bug#6988).
7133
9f562668
CY
71342012-02-01 Chong Yidong <cyd@gnu.org>
7135
e2cef717
CY
7136 * view.el (view-buffer-other-window, view-buffer-other-frame):
7137 Handle special modes like view-buffer (Bug#10650).
7138 (view-buffer): Simplify.
7139
9f562668
CY
7140 * frame.el (set-frame-font): Tweak meaning of third argument.
7141
9f6e692e
JB
7142 * dynamic-setting.el (font-setting-change-default-font):
7143 Use set-frame-font (Bug#9982).
9f562668 7144
781acb9f
GM
71452012-02-01 Glenn Morris <rgm@gnu.org>
7146
6035be52
GM
7147 * progmodes/compile.el (compilation-internal-error-properties):
7148 Respect compilation-first-column in the "*compilation*" buffer.
7149
781acb9f
GM
7150 * emacs-lisp/easy-mmode.el (define-minor-mode):
7151 Relax :variable's test for a named function.
7152
abbceb00
AM
71532012-01-31 Alan Mackenzie <acm@muc.de>
7154
7155 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7156 off by one error.
7157
fce3fdeb
CY
71582012-01-31 Chong Yidong <cyd@gnu.org>
7159
7160 * frame.el (set-frame-font): New arg ALL-FRAMES.
7161
7162 * menu-bar.el (menu-set-font): Use set-frame-font.
7163
7164 * faces.el (face-spec-reset-face): Don't apply unspecified
7165 attribute values to the default face.
7166
47893581
JB
71672012-01-31 Juanma Barranquero <lekktu@gmail.com>
7168
7169 * progmodes/cwarn.el (cwarn): Remove dead link.
7170 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7171 Remove * from defcustom docstrings.
7172 (turn-on-cwarn-mode): Make obsolete.
7173 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7174 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7175
e58e988a
GM
71762012-01-31 Glenn Morris <rgm@gnu.org>
7177
60dc2671 7178 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7179 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7180 Allow named functions to be used as the cdr of :variable.
e58e988a 7181
7a3f511d
GM
71822012-01-30 Glenn Morris <rgm@gnu.org>
7183
7184 * emacs-lisp/authors.el (authors-fixed-entries):
7185 Remove reference to deleted file rnewspost.el.
7186
cb882333
JB
71872012-01-29 Juanma Barranquero <lekktu@gmail.com>
7188
7189 * window.el (window-with-parameter): Remove unused variable `windows'.
7190 (window--side-check): Remove unused variable `code'.
7191 (window--resize-siblings): Remove unused variable `first'.
7192 (adjust-window-trailing-edge): Remove unused variable `failed'.
7193 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7194 Use `let', not `let*'.
7195 (balance-windows-2): Remove unused variable `found'.
7196 (window--state-put-2): Remove unused variable `splits'.
7197 (window-state-put): Remove unused variable `selected'.
7198 (same-window-p): Use `string-match-p'.
7199 (display-buffer-assq-regexp): Remove unused variable `value'.
7200 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7201 Mark argument ALIST as ignored.
7202 (pop-to-buffer): Remove unused variable `old-window'.
7203
907201af
EZ
72042012-01-29 Eli Zaretskii <eliz@gnu.org>
7205
7206 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7207 and .lzma compressed files.
7208
ea162670
CY
72092012-01-29 Chong Yidong <cyd@gnu.org>
7210
5b95ee8a
CY
7211 * frame.el (window-system-default-frame-alist): Doc fix.
7212
ea162670
CY
7213 * dynamic-setting.el (font-setting-change-default-font): Don't
7214 change the default face if SET-FONT argument is non-nil (Bug#9982).
7215
d6e6f4b1
SB
72162012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7217
7218 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7219
0f29fa41 72202012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7221
7222 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7223 breakpoints in files outside current directory (Bug#6098).
7224
db174434
CY
72252012-01-29 Chong Yidong <cyd@gnu.org>
7226
6b25e4e2
SE
7227 * progmodes/python.el: Require ansi-color at top-level.
7228
6df6ae42
JB
7229 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7230 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7231 (lisp-mode-abbrev-table): Add doc.
7232 (lisp-mode-variables): Don't set local-abbrev-table.
7233 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7234
e70ee681
RW
72352012-01-28 Roland Winkler <winkler@gnu.org>
7236
7237 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7238
ace88aa2
RW
72392012-01-28 Roland Winkler <winkler@gnu.org>
7240
7241 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7242 (bibtex-set-dialect): Use it. Either set global values of
7243 dialect-dependent variables or bind these variables buffer-locally
7244 (Bug#10254).
7245 (bibtex-mode): Call bibtex-set-dialect via
7246 hack-local-variables-hook.
eb864a71
LM
7247 (bibtex-dialect): Update docstring.
7248 Add safe-local-variable predicate.
ace88aa2
RW
7249 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7250 bibtex-set-dialect.
7251 (bibtex-mode-map): Define menu for each dialect.
7252 (bibtex-entry): Fix docstring.
7253
93376c5b
CY
72542012-01-28 Chong Yidong <cyd@gnu.org>
7255
7256 * eshell/esh-arg.el (eshell-quote-argument): New function.
7257
7258 * eshell/esh-ext.el (eshell-invoke-batch-file):
7259 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7260 first arg to eshell-parse-command (Bug#10523).
7261
4372494f
DA
72622012-01-28 Drew Adams <drew.adams@oracle.com>
7263
7264 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7265 `default-directory' is non-nil.
7266
4d4ec1f8
EZ
72672012-01-28 Eli Zaretskii <eliz@gnu.org>
7268
7269 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7270 line that displays system-configuration-options. (Bug#9924)
7271
7c188927
DA
72722012-01-28 Drew Adams <drew.adams@oracle.com>
7273
7274 * descr-text.el (describe-char): Show information about POS, in
7275 addition to information about the character at POS. Improve and
7276 update the doc string. Change "code point" to "code point in
7277 charset", to avoid confusion with the character's Unicode code
7278 point shown above that. (Bug#10129)
7279
e0da685a
EZ
72802012-01-28 Eli Zaretskii <eliz@gnu.org>
7281
7282 * descr-text.el (describe-char): Show the raw character, not only
7283 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7284 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7285 for the reasons.
7286
70550acf
PH
72872012-01-28 Phil Hagelberg <phil@hagelb.org>
7288
eb864a71
LM
7289 * emacs-lisp/package.el (package-install):
7290 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7291
0ce8e868
CY
72922012-01-28 Chong Yidong <cyd@gnu.org>
7293
cb882333
JB
7294 * emacs-lisp/package.el (package-maybe-load-descriptor):
7295 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7296 (package-maybe-load-descriptor): Use it.
7297 (package-download-transaction): Fully load required packages
7298 inside the loop, so that `require' calls work (Bug#10593).
7299 (package-install): No need to call package-initialize now.
7300
2e7f3bea
CY
73012012-01-28 Chong Yidong <cyd@gnu.org>
7302
6e9bad14
CY
7303 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7304
f823b8ca
CY
7305 * tooltip.el (tooltip-mode): Doc fix.
7306 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7307
2680c309
CY
7308 * frame.el (set-cursor-color): Doc fix (Bug#352).
7309
d7a9e63b
CY
7310 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7311 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7312
2e7f3bea
CY
7313 * cus-edit.el (custom-buffer-create-internal): Fix search button
7314 action (Bug#10542).
2ae01800 7315 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7316
fc4f7a23
EW
73172012-01-27 Eduard Wiebe <usenet@pusto.de>
7318
7319 * dired.el (dired-mark-files-regexp):
7320 Include any subdirectory components. (Bug#10445)
7321
7dd37071
ML
73222012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7323
7324 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7325 Handle [host]:port syntax. (Bug#10533)
7326
a268160b
AH
73272012-01-27 Alex Harsanyi <harsanyi@mac.com>
7328
7329 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7330
e43273ef
GM
73312012-01-26 Glenn Morris <rgm@gnu.org>
7332
7333 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7334 * term.el (term-raw-escape-map): Use Control-X-prefix.
7335 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7336
1edf595d
MR
73372012-01-25 Martin Rudalics <rudalics@gmx.at>
7338
7339 * window.el (window-state-get, window--state-get-1): Don't deal
7340 with fixed-sizeness of windows. Simplify code.
7341
fa8eafef
JC
73422012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7343
6df6ae42
JB
7344 * window.el (window--state-get-1, window--state-put-2):
7345 Don't save and restore the mark.
fa8eafef 7346
0b21c100
CY
73472012-01-25 Chong Yidong <cyd@gnu.org>
7348
7349 * custom.el (custom-variable-p): Doc fix.
7350
5ae1a6c8
GM
73512012-01-25 Glenn Morris <rgm@gnu.org>
7352
40047858
GM
7353 * dired.el (dired-goto-file): Handle some of the more common
7354 characters that `ls -b' escapes. (Bug#10596)
7355
5ddce96c
GM
7356 * progmodes/compile.el (compilation-next-error-function):
7357 Respect compilation-first-column in the "*compilation*" buffer.
7358 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7359
5ae1a6c8
GM
7360 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7361
b559f1a9
GM
73622012-01-24 Glenn Morris <rgm@gnu.org>
7363
7364 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7365
6725d21a
JD
73662012-01-24 Julien Danjou <julien@danjou.info>
7367
7368 * color.el (color-rgb-to-hsl): Fix value computing.
7369 (color-hue-to-rgb): New function.
7370 (color-hsl-to-rgb): New function.
7371 (color-clamp, color-saturate-hsl, color-saturate-name)
7372 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7373 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7374
70df4bbe
GM
73752012-01-24 Glenn Morris <rgm@gnu.org>
7376
7377 * vc/vc-rcs.el (vc-rcs-create-tag):
7378 * vc/vc-sccs.el (vc-sccs-create-tag):
7379 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7380
802a2ae2
ML
73812012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7382
7383 * eshell/esh-util.el (eshell-read-hosts-file):
7384 Skip comment lines. (Bug#10549)
7385
d7128bb1
ML
7386 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7387
d1a5c3b4
JB
73882012-01-23 Juanma Barranquero <lekktu@gmail.com>
7389
2724d9c7
JB
7390 * subr.el (display-delayed-warnings): Doc fix.
7391 (collapse-delayed-warnings): New function to collapse identical
7392 adjacent warnings.
7393 (delayed-warnings-hook): Add it.
d1a5c3b4 7394
a5509865
MA
73952012-01-22 Michael Albinus <michael.albinus@gmx.de>
7396
7397 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7398
a5509865
MA
7399 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7400 (tramp-default-user-alist): Don't add "pscp".
7401 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7402 property "login-as", if set. (Bug#10530)
7403
cc6d5805
MA
74042012-01-21 Michael Albinus <michael.albinus@gmx.de>
7405
7406 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7407 "plink1" and "psftp". (Bug#10530)
7408
74092012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7410
7411 * international/mule-cmds.el (prefer-coding-system): Show a
7412 warning message if the default value of file-name-coding-system
7413 was not changed.
7414
f0960428
JC
74152012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7416
cb882333
JB
7417 * windmove.el (windmove-reference-loc):
7418 Fix windmove-reference-loc miscalculation.
f0960428 7419
dd6f2a63
JB
74202012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7421
7422 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7423 default unit.
7424
7b447e9b
GM
74252012-01-21 Glenn Morris <rgm@gnu.org>
7426
117a9ea1
GM
7427 * international/mule.el (auto-coding-alist): Add .tbz.
7428
7b447e9b
GM
7429 * files.el (local-enable-local-variables): Doc fix.
7430 (inhibit-local-variables-regexps): Rename from
7431 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7432 Doc fix. Add some extensions from auto-coding-alist.
7433 (inhibit-local-variables-suffixes):
7434 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7435 (inhibit-local-variables-p):
7436 New function, extracted from set-auto-mode-1.
7437 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7438 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7439 (hack-local-variables): Doc fix. Make the mode-only case
7440 respect enable-local-variables and friends.
7441 Respect inhibit-local-variables-regexps for file-locals, but
7442 not for directory-locals.
7443 (set-visited-file-name):
7444 Take account of inhibit-local-variables-regexps.
7445 Whether it applies may change as the file name is changed.
7446 * jka-cmpr-hook.el (jka-compr-install):
7447 * jka-compr.el (jka-compr-uninstall):
7448 Update for inhibit-first-line-modes-suffixes name change.
7449
dd6e3cdd
MR
74502012-01-20 Martin Rudalics <rudalics@gmx.at>
7451
7452 * help-macro.el (make-help-screen): Temporarily restore original
7453 binding for minor-mode-map-alist (Bug#10454).
7454
0d0deb38
JD
74552012-01-19 Julien Danjou <julien@danjou.info>
7456
7457 * color.el (color-name-to-rgb): Use the white color to find the max
7458 color component value and return correctly computed values.
7459 (color-name-to-rgb): Add missing float conversion for max value.
7460
34a02f46
MR
74612012-01-19 Martin Rudalics <rudalics@gmx.at>
7462
7463 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7464 special state value for window-persistent-parameters.
7465 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7466 (window--state-put-2): Reset all window parameters to nil before
7467 assigning values of persistent parameters.
7468
606c44c4
AM
74692012-01-18 Alan Mackenzie <acm@muc.de>
7470
7471 Eliminate sluggishness and hangs in fontification of "semicolon
7472 deserts".
7473
cb882333
JB
7474 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7475 Change value 10000 -> 3000.
606c44c4
AM
7476 (c-state-safe-place): Reformulate so it doesn't stack up an
7477 infinite number of wrong entries in c-state-nonlit-pos-cache.
7478 (c-determine-limit-get-base, c-determine-limit): New functions to
7479 determine backward search limits disregarding literals.
7480 (c-find-decl-spots): Amend commenting.
7481 (c-cheap-inside-bracelist-p): New function which detects "={".
7482
7483 * progmodes/cc-fonts.el
7484 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7485 backward search.
7486 (c-font-lock-declarations): Fix an occurrence of point being
7487 undefined. Check additionally for point being in a bracelist or
7488 near a macro invocation without a semicolon so as to avoid a
7489 fruitless time consuming search for a declarator. Give a more
7490 precise search limit for declarators using the new
7491 c-determine-limit.
7492
f3860cea
GM
74932012-01-18 Glenn Morris <rgm@gnu.org>
7494
7495 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7496 (set-auto-mode): Doc fixes.
7497
1db03b16
GM
74982012-01-17 Glenn Morris <rgm@gnu.org>
7499
0e6038be
GM
7500 * isearch.el (search-nonincremental-instead): Fix doc typo.
7501
1db03b16
GM
7502 * dired.el (dired-insert-directory): Handle newlines in directory name.
7503 (dired-build-subdir-alist): Unescape newlines in directory name.
7504
4cb0aa75
MA
75052012-01-17 Michael Albinus <michael.albinus@gmx.de>
7506
7507 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7508 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7509 (tramp-action-terminal): Use it. (Bug#10530)
7510
1d00653d
SM
75112012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7512
7513 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7514
6a6ee00d
MR
75152012-01-16 Martin Rudalics <rudalics@gmx.at>
7516
7517 * window.el (window-state-ignored-parameters): Remove variable.
7518 (window--state-get-1): Rename argument MARKERS to IGNORE.
7519 Handle persistent window parameters. Make copy of clone-of
7520 parameter only if requested. (Bug#10348)
7521 (window--state-put-2): Install a window parameter only if it has
7522 a non-nil value or an existing parameter shall be overwritten.
7523
97912def
MA
75242012-01-15 Michael Albinus <michael.albinus@gmx.de>
7525
7526 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7527
688070a5
EZ
75282012-01-14 Eli Zaretskii <eliz@gnu.org>
7529
7530 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7531 don't pass the (nil) value of `upnode' to string-match.
7532
301afadc
CY
75332012-01-14 Chong Yidong <cyd@gnu.org>
7534
7535 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7536 Fix values recognized by the cursorBlink resource.
301afadc 7537
9e5788aa
PE
75382012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7539
7540 * epg.el (epg--make-temp-file): Avoid permission race condition
7541 when running on old Emacs versions (bug#10403).
7542
3cdb7f5a
GM
75432012-01-14 Glenn Morris <rgm@gnu.org>
7544
7545 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7546
8c82b1b4
AM
75472012-01-13 Alan Mackenzie <acm@muc.de>
7548
7549 Fix filling for when filladapt mode is enabled.
7550
7551 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7552 c-mask-paragraph, pass in `fill-paragraph' rather than
7553 `fill-region-as-paragraph'. (This is a reversion of a previous
7554 change.)
eb864a71
LM
7555 * progmodes/cc-mode.el (c-basic-common-init):
7556 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7557
e517eda4
GM
75582012-01-13 Glenn Morris <rgm@gnu.org>
7559
1498536e
GM
7560 * dired.el (dired-switches-escape-p): New function.
7561 (dired-insert-directory): Use dired-switches-escape-p.
7562 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7563
e517eda4
GM
7564 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7565
328f984d
GM
75662012-01-12 Glenn Morris <rgm@gnu.org>
7567
7568 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7569 changes in adaptive-fill-regexp. (Bug#10276)
7570
2cc769a8
AM
75712012-01-11 Alan Mackenzie <acm@muc.de>
7572
7573 Fix Emacs bug #10463 - put `widen's around the critical spots.
7574
1d00653d 7575 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7576 widen around each invocation of c-state-pp-to-literal. Remove an
7577 unused let variable.
7578
e52c37fa
GM
75792012-01-11 Glenn Morris <rgm@gnu.org>
7580
7581 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7582 Doc fix.
e52c37fa 7583
96f8741e
CY
75842012-01-10 Chong Yidong <cyd@gnu.org>
7585
1d00653d
SM
7586 * net/network-stream.el (network-stream-open-starttls):
7587 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7588 response to the capability command.
7589
b09a806e
GM
75902012-01-10 Glenn Morris <rgm@gnu.org>
7591
7592 * mail/unrmail.el (unrmail): Tweak previous change.
7593
7655cb66
CY
75942012-01-09 Chong Yidong <cyd@gnu.org>
7595
7596 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7597
9d5a8f0b
AM
75982012-01-08 Alan Mackenzie <acm@muc.de>
7599
7600 Optimise font locking in long enum definitions.
7601
7602 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7603 arm to a cond form to handle enums.
7604 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7605 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7606
9a0115ab 76072012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7608
7609 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7610 (Bug#10401)
6bb72cbd 7611
f186bb95
LMI
76122012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7613
29232a68
LMI
7614 * faces.el (set-face-attribute): Clarify the meaning of the nil
7615 frame (bug#10294).
7616
4e5d086d
LMI
7617 * subr.el (with-selected-frame): Mention that the selected frame
7618 is restored (bug#9980).
7619
8e66aebe
LMI
7620 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7621 (bug#9759).
7622
cd394be1 7623 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7624 (password-read): Don't autoload unused function.
7625
adf4e762
JB
76262012-01-07 Juanma Barranquero <lekktu@gmail.com>
7627
7628 * progmodes/which-func.el (which-func-mode): Turn into a
7629 non-interactive function and mark as obsolete (bug#10428).
7630
89bd9ccd
CY
76312012-01-06 Chong Yidong <cyd@gnu.org>
7632
7633 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7634 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7635 functions, along with 1 and -1.
7636
4afee9d5
EZ
76372012-01-06 Eli Zaretskii <eliz@gnu.org>
7638
7639 * time.el (display-time-load-average)
7640 (display-time-default-load-average): Doc fixes. See the thread
7641 starting at
7642 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7643 for the details.
7644
536aea70
GM
76452012-01-06 Glenn Morris <rgm@gnu.org>
7646
665ae865
GM
7647 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7648 has no messages. (Bug#10377)
7649
c869783d
GM
7650 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7651 than Info-edit. (Bug#10385)
7652
2bb4227e
GM
7653 * time.el (display-time-load-average, display-time-next-load-average):
7654 Doc fixes.
7655
7d5944b9
GM
7656 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7657 local setting of buffer-read-only to the input buffer. (Bug#10419)
7658
536aea70
GM
7659 * calendar/calendar.el (calendar-mode):
7660 Locally set scroll-margin to 0. (Bug#10379)
7661
7dccca16
UM
76622012-01-06 Ulrich Mueller <ulm@gentoo.org>
7663
7664 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7665
afbb7930
GM
76662012-01-05 Glenn Morris <rgm@gnu.org>
7667
7668 * eshell/em-unix.el (diff-no-select): Autoload it.
7669 (eshell/diff): Use diff-no-select. (Bug#10420)
7670
04482335
CY
76712012-01-05 Chong Yidong <cyd@gnu.org>
7672
7baca3bc
CY
7673 * shell.el (shell-dynamic-complete-functions): Revert last change.
7674 (shell-command-completion-function): New function.
7675 (shell-completion-vars): Use it to implement
7676 shell-completion-execonly (Bug#10417).
7677
04482335
CY
7678 * custom.el (enable-theme): Don't set custom-safe-themes.
7679
1d00653d
SM
7680 * cus-theme.el (custom-theme-merge-theme):
7681 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7682
bb5aa5d6
MM
76832012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7684
7685 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7686 first prompt in `sql-interacive-mode'.
7687 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7688 keywords.
6df6ae42 7689 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7690 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7691 context of original buffer. Invoke `sql-login-hook'.
7692
a7183d7c
EZ
76932012-01-04 Eli Zaretskii <eliz@gnu.org>
7694
7695 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7696 letters in cite-prefix.
7697
a1eacd1e
LMI
76982012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7699
7700 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7701
787cdb34
CY
77022012-01-03 Chong Yidong <cyd@gnu.org>
7703
1d00653d
SM
7704 * shell.el (shell-dynamic-complete-functions):
7705 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7706 comint-filename-completion first (Bug#10417).
7707
30710442
RS
77082012-01-02 Richard Stallman <rms@gnu.org>
7709
7710 * battery.el (battery-status-function):
7711 Detect when to use battery-yeeloong-sysfs.
7712 (battery-echo-area-format): Add string for Yeeloong.
7713 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7714 (battery-yeeloong-sysfs): New function.
7715
f75bfc33
CY
77162012-01-02 Chong Yidong <cyd@gnu.org>
7717
7718 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7719 (dirtrack): Merge code for handling relative filenames in prompt
7720 from shell-dir-cookie-watcher.
7721 (dirtrack-debug-message): New arg to avoid excess format calls.
7722
7723 * shell.el (shell-dir-cookie-re): Variable deleted.
7724 (shell-dir-cookie-watcher): Function deleted.
7725 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7726 with dirtrack-mode.
7727
651e947e
EZ
77282012-01-01 Eli Zaretskii <eliz@gnu.org>
7729
1d00653d
SM
7730 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7731 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7732 libgnutls-26.dll.
7733
94d4c7dc
AS
77342011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7735
7736 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7737
8d43f3cd
EZ
77382011-12-31 Eli Zaretskii <eliz@gnu.org>
7739
7740 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7741 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7742
98c8795a
MA
77432011-12-29 Michael Albinus <michael.albinus@gmx.de>
7744
7745 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7746 also for alternative shells.
7747 (tramp-open-connection-setup-interactive-shell): Check, whether
7748 the shell is a busybox.
7749 (tramp-send-command): Don't suppress multiple prompts for
7750 busyboxes, it hurts.
7751
51281b32
CY
77522011-12-28 Chong Yidong <cyd@gnu.org>
7753
7754 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7755 (gdb-get-source-file): Move mode line update to
7756 gdb-get-source-file (Bug#10087).
7757
2170cb53
CY
77582011-12-25 Chong Yidong <cyd@gnu.org>
7759
7760 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7761 gud-gdb-marker-filter without taking it as an argument.
7762 (gud-gdb-run-command-fetch-lines): Caller changed.
7763 (gud-gdb-completion-function): New variable.
7764 (gud-gdb-completion-at-point): Use it.
7765 (gud-gdb-completions-1): Split from gud-gdb-completions.
7766
7767 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7768 function as separate arguments.
7769 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7770 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7771 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7772 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7773 (gdb-stopped, def-gdb-auto-update-trigger)
7774 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7775 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7776 Callers changed.
2170cb53
CY
7777 (gud-gdbmi-completions): New function.
7778 (gdb): Use it for generating the completion table.
7779
be8b11bb
AM
77802011-12-24 Alan Mackenzie <acm@muc.de>
7781
7782 Introduce a mechanism to widen the region used in context font
1d00653d 7783 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7784
1d00653d
SM
7785 * progmodes/cc-langs.el (c-before-font-lock-functions):
7786 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7787 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7788 functions to be run just before context (etc.) font locking.
7789
7790 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7791 New, functionality extracted from
be8b11bb 7792 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7793 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7794 (c-after-change): Set c-in-after-change-fontification.
7795 (c-set-fl-decl-start): Rejig its interface, so it can be called
7796 from both after-change and context fontifying.
b81d40f0
JB
7797 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7798 New functions.
7799 (c-standard-font-lock-fontify-region-function): New variable.
7800 (c-font-lock-fontify-region): New function.
be8b11bb 7801
341cf6ac
JL
78022011-12-24 Juri Linkov <juri@jurta.org>
7803
7804 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7805 (Bug#10348)
7806
bffcee0a
MA
78072011-12-23 Michael Albinus <michael.albinus@gmx.de>
7808
7809 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7810 existence of source file. (Bug#10325)
7811
cb5e207c
AM
78122011-12-23 Alan Mackenzie <acm@muc.de>
7813
7814 Fix unstable fontification inside templates.
7815
b81d40f0
JB
7816 * progmodes/cc-langs.el (c-before-font-lock-functions):
7817 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7818 additionally has c-set-fl-decl-start. The other languages (apart
7819 from AWK) have that as a single entry.
7820
b81d40f0
JB
7821 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7822 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7823 c-set-fl-decl-start.
7824
b81d40f0
JB
7825 * progmodes/cc-mode.el (c-common-init, c-after-change):
7826 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7827 (c-set-fl-decl-start): New function, extracted from
7828 c-font-lock-enclosing-decls and enhanced.
7829
60ff536c
JB
78302011-12-23 Juanma Barranquero <lekktu@gmail.com>
7831
7832 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7833
1c4757d6
JL
78342011-12-22 Juri Linkov <juri@jurta.org>
7835
7836 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7837
d031f2c7
CY
78382011-12-22 Chong Yidong <cyd@gnu.org>
7839
7840 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7841
bace743a
DA
78422011-12-21 Drew Adams <drew.adams@oracle.com>
7843
7844 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7845
728a1f2b
JC
78462011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7847
7848 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7849
0d373f73
TZ
78502011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7851
fec0aaa4
TZ
7852 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7853 highlighting and support. Fix up comments for capitalization.
7854 (cfengine-mode-debug): New var.
7855 (cfengine3-mode): Change the modeline indicator to "CFE3".
7856 (cfengine3-font-lock-keywords): Improve defun highlighting.
7857 (cfengine2-actions): Rename from `cfengine-actions'.
7858 (cfengine2-font-lock-keywords): Rename from
7859 `cfengine-font-lock-keywords'.
7860 (cfengine2-imenu-expression): Rename from
7861 `cfengine-imenu-expression'.
7862 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7863 (cfengine2-beginning-of-defun): Rename from
7864 `cfengine-beginning-of-defun'.
7865 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7866 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7867 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7868 modeline indicator to "CFE2".
7869 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7870 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7871
bc86f573
CY
78722011-12-21 Chong Yidong <cyd@gnu.org>
7873
7874 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7875 filename argument.
7876
d45ba96b
MR
78772011-12-20 Martin Rudalics <rudalics@gmx.at>
7878
7879 * window.el (window-normalize-buffer-to-display): Remove.
7880 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7881
a6198c90
CY
78822011-12-19 Chong Yidong <cyd@gnu.org>
7883
7884 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7885 Don't signal an error in a predicate function; return non-nil.
7886 (vc-dir-mark-file): Move the error here.
7887 (vc-dir-mark-unmark): If acting on the region, keep going if one
7888 of the entries cannot be marked/unmarked.
7889 (vc-dir-mark-all-files): If current entry is a directory, mark
7890 only child files, as documented.
7891
34c5fb55
VB
78922011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7893
7894 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7895 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7896 addition.
7897
c803b2b7
JD
78982011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7899
7900 * term/ns-win.el (ns-get-selection-internal)
7901 (ns-store-selection-internal): Declare.
1154d12e
JB
7902 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7903 Declare as obsolete.
7904 (ns-get-pasteboard, ns-paste-secondary):
7905 Use ns-get-selection-internal.
7906 (ns-set-pasteboard, ns-copy-including-secondary):
7907 Use ns-store-selection-internal.
c803b2b7 7908
9cff91f8 79092011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7910
7911 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7912 (vc-deduce-fileset): Doc fix.
99a289d9 7913
f16c898a
AS
79142011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7915
7916 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7917
763237c4
SS
79182011-12-13 Sam Steingold <sds@gnu.org>
7919
7920 * man.el (Man-getpage-in-background): When running under a
7921 window-system, ignore $MANWIDTH and $COLUMNS.
7922
5fc1c122
KH
79232011-12-15 Kenichi Handa <handa@m17n.org>
7924
7925 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7926 (setup-ethiopic-environment-internal): Comment out key-binding for
7927 ethio-toggle-punctuation.
7928
13d49cbb
AM
79292011-12-13 Alan Mackenzie <acm@muc.de>
7930
898169a2
AM
7931 Add the switch statement to AWK Mode.
7932
7a71b18d 7933 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7934 "default" to the keywords regexp.
7935
7a71b18d 7936 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7937 expression as the rest.
1d00653d
SM
7938 (c-nonlabel-token-key): Allow string literals for AWK.
7939 Refactor for the other modes.
898169a2 7940
13d49cbb 7941 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7942 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7943 routines. Limit backward searching in c-font-lock-enclosing.decl.
7944
7945 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7946 pp-state and literal type in addition to the limits.
1d00653d 7947 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7948 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7949 (c-slow-in-literal, c-fast-in-literal): Remove.
7950 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7951
7952 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7953 being in a literal. Add a limit for backward searching.
7954
7955 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7956 c-slow-in-literal.
7957
15e0efc7
SM
79582011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7959
7960 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7961
454592a6
MR
79622011-12-13 Martin Rudalics <rudalics@gmx.at>
7963
7964 * window.el (delete-other-windows): Use correct frame in call to
7965 window-with-parameter.
7966
87393f26
DP
79672011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7968
7969 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7970 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7971 (makefile-gmake-statements, makefile-makepp-statements):
7972 Use it and add new makepp keywords.
7973 (makefile-makepp-font-lock-keywords): Add new patterns.
7974 (makefile-match-function-end): Match new [...] and [[...]].
7975
11636b22
JB
79762011-12-11 Juanma Barranquero <lekktu@gmail.com>
7977
7978 * ses.el (ses-call-printer-return, ses-cell-property-get)
7979 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7980 (ses-create-cell-variable, ses-reset-header-string)
7981 (ses-cell-set-formula, ses-repair-cell-reference-all)
7982 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7983 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7984 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7985 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7986 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7987 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7988 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7989 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7990 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7991 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7992 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7993 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7994
cf018193
VB
79952011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7996
7997 * ses.el: The overall change is to add cell renaming, that is
7998 setting fancy names for cell symbols other than name matching
7999 "\\`[A-Z]+[0-9]+\\'" regexp .
8000 (ses-create-cell-variable): New defun.
8001 (ses-relocate-formula): Relocate formulas only for cells the
8002 symbols of which are not renamed, i.e. symbols whose names do not
8003 match regexp "\\`[A-Z]+[0-9]+\\'".
8004 (ses-relocate-all): Relocate values only for cells the symbols of
8005 which are not renamed.
8006 (ses-load): Create cells variables as the (ses-cell ...) are read,
8007 in order to check row col consistency with cell symbol name only
8008 for cells that are not renamed.
8009 (ses-replace-name-in-formula): New defun.
8010 (ses-rename-cell): New defun.
8011
ee957461
CY
80122011-12-11 Chong Yidong <cyd@gnu.org>
8013
8014 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8015 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8016
9a9e9ef0
MR
80172011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8018
8019 * window.el (other-window): Fix docstring.
8020
92a8eba5
EZ
80212011-12-10 Eli Zaretskii <eliz@gnu.org>
8022
8023 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8024 `from' or `to' address before taking its substring.
8025 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8026 encoded name is chopped in the middle of the encoded string, and
8027 thus displayed encoded.
8028
e152e577
JB
80292011-12-10 Juanma Barranquero <lekktu@gmail.com>
8030
8031 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8032
e5d84bfe
EZ
80332011-12-10 Eli Zaretskii <eliz@gnu.org>
8034
8035 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8036 to use texinfo-update-node and commands that call it if the
8037 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8038 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8039 (texinfo-all-menus-update, texinfo-master-menu)
8040 (texinfo-update-node, texinfo-every-node-update)
8041 (texinfo-multiple-files-update): Doc fix. Warn against updating
8042 all the @node lines.
8043 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8044 argument is numeric. Explain better in the doc string what the
8045 function really does.
8046 (texinfo-insert-master-menu-list): Improve the error message
8047 displayed if there's no menu in the Top node.
8048 (Bug#2975) See also this thread:
e5d84bfe
EZ
8049 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8050
1d84e9bb
MG
80512011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8052
8053 * speedbar.el (speedbar-supported-extension-expressions):
8054 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8055
382c953b
JB
80562011-12-09 Juanma Barranquero <lekktu@gmail.com>
8057
8058 * printing.el (pr-mode-alist):
8059 * simple.el (filter-buffer-substring-functions)
8060 (completion-list-insert-choice-function):
8061 * window.el (window-with-parameter, window-atom-root)
8062 (window-sides-slots, window-size-fixed, window-min-delta)
8063 (window-max-delta, window--resize-mini-window)
8064 (window--resize-child-windows-normal, window-tree)
8065 (delete-other-windows, quit-window, split-window)
8066 (display-buffer-record-window, special-display-buffer-names)
8067 (special-display-regexps, special-display-popup-frame)
8068 (same-window-p, split-window-sensibly)
8069 (display-buffer-overriding-action, display-buffer-alist)
8070 (display-buffer-base-action, display-buffer, switch-to-buffer)
8071 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8072 (fit-window-to-buffer, recenter-positions)
8073 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8074 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8075 and remove unneeded backslashes in docstrings.
8076
39c9faef
SM
80772011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8078
98449af8
SM
8079 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8080
39c9faef
SM
8081 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8082 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8083 end in ".mk".
8084 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8085 when reading the makefile (bug#10116).
8086
86ed9fdc
SM
80872011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8088
8089 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8090 (bug#10116).
8091
5580f89d
GM
80922011-12-06 Glenn Morris <rgm@gnu.org>
8093
8094 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8095
28d3917c
CY
80962011-12-06 Chong Yidong <cyd@gnu.org>
8097
8098 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8099
a98edce9
JB
81002011-12-06 Juanma Barranquero <lekktu@gmail.com>
8101
8102 * textmodes/table.el (table-shorten-cell): Fix typo.
8103
e65adfac
CG
81042011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8105
8106 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8107
71cc0b74
EZ
81082011-12-05 Eli Zaretskii <eliz@gnu.org>
8109
8110 * descr-text.el (describe-char): Fix display of strong
8111 right-to-left characters and directional embeddings and overrides.
8112
8113 * simple.el (what-cursor-position): Fix display of codepoints of
8114 strong right-to-left characters.
8115
315bc30d
CY
81162011-12-05 Chong Yidong <cyd@gnu.org>
8117
8118 * faces.el (read-color): Doc fix.
8119
58a70b94
GM
81202011-12-05 Glenn Morris <rgm@gnu.org>
8121
8122 * align.el (align--set-marker): Add doc-string.
8123 Don't try to move something that is not a marker. (Bug#10216)
8124
5158face
GM
81252011-12-04 Glenn Morris <rgm@gnu.org>
8126
8127 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8128 overly zealous deletion of trailing whitespace.
8129
520fca41
JB
81302011-12-04 Juanma Barranquero <lekktu@gmail.com>
8131
8132 * server.el (server-delete-client): On Windows, do not try to delete
8133 the only terminal.
8134 (server-process-filter): On Windows, treat requests for a tty frame as
8135 if they were for a GUI frame if the running server is in GUI mode.
8136
5e605a2e
GM
81372011-12-03 Glenn Morris <rgm@gnu.org>
8138
8139 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8140
5c3fe83f
SM
81412011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8142
6f5e57e7
SM
8143 * electric.el: Streamline electric-indent's hook.
8144 (electric-indent-chars): Revert to simple list.
8145 (electric-indent-functions): New var.
8146 (electric-indent-post-self-insert-function): Use it.
8147
5c3fe83f
SM
8148 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8149 there's no inferior buffer (bug#10196).
8150 (prolog-consult-compile): Don't use toggle-read-only.
8151
6bdac736
MA
81522011-12-02 Michael Albinus <michael.albinus@gmx.de>
8153
8154 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8155 interrupt. (Bug#10187)
8156
6131ba7f
SM
81572011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8158
99c79fee
SM
8159 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8160 (bug#9160).
8161
6131ba7f
SM
8162 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8163 (bug#10191).
8164
cb0a02ea
JL
81652011-12-02 Juri Linkov <juri@jurta.org>
8166
8167 * info.el (Info-search): Display "end of manual" when Isearch
8168 reaches the end of single-file Info manual. (Bug#9918)
8169
66e0570c
EZ
81702011-12-02 Eli Zaretskii <eliz@gnu.org>
8171
8172 * isearch.el (isearch-message-prefix): Run the input method part
8173 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8174
02b16839
JL
81752011-12-02 Juri Linkov <juri@jurta.org>
8176
8177 * isearch.el (isearch-occur): Use `word-search-regexp' for
8178 `isearch-word'.
8179 (isearch-search-and-update): Add condition for `isearch-word' and
8180 call `word-search-regexp'. (Bug#10145)
8181
0b950688
GM
81822011-12-01 Glenn Morris <rgm@gnu.org>
8183
8184 * eshell/em-hist.el (eshell-hist-initialize):
8185 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8186 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8187
9505c3c7
SM
81882011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8189
8190 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8191
1bbe96b2 81922011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8193
a1beca85
SM
8194 * progmodes/verilog-mode.el (verilog-pretty-expr):
8195 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8196 verilog, such as += *= and the like.
8197 (verilog-assignment-operator-re): Regular expression to find the
8198 assigment operator in a verilog assignment.
8199 (verilog-assignment-operation-re): Regular expression to find an
8200 assignment statement for pretty-expr.
8201 (verilog-in-attribute-p): Query returns true if point is in an
8202 attribute context; used to skip these for expression line up from
8203 pretty-expr.
8204 (verilog-in-parameter-p): Query returns true if point is in an
8205 parameter definition context; used to skip these for expression
8206 line up from pretty-expr.
8207 (verilog-in-parenthesis-p): Query returns true if point is in a
8208 parenthetical expression, specifically ( ) but not [ ] or { };
8209 used by pretty-expr.
8210 (verilog-just-one-space): If there is no space, don't add one.
8211 (verilog-get-lineup-indent-2): Specifically skip just attribute
8212 contexts for expression lineup, rather than skipping all
8213 parenthetical expressions.
8214 (verilog-calculate-indent): Fix comment, and fix indent.
8215 (verilog-do-indent): Indent declarations in lists (suggested by
8216 Joachim Lechner).
8217 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8218 skeleton items.
8219 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8220 by Alain Mellan).
8221
1bbe96b2 82222011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8223
8224 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8225 parameters with embedded comments. Reported by Ray Stevens.
8226 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8227 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8228 Reported by Tim Holt.
8229 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8230 instantiated by upper module causing wrong expansion until AUTOed a
8231 second time. Reported by K C Buckenmaier.
8232 (verilog-diff-auto): Fix showing .* as a difference when
8233 `verilog-auto-star-save' off. Reported by Dan Dever.
8234 (verilog-auto-reset, verilog-read-always-signals)
8235 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8236 temporary signals in reset list if
8237 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8238 style to each signal's assignment type, bug381.
8239 Reported by Thomas Esposito.
6288f0ca
WS
8240 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8241 (verilog-uvm-statement-re): Support UVM indentation and
8242 highlighting, with old OVM keywords only.
a1beca85 8243 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8244 Support AUTOTIEOFF creating non-wire data types.
8245 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8246 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8247 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8248 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8249 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8250 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8251 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8252 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8253 non-numeric vector width. Reported by Alex Reed.
8254 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8255 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8256 (verilog-auto-delete-trailing-whitespace):
8257 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8258 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8259 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8260 Fix verilog-scan-cache corruption when running user AUTO expansion
8261 hooks that call indentation routines.
8262 (verilog-simplify-range-expression): Fix typo ignoring lower case
8263 identifiers.
8264 (verilog-delete-auto): Fix delete-autos to also remove user created
8265 automatics, as long as they start with AUTO.
8266 (verilog-batch-diff-auto, verilog-diff-auto)
8267 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8268 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8269 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8270 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8271 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8272 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8273 is disabled and its cache will get corrupt, causing AUTOS not to
8274 expand. Instead use only -quick functions.
8275 (verilog-scan-region): Fix scanning over escaped quotes.
8276 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8277 (verilog-re-search-backward-quick)
8278 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8279 related functions now ignore strings, to fix misparsing of strings
8280 with magic comments embedded in them.
a1beca85
SM
8281 (verilog-read-auto-template):
8282 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8283 Reported by Brad Dobbie.
8284 (verilog-read-auto-template):
8285 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8286 Reported by Brad Dobbie.
6288f0ca
WS
8287 (verilog-auto-inst, verilog-auto-inst-param)
8288 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8289 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8290 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8291 debugging templates without merge conflicts, bug357.
8292 Reported by Brad Dobbie.
8293 (verilog-read-auto-template):
8294 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8295 Reported by Brad Dobbie.
8296 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8297 abbrevs so user won't be asked to save.
8298 (verilog-read-auto-lisp-present): Fix to start at beginning of
8299 buffer in case called outside of verilog-auto.
8300 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8301 to "X-2". Reported by Matthew Myers.
8302 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8303 all inputs from module templates. Reported by Leith Johnson.
8304 (verilog-module-inside-filename-p): Fix locating programs as with
8305 modules.
8306 (verilog-auto-inst-port): Fix vl-width expressions when using
8307 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8308 (verilog-decls-get-regs, verilog-decls-get-signals,
8309 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8310 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8311 verilog-read-decls): Combine reg and wire structures into one var
8312 structure to represent SystemVerilog concepts.
8313 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8314 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8315 (verilog-auto-wire-type, verilog-insert-definition):
8316 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8317 SystemVerilog "logic" keyword instead of "wire"/"reg".
8318 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8319 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8320 ifdef or generate if so there's not a driver conflict).
8321 Reported by Matthew Myers.
8322 (verilog-auto-declare-nettype, verilog-insert-definition):
8323 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8324 `default_nettype none. Reported by Julian Gorfajn.
8325 (verilog-read-always-signals-recurse, verilog-read-decls)
8326 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8327 malformed end statement, bug325. Reported by Joshua Wise and
8328 Andrew Drake.
8329 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8330 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8331 when expanding .* in interfaces, bug320.
8332 Reported by Pierre-David Pfister.
6288f0ca 8333 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8334 name and open parenthesis, bug317.
8335 Reported by Pierre-David Pfister.
6288f0ca
WS
8336 (verilog-simplify-range-expression): Fix simplification of
8337 multiplications inside AUTOWIRE connections, bug303.
8338 (verilog-auto-inst-port): Support parameter expansion in
8339 multidimensional arrays.
8340 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8341 after "assert property". Reported by Julian Gorfajn.
8342 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8343 with multiplication, bug303.
8344 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8345 Reported by Jan Frode Lonnum.
8346
1bbe96b2
GM
83472011-11-30 Juanma Barranquero <lekktu@gmail.com>
8348
8349 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8350 (hfy-shell-file-name, hfy-shell):
8351 * international/fontset.el (x-decompose-font-name): Fix typos.
8352
83532011-11-29 Ken Brown <kbrown@cornell.edu>
8354
8355 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8356 (gdb-version): Remove defvar.
8357 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8358 (gdb-gud-context-command, gdb-non-stop-handler)
8359 (gdb-current-context-command, gdb-stopped): Use it.
8360 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8361 (gdb-non-stop-handler): Don't enable pretty-printing here.
8362 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8363 non-stop mode. Use the following.
8364 (gdb-check-target-async): New defun.
8365 (gud-watch, gdb-stopped): Fix whitespace.
8366 (gdb-get-source-file): Don't try to display the source file if
8367 `gdb-main-file' is nil.
8368
83692011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8370
8371 * align.el: Try to generate fewer markers (bug#10047).
8372 (align--set-marker): New macro.
8373 (align-region): Use it.
8374
c935221f
SM
83752011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8376
8377 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8378
e70b5064
CY
83792011-11-29 Chong Yidong <cyd@gnu.org>
8380
8381 * indent.el (indent-for-tab-command, indent-according-to-mode):
8382 Doc fix.
8383 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8384
f3af92b7
MA
83852011-11-29 Michael Albinus <michael.albinus@gmx.de>
8386
8387 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8388 aware of remote file names. (Bug#10124)
8389
ed472be9
CY
83902011-11-29 Chong Yidong <cyd@gnu.org>
8391
8392 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8393
24510c22
SM
83942011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8395
8396 * files.el (find-file): Don't use force-same-window (bug#10144).
8397 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8398 use pop-to-buffer if the selected window can't be used.
8399 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8400
c60c3703
EZ
84012011-11-28 Eli Zaretskii <eliz@gnu.org>
8402
8403 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8404 special-mode-map.
8405
e95def75
CY
84062011-11-28 Chong Yidong <cyd@gnu.org>
8407
8408 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8409
c3f1c606
NR
84102011-11-27 Nick Roberts <nickrob@snap.net.nz>
8411
8412 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8413 gdb-get-source-file-list on gdb-create-source-file-list.
8414
00db469c
EZ
84152011-11-26 Eli Zaretskii <eliz@gnu.org>
8416
8417 * whitespace.el (whitespace-newline): Use a different foreground
8418 color for 16-color light-background displays.
8419
4ad3bc2a
CY
84202011-11-24 Chong Yidong <cyd@gnu.org>
8421
8422 * window.el (display-buffer--special-action): Doc fix.
8423
e9fce1ac
JB
84242011-11-25 Juanma Barranquero <lekktu@gmail.com>
8425
8426 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8427 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8428 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8429 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8430 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8431 (avl-tree-stack-first):
8432 * emacs-lisp/cconv.el (cconv--analyse-use):
8433 * net/gnutls.el (gnutls-negotiate): Fix typos.
8434
cb825e5d
GM
84352011-11-24 Glenn Morris <rgm@gnu.org>
8436
3adbe224
GM
8437 * lpr.el (lpr-windows-system, lpr-lp-system):
8438 * mail/binhex.el (binhex-begin-line):
8439 * progmodes/grep.el (grep-history, grep-find-history):
8440 * textmodes/flyspell.el:
8441 * vc/pcvs-defs.el (cvs-global-menu):
8442 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8443 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8444 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8445
321decc8
GM
8446 * net/tls.el: Fix case of "GnuTLS".
8447
420b63ad
GM
8448 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8449
cb825e5d
GM
8450 * version.el (emacs-build-system): Give it a doc-string.
8451
a0649f08
JL
84522011-11-24 Juri Linkov <juri@jurta.org>
8453
8454 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8455
c0bc0fd4
GM
84562011-11-24 Glenn Morris <rgm@gnu.org>
8457
8458 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8459 if called on a non-mime message just toggle the headers. (Bug#8006)
8460
20db1522
JB
84612011-11-24 Juanma Barranquero <lekktu@gmail.com>
8462
8463 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8464 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8465 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8466 (allout-rebullet-heading, allout-open-sibtopic)
8467 (allout-toggle-current-subtree-encryption)
8468 (allout-toggle-subtree-encryption, allout-encrypt-string)
8469 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8470 (allout-distinctive-bullets-string, allout-auto-activation):
8471 * window.el (window-normalize-buffer-to-display):
8472 * progmodes/verilog-mode.el (verilog-batch-indent):
8473 * textmodes/bibtex.el (bibtex-field-braces-opt)
8474 (bibtex-field-strings-opt):
8475 * vc/cvs-status.el (cvs-tree-merge):
8476 Fix typos.
8477
7262a87c
MA
84782011-11-23 Michael Albinus <michael.albinus@gmx.de>
8479
8480 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8481 `non-essential' to t, in order to avoid remote connections.
8482
283430a1
EZ
84832011-11-23 Eli Zaretskii <eliz@gnu.org>
8484
a1beca85
SM
8485 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8486 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8487 case-insensitively.
8488
d2992a38
ML
84892011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8490
8491 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8492
50419064
GM
84932011-11-23 Glenn Morris <rgm@gnu.org>
8494
da94eca1
GM
8495 * paths.el (rmail-file-name): Reformat the doc-string so that it
8496 is picked up.
8497
9aac4de2
GM
8498 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8499 (rmail-auto-file): Ignore case in the "special" field names,
8500 as mail-fetch-field does for all others.
8501
8038d2d2
GM
8502 * mail/rmail.el (rmail-forward):
8503 * mail/rmailkwd.el (rmail-set-label):
8504 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8505 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8506
f3fe222a
GM
8507 * mail/rmail.el (rmail-current-message): Doc fix.
8508
50419064
GM
8509 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8510
28109f49
SM
85112011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8512
8513 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8514
394c65f1
GM
85152011-11-22 Glenn Morris <rgm@gnu.org>
8516
8517 * mail/rmailmm.el (test-rmail-mime-handler)
8518 (test-rmail-mime-bulk-handler)
8519 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8520
f2a0aa3a
JL
85212011-11-21 Juri Linkov <juri@jurta.org>
8522
1154d12e
JB
8523 * calc/calc.el (calc-read-key-sequence):
8524 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8525
9c34a344
LMI
85262011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8527
8528 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8529 Tell the caller that the next line needs recomputation, even
8530 though it doesn't start a sexp (bug#10094).
8531
f04a3be9
SM
85322011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8533
8534 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8535
7978747f
SM
85362011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8537
f04a3be9
SM
8538 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8539 Use force-same-window.
7978747f 8540
fe7a3057
JB
85412011-11-20 Juanma Barranquero <lekktu@gmail.com>
8542
8543 * descr-text.el (describe-char-unicode-data):
8544 * json.el (json-string-escape):
8545 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8546 (Footnote-unicode, Footnote-style-p):
8547 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8548
24901d61
CY
85492011-11-20 Chong Yidong <cyd@gnu.org>
8550
8551 * window.el (replace-buffer-in-windows): Restore interactive spec.
8552
bac7ff22
SM
85532011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8554
24f3d7b9
SM
8555 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8556
bac7ff22
SM
8557 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8558 (byte-compile-global-not-obsolete-vars): New var.
8559 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8560 Use it.
8561 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8562
cd1181db
JB
85632011-11-20 Juanma Barranquero <lekktu@gmail.com>
8564
8565 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8566 * progmodes/pascal.el (electric-pascal-equal):
8567 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8568 * xml.el (xml-substitute-special): Fix typos.
8569
7fb18e9e
GM
85702011-11-20 Glenn Morris <rgm@gnu.org>
8571
8572 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8573 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8574 Doc fixes.
8575 (rmail-decode-mime-charset): Mark as obsolete.
8576
8577 * mail/rmailsum.el (rmail-message-regexp-p-1):
8578 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8579 Before using mime functions, check they are set. (Bug#10077)
8580
d5a6b3ba
JL
85812011-11-19 Juri Linkov <juri@jurta.org>
8582
8583 * info.el (Info-finder-find-node): Use `package--builtins' instead
8584 of `package-alist'. Use node names formed by the pattern "Keyword "
8585 and the keyword name.
8586
e981b61f
AS
85872011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8588
1d00653d 8589 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8590
3ffbc301
JL
85912011-11-19 Juri Linkov <juri@jurta.org>
8592
8593 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8594 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8595 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8596 `old-history', `old-history-forward'. Add let-binding
8597 `window-selected'. Remove calls to `kill-buffer',
8598 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8599 before calling `Info-find-node', so `Info-find-node-2' will reread
8600 the Info file. Restore window positions only when `window-selected'
8601 is non-nil.
8602
30c62133
JL
86032011-11-19 Juri Linkov <juri@jurta.org>
8604
8605 * isearch.el (isearch-lazy-highlight-new-loop):
8606 Remove condition `(not isearch-error)'. (Bug#9918)
8607
8608 * misearch.el (multi-isearch-search-fun): Add condition
8609 `(not bound)' to ignore lazy-highlighting search.
8610 Add the search-failed message "end of multi" when the end of
8611 multi-sequence is reached. Uncapitalize the search-failed
8612 message "Repeat for next buffer".
8613
8614 * info.el (Info-search): Add the search-failed message
8615 "end of the manual" when the end of the manual is reached
8616 in Isearch mode.
8617
645ca9cf
JL
86182011-11-19 Juri Linkov <juri@jurta.org>
8619
8620 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8621 Use non-destructive `remove' instead of `delete' because
8622 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8623 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8624
df754f66
JL
86252011-11-19 Juri Linkov <juri@jurta.org>
8626
8627 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8628 to nil instead of binding `search-ring' and `regexp-search-ring'.
8629 (Bug#9185)
8630
0e23d96a
EZ
86312011-11-19 Eli Zaretskii <eliz@gnu.org>
8632
8633 * simple.el (line-move): Force movement by logical lines for any
8634 hscrolled window, not only when auto-hscroll-mode is on.
8635 (line-move-visual): Update doc string to that effect. (Bug#10076)
8636
8a6ccb66
AS
86372011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8638
8639 * language/european.el (macintosh): Define as alias for mac-roman.
8640
49ae5b39
EZ
86412011-11-19 Eli Zaretskii <eliz@gnu.org>
8642
8643 * mail/rmailmm.el (rmail-mime-display-header)
8644 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8645 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8646 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8647 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8648 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8649 of a raw aref.
8650 (rmail-mime-entity-segment): To get past the tagline, move forward
8651 2 more lines, to account for the 2 empty lines that precede and
8652 follow the line with the buttons.
8653 (rmail-mime-update-tagline): Move one more line, to get past the
8654 empty line that follows the buttons in the tagline. (Bug#9520)
8655
c56cad4a
MR
86562011-11-19 Martin Rudalics <rudalics@gmx.at>
8657
8658 * window.el (window-max-delta-1, window-min-delta-1)
8659 (window-min-size-1, window-state-get-1, window-state-put-1)
8660 (window-state-put-2): Use "window--" prefix.
8661
cbe71af3
SM
86622011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8663
2ad52c60
SM
8664 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8665 (smie-warning-count): New var.
8666 (smie-set-prec2tab): Use it.
8667 (smie-bnf->prec2): Improve warnings. Add docstring.
8668 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8669 (smie-bnf--set-class): New function.
8670 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8671 corner case.
8672
6944dbc1
SM
8673 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8674 (compilation-error-properties, compilation-move-to-column):
8675 Handle compilation-first-column while in the target buffer.
8676
c400c4d7
SM
8677 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8678 Don't hardcode point-min==1.
8679
6dbe3e96
SM
8680 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8681 (eshell-rewrite-for-command): Remove workaround.
8682 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8683 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8684 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8685
cbe71af3
SM
8686 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8687
a8e1496d
GM
86882011-11-17 Glenn Morris <rgm@gnu.org>
8689
8690 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8691 Ignore buffer-local generated-autoload-file if it is the same
8692 as the global value. (Bug#10049)
8693
df85d315
JB
86942011-11-17 Juanma Barranquero <lekktu@gmail.com>
8695
8696 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8697 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8698 (reftex-toc-previous-heading, reftex-toc-max-level)
8699 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8700 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8701 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8702 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8703 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8704 (reftex-toc-rename-label, reftex-toc-visit-location)
8705 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8706 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8707 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8708 leaving "*toc*" only for references to the buffer.
8709
a0c2d0ae
MR
87102011-11-17 Martin Rudalics <rudalics@gmx.at>
8711
8712 * window.el (window-resize, delete-window, split-window):
8713 Replace window-splits by window-combination-resize.
1d00653d 8714 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8715
35c0bac8
GM
87162011-11-17 Glenn Morris <rgm@gnu.org>
8717
8718 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8719 Make bash entry derive from sh entry, not shell entry.
8720
d0c8fc8a
MA
87212011-11-16 Michael Albinus <michael.albinus@gmx.de>
8722
7262a87c
MA
8723 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8724 local file name.
8725
7877f373
JB
87262011-11-16 Juanma Barranquero <lekktu@gmail.com>
8727
8728 * menu-bar.el (menu-bar-file-menu):
8729 * printing.el (pr-ps-utility):
8730 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8731 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8732 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8733 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8734 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8735 (icalendar--convert-cyclic-to-ical)
8736 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8737 (icalendar--convert-ical-to-diary)
8738 (icalendar--convert-recurring-to-diary)
8739 (icalendar--convert-non-recurring-all-day-to-diary)
8740 (icalendar-import-format-sample):
8741 * progmodes/idlw-shell.el (idlwave-shell-mode):
8742 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8743 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8744 (vhdl-ps-print-init): Fix typos.
8745
10649b82
KM
87462011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8747
9d0cfcd6
GM
8748 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8749 FSF and collapse date sequence, obscure author/maintainer email address
8750 better, remove extra version line, track relocation of author's webpage.
10649b82 8751
9d0cfcd6
GM
8752 * progmodes/python.el (python-pdbtrack-input-prompt)
8753 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8754 regular python pdb prompts. Adjustments shamelessly taken exactly as
8755 suggested in EmacsWiki page (tiny change):
8756 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8757
58179cce
JB
87582011-11-16 Juanma Barranquero <lekktu@gmail.com>
8759
8760 * expand.el (expand-pos, expand-index, expand-point):
8761 Remove redundant info from docstring.
8762 (expand-add-abbrevs): Doc fix.
8763 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8764 (expand-sample-perl-mode-expand-list): Fix typos.
8765
8766 * net/dbus.el (dbus-event-member-name):
8767 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8768 * term/pc-win.el (msdos-create-frame-with-faces):
8769 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8770
b6f67890
MR
87712011-11-16 Martin Rudalics <rudalics@gmx.at>
8772
8773 * window.el (split-window, window-state-get-1)
8774 (window-state-put-1, window-state-put-2): Rename occurrences of
8775 window-nest to window-combination-limit.
1d00653d 8776 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8777
ce7ddba0
CY
87782011-11-16 Chong Yidong <cyd@gnu.org>
8779
8780 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8781 regexp (Bug#10033).
8782
3ae704f4
SM
87832011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8784
8785 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8786 `completing-read' will remove *Completions* and will preserve
8787 current-buffer for us.
8788 (tmm-add-prompt): Users of *Completions* will always (re)set its
8789 major mode.
8790 (tmm-old-comp-map): Remove.
8791
6ad1cdde
GM
87922011-11-16 Glenn Morris <rgm@gnu.org>
8793
8794 * mail/rmailedit.el: Require rmailmm when compiling.
8795 (rmail-old-mime-state): New declaration.
8796 (rmail-edit-current-message): If editing a mime message,
8797 edit the "raw" message from the mbox buffer.
8798 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8799
d20faa20
GM
88002011-11-15 Glenn Morris <rgm@gnu.org>
8801
8802 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8803 which wasn't being used. Add optional arg to force given state.
8804 (rmail-mime): Add optional arg to force given state.
8805
c7015153
JB
88062011-11-15 Juanma Barranquero <lekktu@gmail.com>
8807
8808 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8809 * frame.el (display-mm-dimensions-alist):
8810 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8811 (outline-move-subtree-down):
8812 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8813 (newsticker--treeview-do-get-node):
8814 * net/quickurl.el (quickurl-list-buffer-name):
8815 * progmodes/dcl-mode.el (dcl-mode):
8816 * progmodes/gdb-mi.el (gdb-mapcar*):
8817 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8818
45261b50
GM
88192011-11-15 Glenn Morris <rgm@gnu.org>
8820
8821 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8822 in a boolean sense, so just make it a boolean, and fix the doc.
8823 (rmail-show-mime-function, rmail-mime-feature)
8824 (rmail-require-mime-maybe): Doc fixes.
8825 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8826
8827 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8828
0d26e0b6
JB
88292011-11-15 Juanma Barranquero <lekktu@gmail.com>
8830
8831 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8832 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8833 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8834 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8835
447f30f6
GM
88362011-11-15 Glenn Morris <rgm@gnu.org>
8837
672b871d
GM
8838 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8839 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8840 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8841 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8842 (rmail-mime, rmail-show-mime): Doc fixes.
8843
f6aa5bb1
GM
8844 * term/ns-win.el (mode-line-frame-identification):
8845 Leave it alone. (Bug#10051)
8846
947cd66b
GM
8847 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8848
447f30f6
GM
8849 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8850 Handle empty buffers. (Bug#9978)
8851
0b381c7e
JB
88522011-11-14 Juanma Barranquero <lekktu@gmail.com>
8853
8854 * international/mule.el (define-charset):
8855 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8856 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8857 * progmodes/verilog-mode.el (verilog-backward-token):
8858 * textmodes/ispell.el (lookup-words):
8859 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8860
71e027ac
GM
88612011-11-14 Glenn Morris <rgm@gnu.org>
8862
56632ce4
GM
8863 * progmodes/executable.el
8864 (executable-make-buffer-file-executable-if-script-p):
8865 Handle file-modes returning nil.
8866
40500957
GM
8867 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8868 message - not necessary, and causes problems. (Bug#9831)
8869
071c2340
GM
8870 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8871
d3cfca60
GM
8872 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8873
71e027ac
GM
8874 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8875 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8876 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8877
89d61221
MR
88782011-11-12 Martin Rudalics <rudalics@gmx.at>
8879
8880 * window.el (window-resize, delete-window): Use window-splits
8881 variable instead of function.
8882 (window-state-get-1, window-state-put-2, window-state-put):
8883 Don't deal with windows' splits status.
8884
98282f6f
GM
88852011-11-12 Glenn Morris <rgm@gnu.org>
8886
8887 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8888 (apropos-documentation): Doc fixes.
8889
40a8bdf6
JB
88902011-11-11 Juanma Barranquero <lekktu@gmail.com>
8891
8892 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8893 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8894
65bd19ff
SM
88952011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8896
8897 * electric.el (electric-indent-post-self-insert-function): Make it
8898 possible for a char to only indent in some circumstances.
8899 (electric-indent-mode): Simplify.
8900
54f9154c
MR
89012011-11-11 Martin Rudalics <rudalics@gmx.at>
8902
8903 * window.el (windows-with-parameter): Remove unused function.
8904 (windows-at-side): Rename to window-at-side-list.
8905 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8906 (window-side-check, window-size-ignore, window-size-fixed-1)
8907 (window-in-direction-2): Prefix with "window--".
8908 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8909
68cbc58b
GM
89102011-11-11 Glenn Morris <rgm@gnu.org>
8911
8912 * subr.el (eval-after-load): If FILE is already loaded,
8913 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8914
b2621720
GM
89152011-11-10 Glenn Morris <rgm@gnu.org>
8916
9a4de110
GM
8917 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8918 Call svn via vc-svn-command rather than vc-do-command.
8919 (vc-svn-command): Add --non-interactive. (Bug#9993)
8920 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8921
b2621720
GM
8922 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8923 Add toggle-read-only. (Bug#7292)
8924 * files.el (toggle-read-only): Mention that it should only
8925 be used interactively. (Bug#10006)
8926
1dce7193
SM
89272011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8928
d9ac1a1e
SM
8929 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8930 Adjust regexp for OCaml warnings.
8931
0c325082
SM
8932 * electric.el (electric-pair-post-self-insert-function): Let user
8933 turn it off buffer-locally (bug#9932).
8934
90132c14
SM
8935 * progmodes/python.el (python-beginning-of-statement):
8936 Rewrite (bug#2703).
8937
1dce7193
SM
8938 * progmodes/compile.el: Better handle TABs (bug#9749).
8939 (compilation-internal-error-properties)
8940 (compilation-next-error-function): Obey the target buffer's
8941 compilation-error-screen-columns.
8942
c4e7c63a
JB
89432011-11-09 Juanma Barranquero <lekktu@gmail.com>
8944
8945 * progmodes/meta-mode.el: Remove obsolete comments.
8946 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8947 Fix typos in docstrings.
8948
2cffd681
MR
89492011-11-09 Martin Rudalics <rudalics@gmx.at>
8950
8951 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8952 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8953 (window--resizable): New function. Make all callers of
8954 window-resizable call window--resizable instead.
8955 (window-resizable): Rewrite in terms of window--resizable.
8956
0edcba87
GM
89572011-11-08 Glenn Morris <rgm@gnu.org>
8958
8959 * progmodes/delphi.el (delphi-mode-syntax-table):
8960 Let define-derived-mode define a proper syntax table. (Bug#9994)
8961
4b0d61e3
SM
89622011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8963
8964 * window.el: Stay away from defsubst.
8965 (window-list-no-nils): Remove.
8966 (window-state-get-1, window-state-get): Use backquote instead.
8967
cd394be1 89682011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8969
4b0d61e3 8970 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8971 Fix incorrect use of default argument in `completing-read'.
8972
e1c2c6f2
MR
89732011-11-08 Martin Rudalics <rudalics@gmx.at>
8974
8975 * window.el (display-buffer-function, special-display-function):
8976 Mention display-buffer-record-window but do not mention
8977 help-setup parameter in doc-strings.
b3f4a882 8978 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8979
105216ed
CY
89802011-11-08 Chong Yidong <cyd@gnu.org>
8981
8982 * window.el (window-total-height, window-total-width): Doc fix.
8983 (window-body-size): Move from C.
8984 (window-body-height, window-body-width): Move to C.
8985
0a9f9ab5
SM
89862011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8987
8988 * window.el: Make special-display like display-buffer-alist (bug#9532).
8989 (display-buffer--special-action): New function, morphed
8990 from display-buffer--special.
8991 (display-buffer): Use it to handle special-display-buffers at higher
8992 priority (just after display-buffer-alist).
8993 (display-buffer-fallback-action, display-buffer--other-frame-action)
8994 (pop-to-buffer-same-window): Remove display-buffer--special.
8995
a769dd15
GM
89962011-11-07 Glenn Morris <rgm@gnu.org>
8997
8998 * calendar/cal-menu.el (cal-menu-set-date-title):
8999 Do nothing if not in a calendar. (Bug#9976)
9000
05a61ee3
SM
90012011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * files.el (find-file): Always use selected-window.
9004
be7f5545
MR
90052011-11-07 Martin Rudalics <rudalics@gmx.at>
9006
9007 * window.el (window-combinations): Make WINDOW argument
9008 mandatory. Rewrite doc-string.
9009 (walk-window-subtree, window-atom-check, window-min-delta)
9010 (window-max-delta, window--resize-this-window)
9011 (window--resize-root-window-vertically, window-tree)
9012 (balance-windows, window-state-put): Rewrite doc-strings as to
9013 not mention the term "subwindow".
9014 (window--resize-subwindows-skip-p): Rename to
9015 window--resize-child-windows-skip-p.
9016 (window--resize-subwindows-normal): Rename to
9017 window--resize-child-windows-normal.
9018 (window--resize-subwindows): Rename to
9019 window--resize-child-windows.
9020 (window-or-subwindow-p): Rename to window--in-subtree-p.
9021
3c6702ef
ML
90222011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9023
9024 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9025 Ensure that mbox format messages end in two newlines (Bug#9974).
9026
49745b39
CY
90272011-11-06 Chong Yidong <cyd@gnu.org>
9028
9029 * window.el (window-combination-p): Function deleted; its
9030 side-effect is not used in any existing code.
9031 (window-combinations, window-combined-p): Call window-*-child
9032 directly.
9033
24300f5f
CY
90342011-11-05 Chong Yidong <cyd@gnu.org>
9035
9036 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9037 (window-size-ignore, window-state-get): Callers changed.
9038 (window-normalize-window): Rename from window-normalize-any-window.
9039 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9040 (window-normalize-live-window): Delete.
447f16b8
CY
9041 (window-combination-p, window-combined-p, window-combinations)
9042 (walk-window-subtree, window-atom-root, window-min-size)
9043 (window-sizable, window-sizable-p, window-size-fixed-p)
9044 (window-min-delta, window-max-delta, window-resizable)
9045 (window-resizable-p, window-full-height-p, window-full-width-p)
9046 (window-current-scroll-bars, window-point-1, set-window-point-1)
9047 (window-at-side-p, window-in-direction, window-resize)
9048 (adjust-window-trailing-edge, maximize-window, minimize-window)
9049 (window-deletable-p, delete-window, delete-other-windows)
9050 (record-window-buffer, unrecord-window-buffer)
9051 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9052 (quit-window, split-window, window-state-put)
9053 (set-window-text-height, fit-window-to-buffer)
9054 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9055
89bd5ee1
EZ
90562011-11-04 Eli Zaretskii <eliz@gnu.org>
9057
53479029
EZ
9058 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9059 rfc2047-decode-string.
9060 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9061 warnings.
9062
89bd5ee1
EZ
9063 * window.el (window-body-height, window-body-width): Mention in
9064 the doc string that the return values are in frame's canonical
9065 units. (Bug#9949)
9066
bd17fdee
AM
90672011-11-03 Alan Mackenzie <acm@muc.de>
9068
9069 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9070 change in cc-engine.el.
9071
acc825c5
SM
90722011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9073
9074 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9075
1885e5b8
MR
90762011-11-02 Martin Rudalics <rudalics@gmx.at>
9077
9078 * window.el (quit-window): Call unrecord-window-buffer after
9079 showing another buffer in the window. (Bug#9937)
acc825c5 9080 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9081
ebe06da9
JB
90822011-11-02 Juanma Barranquero <lekktu@gmail.com>
9083
9084 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9085 Accept status with more than 9 shelves. (Bug#9935)
9086 Reported by Colin D Bennett <colin@gibibit.com>.
9087
4ee88440
MR
90882011-11-01 Martin Rudalics <rudalics@gmx.at>
9089
9090 * help.el (with-help-window): Don't reference
9091 temp-buffer-show-specifiers in doc-string.
9092
08e1d82c
AS
90932011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9094
9095 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9096 menu-item.
9097
84bd6e9e
VJL
90982011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9099
9100 * whitespace.el: New version 13.2.2.
9101 (whitespace-newline-mode): Disable properly. Reported by Sarah
9102 <EmacsWiki>.
9103
dba0634a
UJ
91042011-10-30 Ulf Jasper <ulf.jasper@web.de>
9105
9106 * net/newst-treeview.el: Remove "Time-stamp".
9107 (newsticker--group-manage-orphan-feeds): Do not call
9108 newsticker--treeview-tree-update.
db22a3c2
JB
9109 (newsticker-treeview-update, newsticker-treeview):
9110 Call newsticker--treeview-tree-update if necessary.
dba0634a 9111
3d8daefe
MR
91122011-10-30 Martin Rudalics <rudalics@gmx.at>
9113
9114 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9115 (window-iso-combinations): Remove "iso-" infix.
9116 Suggested by Chong Yidong.
3d8daefe
MR
9117 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9118 (window-max-delta-1, window-resize, window--resize-siblings)
9119 (window--resize-this-window, adjust-window-trailing-edge)
9120 (split-window, balance-windows-1)
9121 (shrink-window-if-larger-than-buffer):
9122 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9123 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9124
1bc4c3ae
SM
91252011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9126
9127 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9128 in place (bug#9907).
9129 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9130 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9131 (eshell-structure-basic-command, eshell-rewrite-while-command)
9132 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9133 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9134 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9135 (eshell-do-pipelines-synchronously, eshell-eval-command):
9136 Use backquotes and prefer setq to set.
9137 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9138 (eshell-macrop): Use functionp.
c1e2f5fa 9139 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9140
30b65d9c
CY
91412011-10-30 Chong Yidong <cyd@gnu.org>
9142
9143 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9144 instead of set-mark (Bug#9810).
9145
2d197ffb
CY
91462011-10-30 Chong Yidong <cyd@gnu.org>
9147
9148 * window.el (split-window-below, split-window-right): Rename from
9149 split-window-above-each-other and split-window-side-by-side
9150 respectively. All callers changed.
9151 (split-window-sensibly, split-window-sensibly): Use them.
9152 (split-window-keep-point): Doc fix.
9153
9154 * isearch.el: Add isearch-scroll property to split-window-below
9155 and split-window-right.
9156
9157 * follow.el (follow-mode):
9158 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9159 * progmodes/ada-xref.el (ada-gdb-application):
9160 * emulation/vip.el (vip-buffer-in-two-windows):
9161 * image-dired.el (image-dired-dired-with-window-configuration):
9162 * dired-x.el (dired-do-find-marked-files):
9163 * dired.el (dired-pop-to-buffer):
9164 * bs.el (bs--show-with-configuration):
9165 * vc/emerge.el (emerge-setup-windows):
9166 * textmodes/two-column.el (2C-two-columns):
9167 * textmodes/reftex-toc.el (reftex-toc):
9168 * progmodes/gdb-mi.el (gdb-setup-windows):
9169 * progmodes/fortran.el (fortran-window-create):
9170 * net/newst-treeview.el (newsticker--treeview-window-init):
9171 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9172 * emulation/tpu-edt.el (tpu-gold-map):
9173 * emulation/crisp.el (crisp-mode-map):
9174 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9175
38bb2ca8
CY
91762011-10-29 Chong Yidong <cyd@gnu.org>
9177
aa4de341
CY
9178 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9179
e1eb5385
CY
9180 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9181
5d2ece3c
CY
9182 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9183 forged Ispell output (Bug#7904).
9184
38bb2ca8
CY
9185 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9186
d0af9f77
SM
91872011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9188
9189 * doc-view.el: Avoid ugly errors about not finding nil.
9190 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9191 (doc-view-dvipdf-program, doc-view-unoconv-program)
9192 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9193 Avoid nil or absolute file name as default value.
9194 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9195
52bedd34
AM
91962011-10-28 Alan Mackenzie <acm@muc.de>
9197
db22a3c2 9198 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9199
7e43cfa5
AM
92002011-10-28 Alan Mackenzie <acm@muc.de>
9201
9202 Amend the handling of c-beginning/end-of-defun in nested declaration
9203 scopes.
9204
52bedd34
AM
9205 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9206 cc-langs.el. Change it to a defcustom.
7e43cfa5 9207
52bedd34
AM
9208 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9209 cc-vars.el.
7e43cfa5 9210
d0af9f77
SM
9211 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9212 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9213
52bedd34 9214 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9215 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9216 (c-widen-to-enclosing-decl-scope): New function.
9217 (c-while-widening-to-decl-block): New macro.
9218 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9219 outward for defun boundaries, and correspondingly change symbol
9220 `respect-enclosure' to `go-outward'.
9221 (c-declaration-limits): Change algorithm to report only the "innermost"
9222 defun's boundaries.
9223
1a2ce9ee
DD
92242011-10-28 Deniz Dogan <deniz@dogan.se>
9225
9226 * net/rcirc.el (rcirc-mode): Use hard newlines.
9227
bc97a826
AM
92282011-10-28 Alan Mackenzie <acm@muc.de>
9229
9230 Amend to indent and fontify macros "which include their own semicolon"
9231 correctly, using the "virtual semicolon" mechanism.
9232
52bedd34 9233 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9234
d0af9f77 9235 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9236 Recode to scan one line at a time rather than having \n and \r
58179cce 9237 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9238 (c-forward-label): Amend for virtual semicolons.
58179cce 9239 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9240
52bedd34
AM
9241 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9242 of the new C macros.
bc97a826 9243
52bedd34 9244 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9245 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9246 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9247 (c-opt-cpp-macro-define): Make into a full language variable.
9248 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9249 AWK Mode (including \n, \r) removed, no longer needed.
9250
d0af9f77
SM
9251 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9252 Invoke c-make-macro-with-semi-re.
bc97a826 9253
52bedd34
AM
9254 * progmodes/cc-vars.el (c-macro-with-semi-re):
9255 (c-macro-names-with-semicolon): New variables.
58179cce 9256 (c-make-macro-with-semi-re): New function.
bc97a826 9257
7a6c0941
SM
92582011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9259
9260 * vc/log-edit.el: Fill empty field rather than adding new one.
9261 (log-edit-add-field): New function.
9262 (log-edit-insert-changelog): Use it.
9263
b0c4cdcf
ML
92642011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9265
9266 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9267
ee1f1da9
SM
92682011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9269
9270 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9271 (gdb--check-interpreter): New function.
9272 (gdb): Use it.
9273
51bc5f8b
GM
92742011-10-27 Glenn Morris <rgm@gnu.org>
9275
416a2c45
GM
9276 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9277 (least-positive-float, least-negative-float)
9278 (least-positive-normalized-float, least-negative-normalized-float)
9279 (float-epsilon, float-negative-epsilon):
9280 Remove unnecessary declarations.
9281
9282 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9283 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9284 (least-positive-float, least-negative-float)
9285 (least-positive-normalized-float, least-negative-normalized-float)
9286 (float-epsilon, float-negative-epsilon): Add doc-strings,
9287 based on those in cl.texi.
9288
51bc5f8b
GM
9289 * files.el (set-visited-file-name): If the major-mode changed,
9290 reload the local variables. (Bug#9796)
9291
15de15c6
CY
92922011-10-27 Chong Yidong <cyd@gnu.org>
9293
9294 * subr.el (change-major-mode-after-body-hook): New hook.
9295 (run-mode-hooks): Run it.
9296
ee1f1da9
SM
9297 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9298 Use change-major-mode-before-body-hook.
15de15c6
CY
9299
9300 * simple.el (fundamental-mode):
9301 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9302 change introducing fundamental-mode-hook.
9303
5430d399
JB
93042011-10-26 Juanma Barranquero <lekktu@gmail.com>
9305
acc825c5 9306 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9307
ad74a69e
MA
93082011-10-26 Michael Albinus <michael.albinus@gmx.de>
9309
9310 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9311 tramp.el explicitly. (Bug#7583)
ad74a69e 9312
71d4c2a5
SM
93132011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9314
9315 * progmodes/octave-mod.el:
9316 * progmodes/octave-inf.el: Update maintainer.
9317
b1f6fa26
CY
93182011-10-26 Chong Yidong <cyd@gnu.org>
9319
9320 * subr.el (with-wrapper-hook): Rewrite doc.
9321
3f04efd6
MA
93222011-10-25 Michael Albinus <michael.albinus@gmx.de>
9323
9324 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9325 filenames "/method:foo:". (Bug#9793)
3f04efd6 9326
410488d3
SM
93272011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9328
9329 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9330 (bug#9865).
9331
c1ebb47e
GM
93322011-10-24 Glenn Morris <rgm@gnu.org>
9333
9334 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9335
7f5c46c7
MA
93362011-10-24 Michael Albinus <michael.albinus@gmx.de>
9337
9338 * notifications.el: Add the requirement of a running D-Bus session
9339 bus to the Commentary.
9340
db2440b6
JL
93412011-10-24 Juri Linkov <juri@jurta.org>
9342
9343 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9344 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9345 (Bug#9364)
9346
feecf435
JL
93472011-10-24 Juri Linkov <juri@jurta.org>
9348
9349 * info.el (Info-following-node-name-re): Add newline to the list
9350 of allowed characters for leading space. (Bug#9824)
9351
a3839de2
SM
93522011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9353
acc825c5
SM
9354 * progmodes/octave-inf.el (inferior-octave-mode-map):
9355 Fix C-c C-h binding.
a3839de2
SM
9356 * progmodes/octave-mod.el (octave-help): Remove.
9357
09388e76
MA
93582011-10-23 Michael Albinus <michael.albinus@gmx.de>
9359
9360 Sync with Tramp 2.2.3.
9361
9362 * net/tramp-cache.el (top): Pacify byte-compiler using
9363 `init-file-user' and `site-run-file'.
9364
9365 * net/trampver.el: Update release number.
9366
86c60681
CY
93672011-10-23 Chong Yidong <cyd@gnu.org>
9368
9369 * files.el (toggle-read-only): Remove obsolete comment about
9370 version control.
9371
9372 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9373 for toggle-read-only. Note that this hasn't called vc-next-action
9374 since 2008-05-02, though it wasn't documented at the time.
9375
a3839de2
SM
9376 * vc/ediff-init.el (ediff-toggle-read-only-function):
9377 Use toggle-read-only.
86c60681 9378
cd5495ff
AM
93792011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9380
9381 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9382 of c-parse-state.
9383
00b77525 9384 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9385 correct faulty logical expression.
cd5495ff
AM
9386 (c-parse-state-state, c-record-parse-state-state):
9387 (c-replay-parse-state-state): New defvar/defuns.
9388 (c-debug-parse-state): Use new functions.
9389
42ee24ed
MR
93902011-10-22 Martin Rudalics <rudalics@gmx.at>
9391
9392 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9393 last fix. Use window-in-direction correctly.
42ee24ed 9394
a7dee7e7
CY
93952011-10-21 Chong Yidong <cyd@gnu.org>
9396
9397 * progmodes/idlwave.el (idlwave-mode):
9398 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9399 require-final-newline; that's done in prog-mode.
9400 Suggested by Stefan Monnier.
a7dee7e7 9401
e07b9a6d
MR
94022011-10-21 Martin Rudalics <rudalics@gmx.at>
9403
9404 * mouse.el (mouse-drag-window-above)
9405 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9406 (mouse-drag-mode-line-1, mouse-drag-header-line)
9407 (mouse-drag-vertical-line-rightward-window): Remove.
9408 (mouse-drag-line): New function.
9409 (mouse-drag-mode-line, mouse-drag-header-line)
9410 (mouse-drag-vertical-line): Call mouse-drag-line.
9411 * window.el (window-at-side-p, windows-at-side): New functions.
9412
7e1361d9
UM
94132011-10-21 Ulrich Mueller <ulm@gentoo.org>
9414
9415 * tar-mode.el (tar-grind-file-mode):
9416 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9417
30fcaf3a
CY
94182011-10-21 Chong Yidong <cyd@gnu.org>
9419
9420 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9421 * progmodes/vera-mode.el (vera-mode):
9422 Use mode-require-final-newline.
30fcaf3a 9423
516eddb0
GM
94242011-10-20 Glenn Morris <rgm@gnu.org>
9425
db22a3c2 9426 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9427
10d5f513
CS
94282011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9429
9430 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9431
ac6c8639
CY
94322011-10-20 Chong Yidong <cyd@gnu.org>
9433
9434 * emulation/cua-base.el (cua-mode):
9435 * mail/footnote.el (footnote-mode):
9436 * mail/mailabbrev.el (mail-abbrevs-mode):
9437 * net/xesam.el (xesam-minor-mode):
9438 * progmodes/bug-reference.el (bug-reference-mode):
9439 * progmodes/cap-words.el (capitalized-words-mode):
9440 * progmodes/compile.el (compilation-minor-mode)
9441 (compilation-shell-minor-mode):
9442 * progmodes/gud.el (gud-tooltip-mode):
9443 * progmodes/hideif.el (hide-ifdef-mode):
9444 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9445 * progmodes/subword.el (subword-mode):
9446 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9447 * progmodes/which-func.el (which-function-mode):
9448 * term/tvi970.el (tvi970-set-keypad-mode):
9449 * term/vt100.el (vt100-wide-mode):
9450 * textmodes/flyspell.el (flyspell-mode):
9451 * textmodes/ispell.el (ispell-minor-mode):
9452 * textmodes/nroff-mode.el (nroff-electric-mode):
9453 * textmodes/paragraphs.el (use-hard-newlines):
9454 * textmodes/refill.el (refill-mode):
9455 * textmodes/reftex.el (reftex-mode):
9456 * textmodes/rst.el (rst-minor-mode):
9457 * textmodes/sgml-mode.el (html-autoview-mode)
9458 (sgml-electric-tag-pair-mode):
9459 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9460 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9461 * emulation/crisp.el (crisp-mode):
9462 * emacs-lisp/eldoc.el (eldoc-mode):
9463 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9464 minor mode behavior.
9465
aa42ab43
JL
94662011-10-19 Juri Linkov <juri@jurta.org>
9467
9468 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9469 the list of hard-coded chars with escape-glyph face.
9470
89400f1d
SM
94712011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9472
9473 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9474
305c07f6
MA
94752011-10-19 Michael Albinus <michael.albinus@gmx.de>
9476
9477 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9478 running process.
9479
13754b54
GM
94802011-10-19 Glenn Morris <rgm@gnu.org>
9481
9482 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9483 Ignore ignored files. (Bug#9726)
9484
06e21633
CY
94852011-10-19 Chong Yidong <cyd@gnu.org>
9486
9487 Doc fix for minor modes, stating that an omitted argument enables
9488 the mode unconditionally when called from Lisp.
9489
9490 * abbrev.el (abbrev-mode):
9491 * allout.el (allout-mode):
9492 * autoinsert.el (auto-insert-mode):
9493 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9494 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9495 (global-auto-revert-mode):
9496 * battery.el (display-battery-mode):
9497 * composite.el (global-auto-composition-mode)
9498 (auto-composition-mode):
9499 * delsel.el (delete-selection-mode):
9500 * desktop.el (desktop-save-mode):
9501 * dired-x.el (dired-omit-mode):
9502 * dirtrack.el (dirtrack-mode):
9503 * doc-view.el (doc-view-minor-mode):
9504 * double.el (double-mode):
9505 * electric.el (electric-indent-mode, electric-pair-mode):
9506 * emacs-lock.el (emacs-lock-mode):
9507 * epa-hook.el (auto-encryption-mode):
9508 * follow.el (follow-mode):
9509 * font-core.el (font-lock-mode):
9510 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9511 * help.el (temp-buffer-resize-mode):
9512 * hilit-chg.el (highlight-changes-mode)
9513 (highlight-changes-visible-mode):
9514 * hi-lock.el (hi-lock-mode):
9515 * hl-line.el (hl-line-mode, global-hl-line-mode):
9516 * icomplete.el (icomplete-mode):
9517 * ido.el (ido-everywhere):
9518 * image-file.el (auto-image-file-mode):
9519 * image-mode.el (image-minor-mode):
9520 * iswitchb.el (iswitchb-mode):
9521 * jka-cmpr-hook.el (auto-compression-mode):
9522 * linum.el (linum-mode):
9523 * longlines.el (longlines-mode):
9524 * master.el (master-mode):
9525 * mb-depth.el (minibuffer-depth-indicate-mode):
9526 * menu-bar.el (menu-bar-mode):
9527 * minibuf-eldef.el (minibuffer-electric-default-mode):
9528 * mouse-sel.el (mouse-sel-mode):
9529 * msb.el (msb-mode):
9530 * mwheel.el (mouse-wheel-mode):
9531 * outline.el (outline-minor-mode):
9532 * paren.el (show-paren-mode):
9533 * recentf.el (recentf-mode):
9534 * reveal.el (reveal-mode, global-reveal-mode):
9535 * rfn-eshadow.el (file-name-shadow-mode):
9536 * ruler-mode.el (ruler-mode):
9537 * savehist.el (savehist-mode):
9538 * scroll-all.el (scroll-all-mode):
9539 * scroll-bar.el (scroll-bar-mode):
9540 * server.el (server-mode):
9541 * shell.el (shell-dirtrack-mode):
9542 * simple.el (auto-fill-mode, transient-mark-mode)
9543 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9544 (line-number-mode, column-number-mode, size-indication-mode)
9545 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9546 * strokes.el (strokes-mode):
9547 * time.el (display-time-mode):
9548 * t-mouse.el (gpm-mouse-mode):
9549 * tool-bar.el (tool-bar-mode):
9550 * tooltip.el (tooltip-mode):
9551 * type-break.el (type-break-mode-line-message-mode)
9552 (type-break-query-mode):
9553 * view.el (view-mode):
9554 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9555 (global-whitespace-mode, global-whitespace-newline-mode):
9556 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9557
a3839de2
SM
9558 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9559 Fix autogenerated docstring.
06e21633 9560
5214e501
JL
95612011-10-19 Juri Linkov <juri@jurta.org>
9562
9563 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9564 by checking environment variables "DESKTOP_SESSION" and
9565 "XDG_CURRENT_DESKTOP". (Bug#9779)
9566
195f8db9
JL
95672011-10-19 Juri Linkov <juri@jurta.org>
9568
9569 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9570 (browse-url-chromium-program, browse-url-chromium-arguments):
9571 New defcustoms.
9572 (browse-url-default-browser): Check for `browse-url-chromium' and
9573 call `browse-url-chromium-program'.
9574 (browse-url-chromium): New command. (Bug#9779)
9575
343a34ff
JB
95762011-10-18 Juanma Barranquero <lekktu@gmail.com>
9577
9578 * facemenu.el (list-colors-duplicates): On Windows, detect more
9579 duplicates by assuming that only colors matching "^System" are
9580 special "system colors". (Bug#9722)
9581
6978a151
SM
95822011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9583
9584 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9585 to distinguish the author from the committer.
9586
6a80b297
MA
95872011-10-18 Michael Albinus <michael.albinus@gmx.de>
9588
9589 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9590
b31a5677
JK
95912011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9592
9593 * international/mule.el (sgml-html-meta-auto-coding-function):
9594 Add support for detecting encoding in HTML5 specified only as
9595 <meta charset="UTF-8">. Implementation just makes http-equiv and
9596 content-type parts from HTML4 encoding string optional. (Bug#9716)
9597
80c6d77f
GM
95982011-10-18 Glenn Morris <rgm@gnu.org>
9599
9600 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9601
08b0fee8
CY
96022011-10-18 Chong Yidong <cyd@gnu.org>
9603
9604 * faces.el (cursor): Doc fix.
9605
67e729a5
CY
96062011-10-17 Chong Yidong <cyd@gnu.org>
9607
9608 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9609
343a34ff 96102011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9611
9612 * dirtrack.el (dirtrack): Support shell buffers with path
9613 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9614
0bc06380
TZ
96152011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9616
9617 * json.el: Bump version to 1.3 and note change in History.
9618 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9619
8b79f3e0
SM
96202011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9621
5a7c536b
SM
9622 * comint.el (comint-insert-input, comint-send-input)
9623 (comint-get-old-input-default, comint-backward-matching-input)
9624 (comint-next-prompt): Use nil instead of `input' for field property of
9625 past user input (bug#114).
9626
96a8a0df
SM
9627 * minibuffer.el (completion--replace): Inherit surrounding properties
9628 (bug#114).
9629 (minibuffer-complete-and-exit): Use it.
9630
8b79f3e0
SM
9631 * comint.el (comint--table-subvert): Quote the all-completions output
9632 (bug#9160).
9633
b8f7ff0d
MR
96342011-10-17 Martin Rudalics <rudalics@gmx.at>
9635
8b79f3e0 9636 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9637
b8f7ff0d 9638 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9639 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9640 entries and separate them from frame entries.
9641
c235b555
GM
96422011-10-15 Glenn Morris <rgm@gnu.org>
9643
9644 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9645 Doc fixes.
9646
6bbfa6e1
CY
96472011-10-15 Chong Yidong <cyd@stupidchicken.com>
9648
8b79f3e0
SM
9649 * net/network-stream.el (network-stream-open-starttls):
9650 Improve detection of failure due to lack of TLS support.
ec5c990d 9651
6bbfa6e1
CY
9652 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9653 putting the input text in front and in bold.
9654
98488977
SM
96552011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9656
3d1337be
SM
9657 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9658
ee0b45e4
SM
9659 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9660 empty buffer.
9661
98488977
SM
9662 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9663 unread-command-events rather than pushing yet-another event.
9664
186f4720
EZ
96652011-10-14 Eli Zaretskii <eliz@gnu.org>
9666
9667 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9668 the explanation of the possible choices. Make the options passed
9669 to completing-read shorter.
9670
8b7a997c
AM
96712011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9672
9673 * textmodes/flyspell.el (flyspell-large-region): Make sure
9674 extended character mode is used if defined (Bug#1339).
9675
12587bbb
EZ
96762011-10-13 Eli Zaretskii <eliz@gnu.org>
9677
9678 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9679 character info for LRE, LRO, RLE, and RLO characters by appending
9680 an invisible PDF.
12587bbb 9681
bad41229
SM
96822011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9683
9684 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9685 even in case of error; add debug spec; simplify data flow.
9686 (with-timeout-handler): Remove.
9687
28dbc92f
MA
96882011-10-12 Michael Albinus <michael.albinus@gmx.de>
9689
9690 Fix Bug#6019, Bug#9315.
9691
9692 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9693 complete `buffer-file-name', the local file name part could look
9694 remotely (for example on VMS).
9695
9696 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9697 `tramp-run-real-handler'.
9698 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9699 already quoted by '"'.
9700
9701 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9702 Let `file-name-handler-alist' be nil, the local file name part
9703 could look remotely (for example on VMS).
9704
e1b0b23a
SM
97052011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9706
9707 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9708 from here...
9709 (flyspell-post-command-hook): ...to here.
9710
a120bde9
SM
97112011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9712
9713 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9714 if not needed.
9715 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9716 using completion. Protect against "slow" callers.
9717 Remove the "message hack".
9718
7ce7717b
JL
97192011-10-11 Juri Linkov <juri@jurta.org>
9720
9721 * isearch.el (isearch-lazy-highlight-word): New variable.
9722 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9723 Use it. (Bug#9727)
9724
c02ee9d6
GM
97252011-10-11 Glenn Morris <rgm@gnu.org>
9726
9727 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9728 like f90-previous-statement does.
9729
93e616fd 97302011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9731
1f190e73 9732 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9733 only in interactive use, to avoid error.
9734
af7b6078
SM
97352011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9736
9737 * minibuffer.el (completion-file-name-table): Fix last change,
9738 i.e. ignore normal errors but not the other ones.
9739
0563dae9
MR
97402011-10-10 Martin Rudalics <rudalics@gmx.at>
9741
9742 * window.el (special-display-buffer-names)
9743 (special-display-regexps): Remove some remnants of earlier
9744 changes from doc-strings.
366ca7f3
MR
9745 (quit-windows-on): New function.
9746
9747 * vc/vc.el (vc-revert, vc-rollback):
9748 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9749 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9750 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9751
49677495
MR
97522011-10-09 Martin Rudalics <rudalics@gmx.at>
9753
9754 * window.el (frame-auto-hide-function): Add version tag.
9755 (Bug#9699)
9756
56f2d1e1
MA
97572011-10-09 Michael Albinus <michael.albinus@gmx.de>
9758
9759 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9760 condition.
9761
112a6592
LL
97622011-10-09 Leo Liu <sdl.web@gmail.com>
9763
9764 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9765 (Bug#9701)
9766
0812589b
GM
97672011-10-08 Glenn Morris <rgm@gnu.org>
9768
9769 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9770 before the first code statement zero indent. (Bug#9690)
9771
b2b0776e
CY
97722011-10-08 Chong Yidong <cyd@stupidchicken.com>
9773
9774 * simple.el (count-words-region): Always count in the region.
9775 Report the number of lines and characters too.
9776 (count-words): New command, which counts in the buffer if the
9777 region is inactive, as count-words-region used to.
9778 (count-words--message): New function. Handle plurals.
9779 (count-lines-region): Make it an alias for count-words-region.
9780
9781 * bindings.el (esc-map): Replace count-lines-region with
9782 count-words-region.
9783
c557cd6b
MR
97842011-10-08 Martin Rudalics <rudalics@gmx.at>
9785
9786 * window.el (window--delete): Delete dedicated frame
9787 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9788 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9789
61a57ef4 97902011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9791
3a7d293b 9792 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9793
c3833279
CY
97942011-10-07 Chong Yidong <cyd@stupidchicken.com>
9795
9796 * bindings.el ([M-left],[M-right]): Bind to left-word and
9797 right-word respectively.
9798
21ce8245
GM
97992011-10-07 Glenn Morris <rgm@gnu.org>
9800
9801 * cus-start.el (debug-on-quit): Fix custom type.
9802
6d823bb2
LMI
98032011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9804
0181e193
LMI
9805 * subr.el (define-key-after): Clarify that the function is not
9806 useful for non-menu keymaps.
9807
6d823bb2
LMI
9808 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9809
8e3459ce 98102011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9811
21ce8245 9812 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9813 in current minibuffer (Fix bug with recursive minibuffers).
9814
a1c2d21e
CY
98152011-10-06 Chong Yidong <cyd@stupidchicken.com>
9816
9817 * progmodes/gdb-mi.el (gdb): Doc fix.
9818
5a4cf282
MR
98192011-10-05 Martin Rudalics <rudalics@gmx.at>
9820
9821 * window.el (frame-auto-hide-function): New option replacing
9822 frame-auto-delete. Suggested by Stefan Monnier.
9823 (window--delete): Call frame-auto-hide-function instead of
9824 investigating frame-auto-delete.
c96111ea
MR
9825 (window-point-1, set-window-point-1): New functions.
9826 (window-in-direction, record-window-buffer, window-state-get-1)
9827 (display-buffer-record-window): Use window-point-1 instead of
9828 window-point.
9829 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9830
9854542e
SM
98312011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9832
9833 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9834
8943cfb0
GM
98352011-10-05 Glenn Morris <rgm@gnu.org>
9836
9837 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9838 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9839
647ab967
LL
98402011-10-05 Leo Liu <sdl.web@gmail.com>
9841
9842 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9843 works with buffer object.
9844
3ddfbced
SM
98452011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9846
9847 * mpc.el (mpc-tool-bar-map): Add labels.
9848
bdfa5dd2
GM
98492011-10-04 Glenn Morris <rgm@gnu.org>
9850
9851 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9852
0e2070b5
MR
98532011-10-04 Martin Rudalics <rudalics@gmx.at>
9854
9855 * window.el (window--delete): New function.
9856 (frame-auto-delete): Resuscitate option.
9857 (bury-buffer, replace-buffer-in-windows)
9858 (quit-window): Rewrite using window--delete.
9859 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9860 Pass display-buffer-mark-dedicated to window--display-buffer-2
9861 (Bug#9639).
9862
3dc61a09
SM
98632011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9864
915a9b64
SM
9865 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9866 returns a list (bug#9554). Add remote file name completion.
9867 * comint.el (comint--table-subvert): Curry and get quote&unquote
9868 functions as arguments.
9869 (comint--complete-file-name-data): Adjust call accordingly.
9870 * pcomplete.el (pcomplete--table-subvert): Remove.
9871 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9872
3dc61a09
SM
9873 * minibuffer.el (completion-table-case-fold): Use currying.
9874 (completion--styles-type, completion--cycling-threshold-type):
9875 New constants.
9876 (completion-styles, completion-category-overrides)
9877 (completion-cycle-threshold): Use them.
9878 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9879 completion-table-case-fold.
9880
8ea0a993
SB
98812011-10-03 Stephen Berman <stephen.berman@gmx.net>
9882
9883 * minibuffer.el (completion-category-overrides): Fix type of styles
9884 and add more user friendly tags (bug#9660).
9885
8c24b7f6
SM
98862011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9887
9888 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9889 (mule-input-method-string): New widget.
9890 (default-input-method, language-info-custom-alist): Use it.
9891
428fe61a
SM
98922011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9893
32c1fffd
SM
9894 * pcomplete.el: Require comint.
9895 (pcomplete--common-suffix): Remove.
9896 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9897 (pcomplete--table-subvert): Sync with comint--table-subvert.
9898 (pcomplete--entries): Use comint-completion-file-name-table.
9899 * comint.el (comint-unquote-filename): Simplify.
9900 (comint-completion-file-name-table): New function (bug#9616).
9901 (comint--complete-file-name-data): Use it.
9902
428fe61a
SM
9903 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9904 (pcmpl-gnu-tar-buffer): Remove.
9905 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9906 around. Make sure pcomplete-suffix-list is only changed temporarily.
9907 Don't look inside the tar's file if it's too large.
428fe61a 9908
04c52e2f
CY
99092011-10-01 Chong Yidong <cyd@stupidchicken.com>
9910
ce3cefcc
CY
9911 * cus-edit.el (custom-mode-map):
9912 * epa.el (epa-key-list-mode-map):
9913 * man.el (Man-mode-map):
9914 * startup.el (splash-screen-keymap):
9915 * simple.el (special-mode-map): Use scroll-up-command and
9916 scroll-down-command.
9917
9918 * progmodes/idlw-help.el (idlwave-help-mode-map):
9919 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9920 * net/newst-plainview.el (newsticker-mode-map):
9921 * emulation/ws-mode.el (wordstar-mode-map):
9922 * emulation/vi.el (vi-com-map):
9923 * calc/calc-graph.el (calc-graph-show-dumb):
9924 * term/sun.el (terminal-init-sun):
9925 * term/ns-win.el (global-map):
9926 * progmodes/grep.el (grep-mode-map):
9927 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9928 * mail/rmail.el (rmail-mode-map):
9929 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9930
04c52e2f
CY
9931 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9932 custom-safe-themes as special.
9933
79adf8c8
JD
99342011-10-01 Julien Danjou <julien@danjou.info>
9935
9936 * notifications.el (notifications-notify): Fix docstring.
9937
63bd50d3
PS
99382011-10-01 Per Starbäck <per@starback.se>
9939
9940 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9941
199e4c7e
MR
99422011-09-30 Martin Rudalics <rudalics@gmx.at>
9943
9944 * startup.el (command-line-1): Fix last fix by inserting
9945 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9946 (Bug#9605) and (Bug#9636)
199e4c7e 9947
fe5f08dd
EZ
99482011-09-29 Eli Zaretskii <eliz@gnu.org>
9949
9950 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9951 window is hscrolled, move by logical lines. (Bug#9607)
9952 (line-move-visual): Update the doc string to the above effect.
9953
b5516bbd
MR
99542011-09-29 Martin Rudalics <rudalics@gmx.at>
9955
ccee00c0
MR
9956 * window.el (display-buffer-record-window): When WINDOW is the
9957 selected window use `point' instead of `window-point'. (Bug#9626)
9958
b5516bbd
MR
9959 * startup.el (command-line-1): Use insert-before-markers when
9960 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9961
b5516bbd
MR
9962 * help.el (help-window): Remove variable.
9963
52aa0014
GM
99642011-09-29 Glenn Morris <rgm@gnu.org>
9965
9966 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9967
df9a7357
JB
99682011-09-29 Juanma Barranquero <lekktu@gmail.com>
9969
9970 * descr-text.el (describe-char-categories): Accept category
9971 descriptions more than one line long.
9972
a8406c20
SM
99732011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9974
88d9610c
SM
9975 * simple.el (delete-trailing-whitespace): Fix last change.
9976
a5daf810
SM
9977 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9978 Don't confuse "y => 3" as the beginning of a `y' operation.
9979
a8406c20
SM
9980 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9981 object has more than 4 slots (bug#9613).
9982
a239d4e9
JB
99832011-09-28 Juanma Barranquero <lekktu@gmail.com>
9984
9985 * subr.el (with-output-to-temp-buffer):
9986 * net/quickurl.el (quickurl, quickurl-browse-url):
9987 Fix typos in docstrings.
9988
693fbdb6
EZ
99892011-09-27 Eli Zaretskii <eliz@gnu.org>
9990
9991 * minibuffer.el (completion-styles)
9992 (completion-category-overrides): Cross reference each other in doc
9993 strings.
9994
8b457e28
GM
99952011-09-27 Glenn Morris <rgm@gnu.org>
9996
9997 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9998 to split-string. (Bug#9606)
9999
85a16208
LMI
100002011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10001
10002 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10003 (bug#9615).
10004
502f9ebd
CY
100052011-09-27 Chong Yidong <cyd@stupidchicken.com>
10006
10007 * emacs-lisp/package.el (list-packages): Fix echo area message.
10008
7690bdea
LL
100092011-09-27 Leo Liu <sdl.web@gmail.com>
10010
10011 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10012
e2ee6f30
MA
100132011-09-25 Michael Albinus <michael.albinus@gmx.de>
10014
10015 * net/dbus.el (dbus-unregister-object): Don't release services for
10016 registered signals. (Bug#9581)
10017
f3f98342
TZ
100182011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10019
10020 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10021 function that picks between cfengine 2 and 3 support
10022 automatically. Update docs accordingly.
10023
dd7aa8dd
KH
100242011-09-22 Kenichi Handa <handa@m17n.org>
10025
10026 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10027 ZERO.
10028 (indian-itrans-v5-table-for-tamil): New variable.
10029 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10030
3f2b07f8
KM
100312011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10032
10033 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10034 that's true if the current command involved collapsing of text.
10035 It's reset to false at the beginning of the next command.
10036 (allout-post-command-business): Move the cursor to the beginning
10037 of entry if the cursor is hidden and collapsing activity just
10038 happened.
10039
371d6a61
CY
100402011-09-24 Chong Yidong <cyd@stupidchicken.com>
10041
10042 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10043 tracking (Bug#9541).
10044
2ac2721a
UJ
100452011-09-24 Ulf Jasper <ulf.jasper@web.de>
10046
10047 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10048 (newsticker-show-news): Automatically load html rendering package
10049 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10050 because w3m-fill-column is let-bound" and the error "Symbol's value
10051 as variable is void: w3m-fill-column".
2ac2721a 10052
fac7ae53
MA
100532011-09-24 Michael Albinus <michael.albinus@gmx.de>
10054
10055 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10056 Release services only if they are defined. (Bug#9581)
10057
e08b633b
RS
100582011-09-23 Richard Stallman <rms@gnu.org>
10059
e488d29c
RS
10060 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10061 distinguish start of paragraph from start of its text.
10062
19c38752
RS
10063 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10064
e08b633b
RS
10065 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10066 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10067 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10068
0a39f27e
AS
100692011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10070
10071 * international/mule-diag.el (mule-diag): Insert a newline after
10072 each fontset description.
10073
db4e950d
SM
100742011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10075
10076 * simple.el (delete-trailing-whitespace):
10077 Document last change; simplify.
10078
eca3f3ea
PW
100792011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10080
d68e189a
PW
10081 * simple.el (delete-trailing-whitespace): Also delete
10082 extra newlines at the end of the buffer.
10083
eca3f3ea
PW
10084 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10085 (picture-newline): Use forward-line so as to ignore fields.
10086
01c157cc
SM
100872011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10088
10089 * subr.el (with-wrapper-hook): Fix edebug spec.
10090
022de23e
LMI
100912011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10092
10093 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10094 (bug#4538).
10095
91683089
MA
100962011-09-23 Michael Albinus <michael.albinus@gmx.de>
10097
eca3f3ea
PW
10098 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10099 Fix nasty bug using wrong cached values.
91683089 10100
5bdd6fa4
AM
101012011-09-23 Alan Mackenzie <acm@muc.de>
10102
10103 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10104
97adfb97
CY
101052011-09-23 Chong Yidong <cyd@stupidchicken.com>
10106
10107 * window.el (pop-to-buffer): Ensure right window is selected if we
10108 chose another frame.
10109
d4ef2b50
EZ
101102011-09-22 Eli Zaretskii <eliz@gnu.org>
10111
10112 * simple.el (what-cursor-position): Use get-char-property-change
10113 and next-single-char-property-change, to be able to show display
10114 properties that come from overlays as well as text properties.
10115
72258fe5
CY
101162011-09-22 Chong Yidong <cyd@stupidchicken.com>
10117
10118 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10119
10120 * cmuscheme.el (run-scheme, switch-to-scheme):
10121 * cus-edit.el (customize-group, custom-buffer-create)
10122 (customize-browse):
10123 * info.el (info):
10124 * shell.el (shell):
10125 * mail/sendmail.el (mail):
10126 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10127
8f098516
RS
101282011-09-22 Richard Stallman <rms@gnu.org>
10129
10130 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10131 move back only to line beg, don't move back over blank lines.
10132
e74f1bb6
MA
101332011-09-22 Michael Albinus <michael.albinus@gmx.de>
10134
10135 * files.el (copy-directory): Set directory attributes only in case
10136 they could be retrieved from the source directory. (Bug#9565)
10137
bfeef8b6
DK
101382011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10139
10140 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10141 (hs-find-block-beginning, hs-hide-level-recursive):
10142 Ignore strings as well as comments. (Bug#9502)
10143
7e423bb8
AS
101442011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10145
10146 * progmodes/sql.el (sql-comint-postgres):
10147 Convert port number to a string. (Bug#9566)
10148
b4d72fcf
MR
101492011-09-22 Martin Rudalics <rudalics@gmx.at>
10150
10151 * window.el (quit-window): Undedicate window when switching to
10152 previous buffer. Reported by Thierry Volpiatto
10153 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10154 (special-display-popup-frame): When popping up a new frame reset
10155 its previous buffers to nil. Simplify code.
b4d72fcf 10156
a7b88dc6
MA
101572011-09-21 Michael Albinus <michael.albinus@gmx.de>
10158
10159 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10160 and process filter, as done also in `shell-command'.
10161
cf4eacfd
MR
101622011-09-21 Martin Rudalics <rudalics@gmx.at>
10163
eca3f3ea 10164 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10165 Call set-window-start with NOFORCE argument t.
10166 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10167 (quit-window): Reword doc-string. Handle new format of
10168 quit-restore parameter. Don't delete window if it has a
10169 previous buffer we can show instead of the present one.
10170 (display-buffer-record-window): Rewrite using a new format for
10171 the quit-restore window parameter
10172 (special-display-popup-frame, display-buffer-same-window)
10173 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10174 (display-buffer-pop-up-window, display-buffer-use-some-window):
10175 Adapt symbol passed to display-buffer-record-window.
10176 * help.el (help-window-setup): Handle new format of quit-restore
10177 parameter.
10178
8d28cb95
SM
101792011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10180
94ab793f
SM
10181 * faces.el (face-list): Fix docstring (bug#9564).
10182
8d28cb95
SM
10183 * window.el (display-buffer--action-function-custom-type):
10184 Don't include internal functions in the Custom interface.
10185
3820edeb
JL
101862011-09-20 Juri Linkov <juri@jurta.org>
10187
10188 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10189 (Info-forward-node, Info-backward-node, Info-next-preorder)
10190 (Info-last-preorder): Use it. (Bug#9528)
10191
5147931d
JL
101922011-09-20 Juri Linkov <juri@jurta.org>
10193
10194 * info.el (Info-last-preorder): Visit last menu item only when
10195 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10196
cf499a1a
JD
101972011-09-20 Julien Danjou <julien@danjou.info>
10198
10199 * password-cache.el (password-cache-remove): Remove entries even if the
10200 value is nil, so that password with a nil value (negative caching) is
10201 possible to invalidate.
10202
f84e2fe2
LM
102032011-09-20 Lawrence Mitchell <wence@gmx.li>
10204
10205 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10206 all whitespace around breakpoint. (Bug#9553)
10207 (f90-find-breakpoint): Only break at whitespace inside a comment.
10208
78054a46
SM
102092011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10210
10211 * minibuffer.el (completion-file-name-table): Keep track of errors.
10212 (completion-table-with-predicate): Handle the case where pred1 is nil.
10213 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10214
345083b2
SM
102152011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10216
e24e27be
SM
10217 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10218 (debugger-return-value): Signal an error if the debugging context does
10219 not await any return value.
10220
345083b2
SM
10221 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10222 * image-mode.el (image-toggle-display-text)
10223 (image-toggle-display-image): Stay away from evil `intangible'.
10224
08d355e3
LL
102252011-09-19 Leo Liu <sdl.web@gmail.com>
10226
10227 * replace.el (occur-revert-arguments): Make it permanent-local.
10228 (occur-mode): Don't call font-lock-defontify.
10229
f01da43f
CY
102302011-09-19 Chong Yidong <cyd@stupidchicken.com>
10231
10232 * net/ldap.el (ldap-search-internal): Don't push empty search
10233 result (Bug#9508).
10234
b6072fa6
SM
102352011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10236
10237 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10238
443d6696
MA
102392011-09-19 Michael Albinus <michael.albinus@gmx.de>
10240
10241 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10242 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10243
7cc6e154
JL
102442011-09-18 Juri Linkov <juri@jurta.org>
10245
10246 * buff-menu.el (Buffer-menu-mode-map):
10247 * dired.el (dired-mode-map):
10248 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10249 (lisp-interaction-mode-map):
10250 * emacs-lisp/package.el (package-menu-mode-map):
10251 * epa.el (epa-key-list-mode-map):
10252 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10253 (menu-bar-options-menu):
10254 * outline.el (outline-mode-menu-bar-map):
10255 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10256 * vc/vc-dir.el (vc-dir-menu-map):
10257 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10258 Capitalize non-function content words in menu item strings.
10259
10260 * dired.el (dired-mode-map): Add menu item for
10261 `image-dired-dired-toggle-marked-thumbs'.
10262
80302a81
JL
102632011-09-18 Juri Linkov <juri@jurta.org>
10264
10265 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10266 to `isearch-case-fold-search' and restore its original value
10267 after the `isearch-mode' call.
10268
46c5cf66
JL
102692011-09-18 Juri Linkov <juri@jurta.org>
10270
10271 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10272 because `zgrep' returns 1 for successful matches (bug#9226).
10273
d18b513b
JL
102742011-09-18 Juri Linkov <juri@jurta.org>
10275
10276 * info.el (Info-extract-menu-node-name): Check the second match
10277 for empty string (second test-case of bug#9528).
10278 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10279 intermediate nodes to the history (first test-case of bug#9528).
10280
72753f87
JL
102812011-09-18 Juri Linkov <juri@jurta.org>
10282
10283 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10284 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10285
c9384295
JL
102862011-09-18 Juri Linkov <juri@jurta.org>
10287
1154d12e
JB
10288 * info.el (Info-file-supports-index-cookies):
10289 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10290 outputs one more line for long file names (bug#4142).
c9384295 10291
d473dce8
CY
102922011-09-18 Chong Yidong <cyd@stupidchicken.com>
10293
10294 * newcomment.el (comment-normalize-vars): If prompting for
10295 comment-start, set comment-start-skip too (Bug#8424).
10296
2176854d
JB
102972011-09-18 Johan Bockgård <bojohan@gnu.org>
10298
10299 * icomplete.el: Fix previous fix of Bug#5849.
10300 (icomplete-mode): Don't set completion-show-inline-help.
10301 (icomplete-minibuffer-setup): Set completion-show-inline-help
10302 locally during icompletion.
10303
3aace4e4
CY
103042011-09-18 Chong Yidong <cyd@stupidchicken.com>
10305
c940224f
CY
10306 * woman.el (woman2-process-escapes): Don't delete unrecognized
10307 escapes (Bug#7843).
10308
3aace4e4
CY
10309 * files.el (inhibit-first-line-modes-regexps): Add image files.
10310 (hack-local-variables-prop-line): Return nil for malformed
10311 prop-lines (Bug#9044).
10312
710dec63
MA
103132011-09-18 Michael Albinus <michael.albinus@gmx.de>
10314
10315 * net/tramp.el (top): Don't require 'shell.
10316 (tramp-methods): Fix docstring.
10317 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10318 Return complete remote file name. Handle "smb" case.
10319 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10320 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10321
10322 * net/tramp-compat.el (top): Require 'shell.
10323
10324 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10325 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10326 `tramp-current-host'.
10327 (tramp-get-remote-tmpdir): Remove.
10328
10329 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10330 `tramp-tmpdir' entries.
10331 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10332 (tramp-smb-handle-file-attributes): Ignore errors.
10333 (tramp-smb-wait-for-output): Check also for process end.
10334
5d5ac8ec
LMI
103352011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10336
10337 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10338 when sending QUIT (bug#9312).
10339
8c0f49f0
CY
103402011-09-17 Chong Yidong <cyd@stupidchicken.com>
10341
10342 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10343 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10344 occur-mode-display-occurrence.
10345 (occur-edit-mode): Add usage message.
10346 (occur-cease-edit): New command.
10347 (occur-after-change-function): Use text properties to find the
10348 position of the prefix text.
10349 (occur-engine): Set stickiness of prefix text properties.
10350
8f1383f7
GM
103512011-09-17 Glenn Morris <rgm@gnu.org>
10352
10353 * progmodes/etags.el (complete-tag):
10354 Fix call to completion-in-region. (Bug#9526)
10355
744ba0e3
JL
103562011-09-17 Juri Linkov <juri@jurta.org>
10357
10358 * textmodes/ispell.el (ispell-word): Add to the error message
10359 the word, ispell program name and current dictionary (bug#9121).
10360 (ispell-tex-arg-end): Capitalize "error" in the error message.
10361
d9bbf400
AS
103622011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10363
10364 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10365 check. (Bug#4251)
10366
8da11505
JL
103672011-09-17 Juri Linkov <juri@jurta.org>
10368
10369 * window.el (window-safe-min-height, window-safe-min-width):
10370 Fix typos (followup to bug#9522).
10371
a91adc7e
SJ
103722011-09-17 Sven Joachim <svenjoac@gmx.de>
10373
10374 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10375
064f328a
EZ
103762011-09-16 Eli Zaretskii <eliz@gnu.org>
10377
10378 * simple.el (line-move): If goal-column is set, move by logical
10379 lines, not by display lines. (Bug#971)
10380 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10381 to reflect the above change.
10382
e69df516
SM
103832011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10384
10385 * image.el (imagemagick-register-types): Use regexp-opt.
10386
cbb0f9ab
CY
103872011-09-15 Chong Yidong <cyd@stupidchicken.com>
10388
10389 * window.el (display-buffer-base-action): Rename from
10390 display-buffer-default-action. Make default value empty.
10391 (display-buffer-overriding-action): Convert to defvar.
10392 (display-buffer-fallback-action): New var.
10393
25322144
CY
103942011-09-15 Chong Yidong <cyd@stupidchicken.com>
10395
10396 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10397 declaration.
10398 (package--add-to-archive-contents): If there is a duplicate entry
10399 with an older version, remove it.
10400 (package-menu-mark-delete, package-menu-mark-install)
10401 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10402 (package-menu-mark-obsolete-for-deletion):
10403 Use package-menu-get-status instead of a regexp search.
25322144
CY
10404 (package-menu-get-status): Use tabulated-list-entry.
10405 (package-menu-mark-upgrades): New command.
d770725a 10406 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10407 (package-menu-execute): Do installation before deletion.
10408 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10409 instead of checking major-mode.
10410 (package-menu--find-upgrades): New function.
10411
7520339c
LMI
104122011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10413
10414 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10415 passwords in the log buffer.
65a046c4
LMI
10416 (smtpmail-process-filter): Update the process marker so that the
10417 "broken by peer" status message is inserted in the right place.
7520339c 10418
d3c30954
SM
104192011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10420
3fe48822
SM
10421 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10422 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10423 bibtex-completion-at-point-function.
10424 (bibtex-completion-at-point-function): Use them.
10425
1b8b3954
SM
10426 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10427
d3c30954
SM
10428 * mpc.el (mpc-constraints-tag-lookup): New function.
10429 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10430 also to browser "album|playlist".
10431
72779976
JL
104322011-09-14 Juri Linkov <juri@jurta.org>
10433
10434 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10435 (isearch-edit-string): Use length of `isearch-string' when
10436 `isearch-fail-pos' returns nil.
10437 (isearch-message): Remove duplicate code and call
10438 `isearch-fail-pos' with arg `t'.
10439
a0bf2bcd
CY
104402011-09-14 Chong Yidong <cyd@stupidchicken.com>
10441
17bb0a2d
CY
10442 * replace.el (occur-mode-goto-occurrence): Don't force using other
10443 window (Bug#9499).
10444
a0bf2bcd
CY
10445 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10446
f678e0b6
MR
104472011-09-14 Martin Rudalics <rudalics@gmx.at>
10448
10449 * window.el (display-buffer-window): Remove.
10450 (display-buffer-record-window): Use help-setup window parameter
10451 instead of variable display-buffer-window.
10452 (display-buffer-function, special-display-buffer-names)
10453 (special-display-function): Mention help-setup parameter instead
10454 of display-buffer-window in doc-string.
d3c30954
SM
10455 * help.el (help-window-setup): New argument help-window.
10456 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10457 Reword some messages.
10458 (with-help-window): Pass window used for displaying the buffer
10459 to help-window-setup. Don't set display-buffer-window.
10460
8e39b2e8
GM
104612011-09-13 Glenn Morris <rgm@gnu.org>
10462
10463 * emacs-lisp/debug.el (debugger-make-xrefs):
10464 Preserve point. (Bug#9462)
10465
85e9c04b
CY
104662011-09-13 Chong Yidong <cyd@stupidchicken.com>
10467
10468 * window.el (window-deletable-p): Use next-frame.
10469
1b36ed6a
MR
104702011-09-13 Martin Rudalics <rudalics@gmx.at>
10471
10472 * window.el (window-auto-delete): Remove.
10473 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10474 dedication and previous buffers.
1b36ed6a
MR
10475 (switch-to-prev-buffer): Don't delete window.
10476 (delete-windows-on): Delete a window's frame if and only if the
10477 window is dedicated.
10478 (replace-buffer-in-windows): Delete buffer's window or frame if
10479 and only if window is dedicated.
10480 (quit-window): Handle quit-restore as before last change.
4d61f28d 10481 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10482
ef8ef9fb
CY
104832011-09-13 Chong Yidong <cyd@stupidchicken.com>
10484
10485 * window.el (window-deletable-p): Never delete the last frame on a
10486 given terminal.
10487
b2cba41e
GM
104882011-09-13 Glenn Morris <rgm@gnu.org>
10489
10490 * help.el (describe-key-briefly): Copy previous standard-output change.
10491
51553db6 104922011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10493
10494 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10495
b7556719
GM
104962011-09-13 Glenn Morris <rgm@gnu.org>
10497
10498 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10499 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10500
64b51947
CY
105012011-09-12 Chong Yidong <cyd@stupidchicken.com>
10502
10503 * dired-aux.el (dired-mark-read-string): Don't return default
10504 value on empty input (Bug#9361).
10505 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10506 Omit initial minibuffer contents.
10507 (dired-do-chmod): Signal an error on empty input.
10508 (dired-mark-read-string): Don't return default on empty input.
10509
10510 * files.el (file-modes-symbolic-to-number): Doc fix.
10511
393a301e
SM
105122011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10513
10514 * international/mule-cmds.el (ucs-completions): Remove.
10515 (read-char-by-name): Use complete-with-action instead; add metadata.
10516
fa5660f9
CY
105172011-09-11 Chong Yidong <cyd@stupidchicken.com>
10518
10519 * window.el (display-buffer--action-function-custom-type)
10520 (display-buffer--action-custom-type): New vars.
10521 (display-buffer-alist, display-buffer-default-action)
10522 (display-buffer-overriding-action): Add defcustom types.
10523
4a592f66
CY
10524 * frame.el (delete-other-frames): Doc fix (Bug#276).
10525
73d56dbd
LMI
105262011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10527
10528 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10529
37ac18a3
CY
105302011-09-11 Chong Yidong <cyd@stupidchicken.com>
10531
10532 Change modes that used same-window-* vars to use switch-to-buffer.
10533
10534 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10535 Use switch-to-buffer.
10536
10537 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10538 (customize-browse, custom-buffer-create-other-window):
10539 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10540
10541 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10542 (Info-prev, Info-up, Info-speedbar-goto-node)
10543 (info-display-manual): Use switch-to-buffer.
10544 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10545
10546 * mail/sendmail.el (mail): Use switch-to-buffer.
10547 (mail-recover): Use switch-to-buffer-other-window.
10548
10549 * cmuscheme.el (run-scheme, switch-to-scheme):
10550 * ielm.el (ielm):
10551 * shell.el (shell):
10552 * net/rlogin.el (rlogin):
10553 * net/telnet.el (telnet, rsh):
10554 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10555
10195bd6
AS
105562011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10557
10558 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10559
b322f63a
LMI
105602011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10561
39d7fed6
LMI
10562 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10563 so don't mention it (bug#9301).
ba5a81f1 10564 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10565
ee0e9f11
LMI
10566 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10567 match `x', `w32' and `ns', like the manual says (bug#9029).
10568
0b1c89c1 10569 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10570 (process-kill-buffer-query-function): Mention the buffer name in
10571 the query.
0b1c89c1 10572
77549ea8
LMI
10573 * image-mode.el (image-next-line): The line parameter is mandatory
10574 (bug#9258).
10575
803ef892
LMI
10576 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10577 which can be useful (bug#9301).
10578
12980837
LMI
10579 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10580
91054f8f
LMI
10581 * subr.el (match-string): Mention that the current buffer should
10582 be the same as the search was done in (bug#9282).
10583
b322f63a
LMI
10584 * facemenu.el: Disable the remove-* commands if the mark isn't
10585 active (bug#9162).
10586
3199b96f
CY
105872011-09-10 Chong Yidong <cyd@stupidchicken.com>
10588
10589 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10590 of display-buffer.
10591 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10592
10593 * replace.el (occur-mode-goto-occurrence)
10594 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10595 and display-buffer.
10596
10597 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10598 display-buffer.
10599
10600 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10601 special-display and same-window variables.
10602 (mail-other-window): Use switch-to-buffer-other-window.
10603 (mail-other-frame): USe switch-to-buffer-other-frame.
10604
393a301e
SM
10605 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10606 Use display-buffer-other-frame.
3199b96f
CY
10607 (gdb-display-gdb-buffer): Use pop-to-buffer.
10608
10609 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10610
10611 * progmodes/python.el: Don't set same-window-buffer-names.
10612
10613 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10614
10615 * window.el (display-buffer-alist): Add *Python*.
10616
8319e0bf
CY
106172011-09-10 Chong Yidong <cyd@stupidchicken.com>
10618
10619 * window.el (display-buffer-alist): Add entry for buffers
10620 previously handled same-window-*.
10621 (display-buffer-alist, display-buffer-default-action)
10622 (display-buffer-overriding-action): Mark as risky.
10623 (display-buffer-alist): Document action function changes.
10624 (display-buffer--same-window-action)
10625 (display-buffer--other-frame-action): New variables.
10626 (switch-to-buffer, display-buffer-other-frame): Use them.
10627 (display-buffer): Rename reuse-frame entry to reusable-frames.
10628 (display-buffer-reuse-selected-window): Function deleted.
10629 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10630 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10631 (display-buffer-special): New function.
10632 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10633 display-buffer-reuse-or-pop-window. Split off special-display
10634 part into display-buffer-special.
10635 (display-buffer-use-some-window): Don't perform any special
10636 pop-up-frames handling.
10637 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10638 (display-buffer--maybe-same-window): Rename from
0d3ff375 10639 display-buffer-maybe-same-window.
8319e0bf 10640
919a69aa
CY
10641 * info.el: Don't set same-window-regexps.
10642 (info-setup): New function.
10643 (info-other-window, info): Call it.
10644
10645 * cus-edit.el: Don't set same-window-regexps.
10646 (customize-group): New argument.
10647 (customize-group-other-window): Use it.
10648 (customize-face, customize-face-other-window): Likewise.
10649 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10650
8319e0bf
CY
10651 * net/rlogin.el:
10652 * net/telnet.el:
10653 * progmodes/gud.el: Don't set same-window-regexps.
10654
10655 * cmuscheme.el:
10656 * ielm.el:
10657 * shell.el:
10658 * mail/sendmail.el:
10659 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10660
25173000
JL
106612011-09-10 Juri Linkov <juri@jurta.org>
10662
10663 * isearch.el (isearch-edit-string): Remove obsolete mention of
10664 `C-w' (`isearch-yank-word-or-char') from docstring.
10665 (isearch-query-replace): Fix typo in docstring (bug#9466).
10666
056e44ef
JL
106672011-09-10 Juri Linkov <juri@jurta.org>
10668
10669 * paren.el (show-paren-function): Don't show escaped parens.
10670 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10671
c3760c17
EZ
106722011-09-10 Eli Zaretskii <eliz@gnu.org>
10673
10674 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10675 (mm-default-file-encoding): Remove autoload forms, they are
10676 replaced with autoload cookies in mml.el and mm-encode.el.
10677 (mail-add-attachment): New command.
10678 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10679 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10680 the doc string.
10681 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10682
fece895e
RT
106832011-09-10 Reuben Thomas <rrt@sc3d.org>
10684
e69df516
SM
10685 * simple.el (count-words-region): Use buffer if there's no region
10686 (bug#9429).
fece895e 10687
5e68ce4a
JL
106882011-09-09 Juri Linkov <juri@jurta.org>
10689
10690 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10691 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10692 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10693
0a6b9622
AM
106942011-09-09 Alan Mackenzie <acm@muc.de>
10695
10696 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10697 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10698
14a29deb
EZ
106992011-09-09 Eli Zaretskii <eliz@gnu.org>
10700
10701 Fix for Savannah bug#9392.
10702 * simple.el (mail-encode-mml): New defvar.
10703
10704 * mail/rmail.el (mail-encode-mml): Add a defvar.
10705 (rmail-enable-mime-composing): Default to t.
10706 (rmail-forward): Use MIME method of forwarding only if both
10707 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10708 Set mail-encode-mml non-nil if the MIME method was used.
10709
10710 * mail/sendmail.el (mml-to-mime): Add autoload form.
10711 (mail-encode-mml): Add a defvar.
10712 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10713 to nil.
10714 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10715 message through mml-to-mime, and reset mail-encode-mml to nil.
10716
28c45130
GM
107172011-09-09 Glenn Morris <rgm@gnu.org>
10718
10719 * woman.el (woman-if-body): When processing an .el block,
10720 do not delete the next .el block as well. (Bug#9447)
69f4b618 10721 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10722
9b1c252e
MR
107232011-09-08 Martin Rudalics <rudalics@gmx.at>
10724
10725 * window.el (window-deletable-p): Make sure window is live before
10726 invoking window-prev-buffers.
10727
567457e3
LL
107282011-09-08 Leo Liu <sdl.web@gmail.com>
10729
10730 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10731
97f05794
JL
107322011-09-08 Juri Linkov <juri@jurta.org>
10733
10734 * progmodes/compile.el (compilation-environment): Make it
10735 a defcustom (bug#8340).
10736
8b0874b5
MR
107372011-09-08 Martin Rudalics <rudalics@gmx.at>
10738
10739 * window.el (frame-auto-delete): Rename to window-auto-delete.
10740 Make it control auto-deletion of windows and/or frames.
10741 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10742 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10743 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10744 Rewrite handling of case when window/frame can be deleted.
10745 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10746 argument t. (Bug#9456)
8b0874b5 10747
4feb6e73
CY
107482011-09-07 Chong Yidong <cyd@stupidchicken.com>
10749
10750 * help-mode.el (help-mode): Restore autoload.
10751
91ab9c13
JL
107522011-09-07 Juri Linkov <juri@jurta.org>
10753
10754 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10755 `compilation-environment'. Set buffer-local
10756 `compilation-environment' to `thisenv' later after (funcall mode).
10757 (Bug#8340)
10758
10759 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10760 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10761 instead of replacing its value. (Bug#8340)
10762
0527e251
JL
107632011-09-07 Juri Linkov <juri@jurta.org>
10764
10765 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10766 based on text properties put by `grep-filter' instead of matching
10767 escape sequences.
10768 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10769 to the value of `grep-error-screen-columns' (bug#9438).
10770
249f792c
JL
107712011-09-07 Juri Linkov <juri@jurta.org>
10772
10773 * simple.el (next-error-highlight, next-error-highlight-no-select):
10774 Doc fix (bug#9432).
10775
ff7271b9
OT
107762011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10777
10778 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10779 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10780
183fc730
LL
107812011-09-07 Leo Liu <sdl.web@gmail.com>
10782
10783 * net/rcirc.el (rcirc-mode): Conditionally initialize
10784 rcirc-input-ring.
10785
77694924
SM
107862011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10787
10788 * emacs-lisp/find-func.el (find-function-C-source): Only set
10789 find-function-C-source-directory after checking that we found a source
10790 file there (bug#9440).
10791
d809b8eb
AM
107922011-09-06 Alan Mackenzie <acm@muc.de>
10793
10794 * isearch.el (isearch-other-meta-char): Wherever a key list is
10795 unread, "unread" the prefix arg, too. This fixes bug #8901.
10796
453de99f
OG
107972011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10798
10799 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10800
90439906
JL
108012011-09-05 Juri Linkov <juri@jurta.org>
10802
10803 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10804
f62bd846
JL
108052011-09-05 Juri Linkov <juri@jurta.org>
10806
10807 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10808 keeping point where processing of grep matches begins, and
10809 continue to delete remaining escape sequences from the same point.
10810 (grep-filter): Make leading zero optional in "0?1;31m" because
10811 git-grep emits "\033[1;31m" escape sequences unlike expected
10812 "\033[01;31m" as GNU Grep does (bug#9408).
10813 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10814
045820ec
JL
108152011-09-05 Juri Linkov <juri@jurta.org>
10816
10817 * subr.el (y-or-n-p): Capitalize "yes".
10818
f5e29b9b
MA
108192011-09-04 Michael Albinus <michael.albinus@gmx.de>
10820
10821 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10822 `tramp-cache-unload-hook' where appropriate.
10823 (tramp-methods): Rename `tramp-remote-sh' to
10824 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10825 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10826
10827 * net/tramp-sh.el (top): Don't require 'shell.
10828 (tramp-methods): Add `tramp-remote-shell' and
10829 `tramp-remote-shell-args' entries.
10830 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10831 (tramp-sh-handle-shell-command): Remove.
10832 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10833 Use `tramp-remote-shell'.
10834
2784c434
CY
108352011-09-03 Chong Yidong <cyd@stupidchicken.com>
10836
393a301e 10837 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10838 (sendmail-query-once): Save directly to send-mail-function.
10839 Update message-send-mail-function too.
10840
10841 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10842
464cdf56
CS
108432011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10844
10845 * progmodes/python.el (python-mode-map): Use correct function to
10846 start python interpreter from menu-bar (as reported by Geert
10847 Kloosterman).
10848 (inferior-python-mode-map): Fix typo.
393a301e 10849 (python-shell-map): Remove.
464cdf56 10850
d37e5c87
DD
108512011-09-03 Deniz Dogan <deniz@dogan.se>
10852
10853 * net/rcirc.el (rcirc-print): Simplify code for
10854 rcirc-scroll-show-maximum-output. There is no need to walk
10855 through all windows to find the right one.
10856
f3ada0ee
CS
108572011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10858
10859 * help.el (help-return-method): Doc fix.
10860
1f3c99ca
MR
108612011-09-03 Martin Rudalics <rudalics@gmx.at>
10862
10863 * window.el (window-deletable-p): Don't return a non-nil value
10864 when there's a buffer that was shown in the window before.
10865 (Bug#9419)
393a301e
SM
10866 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10867 Set window's previous buffers to nil.
1f3c99ca 10868
a3cf097f
EZ
108692011-09-03 Eli Zaretskii <eliz@gnu.org>
10870
10871 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10872 newline before and after the tag line, so it doesn't interfere
10873 with determining the paragraph direction of bidirectional text.
10874
3d03de90
LL
108752011-09-03 Leo Liu <sdl.web@gmail.com>
10876
10877 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10878
c3313451
CY
108792011-09-02 Chong Yidong <cyd@stupidchicken.com>
10880
393a301e 10881 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10882 (pop-to-buffer): Change interactive spec. Pass second argument
10883 directly to display-buffer.
10884 (display-buffer): Fix interactive spec. Use functionp to
10885 distinguish between a function and a list of functions.
10886
10887 * abbrev.el (edit-abbrevs):
10888 * arc-mode.el (archive-extract):
10889 * autoinsert.el (auto-insert):
10890 * bookmark.el (bookmark-bmenu-list):
10891 * files.el (find-file):
10892 * view.el (view-buffer):
10893 * progmodes/compile.el (compilation-goto-locus):
10894 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10895
89894cd8
CY
108962011-09-02 Chong Yidong <cyd@stupidchicken.com>
10897
10898 * window.el (display-buffer-alist): Doc fix.
10899 (display-buffer): Add docstring. Don't treat
10900 display-buffer-default specially.
10901 (display-buffer-reuse-selected-window)
10902 (display-buffer-same-window, display-buffer-maybe-same-window)
10903 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10904 (display-buffer-pop-up-window)
10905 (display-buffer-reuse-or-pop-window)
10906 (display-buffer-use-some-window): New functions.
10907 (display-buffer-default-action): Use them.
393a301e 10908 (display-buffer-default): Delete.
89894cd8
CY
10909 (pop-to-buffer-1): Fix choice of actions.
10910
ae0bc9fb
SM
109112011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10912
10913 * minibuffer.el (completion--insert-strings): Don't get confused by
10914 completion entries that end with an LF char.
10915
e9d90883
EZ
109162011-09-01 Eli Zaretskii <eliz@gnu.org>
10917
10918 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10919
437014c8
CY
109202011-09-01 Chong Yidong <cyd@stupidchicken.com>
10921
10922 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10923 (display-buffer-same-window, display-buffer-other-window):
10924 New functions.
437014c8
CY
10925 (pop-to-buffer-1): New function. Use the above.
10926 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10927 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10928
10929 * view.el (view-buffer-other-window, view-buffer-other-frame):
10930 Just use pop-to-buffer.
10931
a5e063d5
TV
109322011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10933
10934 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10935
793d32bb
WH
109362011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10937
10938 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10939
d65e4c15
RS
109402011-08-31 Richard Stallman <rms@gnu.org>
10941
10942 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10943 of the separation of rmail-view-buffer from rmail-buffer.
10944 If you say no to "replace original", the decrypt is in the
10945 view buffer. If you say yes, the decrypt goes into the
10946 rmail buffer also.
10947
f818cd2a
MR
109482011-08-31 Martin Rudalics <rudalics@gmx.at>
10949
10950 * window.el (display-buffer-window): Rewrite doc-string.
10951 (display-buffer-record-window): New function.
10952 (display-buffer-macro-specifiers)
10953 (display-buffer-even-window-sizes, display-buffer-set-height)
10954 (display-buffer-set-width, display-buffer-in-window)
10955 (display-buffer-reuse-window, display-buffer-split-specifiers)
10956 (display-buffer-side-specifiers, display-buffer-split-window-1)
10957 (display-buffer-split-window, display-buffer-split-atom-window)
10958 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10959 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10960 (display-buffer-other-window-means-other-frame)
10961 (display-buffer-normalize-special)
10962 (display-buffer-normalize-default)
10963 (display-buffer-normalize-argument)
10964 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10965 (display-buffer-normalize-specifiers, display-buffer-frame)
10966 (display-buffer-same-window, display-buffer-same-frame)
10967 (display-buffer-other-window)
10968 (display-buffer-same-frame-other-window)
10969 (display-buffer-other-frame, pop-to-buffer-same-window)
10970 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10971 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10972 (switch-to-buffer-same-frame)
10973 (switch-to-buffer-other-window-same-frame)
10974 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10975 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10976 (display-buffer-alist-set): Remove.
10977 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10978 (special-display-regexps, special-display-function):
10979 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10980 parameter.
10981 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10982 (special-display-frame-alist, special-display-popup-frame)
10983 (same-window-buffer-names, same-window-regexps, same-window-p)
10984 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10985 (split-window-preferred-function, split-height-threshold)
10986 (split-width-threshold, window-splittable-p)
10987 (split-window-sensibly, window--try-to-split-window)
10988 (window--frame-usable-p, even-window-heights)
10989 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10990 (window--display-buffer-2, display-buffer-other-frame):
10991 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10992 (display-buffer-default, display-buffer-assq-regexp): New functions.
10993 (display-buffer-alist): Rewrite doc-string.
10994 (display-buffer-default-action)
10995 (display-buffer-overriding-action): New variables.
10996 (display-buffer, switch-to-buffer): Rewrite.
10997 (pop-to-buffer): Restore Emacs 23 behavior but use
10998 window-normalize-buffer-to-display.
10999 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11000 Restore Emacs 23 behavior but use
11001 window-normalize-buffer-to-switch-to.
11002 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11003 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11004 Rewrite using Emacs 23 options.
f818cd2a 11005
5bc3b51d
MA
110062011-08-31 Michael Albinus <michael.albinus@gmx.de>
11007
11008 * net/tramp.el (tramp-root-regexp): Remove.
11009 (tramp-completion-file-name-regexp-unified)
11010 (tramp-completion-file-name-regexp-separate)
11011 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11012 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11013 (tramp-drop-volume-letter): Simplify definition.
11014 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11015
b1a4f8e1
SM
110162011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11017
11018 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11019 (bug#9356).
11020
5664fa7b
RT
110212011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11022
b1a4f8e1 11023 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11024
9a45d6c3
JL
110252011-08-29 Juri Linkov <juri@jurta.org>
11026
11027 * isearch.el (isearch-done): Don't display message "Mark saved"
11028 when arg `edit' is non-nil to prevent its flicker in the echo area.
11029
fb87e0fb
CY
110302011-08-28 Chong Yidong <cyd@stupidchicken.com>
11031
11032 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11033 obsolete packages for deletion.
11034
09ac1c2a
CS
110352011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11036
11037 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11038 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11039 view-mode from help-mode.
11040 (help-xref-override-view-map): Remove.
11041 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11042 view-mode is not used anymore.
11043
7a1ff57f
CY
110442011-08-28 Chong Yidong <cyd@stupidchicken.com>
11045
11046 * server.el (server-port): Doc fix.
11047
b9696605
CY
11048 * cus-theme.el (custom-theme-choose-mode): Inherit from
11049 special-mode (Bug#9124).
11050 (custom-theme-choose-mode-map): Add special-mode to parent.
11051
ef8cdf8c
AM
110522011-08-28 Alan Mackenzie <acm@muc.de>
11053
11054 * progmodes/cc-fonts.el
11055 (c-make-font-lock-BO-decl-search-function): New function.
11056 (c-basic-matchers-after - "Fontify the clauses after various
11057 keywords"): Extract the three keyword lists for the 3 erroneous
11058 constructs from the list of four, and use the new function above
11059 in place of an old one.
11060
27de4e20
DD
110612011-08-28 Deniz Dogan <deniz@dogan.se>
11062
11063 * net/rcirc.el (rcirc-insert-prev-input)
11064 (rcirc-insert-next-input): Remove unused argument.
11065
356a3681
SM
110662011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11067
11068 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11069
3fc9b218
AM
110702011-08-27 Alan Mackenzie <acm@muc.de>
11071
11072 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11073 handle function pointer parameters properly.
11074
538a061c
MR
110752011-08-27 Martin Rudalics <rudalics@gmx.at>
11076
11077 * window.el (display-buffer-reuse-window): Fix case where
11078 selected window was reused with non-nil OTHER-WINDOW argument.
11079 (Bug#9381)
11080
35b1c40c
DD
110812011-08-27 Deniz Dogan <deniz@dogan.se>
11082
11083 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11084 oftc's NickServ messages.
11085
2f6a3e79
GM
110862011-08-27 Glenn Morris <rgm@gnu.org>
11087
11088 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11089
7254299e
CY
110902011-08-26 Chong Yidong <cyd@stupidchicken.com>
11091
11092 * emacs-lisp/package.el (package-install): Call package-initialize
11093 if called interactively.
11094
f8ccf167
LL
110952011-08-26 Leo Liu <sdl.web@gmail.com>
11096
11097 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11098
3e8cd5ce
JL
110992011-08-25 Juri Linkov <juri@jurta.org>
11100
11101 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11102 `search-whitespace-regexp' (bug#9364).
11103
93eb7113
JL
111042011-08-25 Juri Linkov <juri@jurta.org>
11105
11106 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11107 `regexp-search-ring' to their global values to protect from
11108 updating by `read-from-minibuffer' (bug#9185).
11109
f65d1611
JL
111102011-08-25 Juri Linkov <juri@jurta.org>
11111
11112 * textmodes/ispell.el (ispell-command-loop): Add newline
11113 at the end of the "Use option `i'..." line.
11114
f1cf7a31
JL
111152011-08-25 Juri Linkov <juri@jurta.org>
11116
11117 * battery.el (display-battery-mode): If `battery-status-function'
11118 or `battery-mode-line-format' is nil, display the message and set
11119 `display-battery-mode' to nil (bug#9363).
11120
0c95fcf7
EZ
111212011-08-25 Eli Zaretskii <eliz@gnu.org>
11122
11123 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11124 bidi-string-mark-left-to-right; they are unnecessary now.
11125
a2ebe600
DD
111262011-08-25 Deniz Dogan <deniz@dogan.se>
11127
11128 * net/quickurl.el: Documentation typo fixes.
11129
e4ed06f1
CY
111302011-08-25 Chong Yidong <cyd@stupidchicken.com>
11131
11132 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11133
e5f1c99e
GM
111342011-08-25 Glenn Morris <rgm@gnu.org>
11135
b2948976
GM
11136 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11137
e5f1c99e
GM
11138 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11139 (smtpmail-via-smtp): Handle nil response from smtp.
11140
f22f4808
JL
111412011-08-24 Juri Linkov <juri@jurta.org>
11142
11143 * proced.el (proced-marked): Inherit from `error' instead of
11144 `font-lock-warning-face'.
11145
11146 * ibuffer.el (ibuffer-marked-face): Change default face from
11147 `font-lock-warning-face' to `warning'.
11148 (ibuffer-deletion-face): Change default face from
11149 `font-lock-type-face' to `error'.
11150
11151 * battery.el (battery-update): Use the face `error' instead of
11152 `font-lock-warning-face' (bug#6117).
11153
6a93965e
JL
111542011-08-24 Juri Linkov <juri@jurta.org>
11155
11156 * faces.el (success): Change face color from "Green3" to
11157 "ForestGreen" on light background (bug#9353).
11158
1ed43b09
CY
111592011-08-24 Chong Yidong <cyd@stupidchicken.com>
11160
5664fa7b
RT
11161 * window.el (quit-window): Rename from quit-restore-window.
11162 Use same arglist as old quit-window.
1ed43b09
CY
11163 (frame-auto-delete): Doc fix.
11164
11165 * view.el (view-mode-exit): Use quit-window.
11166
11dcdbb2
JL
111672011-08-24 Juri Linkov <juri@jurta.org>
11168
11169 * isearch.el (isearch-ring-adjust1): Start visiting previous
11170 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11171 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11172 for empty search string (when the last search string is reused
11173 automatically) to adjust the isearch ring to the last element and
11174 prepare the correct index for further M-p commands (bug#9185).
11175
de62b4df
KH
111762011-08-24 Kenichi Handa <handa@m17n.org>
11177
11178 * international/ucs-normalize.el: If decomposition property of
11179 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11180 nil.
11181 (nfd, nfkd): Likewise.
11182
963b492b
SM
111832011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11184
11185 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11186 from process filters aren't reliably transmitted to the surrounding
11187 accept-process-output.
11188 (mpc-proc-check): New function.
11189 (mpc-proc-sync): Use it (bug#8293)
11190
93b6b5e1
SM
111912011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11192
11193 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11194 Add compatibility functions (bug#9313).
11195
bca633fb
EZ
111962011-08-23 Eli Zaretskii <eliz@gnu.org>
11197
b177498a
EZ
11198 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11199
6df6ae42 11200 * international/uni-bidi.el: Regenerate.
bca633fb 11201
0902a04e
KH
112022011-08-23 Kenichi Handa <handa@m17n.org>
11203
11204 * international/charprop.el:
11205 * international/uni-bidi.el:
11206 * international/uni-category.el:
11207 * international/uni-combining.el:
11208 * international/uni-comment.el:
11209 * international/uni-decimal.el:
11210 * international/uni-decomposition.el:
11211 * international/uni-digit.el:
11212 * international/uni-lowercase.el:
11213 * international/uni-mirrored.el:
11214 * international/uni-name.el:
11215 * international/uni-numeric.el:
11216 * international/uni-old-name.el:
11217 * international/uni-titlecase.el:
11218 * international/uni-uppercase.el: Regenerate.
11219
3bbf23bc
MR
112202011-08-23 Martin Rudalics <rudalics@gmx.at>
11221
11222 * help.el (help-window-setup): Fix message displayed when other
11223 window is reused. (Bug#9341)
11224
b3fd59bd
SM
112252011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11226
1802e444
SM
11227 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11228 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11229
b3fd59bd
SM
11230 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11231 Mark obsolete.
11232 * shell.el (shell-parse-pcomplete-arguments): New function.
11233 (shell-completion-vars): Use it instead (bug#9160).
11234
4eb61348
SM
112352011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11236
867cab74
SM
11237 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11238 strings and comments (bug#9333).
11239
4eb61348
SM
11240 * emacs-lisp/debug.el (debug-arglist): New function.
11241 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11242 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11243
262a1439
JL
112442011-08-22 Juri Linkov <juri@jurta.org>
11245
56ee679c
JL
11246 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11247 Revert regexp that highlights output switches to its old
11248 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11249
262a1439
JL
11250 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11251 to check for empty output (bug#9226).
11252
f13f86fb
CY
112532011-08-22 Chong Yidong <cyd@stupidchicken.com>
11254
11255 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11256 symbol-constituent as the default, as that stops font-lock from
11257 working properly (Bug#8843).
11258
c65c9622
LMI
112592011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11260
11261 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11262 `coding-system-for-*' around the process open call to avoid
11263 auth-source side effects.
e7f2c178 11264 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11265 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11266 probe hangs.
c65c9622 11267
23a8a5ab
CY
112682011-08-21 Chong Yidong <cyd@stupidchicken.com>
11269
ff98b2dd
CY
11270 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11271
23a8a5ab
CY
11272 * emacs-lisp/find-func.el (find-function-noselect): New arg
11273 lisp-only.
11274
11275 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11276 signal an error for built-in functions (Bug#6664).
11277
f5e3c598
LMI
112782011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11279
11280 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11281 (smtpmail-try-auth-methods): Use it.
11282
a3f2468a
CY
112832011-08-21 Chong Yidong <cyd@stupidchicken.com>
11284
2c34e8da
CY
11285 * font-lock.el (font-lock-fontify-region)
11286 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11287 (font-lock-default-unfontify-buffer)
11288 (font-lock-default-fontify-region)
11289 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11290
b3fd59bd
SM
11291 * progmodes/compile.el (compilation-error-properties):
11292 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11293 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11294 `ant' regexp.
ee31aabc 11295
a3f2468a
CY
11296 * net/browse-url.el (browse-url-firefox): Don't call
11297 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11298
8e999f70
GM
112992011-08-20 Glenn Morris <rgm@gnu.org>
11300
c21a496a
GM
11301 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11302
59ee0542
GM
11303 * tutorial.el (tutorial--default-keys): Update some default bindings.
11304
8e999f70
GM
11305 * files.el (hack-local-variables): Fully ignore case for "mode:".
11306
e3715033
AM
113072011-08-20 Alan Mackenzie <acm@muc.de>
11308
11309 Resolve invalid use of a regexp in regexp-opt.
11310
4d61f28d
JB
11311 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11312 detection for a java annotation.
e3715033 11313
4d61f28d 11314 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11315 detection for a java annotation.
11316
4d61f28d
JB
11317 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11318 handling for java.
e3715033
AM
11319 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11320
04ed2e9c
CY
113212011-08-20 Chong Yidong <cyd@stupidchicken.com>
11322
11323 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11324 (Bug#9274).
11325
826cee64
AM
113262011-08-20 Alan Mackenzie <acm@muc.de>
11327
58179cce 11328 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11329 such a construct. Mainly for when jit-lock etc. starts a chunk
11330 here.
11331
58179cce 11332 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11333 variable.
58179cce 11334 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11335 c-make-font-lock-search-function.
11336 (c-make-font-lock-search-function): Use the above function.
11337 (c-make-font-lock-context-search-function): New function.
11338 (c-cpp-matchers): Enhance the preprocessor expression case with
11339 the above function
11340 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11341 which takes an expression.
11342
11343 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11344
13009bd8
MR
113452011-08-20 Martin Rudalics <rudalics@gmx.at>
11346
11347 * window.el (display-buffer-reuse-window)
11348 (display-buffer-pop-up-window): Don't reuse or split a side
11349 window.
11350
9234ff7f
GM
113512011-08-19 Glenn Morris <rgm@gnu.org>
11352
11353 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11354 Downcase "Mode:". (Bug#9331)
9234ff7f 11355
f635daa1
CY
113562011-08-18 Chong Yidong <cyd@stupidchicken.com>
11357
11358 * international/characters.el: Add L and R categories.
11359
11360 * subr.el (bidi-string-mark-left-to-right): Rename from
11361 string-mark-left-to-right. Use category search.
11362
11363 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11364
bc987f8b
JL
113652011-08-18 Juri Linkov <juri@jurta.org>
11366
11367 * faces.el (error, warning, success): New faces with definitions
11368 copied from old default values of `font-lock-warning-face',
11369 `compilation-warning', `compilation-info' (bug#6117).
11370
11371 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11372
11373 * progmodes/compile.el (compilation-error): Inherit from `error'.
11374 (compilation-warning): Inherit from `warning'.
11375 (compilation-info): Inherit from `success'.
11376
11377 * dired.el (dired-marked): Inherit from `warning'.
11378 (dired-flagged): Inherit from `error'.
11379
57173b96
LMI
113802011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11381
3e79eb87
LMI
11382 * mail/smtpmail.el (auth-source): Require to avoid problems with
11383 binding variables (bug#9298). Also clean up some unused
11384 autoloads.
11385
b3fd59bd
SM
11386 * net/network-stream.el (network-stream-open-starttls):
11387 Support using starttls.el without using gnutls-cli.
57173b96 11388
02b404de
JL
113892011-08-17 Juri Linkov <juri@jurta.org>
11390
11391 * progmodes/grep.el (rgrep): Handle the case when
11392 `grep-find-command' is a cons cell (bug#9278).
11393
8c9177f2
MR
113942011-08-17 Martin Rudalics <rudalics@gmx.at>
11395
11396 * window.el (display-buffer-pop-up-frame): Run frame creation
11397 function with BUFFER current (as special-display-popup-frame
11398 does). Reported by Drew Adams.
11399
3644a0ab
DU
114002011-08-17 Daiki Ueno <ueno@unixuser.org>
11401
11402 * epa-mail.el: Simplify GnuPG group expansion using
11403 epg-expand-group.
11404 (epa-mail-group-alist, epa-mail-group-modtime)
11405 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11406 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11407 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11408 Remove.
11409
5e617bc2 114102011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11411
11412 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11413
9c4aeabf
AM
114142011-08-16 Alan Mackenzie <acm@muc.de>
11415
11416 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11417 Correct, to avoid the inside of macros.
11418
3a99bf64
RS
114192011-08-16 Richard Stallman <rms@gnu.org>
11420
04963aa8
RS
11421 * epa-mail.el: Handle GnuPG group definitions.
11422 (epa-mail-group-alist, epa-mail-group-modtime)
11423 (epa-mail-gnupg-conf-file): New variables.
11424 (epa-mail-parse-groups, epa-mail-sync-groups)
11425 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11426 (epa-mail-expand-recipients): New functions.
11427 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11428
177549d0
RS
11429 * mail/rmail.el (rmail-epa-decrypt): New command.
11430
fe38beef
RS
11431 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11432 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11433 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11434 (epa-decrypt-armor-in-region): Make error message clearer.
11435
934eacb9
SM
114362011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11437
11438 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11439 and "a2b" to "ab" for `prefix'.
11440
d024fb4e
CY
114412011-08-14 Chong Yidong <cyd@stupidchicken.com>
11442
11443 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11444 filter groups.
de148fee
CY
11445 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11446 Fourquet (Bug#8804).
d024fb4e 11447
62f1ca49
JB
114482011-08-12 Juanma Barranquero <lekktu@gmail.com>
11449
11450 * startup.el (argi): Declare as global variable (bug#9275).
11451
9ccaaa4b
CY
114522011-08-12 Chong Yidong <cyd@stupidchicken.com>
11453
11454 * subr.el (string-mark-left-to-right): Search the entire string
11455 for RTL script, not just the terminating character. Doc fix.
11456
a3dae87a
SM
114572011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11458
6cd18349
SM
11459 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11460 New function.
11461 (js--regexp-literal, js-syntax-propertize-function): Remove.
11462 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11463 (js-mode-map): Don't rebind electric keys.
11464 (js-insert-and-indent): Remove.
11465 (js-mode): Setup electric-layout and electric-indent instead.
11466
a3dae87a
SM
11467 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11468
9d5cb631
DU
114692011-08-12 Daiki Ueno <ueno@unixuser.org>
11470
11471 * epa.el (epa-progress-callback-function): Fix the logic of
11472 displaying progress.
11473 * epa-file.el (epa-file-insert-file-contents): Make progress
11474 display more user-friendly.
11475 (epa-file-write-region): Ditto.
11476
3e26a4a2
CY
114772011-08-10 Chong Yidong <cyd@stupidchicken.com>
11478
11479 * subr.el (string-mark-left-to-right): New function.
11480
11481 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11482 Use string-mark-left-to-right.
11483 (list-buffers-noselect): Caller changed.
11484
a3dae87a
SM
11485 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11486 Use string-mark-left-to-right.
3e26a4a2
CY
11487 (tabulated-list-print): Recenter after moving point.
11488
ac8cf6e6
JL
114892011-08-10 Juri Linkov <juri@jurta.org>
11490
11491 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11492 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11493 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11494
8d96c9a4
CY
114952011-08-09 Chong Yidong <cyd@stupidchicken.com>
11496
11497 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11498 (Bug#7554).
11499
7be1c708 115002011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11501
11502 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11503 character. (Bug#6594)
11504
37e11a63
CY
115052011-08-08 Chong Yidong <cyd@stupidchicken.com>
11506
839dde57
CY
11507 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11508 (image-dired--with-db-file): New macro.
11509 (image-dired-write-tags, image-dired-remove-tag)
11510 (image-dired-create-gallery-lists, image-dired-write-comments)
11511 (image-dired-get-comment, image-dired-mark-tagged-files)
11512 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11513 (image-dired-gallery-generate): Use insert-file-contents.
11514
37e11a63
CY
11515 * time.el (display-time-world-list, display-time-world-display):
11516 * time-stamp.el (time-stamp-string):
11517 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11518 set-time-zone-rule (Bug#7337).
11519
0b4946c4
DU
115202011-08-08 Daiki Ueno <ueno@unixuser.org>
11521
11522 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11523 (epg-error-to-string, epg-errors-to-string): New function.
11524 (epg-wait-for-completion): Reverse errors list.
11525 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11526 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11527 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11528 (epg-sign-keys, epg-generate-key-from-file)
11529 (epg-generate-key-from-string): Format errors by using
11530 epg-errors-to-string (bug#9255).
11531 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11532
75bfc667
JL
115332011-08-07 Juri Linkov <juri@jurta.org>
11534
11535 * faces.el (list-faces-display): Remove extra angle bracket
11536 from `help-mode-map'.
11537
11538 * info.el (Info-history-toc-nodes): Doc fix.
11539
11540 * longlines.el (longlines-mode): Doc fix.
11541
673e08bb
SM
115422011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11543
4640dd88
SM
11544 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11545 of statements and in a few more cases (bug#9183).
11546
673e08bb
SM
11547 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11548 New functions.
11549 (cl-transform-lambda): Use them (bug#9239).
11550
89b3f019
MR
115512011-08-05 Martin Rudalics <rudalics@gmx.at>
11552
11553 * window.el (display-buffer-same-window)
11554 (display-buffer-same-frame, display-buffer-other-window)
11555 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11556 (pop-to-buffer-other-window)
11557 (pop-to-buffer-same-frame-other-window)
11558 (pop-to-buffer-other-frame): Make them defuns.
11559 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11560
640c8776
SM
115612011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11562
11563 * subr.el (make-composed-keymap): Move from C. Change calling
11564 convention, and improve docstring to bring attention to a subtle point.
11565 * minibuffer.el (completing-read-default): Adjust accordingly.
11566
63648a95
MA
115672011-08-03 Michael Albinus <michael.albinus@gmx.de>
11568
11569 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11570 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11571
11572 * net/trampver.el: Update release number.
11573
b796c9b7
SM
115742011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11575
11576 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11577 "in" (bug#9190).
11578
2239d7d5
LMI
115792011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11580
e07dd7c3
LMI
11581 * mail/sendmail.el (sendmail-query-once): Restore the current
11582 buffer after querying (bug#9074).
11583
0e6a2bd7
LMI
11584 * dired.el (dired-flagged): Use different faces for marked and
11585 flagged files (bug#6117).
11586
ce887515
LMI
11587 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11588 (bug#4433).
11589
92f2affc
LMI
11590 * ido.el (ido-mode): Switch off the message if called
11591 non-interactively.
11592
57d5aff0
LMI
11593 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11594 before 587, since it appears that that's more likely to work for
11595 more people.
11596
98cd6c18 11597 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11598 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11599 exist.
11600
b96dec83
LMI
11601 * info.el: Remove the `Info-beginning-of-buffer' function
11602 (bug#8325).
11603
b796c9b7
SM
11604 * net/network-stream.el (network-stream-open-starttls):
11605 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11606
d90e2ea0
MR
116072011-08-01 Martin Rudalics <rudalics@gmx.at>
11608
11609 * window.el (display-buffer-in-window): Don't set dedicated status
11610 of window here (Bug#9215).
11611 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11612 (display-buffer-pop-up-side-window)
b796c9b7 11613 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11614
cca09170
SM
116152011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11616
11617 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11618 before binding generated-autoload-file.
11619
027b979c
DD
116202011-08-01 Deniz Dogan <deniz@dogan.se>
11621
11622 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11623
3c7ee4f3
MA
116242011-07-30 Michael Albinus <michael.albinus@gmx.de>
11625
11626 Sync with Tramp 2.2.2.
11627
11628 * net/trampver.el: Update release number.
11629
2cc8e51a
JL
116302011-07-30 Juri Linkov <juri@jurta.org>
11631
11632 * dired-aux.el (dired-touch-initial): Remove function.
11633 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11634 current time, and `default' to the last modification time of the
11635 current marked file (bug#6887).
11636
a514d856
JM
116372011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11638
11639 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11640 numeric argument to read-number (bug#9163).
a514d856 11641
8a7eddd7
MA
116422011-07-27 Michael Albinus <michael.albinus@gmx.de>
11643
11644 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11645 connection process, it could be nil.
11646
1ddd96f5
LL
116472011-07-27 Leo Liu <sdl.web@gmail.com>
11648
11649 Simplify url handling in rcirc-mode.
11650
11651 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11652 (rcirc-browse-url-at-mouse): Remove.
11653 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11654
b248a85d
AM
116552011-07-26 Alan Mackenzie <acm@muc.de>
11656
11657 Fontify bitfield declarations properly.
11658
11659 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11660 (c-symbol-chars): Now exported as a lang variable.
11661 (c-not-primitive-type-keywords): New lang variable.
11662
11663 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11664 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11665 parsed as a bitfield declaration.
b248a85d 11666
b796c9b7
SM
11667 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11668 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11669 (c-punctuation-in): New function.
11670 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11671 declarations properly.
11672
68575ab0
UJ
116732011-07-26 Ulf Jasper <ulf.jasper@web.de>
11674
11675 * calendar/icalendar.el (icalendar--all-events): Take care of
11676 multiple vcalendars in a single file.
b796c9b7 11677 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11678
0f0a88b9
DD
116792011-07-25 Deniz Dogan <deniz@dogan.se>
11680
11681 * image.el (insert-image): Clarifying docstring.
11682
0b3f36df
MA
116832011-07-24 Michael Albinus <michael.albinus@gmx.de>
11684
11685 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11686 `tramp-send-command-and-check' if there is no error.
11687 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11688
a9901f61
AM
116892011-07-22 Alan Mackenzie <acm@muc.de>
11690
11691 Prevent cc-langs.elc being loaded at run time.
11692
11693 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11694 cc-langs.
11695
4d61f28d 11696 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11697 "(require 'cc-langs)". Quote a form so it will evaluate at
11698 (cc-mode's) compilation time.
11699
11d074b2
MA
117002011-07-22 Michael Albinus <michael.albinus@gmx.de>
11701
11702 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11703 loading. (Bug#9114)
11704
938b94c8
MR
117052011-07-21 Martin Rudalics <rudalics@gmx.at>
11706
11707 * window.el (display-buffer-pop-up-window)
11708 (display-buffer-pop-up-side-window)
11709 (display-buffer-in-side-window): Call display-buffer-set-height
11710 and display-buffer-set-width after setting the new window's
b796c9b7 11711 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11712
bfa4f190
SS
117132011-07-20 Sam Steingold <sds@gnu.org>
11714
11715 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11716 (etags-tags-included-tables): Call `convert-standard-filename' on
11717 the file names contained in TAGS so that windows Emacs can handle
11718 TAGS files created by cygwin ctags.
11719
8ca42262
LMI
117202011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11721
11722 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11723 which apparently didn't work.
11724
5db2afd2 117252011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11726
5db2afd2
RW
11727 * proced.el (proced-send-signal): For *Marked Processes* buffer
11728 put point at beginning of buffer.
11729
92e15d10
SB
117302011-07-19 Stephen Berman <stephen.berman@gmx.net>
11731
11732 * proced.el (proced-format): Make header lines align with the text
11733 (bug#1779).
11734
1bfd59e5
LMI
117352011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11736
11737 * view.el (view-buffer): Allow running in `special' modes if we're
11738 visiting a file (bug#8615).
11739
f5aae37c
MR
117402011-07-19 Martin Rudalics <rudalics@gmx.at>
11741
11742 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11743 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11744 New functions.
f5aae37c
MR
11745 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11746 more accurately.
11747
bf2c1571
AM
117482011-07-18 Alan Mackenzie <acm@muc.de>
11749
11750 Fontify declarators properly when, e.g., a jit-lock chunk begins
11751 inside a declaration.
11752
11753 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11754
b796c9b7
SM
11755 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11756 New function.
bf2c1571
AM
11757 (c-complex-decl-matchers): Insert reference to
11758 c-font-lock-enclosing-decls.
11759
11760 * progmodes/cc-engine.el (c-backward-single-comment):
11761 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11762 to nil around calls to (forward-comment -1).
11763
4e190b80
LMI
117642011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11765
12dc863d
LMI
11766 * image.el (put-image): Doc typo fix.
11767
a762e966
LMI
11768 * progmodes/etags.el (tags-search): Doc typo fix.
11769
4e190b80
LMI
11770 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11771 password if we get errors 550 to 554.
11772
f019fb21
LMI
117732011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11774
b796c9b7 11775 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11776
81746738
LMI
11777 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11778 indentation character (bug#6380).
11779
3ee3a1b5
LMI
11780 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11781
c82f64de
LMI
11782 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11783 to clarify what the problem is (bug#4291).
11784
f019fb21
LMI
11785 * simple.el (current-kill): Clarify what
11786 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11787 (auto-fill-mode): Document `auto-fill-function' in relation to
11788 `auto-fill-mode' (bug#2470).
f019fb21 11789
0794775d
LM
117902011-07-16 Lawrence Mitchell <wence@gmx.li>
11791
11792 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11793 method if slot is read-only (bug#9035).
11794
be39b8cc
MR
117952011-07-16 Martin Rudalics <rudalics@gmx.at>
11796
b796c9b7 11797 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11798 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11799 selected before, see discussion of (Bug#8615), (Bug#6954).
11800 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11801
6ccf7859
GM
118022011-07-15 Glenn Morris <rgm@gnu.org>
11803
11804 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11805 Respect help-form.
6ccf7859 11806
87e86684
LM
118072011-07-09 Lawrence Mitchell <wence@gmx.li>
11808
11809 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11810 (gnutls-negotiate): Use it.
11811
d6066239
LMI
118122011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11813
b796c9b7
SM
11814 * net/gnutls.el (gnutls-negotiate):
11815 Upcase `gnutls-algorithm-priority'.
d6066239 11816
bd23ebc0
GM
118172011-07-15 Glenn Morris <rgm@gnu.org>
11818
c65bca65
GM
11819 * jka-compr.el (jka-compr-verbose): Move from here...
11820 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11821 Add missing :version tag.
11822 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11823
478615cc
LMI
118242011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11825
7b41decb
LMI
11826 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11827 (gnutls-negotiate): Use it.
11828
dbc44fcd
LMI
11829 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11830
06789f97
LMI
11831 * info.el (Info-beginning-of-buffer): New command.
11832 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11833 announcing `b' as the key (bug#8325).
ab896c37 11834 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11835
c39da690
LMI
11836 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11837
3aa5f34b
LMI
11838 * international/mule-cmds.el
11839 (describe-specified-language-support): Make the error message
11840 clearer (bug#8905).
11841
4bf0979f
LMI
11842 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11843
478615cc
LMI
11844 * isearch.el (isearch-barrier): Add a doc string, since it's
11845 mentioned in a function doc string (bug#8678).
11846
75c68aa1
MR
118472011-07-15 Martin Rudalics <rudalics@gmx.at>
11848
11849 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11850 buffer argument (Bug#9083) and self-identifying label argument.
11851
a7c33da2
GM
118522011-07-15 Glenn Morris <rgm@gnu.org>
11853
11854 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11855
2f5c6024
LMI
118562011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11857
11858 * man.el (Man-fontify-manpage): Fix message when formatting the
11859 man page (bug#7929).
11860
0bb23927 118612011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11862
11863 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11864 argument LRM; if non-nil, append an invisible LRM character to the
11865 buffer name.
11866 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11867 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11868 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11869 paragraph direction.
cce4b0a7 11870
621ef9ab
LMI
118712011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11872
d1583c48
LMI
11873 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11874 the man page name (bug#7929).
11875
6a57fb5f
LMI
11876 * image.el (put-image): Mention the `put-image' overlay property
11877 (bug#7834).
11878
d7956b14
LMI
11879 * scroll-bar.el (set-scroll-bar-mode): Mention that
11880 `scroll-bar-mode' lists the values (bug#7772).
11881
5b2d4a66
LMI
11882 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11883 command (bug#7729).
11884
7509a874
LMI
11885 * rect.el (apply-on-rectangle): Return the point after the last
11886 operation.
11887 (string-rectangle): Go to the point after the last operation
11888 (bug#7522).
11889
4fe74b19
LMI
11890 * printing.el (pr-toggle-region): Clarify the documentation
11891 slightly (bug#7493).
11892
b796c9b7
SM
11893 * time.el (display-time-update):
11894 Allow `display-time-mail-function' to return nil (bug#7158).
11895 Fix suggested by Detlev Zundel.
ab283561 11896
fc233c9d
LMI
11897 * vc/diff.el (diff): Clarify the order the file names are read
11898 (bug#7111).
11899
43f5740b
LMI
11900 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11901 the doc string (bug#7015).
11902
f2182a76
LMI
11903 * font-lock.el (font-lock-maximum-decoration): Mention what
11904 numeric levels mean (bug#6935).
11905
621ef9ab
LMI
11906 * startup.el (initial-buffer-choice): Don't mention the `none'
11907 selection, which is against policy.
11908
adc47434
MR
119092011-07-14 Martin Rudalics <rudalics@gmx.at>
11910
b796c9b7
SM
11911 * window.el (display-buffer-normalize-special):
11912 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11913
7e5bfb8f
EZ
119142011-07-14 Eli Zaretskii <eliz@gnu.org>
11915
11916 * subr.el (version<, version<=, version=): Mention "-CVS" and
11917 "-12345" alpha version numbers.
11918
27fa387a
CY
119192011-07-14 Chong Yidong <cyd@stupidchicken.com>
11920
11921 * bindings.el: Add advertised binding for set-mark-command
11922 (Bug#5772).
11923
8bdfa064
CY
119242011-07-14 Chong Yidong <cyd@stupidchicken.com>
11925
11926 * bindings.el (mode-line-other-buffer):
11927 * bookmark.el (bookmark-bmenu-2-window):
11928 * bs.el (bs-cycle-next, bs-cycle-previous):
11929 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11930 switch-to-buffer.
11931
11932 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11933 Delete.
8bdfa064 11934
5eba16a3
JB
119352011-07-14 Juanma Barranquero <lekktu@gmail.com>
11936
11937 * follow.el (follow-debug-message, follow-redisplay):
11938 * jka-cmpr-hook.el (with-auto-compression-mode):
11939 Fix typos in docstrings.
11940
15853710
LMI
119412011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11942
a28e4607
LMI
11943 * subr.el (with-silent-modifications): Clarify somewhat what the
11944 macro inhibits (bug#6525).
11945
15853710
LMI
11946 * simple.el (eval-expression): Note what it does if called
11947 interactively (bug#6495).
11948
bee0fcef
CY
119492011-07-13 Chong Yidong <cyd@stupidchicken.com>
11950
b796c9b7
SM
11951 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11952 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11953
11954 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11955 Remove switch-to-buffer.
11956
58274504
LMI
119572011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11958
bd2fcc8d
LMI
11959 * files.el (make-directory): Clarify that an error will be raised
11960 if there's an error (bug#6397).
11961
0f04b32c
LMI
11962 * startup.el (initial-buffer-choice): Add `none' as a choice
11963 (bug#6234).
11964
465c5fc8
LMI
11965 * subr.el (add-hook): Clarify section about buffer-local hooks
11966 (bug#6218).
11967
58274504
LMI
11968 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11969
bead9a43
JB
119702011-07-13 Juanma Barranquero <lekktu@gmail.com>
11971
11972 * tabify.el (untabify): Preserve the current column so that point
11973 doesn't move (bug#6032).
11974
3af98a7b
LMI
119752011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11976
b796c9b7
SM
11977 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11978 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11979
6240145a
GM
119802011-07-13 Glenn Morris <rgm@gnu.org>
11981
11982 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11983 (dired-insert-directory): Give a message the first time
11984 if ls is found not to support --dired.
11985
1d8c2ccc
LMI
119862011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11987
11988 * simple.el (toggle-truncate-lines): Clarify what is toggled
11989 (bug#5580). Text by Drew Adams.
11990
5fc4038e
CY
119912011-07-13 Chong Yidong <cyd@stupidchicken.com>
11992
11993 * simple.el (blink-matching-open): Make the error message from the
11994 last change less verbose.
11995
bf6012e5
DN
119962011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11997
11998 * font-lock.el (font-lock-comment-face): Use the high contrast
11999 "yellow" color for font-lock-comment-face on low color terminals
12000 using a dark background color (bug#4221).
12001
343c3b5a
LMI
120022011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12003
7e9505c5
LMI
12004 * dired.el (dired-insert-set-properties): Make the doc string
12005 reflect what it does now (bug#5325).
12006
c26fdcf5
LMI
12007 * simple.el (blink-matching-open): Say that we were unable to find
12008 the match within the limit, if we're limited (bug#5122).
12009
bb388cc5
LMI
12010 * international/mule-cmds.el (prefer-coding-system): Add an
12011 example (bug#4869).
12012
343c3b5a
LMI
12013 * progmodes/etags.el (tags-search): Document `file-list-form'
12014 (bug#4731).
12015
2a517d45
LM
120162011-07-13 Lawrence Mitchell <wence@gmx.li>
12017
12018 * net/browse-url.el (browse-url-default-browser)
12019 (browse-url-browser-function): Make the default browser choice a
12020 bit more logical (bug#4300). Also clean up the doc string.
12021
b6c78ef2
JB
120222011-07-13 Juanma Barranquero <lekktu@gmail.com>
12023
12024 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12025 binary endings (bug#4440).
12026
1c4dd947
LMI
120272011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12028
a2014063
LMI
12029 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12030 which can be pretty annoying (bug#8971).
12031
9c9c2d88
LMI
12032 * jka-compr.el (jka-compr-verbose): New variable, and use
12033 throughout (bug#8971).
12034
1c4dd947
LMI
12035 * info.el (Info-find-file): Fall back on the installation
12036 directory if we can't find the info node anywhere else.
12037
a1c9f41b
SO
120382011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12039
12040 * vc/vc.el (vc-revert-file):
12041 Don't set file time-stamp in the past. (Bug#5181)
12042
536f3d36
LMI
120432011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12044
7152b011
LMI
12045 * files.el (after-find-file): Give a better error message when
12046 trying to find a symlink that points to a file that doesn't exist
12047 (bug#4398).
12048
536f3d36
LMI
12049 * progmodes/cc-vars.el: Remove (probably) misleading comment
12050 (bug#4396).
12051
460c0fba
JB
120522011-07-12 Johan Bockgård <bojohan@gnu.org>
12053
12054 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12055
7a6bda45
CY
120562011-07-12 Chong Yidong <cyd@stupidchicken.com>
12057
12058 * mouse-sel.el: Hack restoring functionality, while keeping
12059 compatibility with 2010-07-03 changes to mouse selection.
12060 (mouse-sel-primary-overlay): New var.
12061 (mouse-sel-selection-alist): Use it.
12062 (mouse-sel-mode): Doc fix; remove points that are default features
12063 of mouse.el.
12064
c79598ef
JB
120652011-07-12 Johan Bockgård <bojohan@gnu.org>
12066
12067 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12068 Fix previous fix (bug#2490).
12069
ff8be6ef
RW
120702011-07-12 Roland Winkler <winkler@gnu.org>
12071
b796c9b7
SM
12072 * textmodes/bibtex.el (bibtex-initialize):
12073 Use pop-to-buffer-same-window.
ff8be6ef
RW
12074 (bibtex-search-entries): Fix interactive call.
12075
296ba3ee
LMI
120762011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12077
f5242a02 12078 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12079 Fontise bytecomp Error lines more correctly (bug#2490).
12080 Fix suggested by Johan Bockgård.
f5242a02 12081
296ba3ee
LMI
12082 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12083
12084 * dired-x.el (dired-guess-default): Use `delete-dups'.
12085
f69fd0d2
CY
120862011-07-12 Chong Yidong <cyd@stupidchicken.com>
12087
12088 * dired.el (dired-mark-prompt):
12089 * dired-aux.el (dired-read-shell-command): Doc fix.
12090
eab5dc07
LMI
120912011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12092
b796c9b7
SM
12093 * mail/sendmail.el (sendmail-query-once):
12094 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12095 emacs -Q.
12096
12097 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12098
eab5dc07
LMI
12099 * cus-edit.el (custom-file): Take an optional no-error variable.
12100 (customize-save-variable): Set the variable, and give a warning if
12101 running under "emacs -q".
12102
a1e65d42
JB
121032011-07-11 Juanma Barranquero <lekktu@gmail.com>
12104
12105 * loadhist.el (unload-feature-special-hooks):
12106 Add `auto-coding-functions', `fill-nobreak-predicate' and
12107 `find-directory-functions' (bug#5327).
12108
1d52da10
LMI
121092011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12110
be958f1d
LMI
12111 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12112
5bedb26c
LMI
12113 * cus-edit.el (custom-guess-name-alist): -alist variables should
12114 use the `alist' type (bug#3120). Suggested by Drew Adams.
12115
1d52da10
LMI
12116 * printing.el: Add documentation to all the `pr-toggle-' commands.
12117
cd394be1 121182011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12119
12120 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12121 backends where it makes sense (bug#2623).
12122
dcc88d8a
LMI
121232011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12124
c3de9feb
LMI
12125 * dired-x.el (dired-guess-default): Remove duplicate shell command
12126 entries (bug#2028).
8a93078b 12127 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12128 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12129
dcc88d8a
LMI
12130 * subr.el (remove-duplicates): New conveniency function.
12131
505e3645
LMI
121322011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12133
12134 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12135 (bug#1526).
12136
121372011-07-10 Martin Rudalics <rudalics@gmx.at>
12138
12139 * window.el (display-buffer-normalize-default): Don't invert
12140 meaning of even-window-heights. Reported by Eli Zaretskii
12141 <eliz@gnu.org>.
12142
455e4fa1
BR
121432011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12144
12145 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12146
8e0bc3e9
CY
121472011-07-10 Chong Yidong <cyd@stupidchicken.com>
12148
12149 * window.el (display-buffer): Fix arguments to
12150 display-buffer-reuse-window in last change.
12151
fa7c3228
CY
12152 * faces.el (link): Use a less saturated blue on light backgrounds.
12153
12154 * startup.el (fancy-startup-text, fancy-about-text)
12155 (fancy-startup-tail): Use font-lock faces, for background safety.
12156
c0a7f300
BN
121572011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12158
b796c9b7
SM
12159 * emulation/viper-cmd.el (viper-change-state-to-vi):
12160 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12161
4dc2a129
MR
121622011-07-09 Martin Rudalics <rudalics@gmx.at>
12163
12164 * window.el (display-buffer-default-specifiers): Remove.
12165 (display-buffer-macro-specifiers): Remove default specifiers.
12166 (display-buffer-alist): Default to nil.
b796c9b7 12167 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12168 (display-buffer-pop-up-window): Allow splitting internal
12169 windows. Check whether a live window was created.
12170 (display-buffer-other-window-means-other-frame)
12171 (display-buffer-normalize-arguments): Rename to
12172 display-buffer-normalize-argument and rewrite. Set the
12173 other-window specifier.
12174 (display-buffer-normalize-special): New function.
12175 (display-buffer-normalize-options): Rename to
12176 display-buffer-normalize-default and rewrite.
12177 (display-buffer-normalize-options-inhibit): Remove.
12178 (display-buffer-normalize-specifiers): Rewrite.
12179 (display-buffer): Process other-window specifier and call
12180 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12181 more faithfully.
b796c9b7 12182 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12183 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12184 (display-buffer-in-window, display-buffer-alist-set):
12185 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12186 <tassilo@member.fsf.org>.
12187
2d43b8c9
LL
121882011-07-09 Leo Liu <sdl.web@gmail.com>
12189
12190 * register.el (insert-register): Restore accidental change on
12191 2011-06-26. (Bug#9028)
12192
7f9b7c53
GM
121932011-07-09 Glenn Morris <rgm@gnu.org>
12194
12195 * subr.el (remq): Handle the empty list. (Bug#9024)
12196
f042cfd8
AS
121972011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12198
12199 * mail/sendmail.el (send-mail-function): No longer delay custom
12200 initialization.
12201 * custom.el (custom-initialize-delay): Doc fix.
12202
856b2f11
SM
122032011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12204
12205 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12206
afae1d68
MA
122072011-07-08 Michael Albinus <michael.albinus@gmx.de>
12208
12209 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12210 human-friendly prompt.
12211
0757af94
SM
122122011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12213
12214 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12215 provided by a particular plugin.
12216
d760b731
LMI
122172011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12218
12219 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12220 save customizations (with "emacs -Q"), just set the variable
12221 instead of erroring out.
12222
12223 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12224
cd79ce90
JL
122252011-07-08 Juri Linkov <juri@jurta.org>
12226
12227 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12228 (archive-zip-update-case): Use 7z if found by `executable-find'.
12229 The order of searching the available programs is the same as in
12230 `archive-zip-extract' (bug#8968).
12231
14cc04aa
CY
122322011-07-07 Chong Yidong <cyd@stupidchicken.com>
12233
12234 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12235 (menu-bar-options-menu): Tweak descriptions.
12236
0a1848ec
LMI
122372011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12238
12239 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12240 menu items into verb phrases (bug#1421). Also refill to fit under
12241 80 columns.
12242
f5bd0689
CY
122432011-07-07 Chong Yidong <cyd@stupidchicken.com>
12244
538e85c6
CY
12245 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12246 (Info-read-node-name): Doc fix (Bug#1084).
12247
f5bd0689
CY
12248 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12249 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12250 (end-of-sexp, beginning-of-sexp)
12251 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12252 (forward-symbol, forward-same-syntax, word-at-point)
12253 (sentence-at-point): Doc fix (Bug#1144).
12254
56ec5115
LMI
122552011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12256
f3f8e37f
LMI
12257 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12258 should cover it (bug#1281).
12259
0757af94 12260 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12261
e9fce1ac 12262 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12263 negotiation fails, then possibly try again with a non-encrypted
12264 connection (bug#9017).
12265
56ec5115
LMI
12266 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12267 be used.
12268
c2f9aec8
RS
122692011-07-07 Richard Stallman <rms@gnu.org>
12270
12271 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12272 property, and handle its changed format.
12273 Look for the correct line number.
12274 Use file's line contents (but not past first =) to find
12275 correct line in message.
12276
ef7b981d 122772011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12278
12279 * international/characters.el (build-unicode-category-table):
12280 Delete it.
0757af94 12281 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12282
0757af94 12283 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12284 to src/chartab.c.
12285 (get-char-code-property): Call unicode-property-table-internal to
12286 load a file. Call get-unicode-property-internal where necessary.
12287 (put-char-code-property): Call unicode-property-table-internal to
12288 load a file. Call put-unicode-property-internal where necessary.
12289 put-unicode-property-internal where necessary.
0757af94
SM
12290 (char-code-property-description):
12291 Call unicode-property-table-internal to load a file.
c805dec0
KH
12292
12293 * international/charprop.el:
12294 * international/uni-bidi.el:
12295 * international/uni-category.el:
12296 * international/uni-combining.el:
12297 * international/uni-comment.el:
12298 * international/uni-decimal.el:
12299 * international/uni-decomposition.el:
12300 * international/uni-digit.el:
12301 * international/uni-lowercase.el:
12302 * international/uni-mirrored.el:
12303 * international/uni-name.el:
12304 * international/uni-numeric.el:
12305 * international/uni-old-name.el:
12306 * international/uni-titlecase.el:
12307 * international/uni-uppercase.el: Regenerate.
12308
12309 * loadup.el: Load international/charprop.el before
12310 international/characters.
12311
e14b388a
CY
123122011-07-07 Chong Yidong <cyd@stupidchicken.com>
12313
12314 * window.el (next-buffer, previous-buffer): Signal an error if
12315 called from a minibuffer window.
12316
12317 * bindings.el: Revert 2011-07-04 change.
12318
354cf0ba
RS
123192011-07-06 Richard Stallman <rms@gnu.org>
12320
12321 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12322 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12323 Treat markers like ints.
12324 (rmail-mime-entity): Doc fix.
12325
a48868a7
LMI
123262011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12327
4906cd3d
LMI
12328 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12329 defcustom again for backwards compatibility.
12330
e0457abe
LMI
12331 * simple.el (shell-command-on-region): Fill.
12332
d67f7e1f
LMI
12333 * dired-aux.el (dired-kill-line): Add a doc string.
12334
fe204702
LMI
12335 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12336 to "\\sw\\|\\s_" (bug#358).
12337
a48868a7
LMI
12338 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12339 (dired-unmark-backward): Ditto.
12340 (dired-flag-backup-files): Ditto.
12341
12342 * dired-x.el (dired-mark-sexp): Ditto.
12343
aa8a705c
RS
123442011-07-06 Richard Stallman <rms@gnu.org>
12345
12346 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12347 (rmail-mime-entity): New arg TRUNCATED.
12348 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12349 New functions.
12350 (rmail-mime-save): Warn if entity is truncated.
12351 (rmail-mime-toggle-hidden): Likewise, for showing.
12352 (rmail-mime-process-multipart): Record when an entity is truncated.
12353
a9a936b9
RS
12354 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12355 if ENTITY is a string.
12356
1f2b92cb
LMI
123572011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12358
f4f73198 12359 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12360 of faces when `M-C-x'-ing their definitions (bug#8378).
12361 Also clean up the code slightly.
f4f73198 12362
12b16734 12363 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12364 because that makes the colors go away.
12b16734 12365
f0691d22
LMI
12366 * mail/sendmail.el (send-mail-function): Change the default to
12367 `sendmail-query-once'.
9e87df06 12368 (sendmail-query-once): Add an autoload cookie.
f0691d22 12369
1f2b92cb
LMI
12370 * net/network-stream.el (network-stream-open-starttls): Try using
12371 a plain connection even if the server offered STARTTLS, and we
12372 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12373 capability. This should make smtpmail.el work in slightly more
12374 configurations.
12375
1cdd2a1b
MA
123762011-07-06 Michael Albinus <michael.albinus@gmx.de>
12377
12378 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12379 New defun.
12380 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12381
fbcc67e2
MM
123822011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12383
12384 * progmodes/sql.el: Version 3.0
0757af94 12385 (sql-product-alist): Add product :completion-object,
fbcc67e2 12386 :completion-column, and :statement attributes.
0757af94 12387 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12388 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12389 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12390 ansi keywords.
12391 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12392 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12393 (sql-oracle-show-reserved-words): New function for development.
12394 (sql-product-font-lock): Simplify for source code buffers.
12395 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12396 New functions.
12397 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12398 (sql-mode-map): Add statement movement functions.
12399 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12400 New variable.
fbcc67e2
MM
12401 (sql-statement-regexp, sql-beginning-of-statement)
12402 (sql-end-of-statement, sql-signum): New functions.
0757af94 12403 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12404 (sql-show-sqli-buffer): Bug fix.
12405 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12406 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12407 with sql-interactive-mode.
12408 (sql-save-connection): Save buffer local settings.
0757af94 12409 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12410 (sql-product-interactive): Bug fix.
12411 (sql-preoutput-hold): New variable.
12412 (sql-interactive-remove-continuation-prompt): Bug fixes.
12413 (sql-debug-redirect): New variable.
12414 (sql-str-literal): New function.
12415 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12416 Redesign.
fbcc67e2
MM
12417 (sql-oracle-save-settings, sql-oracle-restore-settings)
12418 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12419 (sql-completion-object, sql-completion-column)
12420 (sql-completion-sqlbuf): New variables.
12421 (sql-build-completions-1, sql-build-completions)
12422 (sql-try-completion): New functions.
12423 (sql-read-table-name): Use them.
12424 (sql-contains-names): New buffer local variable.
12425 (sql-list-all, sql-list-table): Use it.
12426 (sql-oracle-completion-types): New variable.
12427 (sql-oracle-completion-object, sql-sqlite-completion-object)
12428 (sql-postgres-completion-object): New functions.
12429
d4eaeab1
GM
124302011-07-06 Glenn Morris <rgm@gnu.org>
12431
12432 * window.el (pop-to-buffer): Doc fix.
12433
322b7dab 124342011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12435
12436 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12437
322b7dab 124382011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12439
322b7dab 12440 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12441
322b7dab 12442 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12443
605dd5bf
CY
124442011-07-05 Chong Yidong <cyd@stupidchicken.com>
12445
12446 * button.el (button): Inherit from link face. Suggested by Dan
12447 Nicolaescu.
12448
7dbfa719
SM
124492011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12450
3db614b0
SM
12451 * progmodes/gdb-mi.el: Fit in 80 columns.
12452 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12453 switch-to-buffer.
12454
7dbfa719
SM
12455 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12456 if imenu is simply not configured (bug#8941).
12457
919d884a
KM
124582011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12459
12460 * allout.el (allout-post-undo-hook): New allout outline-change
12461 event hook to signal undo activity.
12462 (allout-post-command-business): Run allout-post-undo-hook if an
12463 undo just occurred.
7dbfa719
SM
12464 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12465 * allout-widgets.el (allout-widgets-after-undo-function):
12466 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12467 in the vicinity of an undo.
12468 (allout-widgets-mode): Include allout-widgets-after-undo-function
12469 on the new allout-post-undo-hook.
12470
450a0f09
SM
124712011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12472
12473 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12474 Let define-derived-mode define it.
12475 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12476 cycles of abbrev-table inheritance (bug#8998).
12477
2de69e00
RW
124782011-07-05 Roland Winkler <winkler@gnu.org>
12479
12480 * textmodes/bibtex.el: Add support for biblatex.
12481 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12482 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12483 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12484 (bibtex-entry-alist, bibtex-field-alist): New variables.
12485 (bibtex-entry-field-alist): Obsolete alias for
12486 bibtex-BibTeX-entry-alist.
12487 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12488 (bibtex-set-dialect): New command.
12489 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12490 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12491 Bind via bibtex-set-dialect.
2de69e00
RW
12492 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12493 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12494 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12495 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12496 Define via bibtex-set-dialect.
450a0f09
SM
12497 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12498 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12499 (bibtex-vec-push, bibtex-vec-incr): New functions.
12500 (bibtex-format-entry, bibtex-field-list)
12501 (bibtex-print-help-message, bibtex-validate)
12502 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12503
2dcdbdd9
SM
125042011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12505
12506 * progmodes/compile.el (compilation-goto-locus):
12507 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12508 * bs.el (bs-cycle-next, bs-cycle-previous):
12509 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12510 * bindings.el (mode-line-other-buffer):
12511 * autoinsert.el (auto-insert):
12512 * arc-mode.el (archive-extract):
12513 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12514
b27640fe
JB
125152011-07-05 Juanma Barranquero <lekktu@gmail.com>
12516
12517 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12518 Fix check of `emacs-lock-unlockable-modes'.
12519 Coerce true values of `emacs-lock--try-unlocking' to t.
12520
53bbe3ad
JB
125212011-07-05 Juanma Barranquero <lekktu@gmail.com>
12522
12523 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12524 * emacs-lock.el: New file.
12525
1d3cdbc7
JD
125262011-07-05 Julien Danjou <julien@danjou.info>
12527
12528 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12529 than `boundp' to check if face is set.
12530
9173deec
JB
125312011-07-05 Juanma Barranquero <lekktu@gmail.com>
12532
12533 * register.el (registerv-make):
12534 * window.el (window-min-height): Fix typos in docstrings.
12535
869795d6
JD
125362011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12537
9173deec 12538 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12539 Update doc string.
12540
b768cdcd
JB
125412011-07-04 Juanma Barranquero <lekktu@gmail.com>
12542
12543 * server.el (server-execute): Catch quit and call
12544 `server-return-error' to pass the error back to emacsclient and
12545 close the connection (bug#8942).
12546
13aa217b
KM
125472011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12548
12549 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12550 insecure exception for current topic. Also note that auto-saves
12551 are handled differently.
12552
5d3385a0 12553 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12554 State variables for tracking auto-save inhibition situation.
12555
12556 (allout-write-contents-hook-handler): Rename from
12557 'allout-write-file-hook-handler', and describe how it depends on
12558 write-contents-functions sensitivity to non-nil value to prevent
12559 file write.
12560
12561 (allout-auto-save-hook-handler): Remove. auto-save does not check
12562 this in individual buffers, only in the starting buffer, so this
12563 is not the right way for us to inhibit auto-save in a buffer
12564 according to its condition.
12565
12566 (allout-mode): Use new allout-write-contents-hook-handler, and
12567 only with write-contents-functions. Remove auto-save provisions -
12568 they're implemented elsewhere.
12569
12570 (allout-before-change-handler): If undo is in progress, note that
12571 for attention of allout-post-command-business.
12572
12573 (allout-post-command-business): If the command we're following was
12574 an undo, check for change in the status of encrypted items and
12575 adjust auto-save inhibitions accordingly.
12576
12577 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12578 according to whether there are or aren't any plain-text topics
12579 pending encryption.
12580
2dcdbdd9 12581 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12582 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12583 if there are plain-text topics pending encryption.
13aa217b
KM
12584
12585 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12586 buffer-saved-size and some allout state to not inhibit auto-saves
12587 if there are no longer any plain-text topics pending encryption.
12588
0757af94
SM
12589 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12590 No longer provide for exemption of the current topic.
13aa217b 12591
ac89b32c
JL
125922011-07-04 Juri Linkov <juri@jurta.org>
12593
12594 Add 7z operations to delete and save changed members (bug#8968).
12595 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12596 New defcustoms.
12597 (archive-7z-write-file-member): New function.
12598 (archive-7z-summarize): Fix the number of dashes in the
12599 listing output.
12600
8fa39615
SM
126012011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12602
12603 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12604 (bug#8958).
12605
2f11b3f1
CY
126062011-07-04 Chong Yidong <cyd@stupidchicken.com>
12607
d66fef2b
CY
12608 * bindings.el: Ignore next-buffer and previous-buffer in
12609 minibuffer-local-map.
12610
2f11b3f1
CY
12611 * font-lock.el (font-lock-builtin-face): Change light background
12612 color to dark slate blue (Bug#6693).
12613
f932a347
WD
126142011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12615
12616 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12617
c8af70e1
SM
126182011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12619
12620 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12621 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12622 Add switch-to-buffer.
12623
f158badc
LMI
126242011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12625
12626 * isearch.el (isearch-search-fun-function): Clarify further the
12627 meaning of the function returned.
12628
6d95bd46
MA
126292011-07-04 Michael Albinus <michael.albinus@gmx.de>
12630
12631 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12632
12633 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12634 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12635 Use it.
12636 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12637 `tramp-default-remote-path' does not exist.
12638 (tramp-send-command-and-read): New optional argument NOERROR.
12639 (tramp-open-connection-setup-interactive-shell)
12640 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12641 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12642 (tramp-process-sentinel): Flush also process' connection property.
12643 (tramp-sh-handle-start-file-process): Do not set process
12644 sentinel. It is done now ...
12645 (tramp-maybe-open-connection): ... here. (Bug#8929)
12646
909e6b67
MK
126472011-07-04 MON KEY <monkey@sandpframing.com>
12648
12649 * play/animate.el (animate-string): Doc fixes and allow changing
12650 the buffer name (bug#5417).
12651
126522011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12653
c8af70e1 12654 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12655
f34755dc
PE
126562011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12657
396cec72
PE
12658 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12659 This is simpler and helps future-proof the code.
12660 (timer-until): Use time-subtract and float-time.
08235028 12661 (timer--time-less-p): Use time-less-p.
f34755dc 12662
56e6cc31
JB
126632011-07-04 Juanma Barranquero <lekktu@gmail.com>
12664
3abb79e5
JB
12665 * type-break.el (timep): Use the value of `float-time' to avoid a
12666 byte-compiler warning.
12667
56e6cc31
JB
12668 * server.el (server-eval-and-print): Return any result, even nil.
12669
7b9430b4
PE
126702011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12671
12672 * type-break.el: Accept time formats that the builtins accept.
12673 (timep, type-break-time-difference): Accept any format that
12674 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12675 This is simpler and helps future-proof the code.
12676 (type-break-time-difference): Round rather than ignoring
12677 subseconds components.
12678
3034e9e7
LMI
126792011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12680
12681 * info.el (Info-apropos-matches): Make non-interactive, since it
12682 doesn't seem to do anything useful as a command (bug#8829).
12683
1485f4c0
CY
126842011-07-03 Chong Yidong <cyd@stupidchicken.com>
12685
12686 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12687 Move from faces.el.
1485f4c0
CY
12688 (frame-default-terminal-background): New function.
12689
12690 * custom.el (custom-push-theme): Don't record faces in `changed'
12691 theme; this doesn't work correctly for per-frame face settings.
12692 (disable-theme): Use face-set-after-frame-default to reset faces.
12693 (custom--frame-color-default): New function.
12694
9fa3dd45
LMI
126952011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12696
c8af70e1 12697 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12698 (bug#8769).
12699
6cbbc20c
KR
127002011-03-29 Kevin Ryde <user42@zip.com.au>
12701
12702 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12703 `perl-Test2' extend to match possible "fail #N" rep count
12704 (bug#8377).
12705
c7f98048
LMI
127062011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12707
65676592
LMI
12708 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12709 `smtpmail-via-smtp' now returns the error instead of nil.
12710
c7f98048
LMI
12711 * isearch.el (isearch-search-fun-function): Clarify the doc string
12712 (bug#8101).
12713
56e6cc31 127142011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12715
12716 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12717 unnecessary spaces (bug#8987).
12718
2b216704
LMI
127192011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12720
12721 * net/network-stream.el (open-network-stream): Use the
12722 :end-of-capability command thoughout.
12723
127242011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12725
12726 * net/network-stream.el (open-network-stream): Add the
12727 :end-of-capability command parameter, used by pop3.el.
12728
36adf6ce
LMI
127292011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12730
1ca0da0e
LMI
12731 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12732
fc00f69c
LMI
12733 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12734 for list)" (bug#6475).
12735
28fd8759 12736 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12737 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12738 an error (bug#6297).
12739
0dd8b6da
LMI
12740 * man.el (Man-reference-regexp): Allow matching possible
12741 word-wrapped references (bug#6289).
12742
ce1438d6
LMI
12743 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12744 for consistency with the other vc buffers (bug#6197).
12745 (vc-checkin): Ditto.
12746
12747 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12748
36adf6ce
LMI
12749 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12750
e83cc1f7
LMI
127512011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12752
8a20ca4c
LMI
12753 * custom.el (defcustom): Clarify that :set is only used in the
12754 Customize user interface (bug#6089).
12755
83319045
LMI
12756 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12757 associated with a file, refuse to run instead of erroring out
12758 (bug#6084).
12759
a8392169
LMI
12760 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12761 the doc string, since it appears that using `fill-column' always
12762 controls the width (bug#7845).
12763
e83cc1f7
LMI
12764 * simple.el (shell-command-on-region): Say where the error output
12765 went if `shell-command-default-error-buffer' is set (bug#6857).
12766
e47ca23b
KM
127672011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12768
12769 * allout.el (allout-yank-processing): Adjust cursor position for
12770 backwards-deleted space.
12771
12772 (allout-rebullet-heading): Register changes with
12773 allout-exposure-changed-hook, so the modified topic is properly
12774 decorated.
12775
5cf56143
LMI
127762011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12777
08549772
LMI
12778 * minibuffer.el (completion-in-region): Document PREDICATE
12779 (bug#7136).
12780
48e96771
LMI
12781 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12782 of keyword/argument pairs (bug#6904).
12783
c8af70e1
SM
12784 * replace.el (multi-occur):
12785 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12786
e17d05e2
LMI
127872011-07-02 Drew Adams <drew.adams@oracle.com>
12788
12789 * dired.el (dired-mark-if): Make the message about whether it's
12790 marking or unmarking clearer (bug#8523).
12791
063b0e45
LMI
127922011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12793
12794 * disp-table.el (display-table-print-array): New function.
12795 (describe-display-table): Use it to print the vectors more pretty
12796 (Bug#8859).
12797
28545e04
MR
127982011-07-02 Martin Rudalics <rudalics@gmx.at>
12799
12800 * window.el (window-state-get-1): Don't assign clone numbers.
12801 Add clone-of item to list of window parameters.
12802 (window-state-put-2): Don't process clone numbers.
12803 (display-buffer-alist): Fix doc-string.
12804
3349e122
SM
128052011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12806
12807 * subr.el (remq): Don't allocate if it's not needed.
12808 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12809 (keymap--merge-bindings): New functions.
12810 (keymap-canonicalize): Use them to refine the canonicalization.
12811 * minibuffer.el (minibuffer-local-completion-map)
12812 (minibuffer-local-must-match-map): Move initialization from C.
12813 (minibuffer-local-filename-completion-map): Move initialization from C;
12814 don't inherit from anything here.
12815 (minibuffer-local-filename-must-match-map): Make obsolete.
12816 (completing-read-default): Use make-composed-keymap to combine
12817 minibuffer-local-filename-completion-map with either
12818 minibuffer-local-must-match-map or
12819 minibuffer-local-filename-completion-map.
12820
d224ac83
GM
128212011-07-01 Glenn Morris <rgm@gnu.org>
12822
3de63bf8
GM
12823 * type-break.el (type-break-time-sum): Use dolist.
12824
d224ac83
GM
12825 * textmodes/flyspell.el (flyspell-word-search-backward):
12826 Replace CL function.
12827
1a1e3f32
SM
128282011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12829
fe3f64d5
SM
12830 * mouse.el (mouse--strip-first-event): New function.
12831 (function-key-map): Use it to map fringe clicks to normal clicks
12832 by default.
12833
eb604e34
SM
12834 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12835 (vc-bzr-revision-completion-table): Add support for annotate and date.
12836
1a1e3f32
SM
12837 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12838 inherit from parent.
12839
5bd35902
LMI
128402011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12841
ace6c69c 12842 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12843 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12844
191e2bed
LMI
12845 * dired.el (dired-mode): Fix up the doc string as suggested by
12846 Drew Adams (bug#8817).
12847
5bd35902
LMI
12848 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12849 cookie, since the manual says that it should be possible to add
12850 this function to `find-file-hook' (bug#8709).
12851
eee8207a
TZ
128522011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12853
12854 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12855 here. Noted Ted Zlatanov as the maintainer.
12856 (cfengine-common-settings, cfengine-common-syntax): New functions
12857 to set up common things between `cfengine-mode' and
12858 `cfengine3-mode'.
12859 (cfengine3-mode): New mode.
12860 (cfengine3-defuns cfengine3-defuns-regex
12861 (cfengine3-class-selector-regex cfengine3-category-regex)
12862 (cfengine3-vartypes cfengine3-font-lock-keywords)
12863 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12864 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12865
36b148cf
MA
128662011-07-01 Michael Albinus <michael.albinus@gmx.de>
12867
12868 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12869
12870 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12871
0bf4ba9a
MR
128722011-07-01 Martin Rudalics <rudalics@gmx.at>
12873
12874 * window.el (same-window-buffer-names, same-window-regexps)
12875 (same-window-p, special-display-frame-alist)
12876 (special-display-popup-frame, special-display-function)
12877 (special-display-buffer-names, special-display-regexps)
12878 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12879 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12880 (split-window-preferred-function, split-height-threshold)
12881 (split-width-threshold, even-window-heights)
12882 (display-buffer-mark-dedicated, window-splittable-p)
12883 (split-window-sensibly, window-safely-shrinkable-p):
12884 Un-obsolete.
12885 (display-buffer): Don't spread args with function specifier
12886 because special-display-popup-frame won't like it.
12887
35837f51
PE
128882011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12889
d0672f86
PE
12890 Time-stamp simplifications and fixes.
12891 These improve accuracy slightly, and future-proof the code
12892 against some potential changes to current-time format.
12893
b9444d97
PE
12894 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12895 by using time-since and float-time.
12896
0ef923dc
PE
12897 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12898 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12899 + NNN microseconds".
12900
2f81380d
PE
12901 * type-break.el (type-break-time-sum): Rewrite using time-add.
12902
845b5c3e
PE
12903 * play/hanoi.el (hanoi-current-time-float): Remove.
12904 All uses replaced by float-time.
12905
ee6f1be0
PE
12906 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12907 This yields a more-accurate answer.
12908 (rng-time-to-float): Remove; no longer needed.
12909
fe955043
PE
12910 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12911
5777162a
PE
12912 * calendar/timeclock.el (timeclock-seconds-to-time):
12913 Defalias to seconds-to-time, since they're the same thing.
12914
3103f8b6 12915 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12916 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12917 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12918
0e61a35f
SM
129192011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12920
12921 * window.el (bury-buffer): Don't iconify the only frame.
12922 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12923 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12924
ddd63a1e
CY
129252011-07-01 Chong Yidong <cyd@stupidchicken.com>
12926
0e61a35f
SM
12927 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12928 Add mouse-yank-primary.
ddd63a1e 12929
055f4923
TZ
129302011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12931
12932 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12933
6a2fb145
SM
129342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12935
12936 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12937 (find-library-name): Use it to find relative load names when provided
12938 absolute file name (bug#8803).
12939
fd4983f2
LMI
129402011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12941
887d14ad
LMI
12942 * textmodes/flyspell.el (flyspell-word): Consider words that
12943 differ only in case as potential doublons (bug#5687).
12944
c53dc7fc
LMI
12945 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12946 Remove two rather uninteresting debugging-like messages to make
12947 debbugs.el more silent.
12948
fd4983f2
LMI
12949 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12950 a password-like phrase.
12951
7a71b18d 129522011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12953
12954 * progmodes/cc-guess.el: New file.
12955
6a2fb145 12956 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12957
12958 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12959 derived from `c-basic-common-init'.
12960
12961 * progmodes/cc-mode.el (top-level): Require cc-guess.
12962 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12963
1fa280a3
LM
129642011-06-30 Lawrence Mitchell <wence@gmx.li>
12965
12966 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12967
e6597158
AM
129682011-06-30 Alan Mackenzie <acm@muc.de>
12969
1fa280a3
LM
12970 * progmodes/cc-engine.el (c-guess-continued-construct):
12971 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12972 lock is disabled. Name this case as "CASE G".
12973
68ba37fb
KM
129742011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12975
12976 * allout.el (allout-yank-processing): Fix injection of extra space
12977 between bullet and non-whitespace character in first topic when
12978 pasting, ensuring that the actual spacing in the pasted topic
12979 following the bullet char is preserved. This extra space was
12980 causing pasted encrypted topics to get a decrypted status even
12981 when the content was actually still encrypted. Now the decryption
12982 status from before the paste is preserved.
12983
12984 (allout-flag-region): Set all allout overlays so they evaporate
12985 when reduced to zero length (evanescent), to prevent overlay
12986 leakage.
12987
887a0b34
GM
129882011-06-30 Glenn Morris <rgm@gnu.org>
12989
94b9acce
GM
12990 * w32-fns.el (w32-charset-info-alist): Declare.
12991
1d9b46d4
GM
12992 * find-dired.el (find-grep-options): Simplify.
12993
cc232200
GM
12994 * term/ns-win.el (ns-set-resource): Declare.
12995
28e77c46
GM
12996 * ses.el (row, col): Declare dynamic variables honestly.
12997
887a0b34
GM
12998 * textmodes/reftex-parse.el (index-tags): Declare.
12999
658d8eb8
CY
130002011-06-30 Chong Yidong <cyd@stupidchicken.com>
13001
13002 * cus-edit.el (customize-push-and-save): New function.
13003
13004 * files.el (hack-local-variables-confirm): Use it.
13005
1fa280a3
LM
13006 * custom.el (load-theme): New arg NO-CONFIRM.
13007 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13008 (custom-enabled-themes): Doc fix.
13009
13010 * cus-theme.el (customize-create-theme)
13011 (custom-theme-merge-theme): Callers to load-theme changed.
13012
bb617717
LMI
130132011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13014
d61bdd5d
LMI
13015 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13016 short URLs have at least one dot in them (bug #7614).
13017
bb617717
LMI
13018 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13019 nil, because using a pty is apparently too slow (bug #895).
13020
2f31f37a
LMI
130212011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13022
13023 * mail/sendmail.el (sendmail-query-once): New function.
13024 (sendmail-query-once-function): New variable.
13025
3076b24e
GM
130262011-06-29 Glenn Morris <rgm@gnu.org>
13027
faf2a174
GM
13028 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13029
3076b24e
GM
13030 * ses.el (top-level): Require cl when compiling.
13031 (ses-set-localvars): Fix error statement.
13032 Call it at compile time to silence a storm of warnings.
13033
5386012d
MR
130342011-06-29 Martin Rudalics <rudalics@gmx.at>
13035
13036 * window.el (normalize-live-buffer): Rename to
13037 window-normalize-buffer.
13038 (normalize-live-frame): Rename to window-normalize-frame.
13039 (normalize-any-window): Rename to window-normalize-any-window.
13040 (normalize-live-window): Rename to window-normalize-live-window.
13041 (make-window-atom): Rename to window-make-atom.
13042 (window-resize-reset): Rename to window--resize-reset.
13043 (window-resize-reset-1): Rename to window--resize-reset-1.
13044 (resize-mini-window): Rename to window--resize-mini-window.
13045 (resize-subwindows-skip-p): Rename to
13046 window--resize-subwindows-skip-p.
13047 (resize-subwindows-normal): Rename to
13048 window--resize-subwindows-normal.
13049 (resize-subwindows): Rename to window--resize-subwindows.
13050 (resize-other-windows): Rename to window--resize-siblings.
13051 (resize-this-window): Rename to window--resize-this-window.
13052 (resize-root-window): Rename to window--resize-root-window.
13053 (resize-root-window-vertically): Rename to
13054 window--resize-root-window-vertically.
13055 (normalize-buffer-to-display): Rename to
13056 window-normalize-buffer-to-display.
13057 (normalize-buffer-to-switch-to): Rename to
13058 window-normalize-buffer-to-switch-to.
13059 Correspondingly update all callers of the functions listed
13060 above.
13061 (display-buffer-alist, display-buffer-normalize-arguments)
13062 (display-buffer-normalize-options, display-buffer)
13063 (display-buffer-alist-set): Use "function" instead of
13064 "fun-with-args".
13065
1176868d
CY
130662011-06-28 Chong Yidong <cyd@stupidchicken.com>
13067
13068 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13069 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13070 debbugs.gnu.org. Mention acknowledgment email.
13071
20a7a65f
LMI
130722011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13073
13074 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13075 buffer multibyteness, since it shouldn't matter.
13076
5f45cca5
MR
130772011-06-28 Martin Rudalics <rudalics@gmx.at>
13078
13079 * window.el (display-buffer-in-side-window): Handle dedicated
13080 windows as in display-buffer-reuse-window.
13081 (display-buffer-normalize-alist): Use value of override
13082 specifier.
13083 (display-buffer-normalize-specifiers): Use value of
13084 other-window-means-other-frame specifier.
13085 (display-buffer-alist): Rewrite some texts in widgets.
13086 (display-buffer): Spread arguments when calling function
13087 specified by fun-with-args.
13088
ad85fe1f
DD
130892011-06-28 Deniz Dogan <deniz@dogan.se>
13090
1fa280a3
LM
13091 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13092 Unnest `let'.
da68c4c8 13093
ad85fe1f
DD
13094 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13095 selectors (Bug#5732).
ec49bd31 13096 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13097
a08cc025
JA
130982011-06-27 Jari Aalto <jari.aalto@cante.net>
13099
13100 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13101 (eshell-ls-date-format): New defcustom.
13102 (eshell-ls-file): Use it.
13103
e2b551c5
SM
131042011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13105
13106 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13107
8982b231
KY
131082011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13109
13110 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13111 (ange-ftp-make-tmp-name): New arg.
13112 (ange-ftp-file-local-copy): Use it.
13113
36c9fa27
J
131142011-06-27 Jambunathan K <kjambunathan@gmail.com>
13115
13116 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13117 no-conversion (Bug#8870).
13118
d68443dc
MR
131192011-06-27 Martin Rudalics <rudalics@gmx.at>
13120
13121 * window.el (window-right, window-left, window-child)
13122 (window-child-count, window-last-child)
13123 (window-iso-combination-p, walk-window-tree-1)
13124 (window-atom-check-1, window-tree-1, delete-window)
13125 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13126 new naming conventions - window-vchild, window-hchild,
13127 window-next and window-prev are now called window-top-child,
13128 window-left-child, window-next-sibling and window-prev-sibling
13129 respectively.
d615d6d2
MR
13130 (resize-window-reset): Rename to window-resize-reset.
13131 (resize-window-reset-1): Rename to window-resize-reset-1.
13132 (resize-window): Rename to window-resize.
13133 (window-min-height, window-min-width)
13134 (resize-mini-window, resize-this-window, resize-root-window)
13135 (resize-root-window-vertically, adjust-window-trailing-edge)
13136 (enlarge-window, shrink-window, maximize-window)
13137 (minimize-window, delete-window, quit-restore-window)
13138 (split-window, balance-windows, balance-windows-area-adjust)
13139 (balance-windows-area, window-state-put-2)
13140 (display-buffer-even-window-sizes, display-buffer-set-height)
13141 (display-buffer-set-width, set-window-text-height)
13142 (fit-window-to-buffer): Rename all "resize-window" prefixed
13143 calls to use the "window-resize" prefix convention.
13144 (display-buffer-alist): Fix symbol for label specifier.
13145 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13146 corresponding specifier.
13147 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13148
b6458526
VB
131492011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13150
13151 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13152 convention.
13153 (ses-call-printer): Does not pass an empty string to formatter when the
13154 cell is empty to keep from barking printer Calc math-format-value.
13155
d31fd9ac
RS
131562011-06-27 Richard Stallman <rms@gnu.org>
13157
43d5bf84
RS
13158 * battery.el (battery-mode-line-limit): New variable.
13159 (battery-update): Handle it.
13160
d31fd9ac
RS
13161 * mail/rmailmm.el (rmail-mime-process-multipart):
13162 Handle truncated messages.
13163
819a6054
GM
131642011-06-27 Glenn Morris <rgm@gnu.org>
13165
13166 * progmodes/flymake.el (flymake-err-line-patterns):
13167 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13168
cedc73f2
VB
131692011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13170
819a6054 13171 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13172 (ses--clean-!, ses--clean-_): New functions.
13173 (ses-range): Add configurability of readout order, and conversion
13174 to Calc vector.
13175
5e5d49b6
VB
13176 * ses.el (ses-repair-cell-reference-all): New function.
13177 (ses-cell-symbol): Set macro as safe, so that it can be used in
13178 formulas.
13179
56e6cc31 13180 * ses.el: Update cycle detection algorithm.
90ca8b49 13181 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13182 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13183 (ses-set-localvars): New function.
13184 (ses-make-cell): Add property-list as a cell element.
13185 (ses-cell-property-get-fun, ses-cell-property-get)
13186 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13187 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13188 New functions.
90ca8b49
VB
13189 (ses-cell-property-set, ses-cell-property-pop)
13190 (ses-cell-property-get-handle): New macro.
13191 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13192 New aliases, used for code readability.
13193 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13194 cycle detection.
13195 (ses-self-reference-early-detection): New defcustom.
fac916bf 13196 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13197 (ses-mode): Use ses-set-localvars.
13198 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13199 before lauching the update processing.
13200 (ses-initialize-Dijkstra-attempt): New function.
13201 (ses-recalculate-cell): Update for cycle detection based on
13202 Dijkstra algorithm.
13203
2bb63e81
VB
13204 * ses.el: Fix commenting and indenting convention.
13205
c9d29fb8
SM
132062011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13207
13208 * bs.el (bs-cycle-next): Complete last change.
13209
d8e4b68b
JB
132102011-06-27 Drew Adams <drew.adams@oracle.com>
13211
13212 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13213
40098786
LMI
132142011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13215
c9d29fb8
SM
13216 * net/network-stream.el (network-stream-open-starttls):
13217 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13218 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13219
40098786
LMI
13220 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13221 to binary to possibly avoid line encoding issues on Windows (among
13222 other things).
13223
468d09d4
LMI
132242011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13225
13226 * net/network-stream.el (open-network-stream): Return an :error
13227 saying what the problem was, if possible.
13228
13229 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13230 server.
13231
13232 * net/network-stream.el (network-stream-open-starttls): If we
13233 wanted to use STARTTLS, and the server offered it, but we weren't
13234 able to because we had no STARTTLS support, then close the connection.
13235 (open-network-stream): Return an :error element, if present.
13236
16f07dd7
CY
132372011-06-26 Chong Yidong <cyd@stupidchicken.com>
13238
88821ca0
CY
13239 * hl-line.el (hl-line-sticky-flag): Doc fix.
13240 (global-hl-line-sticky-flag): New option (Bug#8323).
13241 (global-hl-line-highlight): Obey it.
13242
16f07dd7
CY
13243 * vc/vc.el (vc-revert-show-diff): Default to t.
13244
6b5ccddf
KM
132452011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13246
c9d29fb8
SM
13247 * allout-widgets.el (allout-widgets-post-command-business):
13248 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13249 undecorated when an isearch is continued past, and isearch
13250 automatically collapses them. This leads to "widget leaks", where
13251 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13252 hidden widgets can slow down cursor travel, substantially.
13253 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13254 so we're doing without this nicety.
13255
13256 (allout-widgets-tally-string): Don't try to do a hash-table-count
13257 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13258 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13259 *Messages* when allout-widgets-maintain-tally is t.
13260
355f2e07
MR
132612011-06-26 Martin Rudalics <rudalics@gmx.at>
13262
13263 * window.el (display-buffer-normalize-argument): Rename to
13264 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13265 LABEL argument. Respect special-display-function when popping up
13266 a new frame. Fix code searching for a window showing the buffer
13267 on another frame.
c9d29fb8
SM
13268 (display-buffer-normalize-specifiers):
13269 Call display-buffer-normalize-arguments.
355f2e07
MR
13270 (display-buffer-in-window): Don't undedicate the window if its
13271 buffer remains the same.
13272 Reported by Drew Adams <drew.adams@oracle.com>.
13273 (display-buffer-alist): Add choice for same-window macro
13274 specfier.
13275 (display-buffer): Mention special meaning of LABEL argument in
13276 doc-string. Fix quoting. Don't pop up a new frame even as
13277 fallback.
13278
7ca8fc42
JB
132792011-06-26 Juanma Barranquero <lekktu@gmail.com>
13280
13281 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13282 avoid deleting the current window in some cases (bug#8911).
13283
bc312254
AS
132842011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13285
13286 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13287 (Bug#8934)
13288
2db18f3f
LMI
132892011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13290
c9d29fb8
SM
13291 * net/network-stream.el (network-stream-open-starttls):
13292 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13293 (network-stream-open-tls): Ditto.
13294
6302e0d3
LL
132952011-06-26 Leo Liu <sdl.web@gmail.com>
13296
13297 * register.el (registerv): New struct.
13298 (registerv-make): New function.
c9d29fb8
SM
13299 (jump-to-register, describe-register-1, insert-register):
13300 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13301 struct. (Bug#8415)
13302
5fdd4046
CY
133032011-06-26 Chong Yidong <cyd@stupidchicken.com>
13304
2afef60a
CY
13305 * vc/vc.el (vc-revert-show-diff): New defcustom.
13306 (vc-diff-internal): New arg specifying diff buffer.
13307 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13308 reuse an existing *vc-diff* buffer (Bug#8927).
13309
5fdd4046
CY
13310 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13311
e93db24a
GM
133122011-06-26 Glenn Morris <rgm@gnu.org>
13313
13314 * progmodes/f90.el (f90-critical-indent): New option.
13315 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13316 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13317 (f90-mode): Doc fix.
13318 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13319 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13320 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13321 (f90-match-end): Handle block, critical.
13322
eefff499
GM
133232011-06-25 Glenn Morris <rgm@gnu.org>
13324
f6ba4cc9
GM
13325 * calendar/diary-lib.el (diary-included-files): Doc fix.
13326 (diary-include-files): New function, extracted from
13327 diary-include-other-diary-files and diary-mark-included-diary-files.
13328 (diary-include-other-diary-files, diary-mark-included-diary-files):
13329 Just call diary-include-files.
13330 (diary-mark-entries): Reset diary-included-files on first call.
13331
16712304
GM
13332 * calendar/diary-lib.el (diary-mark-entries)
13333 (diary-mark-included-diary-files):
13334 Visit included diary-files in temp buffers.
13335
5d8e0d43
GM
13336 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13337 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13338 (f90-start-block-re, f90-imenu-generic-expression)
13339 (f90-looking-at-program-block-start, f90-no-block-limit):
13340 Add support for submodules.
13341
ccf7a5d5
GM
13342 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13343 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13344
11fdef7d 133452011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13346
13347 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13348 buffer-file-type before setting its value, to avoid disastrous
eefff499 13349 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13350
74f53697
JB
133512011-06-25 Juanma Barranquero <lekktu@gmail.com>
13352
13353 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13354
13355 * ses.el (ses-unload-function):
13356 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13357
13358 * proced.el (proced-unload-function):
13359 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13360
18a4ce5e
AR
133612011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13362
13363 * server.el (server-create-window-system-frame): Add parameters arg.
13364 (server-process-filter): Doc fix. Handle frame-parameters.
13365
519d22cc
JB
133662011-06-25 Juanma Barranquero <lekktu@gmail.com>
13367
13368 Fix bug#8730, bug#8781.
13369
13370 * loadhist.el (unload--set-major-mode): New function.
13371 (unload-feature): Use it.
13372
13373 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13374 (python-unload-function): New function.
13375
c206f5b0
SM
133762011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13377
13378 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13379
f9ad64f3
GS
133802011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13381
13382 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13383 the candidates list.
13384
7d0da90e
JB
133852011-06-24 Juanma Barranquero <lekktu@gmail.com>
13386
13387 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13388
14b4e83d
RS
133892011-06-23 Richard Stallman <rms@gnu.org>
13390
13391 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13392 (rmail-variables): Set next-error-move-function.
13393 (rmail-what-message): Take argument POS.
13394 (rmail-next-error-move): New function.
13395
273d2baf
SM
133962011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13397
13398 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13399 messages for adjacent non-terminals.
13400
56c2cc9a
RS
134012011-06-23 Richard Stallman <rms@gnu.org>
13402
13403 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13404 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13405 (rmail-start-mail): Don't specify use of rmail-mail-return;
13406 that's done by mail-bury now.
13407 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13408
d59eb518
MA
134092011-06-23 Michael Albinus <michael.albinus@gmx.de>
13410
13411 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13412 SIZE is a number.
13413
02cfc6d6
MR
134142011-06-23 Martin Rudalics <rudalics@gmx.at>
13415
13416 * window.el (get-lru-window, get-mru-window)
13417 (get-largest-window): Never return a minibuffer window.
13418 (display-buffer-pop-up-window): Fix a bug that could lead to
13419 reusing the minibuffer window.
13420 (display-buffer): Pass original specifier argument to
13421 display-buffer-function instead of the normalized one.
13422 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13423
4e323265
LL
134242011-06-22 Leo Liu <sdl.web@gmail.com>
13425
13426 * minibuffer.el (completing-read-function)
13427 (completing-read-default): Move from minibuf.c
13428
7a70468f
RS
134292011-06-22 Richard Stallman <rms@gnu.org>
13430
50718fc2
RS
13431 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13432 to Rmail even if not started by a special Rmail command.
13433
7a70468f
RS
13434 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13435 Copy the buffer currently showing just one message.
13436
297dde5a
RW
134372011-06-22 Roland Winkler <winkler@gnu.org>
13438
13439 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13440 (bibtex-clean-entry): First delete the old key so that a
13441 customized algorithm for generating the new key does not get
13442 confused by the old key.
13443 (bibtex-url): Obey regexp of first step.
13444 (bibtex-search-entries): Do not use add-to-list with local
13445 list-var.
13446
97bb1093
LMI
134472011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13448
13449 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13450 stored a user name, then query for the password first, instead of
13451 waiting for SMTP to give an error message and the trying again.
13452
1c0f1a19
JD
134532011-06-22 Lawrence Mitchell <wence@gmx.li>
13454
13455 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13456 BUFFER in call-process.
13457
396f7c9d
LMI
134582011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13459
13460 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13461 QUIT twice.
ddb7ffee
LMI
13462 (smtpmail-try-auth-methods): Require user name and password from
13463 auth-source.
396f7c9d 13464
8998d1b3
MR
134652011-06-22 Martin Rudalics <rudalics@gmx.at>
13466
13467 * window.el (display-buffer-default-specifiers)
13468 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13469 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13470 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13471
13472 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13473 (special-display-frame-alist, special-display-popup-frame):
13474 Remove duplicate declarations. These are now in window.el.
13475
4ea31e07
LMI
134762011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13477
c9d29fb8
SM
13478 * mail/smtpmail.el (smtpmail-via-smtp):
13479 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13480 server supports it. SMTP servers that support STARTTLS commonly
13481 require it.
13482
13483 * net/network-stream.el (network-stream-open-starttls): Support
13484 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13485 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13486
95f41d9a
LMI
13487 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13488 upgrades with `open-network-stream', and rely solely on
13489 auth-source for all credentials. Big changes throughout the file,
13490 but in particular:
c9d29fb8
SM
13491 (smtpmail-auth-credentials): Remove.
13492 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13493 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13494 MAIL FROM, too.
95f41d9a 13495
c9d29fb8
SM
13496 * net/network-stream.el (network-stream-open-starttls):
13497 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13498 STARTTLS.
13499 (auth-source): Require.
13500 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13501 (network-stream-certificate): Change cert-cert to cert and
13502 cert-key to key.
4ea31e07 13503
065ec2c7
MA
135042011-06-21 Michael Albinus <michael.albinus@gmx.de>
13505
13506 * net/tramp-cache.el (top): Don't load the persistency file when
13507 "emacs -Q" has been called.
13508
cd93b359
DR
135092011-06-21 Tim Harper <timcharper@gmail.com>
13510
d8e4b68b
JB
13511 * term/ns-win.el (ns-initialize-window-system):
13512 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13513 resource to NO as it is not yet supported by the NS port.
13514
ae9c0411
JB
135152011-06-21 Juanma Barranquero <lekktu@gmail.com>
13516
13517 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13518 (list-dynamic-libraries): ...not here.
13519
7f3f739f
LL
135202011-06-21 Leo Liu <sdl.web@gmail.com>
13521
13522 * subr.el (sha1): Implement sha1 using secure-hash.
13523
327c8fb1
MR
135242011-06-21 Martin Rudalics <rudalics@gmx.at>
13525
13526 * window.el (display-buffer-alist): In default value do not
13527 enforce searching a window on any but the selected frame.
13528 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13529 (display-buffer-select-window): Remove function.
13530 (display-buffer-in-window): When a window on another frame gets
13531 reused, do not select it any more but just raise its frame if
13532 necessary (Bug#8851) and (Bug#8856).
13533 (display-buffer-normalize-options): Handle pop-up-frames related
13534 options more faithfully.
13535 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13536 window if it is on another frame.
c9d29fb8
SM
13537 (display-buffer-alist, display-buffer-default-specifiers):
13538 Don't make new frame unsplittable by default.
9e9de014
MR
13539 (display-buffer-normalize-argument): Fix doc-string typo and use
13540 'same-frame-other-window instead of 'other-window when associating
13541 with display-buffer-macro-specifiers.
327c8fb1 13542
7cf3f556
VB
135432011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13544
13545 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13546 New functions.
13547 (5x5-mode-map, 5x5-mode-menu): Bind them.
13548 (5x5-draw-grid): Tweak the solver's rendering.
13549
60a406cf
SM
135502011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13551
13552 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13553 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13554
d8e4b68b 135552011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13556
13557 * menu-bar.el: Use function variable instead of switch-to-buffer.
13558 (menu-bar-select-buffer-function): New variable.
60a406cf 13559 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13560
478d6f95
SM
135612011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13562
13563 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13564 variable's status.
13565
ca530739
JD
135662011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13567
13568 * x-dnd.el (x-dnd-version-from-flags)
13569 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13570 and long as number (Bug#8899).
13571 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13572
bcd70d97
SM
135732011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13574
60a406cf 13575 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13576 (completion-try-completion, completion-all-completions): Compute the
13577 metadata argument if it's missing; make it optional (bug#8795).
13578
60a406cf 13579 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13580 (widget-complete): Use new :completion-function property.
13581 (widget-completions-at-point): New function.
13582 (default): Use :completion-function instead of :complete.
60a406cf
SM
13583 (widget-default-completions): Rename from widget-default-complete;
13584 Rewrite.
bcd70d97
SM
13585 (widget-string-complete, widget-file-complete, widget-color-complete):
13586 Remove functions.
13587 (file, symbol, function, variable, coding-system, color):
13588 * international/mule-cmds.el (default-input-method, charset)
13589 (language-info-custom-alist):
13590 * cus-edit.el (face): Use new property :completions.
13591
13592 * progmodes/pascal.el (pascal-completions-at-point): New function.
13593 (pascal-mode): Use it.
13594 (pascal-mode-map): Use completion-at-point.
13595 (pascal-toggle-completions): Make obsolete.
13596 (pascal-complete-word, pascal-show-completions):
13597 * progmodes/octave-mod.el (octave-complete-symbol):
13598 Redefine as obsolete alias.
13599 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13600 Signal absence of completion info for old Octave,
13601 (inferior-octave-complete): Redefine as obsolete alias.
13602 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13603 (meta-completions-at-point): Rename from meta-complete-symbol and
13604 adapt it for use on completion-at-point-functions.
13605 (meta-common-mode): Use it.
13606 (meta-looking-at-backward, meta-match-buffer): Remove.
13607 (meta-complete-symbol): Redefine as obsolete alias.
13608 (meta-common-mode-map): Use completion-at-point.
13609 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13610 (makefile-mode-map): Use completion-at-point.
13611 (makefile-completions-at-point): Rename from makefile-complete and
13612 adapt it for use on completion-at-point-functions.
13613 (makefile-mode): Use it.
13614 (makefile-complete): Redefine as obsolete alias.
13615
aebf69c8
DD
136162011-06-20 Deniz Dogan <deniz@dogan.se>
13617
13618 * net/rcirc.el: Delete trailing whitespaces once and for all.
13619
bfbbb27d
DC
136202011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13621
13622 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13623
d264a46b
CY
136242011-06-19 Chong Yidong <cyd@stupidchicken.com>
13625
4ca009e5
CY
13626 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13627
d264a46b
CY
13628 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13629
fbf5b3ce
MR
136302011-06-19 Martin Rudalics <rudalics@gmx.at>
13631
13632 * window.el (display-buffer-other-window-means-other-frame):
13633 Call display-buffer-normalize-alist.
13634 (display-buffer-normalize-specifiers-1): Rename to
13635 display-buffer-normalize-argument. New argument other-frame.
13636 Rewrite.
13637 (display-buffer-normalize-specifiers-2): Rename to
13638 display-buffer-normalize-options.
13639 (display-buffer-normalize-alist-1): New function.
13640 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13641 display-buffer-normalize-alist.
13642 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13643 (display-buffer-normalize-options-inhibit): New variable.
13644 (display-buffer-normalize-specifiers): Rewrite calling
13645 display-buffer-normalize-alist,
13646 display-buffer-normalize-argument, and
13647 display-buffer-normalize-options. Don't call the latter if
13648 display-buffer-normalize-options-inhibit is non-nil.
13649 (frame-auto-delete): New option.
13650 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13651 (window-list-no-nils, window-state-ignored-parameters)
13652 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13653 (window-state-put-1, window-state-put-2, window-state-put):
13654 New functions.
9a028c23
MR
13655 (display-buffer-normalize-options): Move special-display-p group
13656 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13657
6d10d800
CY
136582011-06-18 Chong Yidong <cyd@stupidchicken.com>
13659
6420d28b
CY
13660 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13661 groups (Bug#8776).
13662 (rx-submatch-n): New function.
13663 (rx): Document it.
13664
ddb8b596
CY
13665 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13666 (Bug#8768).
13667
13668 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13669
77080289
CY
13670 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13671
61dfb316
CY
13672 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13673 anytime existing face settings are present (Bug#8889).
13674
6d10d800
CY
13675 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13676 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13677 Remove unused argument.
13678
be3fb2b8
MR
136792011-06-18 Martin Rudalics <rudalics@gmx.at>
13680
bcd70d97
SM
13681 * window.el (display-buffer-default-specifiers):
13682 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13683 pop-up-window-min-width, and another reuse-window specifier
13684 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13685 (display-buffer-normalize-specifiers-2):
13686 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13687 pop-up-windows is unset. Add a reuse-window specifier for the
13688 case popping up a new window fails.
13689 (special-display-popup-frame): Remove double quoting.
28dec25a 13690 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13691
1c6d8c76
SM
136922011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13693
13694 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13695 according to comint-completion-addsuffix.
13696
13697 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13698 (pcomplete-suffix-list): Mark as obsolete.
13699 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13700 pcomplete-seen in the closure.
13701 (pcomplete-comint-setup): Setup completion-at-point as well.
13702 (pcomplete--entries): New function.
13703 (pcomplete--env-regexp): New var.
13704 (pcomplete-entries): Rewrite to work with partial-completion and
13705 without relying on pcomplete-suffix-list.
13706 (pcomplete-pare-list): Remove, unused.
13707
25aef8b8
MR
137082011-06-17 Martin Rudalics <rudalics@gmx.at>
13709
13710 * window.el (display-buffer-alist): Set pop-up-window-min-height
13711 and pop-up-window-min-width in default value. Reported by
13712 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13713 other-window-means-other-frame.
13714 (display-buffer-macro-specifiers): Comment out entry for
13715 other-window specifier.
13716 (display-buffer-other-window-means-other-frame): New function.
13717 (display-buffer-normalize-specifiers-1): New arguments
13718 buffer-name and label. Treat other-window case specially.
13719 (display-buffer-normalize-specifiers-2): Treat other-window case
13720 specially.
13721 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13722 (display-buffer-normalize-specifiers):
13723 Call display-buffer-normalize-specifiers-3.
25aef8b8 13724
dbad4f69
MR
137252011-06-17 Martin Rudalics <rudalics@gmx.at>
13726
13727 * window.el (same-window-p): Fix two typos introduced when
13728 adding with-no-warnings.
d1067961
MR
13729 (display-buffer-normalize-specifiers-1): Don't check
13730 pop-up-frames for 'unset initialization.
13731 (display-buffer-normalize-specifiers-2): Major rewrite using
13732 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13733 (pop-up-frames, display-buffer-reuse-frames)
13734 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13735 Suggested by David Engster <deng@randomsample.de>.
13736 (even-window-heights): Initialize to 'unset.
13737 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13738 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13739 other window case.
dbad4f69 13740
9b9c9e3a
MR
137412011-06-16 Martin Rudalics <rudalics@gmx.at>
13742
bcd70d97
SM
13743 * window.el (display-buffer-normalize-specifiers-1):
13744 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13745 second argument of display-buffer (Bug#8865).
981d5c09
MR
13746 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13747 (switch-to-buffer-other-window-same-frame)
13748 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13749 Adams (Bug#8875).
9c2755e9
MR
13750 (display-buffer): Don't check noninteractive when calling
13751 display-buffer-pop-up-frame.
13752 (display-buffer-pop-up-frame): Never pop up a frame in
13753 noninteractive mode (Bug#8857).
67222e1d
MR
13754 (enlarge-window, shrink-window): Don't report an error when the
13755 window can't be resized as requested (Bug#8862).
9b9c9e3a 13756
2b75be67
SM
137572011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13758
9ffdd3ba
SM
13759 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13760
cb581a67
SM
13761 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13762
2b75be67
SM
13763 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13764
8c0e3589
AM
137652011-06-15 Alan Mackenzie <acm@muc.de>
13766
cb581a67
SM
13767 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13768 for declarators, disable knr checking to speed up for normal files.
13769 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13770
b96e6cde
LMI
137712011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13772
4bba86e6
LMI
13773 * net/network-stream.el (open-network-stream): Add the keyword
13774 :always-query-capabilities for the case where you want to force a
13775 `plain' network connection, but the protocol still requires the
13776 capabilitiy command (i.e., SMTP and EHLO).
13777
2b75be67 13778 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13779 consistency with other `-live-p' functions.
13780
efdcdbf8
SM
137812011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13782
13783 * window.el (same-window-buffer-names, same-window-regexps)
13784 (special-display-frame-alist, special-display-popup-frame)
13785 (special-display-function, special-display-buffer-names)
13786 (special-display-regexps, pop-up-frame-alist)
13787 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13788 (pop-up-windows, split-window-preferred-function)
13789 (split-height-threshold, split-width-threshold, even-window-heights)
13790 (display-buffer-mark-dedicated): Don't encourage the use of
13791 display-buffer-alist from Elisp code.
13792
c5cde042
DN
137932011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13794
13795 * progmodes/python.el (python-mode): Derive from prog-mode.
13796 * progmodes/ps-mode.el (ps-mode):
13797 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13798 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13799 * progmodes/ld-script.el (ld-script-mode): Likewise.
13800
baa1c9ab
MR
138012011-06-15 Martin Rudalics <rudalics@gmx.at>
13802
13803 * window.el (display-buffer-alist): Trim default value to avoid
13804 popping up a new frame (Bug#8857) or reusing an arbitrary window
13805 on another frame.
13806 (display-buffer): Do not fall back on popping up a new frame in
13807 batch mode (Bug#8857).
13808
c5dd5a51
CY
138092011-06-14 Chong Yidong <cyd@stupidchicken.com>
13810
13811 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13812 (custom-theme-summary): New function.
13813 (customize-themes): Use it.
13814
d647b7c4
GM
138152011-06-13 Glenn Morris <rgm@gnu.org>
13816
13817 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13818
9481c002
MR
138192011-06-13 Martin Rudalics <rudalics@gmx.at>
13820
357f93d2
MR
13821 * help.el (help-window): Remove variable.
13822 (help-window-point-marker, temp-buffer-max-height)
13823 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13824 (help-print-return-message): Don't set help-window.
13825 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13826 (help-window-setup-finish): Remove.
13827 (help-window-display-message, help-window-setup)
13828 (with-help-window): Major rewrite based on new
13829 display-buffer-window variable.
13830
13831 * help-mode.el (help-mode-finish): Remove help-window related
13832 code.
13833
13834 * view.el (view-exits-all-viewing-windows): Remove reference to
13835 view-return-to-alist in doc-string.
13836 (view-return-to-alist): Make obsolete.
13837 (view-buffer): Call pop-to-buffer-same-window and remove
13838 undo-window code.
13839 (view-buffer-other-window): Call pop-to-buffer-other-window and
13840 simplify code. Ignore second argument.
13841 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13842 simplify code. Ignore second argument.
13843 (view-return-to-alist-update): Make obsolete.
13844 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13845 Rewrite using quit-restore window parameters.
2b75be67
SM
13846 (view-mode-exit): Rename second argument to EXIT-ONLY.
13847 Rewrite using quit-restore-window.
357f93d2
MR
13848 (View-exit, View-exit-and-edit, View-leave, View-quit)
13849 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13850 appropriate arguments.
13851 (view-end-message): Use quit-restore window parameter.
13852
9481c002
MR
13853 * window.el (display-buffer-function): Rewrite doc-string.
13854 (display-buffer-window, display-buffer-alist): New variables.
13855 (display-buffer-split-specifiers)
13856 (display-buffer-side-specifiers)
13857 (display-buffer-macro-specifiers): New constants.
13858 (display-buffer-even-window-sizes, display-buffer-set-height)
13859 (display-buffer-set-width, display-buffer-select-window)
13860 (display-buffer-in-window, display-buffer-reuse-window)
13861 (display-buffer-split-window-1, display-buffer-split-window)
13862 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13863 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13864 (display-buffer-in-side-window, normalize-buffer-to-display)
13865 (display-buffer-normalize-specifiers-1)
13866 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13867 (display-buffer-normalize-specifiers, display-buffer-frame):
13868 New functions.
9481c002
MR
13869 (display-buffer): Major rewrite.
13870 (display-buffer-other-window, display-buffer-other-frame)
13871 (pop-to-buffer, switch-to-buffer-other-window)
13872 (switch-to-buffer-other-frame): Rewrite.
13873 (display-buffer-same-window, display-buffer-same-frame)
13874 (display-buffer-same-frame-other-window)
13875 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13876 (pop-to-buffer-other-window)
13877 (pop-to-buffer-same-frame-other-window)
13878 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13879 (switch-to-buffer-other-window-same-frame): New functions.
13880 (same-window-p, special-display-p): Rewrite disabling warnings.
13881 Make obsolete.
13882 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13883 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13884 Make obsolete
13885 (same-window-buffer-names, same-window-regexps)
13886 (special-display-frame-alist, special-display-popup-frame)
13887 (special-display-function, special-display-buffer-names)
13888 (special-display-regexps, pop-up-frame-alist)
13889 (pop-up-frame-function, split-window-preferred-function)
13890 (split-height-threshold, split-width-threshold)
13891 (even-window-heights): Make obsolete.
13892
9db51aca
GM
138932011-06-12 Glenn Morris <rgm@gnu.org>
13894
13895 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13896 Misc simplifications.
9db51aca 13897
39cffb44
MR
138982011-06-12 Martin Rudalics <rudalics@gmx.at>
13899
13900 * window.el (window-safely-shrinkable-p): Restore function which
13901 was inadvertently removed in change from 2011-06-11. Declare as
13902 obsolete.
13903
2b75be67
SM
13904 * calendar/calendar.el (calendar-generate-window):
13905 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13906 window-safely-shrinkable-p.
13907
a8955be7
GM
139082011-06-12 Glenn Morris <rgm@gnu.org>
13909
13910 * progmodes/fortran.el (fortran-mode-syntax-table):
13911 * progmodes/f90.el (f90-mode-syntax-table):
13912 Set % to punctuation. (Bug#8820)
13913 (f90-find-tag-default): Remove, no longer needed.
13914
f0d4059d
DC
139152011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13916
13917 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13918
1100a63c
CY
139192011-06-11 Chong Yidong <cyd@stupidchicken.com>
13920
13921 * image.el (image-animated-p): Return animation delay in seconds.
13922 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13923 (image-animate-timeout): Remove DELAY argument. Don't assume
13924 every subimage has the same delay; get it from image-animated-p.
13925 (image-animate): Caller changed.
13926
def722bf
MA
139272011-06-11 Michael Albinus <michael.albinus@gmx.de>
13928
13929 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13930 to ignored backtrace functions.
13931
0a2bb1a9
GM
139322011-06-11 Glenn Morris <rgm@gnu.org>
13933
13934 * calendar/appt.el (appt-disp-window-function): Doc fix.
13935 (appt-check): Handle overlapping appointments. (Bug#8337)
13936
6198ccd0
MR
139372011-06-11 Martin Rudalics <rudalics@gmx.at>
13938
13939 * window.el (window-tree-1, window-tree): New functions, moving
13940 the latter to window.el.
13941 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13942 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13943 (bw-refresh-edges): Remove.
13944 (balance-windows-1, balance-windows-2): New functions.
13945 (balance-windows): Rewrite in terms of window tree functions,
13946 balance-windows-1 and balance-windows-2.
13947 (bw-adjust-window): Remove.
13948 (balance-windows-area-adjust): New function with functionality of
13949 bw-adjust-window but using resize-window.
2b75be67
SM
13950 (set-window-text-height): Rewrite doc-string.
13951 Use normalize-live-window and resize-window.
13952 (enlarge-window-horizontally, shrink-window-horizontally):
13953 Rename argument to DELTA.
6198ccd0
MR
13954 (window-buffer-height): New function.
13955 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13956 Rewrite using new window resize routines.
2b75be67
SM
13957 (kill-buffer-and-window, mouse-autoselect-window-select):
13958 Use ignore-errors instead of condition-case.
6198ccd0
MR
13959 (quit-window): Call delete-frame instead of delete-windows-on
13960 for the only buffer on frame.
13961
9397e56f
MR
139622011-06-10 Martin Rudalics <rudalics@gmx.at>
13963
13964 * loadup.el (top-level): Load window before files for the sake
13965 of replace-buffer-in-windows.
13966
13967 * files.el (read-buffer-to-switch)
13968 (switch-to-buffer-other-window)
2b75be67
SM
13969 (switch-to-buffer-other-frame, display-buffer-other-frame):
13970 Move to window.el.
9397e56f
MR
13971
13972 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13973 (previous-buffer): Move to window.el.
13974
13975 * bindings.el (unbury-buffer): Move to window.el.
13976
13977 * window.el (delete-other-windows-vertically): Move after
13978 definition of delete-other-windows.
13979 (other-window, delete-windows-on, replace-buffer-in-windows):
13980 Move here from window.c.
13981 (record-window-buffer, unrecord-window-buffer)
13982 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13983 (switch-to-next-buffer): New functions.
13984 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13985 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13986 (previous-buffer): Move here from simple.el.
13987 Call switch-to-prev-buffer.
9397e56f
MR
13988 (bury-buffer): Move here from buffer.c. Switch to previous
13989 buffer when window cannot be deleted.
13990 (unbury-buffer): Move here from bindings.el.
13991 (ctl-x-map): Move binding for other-window from window.c to
13992 here.
13993 (read-buffer-to-switch, switch-to-buffer-other-window)
13994 (switch-to-buffer-other-frame): Move here from files.el.
13995 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13996 (switch-to-buffer): Move here from buffer.c.
13997 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13998
562dd5e9
MR
139992011-06-10 Martin Rudalics <rudalics@gmx.at>
14000
14001 * window.el (window-min-height, window-min-width): Move here
14002 from window.c. Add defcustoms and rewrite doc-strings.
14003 (resize-mini-window, resize-window): New functions.
14004 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14005 Move here from window.c.
14006 (maximize-window, minimize-window): New functions.
14007 (delete-window, delete-other-windows, split-window): Move here
14008 from window.c.
14009 (window-split-min-size): New function.
14010 (split-window-keep-point): Mention split-window-above-each-other
14011 instead of split-window-vertically.
2b75be67 14012 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14013 Rename split-window-vertically to split-window-above-each-other
14014 and provide defalias for old definition.
14015 (split-window-side-by-side, split-window-horizontally):
14016 Rename split-window-horizontally to split-window-side-by-side
14017 and provide defalias for the old definition.
562dd5e9
MR
14018 (ctl-x-map): Move bindings for delete-window,
14019 delete-other-windows and enlarge-window here from window.c.
14020 Replace bindings for split-window-vertically and
14021 split-window-horizontally by bindings for
14022 split-window-above-each-other and split-window-side-by-side.
14023
14024 * cus-start.el (all): Remove entries for window-min-height and
14025 window-min-width. Add entries for window-splits and
14026 window-nest.
14027
f0da764a
GM
140282011-06-09 Glenn Morris <rgm@gnu.org>
14029
80675c21
GM
14030 * calendar/appt.el (appt-mode-line): New function.
14031 (appt-check, appt-disp-window): Use it.
14032
f0da764a
GM
14033 * files.el (hack-one-local-variable-eval-safep):
14034 Allow minor-modes with explicit +/-1 arguments.
14035
59f623b7
TZ
140362011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14037
14038 * term/xterm.el (xterm): Add defgroup.
14039 (xterm-extra-capabilities): Add defcustom to supply known xterm
14040 capabilities, skip querying them, or query them (default).
14041 (terminal-init-xterm): Use it.
14042 (terminal-init-xterm-modify-other-keys): New function to set up
14043 modifyOtherKeys support to simplify `terminal-init-xterm'.
14044
9aab8e0d
MR
140452011-06-09 Martin Rudalics <rudalics@gmx.at>
14046
14047 * window.el (resize-window-reset, resize-window-reset-1)
14048 (resize-subwindows-skip-p, resize-subwindows-normal)
14049 (resize-subwindows, resize-other-windows, resize-this-window)
14050 (resize-root-window, resize-root-window-vertically)
14051 (window-deletable-p, window-or-subwindow-p)
14052 (frame-root-window-p): New functions.
14053
e8b08aee
GM
140542011-06-09 Glenn Morris <rgm@gnu.org>
14055
14056 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14057 (ange-ftp-get-files): Use it.
14058
254c37a5
AK
140592011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14060
14061 * mail/sendmail.el (mail-recover-1, mail-recover):
14062 * files.el (recover-file, recover-session):
14063 Handle dired-listing-switches not being just a single short option.
14064
35d7dbd3
GM
140652011-06-09 Glenn Morris <rgm@gnu.org>
14066
14067 * calendar/appt.el (appt-display-message, appt-disp-window):
14068 Handle lists of appointments.
14069
387522b2
MR
140702011-06-08 Martin Rudalics <rudalics@gmx.at>
14071
2b75be67
SM
14072 * window.el (one-window-p): Move down in code.
14073 Rewrite doc-string.
14074 (window-current-scroll-bars): Rewrite doc-string.
14075 Normalize live window argument.
387522b2
MR
14076 (walk-windows, get-window-with-predicate, count-windows):
14077 Rewrite doc-string. Use window-list-1.
14078 (window-in-direction-2, window-in-direction, get-mru-window):
14079 New functions.
14080
d8e4b68b 140812011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14082
14083 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14084 Doc fix (Bug#8713).
14085
140862011-06-08 Chong Yidong <cyd@stupidchicken.com>
14087
14088 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14089
140902011-06-08 Juanma Barranquero <lekktu@gmail.com>
14091
14092 * loadhist.el (unload-feature-special-hooks):
14093 Add `comint-output-filter-functions'.
14094
0de12c52
IK
140952011-06-08 Ivan Kanis <gnu@kanis.fr>
14096
14097 * calendar/appt.el (appt-check): Move some initializations into the let.
14098
f3d1777e
MR
140992011-06-08 Martin Rudalics <rudalics@gmx.at>
14100
14101 * window.el (window-height): Defalias to window-total-height.
14102 (window-width): Defalias to window-body-width.
14103
18af70d0
CY
141042011-06-07 Chong Yidong <cyd@stupidchicken.com>
14105
14106 * image-mode.el (image-toggle-animation): New command.
14107 (image-mode-map): Bind it to RET.
14108 (image-mode): Update message.
14109 (image-toggle-display-image): Avoid a spurious cache flush.
14110 (image-transform-rotation): Doc fix.
14111 (image-transform-properties): Return quickly in the normal case.
14112 (image-animate-loop): Rename from image-animate-max-time.
14113
2b75be67 14114 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14115 (create-animated-image): Remove unnecessary function.
14116 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14117 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14118 (image-animate-timer): Use car-safe.
14119 (image-animate-timeout): Rename argument.
14120
190b47e6
MR
141212011-06-07 Martin Rudalics <rudalics@gmx.at>
14122
14123 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14124 window.c. Rename first argument to ALL-FRAMES.
14125 Rephrase doc-strings.
14126 (get-buffer-window-list): Rewrite using window-list-1.
14127 Rephrase doc-string.
a1511caf
MR
14128 (window-safe-min-height, window-safe-min-width): New constants.
14129 (window-size-ignore, window-min-size, window-min-size-1)
14130 (window-sizable, window-sizable-p, window-size-fixed-1)
14131 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14132 (window-max-delta-1, window-max-delta, window-resizable)
14133 (window-resizable-p, window-total-height, window-total-width)
14134 (window-body-width): New functions.
14135 (window-full-height-p, window-full-width-p): Rewrite using
14136 window-total-size.
14137 (window-body-height): Rewrite using window-body-size.
190b47e6 14138
85cc1f11
MR
141392011-06-06 Martin Rudalics <rudalics@gmx.at>
14140
14141 * window.el (window-right, window-left, window-child)
14142 (window-child-count, window-last-child, window-any-p)
14143 (normalize-live-buffer, normalize-live-frame)
14144 (normalize-any-window, normalize-live-window)
14145 (window-iso-combination-p, window-iso-combined-p)
14146 (window-iso-combinations)
14147 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14148 (windows-with-parameter, window-with-parameter)
14149 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14150 (window-atom-check, window-side-check, window-check):
14151 New functions.
85cc1f11
MR
14152 (ignore-window-parameters, window-sides, window-sides-vertical)
14153 (window-sides-slots): New variables.
14154 (window-size-fixed): Move down in code. Minor doc-string fix.
14155
e7156492
AS
141562011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14157
14158 * comint.el (comint-dynamic-complete-as-filename)
14159 (comint-dynamic-complete-filename): Correctly call
14160 completion-in-region.
14161
7e821d0d
DD
141622011-06-05 Deniz Dogan <deniz@dogan.se>
14163
14164 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14165 in last change.
14166
ac09b8a1
DD
141672011-06-05 Deniz Dogan <deniz@dogan.se>
14168
14169 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14170 (rcirc): Use it to prompt for encryption.
14171
34699b85
RW
141722011-06-05 Roland Winkler <winkler@gnu.org>
14173
14174 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14175 (bibtex-search-entries): New command bound to C-c C-a.
14176 (bibtex-display-entries): New function.
14177
004dedd3
RW
141782011-06-05 Roland Winkler <winkler@gnu.org>
14179
14180 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14181 (bibtex-insert-kill): After yanking insert newline if necessary.
14182 (bibtex-initialize): Call bibtex-string-files-init only once.
14183 (bibtex-mode): Do not call easy-menu-add.
14184 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14185 (bibtex-yank): Set arg properly if nil.
14186
022fe7ce
RW
141872011-06-05 Roland Winkler <winkler@gnu.org>
14188
2b75be67
SM
14189 * textmodes/bibtex.el (bibtex-search-entry-globally):
14190 New variable.
022fe7ce
RW
14191 (bibtex-search-entry): Use it.
14192
b7c3692a
RW
141932011-06-05 Roland Winkler <winkler@gnu.org>
14194
14195 * textmodes/bibtex.el (bibtex-entry-format): New option
14196 sort-fields.
14197 (bibtex-format-entry, bibtex-reformat): Honor this option.
14198 (bibtex-parse-entry): Return fields in proper order.
14199
8eda563d
JB
142002011-06-05 Juanma Barranquero <lekktu@gmail.com>
14201
14202 * doc-view.el (doc-view-remove-if): Move computation of result out
14203 of `dolist' to silence misleading lexical-binding warning.
14204
7dbe3dbc
CY
142052011-06-04 Chong Yidong <cyd@stupidchicken.com>
14206
14207 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14208 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14209
0c33dd17
MA
142102011-06-04 Michael Albinus <michael.albinus@gmx.de>
14211
14212 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14213 "SunOS 5.10".
14214
f8f91c2b
MA
142152011-06-04 Michael Albinus <michael.albinus@gmx.de>
14216
14217 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14218 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14219 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14220 (tramp-parse-putty):
14221 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14222 (tramp-completion-function-alist-ssh)
14223 (tramp-completion-function-alist-telnet)
14224 (tramp-completion-function-alist-su)
14225 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14226 cookie.
14227
14228 * net/tramp-ftp.el:
14229 * net/tramp-sh.el:
14230 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14231 load "tramp.el" `tramp-set-completion-function'.
14232
e17d9003
SM
142332011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14234
14235 * shell.el: Require and use pcomplete.
14236 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14237 (shell-completion-vars): Set pcomplete-default-completion-function.
14238
6c4cab03
DD
142392011-06-04 Deniz Dogan <deniz@dogan.se>
14240
14241 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14242 `memq' (Bug#8799).
14243
ea9fafe0
SM
142442011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14245
14246 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14247
b3e945d3
JB
142482011-06-02 Juanma Barranquero <lekktu@gmail.com>
14249
14250 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14251 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14252 * vc/log-view.el (log-view-beginning-of-defun):
14253 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14254 (smerge-refine-forward, smerge-refine-chopup-region):
14255 Silence warning for unused `dotimes' counter variables.
14256
7d520089
SM
142572011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14258
14259 * net/tramp.el (tramp-with-progress-reporter): Rename from
14260 with-progress-reporter. Use `declare'.
14261 * net/tramp-smb.el:
14262 * net/tramp-sh.el:
14263 * net/tramp-gvfs.el: Update all uses.
14264
a1c2400f
JB
142652011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14266
14267 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14268 buffer isn't killed before making it current.
14269
2403c841
SM
142702011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14271
14272 Silence various byte-compiler warnings.
14273 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14274 `access-type' and new obsolescence format.
14275 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14276 new format.
14277 (byte-compile-check-variable): New `access-type' argument.
14278 Only warn if the access-type is obsolete.
14279 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14280 (byte-compile-variable-set): Adjust callers.
14281 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14282 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14283 setting it as obsolete.
14284 * simple.el (minibuffer-completing-symbol):
14285 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14286 access as obsolete.
14287 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14288 obsolete yet.
14289 * international/quail.el (quail-mouse-choose-completion): Remove unused
14290 code referring to obsolete var.
14291 (quail-choose-completion-string): Remove.
14292 * server.el (server-clients-with, server-kill-buffer-query-function)
14293 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14294 * proced.el (proced-send-signal):
14295 * emacs-lisp/lisp.el (lisp-complete-symbol):
14296 Replace completion-annotate-function with completion-extra-properties.
14297
2462470b
SM
142982011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14299
fb5b2591
SM
14300 * simple.el (goto-line): Use read-number.
14301 (overriding-map-is-bound): Remove.
14302 (saved-overriding-map): Change default.
14303 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14304 Take the map as argument.
14305 (universal-argument, negative-argument, digit-argument): Use it.
14306 (restore-overriding-map): Adjust.
14307 (do-auto-fill): Use fill-forward-paragraph.
14308 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14309
fd6fa53f
SM
14310 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14311 (minibuffer-inactive-mode): New major mode.
14312 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14313 the *Messages* buffer" hack.
14314 (mouse-popup-menubar): Don't burp if the event is a normal key.
14315
2462470b
SM
14316 Miscellaneous tweaks.
14317 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14318 lexical scoping as in subr.el's dolist and dotimes.
14319 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14320 Silence compiler warning.
14321 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14322 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14323 * international/ccl.el (ccl-compile): Trivial simplification.
14324 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14325 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14326 `printflag' argument.
14327 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14328 Purecopy the whole obsolescence data.
14329
108bf785
LL
143302011-06-01 Leo Liu <sdl.web@gmail.com>
14331
14332 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14333 improve doc-string as suggested by Marco Pessotto
14334 <melmothx@gmail.com>.
14335 (rcirc-print): Fix last change.
14336
30a23501
SM
143372011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14338
14339 * minibuffer.el (complete-with-action): Return nil for the metadata and
14340 boundaries of non-functional tables.
14341 (completion-table-dynamic): Return nil for the metadata.
14342 (completion-table-with-terminator): Add default case, using
14343 complete-with-action.
14344 (completion--metadata): New function.
14345 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14346 to try and avoid pathological performance problems.
14347 (completion--embedded-envvar-table): Return `category' metadata.
14348
bcd54f83
LMI
143492011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14350
14351 * subr.el (process-alive-p): New tiny convenience function.
14352
e227544d
SM
143532011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14356 content but also its previous major mode.
14357
e8296fdc
HE
143582011-05-31 Helmut Eller <eller.helmut@gmail.com>
14359
4d61f28d 14360 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14361 *Backtrace* buffer when we exit with C-M-c.
14362
620c53a6
SM
143632011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14364
14365 * minibuffer.el: Add metadata method to completion tables.
14366 (completion-category-overrides): New defcustom.
14367 (completion-metadata, completion--field-metadata)
14368 (completion-metadata-get, completion--styles)
14369 (completion--cycle-threshold): New functions.
14370 (completion-try-completion, completion-all-completions):
14371 Add `metadata' argument to choose completion-styles.
14372 (completion--do-completion): Use metadata to choose cycling.
14373 (completion-all-sorted-completions): Use metadata for sorting.
14374 Remove :completion-cycle-penalty which is not needed any more.
14375 (completion--try-word-completion): Add `metadata' argument.
14376 (minibuffer-completion-help): Check metadata for annotation function
14377 and sorting.
14378 (completion-file-name-table): Return `category' metadata.
14379 (minibuffer-completing-file-name): Make obsolete.
14380 * simple.el (minibuffer-completing-symbol): Make obsolete.
14381 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14382 completion-try-completion.
14383
1257e755
SM
143842011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14385
14386 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14387
3767e706
LL
143882011-05-30 Leo Liu <sdl.web@gmail.com>
14389
14390 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14391 (rcirc-print): Decode all incoming messages (bug#8744).
14392 (rcirc-decode-coding-system): Allow value nil for automatic coding
14393 system detection.
3767e706 14394
d1a5d56a
GM
143952011-06-01 Glenn Morris <rgm@gnu.org>
14396
14397 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14398
e8cbec34
CY
143992011-05-29 Chong Yidong <cyd@stupidchicken.com>
14400
14401 * image.el (image-animate-max-time): Allow nil and t values.
14402 Default to nil.
14403 (create-animated-image): Doc fix.
14404 (image-animate-start): Remove second arg; just use
14405 image-animate-max-time.
14406 (image-animate-timeout): Doc fix. Args changed.
14407
14408 * image-mode.el (image-toggle-display-image): Ensure that the
14409 image spec passed to the animate timer is the same object as in
58179cce 14410 the buffer's display property (Bug#6981).
e8cbec34
CY
14411 (image-transform-properties): Doc fix.
14412
14413 * image.el (image-animate-max-time): Default to nil.
14414
159daf87
MR
144152011-05-29 Martin Rudalics <rudalics@gmx.at>
14416
14417 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14418 entire buffer list (Bug#8184).
14419
d66c4c7c
CY
144202011-05-29 Chong Yidong <cyd@stupidchicken.com>
14421
14422 * image.el (imagemagick-types-inhibit)
14423 (imagemagick-register-types): Doc fix.
14424
80aec780
DD
144252011-05-29 Deniz Dogan <deniz@dogan.se>
14426
14427 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14428 default.
14429
1dd3c2d9
CY
144302011-05-29 Chong Yidong <cyd@stupidchicken.com>
14431
14432 * select.el: Don't perform clipboard-manager saving in hooks;
14433 leave the hooks empty.
14434
60e56523
LL
144352011-05-28 Leo Liu <sdl.web@gmail.com>
14436
14437 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14438 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14439 (occur-edit-mode): New major mode (Bug#8463).
14440 (occur-after-change-function): New function.
14441 (occur-engine): Give Occur tags a read-only property.
14442
2b1e1a22
KR
144432011-05-28 Kevin Ryde <user42@zip.com.au>
14444
14445 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14446
5d344e88
CY
144472011-05-28 Chong Yidong <cyd@stupidchicken.com>
14448
8e6ca83d
CY
14449 * bindings.el (help-echo): Make the initial non-indicator dash
14450 empty on graphical terminals (Bug#7295).
14451
5d344e88
CY
14452 * files.el (auto-mode-alist): Move config rule after the
14453 in-stripping one (Bug#8547).
14454
bfbbace7
CY
14455 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14456
fbeba6e2
CY
14457 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14458 setting (Bug#8740).
14459
60ed8c72
AA
144602011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14461
4ac619f0
AA
14462 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14463 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14464 (Bug#8539).
60ed8c72 14465
23db196e
CY
144662011-05-28 Chong Yidong <cyd@stupidchicken.com>
14467
14468 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14469
5012f24c
DK
144702011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14471
14472 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14473 (hs-hide-block-at-point, hs-find-block-beginning)
14474 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14475 (Bug#8279).
14476
6a639b16
GM
144772011-05-28 Glenn Morris <rgm@gnu.org>
14478
14479 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14480
d43eaf2c
CY
144812011-05-28 Chong Yidong <cyd@stupidchicken.com>
14482
5199bde1
CY
14483 * help-fns.el (describe-function-1): If the function is a derived
14484 major mode, print the parent mode.
14485
d43eaf2c
CY
14486 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14487 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14488
423428a8
SM
144892011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14490
0ff8e1ba 14491 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14492 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14493 * progmodes/etags.el (tags-completion-at-point-function):
14494 * info-look.el (info-lookup-completions-at-point): Mark as
14495 non-exclusive.
14496 (info-complete): Adjust accordingly.
14497
423428a8
SM
14498 * info-look.el: Convert to lexical-binding and completion-at-point.
14499 (info-lookup-completions-at-point): New function.
14500 (info-complete): Use it and completion-in-region.
14501
b74aa22b
DA
145022011-05-28 Drew Adams <drew.adams@oracle.com>
14503
14504 * isearch.el: Let M-e start with point at the first mismatched char.
14505 (isearch-fail-pos): New function.
14506 (isearch-edit-string): Use it.
14507
66e2e71d
DK
145082011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14509
14510 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14511
b1890b0f 145122011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14513
14514 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14515 traversal functions for avl-trees.
14516 (avl-tree--stack): New struct.
14517 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14518 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14519 (avl-tree--do-enter): Add optional `updatefun' arg.
14520 Change return value.
eb95d01d 14521 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14522 (avl-tree--do-delete): Add `test' and `nilflag' args.
14523 Change return value.
eb95d01d
TC
14524 (avl-tree-member): Add optional `nilflag'
14525 (avl-tree-member-p): New function.
14526 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14527 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14528 (avl-tree-stack-empty-p): New functions.
14529
3769ddcf
TC
14530 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14531 avl-tree--del-balance1 and make it work both ways.
14532 (avl-tree--del-balance2): Remove.
14533 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14534 make it work both ways.
14535 (avl-tree--enter-balance2): Remove.
14536 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14537 New macros.
14538 (avl-tree--mapc, avl-tree-map): Add direction argument.
14539
eb95d01d 145402011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14541
14542 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14543
a9f737ee
CY
145442011-05-27 Chong Yidong <cyd@stupidchicken.com>
14545
14546 * select.el: Support clipboard managers with built-in function
14547 x-clipboard-manager-save, via delete-frame-functions and
14548 kill-emacs-hook.
14549 (xselect-convert-to-targets): Add MULTIPLE target to list.
14550 (xselect-convert-to-save-targets): New function.
14551
c92a1e54
KH
145522011-05-27 Kenichi Handa <handa@m17n.org>
14553
14554 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14555 let-binding rfc2047-encode-encoded-words to nil.
14556
e145f188
GM
145572011-05-27 Glenn Morris <rgm@gnu.org>
14558
5ec8a862
GM
14559 * mail/emacsbug.el: Don't require url-util.
14560
4b29d9fb
GM
14561 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14562
e145f188
GM
14563 * files.el (set-auto-mode):
14564 Also respect mode: entries at the end of the file. (Bug#8586)
14565
7d15102b
GM
145662011-05-26 Glenn Morris <rgm@gnu.org>
14567
98f593b8
GM
14568 * files.el (hack-local-variables-prop-line, hack-local-variables):
14569 Downcase mode names, as seems to be traditional.
27b48e63 14570 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14571
7d15102b
GM
14572 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14573 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14574
51d5b4ec
JD
145752011-05-25 Julien Danjou <julien@danjou.info>
14576
14577 * textmodes/rst.el (rst-define-level-faces): Do not define face
14578 symbol if it is already defined.
14579
91513f63
VB
145802011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14581
14582 * play/5x5.el (5x5-new-game, 5x5-randomize):
14583 Reset 5x5-solver-output to nil when a new grid is cast.
14584 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14585 these debugging traces, as defmacro breaks the compiled code.
14586
4d90d6d0
DK
145872011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14588
14589 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14590
e1b90ef6
LL
145912011-05-24 Leo Liu <sdl.web@gmail.com>
14592
14593 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14594 (vc-bzr-sha1): Adapt.
14595
d8e4b68b 14596 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14597
14598 * bindings.el: Provide sha1 feature.
14599
db0406bb 146002011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14601
14602 * mail/sendmail.el: Require `rfc2047'.
14603 (mail-insert-from-field): Do not perform RFC2047 encoding.
14604 (mail-encode-header): New function.
14605 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14606 buffer to the return value of select-message-coding-system.
14607 Call mail-encode-header.
b8d747b9
KH
14608
14609 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14610
db0406bb 146112011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14612
4d90d6d0
DK
14613 * mail/supercite.el (sc-default-cite-frame):
14614 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14615
eb8a5e9b
GM
146162011-05-24 Glenn Morris <rgm@gnu.org>
14617
f8630703
GM
14618 * progmodes/python.el (brm-menu): Declare.
14619
8831bbed
GM
14620 * emulation/viper.el (viper-set-hooks): Declare.
14621
eb8a5e9b
GM
14622 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14623 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14624 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14625 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14626 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14627 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14628
a2a25d24
SM
146292011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14630
14631 Add an :exit-function for completion-at-point.
14632
14633 * minibuffer.el (completion--done): New fun.
14634 (completion--do-completion): Use it. New arg `expect-exact'.
14635 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14636 since completion--do-completion does it for us now.
14637 (minibuffer-force-complete): Use completion--done and
14638 completion--replace. Handle sole-completion case with more care.
14639 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14640 (completion-extra-properties): New var.
14641 (completion-annotate-function): Make obsolete.
14642 (minibuffer-completion-help): Adjust accordingly.
14643 Use completion-list-insert-choice-function.
14644 (completion-at-point, completion-help-at-point):
14645 Bind completion-extra-properties.
14646 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14647 * simple.el (completion-list-insert-choice-function): New var.
14648 (completion-setup-function): Preserve it.
14649 (choose-completion): Pay attention to it, shuffle the code a bit.
14650 (choose-completion-string): New arg `insert-function'.
14651
14652 * textmodes/bibtex.el: Convert to lexical binding.
14653 (bibtex-mode-map): Use completion-at-point.
14654 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14655 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14656 (bibtex-complete): Define as obsolete alias.
14657 (bibtex-complete-internal): Remove.
14658 (bibtex-format-entry): Remove unused sub-group in regexp.
14659 * shell.el (shell--command-completion-data)
14660 (shell-environment-variable-completion):
14661 * pcomplete.el (pcomplete-completions-at-point):
14662 * comint.el (comint--complete-file-name-data): Use :exit-function
14663 instead of completion-table-with-terminator so it also works for
14664 choose-completion.
14665
e44e373d
SM
146662011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14667
4f91a816
SM
14668 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14669
782fc819
SM
14670 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14671 (bug#8710).
14672
e44e373d
SM
14673 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14674
381987c3
KM
146752011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14676
14677 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14678 customization variable and implement: If non-nil, auto-fill will
14679 be inhibited while on topic's header line.
14680
b776bc70
VB
146812011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14682
14683 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14684 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14685 always have a solution in grid size = 5 cases.
14686 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14687 (5x5-solver-output, 5x5-log-buffer): New vars.
14688 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14689 Make these variables buffer local to achieve 5x5 multi-session-ness.
14690 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14691 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14692 (5x5-solve-suggest): New funs.
14693 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14694 randomize a grid so that we ensure that there is always a solution.
14695 (5x5-make-random-grid): Allow other movement than flipping.
14696
7de88b6e
KR
146972011-05-23 Kevin Ryde <user42@zip.com.au>
14698
14699 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14700 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14701 advice and passes PREDICATE.
14702
b1ef1257
SM
147032011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14704
bbca48fe
SM
14705 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14706 byte-compile-lambda if it's actually a lambda.
14707
b1ef1257
SM
14708 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14709 Fix function quoting. Use backquote better.
14710
92a9cc65
YS
147112011-05-22 Yuanle Song <sylecn@gmail.com>
14712
14713 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14714 matching (Bug#8516).
14715
f0fb8059
JA
147162011-01-22 Jari Aalto <jari.aalto@cante.net>
14717
14718 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14719 different face (Bug#8178).
14720
d5b44c93
CY
147212011-05-22 Chong Yidong <cyd@stupidchicken.com>
14722
14723 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14724 defface (Bug#8144).
14725
79106a44
SM
147262011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14727
9c848d8a
SM
14728 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14729 funcall as well (bug#8712). Warn when performing those conversions.
14730 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14731
79106a44
SM
14732 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14733
88dfa756
GM
147342011-05-22 Glenn Morris <rgm@gnu.org>
14735
14736 * files.el (hack-local-variables-prop-line): Small simplifications.
14737 (hack-local-variables, hack-local-variables-prop-line):
14738 If MODE-ONLY, return the mode, rather than just `t'.
14739
b7cf2c79
SM
147402011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14741
14742 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14743
3f1a8558
GM
147442011-05-21 Glenn Morris <rgm@gnu.org>
14745
7e4ccca3
GM
14746 * files.el (hack-local-variables-prop-line, hack-local-variables):
14747 If only interested in the mode, don't bother doing the other stuff.
14748
637d46ca
GM
14749 * image-mode.el (image-after-revert-hook):
14750 Redraw all frames on which the image is visible. (Bug#8567)
14751
973d955b
GM
14752 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14753
3f1a8558
GM
14754 * wid-edit.el (widget-checklist-match-inline):
14755 Fix 2011-04-19 change. (Bug#8649)
14756
96479927
SM
147572011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14758
1dcf791f
SM
14759 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14760 Also allow singlespace after single-letter capitals followed by a dot.
14761
96479927
SM
14762 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14763 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14764
35fd0881
N
147652011-05-20 Nix <nix@esperi.org.uk>
14766
14767 * files.el (basic-save-buffer-2):
14768 Fix handling of break-hardlink-on-save with non-existent files.
14769
82745640
DD
147702011-05-19 Deniz Dogan <deniz@dogan.se>
14771
14772 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14773 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14774
4a720484
GM
147752011-05-19 Glenn Morris <rgm@gnu.org>
14776
d1f21341
GM
14777 * progmodes/f90.el (f90-type-def-re):
14778 Handle "type, bind(c)". (Bug#8691)
14779
4a720484
GM
14780 * emacs-lisp/autoload.el (batch-update-autoloads):
14781 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14782
2fb0a219
MA
147832011-05-18 Michael Albinus <michael.albinus@gmx.de>
14784
14785 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14786 property for the correct connection in case of multihops.
14787
e565dd37
GM
147882011-05-18 Glenn Morris <rgm@gnu.org>
14789
c2571358 14790 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14791 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14792
e565dd37
GM
14793 Rationalize calendar handling of day and month abbrev-arrays.
14794 * calendar/calendar.el (calendar-customized-p): New function.
14795 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14796 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14797 Add :set function.
14798 (calendar-abbrev-length, calendar-day-abbrev-array)
14799 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14800 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14801 Elements may no longer be nil.
14802 (calendar-day-name, calendar-month-name):
14803 Update for changed nature of abbrev arrays.
14804 * calendar/diary-lib.el (diary-name-pattern):
14805 Update for changed nature of abbrev arrays.
14806 (diary-mark-entries-1): Update calendar-make-alist calls.
14807 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14808 * calendar/cal-html.el (cal-html-day-abbrev-array):
14809 Simply inherit from calendar-day-abbrev-array.
14810
1d99a745
SM
148112011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14812
14813 * progmodes/grep.el (grep-mode): Disable default
14814 compilation-directory-matcher setting (bug#8684).
14815
7c1d9aa0
MA
148162011-05-17 Michael Albinus <michael.albinus@gmx.de>
14817
14818 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14819 instead of "head" and "tail". There were problems with SunOS 5.9,
14820 and it performs better.
14821
3952e9d8
GM
148222011-05-17 Glenn Morris <rgm@gnu.org>
14823
2dd12e7f
GM
14824 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14825
e4157b9c
GM
14826 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14827 Replace obsolete function.
14828
8e249bbd
GM
14829 * shell.el (pcomplete-parse-arguments-function): Declare.
14830
3952e9d8
GM
14831 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14832 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14833 (appt-check): Doc fixes.
14834 (appt-disp-window-function, appt-delete-window-function):
14835 Remove needless special case in custom :type.
14836 (appt-display-count): Default to 0, not nil.
14837 (appt-check): Reset appt-display-count to 0, not nil.
14838
c71a0d48 148392011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14840
c71a0d48
GM
14841 * progmodes/python.el (python-font-lock-keywords):
14842 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14843
31d55be9
SM
148442011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14845
14846 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14847
3bfacb2f
KR
148482011-05-16 Kevin Ryde <user42@zip.com.au>
14849
14850 * info-look.el (makefile-automake-mode): New setups, looking in
14851 automake manual, then makefile-mode.
14852 (makefile-mode): Remove automake manual, have it just in
14853 makefile-automake-mode since there's various things different or
14854 not relevant to plain make.
14855 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14856 believe a hypothetical automake-mode would go to makefile-mode,
14857 not the other way around.
14858
c8e83751
CY
148592011-05-15 Chong Yidong <cyd@stupidchicken.com>
14860
5e9e35cd
CY
14861 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14862 hunk-end tags (Bug#8672).
14863
c8e83751
CY
14864 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14865 vc-annotate-show-diff-revision-at-line (Bug#8671).
14866
50b23e5a
GM
148672011-05-14 Glenn Morris <rgm@gnu.org>
14868
7210a739
GM
14869 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14870 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14871 (change-log-font-lock-keywords): Also handle multiple author lines
14872 with leading tabs. (Bug#8644)
7210a739 14873
4691905a
GM
14874 * calendar/appt.el (appt-check): Rename some local variables.
14875 Some simplification/reordering.
14876
50b23e5a
GM
14877 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14878 (feedmail-sendmail-f-doesnt-sell-me-out)
14879 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14880 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14881 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14882 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14883 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14884 (feedmail-binmail-gnulinuxish-template):
14885 Rename from feedmail-binmail-linuxish-template.
14886 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14887 Use insert-buffer-substring.
14888
215cda7c
BC
148892011-05-14 Bill Carpenter <bill@carpenter.org>
14890
14891 * mail/feedmail.el (feedmail-patch-level): Increase.
14892 (feedmail-debug): New custom group.
14893 (feedmail-confirm-outgoing-timeout)
14894 (feedmail-sendmail-f-doesnt-sell-me-out)
14895 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14896 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14897 (feedmail-sender-line, feedmail-from-line)
14898 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14899 (feedmail-spray-this-address)
215cda7c
BC
14900 (feedmail-spray-address-fiddle-plex-list)
14901 (feedmail-queue-use-send-time-for-date)
14902 (feedmail-queue-use-send-time-for-message-id)
14903 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14904 (feedmail-buffer-eating-function):
14905 Doc fixes.
14906 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14907 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14908 (feedmail-message-action-scroll-down): New functions.
14909 (feedmail-queue-directory, feedmail-queue-draft-directory):
14910 Use expand-file-name.
14911 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14912 Remove C-v help entry.
14913 (feedmail-queue-buffer-file-name): New variable.
14914 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14915 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14916 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14917 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14918 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14919 (feedmail-message-action-toggle-spray)
14920 (feedmail-run-the-queue-no-prompts)
14921 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14922 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14923 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14924 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14925 (feedmail-envelope-deducer, feedmail-fiddle-from)
14926 (feedmail-fiddle-sender, feedmail-default-date-generator)
14927 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14928 (feedmail-fiddle-spray-address)
14929 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14930 (feedmail-fiddle-list-of-fiddle-plexes)
14931 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14932 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14933 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14934 Change default. Doc fix.
14935 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14936 (feedmail-binmail-linuxish-template): New constant.
14937 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14938 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14939 (feedmail-send-it): Add debug call.
14940 Use feedmail-queue-buffer-file-name, and
14941 feedmail-send-it-immediately-wrapper.
14942 (feedmail-message-action-send): Add debug call.
14943 Use feedmail-send-it-immediately-wrapper.
14944 (feedmail-queue-express-to-queue): Add debug call.
14945 Run feedmail-queue-express-hook.
14946 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14947 (feedmail-message-action-help-blat):
14948 Rename from feedmail-queue-send-edit-prompt-help-first.
14949 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14950 Check line-endings. Handle errors better.
14951 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14952 Doc fix. Add debug call.
14953 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14954 Use feedmail-queue-send-edit-prompt-inner.
14955 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14956 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14957 from feedmail-queue-send-edit-prompt.
14958 (feedmail-queue-send-edit-prompt-help)
14959 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14960 (feedmail-tidy-up-slug): Add debug call.
14961 Respect feedmail-queue-slug-suspect-regexp.
14962 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14963 (feedmail-dump-message-to-queue): Add debug call.
14964 Expand queue-directory.
14965 (feedmail-dump-message-to-queue): Change message slightly.
14966 Use feedmail-say-chatter.
14967 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14968 (feedmail-send-it-immediately-wrapper): New function.
14969 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14970 Insert empty string rather than newline. Handle full-frame case.
14971 Use catch/throw. Use feedmail-say-chatter.
14972 (feedmail-fiddle-from): Try mail-host-address.
14973 (feedmail-default-message-id-generator): Doc fix.
14974 Bind system-time-locale. Handle missing end.
14975 (feedmail-fiddle-x-mailer): Add debug call.
14976 Handle feedmail-x-mailer-line being nil.
14977 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14978 Add debug call. Use buffer-substring-no-properties.
14979 (feedmail-say-debug, feedmail-say-chatter): New functions.
14980 (feedmail-find-eoh): Give an explicit error.
14981
42c7e61e
UJ
149822011-05-13 Ulf Jasper <ulf.jasper@web.de>
14983
c2571358 14984 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14985 family from helvetica to sans.
c2571358 14986 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14987 etc/images/newsticker.
14988
c2571358 14989 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14990 family from helvetica to sans.
14991
14992 * net/newst-plainview.el (newsticker-new-item-face)
14993 (newsticker-old-item-face, newsticker-immortal-item-face)
14994 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14995 (newsticker-statistics-face): Change default family from
42c7e61e 14996 helvetica to sans.
c2571358 14997 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14998 etc/images/newsticker.
14999
5d3385a0
JB
15000 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15001 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15002 auto-marking.
15003
8497a297
DV
150042011-05-13 Didier Verna <didier@xemacs.org>
15005
15006 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15007 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15008 TODO entries.
8497a297
DV
15009 (lisp-lambda-list-keyword-parameter-indentation)
15010 (lisp-lambda-list-keyword-parameter-alignment)
15011 (lisp-lambda-list-keyword-alignment): New customizable user options.
15012 (lisp-indent-defun-method): Improve docstring.
15013 (extended-loop-p): Fix comment.
15014 (lisp-indent-lambda-list-keywords-regexp): New variable.
15015 (lisp-indent-lambda-list): New function.
15016 (lisp-indent-259): Use it.
15017 (lisp-indent-defmethod): Support for more than one
15018 method qualifier and properly indent methods lambda-lists.
15019 (defgeneric): Provide a missing common-lisp-indent-function property.
15020
f278f87f
SM
150212011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15022
15023 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15024 bounds for the empty string (bug#8667).
15025
5233edd7
GM
150262011-05-13 Glenn Morris <rgm@gnu.org>
15027
5237a44f
GM
15028 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15029
8340026c 15030 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15031 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15032
5233edd7 15033 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15034 (appt-time-msg-list): Doc fix.
a5464014 15035 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15036
92d10796
AS
150372011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15038
15039 * progmodes/ld-script.el (ld-script-keywords)
15040 (ld-script-builtins): Update keywords list.
15041
914a0ae1
SM
150422011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15043
c89be45f
SM
15044 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15045
914a0ae1
SM
15046 * shell.el (shell-completion-vars): New function.
15047 (shell-mode):
15048 * simple.el (read-shell-command): Use it.
15049 (blink-matching-open): No need for " [...]" in minibuffer-message.
15050
98dc3df3
GM
150512011-05-12 Glenn Morris <rgm@gnu.org>
15052
15053 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15054 (appt-check): Simplify.
15055
d2fc7e3d 150562011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15057
4d61f28d 15058 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15059 literal "/dev/null".
15060
d2fc7e3d 150612011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15062
15063 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15064 Fix typo.
15065
d2fc7e3d 150662011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15067
3f254caa
SM
15068 * progmodes/which-func.el (which-function):
15069 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15070 which might not be defined (Bug#8260).
15071
d45885f7
GM
150722011-05-12 Glenn Morris <rgm@gnu.org>
15073
15074 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15075 Let byte-compile-initial-macro-environment always take precedence.
15076
488086f4
SM
150772011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15078
15079 * net/rcirc.el: Add support for SSL/TLS connections.
15080 (rcirc-server-alist): New field `encryption'.
15081 (rcirc): Check `encryption' settings.
15082 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15083 Merge make-local-variable into `set'.
15084 (rcirc--connection-open-p): New function.
15085 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15086 the process is not a network process (e.g. running gnutls-cli).
15087 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15088 Make rcirc-(en|de)code-coding-system local here.
15089 (rcirc-mode): Merge make-local-variable into `set'.
15090 (rcirc-parent-buffer): Make permanent buffer-local.
15091 (rcirc-multiline-minor-mode): Don't do it here.
15092 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15093 there's no server buffer.
15094
7d3b9d44
GM
150952011-05-11 Glenn Morris <rgm@gnu.org>
15096
f64049c6
GM
15097 * newcomment.el (comment-kill): Prefix "unused" local.
15098
93c9df73
GM
15099 * term/w32console.el (get-screen-color): Declare.
15100
7d3b9d44
GM
15101 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15102 Handle symbol elements of byte-compile-initial-macro-environment.
15103
9e2dd53f
LL
151042011-05-10 Leo Liu <sdl.web@gmail.com>
15105
488086f4
SM
15106 * bookmark.el (bookmark-bmenu-mode-map):
15107 Bind bookmark-bmenu-search to `/'.
8b340240 15108
9e2dd53f 15109 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15110 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15111 (Footnote-unicode): New function.
15112 (footnote-style-alist): Add unicode style to the list.
15113 (footnote-style): Doc fix.
9e2dd53f 15114
79b70037
GM
151152011-05-10 Jim Meyering <meyering@redhat.com>
15116
15117 Fix doubled-word typos.
15118 * international/quail.el (quail-insert-kbd-layout): and and -> and
15119 * kermit.el: and and -> and
15120 * net/ldap.el (ldap-search-internal): to to -> to
15121 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15122 * progmodes/js.el (js-mode): and and -> and
15123 * textmodes/artist.el (artist-move-to-xy): at at -> at
15124 (artist-draw-region-trim-line-endings): if if -> if
15125 And Safetyc -> Safety.
15126 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15127
b8f82dc1 151282011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15129 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15130
15131 * files.el (hack-one-local-variable-eval-safep):
15132 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15133
4f99f44b
GM
151342011-05-10 Glenn Morris <rgm@gnu.org>
15135
15136 * calendar/diary-lib.el (diary-list-entries-hook)
15137 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15138 (diary-nongregorian-marking-hook, diary-list-entries)
15139 (diary-include-other-diary-files, diary-mark-entries)
15140 (diary-mark-included-diary-files): Doc fixes.
15141
84f29e6b
JB
151422011-05-09 Juanma Barranquero <lekktu@gmail.com>
15143
15144 * misc.el: Require tabulated-list.el during compilation.
15145
9bedd73a
CY
151462011-05-09 Chong Yidong <cyd@stupidchicken.com>
15147
488086f4
SM
15148 * progmodes/compile.el (compilation-start):
15149 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15150 (compilation-filter-hook): Doc fix.
15151
797c735c
DD
151522011-05-09 Deniz Dogan <deniz@dogan.se>
15153
15154 * wdired.el: Remove outdated installation comment. Fix usage
15155 comment.
15156
5f4b1dfe
JB
151572011-05-09 Juanma Barranquero <lekktu@gmail.com>
15158
15159 * misc.el: Implement new command `list-dynamic-libraries'.
15160 (list-dynamic-libraries--loaded-only-p): New variable.
15161 (list-dynamic-libraries--refresh): New function.
15162 (list-dynamic-libraries): New command.
15163
4c44026c
CY
151642011-05-09 Chong Yidong <cyd@stupidchicken.com>
15165
488086f4
SM
15166 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15167 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15168 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15169 higher priority to avoid clobbering by gnu.
15170
027f966d
CY
151712011-05-08 Chong Yidong <cyd@stupidchicken.com>
15172
15173 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15174 if the face has existing theme settings (Bug#8454).
15175
085f5d7d
CY
151762011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15177
488086f4
SM
15178 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15179 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15180
2a86a00c
RS
15181 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15182 special file names `.' and `..' (Bug#8259).
15183
d9c54a06
CY
151842011-05-08 Chong Yidong <cyd@stupidchicken.com>
15185
488086f4
SM
15186 * progmodes/grep.el (grep-mode-font-lock-keywords):
15187 Remove buffer-changing entries.
d9c54a06
CY
15188 (grep-filter): New function.
15189 (grep-mode): Add it to compilation-filter-hook.
15190
15191 * progmodes/compile.el (compilation-filter-hook)
15192 (compilation-filter-start): New defvars.
15193 (compilation-filter): Call compilation-filter-hook prior to
15194 updating the process mark.
15195
c4662635
SM
151962011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15197
15198 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15199
b0512a1d
EZ
152002011-05-07 Eli Zaretskii <eliz@gnu.org>
15201
605c9376
EZ
15202 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15203 mailclient-send-it even if window-system is nil. (Bug#8595)
15204
c4662635
SM
15205 * term/w32console.el (terminal-init-w32console):
15206 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15207 background-mode. (Bug#8597)
15208
d1dc2cc2
SM
152092011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15210
15211 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15212 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15213 New functions.
15214 (defgeneric, eieio--defmethod): Use them.
15215 (eieio-defgeneric): Remove.
15216 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15217
915d1300
GM
152182011-05-07 Glenn Morris <rgm@gnu.org>
15219
a3961c3e
GM
15220 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15221 Use let rather than let*.
15222 (timeclock-find-discrep): Remove unused local.
15223
314347b9
GM
15224 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15225
915d1300
GM
15226 * calendar/appt.el (appt-time-msg-list): Doc fix.
15227
275b59b0
NF
152282011-05-06 Noah Friedman <friedman@splode.com>
15229
15230 * apropos.el (apropos-print-doc): Only use
15231 emacs-lisp-docstring-fill-column when it is bound to an integer,
15232 per that variable's documentation.
15233
6c19f744
SM
152342011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15235
15236 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15237 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15238
60f884b2
GM
152392011-05-06 Glenn Morris <rgm@gnu.org>
15240
5006e634
GM
15241 * calendar/appt.el (appt-message-warning-time): Doc fix.
15242 (appt-warning-time-regexp): New option.
15243 (appt-make-list): Respect appt-message-warning-time.
15244
548d0a63
GM
15245 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15246 New options.
15247 (diary-add-to-list): Strip comments from the displayed string.
15248 (diary-mode): Set comment-start and comment-end.
15249
60f884b2
GM
15250 * vc/diff-mode.el (smerge-refine-subst): Declare.
15251 (diff-refine-hunk): Don't require smerge-mode when compiling.
15252
989681bb
JB
152532011-05-06 Juanma Barranquero <lekktu@gmail.com>
15254
15255 * simple.el (list-processes): Return nil as the docstring says.
15256
a6bc05e1
MA
152572011-05-05 Michael Albinus <michael.albinus@gmx.de>
15258
15259 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15260 to "".
15261 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15262 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15263 determining of binary transfer. (Bug#7383)
15264
23c22e9a
MA
152652011-05-05 Michael Albinus <michael.albinus@gmx.de>
15266
c4662635
SM
15267 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15268 Fix port computation bug. (Bug#8618)
23c22e9a 15269
0bff894f
GM
152702011-05-05 Glenn Morris <rgm@gnu.org>
15271
b8296902
GM
15272 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15273
1f522ce8
GM
15274 * simple.el (shell-dynamic-complete-functions)
15275 (comint-dynamic-complete-functions): Declare.
15276
cf5bee67
GM
15277 * net/network-stream.el (gnutls-negotiate):
15278 * simple.el (tabulated-list-print): Fix declarations.
15279
15280 * progmodes/gud.el (syntax-symbol, syntax-point):
15281 Remove unnecessary and incorrect declarations.
15282
0bff894f
GM
15283 * emacs-lisp/check-declare.el (check-declare-scan):
15284 Handle byte-compile-initial-macro-environment in bytecomp.el
15285
9869b3ae
SM
152862011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15287
15288 Fix earlier half-done eieio-defmethod change (bug#8338).
15289 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15290 Streamline and change calling convention.
15291 (defmethod): Adjust accordingly and simplify.
15292 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15293 new eieio--defmethod.
15294 (slot-boundp): Minor CSE simplification.
15295
9c1d5ac5
MZ
152962011-05-05 Milan Zamazal <pdm@zamazal.org>
15297
15298 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15299 (glasses-make-readable): Use glasses-separate-capital-groups.
15300
455c834e
JB
153012011-05-05 Juanma Barranquero <lekktu@gmail.com>
15302
15303 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15304 (warning-series): Doc fix.
15305 (display-warning): Don't try to create the buffer if we just found it.
15306
9ed7c8cb
CY
153072011-05-04 Chong Yidong <cyd@stupidchicken.com>
15308
15309 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15310 (autoload-find-generated-file): New function.
15311 (generate-file-autoloads): Bind generated-autoload-file to
15312 buffer-file-name.
9869b3ae
SM
15313 (update-file-autoloads, update-directory-autoloads):
15314 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15315 output file (Bug#7989).
15316 (batch-update-autoloads): Doc fix.
15317
0898ca10
JB
153182011-05-04 Juanma Barranquero <lekktu@gmail.com>
15319
15320 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15321
31dfb76c
GM
153222011-05-04 Glenn Morris <rgm@gnu.org>
15323
f330b642
GM
15324 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15325 function, so it follows changes in calendar-date-style.
15326 (diary-fancy-date-matcher): New function.
15327 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15328 (diary-fancy-font-lock-fontify-region-function):
15329 Use diary-fancy-date-pattern as a function.
15330
31dfb76c
GM
15331 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15332 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15333
48e79d6a
TZ
153342011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15335
15336 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15337 instead of positional arguments. Allow :keylist and :crlfiles
15338 arguments.
15339 (open-gnutls-stream): Call it.
15340
15341 * net/network-stream.el (network-stream-open-starttls): Adjust to
15342 call `gnutls-negotiate' with :process and :hostname arguments.
15343
dd5a5ee0
SM
153442011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15345
ef80fc09
SM
15346 * minibuffer.el (completion--message): New function.
15347 (completion--do-completion, minibuffer-complete)
15348 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15349 (completion--do-completion): Don't ignore completion-auto-help when in
15350 icomplete-mode.
15351
dd5a5ee0
SM
15352 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15353 internal encoding (e.g. tibetan zero is not whitespace).
15354 (global-whitespace-mode): Prefer save-current-buffer.
15355 (whitespace-trailing-regexp): Remove useless save-match-data.
15356 (whitespace-empty-at-bob-regexp): Minor simplification.
15357
b7d22a83
CY
153582011-05-03 Chong Yidong <cyd@stupidchicken.com>
15359
15360 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15361
5192af46
AM
153622011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15363
15364 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15365 Use `concat' to create string for insertion.
5192af46 15366
5767d190
SM
153672011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15368
15369 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15370 Avoid open-line which runs post-self-insert-hook.
15371 (bibtex-fill-entry): Remove unused `end' var.
15372
bf242939
AM
153732011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15374
5767d190
SM
15375 * textmodes/ispell.el (ispell-add-per-file-word-list):
15376 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15377
25666126
LL
153782011-05-03 Leo Liu <sdl.web@gmail.com>
15379
15380 * isearch.el (isearch-yank-pop): New command.
5767d190 15381 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15382 (isearch-forward): Mention it.
15383
52d3c2d0
SM
153842011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15385
1bcace58
SM
15386 * simple.el (minibuffer-complete-shell-command): Remove.
15387 (minibuffer-local-shell-command-map): Use completion-at-point.
15388 (read-shell-command): Setup completion vars here instead.
15389 (read-expression-map): Bind TAB to symbol completion.
15390
52d3c2d0
SM
15391 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15392 error directly rather via storing it into `results'.
15393
35813471
LL
153942011-05-02 Leo Liu <sdl.web@gmail.com>
15395
15396 * vc/diff.el: Fix description.
15397
e793a940
LMI
153982011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15399
15400 * server.el (server-eval-at): New function.
15401
8de66e05
LMI
154022011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15403
15404 * net/network-stream.el (open-network-stream): Take a :nowait
15405 parameter and pass it on to `make-network-process'.
15406 (network-stream-open-plain): Ditto.
15407
dcb79f20
AS
154082011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15409
15410 * faces.el (face-spec-set-match-display): Don't match toolkit
15411 options on terminal frames.
15412
14a7fbd8
SM
154132011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15414
7eabc1be
SM
15415 * progmodes/pascal.el: Use lexical binding.
15416 (pascal-mode-map): Remove author preferences.
15417
14a7fbd8
SM
15418 * pcomplete.el (pcomplete-std-complete): Don't abuse
15419 completion-at-point.
15420
50f84510
JB
154212011-04-28 Juanma Barranquero <lekktu@gmail.com>
15422
6e087a44
JB
15423 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15424 removing code that has been dead since 1991 or so.
15425
50f84510
JB
15426 * startup.el (command-line): When warning about "_emacs", use a
15427 delayed warning to allow the user to filter it out.
15428
0ba690bd
DD
154292011-04-28 Deniz Dogan <deniz@dogan.se>
15430
15431 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15432 user has not joined.
15433
08abfaad
SM
154342011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15435
15436 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15437 aren't any completions at point.
15438
638f053a
JB
154392011-04-28 Juanma Barranquero <lekktu@gmail.com>
15440
15441 * subr.el (display-delayed-warnings): New function.
15442 (delayed-warnings-hook): New variable.
15443
8fff8daa
SM
154442011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15445
08abfaad
SM
15446 * minibuffer.el (completion-at-point, completion-help-at-point):
15447 Don't presume that a given completion-at-point-function will always
15448 use the same calling convention.
15449
8fff8daa
SM
15450 * pcomplete.el (pcomplete-completions-at-point):
15451 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15452 pcomplete-seen is non-nil.
15453 (pcomplete-comint-setup): Also recognize the new comint/shell
15454 completion functions.
15455 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15456 pcomplete-seen is non-nil.
15457
841a1577 154582011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15459
841a1577 15460 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15461 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15462 the first character in the entry. This allows for code to add its
211ec907
UJ
15463 own uid to the entry.
15464 (icalendar--convert-float-to-ical): Add export of
15465 `diary-float'-entries save for those with the optional DAY
15466 argument.
15467
2a782793
DC
154682011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15469
15470 * subr.el (shell-quote-argument): Use alternate escaping strategy
15471 when we spot a variable reference in a string.
15472
0438ce91
DC
154732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15474
15475 * cus-start.el (all): Define customization for debug-on-event.
15476
841a1577 154772011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15478
15479 * subr.el (shell-quote-argument): Escape correctly under Windows.
15480
d090ed6c
SM
154812011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15482
15483 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15484
bfd31217
MA
154852011-04-25 Michael Albinus <michael.albinus@gmx.de>
15486
d090ed6c
SM
15487 * net/tramp.el (tramp-process-actions): Add POS argument.
15488 Delete region between POS and (pos).
bfd31217 15489
d090ed6c
SM
15490 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15491 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15492 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15493
15494 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15495 position in `tramp-process-actions' call.
15496
15497 * net/trampver.el: Update release number.
15498
e92f3bd3
SM
154992011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15500
850256b5
SM
15501 * custom.el (defcustom): Obey lexical-binding.
15502
e92f3bd3
SM
15503 Fix octave-inf completion problems reported by Alexander Klimov.
15504 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15505 Inherit from octave-mode-syntax-table.
15506 (inferior-octave-mode): Set info-lookup-mode.
15507 (inferior-octave-completion-at-point): New function.
15508 (inferior-octave-complete): Use it and completion-in-region.
15509 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15510 comint-filename-completion.
15511 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15512 symbol elements which shouldn't be word elements.
15513 (octave-font-lock-keywords, octave-beginning-of-defun)
15514 (octave-function-header-regexp): Adjust regexps accordingly.
15515 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15516
cd22b309
JB
155172011-04-25 Juanma Barranquero <lekktu@gmail.com>
15518
15519 * net/gnutls.el (gnutls-errorp): Declare before first use.
15520
8b492194
TZ
155212011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15522
15523 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15524 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15525 default trustfile exists before going to use it. Add missing
5a5fa834 15526 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15527 Reported by Claudio Bley <claudio.bley@gmail.com>.
15528 (open-gnutls-stream): Add usage example.
15529
15530 * net/network-stream.el (network-stream-open-starttls): Give host
15531 parameter to `gnutls-negotiate'.
15532 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15533 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15534
841a1577 155352011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15536
cd22b309
JB
15537 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15538 Use correct match group (bug#8438).
05842630 15539
3ba7869c
CY
155402011-04-24 Chong Yidong <cyd@stupidchicken.com>
15541
512e3ae1
CY
15542 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15543 (package-menu--generate): New arg specifying packages to show.
15544 (package-menu-refresh, package-menu-execute, list-packages):
15545 Callers changed.
15546 (package-show-package-list): New function, replacing deleted
15547 package--list-packages (renamed because it is non-internal).
15548
15549 * finder.el (finder-list-matches): Use package-show-package-list
15550 instead of deleted package--list-packages.
15551
e92f3bd3
SM
15552 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15553 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15554 (vc-annotate-mode-map): Bind it to RET.
15555
7031be6d
UR
155562011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15557
15558 * progmodes/etags.el (next-file): Don't use set-buffer to change
15559 buffers (Bug#8478).
15560
4ef177aa
CY
155612011-04-24 Chong Yidong <cyd@stupidchicken.com>
15562
c8d173eb
CY
15563 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15564
4ef177aa
CY
15565 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15566 (apropos-accumulator): Doc fix.
15567 (apropos-function, apropos-macro, apropos-command)
15568 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15569 (apropos-plist): Add face property.
15570 (apropos-symbols-internal): Fix indentation.
15571 (apropos-print): Simplify help, and recognize apropos-multi-type.
15572 (apropos-print-doc): Use button-type-get to extract the button's
15573 face property. Fill docstring (Bug#8352).
15574
4ffd0d6b 155752011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15576
15577 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15578
c6c32125 15579 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15580 (mpuz-mode-map): Use mapc.
c6c32125
JB
15581 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15582 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15583 Fix typos in docstrings.
15584
58d468b4
JB
15585 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15586 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15587
6470c3c6
JB
15588 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15589
4ffd0d6b 155902011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15591
15592 * minibuffer.el (completion--do-completion): Avoid the "Next char
15593 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15594
3ad8bad0
CY
15595 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15596 mouse-2 into unread-command-events, it is interpreted correctly.
15597
71d73c9c 15598 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15599 (image-toggle-display): Doc fix.
71d73c9c 15600
841a1577 156012011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15602
4ffd0d6b
GM
15603 * textmodes/page.el (what-page): Use line-number-at-pos to
15604 calculate line number (Bug#6825).
6e1dbaa9 15605
c2fb1b60
JB
156062011-04-22 Juanma Barranquero <lekktu@gmail.com>
15607
15608 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15609 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15610 Pass argument NO-DEFAULT to `find-tag-interactive'.
15611
e02f48d7
JB
156122011-04-22 Juanma Barranquero <lekktu@gmail.com>
15613
15614 Lexical-binding cleanup.
15615
15616 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15617 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15618 * progmodes/ada-prj.el (ada-prj-initialize-values)
15619 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15620 (ada-prj-show-value):
15621 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15622 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15623 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15624 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15625 * progmodes/bug-reference.el (bug-reference-push-button):
15626 * progmodes/fortran.el (fortran-line-length):
15627 * progmodes/glasses.el (glasses-change):
15628 * progmodes/octave-mod.el (octave-fill-paragraph):
15629 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15630 (python-pdbtrack-grub-for-buffer, python-sentinel):
15631 * progmodes/sql.el (sql-save-connection):
15632 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15633 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15634 Mark unused parameters.
15635
15636 * progmodes/compile.el (compilation--flush-directory-cache)
15637 (compilation--flush-parse, compile-internal): Mark unused parameters.
15638 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15639 (compilation-next-error-function): Remove unused variable `timestamp'.
15640
15641 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15642 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15643
15644 * progmodes/dcl-mode.el (dcl-end-of-command):
15645 Remove unused variable `start'.
15646 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15647 (dcl-option-value-basic, dcl-option-value-offset)
15648 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15649 Mark unused parameters.
15650 (dcl-save-local-variable): Remove unused variable `val'.
15651 (mode): Declare.
15652
15653 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15654 Mark unused parameters.
15655 (delphi-ignore-changes): Move before first use.
15656 (delphi-charset-token-at): Remove unused variable `start'.
15657 (delphi-else-start): Remove unused variable `if-count'.
15658 (delphi-comment-block-start, delphi-comment-block-end):
15659 Remove unused variable `kind'.
15660 (delphi-indent-line): Remove unused variable `new-point'.
15661
15662 * progmodes/ebrowse.el (ebrowse-files-list)
15663 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15664 Mark unused parameters. Don't quote `lambda'.
15665 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15666 Don't quote `lambda'.
15667 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15668 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15669 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15670 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15671 Use `ignore-errors'.
15672 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15673 (ebrowse-view/find-file-and-search-pattern)
15674 (ebrowse-view/find-member-declaration/definition):
15675 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15676 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15677 Rename parameter PREFIX-ARG to PREFIX.
15678 (ebrowse-tags-read-name): Remove unused variables `start' and
15679 `member-info'.
15680 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15681 to `tags-file'.
15682
15683 * progmodes/etags.el (local-find-tag-hook): Declare.
15684 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15685 Mark unused parameters.
15686
15687 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15688 (executable-interpret): Mark unused parameter.
15689
15690 * progmodes/flymake.el (flymake-process-sentinel)
15691 (flymake-after-change-function)
15692 (flymake-create-temp-with-folder-structure)
15693 (flymake-get-include-dirs-dot): Mark unused parameters.
15694 (flymake-safe-delete-directory): Remove unused variable `err'.
15695
15696 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15697 (speedbar-timer-fn, speedbar-line-text)
15698 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15699 (speedbar-center-buffer-smartly): Declare functions.
15700 (gdb-find-watch-expression): Remove unused variable `array'.
15701 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15702 (gdb-starting): Mark unused parameters.
15703 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15704 (gdb-table-string): Remove unused variable `res'.
15705 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15706 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15707 (gdb-display-buffer): Remove unused variable `cur-size'.
15708
15709 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15710 allow lexical-binding compilation.
15711 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15712 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15713 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15714 Mark unused parameters.
15715 (gud-gdb-marker-filter): Remove unused variable `match'.
15716 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15717 lambda expressions and funcall them, instead of using `fset'.
15718
15719 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15720 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15721
15722 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15723 variable `header-beg'; use `let'.
15724
15725 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15726 `restart', `last-sexp' and `at-do'.
15727
15728 * progmodes/js.el (js--debug): Mark unused parameter.
15729 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15730 (js--splice-into-items): Remove unused variable `item'.
15731 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15732
15733 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15734 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15735 (makefile-complete): Remove unused variable `try'.
15736 (makefile-fill-paragraph, makefile-match-function-end):
15737 Mark unused parameters.
15738
15739 * progmodes/octave-inf.el (inferior-octave-complete):
15740 Remove unused variable `proc'.
15741 (inferior-octave-output-digest): Mark unused parameter.
15742
15743 * progmodes/perl-mode.el (perl-calculate-indent):
15744 Remove unused variable `err'.
15745
15746 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15747 (prolog-indent-line): Mark unused parameters.
15748 (prolog-indent-line): Remove unused variable `beg'.
15749
15750 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15751 (reporter-dont-compact-list): Declare.
15752
15753 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15754 Remove unused variable `char'.
15755 (sh-debug): Mark unused parameter.
15756 (sh-get-indent-info): Remove unused variable `start'.
15757 (sh-calculate-indent): Remove unused variable `var'.
15758
15759 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15760 (simula-electric-keyword): Remove unused variable `null'.
15761 (simula-search-backward, simula-search-forward): Remove unused
15762 variables `begin' and `end'.
15763
15764 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15765 Remove unused variable `pos'.
15766 (vera-electric-tab, vera-comment-uncomment-region):
15767 Mark unused parameters.
15768 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15769
7ede3b65
CY
157702011-04-22 Chong Yidong <cyd@stupidchicken.com>
15771
15772 * emacs-lisp/package.el (package--builtins, package-alist)
15773 (package-load-descriptor, package-built-in-p, package-activate)
15774 (define-package, package-installed-p)
15775 (package-compute-transaction, package-buffer-info)
15776 (package--push): Doc fix. Distinguish more clearly between
15777 version strings and version lists.
15778
121656e9
JB
157792011-04-21 Juanma Barranquero <lekktu@gmail.com>
15780
15781 Lexical-binding cleanup.
15782
15783 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15784 (5x5-make-mutate-best):
15785 * play/fortune.el (fortune-in-buffer):
15786 * play/gomoku.el (gomoku-init-display):
15787 * play/solitaire.el (solitaire, solitaire-do-check):
15788 * play/tetris.el (tetris-default-update-speed-function):
15789 Mark unused parameters.
15790
15791 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15792 (bubbles--shift): Remove unused variable `char-org'.
15793 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15794 (bubbles--show-images): Remove unused variable `char'.
15795
15796 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15797 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15798 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15799 (decipher-analyze-buffer): Use ?\s.
15800 (decipher-make-checkpoint): Remove unused variable `mapping'.
15801
15802 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15803
15804 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15805 Remove unused variable `result'; use `let'.
15806
15807 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15808 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15809 (gametree-children-shown-p, gametree-compute-reduced-score):
15810 Use `ignore-errors'.
15811
15812 * play/handwrite.el (ps-lpr-switches): Declare.
15813 (handwrite): Remove unused variables `pmin' and `lastp'.
15814
15815 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15816
15817 * play/landmark.el (landmark-init-display)
15818 (landmark-update-naught-weights): Mark unused parameters.
15819 (landmark-y): Remove unused variable `noise'. Simplify.
15820 (landmark-human-plays): Remove unused variable `score'.
15821
15822 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15823 (mpuz-try-proposal): Remove unused variable `game'.
15824
15825 * play/zone.el (life-patterns): Declare.
15826
80f499c7
JB
158272011-04-20 Juanma Barranquero <lekktu@gmail.com>
15828
15829 * vc/vc.el (ediff-vc-internal): Declare function.
15830
024ff170
SM
158312011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15832
c0a193ea
SM
15833 * shell.el: Use lexical-binding and std completion UI.
15834 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15835 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15836 comint-preoutput-filter-functions rather than on
15837 comint-output-filter-functions.
15838 (shell-command-completion, shell--command-completion-data)
15839 (shell-filename-completion, shell-environment-variable-completion)
15840 (shell-c-a-p-replace-by-expanded-directory): New functions.
15841 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15842 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15843 (shell-dynamic-complete-environment-variable): Use them.
15844 (shell-dynamic-complete-as-environment-variable)
15845 (shell-dynamic-complete-as-command): Remove.
15846 (shell-match-partial-variable): Match past point.
15847 * comint.el: Clean up use of completion-at-point-functions.
15848 (comint-completion-at-point): New function.
15849 (comint-mode): Use it completion-at-point-functions.
15850 (comint-dynamic-complete): Make it obsolete.
15851 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15852 (comint-c-a-p-replace-by-expanded-history): New function.
15853 (comint-dynamic-complete-functions)
15854 (comint-replace-by-expanded-history): Use it.
15855 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15856 termination strings. Try harder to avoid second try-completion.
15857 (completion-in-region-mode-map): Disable bindings that don't work yet.
15858
2dbaa080
SM
15859 * comint.el: Use lexical-binding. Require CL.
15860 (comint-dynamic-complete-functions): Use comint-filename-completion.
15861 (comint-completion-addsuffix): Tweak custom type.
15862 (comint-filename-completion, comint--common-suffix)
15863 (comint--common-quoted-suffix, comint--table-subvert)
15864 (comint--complete-file-name-data): New functions.
15865 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15866 (comint-dynamic-list-filename-completions): Use them.
15867 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15868
2dbaa080
SM
15869 * minibuffer.el (completion-in-region-mode):
15870 Keep completion-in-region-mode--predicate global.
15871 (completion-in-region--postch):
15872 Assume completion-in-region-mode--predicate is not null.
15873
c79a6f38
SM
15874 * progmodes/flymake.el (flymake-start-syntax-check-process):
15875 Obey `dir'. Simplify.
15876
024ff170
SM
15877 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15878 we're in VC after all.
15879
1c6c854e
CS
158802011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15881
15882 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15883 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15884 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15885
bed7f140
SM
158862011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15887
332e62ab
SM
15888 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15889 add sanity check.
15890
bed7f140
SM
15891 * obsolete/erc-hecomplete.el: Make obsolete.
15892 * obsolete/: Standardize obsolescence info in the header.
15893
f195c582
GM
158942011-04-20 Glenn Morris <rgm@gnu.org>
15895
15896 * calendar/solar.el (solar-horizontal-coordinates):
15897 Use the longitude argument rather than `calendar-longitude'.
15898 (solar-date-next-longitude): Remove unused locals.
15899
cb79b8c0
VJL
159002011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15901
15902 * whitespace.el: New version 13.2.1.
15903
159042011-04-20 felix <EmacsWiki> (tiny change)
15905
d8e4b68b 15906 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15907 switching between major modes on a file.
15908
602ea69d
SM
159092011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15910
15911 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15912 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15913 multi-line comments as well.
15914
06b60517
JB
159152011-04-19 Juanma Barranquero <lekktu@gmail.com>
15916
15917 Lexical-binding cleanup.
15918
15919 * arc-mode.el (archive-mode-revert):
15920 * cmuscheme.el (scheme-interactively-start-process):
15921 * custom.el (custom-initialize-delay):
15922 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15923 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15924 * emacs-lock.el (emacs-lock-clear-sentinel):
15925 * ezimage.el (defezimage):
15926 * follow.el (follow-avoid-tail-recenter):
15927 * fringe.el (set-fringe-mode-1):
15928 * generic-x.el (bat-generic-mode-compile):
15929 * help-mode.el (help-info-variable, help-do-xref)
15930 (help-mode-revert-buffer):
15931 * help.el (view-emacs-todo):
15932 * iswitchb.el (iswitchb-completion-help):
15933 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15934 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15935 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15936 * locate.el (locate-update):
15937 * longlines.el (longlines-encode-region)
15938 (longlines-after-change-function):
15939 * outline.el (outline-isearch-open-invisible):
15940 * ps-def.el (declare-function, charset-dimension, char-width)
15941 (encode-char):
15942 * ps-mule.el (ps-mule-plot-string):
15943 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15944 (recentf-edit-list-select, recentf-edit-list-validate)
15945 (recentf-open-files-action):
15946 * rect.el (delete-whitespace-rectangle-line)
15947 (rectangle-number-line-callback):
15948 * register.el (window-configuration-to-register)
15949 (frame-configuration-to-register):
15950 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15951 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15952 (xselect-convert-to-targets, xselect-convert-to-delete)
15953 (xselect-convert-to-filename, xselect-convert-to-charpos)
15954 (xselect-convert-to-lineno, xselect-convert-to-colno)
15955 (xselect-convert-to-os, xselect-convert-to-host)
15956 (xselect-convert-to-user, xselect-convert-to-class)
15957 (xselect-convert-to-name, xselect-convert-to-integer)
15958 (xselect-convert-to-atom, xselect-convert-to-identity):
15959 * subr.el (declare, ignore, process-kill-without-query)
15960 (text-clone-maintain):
15961 * terminal.el (te-get-char, te-tic-sentinel):
15962 * tool-bar.el (tool-bar-make-keymap):
15963 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15964 * type-break.el (type-break-mode, type-break-noninteractive-query):
15965 * view.el (View-back-to-mark):
15966 * wid-browse.el (widget-browse-action, widget-browse-widget)
15967 (widget-browse-widgets, widget-browse-sexp):
15968 * widget.el (define-widget-keywords):
15969 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15970 Mark unused parameters.
15971
15972 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15973 (align-areas): Remove unused variable `look'.
15974 (align-region): Remove unused variables `real-end' and `pos-list'.
15975
15976 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15977
15978 * bindings.el (mode-line-modified, mode-line-remote):
15979 Mark unused parameters.
15980 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15981
15982 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15983 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15984
15985 * comint.el (comint-history-isearch-pop-state)
15986 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15987 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15988 (comint-substitute-in-file-name): Doc fix.
15989
15990 * completion.el (cmpl-statistics-block): Mark unused parameter.
15991 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15992 (save-completions-to-file, load-completions-from-file):
15993 Remove unused local variable `e'.
15994
15995 * composite.el (compose-chars): Remove unused variable `len'.
15996 (lgstring-insert-glyph): Remove unused variable `g'.
15997 (compose-glyph-string): Remove unused variables `ascent',
15998 `descent', `lbearing' and `rbearing'.
15999 (compose-glyph-string-relative): Remove unused variables
16000 `lbearing', `rbearing' and `wadjust'.
16001 (compose-gstring-for-graphic): Remove unused variables `header',
16002 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16003 (compose-gstring-for-terminal): Remove unused variables `header'
16004 and `nchars'. Use `let', not `let*'.
16005
16006 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16007 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16008 (Custom-buffer-done, custom-buffer-create-internal)
16009 (custom-browse-visibility-action, custom-browse-group-tag-action)
16010 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16011 (widget-magic-mouse-down-action, custom-toggle-parent)
16012 (custom-add-parent-links, custom-toggle-hide-variable)
16013 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16014 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16015 (custom-face-menu-create, custom-variable-menu-create, get)
16016 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16017 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16018 (customize-apropos): Remove unused variable `tests'.
16019 (custom-group-value-create): Remove unused variable `hidden-p'.
16020 (sort-fold-case): Declare.
16021
16022 * cus-theme.el (custom-reset-standard-faces-list)
16023 (custom-reset-standard-variables-list): Declare.
16024 (customize-create-theme, custom-theme-revert, custom-theme-write)
16025 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16026 Mark unused parameters.
16027
16028 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16029
16030 * delim-col.el (delimit-columns-max): Move defvar before first use.
16031
16032 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16033 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16034
16035 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16036 (auto-insert): Declare.
16037 (desktop-restore-file-buffer): Rename desktop-* parameters;
16038 mark unused ones.
16039 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16040 (desktop-buffer): Rename desktop-* parameters.
16041
16042 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16043 (dframe-reposition-frame-xemacs, dframe-help-echo)
16044 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16045 Mark unused parameters.
16046
16047 * dired-aux.el (backup-extract-version-start, overwrite-query)
16048 (overwrite-backup-query, rename-regexp-query)
16049 (rename-non-directory-query): Declare.
16050 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16051 (dired-add-entry): Remove unused variable `orig-file-name'.
16052 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16053 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16054 `dired-copy-preserve-time' directly.
16055 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16056 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16057
16058 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16059 (dired-virtual-revert, dired-make-relative-symlink):
16060 Mark unused parameters.
16061 (manual-program): Declare.
16062 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16063 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16064 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16065
16066 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16067
16068 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16069
16070 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16071 Declare.
16072
16073 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16074
16075 * electric.el (Electric-command-loop): Rename parameter
16076 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16077
16078 * expand.el (expand-in-literal): Remove unused variable `here'.
16079
16080 * facemenu.el (facemenu-add-new-color):
16081 Remove unused variable `docstring'.
16082
16083 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16084 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16085 (face-attr-construct): Mark unused parameter. Doc fix.
16086 (read-color): Remove unused variable `hex-string'.
16087
16088 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16089 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16090 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16091 (display-buffer-other-frame): Remove unused variable `old-window'.
16092 (kill-buffer-hook): Declare.
16093 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16094 Mark unused parameters.
16095 (after-find-file): Pass 1 to `auto-save-mode', not t.
16096
16097 * files-x.el (auto-insert): Declare.
16098 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16099
16100 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16101 variable `buf'. Mark unused parameter.
06b60517
JB
16102 (find-lisp-insert-directory): Mark unused parameter.
16103
16104 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16105 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16106 (format-common-tail): Remove, unused.
16107 (format-deannotate-region): Remove unused variable `loc'.
16108 (format-annotate-region): Remove unused variable `p'.
16109 (format-annotate-single-property-change): Remove unused variables
16110 `default' and `tail'.
16111
16112 * forms.el (read-file-filter): Declare.
16113 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16114
16115 * frame.el (frame-creation-function-alist): Mark unused parameter.
16116 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16117
16118 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16119 Remove unused parameters.
16120 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16121 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16122
16123 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16124 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16125 (hfy-prepare-tag-map): Mark unused parameters.
16126 (htmlfontify-buffer): Use `called-interactively-p'.
16127
16128 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16129 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16130 (ibuffer-do-occur): Mark unused parameters.
16131 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16132 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16133
16134 * ibuffer.el: Don't quote `lambda'.
16135 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16136 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16137 Mark unused parameters.
16138
16139 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16140 (ido-completing-read): Mark unused parameters.
16141 (ido-copy-current-word): Mark unused parameters;
16142 remove unused variable `name'.
16143 (ido-sort-merged-list): Remove unused parameter `dirs'.
16144
16145 * ielm.el (ielm-input-sender): Mark unused parameter.
16146 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16147 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16148 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16149 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16150 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16151
16152 * image-dired.el (image-dired-display-thumbs): Remove unused
16153 variables `curr-file' and `count'.
16154 (image-dired-remove-tag): Remove unused variable `start'.
16155 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16156 variable `curr-file'
16157 (image-dired-rotate-original): Remove unused variable `temp-file'.
16158 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16159 Remove unused variable `file'.
16160 (image-dired-gallery-generate): Remove unused variable `curr'.
16161 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16162
16163 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16164
16165 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16166
16167 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16168
16169 * isearch.el (minibuffer-history-symbol): Declare.
16170 (isearch-edit-string): Remove unused variable `err'.
16171 (isearch-message-prefix, isearch-message-suffix):
16172 Mark unused parameters.
16173
16174 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16175
16176 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16177
16178 * makesum.el (double-column): Remove unused variable `cnt'.
16179
16180 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16181 (ido-ignore-item-temp-list): Declare.
16182
16183 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16184 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16185 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16186 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16187 `mouse-col-delta'.
16188
16189 * mouse-sel.el (mouse-extend-internal):
16190 Remove unused variable `orig-window-frame'.
16191
16192 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16193 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16194 Move declarations before first use.
16195 (pcomplete-opt): Mark unused parameters; doc fix.
16196
16197 * proced.el (proced-revert): Mark unused parameter.
16198 (proced-send-signal): Remove unused variable `err'.
16199
16200 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16201 Rename parameter PREFIX-ARG to ARG.
16202 (ps-basic-plot-string, ps-basic-plot-whitespace):
16203 Mark unused parameters.
16204
16205 * replace.el (replace-count): Define.
16206 (occur-revert-function): Mark unused parameters.
16207 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16208 (isearch-case-fold-search, isearch-string): Declare.
16209 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16210 bind `case-fold-search'. Remove unused variables `beg' and `end',
16211 and simplify.
16212 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16213 COUNT and bind `replace-count'.
16214 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16215 to COUNT.
16216
16217 * savehist.el (print-readably, print-string-length): Declare.
16218
16219 * shadowfile.el (shadow-expand-cluster-in-file-name):
16220 Remove unused variable `cluster'.
16221 (shadow-copy-file): Remove unused variable `i'.
16222 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16223 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16224 (shadow-define-literal-group, shadow-define-regexp-group)
16225 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16226
16227 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16228 (shell): Use `called-interactively-p'.
16229 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16230
16231 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16232 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16233 (delete-backward-char): Remove unused variable `ocol'.
16234 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16235 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16236 (event-apply-hyper-modifier, event-apply-shift-modifier)
16237 (event-apply-control-modifier, event-apply-meta-modifier):
16238 Mark unused parameters.
16239 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16240 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16241
16242 * speedbar.el (speedbar-ignored-directory-expressions)
16243 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16244 (speedbar-find-file, speedbar-dir-follow)
16245 (speedbar-directory-buttons-follow, speedbar-tag-find)
16246 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16247 (speedbar-buffers-line-directory, speedbar-buffer-click):
16248 Mark unused parameters.
16249 (speedbar-tag-file): Remove unused variable `mode'.
16250 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16251
16252 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16253
16254 * talk.el (talk): Remove unused variable `display'.
16255
16256 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16257 (tar-write-region-annotate): Mark unused parameter.
16258
16259 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16260 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16261 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16262 warning by another.
16263
16264 * time-stamp.el (time-stamp-string-preprocess):
16265 Remove unused variable `require-padding'.
16266
16267 * tree-widget.el (widget-glyph-enable): Declare.
16268 (tree-widget-action): Mark unused parameter.
16269
16270 * w32-fns.el (x-get-selection): Mark unused parameter.
16271 (autoload-make-program, generated-autoload-file): Declare.
16272
16273 * wdired.el (wdired-revert): Mark unused parameters.
16274 (wdired-xcase-word): Remove unused variable `err'.
16275
16276 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16277 (whitespace-help-scroll): Remove unused variable `data-help'.
16278
16279 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16280 (widget-image-insert, widget-after-change, default)
16281 (widget-default-format-handler, widget-default-notify)
16282 (widget-default-prompt-value, widget-info-link-action)
16283 (widget-url-link-action, widget-function-link-action)
16284 (widget-variable-link-action, widget-file-link-action)
16285 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16286 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16287 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16288 (widget-insert-button-action, widget-delete-button-action, visibility)
16289 (widget-documentation-link-action, widget-documentation-string-action)
16290 (widget-const-prompt-value, widget-regexp-match, symbol)
16291 (widget-coding-system-prompt-value)
16292 (widget-key-sequence-value-to-external, sexp)
16293 (widget-sexp-value-to-internal, character, vector, cons)
16294 (widget-choice-prompt-value, widget-boolean-prompt-value)
16295 (widget-color--choose-action): Mark unused parameters.
16296 (widget-item-match-inline, widget-choice-match-inline)
16297 (widget-checklist-match, widget-checklist-match-inline)
16298 (widget-group-match): Rename parameter VALUES to VALS.
16299 (widget-field-value-set): Remove unused variable `size'.
16300 (widget-color-action): Remove unused variables `value' and `start'.
16301
16302 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16303 variable `dir'. Doc fix.
06b60517
JB
16304 (windmove-find-other-window): Don't pass it.
16305
16306 * window.el (count-windows): Mark unused parameter.
16307 (bw-adjust-window): Remove unused variable `err'.
16308
16309 * woman.el (woman-file-name): Remove unused variable `default'.
16310 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16311 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16312 (global-font-lock-mode): Declare.
16313 (woman-decode-region): Mark unused parameter.
16314 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16315
16316 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16317 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16318 (x-dnd-handle-moz-url): Remove unused variable `title'.
16319 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16320
16321 * xml.el (xml-parse-tag, xml-parse-attlist):
16322 Remove unused variable `pos'.
16323
bc4f7f3d
GM
163242011-04-19 Glenn Morris <rgm@gnu.org>
16325
16326 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16327 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16328 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16329 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16330 * calendar/cal-html.el (cal-html-insert-minical):
16331 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16332 (calendar-mark-date-pattern):
16333 Prefix "unused" locals.
16334
16335 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16336 optional argument `style'.
16337
16338 * calendar/appt.el (appt-make-list):
16339 * calendar/cal-china.el (calendar-chinese-date-string):
16340 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16341 (diary-hebrew-yahrzeit):
16342 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16343 * calendar/calendar.el (calendar-generate-window):
16344 * calendar/time-date.el (time-to-days):
16345 Remove unused local variables.
16346
16a43933
CY
163472011-04-18 Chong Yidong <cyd@stupidchicken.com>
16348
16349 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16350 glyphless-char-display table.
16351 (tabulated-list-glyphless-char-display): New var.
16352
7eed1860
SS
163532011-04-18 Sam Steingold <sds@gnu.org>
16354
16355 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16356 to acknowledgments.
16357
4d2d1ccd
GM
163582011-04-17 Glenn Morris <rgm@gnu.org>
16359
16360 * calendar/diary-lib.el (diary-sexp-entry):
16361 * calendar/holidays.el (holiday-sexp):
16362 Set debug-on-error rather than the removed stack-trace-on-error.
16363
239da61d
GM
163642011-04-16 Glenn Morris <rgm@gnu.org>
16365
16366 * progmodes/f90.el: Use lexical-binding.
16367 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16368
8b05752a
SM
163692011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16370
daca8ba5
SM
16371 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16372 (mail-mode): Setup mailalias completion here instead.
16373 * mail/mailalias.el: Use lexical-binding.
16374 (pattern, mailalias-done): Declare dynamic.
16375 (mail-completion-at-point-function): New function, from mail-complete.
16376 (mail-complete): Use it.
16377 (mail-completion-expand): New function.
16378 (mail-get-names): Use it.
16379 (mail-directory, mail-directory-process, mail-directory-stream):
16380 Don't use `pattern' for lexically bound arg.
16381
6f542485
SM
16382 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16383
037e7c3f
SM
16384 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16385 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16386 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16387
8b05752a
SM
16388 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16389 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16390 (byte-interactive-p): Define them again, for use when inlining
16391 old code.
16392
49093f60
JB
163932011-04-15 Juanma Barranquero <lekktu@gmail.com>
16394
16395 * loadup.el: Use `string-to-number', not `string-to-int'.
16396
b5b8e7de
SM
163972011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16398
16399 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16400 gud-gdb-complete-command.
16401 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16402 (gud-gdb-completion-at-point): New function.
16403 (gud-gdb-completions): Remove.
16404
f42efeb5
MA
164052011-04-14 Michael Albinus <michael.albinus@gmx.de>
16406
49093f60
JB
16407 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16408 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16409 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16410 whether `executable-find' is bound.
f42efeb5
MA
16411
16412 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16413
e240cc21
SM
164142011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16415
16416 * minibuffer.el (completion-in-region-mode-predicate)
16417 (completion-in-region-mode--predicate): New vars.
16418 (completion-in-region, completion-in-region--postch)
16419 (completion-in-region-mode): Use them.
16420 (completion--capf-wrapper): Also return the hook function.
16421 (completion-at-point, completion-help-at-point):
16422 Adjust and provide a predicate.
c2bd2ab0
SM
16423
16424 Preserve arg names for advice of subr and lexical functions (bug#8457).
16425 * help-fns.el (help-function-arglist): Consolidate the subr and
16426 new-byte-code cases. Add argument `preserve-names' to extract names
16427 from the docstring when needed.
16428 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16429 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16430 (ad-arglist): Use help-function-arglist's new arg.
16431 (ad-definition-type): Use cond.
16432
c183f693
JB
164332011-04-13 Juanma Barranquero <lekktu@gmail.com>
16434
06641a47
JB
16435 * autorevert.el (auto-revert-handler):
16436 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16437 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16438 Don't quote lambda.
16439
c183f693
JB
16440 * image-mode.el (image-transform-set-scale):
16441 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16442
1e3b6001
G
164432011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16444
16445 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16446 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16447 Upgrades via gnutls-cli are too slow to be done opportunistically.
16448
2d6af8dd
JB
164492011-04-12 Juanma Barranquero <lekktu@gmail.com>
16450
16451 * dframe.el (dframe-current-frame): Remove spurious quote.
16452
c0749a51
GM
164532011-04-12 Glenn Morris <rgm@gnu.org>
16454
088d0d61
GM
16455 * calendar/cal-tex.el (cal-tex-end-document):
16456 Try to automatically use latin1 input if needed.
16457
c0749a51
GM
16458 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16459 Don't try to cons a mark onto an empty element.
16460
5c90fde0
LL
164612011-04-11 Leo Liu <sdl.web@gmail.com>
16462
16463 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16464 buffers.
16465 (ido-kill-buffer-at-head): Support killing virtual buffers.
16466
369e974d
CY
164672011-04-10 Chong Yidong <cyd@stupidchicken.com>
16468
16469 * minibuffer.el (completion-show-inline-help): New var.
16470 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16471 (minibuffer-force-complete, minibuffer-complete-word):
16472 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16473
16474 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16475 to avoid interference from inline help (Bug#5849).
16476
37f1c930
LL
164772011-04-10 Leo Liu <sdl.web@gmail.com>
16478
099c39a4
JB
16479 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16480 Fix typo.
37f1c930 16481
a32d4040
CY
164822011-04-09 Chong Yidong <cyd@stupidchicken.com>
16483
16484 * image-mode.el (image-toggle-display-image): Signal an error if
16485 not in Image mode.
16486 (image-transform-mode, image-transform-resize)
16487 (image-transform-set-rotation): Doc fix.
daca8ba5 16488 (image-transform-set-resize): Delete.
a32d4040
CY
16489 (image-transform-set-scale, image-transform-fit-to-height)
16490 (image-transform-fit-to-width): Handle image-toggle-display-image
16491 and image-transform-resize directly.
16492
099c39a4 164932011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16494
16495 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16496 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16497 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16498 (doc-view-mode-map): Add bindings for the new functions.
16499
099c39a4 165002011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16501
4d61f28d 16502 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16503 Fix typo in docstring.
16504
3726838a
EZ
165052011-04-08 Eli Zaretskii <eliz@gnu.org>
16506
04f33f1e
EZ
16507 * files.el (file-size-human-readable): Produce one digit after
16508 decimal, like "ls -lh" does.
16509
16510 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16511 the file size representation.
16512
3726838a
EZ
16513 * simple.el (list-processes): If async subprocesses are not
16514 available, error out with a clear error message.
16515
cbb59342
CY
165162011-04-08 Chong Yidong <cyd@stupidchicken.com>
16517
16518 * help.el (help-form-show): New function, to be called from C.
16519 Put help-form output in a buffer named differently than *Help*.
16520
e3971c44
EZ
165212011-04-08 Eli Zaretskii <eliz@gnu.org>
16522
16523 * files.el (file-size-human-readable): New function.
16524
16525 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16526 computing the representation inline. Don't require `cl'.
16527
12544bbe
GM
165282011-04-08 Glenn Morris <rgm@gnu.org>
16529
a1de6c6a
GM
16530 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16531
3c4671f4
GM
16532 * net/browse-url.el (browse-url-firefox):
16533 Test system-type, not system-configuration.
16534
b605679c
GM
16535 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16536 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16537 Use log-edit-empty-buffer-p. (Bug#7598)
16538
56442f0c
GM
16539 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16540 (rlogin-mode-map): Initialize in the defvar.
16541 (rlogin): Use ignore-errors.
16542
12544bbe
GM
16543 * replace.el (occur-mode-map): Some fixes for menu items.
16544
eb237b0f
AH
165452011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16546
16547 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16548
7d668f2c
CY
165492011-04-06 Chong Yidong <cyd@stupidchicken.com>
16550
e67a13ab
CY
16551 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16552 issuing unused warnings.
16553
16554 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16555 macro directly.
16556
7d668f2c
CY
16557 * simple.el: Lisp reimplement of list-processes. Based on an
16558 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16559 (process-menu-mode): New major mode.
16560 (list-processes--refresh, list-processes):
16561 (process-menu-visit-buffer): New functions.
16562
16563 * files.el (save-buffers-kill-emacs): Don't assume any return
16564 value of list-processes, which is undocumented anyway.
16565
a83ec3c9
CY
165662011-04-06 Chong Yidong <cyd@stupidchicken.com>
16567
16568 * emacs-lisp/tabulated-list.el: New file.
16569
e91a96fe
CY
16570 * emacs-lisp/package.el: Use Tabulated List mode.
16571 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16572 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16573 table format using Tabulated List mode variables.
16574 (package--push): New macro, replacing package-list-maybe-add.
16575 (package-menu--generate): Use package--push. Renamed from
16576 package--generate-package-list.
16577 (package-menu-refresh, list-packages): Use it.
daca8ba5 16578 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16579 Return insertion data instead of inserting it directly.
099c39a4
JB
16580 (package-menu-describe-package, package-menu-execute):
16581 Use tabulated-list-get-id.
e91a96fe
CY
16582 (package-menu-mark-delete, package-menu-mark-install)
16583 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16584 (package-menu-mark-obsolete-for-deletion):
16585 Use tabulated-list-put-tag.
e91a96fe
CY
16586 (package--list-packages, package-menu-revert)
16587 (package-menu-get-package, package-menu-get-version)
16588 (package-menu-sort-by-column): Functions deleted.
16589 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16590 (package-menu--status-predicate, package-menu--version-predicate)
16591 (package-menu--name-predicate)
16592 (package-menu--description-predicate): Handle arguments in the
16593 Tabulated List format.
16594 (package-list-packages-no-fetch): Call list-packages.
16595
3e214b50
JB
165962011-04-06 Juanma Barranquero <lekktu@gmail.com>
16597
16598 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16599 (after-find-file): Don't bind it.
3e214b50
JB
16600 (revert-buffer-in-progress-p): New variable.
16601 (revert-buffer): Bind it.
16602 Pass nil for `after-find-file-from-revert-buffer'.
16603
16604 * saveplace.el (save-place-find-file-hook): Use new variable
16605 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16606
3f0f1700
GM
166072011-04-06 Glenn Morris <rgm@gnu.org>
16608
c0274801
GM
16609 * Makefile.in (AUTOGEN_VCS): New variable.
16610 (autoloads): Use $AUTOGEN_VCS.
16611
3f0f1700
GM
16612 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16613 * calendar/calendar.el (calendar-mode-map):
16614 Check for toolkit scroll bars. (Bug#8305)
16615
41ea9e48
CY
166162011-04-05 Chong Yidong <cyd@stupidchicken.com>
16617
16618 * minibuffer.el (completion-in-region--postch)
16619 (completion-in-region-mode): Remove unnecessary messages.
16620
6194c800
JB
166212011-04-05 Juanma Barranquero <lekktu@gmail.com>
16622
33256f14
JB
16623 * font-lock.el (font-lock-refresh-defaults):
16624 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16625 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16626
6194c800
JB
16627 * info.el (Info-directory-list, Info-read-node-name-2)
16628 (Info-split-parameter-string): Doc fixes.
16629 (Info-virtual-nodes): Reflow docstring.
16630 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16631 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16632 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16633 Fix typos in docstrings.
16634 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16635 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16636 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16637 (Info-restore-desktop-buffer): Mark unused parameters.
16638 (Info-directory-find-file, Info-directory-find-node)
16639 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16640 (Info-virtual-index-find-node, Info-apropos-find-file)
16641 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16642 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16643 (Info-virtual-index): Remove unused local variable `nodename'.
16644
b87a8200 166452011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16646
b87a8200
DD
16647 * net/rcirc.el: Update my e-mail address.
16648 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16649
3b2ff876
CY
166502011-04-05 Chong Yidong <cyd@stupidchicken.com>
16651
16652 * startup.el (command-line): Save the cursor's theme-face
16653 directly, instead of using face-override-spec.
16654
16655 * custom.el (load-theme): Minor optimization in assigning faces.
16656
8d17e7ca
JB
166572011-04-04 Juanma Barranquero <lekktu@gmail.com>
16658
16659 * help-fns.el (describe-variable): Complete all variables having
16660 documentation, including keywords.
16661 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16662
2fbc1934
JB
166632011-04-04 Juanma Barranquero <lekktu@gmail.com>
16664
16665 Convert to lexical-binding.
16666
16667 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16668 (bs--get-marked-string, bs--get-modified-string)
16669 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16670 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16671 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16672
16673 * ehelp.el (electric-help-execute-extended)
16674 (electric-help-ctrl-x-prefix):
16675 * hexl.el (hexl-revert-buffer-function):
16676 * linum.el (linum-after-change, linum-after-scroll):
16677 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16678
16679 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16680
74f50695
DU
166812011-04-04 Daiki Ueno <ueno@unixuser.org>
16682
16683 * epa-dired.el:
16684 * epa-mail.el:
16685 * epa-hook.el:
16686 * epa-file.el:
16687 * epa.el:
16688 * epg.el: Use lexical binding.
16689
c11325f7
CY
166902011-04-03 Chong Yidong <cyd@stupidchicken.com>
16691
0d9e9a12
CY
16692 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16693
c11325f7 16694 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16695 dictionary case for flyspell-mark-duplications-exceptions.
16696 Use regexp matching for languages.
c11325f7
CY
16697 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16698 default dictionary (Bug#7926).
16699
da91b5f2
CY
167002011-04-02 Chong Yidong <cyd@stupidchicken.com>
16701
099c39a4
JB
16702 * emacs-lisp/package.el (package--with-work-buffer):
16703 Recognize https URLs.
da91b5f2 16704
099c39a4
JB
16705 * net/network-stream.el: Move from gnus/proto-stream.el.
16706 Change prefix to network-stream throughout.
da91b5f2
CY
16707 (open-protocol-stream): Merge into open-network-stream, leaving
16708 open-protocol-stream as an alias. Handle nil BUFFER args.
16709
16710 * subr.el (open-network-stream): Move to net/network-stream.el.
16711
afa8e9f6
GM
167122011-04-02 Glenn Morris <rgm@gnu.org>
16713
1d2e369d
GM
16714 * find-dired.el (find-exec-terminator): New option.
16715 (find-ls-option): Test for -ls support.
16716 (find-ls-subdir-switches): Test for -b in find-ls-option.
16717 (find-dired, find-grep-dired): Doc fixes.
16718 (find-dired): Use find-exec-terminator.
16719
8abb7da8 16720 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16721 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16722 (find-name-arg): Remove purecopy.
8abb7da8 16723
f3ca7378
GM
16724 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16725 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16726 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16727 accordingly. Don't add the null-device if not needed.
16728
afa8e9f6
GM
16729 * files.el (save-some-buffers): Doc fix.
16730
35eae264
EZ
167312011-04-02 Eli Zaretskii <eliz@gnu.org>
16732
16733 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16734
26b51db5
JB
167352011-04-01 Juanma Barranquero <lekktu@gmail.com>
16736
16737 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16738 Use `dolist' rather than `mapcar'.
16739
7200d79c
SM
167402011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16741
03408648 16742 Add lexical binding.
7200d79c 16743
03408648
SM
16744 * subr.el (apply-partially): Use new closures rather than CL.
16745 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16746 (dolist, dotimes): Use slightly different expansion for lexical code.
16747 (functionp): Move to C.
16748 (letrec): New macro.
16749 (with-wrapper-hook): Use it and apply-partially instead of CL.
16750 (eval-after-load): Preserve lexical-binding.
16751 (save-window-excursion, with-output-to-temp-buffer): Turn them
16752 into macros.
7200d79c 16753
03408648
SM
16754 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16755
16756 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16757 than the arglist.
16758 (help-add-fundoc-usage): Don't add `Not documented'.
16759 (help-function-arglist): Handle closures, subroutines, and new
16760 byte-code-functions.
16761 (help-make-usage): Remove leading underscores.
16762 (describe-function-1): Handle closures.
16763 (describe-variable): Use special-variable-p for completion.
16764
16765 * files.el (lexical-binding): Declare safe.
f488fb65 16766
03408648
SM
16767 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16768 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16769 (pcase): Add `let' pattern.
16770 Change memoization so it actually works.
16771 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16772 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16773 <let>: New case.
f488fb65 16774
03408648
SM
16775 * emacs-lisp/macroexp.el: Use lexical binding.
16776 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16777 Don't convert ' to #' without checking that it's indeed quoting
16778 a lambda.
16779
16780 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16781 Use eval-sexp-add-defvars.
03408648
SM
16782 (eval-sexp-add-defvars): New fun.
16783
16784 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16785
16786 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16787 Don't autoload.
16788 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16789 than the internal `byte-compile-lambda'.
16790 (defmethod): Don't hide code under quotes.
16791 (eieio-defmethod): New `code' argument.
16792
16793 * emacs-lisp/eieio-comp.el: Remove.
16794
16795 * emacs-lisp/edebug.el (edebug-eval-defun)
16796 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16797 (edebug-toggle): Avoid `eval'.
16798
16799 * emacs-lisp/disass.el (disassemble-internal): Handle new
16800 `closure' objects.
16801 (disassemble-1): Handle new byte codes.
16802
16803 * emacs-lisp/cl.el (pushnew): Silence warning.
16804
16805 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16806 (cl-byte-compile-throw): Remove.
16807 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16808
16809 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16810 closures.
16811
16812 * emacs-lisp/cconv.el: New file.
16813
16814 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16815 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16816 (byte-compile-initial-macro-environment):
16817 Handle declare-function here.
16818 (byte-compile--lexical-environment): New var.
16819 (byte-stack-ref, byte-stack-set, byte-discardN)
16820 (byte-discardN-preserve-tos): New lap codes.
16821 (byte-interactive-p): Don't use any more.
16822 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16823 New macros.
16824 (byte-compile-lapcode): Use them and handle new lap codes.
16825 (byte-compile-obsolete): Remove.
16826 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16827 (byte-compile-arglist-warn): Check late def of inlinable funs.
16828 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16829 since they should have been expanded by now.
16830 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16831 (byte-compile-from-buffer): Remove unused second arg.
16832 (byte-compile-preprocess): New function.
16833 (byte-compile-toplevel-file-form): New function to distinguish
16834 file-form calls from outside from file-form calls from hunk-handlers.
16835 (byte-compile-file-form): Simplify.
16836 (byte-compile-file-form-defsubst): Remove.
16837 (byte-compile-file-form-defmumble): Simplify now that
16838 byte-compile-lambda always returns a byte-code-function.
16839 (byte-compile): Preprocess.
16840 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16841 Remove, not used any more.
16842 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16843 (byte-compile-make-args-desc): New funs.
16844 (byte-compile-lambda): Handle lexical functions. Always return
16845 a byte-code-function.
16846 (byte-compile-reserved-constants): New var, to make up room for
16847 closed-over variables.
16848 (byte-compile-constants-vector): Obey it.
16849 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16850 (byte-compile-macroexpand-declare-function): New function.
16851 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16852 byte-code-functions.
16853 (byte-compile-form): Check obsolescence here.
16854 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16855 (byte-compile-variable-ref): Remove.
16856 (byte-compile-dynamic-variable-op): New fun.
16857 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16858 (byte-compile-variable-set): New funs.
16859 (byte-compile-discard): Add 2 args.
16860 (byte-compile-stack-ref, byte-compile-stack-set)
16861 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16862 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16863 macroexpand-all instead.
16864 (byte-compile-quote-form): Remove.
16865 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16866 (byte-compile-bind, byte-compile-unbind): New funs.
16867 (byte-compile-let): Handle let* and lexical binding.
16868 (byte-compile-let*): Remove.
16869 (byte-compile-catch, byte-compile-unwind-protect)
16870 (byte-compile-track-mouse, byte-compile-condition-case):
16871 Handle a new :fun-body form, used for lexical scoping.
16872 (byte-compile-save-window-excursion)
16873 (byte-compile-with-output-to-temp-buffer): Remove.
16874 (byte-compile-defun): Simplify.
16875 (byte-compile-stack-adjustment): New fun.
16876 (byte-compile-out): Use it.
16877 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16878
16879 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16880 handler any more.
16881
16882 * emacs-lisp/byte-opt.el: Use lexical binding.
16883 (byte-inline-lapcode): Remove (to bytecomp).
16884 (byte-compile-inline-expand): Pay attention to inlining to/from
16885 lexically bound code.
16886 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16887 any more.
16888 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16889 any more and don't call compiler-macros.
16890 (byte-compile-splice-in-already-compiled-code): Remove.
16891 (byte-code): Don't inline any more.
16892 (disassemble-offset): Receive `bytes' as argument rather than via
16893 dynamic scoping.
16894 (byte-compile-tag-number): Declare before first use.
16895 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16896 `return' even if make-spliceable.
16897 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16898 obsolete interactive-p.
16899 (byte-optimize-lapcode): Optimize new lap-codes.
16900 Don't trip up on new form of `byte-constant' lap code.
16901
16902 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16903
16904 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16905
16906 * custom.el (custom-initialize-default, custom-declare-variable):
16907 Use `defvar'.
16908
16909 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16910 New variables.
16911 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16912 (COMPILE_FIRST): Add macroexp and cconv.
16913 * makefile.w32-in: Mirror changes in Makefile.in.
16914
16915 * vc/cvs-status.el:
16916 * vc/diff-mode.el:
16917 * vc/log-edit.el:
16918 * vc/log-view.el:
16919 * vc/smerge-mode.el:
16920 * textmodes/bibtex-style.el:
090bd7cb 16921 * textmodes/css-mode.el:
03408648
SM
16922 * startup.el:
16923 * uniquify.el:
da91b5f2
CY
16924 * minibuffer.el:
16925 * newcomment.el:
16926 * reveal.el:
16927 * server.el:
16928 * mpc.el:
16929 * emacs-lisp/smie.el:
16930 * doc-view.el:
16931 * dired.el:
03408648
SM
16932 * abbrev.el: Use lexical binding.
16933
0f0c1f27
EZ
169342011-04-01 Eli Zaretskii <eliz@gnu.org>
16935
16936 * info.el (info-display-manual): New function.
16937
c82b2579
SM
169382011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16939
16940 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16941
221ddf68
TH
169422011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16943
16944 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16945 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16946
cba6e77e
GM
169472011-03-31 Glenn Morris <rgm@gnu.org>
16948
e040639f
GM
16949 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16950
cba6e77e
GM
16951 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16952
6d0f1c9e
CS
169532011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16954
16955 * progmodes/python.el (python-default-interpreter)
16956 (python-python-command-args, python-jython-command-args)
16957 (python-which-shell, python-which-args, python-which-bufname)
16958 (python-file-queue, python-comint-output-filter-function)
16959 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16960 variables and functions.
16961
3e2d70fd
SM
169622011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16963
16964 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16965 (completion-in-region-mode): New minor mode.
16966 (completion-in-region): Use it.
16967 (completion-in-region--data, completion-in-region-mode-map): New vars.
16968 (completion-in-region--postch): New function.
16969 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16970 New vars.
16971 (completion--capf-wrapper): New function.
16972 (completion-at-point): Use it to track well-behavedness of
16973 hook functions.
16974 (completion-help-at-point): New command.
16975
f3e4086c
JM
169762011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16977
16978 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16979 syntax class to search for whitespace on a single line
16980 (Message-ID: <4D938140.4030905@redhat.com>).
16981
eb7ffc14
LL
169822011-03-30 Leo Liu <sdl.web@gmail.com>
16983
16984 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16985 New commands.
16986 (edit-abbrevs-map): Bind them here.
16987 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16988
d806ab68
KM
169892011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16990
16991 * allout.el (allout-hide-by-annotation, allout-flag-region):
16992 Reduce possibility of overlay leakage by making them volatile.
16993
16994 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16995 hash is not shared between buffers. Mode initialization is
16996 responsible for giving it a useful starting value.
16997 (allout-item-span): Reduce possibility of overlay leakage by
16998 making them volatile.
16999 (allout-widgets-count-buttons-in-region): Add diagnostic function
17000 for tracking down button overlay leaks.
17001
ea622834
LL
170022011-03-29 Leo Liu <sdl.web@gmail.com>
17003
17004 * ido.el (ido-read-internal): Use the default history var
17005 minibuffer-history if no HISTORY is specified.
17006
b62f8267
G
170072011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17008
03408648
SM
17009 * net/imap.el (imap-shell-open, imap-process-connection-type):
17010 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17011 Kerberos, SSL, other subprocesses.
17012
947b6566
LL
170132011-03-28 Leo Liu <sdl.web@gmail.com>
17014
17015 * abbrev.el (abbrev-table-empty-p): New function.
17016 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17017 nonempty ones. (Bug#5937)
17018
5ffb62aa
JD
170192011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17020
17021 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17022
7a097943
LL
170232011-03-27 Leo Liu <sdl.web@gmail.com>
17024
17025 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17026 for foreground and background colors.
17027 (ansi-color-make-color-map): Adapt.
17028
c5b40130
LL
170292011-03-25 Leo Liu <sdl.web@gmail.com>
17030
1f48f7d2
LL
17031 * midnight.el (midnight-time-float): Remove. Note it calculates
17032 the microsecond component incorrectly and seconds-to-time does the
17033 same job.
625897ec 17034 Remove redundant (require 'timer).
1f48f7d2 17035
c5b40130
LL
17036 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17037 (ido-completions): Remove unused arguments. (Bug#8329)
17038
d86d2721
SM
170392011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17040
17041 * minibuffer.el (completion--flush-all-sorted-completions):
17042 Remove itself from hook.
17043 (completion-at-point): Let the functions perform the completion
17044 immediately and return nil or t.
17045 * comint.el (comint-dynamic-complete-functions): Now identical to
17046 completion-at-point-functions.
17047 (comint-dynamic-list-input-ring): Remove unused var `index'.
17048 (comint--match-partial-filename, comint--unquote&expand-filename):
17049 New funs, split from comint-match-partial-filename.
17050 (comint-dynamic-complete): Use completion-at-point.
17051 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17052
e8974c48
DA
170532011-03-24 Drew Adams <drew.adams@oracle.com>
17054
17055 * thingatpt.el: Support `defun'.
17056
def71b5e
LL
170572011-03-23 Leo Liu <sdl.web@gmail.com>
17058
cb5af48e
LL
17059 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17060
def71b5e
LL
17061 * help-mode.el (help-mode-finish): Tweak regexp.
17062
927c53e7
GM
170632011-03-23 Glenn Morris <rgm@gnu.org>
17064
18d05bed
GM
17065 * eshell/esh-opt.el (eshell-eval-using-options):
17066 Do not bind unused local variable `eshell-option-stub'.
17067
927c53e7
GM
17068 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17069
9d0da923
JB
170702011-03-22 Juanma Barranquero <lekktu@gmail.com>
17071
17072 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17073 keymap variable in `with-no-warnings' to avoid a warning when the
17074 keymap has been already `defconst'ed.
17075
4b978a67
LL
170762011-03-22 Leo Liu <sdl.web@gmail.com>
17077
17078 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17079 encode all chars in abbrevs; otherwise use emacs-mule or
17080 utf-8-emacs. (Bug#8308)
17081
5fd62452
JB
170822011-03-22 Juanma Barranquero <lekktu@gmail.com>
17083
0b1596c6
JB
17084 * simple.el (backward-delete-char-untabify):
17085 Avoid warning about using `delete-backward-char'.
17086
5fd62452
JB
17087 * image.el (image-type-file-name-regexps): Make it variable.
17088 `imagemagick-register-types' modifies it, and the user may want
17089 to add new extensions for known image types.
17090 (imagemagick-register-types): Throw error if not using ImageMagick.
17091
0b4e93f1
LL
170922011-03-22 Leo Liu <sdl.web@gmail.com>
17093
17094 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17095 located before rcirc-prompt-end-marker.
17096 (rcirc-complete): Error if point is not after rcirc prompt.
17097 Handle the case when table is nil.
9882e214 17098 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17099
fccee4ab
CY
171002011-03-22 Chong Yidong <cyd@stupidchicken.com>
17101
17102 * custom.el (custom--inhibit-theme-enable): Make it affect only
17103 custom-theme-set-variables and custom-theme-set-faces.
17104 (provide-theme): Ignore custom--inhibit-theme-enable.
17105 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17106 (custom-enabling-themes): Delete variable.
d86d2721
SM
17107 (enable-theme): Accept only loaded themes as arguments.
17108 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17109 (custom-enabled-themes): Forbid themes from setting this.
17110 Eliminate use of custom-enabling-themes.
17111 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17112
af896da6
LL
171132011-03-21 Leo Liu <sdl.web@gmail.com>
17114
17115 * ido.el (ido-read-internal): Add ido-selected to history instead
17116 of user input.
17117
78f64af0
SM
171182011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17119
17120 * subr.el (deferred-action-list, deferred-action-function):
17121 Mark obsolete.
17122
b16ac1ec
LL
171232011-03-21 Leo Liu <sdl.web@gmail.com>
17124
810f7698
LL
17125 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17126 change on 2011-02-13 (bug#8309).
17127
b16ac1ec
LL
17128 * minibuffer.el (read-file-name-function): Change default value.
17129 (read-file-name--defaults): Rename from read-file-name-defaults.
17130 (read-file-name-default): Rename from read-file-name.
17131 (read-file-name): Call read-file-name-function.
17132
4e05e67e
GM
171332011-03-21 Glenn Morris <rgm@gnu.org>
17134
17135 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17136 Doc fixes.
17137
4359915b
CY
171382011-03-21 Chong Yidong <cyd@stupidchicken.com>
17139
17140 * cus-theme.el: Add missing provide statement.
17141 (customize-create-theme): Extract theme value correctly.
17142 (custom-theme-visit-theme): Autoload.
17143 (customize-create-theme): Prompt before inserting default faces.
17144
1fe275ee
JB
171452011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17146
17147 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17148 units and musical notes.
17149
cd394be1 171502011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17151
17152 * ido.el (ido-read-internal): Use completing-read-default.
17153 (ido-completing-read): Fix compatibility with completing-read.
17154
7d476bde
CO
171552011-03-20 Christian Ohler <ohler@gnu.org>
17156
17157 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17158 (ert-delete-all-tests): Use `called-interactively-p' rather than
17159 `interactive-p'.
17160 (ert--make-xrefs-region): Respect END.
17161
fe0fb33e
CY
171622011-03-19 Chong Yidong <cyd@stupidchicken.com>
17163
ff854b0b
CY
17164 * dired-aux.el (dired-create-directory): Signal an error if the
17165 directory already exists (Bug#8246).
17166
fe0fb33e
CY
17167 * facemenu.el (list-colors-display): Call list-faces-display
17168 inside with-help-window.
17169 (list-colors-print): Use display property to align the final
17170 column, instead of checking window-width.
17171
576bce32
EZ
171722011-03-19 Eli Zaretskii <eliz@gnu.org>
17173
4d61f28d 17174 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17175 windows-nt systems.
17176 (emerge-protect-metachars): Quote correctly for ms-dos and
17177 windows-nt systems.
17178
89c41d68 171792011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17180
17181 * info.el (info-initialize): Replace all uses of `:' with
17182 path-separator for compatibility with non-Unix systems.
17183 Cache quoting of path-separator. (Bug#8258)
17184
b14e3e21 171852011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17186
17187 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17188 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17189 (mouse-avoidance-mode): Fix typos in docstrings.
17190
4525ce3e
CY
171912011-03-19 Chong Yidong <cyd@stupidchicken.com>
17192
17193 * startup.el (package-subdirectory-regexp): Move from package.el.
17194 Omit \\` and \\', and let callers add them.
17195
17196 * emacs-lisp/package.el (package-strip-version)
17197 (package-load-all-descriptors): Add \\` and \\' to
17198 package-subdirectory-regexp before using it.
17199 (package-untar-buffer): New arg DIR; ensure that file untars only
17200 into this expected directory. Remove superfluous delete-region.
17201 (package-unpack): Caller changed.
17202 (package-tar-file-info): Use package-subdirectory-regexp.
17203
a904a09a 172042011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17205
a904a09a
SM
17206 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17207 diff-mode-shared-map (bug#8284).
17208 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17209
172102011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17211
17212 * calendar/time-date.el (format-seconds): Use assoc instead of
17213 assoc-string, since assoc-string doesn't exist in XEmacs.
17214
171fc304
JB
172152011-03-17 Juanma Barranquero <lekktu@gmail.com>
17216
17217 * custom.el (custom-known-themes): Reflow docstring.
17218 (custom-theme-load-path): Fix typo in docstring.
17219 (load-theme): Fix typo in error message.
17220 (custom-available-themes, custom-variable-theme-value):
17221 Use `let', not `let*'.
17222
d71990a1
JB
172232011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17224
17225 * calc/README: Mention inclusion of musical notes.
17226
17227 * calc/calc-units.el (calc-lu-quant): Rename from
17228 `calc-logunits-quantity'.
17229 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17230 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17231 (calc-db): Rename from `calc-dblevel'.
17232 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17233 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17234 (calc-np): Rename from `calc-nplevel'.
17235 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17236 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17237 (calc-lu-plus): Rename from `calc-logunits-add'.
17238 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17239 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17240 (calc-lu-minus): Rename from `calc-logunits-sub'.
17241 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17242 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17243 (calc-lu-times): Rename from `calc-logunits-mul'.
17244 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17245 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17246 (calc-lu-divide): Rename from `calc-logunits-div'.
17247 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17248 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17249
17250 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17251 functions being autoloaded.
17252
17253 * calc/calc.el (calc-lu-power-reference): Rename from
17254 `calc-logunits-power-reference'.
17255 (calc-lu-field-reference): Rename from
17256 `calc-logunits-field-reference'.
17257
7a71b18d
GM
17258 * calc/calc-help.el (calc-l-prefix-help):
17259 Mention musical note functions.
d71990a1 17260
40c2934b
SM
172612011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17262
17263 * minibuffer.el (completion-all-sorted-completions):
17264 Use :completion-cycle-penalty text property if present.
17265
b0911414
KM
172662011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17267
17268 * allout.el (allout-yank-processing): Adjust for new rebulleting
17269 regime so bullet being yanked is used without prompting the user
17270 for a choice.
17271
8a05b668
JB
172722011-03-16 Juanma Barranquero <lekktu@gmail.com>
17273
17274 * startup.el (command-line): Warn the user that _emacs is deprecated.
17275
5ba5fb81
JB
172762011-03-16 Juanma Barranquero <lekktu@gmail.com>
17277
17278 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17279 (delphi-verbose, delphi-comment-face, delphi-string-face)
17280 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17281 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17282 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17283 (delphi-new-comment-line, delphi-font-lock-defaults)
17284 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17285 Fix typos in docstrings.
17286
2dab465b
KM
172872011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17288
5ba5fb81 17289 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17290 Invert the roles of character and string values for INSTEAD, so a
17291 string is used for the more common case of a defaulting prompt.
17292
0adf5618
SM
172932011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17294
17295 * progmodes/ruby-mode.el (ruby-backward-sexp):
17296 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17297 * play/gamegrid.el (gamegrid-make-face):
17298 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17299 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17300 * notifications.el (notifications-notify):
17301 * net/xesam.el (xesam-search-engines):
17302 * net/quickurl.el (quickurl-list-insert):
17303 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17304
d72700e5
CY
173052011-03-15 Chong Yidong <cyd@stupidchicken.com>
17306
17307 * startup.el (command-line): Update package subdirectory regexp.
17308
49c5410a
SM
173092011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17310
c6eee9aa
SM
17311 * allout.el (allout-abbreviate-flattened-numbering)
17312 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17313
49c5410a
SM
17314 * subr.el (read-char-choice): Only show the cursor after the prompt,
17315 not after the answer.
17316
047b2bb9
KR
173172011-03-15 Kevin Ryde <user42@zip.com.au>
17318
17319 * help-fns.el (variable-at-point): Skip leading quotes, if any
17320 (bug#8253).
17321
0a57d256
SM
173222011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17323
17324 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17325 warning message.
17326
77c992bc
MA
173272011-03-14 Michael Albinus <michael.albinus@gmx.de>
17328
17329 * shell.el (shell): When called interactively, offer to change the
17330 shell file name on remote hosts.
17331
eebc475d
TZ
173322011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17333
17334 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17335 integration for LDAP parameters. The host, base, user or binddn,
17336 and secret tokens can be specified in a netrc file, for instance.
17337 This is optional because an `auth-source' parameter must be
17338 specified in the search attributes.
17339
9d05d1ba
JB
173402011-03-13 Juanma Barranquero <lekktu@gmail.com>
17341
17342 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17343
09d9db2c
GM
173442011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17345
17346 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17347 into declaration. Remove redundant and harmful binding.
17348
173492011-03-12 Eli Zaretskii <eliz@gnu.org>
17350
17351 * files.el (file-ownership-preserved-p): Pass `integer' as an
17352 explicit 2nd argument to `file-attributes'. If the file's owner
17353 is the Administrators group on Windows, and the current user is
17354 Administrator, consider that a match.
17355
17356 * server.el (server-ensure-safe-dir): Consider server directory
17357 safe on MS-Windows if its owner is the Administrators group while
17358 the current Emacs user is Administrator. Use `=' to compare
17359 numerical UIDs, since they could be integers or floats.
17360
219bd536
JB
173612011-03-12 Juanma Barranquero <lekktu@gmail.com>
17362
17363 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17364
f3afd36b
MA
173652011-03-12 Michael Albinus <michael.albinus@gmx.de>
17366
17367 Sync with Tramp 2.2.1.
17368
17369 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17370
17371 * net/trampver.el: Update release number.
17372
3aaaa6f1
SM
173732011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17374
94642599
SM
17375 * progmodes/compile.el (compilation--previous-directory): Fix up
17376 various nil/dead-marker mismatches (bug#8014).
17377 (compilation-directory-properties, compilation-error-properties):
17378 Don't call it at a position past the one we're about to change.
17379
3aaaa6f1
SM
17380 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17381 Disable obsolescence warnings in the file that declares it.
17382
14239447
KM
173832011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17384
099c39a4
JB
17385 * allout-widgets.el (allout-widgets-tally):
17386 Initialize allout-widgets-tally as a hash table rather than nil to
17387 prevent mode-line redisplay warnings. Also, clarify the module
17388 description and fix a comment typo.
14239447 17389
135e287c
JB
173902011-03-11 Juanma Barranquero <lekktu@gmail.com>
17391
17392 * help-fns.el (describe-variable): Don't complete keywords.
17393 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17394
ffbf300e
CY
173952011-03-10 Chong Yidong <cyd@stupidchicken.com>
17396
ba08b241
CY
17397 * emacs-lisp/package.el (package-version-join): Impose a standard
17398 string representation for pre/alpha/beta version lists.
17399 (package-unpack-single): Standardize the directory name by passing
17400 it through package-version-join.
17401 (package-strip-rcs-id): Accept any version string that does not
17402 signal an error in version-to-list.
ffbf300e 17403
f346fd6b
MA
174042011-03-10 Michael Albinus <michael.albinus@gmx.de>
17405
17406 * simple.el (delete-trailing-whitespace): Return nil for the
17407 benefit of `write-file-functions'.
17408
ccb55d27
GM
174092011-03-10 Glenn Morris <rgm@gnu.org>
17410
5ceaac0c
GM
17411 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17412
02da65ff
GM
17413 * vc/vc-git.el (vc-git-program): New option.
17414 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17415 (vc-git--call): Use it.
17416
b2f603cc
GM
17417 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17418
5772caab
GM
17419 * cus-edit.el (Custom-newline): If no button at point, look
17420 for a subgroup button at start-of-line. (Bug#2298)
17421
ccb55d27
GM
17422 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17423
ec6ecaed
JD
174242011-03-10 Julien Danjou <julien@danjou.info>
17425
17426 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17427 `cursor-type' is nil.
17428
9d5aa01d
JB
174292011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17430
17431 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17432
b6a5875b
KM
174332011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17434
7a71b18d 17435 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17436 preserves the existing header prefix, rebulleting it if necessary,
17437 rather than replacing it. This is necessary for proper operation
17438 of cooperative addons like allout-widgets.
1154d12e
JB
17439 (allout-make-topic-prefix, allout-rebullet-heading):
17440 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17441 value as alternate bullet to be used, instead of prompting the user
17442 for a bullet character.
b6a5875b 17443
ee545c35
MA
174442011-03-09 Michael Albinus <michael.albinus@gmx.de>
17445
d86d2721
SM
17446 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17447 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17448 `tramp-default-port'.
17449
c47971d7
DD
174502011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17451
17452 * net/rcirc.el (rcirc-handler-001): Remove useless
17453 with-rcirc-process-buffer.
17454 (rcirc-check-auth-status): Swap arguments to string-match.
17455
13522cb4
GM
174562011-03-09 Glenn Morris <rgm@gnu.org>
17457
0be6f4f1
GM
17458 * shell.el (shell-mode):
17459 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17460
13522cb4
GM
17461 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17462 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17463
515de2e3
CY
174642011-03-08 Chong Yidong <cyd@stupidchicken.com>
17465
17466 * emacs-lisp/package.el (package-refresh-contents)
17467 (package-menu-execute): Use condition-case-no-debug.
17468
b511b994
MA
174692011-03-08 Michael Albinus <michael.albinus@gmx.de>
17470
17471 * simple.el (shell-command-to-string): Use `process-file'.
17472
17473 * emacs-lisp/package.el (package-tar-file-info): Handle also
17474 remote files.
17475
d86d2721
SM
17476 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17477 Use `equal' for upload base check.
b511b994 17478
25bbfb31
AM
174792011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17480
17481 * textmodes/texinfo.el (texinfo-environments):
17482 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17483
be996521
GM
174842011-03-08 Glenn Morris <rgm@gnu.org>
17485
e9c8529f
GM
17486 * cus-start.el (cursor-in-non-selected-windows):
17487 Fix :set quoting oddness. (Bug#8192)
17488
be996521
GM
17489 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17490 in some setf expressions. (Bug#2159)
17491
2bb5649e
CY
174922011-03-08 Chong Yidong <cyd@stupidchicken.com>
17493
17494 * custom.el (custom-available-themes): Return themes in
17495 alphabetical order.
17496
33383987 17497See ChangeLog.15 for earlier changes.
e3d51b27
MR
17498
17499;; Local Variables:
17500;; coding: utf-8
e3d51b27
MR
17501;; End:
17502
acaf905b 17503 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17504
17505 This file is part of GNU Emacs.
17506
17507 GNU Emacs is free software: you can redistribute it and/or modify
17508 it under the terms of the GNU General Public License as published by
17509 the Free Software Foundation, either version 3 of the License, or
17510 (at your option) any later version.
17511
17512 GNU Emacs is distributed in the hope that it will be useful,
17513 but WITHOUT ANY WARRANTY; without even the implied warranty of
17514 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17515 GNU General Public License for more details.
17516
17517 You should have received a copy of the GNU General Public License
17518 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.