window.el: Minor dosctring enhancement (Bug#12172).
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
31cd32c9
BG
12012-08-13 Bastien Guerry <bzg@gnu.org>
2
3 * window.el (special-display-popup-frame): Small docstring
4 enhancement. (Bug#12172)
5
1b15d8ad
AS
62012-08-13 Andreas Schwab <schwab@linux-m68k.org>
7
31e54db0
AS
8 * tar-mode.el (tar-header-data-end): Only ignore size for files of
9 type 1-6.
10 (tar-header-block-summarize, tar-get-descriptor): Handle pax
11 extended headers.
12
1b15d8ad
AS
13 * files.el (hack-local-variables-filter): Remove useless eval.
14
35cb9c06
MR
152012-08-13 Martin Rudalics <rudalics@gmx.at>
16
17 * subr.el (with-selected-window): Fix last change.
18
1439443b
SM
192012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
20
21 * subr.el (internal--before-with-seleted-window)
22 (internal--after-with-seleted-window): New functions.
1b15d8ad
AS
23 (with-selected-window): Use them, to replace dependency on
24 tty-top-frame.
1439443b 25
0d9e2599
NN
262012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
27
28 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
29 binding for `newline'.
30 (ruby-move-to-block): When moving backward, stop at block opening,
31 not indentation.
32 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
33 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
34 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
35 `ruby-toggle-block'.
36
ba10c48c
SM
372012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
38
39 * ibuffer.el (ibuffer-do-toggle-read-only):
40 * dired.el (dired-toggle-read-only):
41 * buff-menu.el (Buffer-menu-toggle-read-only):
42 * bindings.el (mode-line-toggle-read-only):
43 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
44
9229c658
AS
452012-08-12 Andreas Schwab <schwab@linux-m68k.org>
46
47 * descr-text.el (describe-char): Put the overlays over the
48 "displayed as" character.
49
0fd09128
JB
502012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
51
52 * calc/calc-units.el (math-default-units-table): Give an
53 initial value.
54 (math-put-default-units): Add options to put composite units and
55 unit systems in the default units table.
56 (calc-convert-units): Send composite units to
57 `math-put-default-units' when appropriate.
58
9ff9402d 592012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 60
fbb5e336
GM
61 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
62
7aacaf15
GM
63 * tutorial.el (help-with-tutorial):
64 * emacs-lisp/copyright.el (copyright-update-directory):
65 * emacs-lisp/autoload.el (autoload-find-generated-file)
66 (autoload-find-file): Disable local eval: (for insurance).
67
f40b9f10
GM
68 * files.el (hack-local-variables-filter): If an eval: form is not
69 known to be safe, and enable-local-variables is :safe, then ignore
70 the form totally, as is done for non-eval forms. (Bug#12155)
71
daa9f1a6
SM
722012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
73
74 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
75 (rx-form): Simplify.
76
9cd80478
DG
772012-08-09 Dmitry Gutov <dgutov@yandex.ru>
78
0d9e2599
NN
79 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
80 ?, _, and : are symbol constituents, ! is not (but kinda should be).
81 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
82 (ruby-syntax-propertize-function): Adjust for changes in
83 `ruby-syntax-propertize-heredoc'.
84
852012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
86
9cd80478
DG
87 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
88 binding (use `M-;' instead).
9cd80478 89 (ruby-singleton-class-p): New function.
0d9e2599 90 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 91
d301b413
SM
922012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
93
94 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
95
1530c98e
CY
962012-08-10 Chong Yidong <cyd@gnu.org>
97
98 * progmodes/python.el (python-shell-get-process-name): Don't mess
99 with same-window-buffer-names.
100
101 * eshell/eshell.el (eshell-add-to-window-buffer-names)
102 (eshell-remove-from-window-buffer-names): Make obsolete.
103 (eshell-buffer-name, eshell-unload-hook): Don't use them.
104 (eshell): Just use pop-to-buffer-same-window instead.
105
e1293765
CY
1062012-08-10 Chong Yidong <cyd@gnu.org>
107
108 * bindings.el: Bind M-= back to count-words-region.
109
110 * simple.el (count-words-region): Accept a prefix arg for acting
111 on the entire buffer.
112 (count-words--buffer-message): New helper function.
113
e1894109
SM
1142012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
115
116 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
117 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
118 (event-start, event-end): Use posn-at-point to return a more
119 informative posn.
120 (posnp): New function.
121 * mouse.el (popup-menu-normalize-position): Use it.
122
c69f56a2
MY
1232012-08-10 Masatake YAMATO <yamato@redhat.com>
124
125 * mouse.el (popup-menu-normalize-position): New function.
126 (popup-menu): Use `popup-menu-normalize-position' to normalize
127 the form for POSITION argument.
128
129 * term/x-win.el (x-menu-bar-open):
130 Use the value returend from (posn-at-point) as position
131 passed to `popup-menu'.
132
31673780
JB
1332012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
134
135 * calc/calccomp.el (math-compose-expr): Add extra argument
136 indicating that parentheses should be put around products in
137 denominators. Give multiplication precedence over division during
138 composition.
139
dab7711b
CY
1402012-08-09 Chong Yidong <cyd@gnu.org>
141
dee4ef93
CY
142 * man.el (Man-switches, Man-sed-command, Man-awk-command)
143 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
144 (Man-untabify-command, manual-program): Convert to defcustom
145 (Bug#10429).
146
73e2bbc5
CY
147 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
148
3e861c8a
CY
149 * descr-text.el (describe-char): Don't insert extra newlines
150 (Bug#10127).
151
a9f5a649
CY
152 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
153 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
154
dab7711b
CY
155 * align.el (align-region): Delete temporary markers (Bug#10047).
156 Plus some code cleanups.
157
e0cc4efa
FEG
1582012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
159
160 * progmodes/python.el (python-pdbtrack-tracked-buffer)
161 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
162 (python-shell-internal-last-output): Use make-local-variable
163 instead of make-variable-buffer-local.
164
489af14f
FEG
1652012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
166
167 * progmodes/python.el: Enhancements to forward-sexp.
168 (python-nav-forward-sexp): Rename from
169 python-nav-forward-sexp-function.
c69f56a2
MY
170 (python-nav--forward-sexp, python-nav--backward-sexp):
171 New functions.
489af14f 172
0fc50303
JB
1732012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
174
175 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
176 modes and simplification modes.
177
5d65606a
SM
1782012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
179
180 * delsel.el (delete-selection-pre-hook): Don't propagate the
181 file-supersession signals (bug#12161).
182
4250fdf5
SM
1832012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
184
185 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
186 (cl-map-extents): Add compatibility aliases (bug#12135).
187
d9f9b465
MA
1882012-08-08 Michael Albinus <michael.albinus@gmx.de>
189
190 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
191 tests by `ignore-error'.
192 (tramp-find-shell): Open also a new shell, when cache is already
193 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
194
ce0fcefa
JL
1952012-08-08 Juri Linkov <juri@jurta.org>
196
197 * bookmark.el: Add `defaults' property to the bookmark record.
198 (bookmark-current-buffer): Doc fix.
199 (bookmark-make-record): Add `defaults' property with default values
200 to the bookmark record.
201 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
202 with `bookmark-insert-current-bookmark'.
203 (bookmark-set): Get `defaults' property from the bookmark record
204 and use it in `read-from-minibuffer'.
205 (bookmark-insert-current-bookmark): Remove function.
206
207 * info.el (Info-bookmark-make-record): Add `defaults' property
208 with values of canonical Info node name, the current Info file
209 name and the current Info node name. (Bug#12107)
210
53fa8652
JL
2112012-08-08 Juri Linkov <juri@jurta.org>
212
213 * files.el (basic-save-buffer): Use `buffer-name' as the default
214 of `read-file-name' when buffer is not visiting a file (bug#12128).
215
242c0a95
JL
2162012-08-08 Juri Linkov <juri@jurta.org>
217
218 * info.el (Info-isearch-search): Doc fix.
219 (Info-search): Change search-failed message from "initial node" to
220 "end of node" (bug#12078).
221 (Info-isearch-search): Change `isearch-string-state' to
222 `isearch--state-string'.
223
32ac3a6b
GM
2242012-08-08 Glenn Morris <rgm@gnu.org>
225
226 * language/persian.el: Remove file.
f8c1afd5 227 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
228 * loadup.el: Remove language/persian.
229
2c2d9c9c
OF
2302012-08-08 Óscar Fuentes <ofv@wanadoo.es>
231
232 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
233
2d79ec42
FEG
2342012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
235
236 * progmodes/python.el Fixed defsubst warning.
237 (python-syntax-context) Rename from python-info-ppss-context.
238 (python-syntax-context-type): Rename from
239 python-info-ppss-context-type.
240 (python-syntax-comment-or-string-p): Rename from
241 python-info-ppss-comment-or-string-p.
242
2bd255dd
JB
2432012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
244
245 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
246
c395097f
AS
2472012-08-07 Andreas Schwab <schwab@linux-m68k.org>
248
6125983e
AS
249 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
250 a defcustom that is quoted with backquote.
251
4250fdf5
SM
252 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
253 Fix handling of interactive spec when the body uses return.
651eaf36
AS
254 (math-do-arg-check, math-define-function-body): Use backquote forms.
255 * calc/calc-ext.el (math-defcache): Likewise.
256 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
257 * allout.el (allout-new-exposure): Likewise.
258 * calc/calcalg2.el (math-tracing-integral): Likewise.
259 * info.el (Info-last-menu-item): Likewise.
260 * emulation/vip.el (vip-loop): Likewise.
261 * textmodes/artist.el (artist-funcall): Likewise.
262 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
263 Construct menu-item directly.
264
4250fdf5
SM
265 * progmodes/autoconf.el (font-lock-syntactic-keywords):
266 Don't declare.
c395097f 267
5fb50dd3
CY
2682012-08-07 Chong Yidong <cyd@gnu.org>
269
270 * simple.el (deactivate-mark): Preserve text properties when
271 saving the primary selection (Bug#8384).
272
54eea618
KR
2732012-08-07 Kevin Ryde <user42@zip.com.au>
274
275 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
276 (woman-parse-numeric-value): On a bad .IP line, issue a warning
277 and continue processing (Bug#12110).
278
638eaeb9
SM
2792012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
280
281 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
282 syntax-propertize-function (bug#10095).
283
ea376861
SM
2842012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
285
f91b35be
SM
286 * help-fns.el (help-fns--key-bindings, help-fns--signature)
287 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
288 describe-function-1.
289 (describe-function-1): Use them. Move compiler macro after sig.
290 (help-fns--compiler-macro): Use function-get. Assume we're already in
291 standard-output. Adjust layout to new call order.
292
ea376861
SM
293 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
294 re-binding a symbol that has a symbol-macro (bug#12119).
295
d5be7bd0
MB
2962012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
297
298 * language/persian.el: New file. (Bug#11812)
299 * loadup.el: Add language/persian.el.
300
90749b53
CY
3012012-08-06 Chong Yidong <cyd@gnu.org>
302
303 * window.el (window--maybe-raise-frame): New function.
304 (window--display-buffer): Split off from here.
305 (display-buffer-reuse-window, display-buffer-pop-up-frame)
306 (display-buffer-pop-up-window, display-buffer-use-some-window):
307 Obey an inhibit-switch-frame action alist entry.
308 (display-buffer): Update doc.
309
310 * replace.el (occur-after-change-function): Avoid losing focus by
311 using the inhibit-switch-frame display parameter (Bug#12139).
312
ba7b0154
FEG
3132012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
314
315 Make internal shell process buffer names start with space.
316 * progmodes/python.el (python-shell-make-comint): Add optional
317 argument INTERNAL.
318 (run-python-internal): Use it.
319 (python-shell-internal-get-or-create-process): Check for new
320 internal buffer names.
321
5eaeacb5
GM
3222012-08-06 Glenn Morris <rgm@gnu.org>
323
e296d94b 324 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
325 Do less getting and setting of environment variables.
326
b7ccbdc2
CY
3272012-08-05 Chong Yidong <cyd@gnu.org>
328
777fe95e
CY
329 * proced.el (proced): Add substitution string to docstring to
330 trigger autoloading of the proced library on C-h f (Bug#1768).
331
4250fdf5
SM
332 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
333 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
334
335 * imenu.el (imenu-generic-expression): Move documentation here
336 from imenu--generic-function.
337 (imenu--generic-function): Refer to imenu-generic-expression.
338
9e3b7800 3392012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
340
341 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
342 indentation declaration.
343 (viper-loop): Add indentation declaration (Bug#7025).
344
e5d9c0d1
CY
3452012-08-05 Chong Yidong <cyd@gnu.org>
346
f0422feb
CY
347 * help-fns.el (describe-variable): Add hyperlink for
348 directory-local variables files. Improve buffer-local and
349 permanent-local reporting; suggested by MON KEY (Bug#6644).
350
351 * help-mode.el (help-dir-local-var-def): New button type.
352
e5d9c0d1
CY
353 * files.el (kill-buffer-hook): Provide a defvar.
354
a4f2deaa
GM
3552012-08-05 Glenn Morris <rgm@gnu.org>
356
357 * eshell/esh-ext.el (eshell/addpath):
358 Also update eshell-path-env. (Bug#12013)
359
a9dd5754
CY
3602012-08-05 Chong Yidong <cyd@gnu.org>
361
a4f2deaa 362 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 363
d014c740
CY
364 * fringe.el (fringe-styles): Add docstring.
365 (fringe--check-mode): New function.
366 (set-fringe-mode, set-fringe-style): Use it.
367 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
368
a9dd5754
CY
369 * files.el (set-auto-mode): Fix invalid setq call.
370
7c2dc8bd
SM
3712012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
372
373 * isearch.el: Misc simplification; use defstruct.
374 (isearch-mode-map): Dense maps now work like sparse ones.
375 (isearch--state): New defstruct.
376 (isearch-string-state, isearch-message-state, isearch-point-state)
377 (isearch-success-state, isearch-forward-state)
378 (isearch-other-end-state, isearch-word-state, isearch-error-state)
379 (isearch-wrapped-state, isearch-barrier-state)
380 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
381 replaced by defstruct's accessors.
382 (isearch--set-state): Rename from isearch-top-state and change
383 calling convention.
384 (isearch-push-state): Use new isearch--get-state.
385 (isearch-toggle-word): Disable regexp when enabling word.
386 (isearch-message-prefix): Remove unused arg _c-q-hack.
387 (isearch-message-suffix): Remove unused arg _ellipsis.
388
7fcc0070
AS
3892012-08-04 Andreas Schwab <schwab@linux-m68k.org>
390
391 * simple.el (list-processes--refresh): For a server use :host or
392 :local as the address.
97ad0769 393 (list-processes): Doc fix.
7fcc0070 394
00340faf
MN
3952012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
396
397 * lisp/mpc.el: Support password in host argument.
398 (mpc--proc-connect): Parse and use new password element.
399 Set mpc-proc variable instead of returning process.
400 (mpc-proc): Adjust accordingly.
401
6dad7178
EZ
4022012-08-03 Eli Zaretskii <eliz@gnu.org>
403
18949c2f
EZ
404 * whitespace.el (whitespace-display-mappings): Use Unicode
405 codepoints, instead of emacs-mule codepoints. See
406 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
407 for the details.
408
6dad7178
EZ
409 * files.el (file-truename): Don't skip symlink-chasing part on
410 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
411 Windows into the loop that recursively chases symlinks.
412 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
413 MS-DOS.
414
385b0198
CY
4152012-08-03 Chong Yidong <cyd@gnu.org>
416
6200f3c4
CY
417 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
418
385b0198
CY
419 * sort.el (sort-regexp-fields): Doc fix.
420
b9e74744
TH
4212012-08-03 Tassilo Horn <tsdh@gnu.org>
422
423 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
424 labels regex position point at the expected place.
425
41013cb4
MK
4262012-08-03 MON KEY <monkey@sandpframing.com>
427
428 * net/imap.el (imap-interactive-login, imap-authenticate)
429 (imap-mailbox-lsub, imap-mailbox-list)
430 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
431 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
432 (imap-parse-response): Doc fix.
433
0ffee616
JT
4342012-08-03 João Távora <joaotavora@gmail.com>
435
436 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
437 if sexp scanning does not move point (Bug#5734).
438
cfcc9cc8
TH
4392012-08-02 Tassilo Horn <tsdh@gnu.org>
440
441 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
442 Add listings, minted, and ctable packages.
443 (reftex-label-alist-builtin): Move listings, minted, and ctable
444 entries before LaTeX.
a01bbb84 445 (reftex-label-alist): Docfix.
cfcc9cc8 446
66ec2442
BG
4472012-08-02 Bastien Guerry <bzg@gnu.org>
448
449 * replace.el (occur): Fix docstring (bug#12122).
450
837b365b
GM
4512012-08-02 Glenn Morris <rgm@gnu.org>
452
453 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
454
e098de97
PE
4552012-08-02 Paul Eggert <eggert@cs.ucla.edu>
456
457 Obsolete alias inactivate-current-input-method-function (Bug#10150).
458 * international/mule-cmds.el: Create
459 inactivate-current-input-method-function as an obsolete alias for
460 deactivate-current-input-method-function. See Katsumi Yamaoka in
461 <http://bugs.gnu.org/10150#46>.
462
a0f95636
JB
4632012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
464
465 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
466 of nested `if's.
467
0d26d7c4
GM
4682012-08-01 Glenn Morris <rgm@gnu.org>
469
470 * progmodes/autoconf.el (autoconf-definition-regexp):
471 Add AH_TEMPLATE, adjust submatch numbering.
472 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
473 (autoconf-current-defun-function): Update for above change.
474 (autoconf-current-defun-function): First skip to end of current word.
475
b686ba06
RS
4762012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
477
478 * calendar/cal-html.el (cal-html-insert-agenda-days):
479 Fix typo. (Bug#12018)
480
0d49da68
FEG
4812012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
482
483 Shell processes: enhancements to startup and CEDET compatibility.
484 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
485 (python-shell-make-comint): accept-process-output at startup.
486 (run-python-internal): Set inferior-python-mode-hook to nil.
487 (python-shell-internal-get-or-create-process): call sit-for.
488 (python-preoutput-result): Add obsolete alias.
489 (python-shell-internal-send-string): Use it.
490 (python-shell-send-setup-code): Remove call to
491 accept-process-output.
492
f1a71c6e
AS
4932012-07-31 Andreas Schwab <schwab@linux-m68k.org>
494
495 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
496 (Bug#12108)
497
d2605269
JB
4982012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
499
500 * calc-mode.el (calc-basic-simplification-mode): Rename from
501 `calc-limited-simplification-mode'.
502 (calc-alg-simplification-mode): New function.
d66060f8 503 (calc-set-simplify-mode): Adjust message.
f1a71c6e 504
d2605269
JB
505 * calc.el (calc-set-mode-line): Adjust mode line display for
506 basic simplification mode.
507
508 * calc-help.el (calc-m-prefix-help): Update help message.
509
510 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
511 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
512
a3827a43
BG
5132012-07-31 Bastien Guerry <bzg@gnu.org>
514
515 * man.el (man): Fix comment. (bug#12101)
516
502e3f89
MR
5172012-07-31 Martin Rudalics <rudalics@gmx.at>
518
519 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
520 Don't return a non-nil value when no suitable buffer was found.
521
d7714961
FEG
5222012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
523
524 * progmodes/python.el (run-python-internal): Disable font lock for
525 internal shells.
526
1f45e27e
SM
5272012-07-30 Stefan Merten <smerten@oekonux.de>
528
529 * rst.el: Silence `checkdoc-ispell'.
530 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
531 (rst-official-version, rst-official-cvs-rev)
532 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
533 (rst-mode-map): New key binding.
534
0aee6912
PE
5352012-07-30 Paul Eggert <eggert@cs.ucla.edu>
536
537 Update .PHONY listings in makefiles.
538 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
539 autoloads, update-subdirs, updates, bzr-update, update-authors,
540 compile-onefile, compile-calc, backup-compiled-files,
541 compile-after-backup, compile-one-process, mh-autoloads,
542 bootstrap-clean, distclean, maintainer-clean.
543
9052f9f0
JB
5442012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
545
1823ac5a
JB
546 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
547 (calc-set-mode-line): Don't display "AlgSimp ".
548
549 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
550 (calc-lim-simplify-mode): New function.
551 (calc-set-simplify-mode): Default to 'alg.
552 (calc-default-simplify-mode): Make algebraic simplifications
553 the default.
554
555 * calc/calc-ext.el (calc-init-extensions): Remove binding for
556 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
557
8d7c7eed 558 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
559 indicate new simplification modes.
560
1823ac5a
JB
561 * calc/README: Mention new default simplification mode.
562
9052f9f0
JB
563 * calc/calc.el (math-normalize-error): New variable.
564 (math-normalize): Set `math-normalize-error' to t
565 when there's an error.
566
567 * calc/calc-alg.el (math-simplify): Don't simplify when
568 `math-normalize' returns an error.
569
20ba0cb4
EZ
5702012-07-29 Eli Zaretskii <eliz@gnu.org>
571
572 * international/mule-cmds.el (set-locale-environment): Revert last
573 change, since display-graphic-p returns nil when this function is
574 called during startup. Instead...
575
576 * term/w32console.el (terminal-init-w32console): ...setup the
577 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
578
a5dcc929
JL
5792012-07-29 Juri Linkov <juri@jurta.org>
580
581 * simple.el (goto-line): Don't display default line number in the
582 prompt because it should be displayed by `read-number' (bug#9952).
583 Add the current line number to the defaults of `goto-line' to
584 allow its easier modification by users with `M-n' (bug#9201).
585
586 * subr.el (read-number): Support multiple default values like in
587 other minibuffer reading functions. Replace `read' with
588 `string-to-number' for consistency with `number-to-string'.
589
72b255c7
PE
5902012-07-29 Paul Eggert <eggert@cs.ucla.edu>
591
592 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
593 * emulation/viper-init.el (viper-deactivate-input-method-action):
594 Rename from viper-inactivate-input-method-action.
595 (viper-deactivate-input-method):
596 Rename from viper-inactivate-input-method.
597 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
598 * international/mule-cmds.el (deactivate-input-method):
599 Rename from inactivate-input-method.
600 Also run input-method-deactivate-hook.
601 (deactivate-current-input-method-function):
602 Rename from inactivate-current-input-method-function.
603 (input-method-deactivate-hook): New hook.
604 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
605 (inactivate-input-method): Mark obsolete.
606
72b255c7
PE
607 * international/quail.el (quail-activate):
608 Also run quail-deactivate-hook.
609 (quail-deactivate): Rename from quail-inactivate.
610 * international/robin.el (robin-activate):
611 Also run robin-deactivate-hook.
612 (robin-deactivate): Rename from robin-inactivate.
613
2549c068
CY
6142012-07-29 Chong Yidong <cyd@gnu.org>
615
616 * simple.el (indicate-copied-region): New function.
617 (kill-ring-save): Split off from here.
618
619 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
620 (kill-rectangle): Set deactivate-mark to t on read-only error.
621
622 * register.el (copy-to-register, copy-rectangle-to-register):
623 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
624 (append-to-register, prepend-to-register):
625 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
626
627 * simple.el (async-shell-command-buffer): New defcustom.
628 (shell-command): Use it. (Bug#4719)
629
01bd1b0d
EZ
6302012-07-28 Eli Zaretskii <eliz@gnu.org>
631
632 * international/mule-cmds.el (set-locale-environment): In a
633 console session on MS-Windows, set up keyboard and terminal
634 encoding from the OEM codepage, not the ANSI codepage.
635 (Bug#12055)
636
a55739d3
CY
6372012-07-28 Chong Yidong <cyd@gnu.org>
638
639 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
640 gdb-get-location.
641
0e1a094f 6422012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
643
644 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
645 the alist (bug#12029).
646
20329d73
EZ
6472012-07-28 Eli Zaretskii <eliz@gnu.org>
648
649 * makefile.w32-in (custom-deps, finder-data, updates, compile)
650 (compile-always, compile-first)
651 ($(lisp)/calendar/cal-loaddefs.el)
652 ($(lisp)/calendar/diary-loaddefs.el)
653 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
654 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
655 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
656 instead of on update-subdirs.
657 (bootstrap-clean): Delete $(lisp)/subdirs.el.
658
345a2258
CY
6592012-07-28 Chong Yidong <cyd@gnu.org>
660
1eee6341
CY
661 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
662 directory if vc-deduce-backend returns nil (Bug#7350).
663
345a2258
CY
664 * simple.el (delete-trailing-lines): New option.
665 (delete-trailing-whitespace): Obey it (Bug#11879).
666
049a0936
DE
6672012-07-28 David Engster <deng@randomsample.de>
668
669 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
670 Explanation of new 'symbol-qnames feature in doc-strings.
671 (xml-maybe-do-ns): Return expanded names as plain symbols if
672 'symbol-qnames was provided in XML-NS argument (Bug#11916).
673 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
674
aa81af71
FEG
6752012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
676
677 Consistent completion in inferior python with emacs -nw.
678 * progmodes/python.el (inferior-python-mode): replace "<tab>"
679 binding in inferior-python-mode-map with "\t".
680 (python-shell-completion-complete-at-point)
681 (python-completion-complete-at-point): Remove interactive spec.
682
e827b1eb
JB
6832012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
684
685 * calc/calccomp.el (math-compose-expr): Undo previous change.
686
a90dfb95
FEG
6872012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
688
4250fdf5 689 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
690 run-python.
691 (python-shell-make-comint): Fix pop-to-buffer call.
692 (run-python): Autoload. New arg SHOW.
693 (python-shell-get-or-create-process): Do not pop python process
694 buffer.
695
32770973 6962012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
697
698 * notifications.el (notifications-on-action-signal)
699 (notifications-on-closed-signal): Use also the bus address for the map.
700 (notifications-notify, notifications-close-notification)
701 (notifications-get-capabilities): Add optional argument BUS.
702
86332df2
TH
7032012-07-27 Tassilo Horn <tsdh@gnu.org>
704
4250fdf5
SM
705 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
706 Add support for the lstlisting and minted environments, and for the
86332df2
TH
707 ctable macro.
708 * textmodes/reftex.el (reftex-compile-variables): Also recognize
709 labels written in keyvals syntax.
710
ca1302a4
JB
7112012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
712
713 * calc/calccomp.el (math-compose-expr): Use parentheses when
714 there is a product in the denominator of a fraction.
715
f8b91036
EZ
7162012-07-26 Eli Zaretskii <eliz@gnu.org>
717
718 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
719 ($(lisp)/calendar/diary-loaddefs.el)
720 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
721 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
722 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
723 rewritten while the autoload files are built at the same time,
724 which needs to load subdirs.el.
725
c8e5a42c
MR
7262012-07-26 Martin Rudalics <rudalics@gmx.at>
727
728 * mouse.el (popup-menu): Fix doc-string and re-indent code.
729 (mouse-drag-line): Don't exit tracking when a switch-frame or
730 switch-window event occurs (Bug#12006).
731
670d85ea
SM
7322012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
733
734 * mouse.el (popup-menu): Fix last change.
735
7abaf5cc
SM
7362012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
737
738 Autoload from Lisp with more care. Follow aliases when looking for
739 function properties.
740 * subr.el (autoloadp): New function.
741 (symbol-file): Use it.
742 (function-get): New function.
743 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
744 autoload-do-load.
745 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
746 (lisp-indent-function):
747 * emacs-lisp/gv.el (gv-get):
748 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
749 * emacs-lisp/byte-opt.el (byte-optimize-form):
750 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
751 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
752 Use function-get.
753 * emacs-lisp/cl.el: Don't propagate function properties any more.
754
755 * speedbar.el (speedbar-add-localized-speedbar-support):
756 * emacs-lisp/disass.el (disassemble-internal):
757 * desktop.el (desktop-load-file):
758 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
759 (describe-function-1):
760 * emacs-lisp/find-func.el (find-function-noselect):
761 * emacs-lisp/elp.el (elp-instrument-function):
762 * emacs-lisp/advice.el (ad-has-proper-definition):
763 * apropos.el (apropos-safe-documentation, apropos-macrop):
764 * emacs-lisp/debug.el (debug-on-entry):
765 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
766 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
767 * calc/calc.el (name): Use autoloadp & autoload-do-load.
768
b1364986
AA
7692012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
770
771 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
772 function, not an obsolete variable (Bug#12046).
773
67ada220
AS
7742012-07-25 Andreas Schwab <schwab@linux-m68k.org>
775
776 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
777
f08088e3
CS
7782012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
779
780 * emacs-lisp/pp.el (pp-display-expression): Select old selected
781 window only if it is still live (Bug#12034).
782
8137e7b3
MR
7832012-07-25 Martin Rudalics <rudalics@gmx.at>
784
785 * subr.el (redirect-frame-focus): Add advertised calling
786 convention (Bug#12030).
787
09ae5da1
PE
7882012-07-25 Paul Eggert <eggert@cs.ucla.edu>
789
790 Prefer typical American spelling for "acknowledgment".
791 * vc/add-log.el (change-log-acknowledgment): Rename from
792 change-log-acknowledgement, with an alias for the old name.
793
3cc5a3a8
JB
7942012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
795
796 * calc-alg.el (math-simplify-divide): Don't cross multiply
797 in an equation when the lhs is a variable.
798
b7af7f62
JD
7992012-07-24 Julien Danjou <julien@danjou.info>
800
801 * net/netrc.el (netrc-find-service-number, netrc-store-data):
802 Remove, unused.
803
ec1b09b1
EZ
8042012-07-23 Eli Zaretskii <eliz@gnu.org>
805
806 * startup.el (command-line): Don't display an empty user name in
807 the error message about non-existent home directory, when
808 init-file-user was set to an empty string. See
809 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
810 for the details and context.
811
b525fd8a
VB
8122012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
813
814 * ses.el (ses-cell-formula-aset): New macro.
815 (ses-cell-references-aset): New macro.
816 (ses-cell-p): New function.
817 (ses-rename-cell): Do no longer rely on complex operations like
818 ses-cell-set-formula or ses-set-cell to change the cell and handle
819 the undo at the same time, but rather use lower level new macros
820 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
821 the undo directly. Refresh the mode line.
822
2c73e345
LL
8232012-07-21 Leo Liu <sdl.web@gmail.com>
824
670d85ea
SM
825 * progmodes/cc-cmds.el (c-defun-name):
826 Use match-string-no-properties instead for consistency.
2c73e345 827
542dfbde
LL
8282012-07-20 Leo Liu <sdl.web@gmail.com>
829
3646bcd6
LL
830 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
831 (Bug#7879)
832
542dfbde
LL
833 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
834
25721031
CY
8352012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
836
837 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
838 * progmodes/bug-reference.el, misearch.el: Provide themselves
839 (bug#11915).
840
841 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
842 of narrowed buffer (bug#11966).
843
316e68a7
VB
8442012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
845
846 * ses.el (ses-rename-cell): Set new name also in reference list of
847 cells of which the renamed cell depends.
848
bbf0e7d9
MY
8492012-07-20 Masatake YAMATO <yamato@redhat.com>
850
851 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
852 to check whether menu-bar is shown or not. If not shown,
853 show the menu-bar as a popup menu instead of using tmm.
854 * mouse.el (popup-menu): Accept `point' as `position' argument.
855
c28662a8
DG
8562012-07-20 Dmitry Gutov <dgutov@yandex.ru>
857
858 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
859 up inside string symbol literal (bug#11923).
860
87ab808f
EZ
8612012-07-20 Eli Zaretskii <eliz@gnu.org>
862
863 * startup.el (fancy-startup-text): Read the whole tutorial, not
864 just its first 256 bytes. Prevents gibberish in display of the
865 tutorial title.
866
89dea803
DA
8672012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
868
869 Drop idle buffer compaction due to an absence of the
870 proved efficiency.
871 * compact.el: Remove.
872
8a4e6db8
SS
8732012-07-19 Sam Steingold <sds@gnu.org>
874
875 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
876 vc-bzr-pull & vc-bzr-merge-branch.
877 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
878 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
879 for consistency with compilation-error-regexp-alist.
880 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
881 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
882 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
883 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
884
5db81e33
SM
8852012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
886
887 * emacs-lisp/chart.el: Use lexical-binding.
888 (chart-emacs-storage): Don't hardcode the list of entries.
889
5b835e1d
DA
8902012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
891
892 Next round of tweaks caused by Fgarbage_collect changes.
893 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
894
9cd47b72
DA
8952012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
896
897 Compact buffers when idle.
898 * compact.el: New file.
899
1d6fc0df
SM
9002012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
901
902 * subr.el (eventp): Presume that if it looks vaguely like an event,
903 it's an event (bug#10190).
904
1d29cc7d
FEG
9052012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
906
907 Enhancements to ppss related code (thanks Stefan).
908 * progmodes/python.el (python-indent-context)
909 (python-indent-calculate-indentation, python-indent-dedent-line)
910 (python-indent-electric-colon, python-nav-forward-block)
911 (python-mode-abbrev-table)
1d6fc0df 912 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
913 for ppss context.
914 (python-info-continuation-line-p): Cleanup.
915 (python-info-ppss-context): Do not catch 'quote.
916 (python-info-ppss-context-type)
917 (python-info-ppss-comment-or-string-p): Simplify.
918
d583cbe6
FEG
9192012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
920
921 * progmodes/python.el: Enhancements to eldoc support.
922 (python-info-current-symbol): New function.
923 (python-eldoc-at-point): Use python-info-current-symbol.
924 (python-info-current-defun): Fix cornercase on first defun scan.
925 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
926 and signal error when no inferior python process is available.
927
eceb6feb
DG
9282012-07-18 Dmitry Gutov <dgutov@yandex.ru>
929
930 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
931 assume it's always t.
932 (vc-git-registered): Remove caching, the function is only called
933 once.
934 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
935
4c8ff0fe
CY
9362012-07-18 Chong Yidong <cyd@gnu.org>
937
19fb7186
CY
938 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
939
9587c688
CY
940 * simple.el (count-words): Report on narrowing (Bug#9959).
941
0fe776a1
CY
942 * bindings.el: Bind M-= to count-words.
943
4c8ff0fe
CY
944 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
945
7f5331cc
MY
9462012-07-18 Masatake YAMATO <yamato@redhat.com>
947
948 * progmodes/sh-script.el (sh-imenu-generic-expression):
949 Capture a function with `function' keyword and without parentheses
950 like "function FOO" (bug#11856).
951
2dc2a609
TH
9522012-07-18 Tassilo Horn <tassilo@member.fsf.org>
953
954 * window.el (split-window-sensibly): Make WINDOW argument
955 optional.
956
439f7677
CY
9572012-07-18 Chong Yidong <cyd@gnu.org>
958
9aeb25a6
CY
959 * subr.el (keyboard-translate): Doc fix (Bug#7261).
960
439f7677
CY
961 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
962 and make C-x 8 RET exit isearch (Bug#11439).
963
964 * international/iso-transl.el: Move isearch-mode-map key
965 definitions to isearch.el.
966
12999ea8
SM
9672012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
968
969 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
970 (eieio-defclass): Use gv-define-setter when possible.
971
3ab6e069
DA
9722012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
973
974 Reflect recent changes in Fgarbage_collect.
975 * emacs-lisp/chart.el (chart-emacs-storage): Change to
976 reflect new format of data returned by Fgarbage_collect.
977
0a60bc10
FEG
9782012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
979
980 New utility functions + python-info-ppss-context fix (Bug#11910).
981 * progmodes/python.el (python-info-beginning-of-block-statement-p)
982 (python-info-ppss-comment-or-string-p): New functions.
983 (python-info-ppss-context): Small fix for string check.
984
6dafa0d5
JL
9852012-07-17 Juri Linkov <juri@jurta.org>
986
987 * dired-aux.el (dired-do-async-shell-command): Doc fix.
988 (dired-do-async-shell-command): Don't add `*' at the end of the
989 command (Bug#11815).
990 (dired-do-shell-command): Doc fix.
991 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
992 Join the individual commands using either "&" or ";" as the
993 separator depending on the values of these trailing characters.
994 At the end re-add the trailing "&". (Bug#10598)
995
996 * simple.el (async-shell-command): Sync the interactive spec with
997 `shell-command'. Doc fix.
998 (shell-command): Doc fix.
999
b19dd9d1
JL
10002012-07-17 Juri Linkov <juri@jurta.org>
1001
1002 * descr-text.el (describe-char): Fix format args. (Bug#10129)
1003
bcdc27d7 10042012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 1005
bcdc27d7 1006 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
1007 * progmodes/python.el (python-nav-beginning-of-statement):
1008 Rename from python-nav-statement-start.
bcdc27d7
FEG
1009 (python-nav-end-of-statement): Rename from
1010 python-nav-statement-end.
1011 (python-nav-beginning-of-block): Rename from
1012 python-nav-block-start.
1013 (python-nav-end-of-block): Rename from python-nav-block-end.
1014
191da00e
FEG
10152012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
1016
7f5331cc
MY
1017 * progmodes/python.el (python-shell-send-string-no-output):
1018 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1019 future interactions (Bug#11868).
1020
4dc7c8d5 10212012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1022
88ecaf8f
SM
1023 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1024
ef501ef0
SM
1025 * emacs-lisp/elint.el (elint-find-args-in-code):
1026 Use help-function-arglist, so as to handle lexical byte-code.
1027
aa7aaf8f
SM
1028 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1029 change (bug#11826).
1030
45fd731c
SM
10312012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1032
2143fa32
SM
1033 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1034 Avoid spuriously marking the buffer as modified because of c-is-sws.
1035
efc26dbe
SM
1036 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1037 as not-a-comment (bug#11946).
1038
f5695c9a
SM
1039 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1040 for uninterned vars.
1041
1042 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1043 Use read-event since we don't really want to read chars but bytes.
1044
45fd731c
SM
1045 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1046 $$..$$ but also $..$ using regexps (bug#11953).
1047 Use tex-verbatim for \url and \path.
1048 (tex-font-lock-keywords): Define as defconst like the others.
1049 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1050
ddfc8813
RK
10512012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1052
1053 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1054 alias for insert-char.
1055
758e556a
FEG
10562012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1057
1058 * progmodes/python.el: Simplified imenu implementation.
1059 (python-nav-jump-to-defun): Remove command.
1060 (python-mode-map): Use `imenu' instead.
1061 (python-nav-list-defun-positions-cache)
1062 (python-imenu-include-defun-type, python-imenu-make-tree)
1063 (python-imenu-subtree-root-label, python-imenu-index-alist):
1064 Remove vars.
1065 (python-nav-list-defun-positions, python-nav-read-defun)
1066 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1067 (python-imenu-make-tree, python-imenu-create-index):
1068 Remove functions.
758e556a
FEG
1069 (python-mode): Update to interact with imenu by setting
1070 `imenu-extract-index-name-function' only.
1071
032d23ab
FEG
10722012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1073
1074 * progmodes/python.el: Enhancements to navigation commands.
1075 (python-nav-backward-sentence)
1076 (python-nav-forward-sentence): Remove.
1077 (python-nav-backward-statement, python-nav-forward-statement)
1078 (python-nav-statement-start, python-nav-statement-end)
1079 (python-nav-backward-block, python-nav-forward-block)
1080 (python-nav-block-start, python-nav-block-end)
1081 (python-nav-forward-sexp-function)
1082 (python-info-current-line-comment-p)
1083 (python-info-current-line-empty-p): New functions.
1084 (python-indent-context): Use `python-nav-statement-start'.
1085
01795a1b
MA
10862012-07-16 Michael Albinus <michael.albinus@gmx.de>
1087
9328d9aa
MA
1088 * eshell/em-ls.el (eshell/ls): Use `apply'.
1089
1090 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1091 multi-hops, instead of Tramp internals.
1092
01795a1b
MA
1093 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1094
1095 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1096 when F1 and F2 are located on different hosts.
1097
63408057
CY
10982012-07-14 Chong Yidong <cyd@gnu.org>
1099
1100 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1101 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1102 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1103 (xterm-mouse--read-event-sequence-1000)
1104 (xterm-mouse--read-event-sequence-1006): New functions. For old
1105 mouse protocol, handle M-mouse-X events correctly.
1106 (xterm-mouse-event): New arg specifying mouse protocol.
1107 (turn-on-xterm-mouse-tracking-on-terminal)
1108 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1109 sequence to toggle extended coordinates on newer XTerms.
1110 This appears to be harmless on terminals which do not support this.
63408057 1111
cd276f6e
LL
11122012-07-14 Leo Liu <sdl.web@gmail.com>
1113
28ca98ac
LL
1114 Add fringe bitmap indicators for flymake. (Bug#11253)
1115 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1116 (flymake-make-overlay): New arg BITMAP.
1117 (flymake-error-bitmap, flymake-warning-bitmap)
1118 (flymake-fringe-indicator-position): New user variables.
1119
cd276f6e
LL
1120 * fringe.el: New bitmap exclamation-mark.
1121
04408072
JD
11222012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1123
1124 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1125 also (Bug#7879).
1126
b5cf7fc4
CY
11272012-07-14 Chong Yidong <cyd@gnu.org>
1128
1129 * electric.el (electric-pair-post-self-insert-function): Fix pair
1130 insertion in empty-region case (Bug#11520).
1131
be755c79
RT
11322012-07-14 Chong Yidong <cyd@gnu.org>
1133
45fd731c
SM
1134 * bindings.el: Consolidate ctl-x-r-map bindings.
1135 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1136
1137 * rect.el, register.el: Move bindings to bindings.el.
1138
11392012-07-14 Reuben Thomas <rrt@sc3d.org>
1140
1141 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1142
7f5b3198
AS
11432012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1144
1145 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1146
97662200
JB
11472012-07-13 Juanma Barranquero <lekktu@gmail.com>
1148
80185fed
JB
1149 * bindings.el (top): Use `mapc' instead of `mapcar'.
1150
97662200
JB
1151 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1152
2bb1ae55
MA
11532012-07-13 Michael Albinus <michael.albinus@gmx.de>
1154
1155 * progmodes/sql.el (sql-comint): Suppress the check for program on
1156 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1157 (Bug#11908)
1158
dea31bd3
CY
11592012-07-13 Chong Yidong <cyd@gnu.org>
1160
1161 * bindings.el: Assign a non-nil permanent-local property to
1162 per-buffer variables which lack a default value (Bug#11930).
1163
1164 * help-fns.el (describe-variable): In the "automatically becomes
1165 local" notice, take note of permanent-local variables.
1166
b68b3337
CY
11672012-07-13 Chong Yidong <cyd@gnu.org>
1168
1169 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1170 to allow printing the message when called from Lisp.
1171
1172 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1173 Remove toggle-read-only.
1174
1175 * bs.el (bs-toggle-readonly):
45fd731c
SM
1176 * buff-menu.el (Buffer-menu-toggle-read-only):
1177 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1178
1179 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1180 Remove with-no-warnings around toggle-read-only.
1181 (ffap-read-only, ffap-read-only-other-window)
1182 (ffap-read-only-other-frame): Callers changed.
1183
1184 * help-mode.el: Don't require view package.
1185 (help-mode-finish): Set buffer-read-only instead of calling
1186 toggle-read-only.
1187
1188 * bindings.el (mode-line-toggle-read-only):
1189 * dired.el (dired-toggle-read-only):
1190 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1191 with non-nil second arg.
1192
1193 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1194 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1195 directly.
1196
56bc1586
EZ
11972012-07-12 Eli Zaretskii <eliz@gnu.org>
1198
1199 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1200 not incf.
1201
a464a6c7
SM
12022012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1203
1204 More CL cleanups and reduction of use of cl.el.
1205 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1206 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1207 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1208 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1209 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1210 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1211 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1212 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1213 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1214 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1215 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1216 * eshell/em-cmpl.el, eshell/em-banner.el:
1217 * calendar/parse-time.el: Use cl-lib.
1218 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1219 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1220 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1221 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1222 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1223 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1224 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1225 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1226 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1227 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1228 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1229 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1230 `lambda' rather than with `quote'.
1231 (eshell-do-opt): Adjust accordingly.
1232 (eshell-process-option): Simplify.
1233 * eshell/esh-var.el:
1234 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1235 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1236 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1237 to `pcase--dontcare'.
1238 * emacs-lisp/cl.el (labels): Mark obsolete.
1239 (cl--letf, letf): Move to cl-lib.
1240 (cl--letf*, letf*): Remove.
1241 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1242 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1243 (cl-progv): Rewrite.
1244 (cl--letf, cl-letf): Move from cl.el.
1245 (cl-letf*): New macro.
1246 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1247
7ad4afe1
MA
12482012-07-11 Michael Albinus <michael.albinus@gmx.de>
1249
1250 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1251
9af57756
CY
12522012-07-11 Chong Yidong <cyd@gnu.org>
1253
1254 * vc/log-edit.el (log-edit-vc-backend): New variable.
1255 (log-edit): Doc fix.
1256
1257 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1258 argument of log-edit to set up all local variables.
1259 (vc-start-logentry): New optional arg specifying VC backend.
1260
1261 * vc/vc.el (vc-checkin): Use it.
1262 (vc-deduce-fileset): Handle Log Edit buffers.
1263 (vc-diff): Make first argument optional too.
1264
1265 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1266
8477cc7a
MA
12672012-07-10 Michael Albinus <michael.albinus@gmx.de>
1268
1269 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1270 command, just in case. The function is not needed anymore.
1271 (eshell-external-command): Do not call `eshell-remote-command'.
1272
19faa8e8
SM
12732012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1274
f58e0fd5
SM
1275 Reduce use of (require 'cl).
1276 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1277 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1278 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1279 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1280 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1281 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1282 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1283 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1284 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1285 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1286 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1287 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1288 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1289 (byte-compile-unfold-bcf, byte-compile-check-variable):
1290 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1291 (byte-compile-nilconstp):
1292 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1293 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1294
2519d43a
SM
1295 * emacs-lisp/gv.el (cond): Make it a valid place.
1296 (if): Simplify slightly.
1297
19faa8e8
SM
1298 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1299 (pcase--self-quoting-p): New function.
1300 (pcase--u1): Use it.
1301
c4907a5e
GM
13022012-07-10 Glenn Morris <rgm@gnu.org>
1303
1304 * emacs-lisp/authors.el (authors-fixed-entries):
1305 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1306
c4444d16
PE
13072012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1308
1309 Rename configure.in to configure.ac (Bug#11603).
1310 * emacs-lisp/authors.el (authors-canonical-file-name):
1311 * progmodes/autoconf.el (autoconf-mode):
1312 Prefer configure.ac to configure.in.
1313
d75be97d
CY
13142012-07-08 Chong Yidong <cyd@gnu.org>
1315
01ac65bd
CY
1316 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1317 Implement the mouse-1-click-follows-link handling properly.
1318
1319 * info.el (Info-link-keymap): Use follow-link mechanism for
1320 header-line links (Bug#374).
1321
d75be97d
CY
1322 * simple.el (deactivate-mark): Do not set the primary selection
1323 if another program has acquired it (Bug#11772).
1324
87a92845 13252012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1326
1327 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1328 (woman-decode-region): Replace escaped-escapes without destroying
1329 bold or underline (Bug#11552).
87a92845 1330 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1331
621b9d6c
CY
13322012-07-07 Chong Yidong <cyd@gnu.org>
1333
1334 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1335 (interprogram-cut-function, interprogram-paste-function):
1336 Mention that we typically mean the clipboard.
621b9d6c 1337
133a11fc
GM
13382012-07-06 Glenn Morris <rgm@gnu.org>
1339
0d27a45e
GM
1340 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1341
133a11fc
GM
1342 * files.el (toggle-read-only): Restrict message to interactive use.
1343
07b151f1
MA
13442012-07-06 Michael Albinus <michael.albinus@gmx.de>
1345
1346 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1347
1348 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1349
211b896b
GM
13502012-07-06 Glenn Morris <rgm@gnu.org>
1351
50394322
GM
1352 * Makefile.in (compile-one-process): Rename from "recompile".
1353
211b896b
GM
1354 * Makefile.in (bzr-update): "compile" is the same as "recompile
1355 autoloads", but parallelizable, so use that instead.
1356
4737eec9
DG
13572012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1358
1359 * window.el (quit-window): Always restore window height when
8137e7b3 1360 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1361
226c3633 13622012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1363
1364 * simple.el (kill-whole-line): Doc tweak.
1365
226c3633 13662012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1367
1368 * files.el (file-relative-name): Compare file names
1369 case-insensitively if on MS-Windows or MS-DOS, or if
1370 read-file-name-completion-ignore-case is non-nil. Don't use
1371 case-fold-search for this purpose. (Bug#11827)
1372
4dc7c8d5
SM
13732012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1374
1375 * calendar/cal-dst.el (calendar-current-time-zone):
1376 Return calendar-current-time-zone-cache if non-nil.
1377
13782012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 13792012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1380
19faa8e8
SM
1381 * calendar/cal-dst.el (calendar-current-time-zone):
1382 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1383
60198fc9
GM
13842012-07-06 Glenn Morris <rgm@gnu.org>
1385
1386 * Makefile.in (cvs-update): Remove old alias.
1387
957b3189
MA
13882012-07-05 Michael Albinus <michael.albinus@gmx.de>
1389
1390 Sync with Tramp 2.2.6-pre.
1391
1392 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1393 compatible declaration.
1394
19faa8e8
SM
1395 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1396 Protect `list-load-path-shadows' call.
957b3189
MA
1397
1398 * net/tramp-compat.el (top): Require packages, which aren't
1399 autoloaded anymore for XEmacs. Protect call of
1400 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1401 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1402 it hurts at least for SXEmacs.
1403 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1404 standard-value for `temporary-file-directory'.
1405
1406 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1407 Redirect stderr to /dev/null.
1408 (tramp-sh-handle-write-region): uid and gid can be floats.
1409 Reported by Russell Sim <russell.sim@gmail.com>.
1410 (tramp-sh-handle-vc-registered): Hide errors.
1411 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1412 and `start-file-process'.
1413 (tramp-maybe-open-connection): Check also whether `non-essential'
1414 is bound.
1415
566df3fc
CY
14162012-07-04 Chong Yidong <cyd@gnu.org>
1417
1418 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1419 (xml-parse-tag): Likewise, and avoid changing entity tables.
1420 (xml-syntax-table): Define from scratch, making sure not to give
1421 x2000 and other Unicode spaces whitespace syntax, since those are
1422 not spaces in XML.
1423 (xml-parse-fragment): Delete unused function.
1424 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1425 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1426 (xml-entity-ref, xml-pe-reference-re)
1427 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1428 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1429 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1430 (xml-entity-value-re): Use syntax references in regexps where
1431 possible; no need to define inside a let-binding.
1432 (xml-parse-dtd): Use xml-pe-reference-re.
1433 (xml-entity-or-char-ref-re): New defconst.
1434 (xml-parse-string, xml-substitute-special): Use it.
1435
30eabd7a
SM
14362012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1437
0781098a
SM
1438 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1439 (find-file--read-only): New function.
1440 (find-file-read-only, find-file-read-only-other-window)
1441 (find-file-read-only-other-frame): Use it.
1442 (insert-file-contents-literally): Don't `fset'.
1443 (get-free-disk-space): Use locate-dominating-file.
1444
b5771c0d
SM
1445 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1446 function is already compiled.
1447
30eabd7a
SM
1448 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1449
b4886f6e
MA
14502012-07-03 Michael Albinus <michael.albinus@gmx.de>
1451
1452 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1453 files on the same host.
1454
b9d82339
AS
14552012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1456
1457 * help-fns.el (describe-function-1): Only call
1458 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1459
a76e6535
CY
14602012-07-03 Chong Yidong <cyd@gnu.org>
1461
1462 * xml.el: Protect parser against XML bombs.
1463 (xml-entity-expansion-limit): New variable.
1464 (xml-parse-string, xml-substitute-special): Use it.
1465 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1466
b544fef2
GM
14672012-07-03 Glenn Morris <rgm@gnu.org>
1468
1469 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1470 Allow linking to specific messages in debbugs reports (eg 123#5).
1471
a7aef6f5
CY
14722012-07-02 Chong Yidong <cyd@gnu.org>
1473
1474 * xml.el: Fix entity and character reference expansion, allowing
1475 them to expand into markup as per XML spec.
1476 (xml-default-ns): New variable.
1477 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1478 (xml-parse-region): Make first two arguments optional.
1479 Discard text properties.
1480 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1481 All callers changed.
a7aef6f5
CY
1482 (xml-parse-tag): Call xml-parse-tag-1. For backward
1483 compatibility, this function should not modify buffer contents.
1484 (xml-parse-tag-1): Fix opening-tag regexp.
1485 (xml-parse-string): Rewrite, handling entity and character
1486 references properly.
1487 (xml--entity-replacement-text): Signal an error if a parameter
1488 entity is undefined.
1489
3df31c9f
SM
14902012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1491
2b5208f1
SM
1492 * comint.el (comint-output-filter): Filter out repeated prompts.
1493
3df31c9f
SM
1494 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1495 and file-name-absolute-p.
1496 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1497 internal calls.
1498
e3ac1281
PE
14992012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1500
1501 Spelling fixes.
1502 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1503 Rename from byte-compile--refiy-function. All uses changed.
1504
fbf2e7ad
CY
15052012-07-01 Chong Yidong <cyd@gnu.org>
1506
1507 * xml.el (xml--parse-buffer): New function. Move most of
1508 xml-parse-region here.
1509 (xml-parse-region): Copy region into a temporary buffer, since
1510 parameter entity substitution requires changing buffer contents.
1511 Use xml--parse-buffer.
1512 (xml-parse-file): Use xml--parse-buffer.
1513 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1514 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1515
9bf0aa15
GM
15162012-06-30 Glenn Morris <rgm@gnu.org>
1517
bbce2853
GM
1518 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1519
9bf0aa15
GM
1520 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1521 Remove outdated and unnecessary dbus declarations.
1522
0d23c240
EZ
15232012-06-30 Eli Zaretskii <eliz@gnu.org>
1524
1525 * emacs-lisp/timer.el (timer-until): Subtract results of
1526 float-time, instead of taking float-time of the result of
1527 time-subtract, since float-time signals an error for negative time
1528 arguments.
1529
b3218de1
CY
15302012-06-30 Chong Yidong <cyd@gnu.org>
1531
1532 * xml.el (xml-*-re): Convert defvars into defconsts, and
1533 eval-and-compile them so eval-and-compile works on derivatives.
1534 (xml--entity-replacement-text): Use eval-and-comple.
1535
a40c87a0
MA
15362012-06-30 Michael Albinus <michael.albinus@gmx.de>
1537
1538 * vc/vc-git.el (vc-git-registered): Use cache property
1539 `git-registered'.
1540 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1541 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1542 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1543
ac87de97
DG
15442012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1545
1546 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1547 removed (likely outside Emacs). (Bug#11757)
ac87de97 1548
ac10fe06
SM
15492012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1550
3df31c9f 1551 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1552
7f3fbd5d
CY
15532012-06-30 Chong Yidong <cyd@gnu.org>
1554
1555 * xml.el: Implement XML parameter entities.
1556 (xml-parameter-entity-alist): New variable.
1557 (xml-parse-region, xml-parse-fragment): Preserve previous values
1558 of xml-entity-alist and xml-parameter-entity-alist, so that
1559 repeated calls on different documents do not change them.
1560 (xml-parse-tag): Fix doctype regexp.
1561 (xml--entity-replacement-text): New function.
1562 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1563 properly requires url retrieval which is unimplemented.
1564 (xml-escape-string): Doc fix.
1565
3cfbebba
SM
15662012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1567
1568 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1569
2af3565e
DA
15702012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1571
1572 * fringe.el (fringe-mode): Doc fix.
1573
929df0e7
MA
15742012-06-29 Michael Albinus <michael.albinus@gmx.de>
1575
1576 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1577 is non-nil.
1578 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1579 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1580
c8d3a25c 15812012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1582
c8d3a25c
GM
1583 * calendar/cal-dst.el (calendar-current-time-zone):
1584 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1585
c8d3a25c 15862012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1587
1588 * progmodes/which-func.el (which-func-format):
1589 Add mouse-face. (Bug#11698)
1590
c8d3a25c
GM
15912012-06-29 Leo Liu <sdl.web@gmail.com>
1592
1593 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1594
15952012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1596
1597 * minibuffer.el (minibuffer-confirm-exit-commands):
1598 Add completion-at-point (bug#11725).
1599
16002012-06-29 Glenn Morris <rgm@gnu.org>
1601
1602 * progmodes/f90.el (f90-font-lock-keywords-2):
1603 Add some preprocessor elements. (Bug#10499)
1604
16052012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1606
1607 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1608 Use syntax-propertize (bug#11739).
1609
2badeec4
JB
16102012-06-28 Juanma Barranquero <lekktu@gmail.com>
1611
1612 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1613
ae4969c2
JD
16142012-06-28 Julien Danjou <julien@danjou.info>
1615
1616 * term.el (term-handle-colors-array): Use a set of new faces to
1617 color the terminal. Also uses :inverse-video property.
1618 (term-default-fg-color): Set to nil by default, deprecate in favor
1619 of `term-face'.
1620 (term-default-bg-color): Set to nil by default, deprecate in favor
1621 of `term-face'.
1622 (term-current-face): Use `term-face' by default.
1623 (term-bold-attribute): Variable deleted.
1624
1c9bd870
GM
16252012-06-28 Glenn Morris <rgm@gnu.org>
1626
1627 * simple.el (completion-list-mode-finish):
1628 Don't use toggle-read-only. (Since completion-list-mode has
1629 a special mode-class, it wasn't doing anything extra anyway.)
1630
c207708c
SM
16312012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1632
1633 Make inlining of other-mode interpreted functions work (bug#11799).
1634 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1635 (byte-compile): Use it to fix compilation of lexical-binding closures.
1636 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1637 function, if needed.
1638
3fd56834
SM
16392012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1640
04901786
SM
1641 * help-mode.el (help-make-xrefs): Don't just withstand
1642 cyclic-variable-indirection but any error in documentation-property.
1643
1ec4b7b2
SM
1644 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1645 memory use.
1646 * bindings.el (bindings--define-key): New function.
1647 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1648 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1649 * bindings.el: Use it to purecopy define-key bindings.
1650
e309e2a5
SM
1651 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1652
d5c6faf9
SM
1653 * emacs-lisp/cl.el (flet): Mark obsolete.
1654 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1655 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1656 * progmodes/js.el (js-c-fill-paragraph):
1657 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1658 (ebrowse-switch-member-buffer-to-derived-class):
1659 * play/5x5.el (5x5-solver): Use cl-flet.
1660
6e9590e2
SM
1661 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1662 (cl--symbol-function): New macro.
1663 (cl--letf, cl--letf*): Use it.
1664
3fd56834
SM
1665 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1666 Strip "toggle-" if any.
1667
35ff222c
GM
16682012-06-27 Glenn Morris <rgm@gnu.org>
1669
1ba6038a
GM
1670 * info.el (Info-default-directory-list): Move here from paths.el.
1671 * paths.el: Remove file, which is now empty.
1672 * loadup.el: No longer load "paths".
1673
0ea0e51b
GM
1674 * custom.el (custom-initialize-delay): Doc fix.
1675
35ff222c
GM
1676 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1677 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1678 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1679 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1680 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1681 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1682 * eshell/eshell.el (eshell-defgroup): Remove alias.
1683
c89926a5
CY
16842012-06-27 Chong Yidong <cyd@gnu.org>
1685
1686 * help.el (help-enable-auto-load): New variable.
1687
1688 * help-fns.el (help-fns--autoloaded-p): New function.
1689 (describe-function-1): Refer to a function as "autoloaded" if it
1690 was autoloaded at any time in the past. Perform autoloading if
1691 help-enable-auto-load is non-nil.
1692
cc06e7e7
EZ
16932012-06-26 Eli Zaretskii <eliz@gnu.org>
1694
1695 * makefile.w32-in (compile, compile-always): Depend on
1696 update-subdirs, not on subdirs.el. Otherwise, several different
1697 sub-targets of 'bootstrap' running in parallel could
1698 simultaneously write to subdirs.el, producing a garbled file.
1699
d2c32364
SS
17002012-06-26 Sam Steingold <sds@gnu.org>
1701
1702 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1703 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1704 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1705 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1706 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1707 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1708 * textmodes/tex-mode.el: Use it.
1709 Did not touch cedet and org because they are maintained elsewhere.
1710
5cf983b2
MR
17112012-06-26 Martin Rudalics <rudalics@gmx.at>
1712
1713 * calendar/calendar.el (calendar-exit): Don't try to delete or
1714 iconify last frame. See:
1715 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1716
8c4f2952
JD
17172012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1718
1719 * server.el (server-process-filter): Remember dir in the
1720 process's `server-client-directory' properties.
1721
772b2e2c
CY
17222012-06-24 Chong Yidong <cyd@gnu.org>
1723
1724 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1725 non-tag text.
1726
711b11e1
JB
17272012-06-23 Juanma Barranquero <lekktu@gmail.com>
1728
1729 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1730
dc5d230c
SM
17312012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1732
1733 * help-fns.el (describe-variable): Don't croak when doc is not found.
1734 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1735 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1736 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1737 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1738 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1739 ((lambda ..) ..).
1740 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1741
136e1c1d
CY
17422012-06-23 Chong Yidong <cyd@gnu.org>
1743
e8c1cabf
CY
1744 * info.el (Info-mouse-follow-link): Accept symbol values of
1745 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1746 (Info-fontify-node): Use Info-link-keymap for all navigation
1747 buttons, with link-args property to perform the desired action.
1748 (Info-link-keymap): Doc fix.
1749 (Info-next-link-keymap, Info-prev-link-keymap)
1750 (Info-up-link-keymap): Delete now-unused keymaps.
1751
0e9e6c6a
CY
17522012-06-23 Chong Yidong <cyd@gnu.org>
1753
05e89fea
CY
1754 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1755
0e9e6c6a
CY
1756 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1757 system abbrevs.
1758
1759 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1760
e33c6771
SM
17612012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1762
b68581e2
SM
1763 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1764 (bug#11719).
1765
e33c6771
SM
1766 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1767 the requote function doesn't work properly (bug#11714).
1768
7117e105
GM
17692012-06-23 Glenn Morris <rgm@gnu.org>
1770
1771 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1772
36cec983
SM
17732012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1774
1775 Further GV/CL cleanups.
1776 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1777 gv-expander.
1778 (gv--defun-declaration): New function.
1779 (defun-declarations-alist): Use it.
1780 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1781 (gv-place): Autoload.
1782 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1783 original definition of dotimes and dolist.
1784 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1785 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1786 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1787 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1788 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1789 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1790 to the function's definition.
1791 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1792 * window.el:
1793 * files.el:
1794 * faces.el:
1795 * env.el: Don't use CL.
1796
d35af63c
PE
17972012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1798
1799 Support higher-resolution time stamps (Bug#9000).
1800
1801 * calendar/time-date.el (with-decoded-time-value): New arg
1802 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1803 (encode-time-value): New optional arg PICO. New type 3.
1804 (time-to-seconds) [!float-time]: Support the new picoseconds
1805 component if it's used.
1806 (seconds-to-time, time-subtract, time-add):
1807 Support ps-resolution time stamps as well.
1808
1809 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1810 (timerp): Timer vectors now have length 9, not 8.
1811 (timer--time): Support new-style (4-part) time stamps.
1812 (timer-next-integral-multiple-of-time): Time stamps now have
1813 picosecond resolution, so take a bit more care about rounding.
1814 (timer-relative-time, timer-inc-time): New optional arg psecs.
1815 (timer-set-time-with-usecs): Set psecs to 0.
1816 (timer--activate): Check psecs component, too.
1817
1818 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1819
ac77b21a
SM
18202012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1821
f143bfe3
SM
1822 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1823 Move the non-essential binding to the post/pre-command-hook where it is
1824 more obviously correct.
1825
ac77b21a
SM
1826 * subr.el (read-passwd): Don't use a history at all.
1827 * savehist.el (savehist-save): Remove password saved accidentally
1828 because of the above bug.
1829
76386c5a
BG
18302012-06-22 Bastien Guerry <bzg@gnu.org>
1831
1832 * files.el (toggle-read-only): Display a message telling whether
1833 the buffer is read-only or not (bug#11726).
1834
2ee3d7f0
SM
18352012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1836
1837 * emacs-lisp/gv.el: New file.
1838 * subr.el (push, pop): Extend to generalized variables.
1839 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1840 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1841 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1842 gv-define-simple-setter, and gv-define-expander.
1843 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1844 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1845 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1846 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1847 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1848 gv-letplace.
1849 (cl-defstruct): Don't define setf-method any more.
1850 * emacs-lisp/cl.el (flet): Don't autoload.
1851 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1852 (define-setf-expander, defsetf, define-modify-macro)
1853 (cl-struct-setf-expander): Move from cl-lib.el.
1854 * emacs-lisp/syntax.el:
1855 * emacs-lisp/ewoc.el:
1856 * emacs-lisp/smie.el:
1857 * emacs-lisp/cconv.el:
1858 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1859 (timer--time): Use gv-define-simple-setter.
1860 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1861 to avoid coding-system problems in subr.el. Adjust all users.
1862 (macroexp--maxsize, macroexp-small-p): New functions.
1863 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1864 * scroll-bar.el (scroll-bar-mode):
1865 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1866 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1867 * winner.el (winner-configuration, winner-make-point-alist)
1868 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1869 * files.el (locate-file-completion-table): Avoid list*.
1870
c5695d1d
CY
18712012-06-22 Chong Yidong <cyd@gnu.org>
1872
1873 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1874 (dired-create-files): Doc fix (Bug#11329).
1875 (dired-do-copy): Doc fix (Bug#11334).
1876 (dired-mark-read-string): Doc fix (Bug#11553).
1877
2ee3d7f0
SM
1878 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1879 Doc fix (Bug#11326).
c5695d1d
CY
1880 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1881 (dired-dwim-target): Doc fix.
1882
1883 * wdired.el (wdired-mode): Doc fix.
1884
89b5595a
GM
18852012-06-22 Glenn Morris <rgm@gnu.org>
1886
575db3f1
GM
1887 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1888 (pcmpl-rpm-cache-stamp-file): New constant.
1889 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1890 (pcmpl-rpm-packages): Optionally cache list of packages.
1891
a4c8dd51
GM
1892 * pcmpl-rpm.el (pcmpl-rpm): New group.
1893 (pcmpl-rpm-query-options): New option.
1894 (pcmpl-rpm-packages): No need to inline it.
1895 Use pcmpl-rpm-query-options.
1896
89b5595a
GM
1897 * calendar/calendar.el (calendar-in-read-only-buffer):
1898 Avoid some needless mode changes.
1899
e76f0800
CY
19002012-06-21 Chong Yidong <cyd@gnu.org>
1901
1902 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1903 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1904 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1905
297a8f1d
CY
19062012-06-20 Chong Yidong <cyd@gnu.org>
1907
1908 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1909
d34c18b1
DR
19102012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1911
1912 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1913 (bug#11201).
1914
32f7f28e
CY
19152012-06-20 Chong Yidong <cyd@gnu.org>
1916
1917 * term.el (term-window-width): Handle the case of a missing right
1918 fringe (Bug#8837).
1919 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1920 (term-mode): Use define-derived-mode. Minor cleanups.
1921 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1922 (term-move-columns, term-insert-char, term-emulate-terminal)
1923 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1924
493c6688
MA
19252012-06-20 Michael Albinus <michael.albinus@gmx.de>
1926
d34c18b1
DR
1927 * net/ange-ftp.el (ange-ftp-get-passwd):
1928 Bind `enable-recursive-minibuffers'.
493c6688
MA
1929 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1930
3f06ecf4
DR
19312012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1932
1933 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1934
68f12411
GM
19352012-06-19 Glenn Morris <rgm@gnu.org>
1936
1937 * progmodes/python.el (python-mode): Derive from prog-mode.
1938
b3820318
KG
19392012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1940
1941 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1942 (edt-user-menu-bar-update-buffers): New functions.
1943 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1944
c6bf3022
CY
19452012-06-19 Chong Yidong <cyd@gnu.org>
1946
1947 * subr.el (with-selected-window): Preserve the selected window's
1948 terminal's top-frame (Bug#4702).
1949
1950 * window.el (save-selected-window): Likewise.
1951
25f09295
SM
19522012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1953
1954 * progmodes/python.el (python-rx-constituents): Move backquote.
1955 (python-skeleton-define, python-define-auxiliary-skeleton):
1956 Use `declare'.
1957
6b11952a
MA
19582012-06-18 Michael Albinus <michael.albinus@gmx.de>
1959
1960 * minibuffer.el (read-file-name-default): Revert the patch from
1961 2012-06-17.
1962
ee4b1330
SM
19632012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1964
1965 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1966 (pcase--u1, pcase--q1): Don't use apply-partially.
1967
35647f79
GM
19682012-06-18 Glenn Morris <rgm@gnu.org>
1969
1970 * progmodes/python.el (python-proc, python-buffer)
1971 (python-send-receive, python-send-string): Fix obsolete versions.
1972
24b0cff0
MR
19732012-06-18 Martin Rudalics <rudalics@gmx.at>
1974
1975 * window.el (special-display-p): Completely remove stringp
1976 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1977
29855149
MA
19782012-06-17 Michael Albinus <michael.albinus@gmx.de>
1979
1980 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1981
1982 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1983
1984 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1985 * net/tramp-sh.el (tramp-maybe-open-connection):
1986 Throw if `non-essential' is non-nil.
1987
07463363
MR
19882012-06-17 Martin Rudalics <rudalics@gmx.at>
1989
1990 * window.el (special-display-p): Signal an error if BUFFER-NAME
1991 is not a string (Bug#11713).
1992
48d1354e
PE
19932012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1994
1995 * progmodes/python.el (python-info-beginning-of-backslash):
1996 Rename from python-info-beginning-of-backlash, as a spelling fix.
1997
eb4a8a9a
CY
19982012-06-17 Chong Yidong <cyd@gnu.org>
1999
2000 * term.el (term-emulate-terminal): If term-check-size is called,
2001 move point to the process mark without resetting point (Bug#4635).
2002
ddfbf826 20032012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
2004
2005 * international/mule-cmds.el (mule-menu-keymap)
2006 (set-language-environment, set-locale-environment): Doc tweaks.
2007
9b0e3eba
AA
20082012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
2009
2010 * cus-face.el (custom-face-attributes): Add wave-style underline
2011 attribute.
2012 * faces.el (set-face-attribute): Update docstring to describe
2013 wave-style underline attribute.
2014
771e3eae
CY
20152012-06-16 Chong Yidong <cyd@gnu.org>
2016
2017 * term/xterm.el (terminal-init-xterm): Discard input before
2018 querying background mode (Bug#10959).
2019
7ae2ea10
SM
20202012-06-16 Stefan Merten <smerten@oekonux.de>
2021
2022 * textmodes/rst.el: Added and corrected some comments.
2023 (rst-re-alist-def): Improve symbol syntax.
2024 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2025 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2026 (rst-official-version, rst-official-cvs-rev): Update version
2027 information.
7ae2ea10 2028
b6974efa
JB
20292012-06-15 Juanma Barranquero <lekktu@gmail.com>
2030
2031 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2032 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2033
8826d473
GM
20342012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2035
2036 * progmodes/python.el: New python.el merge.
2037 (python-guess-indent): Obsolete var.
2038 (python-indent-guess-indent-offset): New defcustom.
2039 (python-indent): Obsolete var.
2040 (python-indent-offset): New defcustom.
2041 (python-python-command, python-jython-command): Delete var.
2042 (python-shell-interpreter): New defcustom.
2043 (python-pdbtrack-do-tracking-p): Delete var.
2044 (python-pdbtrack-activate): New defcustom.
2045 (python-use-skeletons): Obsolete var.
2046 (python-skeleton-autoinsert): New defcustom.
2047 (inferior-python-filter-regexp, python-continuation-offset)
2048 (python-honour-comment-indentation, python-indent-string-contents)
2049 (python-jython-packages, python-mode-hook)
2050 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2051 (python-shell-prompt-alist)
2052 (python-source-modes): Delete defcustoms.
2053 (python-check-buffer-name, python-eldoc-setup-code)
2054 (python-eldoc-string-code, python-ffap-setup-code)
2055 (python-ffap-string-code, python-fill-comment-function)
2056 (python-fill-decorator-function, python-fill-paren-function)
2057 (python-fill-string-function, python-imenu-include-defun-type)
2058 (python-imenu-make-tree, python-imenu-subtree-root-label)
2059 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2060 (python-shell-compilation-regexp-alist)
2061 (python-shell-completion-module-string-code)
2062 (python-shell-completion-pdb-string-code)
2063 (python-shell-completion-setup-code)
2064 (python-shell-completion-string-code)
2065 (python-shell-enable-font-lock, python-shell-exec-path)
2066 (python-shell-extra-pythonpaths)
2067 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2068 (python-shell-process-environment)
2069 (python-shell-prompt-block-regexp)
2070 (python-shell-prompt-output-regexp)
2071 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2072 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2073 (python-shell-virtualenv-path): New defcustoms.
2074 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2075 (inferior-python-mode-syntax-table, python--prompt-regexp)
2076 (python-buffer, python-command python-python-command)
2077 (python-default-template, python-imports, python-indent-index)
2078 (python-indent-list, python-indent-list-length)
2079 (python-mode-running, python-pdbtrack-is-tracking-p)
2080 (python-preoutput-continuation, python-preoutput-leftover)
2081 (python-preoutput-result, python-preoutput-skip-next-prompt)
2082 (python-prev-dir/file, python-recursing)
2083 (python-saved-check-command, python-version-checked)
2084 (python-which-func-length-limit)
2085 (view-return-to-alist): Delete vars.
2086 (python-check-custom-command, python-dotty-syntax-table)
2087 (python-imenu-index-alist, python-indent-current-level)
2088 (python-indent-dedenters, python-indent-levels)
2089 (python-nav-beginning-of-defun-regexp)
2090 (python-nav-list-defun-positions-cache)
2091 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2092 (python-shell-internal-buffer)
2093 (python-skeleton-available): New vars.
2094 (def-python-skeleton): Delete macro.
2095 (python-skeleton-define): New macro.
2096 (python-define-auxiliary-skeleton, python-rx): New macros.
2097 (python-insert-class): Delete command.
2098 (python-skeleton-class): New command.
2099 (python-insert-def): Delete command.
2100 (python-skeleton-def): New command.
2101 (python-insert-for): Delete command.
2102 (python-skeleton-for): New command.
2103 (python-insert-if): Delete command.
2104 (python-skeleton-if): New command.
2105 (python-insert-try/except, python-insert-try/finally): Delete commands.
2106 (python-skeleton-try): New command.
2107 (python-insert-while): Delete command.
2108 (python-skeleton-while): New command.
2109 (python-backspace): Delete command.
2110 (python-indent-dedent-line-backspace): New command.
2111 (python-electric-colon): Delete command.
2112 (python-indent-electric-colon): New command.
2113 (python-guess-indent): Delete command.
2114 (python-indent-guess-indent-offset): New command.
2115 (python-shift-left): Delete command.
2116 (python-indent-shift-left): New command.
2117 (python-shift-right): Delete command.
2118 (python-indent-shift-right): New command.
2119 (python-find-function): Delete command.
2120 (python-nav-jump-to-defun): New command.
2121 (python-next-statement): Delete command.
2122 (python-nav-forward-sentence): New command.
2123 (python-previous-statement): Delete command.
2124 (python-nav-backward-sentence): New command.
2125 (python-fill-paragraph): Delete command.
2126 (python-fill-paragraph-function): New command.
2127 (python-send-buffer): Delete command.
2128 (python-shell-send-buffer): New command.
2129 (python-send-defun): Delete command.
2130 (python-shell-send-defun): New command.
2131 (python-send-region, python-send-region-and-go): Delete commands.
2132 (python-shell-send-region)
2133 (python-shell-switch-to-shell): New commands.
2134 (python-send-string): Delete command.
2135 (python-shell-send-string): New command.
2136 (python-switch-to-python): Delete command.
2137 (python-shell-switch-to-shell): New command.
2138 (python-describe-symbol): Delete command.
2139 (python-eldoc-at-point): New command.
2140 (python--set-prompt-regexp, python-args-to-list)
2141 (python-after-info-look, python-check-version)
2142 (python-check-comint-prompt, python-find-imports)
2143 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2144 (python-unload-function, python-expand-template)
2145 (python-maybe-jython, python-preoutput-filter)
2146 (python-pdbtrack-get-source-buffer)
2147 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2148 (python-pdbtrack-toggle-stack-tracking)
2149 (python-pdbtrack-track-stack-file, python-initial-text)
2150 (python-first-word, python-comment-line-p, python-send-command)
2151 (python-setup-brm, python-sentinel, python-set-proc)
2152 (python-skip-out, python-input-filter, python-outdent-p)
2153 (python-outline-level, python-backslash-continuation-line-p)
2154 (python-end-of-block, python-end-of-statement, python-mark-block)
2155 (python-beginning-of-block, python-beginning-of-statement)
2156 (python-blank-line-p, python-beginning-of-string)
2157 (python-open-block-statement-p): Delete functions.
2158 (python-indent-line, python-indent-line-1): Delete functions.
2159 (python-indent-line): New function.
2160 (python-indentation-levels): Delete function.
2161 (python-indent-calculate-levels): New function.
2162 (python-proc): Delete function.
2163 (python-shell-get-process): New function.
2164 (python-send-receive): Delete function.
2165 (python-shell-send-string-no-output): New function.
2166 (python-module-path): Delete function.
2167 (python-ffap-module-path): New function.
2168 (python-completion-at-point)
2169 (python-symbol-completions): Delete functions.
2170 (python-completion-complete-at-point): New function.
2171 (python-load-file): Delete function.
2172 (python-shell-send-file): New function.
2173 (python-calculate-indentation): Delete function.
2174 (python-indent-calculate-indentation): New function.
2175 (python-skip-comments/blanks): Delete function.
2176 (python-util-forward-comment): New function.
2177 (python-continuation-line-p): Delete function.
2178 (python-info-continuation-line-p): New function.
2179 (python-which-func, python-current-defun): Delete function.
2180 (python-info-current-defun): New function.
2181 (python-beginning-of-defun): Delete function.
2182 (python-nav-beginning-of-defun): New function.
2183 (python-close-block-statement-p)
2184 (python-block-end-p): Delete function.
2185 (python-info-closing-block): New function.
2186 (python-comint-output-filter-function)
2187 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2188 (python-fill-comment, python-fill-decorator, python-fill-paren)
2189 (python-fill-string, python-imenu-make-element-tree)
2190 (python-imenu-make-tree, python-imenu-tree-assoc)
2191 (python-indent-context, python-indent-dedent-line)
2192 (python-indent-line-function)
2193 (python-indent-post-self-insert-function)
2194 (python-indent-toggle-levels)
2195 (python-info-assignment-continuation-line-p)
2196 (python-info-beginning-of-backlash)
2197 (python-info-block-continuation-line-p)
2198 (python-info-closing-block-message)
2199 (python-info-line-ends-backslash-p)
2200 (python-info-looking-at-beginning-of-defun)
2201 (python-info-ppss-context, python-info-ppss-context-type)
2202 (python-nav-list-defun-positions, python-nav-read-defun)
2203 (python-nav-sentence-end, python-nav-sentence-start)
2204 (python-pdbtrack-comint-output-filter-function)
2205 (python-pdbtrack-set-tracked-buffer)
2206 (python-shell-calculate-exec-path)
2207 (python-shell-calculate-process-environment)
2208 (python-shell-completion--do-completion-at-point)
2209 (python-shell-completion--get-completions)
2210 (python-shell-completion-complete-at-point)
2211 (python-shell-completion-complete-or-indent)
2212 (python-shell-get-or-create-process)
2213 (python-shell-get-process-name)
2214 (python-shell-internal-get-or-create-process)
2215 (python-shell-internal-get-process-name)
2216 (python-shell-internal-send-string, python-shell-make-comint)
2217 (python-shell-parse-command, python-shell-send-setup-code)
2218 (python-skeleton-add-menu-items)
2219 (python-util-clone-local-variables, python-util-position)
2220 (run-python-internal, python-indentation-levels)
2221 (python-nav-beginning-of-defun)
2222 (python-completion-complete-at-point): New functions.
2223 (run-python): Change arguments. New API requirements.
2224
4302f5ba
SM
22252012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2226
f38ea36d
SM
2227 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2228 (bug#11649).
2229
2230 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2231 (macroexp--expand-all): Use it.
2232
4302f5ba
SM
2233 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2234 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2235 Use `cl-function' instead.
2236
33377562
JB
22372012-06-14 Juanma Barranquero <lekktu@gmail.com>
2238
2239 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2240 Suggested by Stefan Monnier while discussing bug#11657.
2241
54c5ba1a
SS
22422012-06-14 Sam Steingold <sds@gnu.org>
2243
2244 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2245
f9f1b1fe
AS
22462012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2247
2248 * play/doctor.el (doctor-doc): Remove parameter and use
2249 doctor-sent instead of sent.
2250 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2251
a81068ba
SM
22522012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2253
5a315f9c
SM
2254 * files.el: Require cl-lib.
2255 (file-name-non-special): Replace case -> cl-case.
2256
2257 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2258
a81068ba
SM
2259 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2260 mapping from #' to function*.
2261
8cca9703
CY
22622012-06-13 Chong Yidong <cyd@gnu.org>
2263
2264 * mouse.el (mouse-drag-track): Do not set the mark if the user
2265 releases the mouse without selecting anything (Bug#11588).
2266
a12ac9d7
SM
22672012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2268
ccf1dc18
SM
2269 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2270 as well (bug#11646).
2271
ef62b23d
SM
2272 * loadup.el: Count byte-code functions as well.
2273
c4c8444a
SM
2274 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2275 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2276
a12ac9d7
SM
2277 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2278 (bug#11649). Add cl-defun and cl-defmacro.
2279
87e6e64f
DA
22802012-06-13 Drew Adams <drew.adams@oracle.com>
2281
2282 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2283 Fix last change.
2284
682cefaf
MA
22852012-06-13 Michael Albinus <michael.albinus@gmx.de>
2286
2287 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2288 Otherwise, it blocks in batch mode.
2289
773e1f08
JB
22902012-06-13 Juanma Barranquero <lekktu@gmail.com>
2291
2292 * help-mode.el (bookmark-make-record-default): Declare.
2293
60057926
CY
22942012-06-13 Chong Yidong <cyd@gnu.org>
2295
2296 * emacs-lisp/package.el (list-packages): Compute a list of
2297 packages that are newly-available since the last list-packages
2298 invocation.
2299 (package-menu--new-package-list): New var.
2300 (package-menu--generate, package-menu--print-info)
2301 (package-menu--status-predicate, package-menu-mark-install):
2302 Handle new status label "new".
2303
ad4d226c
SM
23042012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2305
2306 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2307 conversion to backquotes.
2308
f1a4e679
CY
23092012-06-12 Chong Yidong <cyd@gnu.org>
2310
2311 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2312 Rename from gud-inhibit-global-bindings.
2313
2314 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2315
2316 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2317 hook from nxml-glyph-set-hook.
2318
2319 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2320 declaration.
2321
2322 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2323
2324 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2325 Convert to defcustom.
2326
0c9e42b5
DA
23272012-06-12 Drew Adams <drew.adams@oracle.com>
2328
2329 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2330 New functions.
2331 (help-mode): Use them.
2332
09e06855
GM
23332012-06-11 Glenn Morris <rgm@gnu.org>
2334
2335 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2336 Use preprocessor face for directives.
2337 (fortran-directive-re): Doc fix.
2338
71adb94b
SM
23392012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2340
2eb87922
SM
2341 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2342 conversion to backquotes (bug#11652).
2343
71adb94b
SM
2344 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2345 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2346 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2347 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2348 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2349 (cl-ninth, cl-tenth): Mark them as inlinable.
2350 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2351 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2352 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2353 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2354 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2355 (cl-list*, cl-adjoin): Don't put an autoload manually.
2356 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2357 (cl--compiler-macro-list*): Add autoload cookie.
2358 (cl--compiler-macro-cXXr): New function.
2eb87922 2359
71adb94b
SM
2360 * help-fns.el (help-fns--compiler-macro): New function extracted from
2361 describe-function-1; follow aliases and use `compiler-macro' property.
2362 (describe-function-1): Use it.
2363
a6674402
CY
23642012-06-11 Chong Yidong <cyd@gnu.org>
2365
2366 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2367 is uninstalled, if imagemagick is installed.
2368
bb3faf5b
SM
23692012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2370
2371 * emacs-lisp/cl-lib.el: Use lexical-binding.
2372 (cl-map-extents, cl-maclisp-member): Remove.
2373 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2374 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2375 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2376 * emacs-lisp/cl-extra.el: Use lexical-binding.
2377 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2378 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2379 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2380 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2381 * emacs-lisp/cl-seq.el: Use lexical-binding.
2382 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2383 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2384 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2385 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2386 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2387 CL's internals.
2388
2fe4b125
MA
23892012-06-11 Michael Albinus <michael.albinus@gmx.de>
2390
2391 Sync with Tramp 2.2.6-pre.
2392
2393 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2394 `print-length' and `print-level' to nil, in order to avoid
2395 truncation. Reported by Christopher Schmidt
2396 <christopher@ristopher.com>.
2397
2398 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2399
2400 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2401 New defmacro.
2402 (tramp-compat-copy-directory): Add optional argument
2403 COPY-CONTENTS. It is not handled yet.
2404
2405 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2406 (tramp-ftp-file-name-p): Simplify.
2407
2408 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2409 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2410 connection vector.
2411
2412 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2413 (tramp-methods): Do not use `tramp-password-end-of-line'.
2414 (tramp-completion-function-alist-putty): Handle UNIX case.
2415 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2416 (tramp-do-file-attributes-with-stat)
2417 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2418 gid as real numbers. They could run out of integer range on cygwin.
2419 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2420 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2421 (tramp-open-connection-setup-interactive-shell):
2422 Use `tramp-cleanup'. Move check for busyboxes ...
2423 (tramp-find-shell): ... here. Simplify implementation.
2424 Set "remote-shell" property also for alternative shells.
2425 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2426 If failing, a regular file would be written otherwise.
2427 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2428 (tramp-find-inline-encoding): Cache the coding commands in the
2429 process cache. Apply test command on the remote side, if defined.
2430 (tramp-find-inline-compress): Cache the compress commands in the
2431 process cache.
2432 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2433 when requested. Handle hops.
2434 (tramp-current-connection): New defvar.
87e6e64f
DA
2435 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2436 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2437 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2438 (tramp-get-inline-compress, tramp-get-inline-coding):
2439 Read connection properties from the process cache.
2fe4b125
MA
2440
2441 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2442 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2443 New defconsts.
2fe4b125
MA
2444 (tramp-smb-prompt): Extend for powershell prompt.
2445 (tramp-smb-file-name-handler-alist): Add handlers for
2446 `process-file', `shell-command' and `start-file-process'.
2447 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2448 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2449 (tramp-smb-file-name-p): Simplify.
2450 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2451 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2452 (tramp-smb-shell-quote-argument): New defuns.
2453 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2454 Implement using "tar". By this, time-stamps are preserved.
2455 (tramp-smb-handle-copy-file): Handle also the case of directories.
2456 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2457 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2458 Use `tramp-get-connection-buffer').
2fe4b125
MA
2459 (tramp-smb-handle-rename-file): Use "rename", when source and
2460 target are on the same share.
87e6e64f
DA
2461 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2462 Use `tramp-smb-server-version'.
2fe4b125
MA
2463 (tramp-smb-wait-for-output): Remove prompt.
2464
2465 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2466 (tramp-methods, tramp-rsh-end-of-line):
2467 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2468 (tramp-save-ad-hoc-proxies): New defcustom.
2469 (tramp-completion-function-alist): Adapt docstring.
2470 (tramp-default-password-end-of-line): Remove defcustom.
2471 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2472 (tramp-user-regexp, tramp-file-name-regexp-unified)
2473 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2474 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2475 (tramp-remote-file-name-spec-regexp): New defconst.
2476 (tramp-file-name-structure): Extend structure for hops.
2477 (tramp-get-method-parameter): Move up.
2478 (tramp-file-name-p, tramp-dissect-file-name)
2479 (with-parsed-tramp-file-name): Handle hops.
2480 (tramp-file-name-hop): New defun.
2481 (tramp-make-tramp-file-name): New optional arg HOP.
2482 (tramp-message-show-progress-reporter-message): New defvar.
2483 (tramp-with-progress-reporter): Use it. We cannot use
2484 `tramp-message-show-message' here, because this suppresses also
2485 error buffers.
2486 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2487 `tramp-message-show-message' is nil.
2488 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2489 (tramp-cleanup): New defun.
2490 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2491 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2492 an error unchanged.
2493 (tramp-completion-handle-file-name-all-completions): Handle hops.
2494 Fix an error when called from ido.
2495 (tramp-completion-dissect-file-name): Use better local variable
2496 name. Add hop to the vector.
2497 (tramp-handle-insert-file-contents): Use progress-reporter for the
2498 whole scenario.
2499 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2500 to `t'.
2501 (tramp-check-for-regexp): Simplify search.
2502 (tramp-enter-password): Remove it. Move implementation ...
2503 (tramp-action-password): ... here.
2504 (tramp-mode-string-to-int, tramp-local-host-p)
2505 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2506 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2507 Set tramp-autoload cookie.
2fe4b125
MA
2508
2509 * net/trampver.el: Update release number.
2510
25112012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2512 Michael Albinus <michael.albinus@gmx.de>
2513
2514 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2515 (tramp-parse-group, tramp-parse-file)
2516 (tramp-parse-shostkeys-sknownhosts): New defuns.
2517 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2518 (tramp-parse-shosts-group, tramp-parse-sconfig)
2519 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2520 (tramp-parse-sknownhosts, tramp-parse-hosts)
2521 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2522 Use them.
2523 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2524 (tramp-parse-putty-group): Don't narrow.
2525 (tramp-parse-putty): Make a loop.
2526 (tramp-file-name-handler): Catch the `suppress' signal.
2527
72834e10
CY
25282012-06-11 Chong Yidong <cyd@gnu.org>
2529
2530 * image.el (imagemagick-register-types): Put the ImageMagick entry
2531 at the end of image-type-file-name-regexps.
2532
a4712e11
JB
25332012-06-11 Johan Bockgård <bojohan@gnu.org>
2534
2535 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2536 (pcase, pcase-let*, pcase-dolist): Use them.
2537
82ad98e3
SM
25382012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2539
2540 * emacs-lisp/pcase.el (pcase--let*): New function.
2541 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2542 (pcase--expand): Use macroexp-let².
2543
f80efb86
SM
25442012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2545
2546 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2547 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2548 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2549 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2550 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2551 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2552
31ca4639 25532012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2554
31ca4639
CY
2555 * mail/rmail.el (rmail-yank-current-message): Leave point at
2556 correct position. (Bug#11660)
94f0aa34 2557
31ca4639 25582012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2559
31ca4639 2560 * allout-widgets.el: Fix code header.
9e1b8ec4 2561
31ca4639 25622012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2563
f80efb86
SM
2564 * cus-edit.el (customize-changed-options-previous-release):
2565 Bump to 24.1.
31ca4639 2566
642b6d30
AS
25672012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2568
2569 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2570
4f5d2ba1
CY
25712012-06-09 Chong Yidong <cyd@gnu.org>
2572
2573 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2574
e75852fd
MR
25752012-06-09 Martin Rudalics <rudalics@gmx.at>
2576
2577 * window.el (special-display-popup-frame): Don't use
2578 window--display-buffer (Bug#11651).
2579
1e48e282
EZ
25802012-06-09 Eli Zaretskii <eliz@gnu.org>
2581
8a26b487
EZ
2582 Fix parallel builds: make sure loaddefs.el is not being written
2583 while Lisp files are compiled.
2584 (compile): Don't depend on 'mh-autoloads'.
2585 (compile-CMD, compile-SH): Depend on 'autoloads'.
2586 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2587
1e48e282
EZ
2588 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2589
6175e34b
CY
25902012-06-09 Chong Yidong <cyd@gnu.org>
2591
2592 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2593 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2594 Doc fixes (Bug#11225).
2595
d9857e53
SM
25962012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2597
2598 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2599 a function if there's a clear indication that it has a compiler-macro.
2600 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2601 (macro-declarations-alist): Add arglist to declaration functions.
2602 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2603 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2604 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2605 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2606 Also add autoload to find the compiler macro.
2607 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2608 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2609 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2610 (cl--compiler-macro-get): New functions, replacing calls to
2611 cl-define-compiler-macro.
2612 (cl-typep) [compiler-macro]: Use macroexp-let².
2613
f81298f8 26142012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2615
2616 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2617 string properly, fixes Bug#11473.
2618
4b56d0fe
CY
26192012-06-08 Chong Yidong <cyd@gnu.org>
2620
2621 * faces.el (set-face-attribute): Doc fix.
2622 (modify-face): Don't use :bold and :italic.
2623 (error, warning, success): Tweak definitions.
2624
2625 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2626 (custom-modified, custom-set, custom-changed, custom-themed)
2627 (custom-saved, custom-button, custom-button-mouse)
2628 (custom-button-pressed, custom-state, custom-comment-tag)
2629 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2630 (custom-group-subtitle): Use new-style face specs.
2631 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2632 (custom-set-face, custom-changed-face, custom-saved-face)
2633 (custom-button-face, custom-button-pressed-face)
2634 (custom-documentation-face, custom-state-face)
2635 (custom-comment-face, custom-comment-tag-face)
2636 (custom-variable-tag-face, custom-variable-button-face)
2637 (custom-face-tag-face, custom-group-tag-face-1)
2638 (custom-group-tag-face): Remove obsolete face alias.
2639
2640 * epa.el (epa-validity-high, epa-validity-medium)
2641 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2642 (epa-field-name, epa-field-body):
2643 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2644 (font-lock-keyword-face, font-lock-builtin-face)
2645 (font-lock-function-name-face, font-lock-variable-name-face)
2646 (font-lock-type-face, font-lock-constant-face):
2647 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2648 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2649 * speedbar.el (speedbar-button-face, speedbar-file-face)
2650 (speedbar-directory-face, speedbar-tag-face)
2651 (speedbar-selected-face, speedbar-highlight-face)
2652 (speedbar-separator-face):
2653 * whitespace.el (whitespace-newline, whitespace-space)
2654 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2655 (whitespace-line, whitespace-space-before-tab)
2656 (whitespace-space-after-tab, whitespace-indentation)
2657 (whitespace-empty):
2658 * emulation/cua-base.el (cua-global-mark):
2659 * eshell/em-prompt.el (eshell-prompt):
2660 * net/newst-plainview.el (newsticker-new-item-face)
2661 (newsticker-old-item-face, newsticker-immortal-item-face)
2662 (newsticker-obsolete-item-face, newsticker-date-face)
2663 (newsticker-statistics-face, newsticker-default-face):
2664 * net/newst-reader.el (newsticker-feed-face)
2665 (newsticker-extra-face, newsticker-enclosure-face):
2666 * net/newst-treeview.el (newsticker-treeview-face)
2667 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2668 (newsticker-treeview-immortal-face)
2669 (newsticker-treeview-obsolete-face)
2670 (newsticker-treeview-selection-face):
2671 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2672 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2673 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2674 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2675 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2676 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2677 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2678 (mpuz-text):
2679 * progmodes/vera-mode.el (vera-font-lock-number)
2680 (vera-font-lock-function, vera-font-lock-interface):
2681 * textmodes/table.el (table-cell): Use new-style face specs, and
2682 don't use the old :bold and :italic attributes.
2683
2684 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2685 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2686 (ebrowse-member-class, ebrowse-progress): Likewise.
2687 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2688 (ebrowse-file-name-face, ebrowse-default-face)
2689 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2690 (ebrowse-progress-face): Remove obsolete faces.
2691
2692 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2693 Inherit from error and warning faces respectively.
2694
2695 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2696 Likewise.
f80efb86
SM
2697 (flyspell-incorrect-face, flyspell-duplicate-face):
2698 Remove obsolete aliases.
4b56d0fe 2699
03310646
MA
27002012-06-08 Michael Albinus <michael.albinus@gmx.de>
2701
2702 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2703 Avoid infloop.
2704
513749ee
SM
27052012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2706
2707 * startup.el (argv, argi): Make lexically scoped.
2708 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2709 * emacs-lisp/cl-macs.el: Use lexical-binding.
2710 Rename cl-bind-* to cl--bind-*.
2711 * files.el: Don't require `cl' since it doesn't use it.
2712 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2713
595ef4ad
JB
27142012-06-08 Juanma Barranquero <lekktu@gmail.com>
2715
2716 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2717 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2718 instead of calling external sort utility.
2719 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2720
e9f66fcb
EZ
27212012-06-08 Eli Zaretskii <eliz@gnu.org>
2722
2723 * descr-text.el (describe-char): Mention how to insert the
2724 character, if the current input method doesn't support it.
2725 See the discussion in this thread for the details:
2726 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2727
3d10db47
SS
27282012-06-08 Sam Steingold <sds@gnu.org>
2729
2730 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2731 XF86Back to previous-buffer.
2732 (minibuffer-local-map): Bind them to next-history-element and
2733 previous-history-element respectively.
2734 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2735 help-go-back respectively.
2736 * info.el (Info-mode-map): Bind them to Info-history-forward and
2737 Info-history-back respectively.
2738 These are the keys next to Up on the ThinkPad keyboard.
2739
de7e2b36
SM
27402012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2741
2742 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2743 * emacs-lisp/cl-macs.el: Provide itself.
2744 (cl--labels-convert-cache): New var.
2745 (cl--labels-convert): New function.
2746 (cl-flet, cl-labels): New implementation with new semantics, relying on
2747 lexical-binding.
2748 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2749 (cl-closure-vars, cl--function-convert-cache)
2750 (cl--function-convert): Move from cl-macs.el.
2751 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2752 rename by removing the "cl-" prefix.
2753 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2754
6fa6c4ae
SM
27552012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2756
2757 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2758 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2759 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2760 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2761 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2762 (cl-hash-table-count): Add old compatibility aliases.
2763
2764 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2765 Use macroexpand-all-environment instead.
2766 (cl--old-macroexpand): New var.
2767 (cl--sm-macroexpand): New function.
2768 (cl-symbol-macrolet): Use it during macro expansion.
2769 (cl--function-convert-cache): New var.
2770 (cl--function-convert): New function, extracted from
2771 cl-macroexpand-all.
2772 (cl-lexical-let): Use it.
2773
2774 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2775 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2776 (cl-member): Remove old alias.
2777
2778 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2779 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2780 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2781 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2782 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2783 (cl-macroexpand-cmacs): Remove var.
2784 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2785 Use macroexpand-all instead.
2786
4dd1c416
SM
27872012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2788
2789 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2790 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2791 (macroexp-copyable-p): New functions and macros.
2792 * emacs-lisp/edebug.el (edebug-unwrap):
2793 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2794 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2795 (pcase--let*): Remove.
2796 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2797 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2798 macroexp-const-p instead.
2799 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2800
2801 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2802 instead of "cl-" for internal definitions. Use macroexp-const-p.
2803 (cl-old-bc-file-form): Remove var.
2804 (cl-const-exprs-p): Remove fun.
2805 (cl-labels, cl-macrolet): Use backquote.
2806 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2807 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2808 (cl-define-setf-expander): Rename from cl-define-setf-method.
2809 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2810
2811 * international/mule-cmds.el: Don't require CL.
2812 (view-hello-file): Don't use `letf'.
2813
ed8bd4d7
SM
28142012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2815
7287f2f3
SM
2816 * tmm.el (tmm-prompt): Use string-prefix-p.
2817 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2818 (tmm-add-prompt): Use minibuffer-completion-help.
2819 (tmm-delete-map): Remove.
2820
ed8bd4d7
SM
2821 * subr.el (kbd): Make it its own function.
2822
7b4cdbf4
SM
28232012-06-07 Stefan Merten <smerten@oekonux.de>
2824
2825 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2826 Silence compiler warnings. Fix versions.
ed8bd4d7 2827 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2828 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2829 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2830 (rst-package-emacs-version-alist): Correct Emacs version to
2831 represent major merge with upstream.
ed8bd4d7 2832 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2833
2b48d721
GM
28342012-06-06 Glenn Morris <rgm@gnu.org>
2835
2836 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2837 Only print environment variables if set.
2838
fa779ab0
SM
28392012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2840
2841 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2842 (macroexp--cons): Rename from maybe-cons.
2843 (macroexp--accumulate): Rename from macroexp-accumulate.
2844 (macroexp--all-forms): Rename from macroexpand-all-forms.
2845 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2846 (macroexp--expand-all): Rename from macroexpand-all-1.
2847
628299e0
SS
28482012-06-06 Sam Steingold <sds@gnu.org>
2849
2850 * calendar/calendar.el (calendar-in-read-only-buffer):
2851 Call `special-mode' to enable the standard read-only keybindings.
2852
b7bb5838
SM
28532012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2854
2855 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2856 with "loading" messages (bug#11635).
2857
dfb308ba
MA
28582012-06-06 Michael Albinus <michael.albinus@gmx.de>
2859
2860 * files.el (enable-remote-dir-locals): New option.
2861 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2862
0372ee92
MA
2863 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2864 Ensure, that the temp directory is local.
2865
2866 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2867 `temporary-file-directory'.
2868
eed0bb91
MA
2869 * progmodes/python.el (python-send-region): Ensure, that the
2870 temporary file is created also in the remote case.
2871
7a58f64d
GM
28722012-06-06 Glenn Morris <rgm@gnu.org>
2873
f7dd4e98
GM
2874 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2875 (vc-rcs-update-changelog): Use it.
2876
090bd7cb 2877 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2878
7a58f64d
GM
2879 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2880 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2881 (vc-sccs-diff): Replace use of the external vcdiff script.
2882
daed4003
GM
28832012-06-05 Glenn Morris <rgm@gnu.org>
2884
2885 * ledit.el: Move to obsolete/.
2886
48c455c7
SS
28872012-06-05 Sam Steingold <sds@gnu.org>
2888
ed9265fc 2889 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2890 patch (Bug#11140).
2891
57a7d507
SM
28922012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2893
090bd7cb 2894 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2895
53aacf21
SM
2896 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2897 compiler-macro expansion.
2898
57a7d507
SM
2899 Add native compiler-macro support.
2900 * emacs-lisp/macroexp.el (macroexpand-all-1):
2901 Support compiler-macros directly. Properly follow aliases and apply
2902 the compiler macros more thoroughly.
2903 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2904 macroexpand now properly follows aliases.
2905 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2906 (cl-compiler-macroexpand): Use new prop.
2907 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2908
2909 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2910
51a5f9d8
MR
29112012-06-05 Martin Rudalics <rudalics@gmx.at>
2912
2913 * window.el (get-lru-window, get-mru-window, get-largest-window):
2914 New argument NOT-SELECTED to avoid picking the selected window.
2915 (window--display-buffer-1, window--display-buffer-2): Replace by
2916 new function window--display-buffer
2917 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2918 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2919 Use window--display-buffer.
51a5f9d8
MR
2920 (display-buffer-use-some-window): Remove temporary dedication
2921 hack by calling get-lru-window and get-largest-window with
2922 NOT-SELECTED argument non-nil. Call window--display-buffer.
2923
08f9f738
GM
29242012-06-05 Glenn Morris <rgm@gnu.org>
2925
2926 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2927 Replace external vcdiff script.
2928
e364a2b7
SM
29292012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2930
2931 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2932
041df390
CY
29332012-06-04 Chong Yidong <cyd@gnu.org>
2934
e364a2b7
SM
2935 * image.el (imagemagick-types-inhibit): Revert last change.
2936 Add INFO and M.
47b36b94 2937 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2938
7c1898a7
SM
29392012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2940
2941 * emacs-lisp/cl-lib.el: Rename from cl.el.
2942 * emacs-lisp/cl.el: New compatibility file.
2943 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2944 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2945 to obey the "cl-" prefix.
2946 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2947
0c3461de
GM
29482012-06-03 Glenn Morris <rgm@gnu.org>
2949
1e266c88
GM
2950 * emacs-lisp/authors.el (authors-aliases): Addition.
2951
0c3461de
GM
2952 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2953 Fix :version.
2954
d8a52e15
SM
29552012-06-03 Stefan Merten <smerten@oekonux.de>
2956
2957 * textmodes/rst.el: Add comments.
2958 (rst-transition, rst-adornment): New faces.
2959 (rst-adornment-faces-alist): Make default safe to reevaluate.
2960 Fixes
2961 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2962 Improve customization tags.
2963 (rst-define-level-faces): Clarify meaning.
2964
5205d6f6
CY
29652012-06-03 Chong Yidong <cyd@gnu.org>
2966
2967 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2968 (compilation-mode-line-run, compilation-mode-line-exit):
2969 New faces.
5205d6f6
CY
2970 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2971
757ee657
JD
29722012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2973
7c1898a7
SM
2974 * progmodes/which-func.el (which-func-update-ediff-windows):
2975 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2976
5f2c76c6
CY
29772012-06-03 Chong Yidong <cyd@gnu.org>
2978
2979 * bindings.el: Remove explicit help text from format-mode-line.
2980 It is now supplied by mode-line-default-help-echo.
2981 (mode-line-front-space, mode-line-end-spaces)
2982 (mode-line-misc-info): New variables.
2983 (mode-line-modes, mode-line-position): Move the default value to
2984 the variable definition.
2985 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2986 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2987 (mode-line-modified-help-echo): New functions.
2988 (mode-line-mule-info, mode-line-modified): Use them.
2989 (mode-line-eol-desc, propertized-buffer-identification):
2990 Consistency fixes for help text.
cbe46e5f
CY
2991 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2992 set-buffer-file-coding-system (Bug#289).
2993 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2994
f2d6a3df
SM
29952012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2996
2997 * simple.el (execute-extended-command): Set real-this-command
2998 (bug#11506).
2999
37269466
CY
30002012-06-02 Chong Yidong <cyd@gnu.org>
3001
3002 Remove incorrect uses of "modeline" in comments, docstrings, and
3003 function/variable names (Bug#10329).
3004
3005 * cus-edit.el (mode-line):
3006 * dframe.el (dframe-mouse-hscroll):
3007 * emacs-lisp/re-builder.el:
3008 * emacs-lisp/easy-mmode.el (define-minor-mode):
3009 * frame.el (set-frame-name):
3010 * help.el (lookup-minor-mode-from-indicator):
3011 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
3012 * progmodes/cc-cmds.el (c-toggle-auto-newline)
3013 (c-toggle-hungry-state):
3014 * progmodes/antlr-mode.el (antlr-language-alist):
3015 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
3016 * progmodes/vhdl-mode.el (vhdl-mode):
3017 * progmodes/which-func.el (which-func, which-func-cleanup-function):
3018 * term/ns-win.el (ns-face-at-pos):
3019 * term/sup-mouse.el (sup-mouse-report):
3020 * textmodes/flyspell.el (flyspell-mode-line-string):
3021 * textmodes/ispell.el (ispell-highlight-face):
3022 * textmodes/reftex-global.el:
3023 * vc/vc-arch.el (vc-arch-mode-line-string):
3024 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3025 * vc/vc-git.el (vc-git-mode-line-string):
3026 * vc/vc-hooks.el (vc-display-status)
3027 (vc-default-mode-line-string):
3028 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3029
3030 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3031
3032 * dired.el (dired-sort-set-mode-line): Rename from
3033 dired-sort-set-modeline. All callers changed.
3034
3035 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3036 eshell-status-in-modeline.
3037
3038 * foldout.el (foldout-mode-line-string): Rename from
3039 foldout-modeline-string. All callers changed.
3040 (foldout-update-mode-line): Rename from foldout-update-modeline.
3041
3042 * subr.el (redraw-modeline): Make into obsolete alias.
3043
3044 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3045 timeclock-modeline-display. Make old name an alias.
3046 (timeclock-update-mode-line): Likewise. All callers changed.
3047 (timeclock-mode-line-display): No need to check before using
3048 add-hook.
3049 (timeclock-relative, timeclock-day-over-hook)
3050 (timeclock-use-elapsed, timeclock-mode-string)
3051 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3052
3053 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3054 crisp-mode-modeline-string.
3055
3056 * play/solitaire.el (solitaire-build-mode-line): Rename from
3057 solitaire-build-modeline. All callers changed.
3058
3059 * play/zone.el (zone-hiding-mode-line): Rename from
3060 zone-hiding-modeline. All callers changed.
3061 (zone): Remove unusued `modeline-hidden-level' property.
3062
3063 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3064 xscheme-modeline-initialize. All callers changed.
3065
3066 * strokes.el (strokes-lighter): Rename from
3067 strokes-modeline-string.
3068
3069 * textmodes/sgml-mode.el (html-face-tag-alist)
3070 (html-tag-face-alist): Use mode-line face instead of obsolete
3071 alias modeline.
3072
42152ee4
SM
30732012-06-02 Stefan Merten <smerten@oekonux.de>
3074
3075 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3076 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3077
95f520b5
CY
30782012-06-02 Chong Yidong <cyd@gnu.org>
3079
3080 * image.el (imagemagick-enabled-types): Rename from
3081 imagemagick-types-enable. Add many more types.
3082 (imagemagick-types-inhibit): Change default to nil.
3083 (imagemagick-filter-types): Caller changed.
3084
4a5f187a
SM
30852012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3086
03fef3e6
SM
3087 * emacs-lisp/cl-macs.el: Use backquotes.
3088 (cl-transform-function-property): Use eval-and-compile rather than
3089 abusing `require'.
3090 (defstruct): Use declare-function instead of with-no-warnings.
3091
4a5f187a
SM
3092 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3093 (byte-compile-output-docform): Re-add the print-circle bindings.
3094 (byte-compile-fix-header): Use #$ just because it's shorter.
3095 (byte-compile-output-file-form): Remove defun/defmacro.
3096
bd56924f
MR
30972012-06-01 Martin Rudalics <rudalics@gmx.at>
3098
3099 * simple.el (choose-completion): Remove now obsolete binding for
3100 owindow.
3101
046e38ce
MA
31022012-06-01 Michael Albinus <michael.albinus@gmx.de>
3103
3104 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3105 in order to avoid "Stack overflow in regexp matcher".
3106
32d72c2f
GM
31072012-05-31 Glenn Morris <rgm@gnu.org>
3108
3109 * image.el: For clarity, call imagemagick-register-types at
3110 top-level, rather than relying on a custom :initialize.
3111 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3112 (imagemagick-filter-types): New function. (Bug#7406)
3113 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3114 If disabling support, remove elements altogether rather
3115 than using an impossible regexp.
3116 (imagemagick-types-inhibit): Give it the default init function.
3117
dd41169b
SM
31182012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3119
4a5f187a
SM
3120 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3121 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3122
efc00ab1 31232012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3124
3125 * desktop.el (desktop-read): Clear previous and next buffers for
3126 all windows and bury *Messages* buffer (bug#11556).
3127
500fcedc
SM
31282012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3129
3130 Add `declare' for `defun'. Align `defmacro's with it.
3131 * emacs-lisp/easy-mmode.el (define-minor-mode)
3132 (define-globalized-minor-mode): Don't autoload the var definitions.
3133 * emacs-lisp/byte-run.el: Use lexical-binding.
3134 (defun-declarations-alist, macro-declarations-alist): New vars.
3135 (defmacro, defun): Use them.
3136 (make-obsolete, define-obsolete-function-alias)
3137 (make-obsolete-variable, define-obsolete-variable-alias):
3138 Use `declare'.
3139 (macro-declaration-function): Mark obsolete.
3140 * emacs-lisp/autoload.el: Use lexical-binding.
3141 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3142
6e8a1786
AM
31432012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3144
3145 * textmodes/ispell.el (ispell-with-no-warnings):
3146 Define as a macro.
500fcedc
SM
3147 (ispell-kill-ispell, ispell-change-dictionary):
3148 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3149 `interactive-p'.
3150
61b108cc
SM
31512012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3154 (macro-declaration-function): Move var from C code.
3155 (macro-declaration-function): Define function with defalias.
3156 * emacs-lisp/macroexp.el (macroexpand-all-1):
3157 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3158 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3159 defun/defmacro any more.
3160 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3161 Provide fallback for unknown arglist.
3162 (byte-compile-arglist-warn): Change calling convention.
3163 (byte-compile-output-file-form): Move print-vars binding.
3164 (byte-compile-output-docform): Simplify accordingly.
3165 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3166 (byte-compile-defmacro-declaration): Remove.
3167 (byte-compile-file-form-defmumble): Generalize to defalias.
3168 (byte-compile-output-as-comment): Return byte-positions.
3169 Simplify callers accordingly.
3170 (byte-compile-lambda): Use `assert'.
3171 (byte-compile-defun, byte-compile-defmacro): Remove.
3172 (byte-compile-file-form-defalias):
3173 Use byte-compile-file-form-defmumble.
3174 (byte-compile-defalias-warn): Remove.
3175
6d3f7c2f
SM
31762012-05-29 Stefan Merten <smerten@oekonux.de>
3177
3178 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3179 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3180
3181 (rst-mode-abbrev-table): Merge definition.
3182 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3183 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3184
6dbaa1c7
UJ
31852012-05-29 Ulf Jasper <ulf.jasper@web.de>
3186
3187 * calendar/icalendar.el
3188 (icalendar-export-region): Export UID properly.
3189
d209e2fb 31902012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3191 * calendar/icalendar.el (icalendar-import-format):
3192 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3193 (icalendar-import-format-uid): New.
3194 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3195 Export UID.
3196
6876a58d
SM
31972012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3198
3199 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3200 different alternative patterns.
3201 (pcase-codegen): Be more careful to preserve identity.
3202 (pcase--u1): Don't forget to mark vars as used.
3203
3204 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3205 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3206 (byte-compile-from-buffer): ...rather than here.
3207
3208 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3209 functions from byte-compile-function-environment.
3210
46b7967e
TN
32112012-05-29 Troels Nielsen <bn.troels@gmail.com>
3212
3213 * window.el (window-deletable-p): Avoid deleting the root window
3214 of a frame with an active minibuffer.
3215
69d565e2
MR
32162012-05-29 Martin Rudalics <rudalics@gmx.at>
3217
3218 * simple.el (choose-completion): Use quit-window (Bug#11567).
3219
a149fa51
CY
32202012-05-29 Chong Yidong <cyd@gnu.org>
3221
3222 * whitespace.el (whitespace-cleanup): Fix usage of
3223 whitespace-empty-at-bob-regexp (Bug#11492).
3224
2b311310
AH
32252012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3226
3227 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3228 revert (Bug#11488).
3229
b9cb2387
JL
32302012-05-29 Juri Linkov <juri@jurta.org>
3231
3232 * isearch.el (isearch-mode-map): Bind `M-s _' to
3233 `isearch-toggle-symbol'. Bind `M-s c' to
3234 `isearch-toggle-case-fold'.
3235 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3236 (isearch-forward): Add `M-s _' to the docstring.
3237 (isearch-forward-symbol, isearch-toggle-case-fold)
3238 (isearch-symbol-regexp): New functions. (Bug#11381)
3239
d5e61c1c
JL
32402012-05-29 Juri Linkov <juri@jurta.org>
3241
3242 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3243 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3244 a function, call it to get the regexp.
3245 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3246 property `isearch-message-prefix' instead of the string "word ".
3247 (isearch-search-fun-default): For the case of `isearch-word',
3248 return a lambda that calls re-search-forward/re-search-backward
3249 with a regexp returned by `word-search-regexp' or by the function
3250 in `isearch-word'.
3251
8cbd80f7
JL
32522012-05-29 Juri Linkov <juri@jurta.org>
3253
3254 * isearch.el (isearch-search-fun-default): New function.
3255 (isearch-search-fun): Move default part to the new function
3256 `isearch-search-fun-default'.
3257 (isearch-search-fun-function): Set the default value to
3258 `isearch-search-fun-default'. (Bug#11381)
3259
3260 * comint.el (comint-history-isearch-end):
3261 Use `isearch-search-fun-default'.
3262 (comint-history-isearch-search): Use `isearch-search-fun-default'
3263 and remove spacial case for `isearch-word'.
3264 (comint-history-isearch-wrap): Remove spacial case for
3265 `isearch-word'.
3266
3267 * hexl.el (hexl-isearch-search-function):
3268 Use `isearch-search-fun-default'.
3269
3270 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3271 Use `word-search-regexp' for `isearch-word'.
3272
3273 * misearch.el (multi-isearch-search-fun):
3274 Use `isearch-search-fun-default'.
3275
3276 * simple.el (minibuffer-history-isearch-search):
3277 Use `isearch-search-fun-default' and remove spacial case for
3278 `isearch-word'.
3279 (minibuffer-history-isearch-wrap): Remove spacial case for
3280 `isearch-word'.
3281
3282 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3283 Remove spacial case for `isearch-word'.
3284 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3285
85c8c5b6
AM
32862012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3287
3288 Decrease XEmacs incompatibilities.
3289 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3290 Use `string-match'.
3291 (flyspell-delete-region-overlays): Use alternative definition for
3292 XEmacs.
3293 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3294 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3295 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3296 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3297 `define-obsolete-face-alias' under XEmacs, but old method.
3298
3299 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3300 `with-no-warnings' definition or Emacs alias.
3301 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3302 (ispell-word): Do not use `region-p' if XEmacs.
3303
8cab9efc
AM
33042012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3305
3306 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3307 Check for `ispell-dictionary-base-alist' instead of full
3308 `ispell-dictionary-alist'.
3309 (ispell-init-process): Show spellchecker when starting new Ispell
3310 process.
3311
fda91268
RZ
33122012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3313
3314 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3315 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3316
694ea8e3
JB
33172012-05-27 Juanma Barranquero <lekktu@gmail.com>
3318
3319 * version.el (motif-version-string, gtk-version-string)
3320 (ns-version-string): Declare.
3321
e4d4f539
JL
33222012-05-27 Juri Linkov <juri@jurta.org>
3323
3324 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3325 after the `eval-defun-1' specialcaseing
3326 like in `edebug-eval-defun' (bug#10181).
3327
3328 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3329 like in `eval-defun-1'.
3330
33017faf 33312012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3332
fda91268
RZ
3333 * mail/sendmail.el (mail-yank-region):
3334 Recognize rmail-yank-current-message in addition to insert-buffer.
3335 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3336 a *mail* buffer created through rmail-start-mail with sendmail as
3337 mail-user-agent.
3338
33017faf
GM
33392012-05-27 Chong Yidong <cyd@gnu.org>
3340
3341 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3342 Default to 256 (Bug#11267).
3343
3344 * help.el (describe-mode): Doc fix.
3345
04188bb9
GM
33462012-05-26 Glenn Morris <rgm@gnu.org>
3347
38264cc9
GM
3348 * w32-fns.el (w32-init-info): Remove.
3349 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3350
eb7afdad
GM
3351 * info.el (info-initialize): For self-contained NS builds, put the
3352 included info/ directory at the front. (Bug#2791)
3353
04188bb9
GM
3354 * paths.el (Info-default-directory-list): Make it a defcustom,
3355 mainly so that we can use custom-initialize-delay.
3356
a179e3f7
SM
33572012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3358
43416392
SM
3359 * subr.el (buffer-has-markers-at): Mark obsolete.
3360
a179e3f7 3361 * subr.el (lambda): Use declare.
43416392 3362
a179e3f7
SM
3363 * emacs-lisp/lisp-mode.el (lambda):
3364 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3365
34a008d9
AH
33662012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3367
3368 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3369
0a3b289f
GM
33702012-05-26 Glenn Morris <rgm@gnu.org>
3371
3372 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3373
758c81e8
GM
33742012-05-25 Glenn Morris <rgm@gnu.org>
3375
f9f334f0
GM
3376 * paths.el: Remove no-byte-compile.
3377 * loadup.el: No need to load paths.el uncompiled.
3378
87eb79c2
GM
3379 * image.el (imagemagick-types-inhibit): Doc fix.
3380
758c81e8
GM
3381 * version.el: Remove no-byte-compile and associated formatting.
3382 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3383 is ancient code from when there was an "inc-vers.el".
3384
e7e85dc0
SM
33852012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3386
3387 * progmodes/gdb-mi.el: Minor style changes.
3388 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3389 Turn into minor modes.
3390 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3391 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3392 (gdb-shell): Remove unneeded let-binding.
3393 (gdb-get-many-fields): Eliminate O(n²) behavior.
3394
f31237a4
EZ
33952012-05-25 Eli Zaretskii <eliz@gnu.org>
3396
3397 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3398 platforms that don't link in fontset.c.
3399
bc1b21bb
JL
34002012-05-25 Juri Linkov <juri@jurta.org>
3401
3402 Use the same diff color scheme as in modern VCSes (bug#10181).
3403
3404 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3405 to avoid confusion with `diff-added' that now uses green colors.
3406 (diff-removed): Use shades of red.
3407 (diff-added): Use shades of green.
3408 (diff-changed): Leave just the yellow color.
3409 (diff-use-changed-face): New variable.
3410 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3411 how to highlight context diff changes.
3412 (diff-refine-change): Use shades of yellow.
3413 (diff-refine-removed): New face that uses shades of red.
3414 (diff-refine-added): New face that uses shades of green.
3415 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3416 `diff-refine-removed' in the call to `smerge-refine-subst'
3417 depending on the value of `diff-use-changed-face'.
3418
3419 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3420 (smerge-other): Use shades of green.
3421 (smerge-base): Use shades of yellow.
3422 (smerge-refined-change): Empty face.
3423 (smerge-refined-removed): New face that uses shades of red.
3424 (smerge-refined-added): New face that uses shades of green.
3425 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3426 args `props-r' and `props-a', and use them. Doc fix.
3427 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3428 on its value use different faces `smerge-refined-change',
3429 `smerge-refined-removed', `smerge-refined-added' in the call to
3430 `smerge-refine-subst'.
3431
3432 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3433 Add face condition `min-colors 88' with shades of red.
3434 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3435 `min-colors 88' with shades of green.
3436 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3437 `min-colors 88' with shades of yellow.
3438
6df9112c
GM
34392012-05-24 Glenn Morris <rgm@gnu.org>
3440
ead5edc0
GM
3441 * paths.el (prune-directory-list, remote-shell-program): Move to...
3442 * files.el (prune-directory-list, remote-shell-program): ...here.
3443 For the latter, delay initialization, prefer ssh, just search PATH.
3444
f18b81e6
GM
3445 * paths.el (term-file-prefix): Move to faces.el (the only user).
3446 * faces.el (term-file-prefix): Move here, make it a defcustom.
3447
ee2f89a6
GM
3448 * paths.el (news-directory, news-path, news-inews-program):
3449 Move to gnus/nnspool.el.
61a583ca 3450
f8815e4c
GM
3451 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3452
c8f3b42c
GM
3453 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3454 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3455 Make the latter a defcustom, with a delayed initialization.
3456
6df9112c
GM
3457 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3458 These were deleted from Gnus itself late 2010.
3459
5dadff36
JB
34602012-05-22 Juanma Barranquero <lekktu@gmail.com>
3461
9e1701c6
JB
3462 * progmodes/which-func.el (which-func-ff-hook):
3463 Check against user-error, not error.
3464
bd7239f5 3465 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3466 cl-specs.el, which no longer exists.
3467
3290526d
GM
34682012-05-22 Glenn Morris <rgm@gnu.org>
3469
3470 * info.el (info-emacs-bug): New command.
3471 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3472 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3473
ff0c3cfb
GM
34742012-05-21 Glenn Morris <rgm@gnu.org>
3475
3476 * makefile.w32-in (update-subdirs-SH):
3477 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3478
5814f126
SM
34792012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3480
a52c0aa0
SM
3481 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3482
5814f126
SM
3483 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3484 Simplify Maven regexp, and make sure the file can't start with a space
3485 (bug#11517).
3486
b847032c
GM
34872012-05-21 Glenn Morris <rgm@gnu.org>
3488
3489 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3490 Scrap superfluous subshells.
3491
3858bfe7
SM
34922012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3493
3494 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3495 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3496
d14b0029
JB
34972012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3498
3499 * calc/calc.el (calc-ensure-consistent-units): New variable.
3500
a52c0aa0
SM
3501 * calc/calc-units.el (math-consistent-units-p)
3502 (math-check-unit-consistency): New functions.
3503 (calc-quick-units, calc-convert-units):
3504 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3505 is non-nil.
d14b0029
JB
3506 (calc-extract-units): Fix typo.
3507
60c4db3a
SM
35082012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3509
77f3b62e
SM
3510 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3511
60c4db3a
SM
3512 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3513 (flyspell-default-deplacement-commands): Don't spell check after
3514 repeated window/frame switches (e.g. triggered by mouse-movement).
3515 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3516 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3517 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3518 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3519 Remove unused vars.
3520 (flyspell-get-casechars, flyspell-get-not-casechars):
3521 Simplify; Don't bother removing a ] just to add it back.
3522 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3523
d209e2fb 35242012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3525
3526 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3527 New functions.
bd7239f5 3528 (math-function-table): Add support for more C functions.
b1a10716 3529
3f1b25b5
AM
35302012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3531
090bd7cb
JB
3532 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3533 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3534 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3535
b581bb5c
SM
35362012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3537
3538 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3539 their respective macro declarations.
3540 * skeleton.el (define-skeleton):
3541 * progmodes/compile.el (define-compilation-mode):
3542 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3543 (define-ibuffer-filter):
3544 * emacs-lisp/generic.el (define-generic-mode):
3545 * emacs-lisp/easy-mmode.el (define-minor-mode)
3546 (define-globalized-minor-mode):
3547 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3548 * emacs-lisp/byte-run.el (defsubst):
3549 * custom.el (deftheme): Add doc-string metadata.
3550
70b8ef8f
SM
35512012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3552
3553 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3554
b1198e17
SM
35552012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3556
9abdc45d
SM
3557 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3558
b1198e17
SM
3559 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3560 * emacs-lisp/cl-macs.el: Idem.
3561 * emacs-lisp/cl-specs.el: Remove.
3562
4735906a
SM
35632012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3564
3565 Minor renaming of internal CL functions and variables.
3566 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3567 (cl--position): Rename from cl-position.
3568 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3569 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3570 (cl--random-state): Rename from *random-state*.
3571
ac348012
SM
35722012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3573
3574 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3575 parens around the arg list (bug#11499).
3576
a0a79cde
JL
35772012-05-17 Juri Linkov <juri@jurta.org>
3578
3579 * isearch.el (word-search-regexp, word-search-backward)
3580 (word-search-forward, word-search-backward-lax)
3581 (word-search-forward-lax): Move functions from search.c
3582 (bug#10145, bug#11381).
3583
65034a51
AM
35842012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3585
090bd7cb
JB
3586 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3587 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3588 Delay for otherchars as for normal word components.
65034a51 3589
1a72a195
SM
35902012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3591
3592 * minibuffer.el (completion--sifn-requote): Fix last change.
3593 (minibuffer-local-must-match-filename-map):
3594 Move define-obsolete-variable-alias before its var.
3595
fdb058c2
SM
35962012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3597
c41045e6
SM
3598 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3599
036dfb8b
SM
3600 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3601 behavior.
3602 (completion--string-equal-p): New function.
3603 (completion--twq-all): Use it to get better assertion failure data.
3604
2473256d
SM
3605 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3606 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3607 (shell--requote-argument): New functions.
3608 (shell-completion-vars): Use them.
3609 (shell--parse-pcomplete-arguments): Rename from
3610 shell-parse-pcomplete-arguments.
3611 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3612 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3613 Obey comint-file-name-quote-list.
3614
fdb058c2
SM
3615 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3616 (smie-indent-keyword): Use it.
3617
51fa99f1
SM
36182012-05-14 Stefan Merten <smerten@oekonux.de>
3619
3620 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3621
e18afed7 36222012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3623
3624 * net/rlogin.el (rlogin-mode-map): Fix last change.
3625
e18afed7 36262012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3627
3628 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3629 the following \r\n using a single `process-send-string', since the
3630 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3631 with two `process-send-string's (Bug#11444).
8633b1f4 3632
e18afed7 36332012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3634
fdb058c2
SM
3635 * shell.el (shell-parse-pcomplete-arguments):
3636 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3637
2d21d7f6
WJ
36382012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3639
e18afed7 3640 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3641 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3642 (image-transform-width, image-transform-fit-width): New functions.
3643 (image-transform-properties): Use them.
3644 (image-transform-check-size): New function.
3645 (image-toggle-display-image): Use it (for testing).
3646 (image-transform-set-rotation): Reduce angle mod 360.
3647 Delete obsolete comment.
3648
7102e6d0
WJ
36492012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3650
3651 * image-mode.el: Fix scaling (bug#11399).
3652 (image-transform-resize): Doc fix.
3653 (image-transform-properties): Default scale is 1 and height should
3654 be an integer.
3655
06bc5e6e
SM
36562012-05-13 Johan Bockgård <bojohan@gnu.org>
3657
3658 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3659 than hard-coding `car', to fix misbehavior when moving forward.
3660
0ae03b6a
CY
36612012-05-13 Chong Yidong <cyd@gnu.org>
3662
3663 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3664 (tabulated-list-entries, tabulated-list-padding)
3665 (tabulated-list-sort-key): Make permanent-local.
3666
3667 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3668 (electric-buffer-list): Put electric buffer menu
3669 command descriptions in this docstring, instead of the docstring
3670 of electric-buffer-menu-mode. Code cleanups.
3671 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3672 Electric-buffer-menu-mode.
3673 (electric-buffer-update-highlight): Minor code cleanup.
3674
205a7391
MA
36752012-05-13 Michael Albinus <michael.albinus@gmx.de>
3676
3677 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3678 (Bug#11447)
3679
e5bd0a28
SM
36802012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3681
3682 Move define-obsolete-variable-alias before the var's definition.
3683 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3684 * tooltip.el (tooltip-hook):
3685 * textmodes/reftex-toc.el (reftex-toc-map):
3686 * textmodes/reftex-sel.el (reftex-select-label-map)
3687 (reftex-select-bib-map):
3688 * textmodes/reftex-index.el (reftex-index-map)
3689 (reftex-index-phrases-map):
3690 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3691 * progmodes/meta-mode.el (meta-mode-map):
3692 * novice.el (disabled-command-hook):
3693 * loadhist.el (unload-hook-features-list):
3694 * frame.el (blink-cursor):
3695 * files.el (find-file-not-found-hooks, write-file-hooks)
3696 (write-contents-hooks):
3697 * emulation/tpu-edt.el (GOLD-map):
3698 * emacs-lock.el (emacs-lock-from-exiting):
3699 * emacs-lisp/generic.el (generic-font-lock-defaults):
3700 * emacs-lisp/chart.el (chart-map):
3701 * dos-fns.el (register-name-alist):
3702 * dired-x.el (dired-omit-files-p):
3703 * desktop.el (desktop-enable):
3704 * cus-edit.el (custom-mode-hook):
3705 * buff-menu.el (buffer-menu-mode-hook):
3706 * bookmark.el (bookmark-read-annotation-text-func)
3707 (bookmark-exit-hooks):
3708 * allout.el (allout-mode-deactivate-hook)
3709 (allout-exposure-change-hook, allout-structure-added-hook)
3710 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3711 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3712 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3713 comes before the corresponding variable's definition.
3714
ac59c2f6
CY
37152012-05-12 Chong Yidong <cyd@gnu.org>
3716
3717 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3718 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3719 (Buffer-menu-mode-map): Bind it.
3720 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3721
dee6c9a3
SM
37222012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3723
2171cea5
SM
3724 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3725 (prolog-upper-case-string, prolog-lower-case-string)
3726 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3727 (prolog-use-smie, prolog-smie-grammar): New vars.
3728 (prolog-smie-forward-token, prolog-smie-backward-token)
3729 (prolog-smie-rules): New funs.
3730 (prolog-comment-indent): Remove.
3731 (prolog-mode-variables): Use default comment indentation instead.
3732 Setup SMIE.
3733 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3734 (prolog-mode): Don't call them any more.
3735 (prolog-electric-colon, prolog-electric-dash)
3736 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3737
aa0382bd
SM
3738 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3739
dbacb4bd
SM
3740 * minibuffer.el (completion--twq-all): Again, allow case differences.
3741
13bdd94c
SM
3742 * term.el: Move keymap initialization code to be more idiomatic.
3743 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3744 (term-terminal-menu): Move initialization into declaration.
3745 (term-escape-char): Let the user set it in her .emacs.
3746
ff46c759
SM
3747 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3748 Provide SMIE-based indentation (not enabled by default yet).
3749 (sh-mode-map): Don't bind electric keys.
3750 Use electric-pair-mode instead of skeleton-pair.
3751 (sh-assignment-regexp): Fit within 80 columns.
3752 (sh-indent-supported): Specify actual shell name instead of boolean.
3753 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3754 (sh-maybe-here-document): Use it. Make obsolete.
3755 (sh-electric-here-document-mode) New minor mode.
3756 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3757 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3758 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3759 (sh-smie-rc-grammar, sh-use-smie): New vars.
3760 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3761 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3762 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3763 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3764 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3765 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3766 (sh-set-shell): Use smie-setup if requested.
3767
dee6c9a3
SM
3768 * term.el (term-set-escape-char): Properly set term-escape-char.
3769 See http://stackoverflow.com/questions/10524656.
3770
9f9aa044
CY
37712012-05-10 Chong Yidong <cyd@gnu.org>
3772
3773 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3774 Use url-generic-parse-url, and handle host names and Windows
3775 filenames properly.
3776 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3777 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3778 URL schemes to work on.
3779 (ffap--toggle-read-only): New function.
3780 (ffap-read-only, ffap-read-only-other-window)
3781 (ffap-read-only-other-frame): Use it.
3782 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3783 necessary for ffap-url-unwrap-remote.
3784
836d29b3
DA
37852012-05-10 Dave Abrahams <dave@boostpro.com>
3786
3787 * cus-start.el (create-lockfiles): Add it.
3788
00fd78ed
CY
37892012-05-09 Chong Yidong <cyd@gnu.org>
3790
3791 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3792 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3793
666b903b 37942012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3795
3796 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3797
666b903b 37982012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3799
3800 * ansi-color.el (ansi-color-process-output): Check for validity of
3801 comint-last-output-start before using it. This avoids a bad
3802 interaction with gdb-mi's input/output buffer.
3803
666b903b 38042012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3805
3806 * files.el (dir-locals-read-from-file):
3807 Mention dir-locals in any error message.
3808
666b903b 38092012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3810
3811 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3812 package (Bug#11410).
3813
f677562b
CY
3814 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3815 variables into description.
3816
666b903b 38172012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3818
3819 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3820 shell-delimiter-argument-list (bug#11348).
3821 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3822
b499d8d0
JB
38232012-05-09 Juanma Barranquero <lekktu@gmail.com>
3824
8f6b6da8
JB
3825 * textmodes/rst.el: Silence byte-compiler warnings.
3826 (rst-re-alist, rst-reset-section-caches): Move around.
3827 (rst-re): Use `characterp', not `char-valid-p'.
3828 (font-lock-beg, font-lock-end): Declare.
3829
4824146a
JB
3830 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3831 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3832
b499d8d0
JB
3833 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3834
ad89bb83
GM
38352012-05-08 Glenn Morris <rgm@gnu.org>
3836
3837 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3838
8bba5a75
SM
38392012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3840
49ed9c8e
SM
3841 * vc/log-edit.el: Add GNU coding standards highlighting.
3842 (log-edit-font-lock-gnu-style)
3843 (log-edit-font-lock-gnu-keywords): New vars.
3844 (log-edit-font-lock-keywords): New fun.
3845 (log-edit-mode): Don't fold case in font-lock.
3846 (log-edit-font-lock-keywords): Do not assume case-folding.
3847
07d00b56
SM
3848 * imenu.el: Misc cleanup. Make docstrings out of comments.
3849 Use lexical-binding.
3850 (imenu--index-alist, imenu--last-menubar-index-alist)
3851 (imenu-menubar-modified-tick): Use defvar-local.
3852 (imenu--split-menu): Remove unused var.
3853 (imenu--cleanup-seen): Declare as global.
3854 (imenu--cleanup): Use dolist.
3855
8bba5a75
SM
3856 * subr.el (defvar-local): Add debug spec and doc-string position.
3857
5075bdb5
GM
38582012-05-08 Glenn Morris <rgm@gnu.org>
3859
090bd7cb 3860 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3861 * language/english.el, language/georgian.el, language/greek.el:
3862 * language/japanese.el, language/khmer.el, language/korean.el:
3863 * language/lao.el, language/misc-lang.el, language/romanian.el:
3864 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3865 * language/thai.el, language/utf-8-lang.el:
3866 Remove no-byte-compile setting.
3867
5075bdb5
GM
3868 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3869
06f679a7
AH
38702012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3871
3872 * progmodes/make-mode.el (makefile-browse):
3873 Remove unnecessary interactive. (Bug#11324)
3874
03794570
GM
38752012-05-07 Glenn Morris <rgm@gnu.org>
3876
af8630f4
GM
3877 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3878
03794570
GM
3879 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3880
f0809a9d
SM
38812012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3882
28be5ce7
SM
3883 * loadup.el: Preload newcomment.el.
3884 * newcomment.el: Move autoload-only code to toplevel.
3885
f0809a9d
SM
3886 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3887 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3888 Handle new :right-align column property.
3889 (tabulated-list-print-col): Idem, plus use `display' text-property to
3890 try and preserve alignment for variable pitch fonts.
3891
1241b724
CY
38922012-05-07 Chong Yidong <cyd@gnu.org>
3893
3894 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3895 (tabulated-list-use-header-line): New var.
3896 (tabulated-list-init-header): Use it.
3897 (tabulated-list-print-fake-header): New function.
3898 (tabulated-list-print): Use it.
3899 (tabulated-list-sort-button-map): Add non-header-line commands.
3900 (tabulated-list-init-header): Add column name property to basic
3901 labels as well.
3902 (tabulated-list-col-sort): Handle non-header-line button case.
3903 (tabulated-list--sort-by-column-name): Fix a corner case.
3904
f0809a9d
SM
3905 * buff-menu.el (list-buffers--refresh):
3906 Handle Buffer-menu-use-header-line.
1241b724 3907
e5f9458f
CY
39082012-05-06 Chong Yidong <cyd@gnu.org>
3909
3910 * buff-menu.el: Convert to Tabulated List mode.
3911 (Buffer-menu-buffer+size-width): Make obsolete.
3912 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3913 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3914 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3915 documentation into docstring of buffer-menu.
3916 (Buffer-menu-toggle-files-only): Add an informative message.
3917 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3918 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3919 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3920 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3921 (Buffer-menu-execute, Buffer-menu-select)
3922 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3923 (Buffer-menu-bury): Use Tabulated List machinery.
3924 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3925 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3926 Delete.
e5f9458f
CY
3927 (list-buffers--refresh): New function.
3928 (list-buffers-noselect): Use it.
3929 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3930 (Buffer-menu--pretty-file-name): New helper functions.
3931
3932 * loadup.el: Preload tabulated-list.
3933
3934 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3935 tabulated-list-sort-column.
3936 (tabulated-list-init-header): Add the initial aligning space even
3937 if tabulated-list-padding is zero.
3938
e129292c
CS
39392012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3940
3941 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3942 whose cdr is not a cons cell correctly (bug#11038).
3943
6632d361
CY
39442012-05-06 Chong Yidong <cyd@gnu.org>
3945
e129292c
CS
3946 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3947 Accept additional plist in column descriptors.
6632d361
CY
3948 (tabulated-list-init-header): Obey it.
3949 (tabulated-list-get-entry): New function.
3950 (tabulated-list-put-tag): Use it. Use string-width instead of
3951 length.
3952 (tabulated-list--column-number): New function.
3953 (tabulated-list-print): Use it.
e129292c
CS
3954 (tabulated-list-print-col): New function.
3955 Set `tabulated-list-column-name' property on each column's text.
6632d361 3956 (tabulated-list-print-entry): Use it.
e129292c
CS
3957 (tabulated-list-delete-entry, tabulated-list-set-col):
3958 New functions.
6632d361
CY
3959 (tabulated-list-sort-column): New command (Bug#11337).
3960
3cc99f68
CY
3961 * buff-menu.el (list-buffers): Move C-x C-b binding from
3962 buff-menu.el to bindings.el.
3963
3964 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3965 :advertised-binding feature.
3966
52b61776
TN
39672012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3968
3969 * progmodes/compile.el (compilation-internal-error-properties):
3970 Calculate start position correctly when end-col is set but
3971 end-line is not (Bug#11382).
3972
ebfe2597
WJ
39732012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3974
3975 * man.el (Man-unindent): Use text-property-default-nonsticky to
3976 prevent untabify from inheriting face properties (Bug#11408).
3977
6d3f7c2f
SM
39782012-05-05 Stefan Merten <smerten@oekonux.de>
3979
3980 * textmodes/rst.el: Major merge with upstream development up to
3981 Docutils SVN r7399 / rst.el V1.2.1.
3982
3983 Clarify maintainership and authors.
3984
3985 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3986 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3987 (rst-official-version, rst-official-cvs-rev, rst-version)
3988 (rst-package-emacs-version-alist): New functions and variables
3989 for version information.
3990
3991 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3992 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3993 (rst-mode-syntax-table, rst-mode): New and corrected functions
3994 and variables representing reStructuredText features.
3995
3996 (rst-re): New function for reStructuredText regexes. Use in
3997 many places.
3998
3999 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
4000 (rst-mode-map): Rebind keys.
4001
4002 (rst-mode-lazy, rst-font-lock-keywords)
4003 (rst-font-lock-extend-region)
4004 (rst-font-lock-extend-region-internal)
4005 (rst-font-lock-extend-region-extend)
4006 (rst-font-lock-find-unindented-line-limit)
4007 (rst-font-lock-find-unindented-line-match)
4008 (rst-adornment-level, rst-font-lock-adornment-level)
4009 (rst-font-lock-adornment-match)
4010 (rst-font-lock-handle-adornment-pre-match-form)
4011 (rst-font-lock-handle-adornment-matcher): Major revision of
4012 font-locking. Integrate with other code. Use `jit-lock-mode'.
4013
4014 (rst-preferred-adornments, rst-adjust-hook)
4015 (rst-new-adornment-down, rst-preferred-bullets)
4016 (rst-preferred-bullets, rst-indent, rst-indent-width)
4017 (rst-indent-field, rst-indent-literal-normal)
4018 (rst-indent-literal-minimized, rst-indent-comment): Change,
4019 extend and improve customization.
4020
4021 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4022 (rst-normalize-cursor-position, rst-get-decoration)
4023 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4024 (rst-rstrip, rst-toc-insert-find-delete-contents)
4025 (rst-shift-fill-region, rst-compute-bullet-tabs)
4026 (rst-debug-print-tabs, rst-debug-mark-found)
4027 (rst-shift-region-guts, rst-shift-region-right)
4028 (rst-shift-region-left, rst-use-char-classes)
4029 (rst-font-lock-keywords-function)
4030 (rst-font-lock-indentation-point)
4031 (rst-font-lock-find-unindented-line-begin)
4032 (rst-font-lock-find-unindented-line-end)
4033 (rst-font-lock-find-unindented-line)
4034 (rst-font-lock-adornment-point, rst-font-lock-level)
4035 (rst-adornment-level-alist): Remove functions and variables.
4036
4037 (rst-compare-adornments, rst-get-adornment-match)
4038 (rst-suggest-new-adornment, rst-get-adornments-around)
4039 (rst-adornment-complete-p, rst-get-next-adornment)
4040 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4041 (rst-straighten-adornments): Standardize function names to
4042 use "adornment" instead of "decoration". Correct callers.
4043 Similar standardizing in many places.
4044
4045 (rst-update-section, rst-adjust, rst-promote-region)
4046 (rst-enumerate-region, rst-bullet-list-region)
4047 (rst-repeat-last-character): Correct use of `interactive'.
4048
4049 (rst-classify-adornment, rst-find-all-adornments)
4050 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4051 (rst-find-leftmost-column, rst-repeat-last-character):
4052 Refactor functions.
4053
4054 (rst-find-title-line, rst-reset-section-caches)
4055 (rst-get-adornments-around, rst-adjust-adornment-work)
4056 (rst-arabic-to-roman, rst-roman-to-arabic)
4057 (rst-insert-list-pos, rst-insert-list-new-item)
4058 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4059 New functions.
4060
4061 (rst-all-sections, rst-section-hierarchy)
4062 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4063 New variables.
4064
4065 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4066 configuration instead of only buffer. Change where necessary.
4067
4068 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4069 (rst-shift-region, rst-adaptive-fill): New functions for
4070 indentation and filling.
4071
4072 (rst-comment-line-break, rst-comment-indent)
4073 (rst-comment-insert-comment, rst-comment-region)
4074 (rst-uncomment-region): New functions for handling comments.
4075
4076 (rst-compile): Quote shell arguments.
4077
4078 (rst-compile-pdf-preview, rst-compile-slides-preview):
4079 Delete temporary files after use.
4080
a43f98b3
GM
40812012-05-05 Glenn Morris <rgm@gnu.org>
4082
48176e8b
GM
4083 * calendar/cal-html.el: Optionally include holidays in the output.
4084 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4085 (cal-html-holidays): New option.
4086 (cal-html-css-default): Add holiday entry.
4087 (holiday-in-range): Autoload it.
4088 (cal-html-htmlify-entry): Add optional class argument.
4089 (cal-html-htmlify-list): Add optional holidays argument.
4090 (cal-html-insert-agenda-days): Include holidays in the output.
4091 (cal-html-one-month): Maybe include holidays.
4092
a43f98b3
GM
4093 * calendar/holidays.el (holiday-in-range):
4094 Move here from cal-tex-list-holidays.
4095 * calendar/cal-tex.el (cal-tex-list-holidays):
4096 Make it an obsolete alias for holiday-in-range. Update all callers.
4097
fef9d149 40982012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4099
4100 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4101 Nextstep.
4102
248da2f4
RW
41032012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4104
4105 * files.el (file-auto-mode-skip): New var.
4106 (set-auto-mode-1): Use it.
4107
f95e9344
SM
41082012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4109
df96ab1e
SM
4110 * repeat.el: Use lexical-binding.
4111 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4112 (repeat-undo-count): Remove.
4113 (repeat):
4114 * progmodes/octave-mod.el (octave-abbrev-start):
4115 * progmodes/f90.el (f90-abbrev-start):
4116 * face-remap.el (text-scale-adjust):
4117 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4118
5342bb06
SM
4119 * emacs-lisp/pcase.el (pcase--let*): New function.
4120 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4121 a bit more.
4122 (pcase--split-pred): Be more clever about ruling out overlap between
4123 a predicate and some constant pattern.
4124 (pcase--q1): Use `null' instead of (eq foo nil).
4125
f95e9344
SM
4126 * subr.el (setq-local, defvar-local): New macros.
4127 (kbd): Redefine as an alias.
4128 (with-selected-window): Leave unrelated frames alone.
4129 (set-temporary-overlay-map): New function.
4130
71873e2b
SM
41312012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4132
4133 * subr.el (user-error): New function.
4134 * window.el (switch-to-buffer):
4135 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4136 (smerge-match-conflict):
4137 * simple.el (previous-matching-history-element)
4138 (next-matching-history-element, goto-history-element, undo-more)
4139 (undo-start):
4140 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4141 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4142 (next-file, tags-loop-scan, list-tags, complete-tag):
4143 * progmodes/compile.el (compilation-loop):
4144 * mouse.el (mouse-minibuffer-check):
4145 * man.el (Man-bgproc-sentinel, Man-goto-page):
4146 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4147 (Info-history-forward, Info-follow-reference, Info-menu)
4148 (Info-extract-menu-item, Info-extract-menu-counting)
4149 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4150 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4151 (Info-next-reference, Info-prev-reference, Info-index)
4152 (Info-index-next, Info-follow-nearest-node)
4153 (Info-copy-current-node-name):
4154 * imenu.el (imenu--make-index-alist)
4155 (imenu-default-create-index-function, imenu-add-to-menubar):
4156 * files.el (basic-save-buffer, recover-file):
4157 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4158 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4159 (checkdoc-message-text, checkdoc-defun):
4160 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4161 * cus-edit.el (customize-changed-options, customize-rogue)
4162 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4163 (custom-variable-mark-to-reset-standard)
4164 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4165 (custom-file):
4166 * completion.el (check-completion-length):
4167 * comint.el (comint-search-arg)
4168 (comint-previous-matching-input-string-position)
4169 (comint-previous-matching-input)
4170 (comint-replace-by-expanded-history-before-point, comint-send-input)
4171 (comint-copy-old-input, comint-backward-matching-input)
4172 (comint-goto-process-mark, comint-set-process-mark):
4173 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4174 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4175
8a61ee22
SM
41762012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4177
66408d1e
SM
4178 * dabbrev.el (dabbrev--ignore-case-p): New function.
4179 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4180 Use it.
4181
8a61ee22
SM
4182 * files.el (automount-dir-prefix): Mark as obsolete.
4183
3c74813a
GM
41842012-05-04 Glenn Morris <rgm@gnu.org>
4185
4186 * patcomp.el, play/bruce.el: Move to obsolete/.
4187
0bfcf5c5
PE
41882012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4189
4190 Fix minor Y10k bugs.
4191 * arc-mode.el (archive-unixdate):
4192 * autoinsert.el (auto-insert-alist):
4193 * calc/calc-forms.el (math-this-year):
4194 * emacs-lisp/copyright.el (copyright-current-year)
4195 (copyright-update-year, copyright):
4196 * tar-mode.el (tar-clip-time-string):
4197 * time.el (display-time-update):
4198 Don't assume years have 4 digits.
4199
78f3273a
CY
42002012-05-04 Chong Yidong <cyd@gnu.org>
4201
4202 * dos-w32.el (file-name-buffer-file-type-alist)
4203 (direct-print-region-use-command-dot-com):
4204 * ffap.el (ffap-menu-regexp):
4205 * find-file.el (ff-special-constructs):
4206 * follow.el (follow-debug):
4207 * forms.el (forms--debug):
4208 * iswitchb.el (iswitchb-all-frames):
4209 * ido.el (ido-all-frames):
4210 * emacs-lisp/timer.el (timer-max-repeats):
4211 * mail/feedmail.el (feedmail-mail-send-hook)
4212 (feedmail-mail-send-hook-queued):
4213 * mail/footnote.el (footnote-signature-separator):
4214 * mail/mailabbrev.el (mail-alias-separator-string)
4215 (mail-abbrev-mode-regexp):
4216 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4217 * progmodes/idlwave.el (idlwave-libinfo-file)
4218 (idlwave-default-completion-case-is-down)
4219 (idlwave-library-routines): Convert defvars to defcustoms.
4220
4221 * mail/rmail.el (rmail-decode-mime-charset):
4222 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4223 (idlwave-shell-fix-inserted-breaks)
4224 (idlwave-shell-activate-alt-keybindings)
4225 (idlwave-shell-use-breakpoint-glyph):
4226 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4227
f7ae6719
SM
42282012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4229
4230 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4231
47086495
WS
42322012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4233
4234 * progmodes/verilog-mode.el (font-lock-keywords):
4235 Fix mis-highligting auto. Reported by Craig Barner.
4236 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4237 defines from global name space. Reported by Dan Dever.
4238 (verilog-auto-reset, verilog-auto-reset-widths)
4239 (verilog-auto-tieoff): Support using unbased numbers for
4240 AUTORESET and AUTOTIEOFF.
4241 (verilog-submit-bug-report): Update variable list.
4242 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4243 parenthesis from not matching. Reported by Michael Rytting.
4244 (verilog-auto-template-lint): Fix hash error when linting modules
4245 with no used templates.
4246 (verilog-warn, verilog-warn-error)
4247 (verilog-warn-fatal): When non-interactive report multiple
4248 warnings before exiting. Suggested by Brad Dobbie.
4249 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4250 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4251 to report unused template errors. Reported by Brad Dobbie.
4252 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4253 nets, bug438. Reported by Vns Blore.
4254 (verilog-auto-inout-module, verilog-auto-reg)
4255 (verilog-read-decls, verilog-read-sub-decls-sig)
4256 (verilog-signals-edit-wire-reg, verilog-signals-with):
4257 Fix passing of Verilog data types in ANSI input/output ports
4258 such as "output logic" into the AUTOs. Special case "wire" and
4259 "reg" for backwards compatibility presuming Verilog 2001.
4260 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4261 (verilog-preprocess): Fix replication of preprocess output.
4262 Reported by Brad Dobbie.
4263 (verilog-auto-inst-interfaced-ports):
4264 Create verilog-auto-inst-interfaced-ports, bug429.
4265 Reported by Julian Gorfajn.
4266 (verilog-after-save-font-hook)
4267 (verilog-before-save-font-hook): New variable.
4268 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4269 (verilog-save-font-mods): Wrap disabling fontification, reported
4270 by David Rogoff.
4271 (verilog-do-indent, verilog-pretty-declarations-auto)
4272 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4273 Reported by Pierre-David Pfister.
4274 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4275 of class declarations, bug292. Reported by Kevin Heilman.
4276 (verilog-read-decls): Fix 'parameter type' not appearing in
4277 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4278 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4279 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4280 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4281 Reported by David Kravitz.
4282
42832012-05-03 Michael McNamara <mac@mail.brushroad.com>
4284
4285 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4286 assignment with tests in ifs and for loops.
4287 (verilog-extended-complete-re, verilog-complete-reg): Change so
4288 that DPI inport functions don't look like fuction declarations.
4289 (verilog-pretty-expr): Don't line up assignment
4290 operations to the test and increment in if and for loops
4291 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4292 that DPI inport functions don't look like fuction declarations.
47086495 4293
2e51d4b5
KH
42942012-05-03 Kenichi Handa <handa@m17n.org>
4295
4296 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4297 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4298 (Bug#11282).
4299
2bd785a2
SM
43002012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4301
4302 * emacs-lisp/bytecomp.el
4303 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4304 since cconv.el might have introduced :fun-body, internal-make-closure,
4305 and friends for bytecomp to handle (bug#11391).
4306 * custom.el (defcustom): Avoid ((λ ..) ..).
4307
99d27583
SM
43082012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4309
4310 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4311
55a71479
JB
43122012-05-02 Juanma Barranquero <lekktu@gmail.com>
4313
4314 * notifications.el (dbus-debug):
4315 * term/linux.el (gpm-mouse-enable):
4316 * term/screen.el (xterm-register-default-colors): Declare.
4317
7b97c764
CY
43182012-05-02 Chong Yidong <cyd@gnu.org>
4319
2bc356d7
CY
4320 * cus-start.el (gc-cons-percentage, exec-suffixes)
4321 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4322 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4323 (make-cursor-line-fully-visible, void-text-area-pointer)
4324 (font-list-limit): Add customization data.
4325
7b97c764
CY
4326 * allout.el (allout-exposure-change-functions)
4327 (allout-structure-added-functions)
4328 (allout-structure-deleted-functions)
4329 (allout-structure-shifted-functions): Rename abnormal hooks from
4330 *-hook, and convert to defcustoms.
5d3385a0
JB
4331 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4332 Convert to defcustoms.
7b97c764
CY
4333 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4334
4335 * allout-widgets.el: Hook callers changed.
4336
90207a15 43372012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4338
4339 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4340 the yanked message in preference to the default value of
4341 buffer-file-coding-system.
4342
90207a15 43432012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4344
5d3385a0
JB
4345 * window.el (display-buffer--action-function-custom-type):
4346 Fix entry.
d9558cad 4347
90207a15 43482012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4349
4350 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4351
d80ac57b
GM
43522012-05-01 Glenn Morris <rgm@gnu.org>
4353
976f7668
GM
4354 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4355
beb83b5a
GM
4356 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4357
d80ac57b
GM
4358 * cus-edit.el (custom-variable-documentation): Simplify with format.
4359
b593d6a9 43602012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4361 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4362
4363 * simple.el (suggest-key-bindings, execute-extended-command):
4364 Move from keyboard.c.
4365
782fbf2a
CY
43662012-05-01 Chong Yidong <cyd@gnu.org>
4367
4368 * follow.el: Eliminate advice.
4369 (set-process-filter, process-filter, sit-for): Advice deleted.
4370 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4371 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4372 Vars deleted.
782fbf2a
CY
4373 (follow-auto): Use a :set function.
4374 (follow-mode): Rewritten. Don't advise process filters.
4375 (follow-switch-to-current-buffer-all, follow-scroll-up)
4376 (follow-scroll-down): Assume follow-mode is bound.
4377 (follow-comint-scroll-to-bottom)
4378 (follow-align-compilation-windows): New functions.
4379 (follow--window-sorter): New function.
4380 (follow-all-followers): Use it to explicitly sort windows by their
4381 positions; don't make assumptions about next-window order.
4382 (follow-windows-start-end, follow-delete-other-windows-and-split)
4383 (follow-calc-win-start): Doc fix.
4384 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4385 vertical-motion unnecessarily.
4386 (follow-adjust-window): New function.
4387 (follow-post-command-hook): Use it.
4388 (follow-call-set-process-filter, follow-call-process-filter)
4389 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4390 (follow-stop-intercept-process-output, follow-generic-filter):
4391 Functions deleted.
4392 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4393 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4394 New functions, replacing advice on scroll-bar-* commands.
87233a14 4395 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4396
4397 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4398 (comint-postoutput-scroll-to-bottom): Use it.
4399 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4400
290af740
GM
44012012-05-01 Glenn Morris <rgm@gnu.org>
4402
4403 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4404 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4405 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4406 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4407 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4408 Remove no-byte-compile setting.
4409
6eac8dc9
SM
44102012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4411
4412 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4413 all-completions code to not return a number in the last cdr.
4414
9cc7819c
LL
44152012-04-30 Leo Liu <sdl.web@gmail.com>
4416
4417 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4418 read-only error.
4419
c93b886f
CY
44202012-04-29 Chong Yidong <cyd@gnu.org>
4421
4422 * follow.el (follow-calc-win-end): Rewrite to handle partial
4423 screen lines correctly (Bug#8390).
4424 (follow-avoid-tail-recenter): Minor cleanup.
4425
8b6c19f4
SM
44262012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4427
4428 Avoid the obsolete `assoc' package.
4429 * speedbar.el (speedbar-refresh): Avoid adelete.
4430 (speedbar-file-lists): Simplify and avoid aput.
4431 * man.el (Man--sections, Man--refpages): New vars, replacing
4432 Man-sections-alist and Man-refpages-alist.
4433 (Man-build-section-alist, Man-build-references-alist):
4434 Use them; avoid aput.
4435 (Man--last-section, Man--last-refpage): New vars.
4436 (Man-follow-manual-reference): Use them.
4437 Use the `default' arg of completing-read.
4438 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4439
c5bb7569
CY
44402012-04-27 Chong Yidong <cyd@gnu.org>
4441
d1d2e2e8
CY
4442 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4443
15cd8efd
CY
4444 * startup.el (x-apply-session-resources): New function.
4445
4446 * term/ns-win.el (ns-initialize-window-system):
4447 * term/w32-win.el (w32-initialize-window-system):
4448 * term/x-win.el (x-initialize-window-system): Use it to properly
4449 set menu-bar-mode and other vars from X resources, even if the
4450 initial frame is not a window-system frame (Bug#2299).
4451
c5bb7569
CY
4452 * subr.el (read-key): Avoid running filter function when setting
4453 up temporary tool bar entries (Bug#9922).
4454
a8e7d6d7 44552012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4456
4457 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4458 (Bug#11344)
4459
a8e7d6d7 44602012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4461
4462 * select.el (xselect--encode-string): New function, split from
4463 xselect-convert-to-string.
4464 (xselect-convert-to-string): Use it.
4465 (xselect-convert-to-filename, xselect-convert-to-os)
4466 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4467 returned strings are properly encoded (Bug#11315).
4468
a8e7d6d7 44692012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4470
4471 * simple.el (delete-active-region): Move to killing custom group.
4472
a8e7d6d7 44732012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4474
4475 * progmodes/which-func.el (which-func-current): Quote %
4476 characters for mode-line processing.
4477
578c1d4b 44782012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4479
4480 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4481 reaching eob (Bug#11286).
4482
a8e7d6d7 44832012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4484
4485 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4486 (gdb): Make it buffer-local and init to zero.
4487 (gdb-control-commands-regexp): New variable.
4488 (gdb-send): Don't wrap in "-interpreter-exec console" if
4489 gdb-control-level is positive. Increment gdb-control-level
4490 whenever the command matches gdb-control-commands-regexp, and
4491 decrement it each time the command is "end". (Bug#11279)
4492
a8e7d6d7 44932012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4494
4495 * window.el (adjust-window-trailing-edge, enlarge-window)
4496 (shrink-window, window-resize):
4497 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4498 windows (Bug#11276).
4499
b3608390
CY
45002012-04-27 Chong Yidong <cyd@gnu.org>
4501
4502 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4503 fix "missing prefix" warning. All callers changed.
b3608390 4504
797e6e88
SM
45052012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4506
4507 * emacs-lisp/assoc.el: Move to obsolete/.
4508
e95a67dc
SM
45092012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4510
657c21e4 4511 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4512
4513 * term/ns-win.el (ns-define-service):
4514 * progmodes/pascal.el (pascal-goto-defun):
4515 * progmodes/js.el (js--read-tab):
4516 * progmodes/etags.el (tags-lazy-completion-table):
4517 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4518 * emacs-lisp/ewoc.el (ewoc--wrap):
4519 * emacs-lisp/assoc.el (aput, adelete, amake):
4520 * doc-view.el (doc-view-convert-current-doc):
4521 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4522
cb3e7ae0
CY
45232012-04-26 Chong Yidong <cyd@gnu.org>
4524
dce04f7f
CY
4525 * image.el (image-type-from-buffer): Only return supported image
4526 type (Bug#9045).
4527
cb3e7ae0
CY
4528 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4529 value, for symmetry with diff-end-of-hunk.
4530 (diff-split-hunk, diff-find-source-location)
4531 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4532 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4533 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4534 compute the relevant hunk or file properly (Bug#6005).
4535 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4536
0d42eb3e
SM
45372012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4538
4539 * vc/vc-mtn.el:
4540 * vc/vc-hg.el:
4541 * vc/vc-git.el:
4542 * vc/vc-dir.el:
4543 * vc/vc-cvs.el:
4544 * vc/vc-bzr.el:
4545 * vc/vc-arch.el:
4546 * vc/vc.el: Replace lexical-let by lexical-binding.
4547 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4548 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4549 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4550
f08ae1c9
CY
45512012-04-26 Chong Yidong <cyd@gnu.org>
4552
8b71081d
CY
4553 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4554 (diff-mode-shared-map): Bind it to / and [remap undo].
4555
f08ae1c9
CY
4556 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4557 (ediff-window-setup-function): Use it as the default, to set up
4558 windows based on whether the current frame is graphical (Bug#2138).
4559 (ediff-choose-window-setup-function-automatically): Make obsolete.
4560
4561 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4562
ef24141c
SM
45632012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4564
cc356a5d
SM
4565 * ffap.el: Remove old code for obsolete package.
4566 (ffap-complete-as-file-p): Remove.
4567
b4ff4f1f
SM
4568 Use completion-table-with-quoting for comint and pcomplete.
4569 * comint.el (comint--unquote&requote-argument)
4570 (comint--unquote-argument, comint--requote-argument): New functions.
4571 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4572 (comint-quote-filename): Use regexp-opt-charset.
4573 (comint--common-suffix, comint--common-quoted-suffix)
4574 (comint--table-subvert): Remove.
4575 (comint-unquote-function, comint-requote-function): New vars.
4576 (comint--complete-file-name-data): Use them with
4577 completion-table-with-quoting.
4578 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4579 * pcomplete.el (pcomplete-arg-quote-list)
4580 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4581 (pcomplete-unquote-argument-function): Default to non-nil.
4582 (pcomplete-unquote-argument): Simplify.
4583 (pcomplete--common-quoted-suffix): Remove.
4584 (pcomplete-requote-argument-function): New var.
4585 (pcomplete--common-suffix): New function.
4586 (pcomplete-completions-at-point): Use completion-table-with-quoting
4587 and completion-table-subvert.
4588
79c4eeb4
SM
4589 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4590 (minibuffer--double-dollars): Preserve properties.
4591 (completion--sifn-requote): New function.
4592 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4593
ef24141c
SM
4594 * minibuffer.el: Add support for completion of quoted/escaped data.
4595 (completion-table-with-quoting, completion-table-subvert): New funs.
4596 (completion--twq-try, completion--twq-all): New functions.
4597 (completion--nth-completion): New function.
4598 (completion-try-completion, completion-all-completions): Use it.
4599
784e7d6e
LL
46002012-04-25 Leo Liu <sdl.web@gmail.com>
4601
dd2ac746
SM
4602 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4603 Use compilation-message if available to find real filename.
784e7d6e 4604
07875ee7
CY
46052012-04-25 Chong Yidong <cyd@gnu.org>
4606
4607 * vc/diff-mode.el (diff-setup-whitespace): New function.
4608 (diff-mode): Use it.
4609
4610 * vc/diff.el (diff-sentinel):
4611 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4612 Whitespace mode variables based on diff style (Bug#8612).
4613
5055880d
LL
46142012-04-25 Leo Liu <sdl.web@gmail.com>
4615
daf75653
LL
4616 * progmodes/python.el (python-send-region): Add suffix .py to the
4617 temp file.
4618
5055880d
LL
4619 * files.el (auto-mode-alist): Use javascript-mode instead.
4620
db9b177b
AH
46212012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4622
ef24141c 4623 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4624
090bd7cb 4625 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4626 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4627 references, see Bug#9.
ef24141c 4628 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4629 when receiving a fault reply.
ef24141c 4630 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4631
090bd7cb 4632 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4633 (soap-inspect-simple-type): New function.
db9b177b 4634
090bd7cb 4635 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4636 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4637 (soap-decode-basic-type, soap-encode-basic-type):
4638 support unsignedInt and double basic types.
db9b177b 4639 (soap-resolve-references-for-simple-type)
ef24141c
SM
4640 (soap-parse-simple-type, soap-encode-simple-type): New function.
4641 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4642
090bd7cb 4643 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4644 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4645 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4646 the local name of "soapenc:Array".
4647 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4648 decoding integer, byte and anyURI xsd types.
4649
1fc6097b
CY
46502012-04-25 Chong Yidong <cyd@gnu.org>
4651
4652 * cus-edit.el (custom-buffer-create-internal): Update header text.
4653
afc6df87
EZ
46542012-04-25 Eli Zaretskii <eliz@gnu.org>
4655
4656 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4657 settings on 'system-type', not on 'window-system'. On MS-Windows,
4658 set interactive-mode on in GDB.
4659
dfbd787f
SM
46602012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4661
4662 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4663 (ruby-syntax-propertize-regexp): Remove.
4664 (ruby-syntax-propertize-function): Split regexp into chunks.
4665 Match following code directly.
4666
85222d44
DG
46672012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4668
51a8ea2a
DG
4669 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4670 (ruby-syntax-propertize-regexp): New function.
4671 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4672 by a special keyword.
4673
85222d44
DG
4674 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4675 (ruby-syntax-general-delimiters-goto-beg)
4676 (ruby-syntax-propertize-general-delimiters): New functions.
4677 (ruby-syntax-propertize-function): Use them to handle GDL.
4678 (ruby-font-lock-keywords): Move old handling of GDL...
4679 (ruby-font-lock-syntactic-keywords): .. to here.
4680 (ruby-calculate-indent): Adjust indentation for GDL.
4681
b613912b
MA
46822012-04-24 Michael Albinus <michael.albinus@gmx.de>
4683
b5380639
MA
4684 * notifications.el (top): Remove unneeded declarations.
4685 (notifications-specification-version): Change to "1.2".
e43042fe 4686 (notifications-interface, notifications-notify-method)
b613912b
MA
4687 (notifications-close-notification-method): Fix docstring.
4688 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4689 (notifications-notify): Add :action-items, :resident and
4690 :transient hints. Change "image_data" to "image-data" and
4691 "image_path" to "image-path".
b613912b
MA
4692 (notifications-get-capabilities): New defun.
4693
257440aa
LL
46942012-04-24 Leo Liu <sdl.web@gmail.com>
4695
4696 * progmodes/python.el: Move hideshow setup to the end.
4697
b1bac16e
MR
46982012-04-24 Martin Rudalics <rudalics@gmx.at>
4699
4700 * window.el (handle-select-window): Clear echo area since this is
4701 no more done by read_char (Bug#11304).
4702
d81bd059
SM
47032012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4704
4705 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4706 and `/ M' to filter-derived-mode.
4707 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4708 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4709 (ibuffer-mark-by-mode): Use default rather than initial-input.
4710 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4711
c4cf6d91
IA
47122012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4713
4714 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4715 (ibuffer-filter-by-derived-mode): New filter.
4716 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4717
7511ded8
CY
47182012-04-23 Andreas Politz <politza@fh-trier.de>
4719
4720 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4721
775c916b
CY
47222012-04-23 Chong Yidong <cyd@gnu.org>
4723
4724 * cus-edit.el (customize-apropos, customize-apropos-options):
4725 Disable matching of non-option variables (Bug#11176).
4726 (customize-option, customize-option-other-window)
4727 (customize-changed-options): Doc fix.
4728 (customize-apropos-options, customize-apropos-faces)
4729 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4730
4731 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4732 Fix word list splitting (Bug#11132).
46c71e23
CY
4733 (apropos-symbol, apropos-keybinding, apropos-label)
4734 (apropos-property, apropos-function-button)
4735 (apropos-variable-button, apropos-misc-button): New faces.
4736 (apropos-symbol-face, apropos-keybinding-face)
4737 (apropos-label-face, apropos-property-face, apropos-match-face):
4738 Variables removed (Bug#8396).
4739 (apropos-library-button, apropos-format-plist, apropos-print)
4740 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4741
2df41f9c
MA
47422012-04-23 Michael Albinus <michael.albinus@gmx.de>
4743
4744 * net/xesam.el (xesam-mode-map): Use let-bound map in
4745 initialization. (Bug#11292)
4746
da00640a
AM
47472012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4748
4749 Preserve ispell session localwords when switching back to
4750 original buffer.
4751
090bd7cb
JB
4752 * textmodes/ispell.el (ispell-buffer-session-localwords):
4753 New buffer-local variable to hold buffer session localwords.
ed9265fc 4754 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4755 localwords.
4756 (ispell-command-loop, ispell-change-dictionary)
4757 (ispell-buffer-local-words): Preserve session localwords when
4758 needed.
4759
090bd7cb
JB
4760 * textmodes/flyspell.el (flyspell-process-localwords)
4761 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4762
f621ccf5
AM
47632012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4764
090bd7cb
JB
4765 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4766 using obsolete `translation-table-for-input'.
ef24141c
SM
4767 (ispell-word, ispell-process-line, ispell-complete-word):
4768 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4769
c2d1019e
CY
47702012-04-22 Chong Yidong <cyd@gnu.org>
4771
4772 * cus-edit.el (custom-variable-menu)
4773 (custom-variable-reset-saved, custom-face-menu)
4774 (custom-face-reset-saved): If there is no saved value, make the
4775 "reset-saved" operation bring back the default (Bug#9509).
4776 (custom-face-state): Properly detect themed faces.
4777
eeddc531
CY
4778 * faces.el (face-spec-set): Stop supporting deprecated form of
4779 third arg.
4780
dcbf5805
MA
47812012-04-22 Michael Albinus <michael.albinus@gmx.de>
4782
4783 Move functions from C to Lisp. Make non-blocking method calls
4784 the default. Implement further D-Bus standard interfaces.
4785
ef24141c
SM
4786 * net/dbus.el (dbus-message-internal): Declare function.
4787 Remove unneeded function declarations.
dcbf5805
MA
4788 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4789 (dbus-message-type-method-return, dbus-message-type-error)
4790 (dbus-message-type-signal): Declare variables. Remove local
4791 definitions.
4792 (dbus-interface-dbus, dbus-interface-peer)
4793 (dbus-interface-introspectable, dbus-interface-properties)
4794 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4795 Adapt docstring.
4796 (dbus-interface-objectmanager): New defconst.
4797 (dbus-call-method, dbus-call-method-asynchronously)
4798 (dbus-send-signal, dbus-method-return-internal)
4799 (dbus-method-error-internal, dbus-register-service)
4800 (dbus-register-signal, dbus-register-method): New defuns, moved
4801 from dbusbind.c
4802 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4803 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4804 New defuns.
dcbf5805
MA
4805 (dbus-call-method-non-blocking): Make it an obsolete function.
4806 (dbus-unregister-object, dbus-unregister-service)
4807 (dbus-handle-event, dbus-register-property)
4808 (dbus-property-handler): Obey the new structure of
4809 `bus-registered-objects'.
4810 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4811 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4812 Use `dbus-call-method'.
4813
cf20dee0
CY
48142012-04-22 Chong Yidong <cyd@gnu.org>
4815
4816 * cus-edit.el (custom-commands, custom-reset-menu)
4817 (Custom-reset-standard): Tweak labels.
4818 (custom-reset-button-menu): Change default to t.
4819 (custom-buffer-create-internal): For the custom-reset-button-menu
4820 case, put the revert button first.
4821 (custom-group-subtitle): New face.
4822 (custom-group-value-create): Align docstring to a specific column.
4823
4824 * wid-edit.el (widget-documentation-link-add): Don't handle
4825 indentation in this function.
4826 (widget-documentation-string-indent-to): New function.
4827 (widget-documentation-string-value-create): Use it.
4828
4829 * autorevert.el (auto-revert):
4830 * epg-config.el (epg):
4831 * ibuffer.el (ibuffer):
4832 * mpc.el (mpc):
4833 * ses.el (ses):
4834 * eshell/eshell.el (eshell):
4835 * net/ange-ftp.el (ange-ftp):
4836 * progmodes/ebnf2ps.el (postscript):
4837 * progmodes/flymake.el (flymake):
4838 * progmodes/prolog.el (prolog):
4839 * progmodes/verilog-mode.el (verilog-mode):
4840 * progmodes/which-func.el (which-func):
4841 * term/xterm.el (xterm):
4842 * textmodes/picture.el (picture):
4843 * textmodes/tildify.el (tildify):
4844 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4845 customization buffers.
4846
583e23bd
AM
48472012-04-22 Alan Mackenzie <acm@muc.de>
4848
4849 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4850 Adding a ) can hide the resulting (..) from searches. Fix it.
4851 Bound the backward search to the position of the existing (.
4852
7dd51bf1
JB
48532012-04-21 Juanma Barranquero <lekktu@gmail.com>
4854
4855 * progmodes/verilog-mode.el (verilog-mode): Check whether
4856 which-func-modes is t before adding verilog-mode.
4857 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4858
d64a438f
LL
48592012-04-21 Leo Liu <sdl.web@gmail.com>
4860
7dd51bf1 4861 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4862
081e8d65
MV
48632012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4864
4865 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4866 filling of the last column of a table (Bug#5635).
4867 (woman-find-next-control-line): New arg, specifying an additional
4868 regexp component for the control line.
4869 (woman2-roff-buffer): Use it.
4870 (woman-break-table): New function.
4871 (woman2-TS): Use it.
4872
48732012-04-21 Chong Yidong <cyd@gnu.org>
4874
4875 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4876 (woman-horizontal-escapes, woman-negative-vertical-space)
4877 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4878 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4879
ed571ccb
SM
48802012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4881
4882 * minibuffer.el (completion-file-name-table): Complete user names.
4883
39773899
LL
48842012-04-20 Leo Liu <sdl.web@gmail.com>
4885
4886 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4887 and pcase-let*.
4888
de6ff46d
CY
48892012-04-20 Chong Yidong <cyd@gnu.org>
4890
4891 * server.el (server-execute): Respect initial-buffer-choice if it
4892 is a string and there are no files to open (Bug#2825).
4893 (server-create-window-system-frame, server-create-tty-frame):
4894 Don't switch buffers here.
2d0e8e61
CY
4895 (server-process-filter): Only try to open a window system frame if
4896 compiled with graphical support (Bug#8314).
de6ff46d 4897
54071013
DN
48982012-04-20 Dan Nicolaescu <dann@gnu.org>
4899
4900 * battery.el (battery-echo-area-format): Display remaining time
4901 for sysfs backend too (Bug#11269).
4902 (battery-linux-sysfs): Fix conditional for the charge.
4903
f30d612a
CY
49042012-04-20 Chong Yidong <cyd@gnu.org>
4905
c07a4c0b 4906 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4907 (gdb-inferior-io--init-proc): New function.
4908 (gdb-init-1): Use it.
4909 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4910 responsible for allocating a new pty and hooking it to gdb when
4911 the old pty gets an EIO due to process exit.
4912 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4913 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4914 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4915
2116e93c
EZ
49162012-04-20 Eli Zaretskii <eliz@gnu.org>
4917
4918 * window.el (window-min-size, window-sizable, window-min-delta)
4919 (window-max-delta, window--resizable, window-resizable)
4920 (window-total-size, window-full-height-p, window-full-width-p)
4921 (window-in-direction, window--resize-mini-window, window-resize)
4922 (window--resize-child-windows-normal)
4923 (window--resize-child-windows, window--resize-siblings)
4924 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4925 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4926
c07a4c0b 49272012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4928
ef24141c
SM
4929 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4930 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4931 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4932 pty process (Bug#11273).
4933 (gdb-update): New arg to suppress talking to the gdb process.
4934 (gdb-done-or-error): Use it.
4935 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4936 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4937 sentinel not being called.
4938
4939 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4940
d02766ab
CY
4941 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4942
c07a4c0b 49432012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4944
4945 * net/network-stream.el (open-network-stream): Doc fix.
4946
c07a4c0b 49472012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4948
4949 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4950
c07a4c0b 49512012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4952
4953 Ensure searching for keywords is case sensitive.
4954
4955 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4956 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4957 (c-defun-name, c-mark-function, c-cpp-define-name)
4958 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4959 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4960
ef24141c
SM
4961 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4962 Bind case-fold-search to nil.
f0f6bc35 4963
c07a4c0b 49642012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4965
4966 * mail/sendmail.el (mail-bury): Call return action with the right
4967 Rmail buffer (Bug#11242).
4968
9a864fa2
CY
4969 * server.el (server-process-filter): Handle corner case where both
4970 tty and nowait options are present (Bug#11102).
4971
539aa513
EZ
49722012-04-20 Eli Zaretskii <eliz@gnu.org>
4973
4974 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4975 (top level): Put into the executable the ident-style '$Id:' tag on
4976 windows-nt as well.
539aa513 4977
cfc7d5da
SM
49782012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4979
4980 * electric.el (electric-indent-post-self-insert-function): Check that
4981 electric-indent-mode is enabled in current buffer.
4982
5b01685c
JB
49832012-04-19 Juanma Barranquero <lekktu@gmail.com>
4984
4985 * imenu.el (imenu-progress-message): Restore; it is "used" in
4986 erc/erc-imenu.el and net/snmp-mode.el.
4987
4d6769e1
JB
49882012-04-19 Juanma Barranquero <lekktu@gmail.com>
4989
4990 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4991 (mouse-avoidance-nudge-mouse): Remove unused binding.
4992
4993 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4994
4995 * descr-text.el (describe-char):
4996 * progmodes/python.el (python-describe-symbol):
4997 Don't call `toggle-read-only', set `buffer-read-only'.
4998
4999 * imenu.el (imenu-default-goto-function): Mark unused args.
5000 (imenu-progress-message): Remove obsolete macro; all callers changed.
5001
5002 * subr.el (keymap-canonicalize): Remove unused binding.
5003 (read-passwd): Mark unused arg.
5004
5005 * tutorial.el (tutorial--display-changes): Remove unused binding.
5006 (tutorial--save-tutorial-to): Remove unused variable.
5007
5008 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
5009 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
5010 (package-generate-autoloads, package-menu--generate)
5011 (package-menu--find-upgrades): Remove unused bindings.
5012
5013 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
5014 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
5015 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
5016 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
5017 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
5018 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5019 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5020 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5021 (cua-delete-char-rectangle): Mark unused args.
5022 (cua-align-rectangle): Remove unused binding.
5023
5024 * mail/rmail.el (compilation--message->loc)
5025 (epa--find-coding-system-for-mime-charset): Declare.
5026
5027 * net/dbus.el (dbus-register-service): Declare.
5028 (dbus-name-owner-changed-handler): Remove unused binding.
5029
5030 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5031 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5032 (nxml-scan-backward-within): Mark unused arg.
5033 (nxml-dynamic-markup-word): Remove unused binding.
5034
5035 * mouse.el (mouse-menu-major-mode-map):
5036 * emacs-lisp/authors.el (authors-scan-change-log)
5037 (authors-add-to-author-list):
5038 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5039 * emacs-lisp/smie.el (smie-auto-fill):
5040 * mail/sendmail.el (mail-bury):
5041 * mail/unrmail.el (unrmail):
5042 * net/tls.el (open-tls-stream):
5043 * textmodes/picture.el (picture-mouse-set-point):
5044 Remove unused bindings.
5045
8c8fc5df
MA
50462012-04-19 Michael Albinus <michael.albinus@gmx.de>
5047
5048 * net/tramp.el (tramp-action-password): Let-bind
5049 `enable-recursive-minibuffers' to t.
5050
a77b0ac9
SS
50512012-04-18 Sam Steingold <sds@gnu.org>
5052
5053 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5054 instead of 'string to accommodate values like [f11].
5055 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5056 * progmodes/gdb-mi.el: Likewise.
5057
12a106a9
LL
50582012-04-18 Leo Liu <sdl.web@gmail.com>
5059
5060 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5061 current buffer.
5062 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5063 LOCAL is nil.
5064
bc6494ef
CY
50652012-04-18 Chong Yidong <cyd@gnu.org>
5066
5067 * simple.el (line-move): Use forward-line if in batch mode
5068 (Bug#11053).
5069
c09c46b2
CS
50702012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5071
5072 * files.el (after-find-file): Do not try to add a final newline if
5073 the buffer is read-only (Bug#11156).
5074
5f6530ea
RS
50752012-04-17 Richard Stallman <rms@gnu.org>
5076
5077 * mail/rmail.el (rmail-start-mail):
5078 Pass (rmail-mail-return...) for the return-action.
5079 Pass (rmail-yank-current-message...) for the yank-action.
5080 (rmail-yank-current-message): New function.
5081 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5082 (rmail-reply): Likewise.
5083 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5084
5085 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5086 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5087 buffer, not newbuf.
5088
197b6f3c
JB
50892012-04-17 Juanma Barranquero <lekktu@gmail.com>
5090
5091 * server.el (server-ensure-safe-dir): Simplify.
5092
2311d8e5 50932012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5094
2311d8e5
GM
5095 * emacs-lisp/smie.el: Provide smarter auto-filling.
5096 (smie-auto-fill): New function.
5097 (smie-setup): Use it.
98fb480e 5098
2311d8e5
GM
5099 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5100
51012012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5102
5103 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5104 (comment-indent): Use it.
5105
2311d8e5 51062012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5107
5108 * ses.el: The overall change is to add cell renaming, that is
5109 setting fancy names for cell symbols other than name matching
5110 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5111 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5112 (ses-create-cell-variable): New defun.
2311d8e5 5113 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5114 (ses-relocate-formula): Relocate formulas only for cells the
5115 symbols of which are not renamed, i.e. symbols whose names do not
5116 match regexp "\\`[A-Z]+[0-9]+\\'".
5117 (ses-relocate-all): Relocate values only for cells the symbols of
5118 which are not renamed.
5119 (ses-load): Create cells variables as the (ses-cell ...) are read,
5120 in order to check row col consistency with cell symbol name only
5121 for cells that are not renamed.
5122 (ses-replace-name-in-formula): New defun.
5123 (ses-rename-cell): New defun.
4bdf2ad2 5124
fc72b15c
PO
51252012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5126
5127 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5128 New option (bug#11118).
5129 (perl-calculate-indent): Respect it.
5130
12e10e61
GM
51312012-04-17 Glenn Morris <rgm@gnu.org>
5132
5133 * dired-aux.el (dired-mark-read-string): Doc fix.
5134
30009afd
DA
51352012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5136
5137 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5138 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5139
41f03f4d
GM
51402012-04-17 Glenn Morris <rgm@gnu.org>
5141
5142 * mouse.el (mouse-drag-track):
5143 * speedbar.el (speedbar-frame-mode):
5144 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5145
f45f90f3
LL
51462012-04-16 Leo Liu <sdl.web@gmail.com>
5147
5148 * progmodes/python.el: Trivial cleanup.
5149
94ee8db5
GM
51502012-04-16 Glenn Morris <rgm@gnu.org>
5151
121b8917
GM
5152 * vc/vc.el (vc-string-prefix-p):
5153 * vc/pcvs-util.el (cvs-string-prefix-p):
5154 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5155 * mpc.el (mpc-string-prefix-p):
5156 Make all of these into obsolete aliases for string-prefix-p.
5157 Update callers.
5158 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5159
1197ecfa
GM
5160 * textmodes/two-column.el: Move custom options to the start.
5161 (frame-width): Remove compat definition.
5162 (2C-associate-buffer, 2C-dissociate):
5163 Use with-current-buffer rather than save-excursion.
5164 (2C-dissociate): Force a mode-line update.
5165 (2C-autoscroll): Use ignore-errors.
5166
099e7202
GM
5167 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5168 Autoload trivia.
5169
bf350d6a
GM
5170 * emacs-lisp/cl-extra.el (*random-state*):
5171 Remove unnecessary declaration.
5172
0e829eab
GM
5173 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5174
e3ad7552
GM
5175 * play/cookie1.el (cookie-snarf):
5176 Give an explicit error if input file cannot be read.
5177
68892d27
GM
5178 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5179
20f0c46d
GM
5180 * progmodes/perl-mode.el (c-macro-expand):
5181 Remove unnecessary autoload (it is in loaddefs.el).
5182
5a0978ce
GM
5183 * textmodes/picture.el (picture-desired-column)
5184 (picture-update-desired-column): Convert comments to doc-strings.
5185 (picture-substitute): Remove function.
5186 (picture-mode-map): Initialize in the defvar.
5187
6b955486
GM
5188 * woman.el: Remove eval-after-load for tar-mode.
5189 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5190 (woman-tar-extract-file): Autoload it.
5191
94ee8db5
GM
5192 * frame.el (automatic-hscrolling): Make this alias obsolete.
5193
177eca34
AM
51942012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5195
090bd7cb 5196 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5197 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5198 (ispell-dictionary-base-alist): Revert to original XEmacs
5199 friendly version for default. [:alpha:] will be added in
090bd7cb 5200 `ispell-set-spellchecker-params' if needed.
177eca34 5201
c505aaeb
CY
52022012-04-16 Chong Yidong <cyd@gnu.org>
5203
b19dd9d1 5204 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5205 (imagemagick-register-types): Use it.
5206 (imagemagick-types-inhibit): Add :set function. Allow new value
5207 of t to inhibit all types.
5208
5209 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5210 so we can preload it.
5211
5212 * loadup.el (fboundp): Preload regexp-opt, needed by
5213 imagemagick-register-types.
5214
60efac0f
CY
52152012-04-15 Chong Yidong <cyd@gnu.org>
5216
5217 * frame.el (scrolling): Remove nearly unused customization group.
5218
5219 * scroll-all.el (scroll-all-mode): Move to windows group.
5220
5dd1713e
CY
52212012-04-15 Chong Yidong <cyd@gnu.org>
5222
5223 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5224
e6fd457e
CY
52252012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5226
5227 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5228 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5229
e153c136
GM
52302012-04-15 Glenn Morris <rgm@gnu.org>
5231
5232 * simple.el (process-file-side-effects): Doc fix.
5233
e6fd457e 52342012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5235
5236 * international/mule-cmds.el (set-language-environment): Doc fix.
5237
3603c3b1
JB
52382012-04-14 Juanma Barranquero <lekktu@gmail.com>
5239
5240 * server.el (server-auth-key, server-generate-key): Doc fixes.
5241 (server-get-auth-key): Doc fix. Use `string-match-p'.
5242 (server-start): Reflow docstring.
5243
e6de100c
LI
52442012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5245
5246 * server.el (server-generate-key): `called-interactively-p'
5247 requires a parameter.
5248
29734c21
MN
52492012-04-14 Michal Nazarewicz <mina86@mina86.com>
5250
5251 * server.el (server-auth-key): New variable.
75f1671a 5252 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5253 (server-start): Use the new variable and functions to allow
5254 setting a permanent server key (bug#9423).
5255
d65c9521
LL
52562012-04-14 Leo Liu <sdl.web@gmail.com>
5257
5258 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5259
5ae255c7
PE
52602012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5261
5262 Spelling fixes.
5263 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5264 Emacs uses American spelling.
5265
d5e6342e
JB
52662012-04-14 Juanma Barranquero <lekktu@gmail.com>
5267
5268 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5269 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5270 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5271 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5272
ab036cd7
SM
52732012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5274
5275 * progmodes/which-func.el (which-func-modes): Change default.
5276
35dc09a1 52772012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5278
5279 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5280 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5281
35dc09a1 52822012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5283
5284 * custom.el (custom-theme-set-variables): Doc fix.
5285
35dc09a1 52862012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5287
5288 * international/mule.el (set-auto-coding-for-load): Doc fix.
5289
35dc09a1 52902012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5291
35dc09a1
GM
5292 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5293 imenu work again for Objective C Mode. Correct the *-index values,
5294 these having been disturbed by a previous change in 2011-08.
57f845ee 5295
0de3da9f
AM
5296 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5297 Correct two search limits.
5298
35dc09a1 52992012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5300
5301 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5302
35dc09a1 53032012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5304
5305 * international/characters.el: Fix sorting.
5306
35dc09a1 53072012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5308
5309 * international/characters.el: Add more missing Latin case pairs.
5310
35dc09a1 53112012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5312
5313 * files.el (dir-locals-set-class-variables): Doc fix.
5314
35dc09a1 53152012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5316
3f1b5bf8
EZ
5317 * international/characters.el: Add set-case-syntax-pair call for
5318 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5319 counterpart. (Bug#11209)
5320
9f847f41
EZ
5321 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5322
35dc09a1 53232012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5324
5325 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5326
35dc09a1 53272012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5328
35dc09a1
GM
5329 * textmodes/ispell.el (ispell-dictionary-base-alist):
5330 Add data for Hebrew.
e2627d21 5331
35dc09a1 53322012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5333
35dc09a1
GM
5334 * net/rcirc.el (rcirc-cmd-quit):
5335 Revert 2012-03-18 change (Bug#11192).
5c14e333 5336
35dc09a1 53372012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5338
5339 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5340
35dc09a1 53412012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5342
4517fe3a
SM
5343 * minibuffer.el (completion-in-region-mode-map):
5344 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5345
b472a594
VD
53462012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5347
5348 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5349
09b95ce3
MY
53502012-04-13 Masatake YAMATO <yamato@redhat.com>
5351
5352 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5353 to allow `C-M-f' and `C-M-b' to move to the nearest path
5354 separator (bug#9511).
5355
4b63a9ca
LI
53562012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5357
5358 * avoid.el: Require cl when compiling. And also move the
5359 `provide' to the end.
5360
7b55b8bf
TV
53612012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5362
5363 * avoid.el (mouse-avoidance-banish-position): New variable.
5364 (mouse-avoidance-banish-destination): Use it (bug#10165).
5365
adedaa1f
LL
53662012-04-13 Leo Liu <sdl.web@gmail.com>
5367
5368 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5369
70e74021
KB
53702012-04-13 Ken Brown <kbrown@cornell.edu>
5371
5372 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5373 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5374 (browse-url-filename-alist): For the same reason, don't modify
5375 file:// URLs on Cygwin.
5376
e75e89ba
SM
53772012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5378
5379 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5380 the region on shift if the binding is already shifted (bug#11221).
5381
82f289a4
GM
53822012-04-12 Glenn Morris <rgm@gnu.org>
5383
5384 * mail/mailpost.el: Move to obsolete/.
5385
d333dc4c
DA
53862012-04-12 Drew Adams <drew.adams@oracle.com>
5387
5388 * imenu.el (imenu--generic-function): Ignore invisible definitions
5389 (bug#10123).
5390
0d15b5ba
VD
53912012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5392
5393 * hexl.el (hexl-bits): New variable.
5394 (hexl-options): Mention the variable in the doc string.
75f1671a 5395 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5396 (hexl-mode): Mention the new variable.
75f1671a
JB
5397 (hexl-mode, hexl-current-address, hexl-current-address):
5398 Use the displen.
0d15b5ba
VD
5399 (hexl-ascii-start-column): New function.
5400 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5401 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5402
64a440db
AM
54032012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5404
5405 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5406 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5407 the encoding, as expected by hunspell.
5408
6decb6c2
SM
54092012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5410
5411 * battery.el (battery--linux-sysfs-regexp): New const.
5412 (battery-status-function): Use it. Remove yeeloong special case.
5413 (battery-yeeloong-sysfs): Remove.
5414 (battery-echo-area-format): Remove yeeloong special case.
5415
088be6fb
SM
54162012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5417
6622e416
SM
5418 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5419 Reported by Noah Friedman.
5420
088be6fb
SM
5421 * subr.el (read-passwd): Use read-string.
5422
b49f886e
LMI
54232012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5424
5425 * vcursor.el (vcursor-move): Increase the priority of the overlay
5426 (bug#9663).
5427
a63067fc
DD
54282012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5429
5430 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5431 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5432
ac3cf14a
WS
54332012-04-11 William Stevenson <yhvh2000@gmail.com>
5434
5435 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5436 define-minor-mode (bug#10760).
5437
c4fc691b 54382012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5439
4d6769e1 5440 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5441 that directories matching `grep-find-ignored-files' won't be
5442 pruned (bug#10351).
5443
af23e2e5
CY
54442012-04-11 Chong Yidong <cyd@gnu.org>
5445
5446 * startup.el (command-line): Remove support for long-obsolete
5447 variable font-lock-face-attributes.
5448
ab7ce8c1
GM
54492012-04-11 Glenn Morris <rgm@gnu.org>
5450
5451 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5452
de8c03dc
SM
54532012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5454
5455 * window.el (window--state-get-1): Obey window-point-insertion-type.
5456
050cc68b
LB
54572012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5458
5459 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5460 to previous function when point is on the first character of a
75f1671a 5461 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5462
a38c310c
GM
54632012-04-11 Glenn Morris <rgm@gnu.org>
5464
effed0c2
GM
5465 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5466 not just file-errors.
5467
a38c310c
GM
5468 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5469 (vc-bzr-sha1): Use internal sha1.
5470
0221e323
SM
54712012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5472
5473 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5474
43956923
SG
54752012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5476
5477 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5478 that start in the middle of the line (bug#10496).
5479
6a8c9eaf
DN
54802012-04-10 Dan Nicolaescu <dann@gnu.org>
5481
5482 * battery.el (battery-linux-proc-acpi): Only one battery is
5483 discharged at a time, but that seems to confuse battery.el when
5484 computing `rate-type' for the battery not being discharged
5485 (bug#10332).
5486
1930bf5d
SM
54872012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5488
2a718f6f
SM
5489 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5490
599430d0
SM
5491 * international/quail.el: Use dolist and simplify.
5492 (quail-define-package, quail-update-keyboard-layout)
5493 (quail-define-rules): Use dolist.
5494 (quail-insert-kbd-layout, quail-get-translation): CSE.
5495
a2754b6c
SM
5496 * tmm.el: Use dolist, remove left over hook.
5497 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5498 Use dolist.
5499 (calendar-load-hook): Don't mess with it.
5500
1930bf5d
SM
5501 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5502 Use derived-mode-p. Run the diff asynchronously.
5503
9f67961c
LMI
55042012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5505
5506 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5507
2a8ce227
JB
55082012-04-10 Juanma Barranquero <lekktu@gmail.com>
5509
5510 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5511 (list-dynamic-libraries--loaded): New function.
5512 (list-dynamic-libraries--refresh): Use it.
5513
8f33b5f8
NW
55142012-04-10 Nathan Weizenbaum <nweiz@google.com>
5515
1930bf5d
SM
5516 * progmodes/python.el (python-fill-paragraph):
5517 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5518 disabled (bug#7018).
5519
b12f0439
L
55202012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5521
1930bf5d 5522 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5523 DOS/MS Windows for the Baltic languages. There are still plenty
5524 of texts written in this encoding/codepage (bug#6519).
b12f0439 5525
57c3bd01
GM
55262012-04-10 Glenn Morris <rgm@gnu.org>
5527
5528 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5529 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5530
6c3eab30
FA
55312012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5532
1930bf5d 5533 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5534 next-line "n" and previous-line "p" in order to make recentf more
5535 consistent with ibuffer, dired or org-mode (bug#9387).
5536
24d78a88
LMI
55372012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5538
bc72b5d9
LMI
5539 * image.el (put-image): Return the overlay created instead of the
5540 optional input string (bug#7834). Note that this may break code
5541 that is (for some reason or other) depending on `put-image'
5542 returning the string.
5543
bd2dba5a
LMI
5544 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5545
74beb59f
LMI
5546 * simple.el (zap-to-char): Allow zapping using input methods
5547 (bug#1580).
5548
24d78a88
LMI
5549 * textmodes/fill.el (fill-region): Leave point and mark where they
5550 were before filling (bug#5399).
5551
263f20cd
GM
55522012-04-09 Glenn Morris <rgm@gnu.org>
5553
5554 * version.el (emacs-bzr-get-version):
5555 Handle lightweight checkouts of local branches.
5556
58d1f797
AS
55572012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5558
263f20cd 5559 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5560
b4d3bc10
CY
55612012-04-09 Chong Yidong <cyd@gnu.org>
5562
5563 * custom.el (custom-variable-p): Return nil for non-symbol
5564 arguments instead of signaling an error.
5565 (user-variable-p): Obsolete alias for custom-variable-p.
5566
5567 * apropos.el (apropos-variable):
5568 * files-x.el (read-file-local-variable):
5569 * simple.el (set-variable):
5570 * woman.el (woman-mini-help):
5571 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5572
fd06db5d
GM
55732012-04-09 Glenn Morris <rgm@gnu.org>
5574
e5fcdb5e
GM
5575 * startup.el (normal-top-level): Don't look for leim-list.el
5576 in places where it will not be found. (Bug#910)
5577
fd06db5d
GM
5578 * international/mule-cmds.el (set-default-coding-systems):
5579 * files.el (normal-mode):
5580 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5581 This function was removed with ucs-tables.el in 2008.
5582
b39bb7e1
EZ
55832012-04-08 Eli Zaretskii <eliz@gnu.org>
5584
5585 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5586 ispell-encoding8-command to "-i", without a trailing space.
5587 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5588 separate command-line arguments, to specify the encoding, since
5589 that's how hunspell expects it.
5590
5c5b8e23
GM
55912012-04-08 Glenn Morris <rgm@gnu.org>
5592
5593 * loadup.el: Load bindings before cus-start.
5594 This reduces somewhat the number of "rogue" settings in emacs -Q.
5595
a1ed8b05
GM
55962012-04-07 Glenn Morris <rgm@gnu.org>
5597
5598 * version.el (emacs-bzr-get-version): New function.
dfae128a 5599 (emacs-bzr-version): New variable.
a1ed8b05
GM
5600 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5601 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5602
b142f158
EZ
56032012-04-07 Eli Zaretskii <eliz@gnu.org>
5604
dfae128a
GM
5605 * international/uni-bidi.el, international/uni-category.el:
5606 * international/uni-combining.el, international/uni-decimal.el:
5607 * international/uni-decomposition.el, international/uni-digit.el:
5608 * international/uni-lowercase.el, international/uni-mirrored.el:
5609 * international/uni-name.el, international/uni-numeric.el:
5610 * international/uni-titlecase.el, international/uni-uppercase.el:
5611 Update for Unicode 6.1.
b142f158 5612
9078ead6
EZ
56132012-04-07 Eli Zaretskii <eliz@gnu.org>
5614
5615 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5616
f23d2c7d
LMI
56172012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5618
5619 * window.el (shrink-window): Mention the `window-min-height'
5620 variable in the doc string.
5621
0a0a3573
BG
56222012-04-05 Bastien Guerry <bzg@altern.org>
5623
5624 * color.el (color-lighten-name): Fix typo.
5625
e5248ac9
SM
56262012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5627
5628 * server.el (server--on-display-p): New function.
5629 (server--on-display-p): Use it.
5630
b4243e22
GV
56312012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5632
5633 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5634 (bug#11145).
5635
305d9f44
SM
56362012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5637
5638 * comint.el (comint--common-quoted-suffix): Check string boundary
5639 before comparing (bug#11158).
5640 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5641
3d439cd1
CY
56422012-04-04 Chong Yidong <cyd@gnu.org>
5643
321cc491
CY
5644 * minibuffer.el (completion-extra-properties): Doc fix.
5645
3d439cd1
CY
5646 * subr.el (delayed-warnings-hook): Doc fix.
5647
2d562c0f
DU
56482012-04-04 Daiki Ueno <ueno@unixuser.org>
5649
5650 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5651 selection (Bug#11159).
5652 (epa-insert-keys): Inform that the default public key will be
5653 exported if no key is selected.
5654
4443f204
RS
56552012-04-04 Richard Stallman <rms@gnu.org>
5656
5657 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5658
529c06b6
CY
56592012-04-03 Chong Yidong <cyd@gnu.org>
5660
5661 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5662 mail-insert-file, not its obsolete alias mail-attach-file.
5663
66b907dc
MA
56642012-04-03 Michael Albinus <michael.albinus@gmx.de>
5665
5666 * notifications.el (notifications-notify): Fix docstring.
5667
c0ea195d
GM
56682012-04-02 Glenn Morris <rgm@gnu.org>
5669
5670 * emacs-lisp/authors.el (authors-aliases): Another addition.
5671
5ca64e00
MA
56722012-04-02 Michael Albinus <michael.albinus@gmx.de>
5673
5674 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5675 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5676 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5677
42ee526b
CY
56782012-04-01 Chong Yidong <cyd@gnu.org>
5679
5680 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5681 Handle root directory properly.
5682 (copy-directory): Caller changed.
5683
5684 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5685 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5686
0b021094
GM
56872012-03-31 Glenn Morris <rgm@gnu.org>
5688
40f86458
GM
5689 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5690
7019c177
GM
5691 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5692
a1daddd6
GM
5693 * calendar/calendar.el (calendar-window-list)
5694 (calendar-hide-window): Restore. (Bug#11140)
5695 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5696
0b021094
GM
5697 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5698
40311efc
TV
56992012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5700
5701 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5702 Check if file is a symlink (Bug#10489).
5703
5704 * files.el (copy-directory): Likewise.
5705
5319014e
CY
57062012-03-30 Chong Yidong <cyd@gnu.org>
5707
5708 * image.el (imagemagick-types-inhibit)
5709 (imagemagick-register-types): Doc fix.
5710
935d1290
AM
57112012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5712
090bd7cb 5713 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5714 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5715 and treats ~word as ordinary words in pipe mode.
935d1290 5716
61c6e8fd
GM
57172012-03-30 Glenn Morris <rgm@gnu.org>
5718
5719 * tutorial.el (help-with-tutorial): Ensure local variables don't
5720 happen to make the buffer read-only. (Bug#11127)
5721
81fdff00
SM
57222012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5723
5724 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5725 (perl-calculate-indent): Return `noindent' in strings.
5726
6e7a6ec0
SS
57272012-03-28 Sam Steingold <sds@gnu.org>
5728
5729 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5730 instead of the broken adhockery which does not prevent calendar
5731 buffers from being displayed at random after exit.
5732 (calendar-window-list, calendar-hide-window): Remove the broken
5733 adhockery.
5734
fee88ca0
GM
57352012-03-28 Glenn Morris <rgm@gnu.org>
5736
5737 * replace.el (query-replace-map): Doc fix.
5738
38de3354
AS
57392012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5740
5741 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5742 contents. (Bug#11109)
5743
b973155e
SM
57442012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5745
5746 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5747 (bug#11077).
5748 (avl-tree--check, avl-tree--check-node): New funs.
5749
dcb6e7b3
MR
57502012-03-27 Martin Rudalics <rudalics@gmx.at>
5751
5752 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5753 (switch-to-prev-buffer, switch-to-next-buffer):
5754 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5755 showing a buffer already is done on the same frame.
5756
b4fa35fa
GM
57572012-03-27 Glenn Morris <rgm@gnu.org>
5758
5759 * startup.el (mail-host-address): Doc fix.
5760
f9210e18
SM
57612012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5762
5763 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5764 than 197 variables.
5765
c0bf7753
AF
57662012-03-26 Ami Fischman <ami@fischman.org>
5767
5768 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5769
33da7b16
GM
57702012-03-26 Glenn Morris <rgm@gnu.org>
5771
02243d9d
GM
5772 * files.el (save-buffers-kill-emacs): Doc fix.
5773
33da7b16
GM
5774 * startup.el (normal-top-level, command-line, command-line-1):
5775 Give them doc strings.
5776
e5a69fd0
EZ
57772012-03-25 Eli Zaretskii <eliz@gnu.org>
5778
5779 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5780 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5781
9a69676a
CY
57822012-03-25 Chong Yidong <cyd@gnu.org>
5783
4125cb8b
CY
5784 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5785 theme if it was previously enabled before (Bug#11031).
5786
dd470960
CY
5787 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5788 spec with custom-face-get-current-spec if its :shown-value is not
5789 determined yet (Bug#9337).
4125cb8b 5790 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5791
9a69676a
CY
5792 * button.el (button-at): Minor addition to docstring.
5793
6e7e90fa
SL
57942012-03-24 Simon Leinen <simon.leinen@gmail.com>
5795
5796 * vc/vc.el (vc-merge): Fix a prompt.
5797
f06e2758
CY
57982012-03-24 Chong Yidong <cyd@gnu.org>
5799
5800 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5801 point (Bug#9623).
5802
6e7e90fa
SL
5803 * button.el (button-at): Minor addition to docstring.
5804
b9d0879b
SM
58052012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5806
5807 * newcomment.el (comment-choose-indent): No space after BOL.
5808
e71cebb3
SS
58092012-03-22 Sam Steingold <sds@gnu.org>
5810
5811 * window.el (switch-to-prev-buffer): Revert last patch because the
5812 bug turned out to be an advertised feature (Elisp manual 28.14).
5813
335aff35
GM
58142012-03-22 Glenn Morris <rgm@gnu.org>
5815
5816 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5817 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5818
c676576a
LMI
58192012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5820
5821 * net/network-stream.el (network-stream-open-starttls): Make error
5822 message under Windows be less misleading.
5823
126f3d39
LW
58242012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5825
5826 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5827 understands (bug#9942).
5828
64fee311
CY
58292012-03-22 Chong Yidong <cyd@gnu.org>
5830
5831 * simple.el (end-of-visible-line): Handle return value of
5832 next-single-property-change properly (Bug#9371).
5833
a640d29a
KH
58342012-03-22 Kenichi Handa <handa@m17n.org>
5835
5836 * international/quail.el (quail-insert-kbd-layout): Fix previous
5837 change. To avoid unwanted bidi reordering, use
5838 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5839
39675016
DG
58402012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5841
5842 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5843 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5844 (ruby-beginning-of-indent): Be more careful with the difference
5845 between word-boundary and symbol boundary.
5846 (ruby-mode-syntax-table): Make : a symbol constituent.
5847
0a6934fc 58482012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5849
3d008e4f
SM
5850 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5851
0a6934fc
SM
58522012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5853
af67c9d7
SM
5854 * progmodes/etags.el (tags-completion-at-point-function):
5855 Improve last fix.
5856
1acad97c
SM
5857 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5858
e298b5da
SS
58592012-03-21 Sam Steingold <sds@gnu.org>
5860
5861 * progmodes/etags.el (tags-completion-at-point-function):
5862 Avoid the error when point is inside the pattern.
5863
91d82a70
JY
58642012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5865
5866 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5867 line (Bug#10855).
5868
69188b79
CY
58692012-03-21 Drew Adams <drew.adams@oracle.com>
5870
5871 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5872
99fc91fe
AK
58732012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5874
5875 * ido.el (ido-set-current-directory, ido-read-internal)
5876 (ido-choose-completion-string, ido-completion-help): Handle nil
5877 value of ido-completion-buffer (Bug#11008).
5878
087bbb4c
SS
58792012-03-21 Sam Steingold <sds@gnu.org>
5880
5881 * window.el (switch-to-prev-buffer): Do not switch to a visible
5882 window previous buffer, just like with the frame previous buffers.
5883
fb5b8aca
CY
58842012-03-21 Chong Yidong <cyd@gnu.org>
5885
5886 * faces.el (make-face, make-empty-face, copy-face):
5887 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5888 Doc fixes.
5889
dc9924b8
SM
58902012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5891
5892 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5893 (widget-complete): Remove broken use of it.
5894
f0bcceb9
CY
58952012-03-20 Chong Yidong <cyd@gnu.org>
5896
dc9924b8
SM
5897 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5898 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5899 characters.
5900
ee52ebf3
TH
59012012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5902
5903 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5904 to draw rectangles, not squares. (Regression introduced by revno
5905 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5906
4c5779ab
CY
59072012-03-18 Chong Yidong <cyd@gnu.org>
5908
5909 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5910 it is not yet defined (for temacs).
5911
15360934
LL
59122012-03-18 Leo Liu <sdl.web@gmail.com>
5913
dc9924b8 5914 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5915
d9a8eb66
EZ
59162012-03-17 Eli Zaretskii <eliz@gnu.org>
5917
5918 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5919 (ispell-choices-win-default-height, ispell-silently-savep)
5920 (ispell-dictionary-alist, ispell-encoding8-command)
5921 (ispell-check-version, ispell-aspell-find-dictionary)
5922 (ispell-valid-dictionary-list, ispell-words-keyword)
5923 (ispell-get-word, ispell-internal-change-dictionary)
5924 (ispell-region, ispell-skip-region-list)
5925 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5926 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5927 (ispell-message-text-end, ispell-message)
5928 (ispell-buffer-local-parsing): Doc fix.
5929
f02ff80d
J
59302012-03-13 Jambunathan K <kjambunathan@gmail.com>
5931
5932 * htmlfontify.el: Add support for code block fontification for ODT
5933 export (Bug #9914).
5934 (hfy-optimisations): Define new option
5935 `body-text-only'
5936 (hfy-fontify-buffer): Honor above setting.
5937 (hfy-begin-span, hfy-end-span): New routines factored out form
5938 `hfy-fontify-buffer'.
5939 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5940 that permit insertion of custom tags.
5941 (hfy-fontify-buffer): Use above handlers.
5942 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5943 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5944 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5945 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5946 bind a special variable `hfy-user-sheet-assoc'.
5947 (htmlfontify-string): New defun.
5948 (hfy-compile-face-map): Make sure that the last char in the
5949 buffer is correctly fontified.
5950 (hfy-face-resolve-face): Whitespace only change.
5951
9ac7a13f
EZ
59522012-03-17 Eli Zaretskii <eliz@gnu.org>
5953
5954 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5955 message more clear.
5956
e2b5bdd7
LL
59572012-03-16 Leo Liu <sdl.web@gmail.com>
5958
5959 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5960
2e492df3
AM
59612012-03-16 Alan Mackenzie <acm@muc.de>
5962
5963 Further optimise the handling of large macros.
5964
5965 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5966 limit to a call of `c-literal-limits'.
5967 (c-determine-+ve-limit): New function.
dc9924b8
SM
5968 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5969 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5970 In CASE 5B, restrict a search limit to 500.
5971 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5972
5973 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5974 Restrict macro bounds to +-500 from after-change's BEG END.
5975
50e94f0c
LL
59762012-03-16 Leo Liu <sdl.web@gmail.com>
5977
5978 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5979
6f09f6ed
AH
59802012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5981
5982 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5983 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5984
c7e73d51
GM
59852012-03-16 Glenn Morris <rgm@gnu.org>
5986
da986230
GM
5987 * view.el (view-buffer, view-buffer-other-window)
5988 (view-buffer-other-frame): Doc fixes re special mode-class.
5989
0835f01e
GM
5990 * subr.el (eval-after-load): If named feature is provided not from
5991 a file, run after-load forms. (Bug#10946)
5992
c7e73d51
GM
5993 * calendar/calendar.el (calendar-insert-at-column):
5994 Handle non-unit-width characters a bit better. (Bug#10978)
5995
3f2eafd1
CY
59962012-03-15 Chong Yidong <cyd@gnu.org>
5997
5998 * emacs-lisp/ring.el (ring-extend): New function.
5999 (ring-insert+extend): Extend the ring correctly (Bug#11019).
6000
6001 * comint.el (comint-read-input-ring)
6002 (comint-add-to-input-history): Grow comint-input-ring lazily.
6003
103af3fe
SM
60042012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
6005
663b1677
SM
6006 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
6007 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
6008
103af3fe
SM
6009 * imenu.el: Fix multiple inheritance breakage (bug#9199).
6010 (imenu-add-to-menubar): Don't add a redundant index.
6011 (imenu-update-menubar): Handle a dynamically composed keymap.
6012
899cb7cb
KY
60132012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
6014
6015 * mail/sendmail.el (mail-encode-header):
6016 Bind rfc2047-encode-encoded-words to nil.
6017
3809f91d
GM
60182012-03-13 Glenn Morris <rgm@gnu.org>
6019
6020 * calendar/calendar.el (calendar-string-spread):
6021 Handle non-unit-width characters a bit better. (Bug#10978)
6022
9e345a01
LL
60232012-03-13 Leo Liu <sdl.web@gmail.com>
6024
6025 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6026 directory and file as argument (Bug#10822).
6027
4a07df36
KS
60282012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6029
6030 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6031 For dynamically generated code, follow $PC.
6032 (gdb-disassembly-handler-custom): Handle no function name case.
6033
4aaa9356
TL
60342012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6035
6036 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6037 * emulation/ws-mode.el (ws-query-replace):
6038 * sort.el (sort-regexp-fields):
6039 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6040
225979da
SM
60412012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6042
6043 * dabbrev.el: Fix cycle completion order (bug#10963).
6044 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6045 (dabbrev-completion): Don't use an obarray; provide
6046 a cycle-sort-function.
6047
e2f1fdab
LL
60482012-03-12 Leo Liu <sdl.web@gmail.com>
6049
dc9924b8 6050 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6051 (kill-do-not-save-duplicates): Doc fix.
6052
b19490ed
SM
60532012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6054
6055 * dabbrev.el: Fix cycle completion (bug#10963).
6056 Use lexical binding and wrap to 80 columns.
6057 (dabbrev-completion): Delay computing the list of completions.
6058
4b05d722
KH
60592012-03-12 Kenichi Handa <handa@m17n.org>
6060
6061 * international/quail.el (quail-insert-kbd-layout): Surround each
6062 row by LRO and PDF instead of inserting many LRMs. Pad the left
6063 and right of each non-spacing marks. Insert invisible space
6064 between lower and upper characters to prevent composition.
6065
dbbc2e69
SM
60662012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6067
6068 * minibuffer.el (minibuffer-complete): Don't get confused when the
6069 function is run twice via different commands (bug#10958).
6070 (complete-with-action): Fix docstring.
6071
292112ed
CY
60722012-03-12 Chong Yidong <cyd@gnu.org>
6073
5d1ac394
CY
6074 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6075 (nxml-completion-at-point-function): New function.
6076 (nxml-mode): Use it.
6077 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6078
292112ed
CY
6079 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6080 Load generated autoloads file before byte compiling (Bug#10970).
6081 (package--make-autoloads-and-compile): New helper fun.
6082
4098f8f7
CS
60832012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6084
6085 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6086
8f754691
MA
60872012-03-11 Michael Albinus <michael.albinus@gmx.de>
6088
6089 * autorevert.el (auto-revert-handler): Ensure, that
6090 file-readable-p is applied only for local files or in
6091 auto-revert-tail-mode.
6092
e29ab36b
AS
60932012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6094
dbbc2e69
SM
6095 * server.el (server-eval-at): Handle non-tcp connections.
6096 Decode result string.
ad0bf5b6 6097
e29ab36b
AS
6098 * server.el (server-msg-size): New constant.
6099 (server-reply-print): New function.
6100 (server-eval-and-print): Use it.
6101 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6102 Handle -print-nonl.
6103
de5939ba
CS
61042012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6105
6106 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6107 (Bug#10987).
6108
0c93eabf
CY
61092012-03-11 Chong Yidong <cyd@gnu.org>
6110
397a688f
CY
6111 * simple.el (goto-line): Doc fix (Bug#9938).
6112
2cc775f9
CY
6113 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6114
0c93eabf
CY
6115 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6116 when finished (Bug#10963).
6117
c491fa41
MR
61182012-03-11 Martin Rudalics <rudalics@gmx.at>
6119
6120 * window.el (split-window-below): Fix bug in case where
6121 split-window-keep-point is nil (Bug#10971).
6122
300e8fa5
JL
61232012-03-11 Juri Linkov <juri@jurta.org>
6124
6125 * replace.el (replace-highlight): Set isearch-word to nil
6126 unconditionally. (Bug#10887)
6127
dbf6c5a1
EZ
61282012-03-10 Eli Zaretskii <eliz@gnu.org>
6129
6130 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6131 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6132 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6133 (mairix-widget-create-query): Add usage information about mairix
6134 search forms: negating words, searching for substrings, etc.
6135
b9e501de
JP
61362012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6137
6138 * international/fontset.el (font-encoding-alist): Add an entry for
6139 ksx1001 (Bug#5667).
6140
92795c91
RS
61412012-03-10 Richard Stallman <rms@gnu.org>
6142
1694e6c1
RS
6143 * mail/sendmail.el (mail-encode-header):
6144 Set rfc2047-encode-encoded-words.
6145
607e8555
RS
6146 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6147
de3bc99a
RS
6148 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6149 view buffer means not swapped.
6150 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6151 (rmail-write-region-annotate): Error if real text has disappeared.
6152
92795c91
RS
6153 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6154
699bd04e
CY
61552012-03-10 Chong Yidong <cyd@gnu.org>
6156
6157 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6158 * emulation/cua-base.el (cua--init-keymaps):
6159 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6160
570a1714
MR
61612012-03-10 Martin Rudalics <rudalics@gmx.at>
6162
dbbc2e69
SM
6163 * speedbar.el (speedbar-unhighlight-one-tag-line):
6164 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6165
82dcf4e4
CY
61662012-03-10 Chong Yidong <cyd@gnu.org>
6167
7a2c7ca7
CY
6168 * minibuffer.el (completion-in-region, completion-help-at-point):
6169 Give the completion field overlay a high priority (Bug#6830).
6170
82dcf4e4
CY
6171 * dired.el (dired-goto-file): Recognize absolute file name
6172 listings (Bug#7126).
6173 (dired-goto-file-1): New helper function.
6174 (dired-toggle-read-only): Inhibit warnings.
6175
052e28ac
MA
61762012-03-09 Michael Albinus <michael.albinus@gmx.de>
6177
75f1671a 6178 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6179 there are no properties.
6180
95d5e396
LL
61812012-03-09 Leo Liu <sdl.web@gmail.com>
6182
6183 * savehist.el (savehist-printable): Stricter check for string
6184 value (Bug#10937).
6185
3f018d6d
EZ
61862012-03-09 Eli Zaretskii <eliz@gnu.org>
6187
dbbc2e69
SM
6188 * mail/smtpmail.el (smtpmail-send-it):
6189 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6190 valid mbox format.
6191
f7fd3d79
GM
61922012-03-09 Glenn Morris <rgm@gnu.org>
6193
6194 * files.el (dir-locals-find-file):
6195 Don't check result is regular, readable.
6196 (dir-locals-read-from-file): Demote errors.
6197
6ff6e72f
EZ
61982012-03-08 Eli Zaretskii <eliz@gnu.org>
6199
dbbc2e69
SM
6200 * international/quail.el (quail-insert-kbd-layout):
6201 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6202 layout cell, to prevent their reordering by bidi display engine.
6203 For details, see the discussion in
6204 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6205
9cec7834
AM
62062012-03-08 Alan Mackenzie <acm@muc.de>
6207
6208 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6209 the starting position; make it extend the marked region when
6210 invoked repeatedly - all under appropriate circumstances.
6211 Fixes bugs #5525, #10906.
6212
9a40b8d4
GM
62132012-03-08 Glenn Morris <rgm@gnu.org>
6214
6215 * files.el (locate-dominating-file, dir-locals-find-file):
6216 Undo 2012-03-06 change.
6217
7a08ed35
EZ
62182012-03-07 Eli Zaretskii <eliz@gnu.org>
6219
dbbc2e69
SM
6220 * international/quail.el (quail-help):
6221 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6222 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6223 for the reason.
6224
5aca4f71 62252012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6226
6227 Avoid superfluous registering of signals. (Bug#10807)
6228
6229 * notifications.el (notifications-on-action-object)
6230 (notifications-on-close-object): New defvars.
6231 (notifications-on-action-signal, notifications-on-closed-signal):
6232 Unregister the signal if not needed any longer.
6233 (notifications-notify): Register `notifications-action-signal' or
6234 `notifications-closed-signal', if :on-action or :on-close has been
6235 passed as argument.
6236
78e8b10a
CY
62372012-03-07 Chong Yidong <cyd@gnu.org>
6238
6239 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6240 non-X platforms.
6241
69481eb8
GM
62422012-03-06 Glenn Morris <rgm@gnu.org>
6243
6244 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6245 (x-disown-selection-internal, x-get-selection-internal):
6246 Doc fix (add arglist signatures). (Bug#10783)
6247
133b8e11
KS
62482012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6249
6250 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6251 Handle breakpoints with no "type".
6252
99a83064
GM
62532012-03-06 Glenn Morris <rgm@gnu.org>
6254
6255 * files.el (locate-dominating-file): Add optional predicate argument.
6256 (dir-locals-find-file): Make use of above change.
6257
17798e78
TTN
62582012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6259
6260 * info.el (Info-insert-dir): Also try "dir.gz".
6261
eb182446
GM
62622012-03-06 Glenn Morris <rgm@gnu.org>
6263
8f2114ee
GM
6264 * files.el (dir-locals-find-file):
6265 Ignore non-readable or non-regular files. (Bug#10928)
6266
eb182446
GM
6267 * files.el (locate-dominating-file): Doc fix.
6268
24679323
AS
62692012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6270
6271 * calendar/calendar.el (calendar-set-mode-line):
6272 `getenv' returns a string. (Bug#10951)
6273
01d972a9
LL
62742012-03-05 Leo Liu <sdl.web@gmail.com>
6275
109aa8a9
LL
6276 * simple.el (backward-delete-char-untabify): Constrain point to
6277 field (Bug#10939).
6278
01d972a9
LL
6279 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6280
10607bea
CY
62812012-03-05 Chong Yidong <cyd@gnu.org>
6282
6283 * simple.el (count-words): If called from Lisp, return the word
6284 count, for symmetry with `count-lines'. Arglist changed.
6285 (count-words--message): Args changed. Consolidate counting code
6286 from count-words and count-words-region.
6287 (count-words-region): Caller changed.
6288 (count-lines-region): Make it an obsolete alias.
6289
5dd11cfe
TH
62902012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6291
6292 * saveplace.el (save-place-to-alist)
6293 (save-place-ignore-files-regexp): Allow value nil to disable this
6294 feature.
6295
c349f4e6
CY
62962012-03-04 Chong Yidong <cyd@gnu.org>
6297
6298 * faces.el (face-spec-reset-face): For the default face, reset the
6299 attributes to default values (Bug#10748).
6300
e627be4c
LMI
63012012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6302
6303 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6304 previous patch: Check `message-send-mail-function', and not the
6305 default function (bug#10897).
6306
ebeabff4
MA
63072012-03-04 Michael Albinus <michael.albinus@gmx.de>
6308
a41a6cf4
MA
6309 * notifications.el (notifications-on-action-signal)
6310 (notifications-on-closed-signal): Check for unique service name of
6311 incoming event. Fix error in removing entry.
ebeabff4 6312 (top): Register for signals with wildcard service name.
a41a6cf4 6313 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6314
c1ca42b4
CY
63152012-03-04 Chong Yidong <cyd@gnu.org>
6316
dc9924b8 6317 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6318
ea16568d
GM
63192012-03-04 Glenn Morris <rgm@gnu.org>
6320
6321 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6322 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6323 (expand-abbrev, define-abbrev-table): Doc fixes.
6324
fbae4637
LMI
63252012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6326
6327 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6328 `message-default-send-mail-function' and not `send-mail-function'
6329 when doing the prompting for `sendmail-query-once' before sending
6330 in Message buffers (bug#10897).
6331
a1e7225c
LMI
6332 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6333 This is inconsistent with all the other stream functions, which leave
6334 the setting up to the higher levels (if so wanted) (bug#10931).
6335
56d093a9
AM
63362012-03-02 Alan Mackenzie <acm@muc.de>
6337
6338 Depessimize the handling of very large macros.
6339
6340 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6341 (c-macro-cache-syntactic): New variables to implement a one
6342 element macro cache.
6343 (c-invalidate-macro-cache): New function.
6344 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6345 Adapt to use the new cache.
6346 (c-state-safe-place): Use better the cache of safe positions.
6347 (c-state-semi-nonlit-pos-cache)
6348 (c-state-semi-nonlit-pos-cache-limit):
6349 New variables for...
6350 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6351 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6352 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6353 Use c-state-semi-safe-place.
56d093a9 6354
dbbc2e69
SM
6355 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6356 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6357
817e5c3d
MA
63582012-03-02 Michael Albinus <michael.albinus@gmx.de>
6359
dbbc2e69
SM
6360 * jka-compr.el (jka-compr-call-process):
6361 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6362 not remote.
6363
a032a702
MA
63642012-03-01 Michael Albinus <michael.albinus@gmx.de>
6365
6366 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6367 access of FILE2, if FILE1 does not exist.
6368
99a54f21
MA
6369 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6370 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6371
6372 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6373 Add "PAGER=" to `process-environment'.
6374
f6561e1f
MM
63752012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6376
6377 * progmodes/sql.el: Bug fix
6378 (sql-get-login-ext): Save login values in globals.
6379 (sql-get-login): Use new version of `sql-get-login-ext'.
6380 (sql-interactive-mode): Set global `sql-connection' to nil.
6381 (sql-connect): Set global values for connection.
6382 (sql-product-interactive): Save global values as buffer local.
6383
2d44d9cc
LL
63842012-02-29 Leo Liu <sdl.web@gmail.com>
6385
6386 * abbrev.el (define-abbrevs): Reset sys to nil.
6387
96b49301 63882012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6389
bf7f9bc5
JB
6390 * files.el (file-equal-p): Rename from `files-equal-p'.
6391 Return nil when one or both files don't exist.
96b49301 6392 (file-subdir-of-p): Now only top directory must exists,
6393 return nil if it doesn't.
bf7f9bc5
JB
6394 (copy-directory): No need to test with `file-subdir-of-p' after
6395 creating dir.
6396 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6397 to `file-equal-p'.
96b49301 6398
44e97401
GM
63992012-02-28 Glenn Morris <rgm@gnu.org>
6400
6401 * shell.el (shell-mode):
6402 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6403 * play/landmark.el (landmark-font-lock-face-O):
6404 * play/handwrite.el (handwrite):
6405 * play/gomoku.el (gomoku-O):
6406 * net/browse-url.el (browse-url-browser-display):
6407 * international/mule.el (define-charset):
6408 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6409 * filesets.el (filesets-find-file-delay):
6410 * eshell/em-xtra.el (eshell-xtra):
6411 * eshell/em-unix.el (eshell-grep):
6412 * emulation/viper.el (viper-mode):
6413 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6414 * emacs-lisp/easymenu.el (easy-menu-define):
6415 * calendar/timeclock.el (timeclock-use-display-time):
6416 * bs.el (bs-mode):
6417 * bookmark.el (bookmark-save-flag):
6418 Doc fix (standardize possessive apostrophe usage).
6419
c98c6276
CY
64202012-02-27 Chong Yidong <cyd@gnu.org>
6421
bf7f9bc5
JB
6422 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6423 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6424
c98c6276
CY
6425 * font-lock.el (font-lock-specified-p): Rename from
6426 font-lock-spec-present. Callers changed.
6427
9c62cd04 64282012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6429
bf7f9bc5
JB
6430 * emacs-lisp/package.el (package-compute-transaction):
6431 Handle holding a package version to t in package-load-list.
8ac9e529 6432
530739c9
MA
64332012-02-26 Michael Albinus <michael.albinus@gmx.de>
6434
6435 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6436 (tramp-get-inode, tramp-get-device): Use cached values.
6437
487915d7
AM
64382012-02-26 Alan Mackenzie <acm@muc.de>
6439
6440 Check there is a font-lock specification before doing initial
6441 fontification.
6442
6443 * font-core.el (font-lock-mode): Move the conditional from
6444 :after-hook to font-lock-initial-fontify.
6445 (font-lock-default-function): Move the check for a specification
6446 to font-lock-spec-present.
6447
dc9924b8 6448 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6449 (font-lock-spec-present): New function.
6450
4fd96557
JB
64512012-02-26 Jim Blandy <jimb@red-bean.com>
6452
6453 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6454 (gdb-send): Apply it to the operand of the '-interpreter-exec
6455 console' command, so that we can pass arguments with (say) quotes
6456 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6457
9a4888c0
CY
64582012-02-26 Chong Yidong <cyd@gnu.org>
6459
07498861
CY
6460 * help-fns.el (describe-function-1): Clarify description of
6461 remapping (Bug#10844).
6462
9a4888c0
CY
6463 * files.el (files-equal-p): Doc fix.
6464 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6465 and quit the loop once a mismatch is found.
6466
ea8fb88d
JB
64672012-02-25 Juanma Barranquero <lekktu@gmail.com>
6468
6469 * bs.el (bs--show-with-configuration): Don't throw an error
6470 if the window cannot be split; otherwise, subsequent calls to
6471 bs-show fail, restoring a stale window config. (Bug#10882)
6472
525795c1
JD
64732012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6474
6475 * term/ns-win.el (global-map): Bind ns-drag-file to
6476 ns-find-file (Bug#5855, Bug#10050).
6477
f008086f
AS
64782012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6479
6480 * calendar/parse-time.el (parse-time-string): Allow extractor to
6481 return nil.
6482
a3fcfa99
MA
64832012-02-25 Michael Albinus <michael.albinus@gmx.de>
6484
91027d08
JB
6485 * net/tramp.el (tramp-file-name-for-operation):
6486 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6487
6488 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6489 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6490 Add COPY-CONTENTS argument.
a3fcfa99 6491
67b0de11
CY
64922012-02-25 Chong Yidong <cyd@gnu.org>
6493
6494 Add custom groups for VC backends, for consistency with vc-bzr.
6495
6496 * vc/vc-arch.el (vc-arch):
6497 * vc/vc-cvs.el (vc-cvs):
6498 * vc/vc-git.el (vc-git):
6499 * vc/vc-hg.el (vc-hg):
6500 * vc/vc-mtn.el (vc-mtn):
6501 * vc/vc-rcs.el (vc-rcs):
6502 * vc/vc-sccs.el (vc-sccs):
6503 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6504 All relevant defcustoms reassigned.
6505
3c9dfce6
CY
65062012-02-25 Chong Yidong <cyd@gnu.org>
6507
1339bf43
CY
6508 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6509
3c9dfce6
CY
6510 * term/x-win.el (x-initialize-window-system): Reduce default for
6511 x-selection-timeout to 5 seconds (Bug#8869).
6512
25b2e303 65132012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6514
ec70a47d
GM
6515 * files.el (files-equal-p, file-subdir-of-p): New functions.
6516 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6517 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6518 * dired-aux.el (dired-copy-file-recursive): Same.
6519 (dired-create-files): Modify destination when source is equal to
6520 dest when copying files.
53a46cd0 6521 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6522
914260cd
MA
65232012-02-24 Michael Albinus <michael.albinus@gmx.de>
6524
6525 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6526 (Bug#10874)
6527
2cb228f7
AM
65282012-02-23 Alan Mackenzie <acm@muc.de>
6529
6530 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6531 parameter "after-hook:" to allow the expansion to run code after
6532 the execution of the mode hooks.
6533
6534 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6535 from font-lock-mode-internal.
2cb228f7 6536
91027d08 6537 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6538 :after-hook.
6539
8f0fde21
SM
65402012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6541
3e88618b
SM
6542 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6543 (completion--cache-all-sorted-completions): New function.
6544 (completion-all-sorted-completions): Use it.
6545 (completion--do-completion, minibuffer-force-complete):
6546 Use it to re-instate the flush hook.
6547
8f0fde21
SM
6548 * icomplete.el (icomplete-completions): Replace last fix with a better
6549 one (bug#10850).
6550
8e911f6f
DG
65512012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6552
6553 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6554 when it might call us back infinitely (bug#10797).
6555
49fe4321
GM
65562012-02-23 Glenn Morris <rgm@gnu.org>
6557
6558 * minibuffer.el (completion-category-overrides): Doc fix.
6559
b291b572
SM
65602012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6561
6562 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6563 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6564
31a9ef2e
GM
65652012-02-23 Glenn Morris <rgm@gnu.org>
6566
5e6e6794 6567 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6568 (authors-obsolete-files-regexps, authors-ignored-files)
6569 (authors-ambiguous-files, authors-renamed-files-alist):
6570 Add more entries.
6571
0bd1e074
JL
65722012-02-23 Juri Linkov <juri@jurta.org>
6573
6574 * isearch.el (isearch-occur): Sync interactive spec with occur's
6575 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6576
b617673c
JL
6577 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6578
19e9789e
JL
65792012-02-22 Juri Linkov <juri@jurta.org>
6580
6581 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6582 (ucs-insert): Doc fix. Check for hex digits in the string.
6583 Don't display `nil' in the error message. (Bug#10857)
6584
f41ce09d
AM
65852012-02-22 Alan Mackenzie <acm@muc.de>
6586
7a71b18d 6587 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6588
ac2eceee
GM
65892012-02-22 Glenn Morris <rgm@gnu.org>
6590
6591 * ffap.el (ffap-c-path):
6592 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6593
abd1f678
CY
65942012-02-22 Chong Yidong <cyd@gnu.org>
6595
6596 * custom.el (load-theme): Doc fix.
6597
f25aef2e
GM
65982012-02-22 Glenn Morris <rgm@gnu.org>
6599
6600 * dired-x.el (dired-guess-shell-alist-default):
6601 Remove escape sequences from nroff output. (Bug#172)
6602
5f8dc2ca
GM
66032012-02-21 Glenn Morris <rgm@gnu.org>
6604
6ff86ec4
GM
6605 * vc/emerge.el (emerge-defvar-local):
6606 Set `permanent-local' property rather than unused `preserved'.
6607
be3223a3 6608 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6609 (picture-mode-map): Use it. (Bug#10860)
6610 (picture-mode): Doc fix.
6611
3fe58f4f
JB
66122012-02-21 Juanma Barranquero <lekktu@gmail.com>
6613
6614 * newcomment.el (uncomment-region-default): Remove unused binding.
6615
f9a998c3
GM
66162012-02-21 Glenn Morris <rgm@gnu.org>
6617
6618 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6619 (picture-self-insert, picture-tab-chars): Doc fix.
6620 (picture-mode-map): Fix C-a, C-e.
6621
c6029348
GM
66222012-02-20 Glenn Morris <rgm@gnu.org>
6623
6624 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6625
ab1ce9d7
LL
66262012-02-20 Leo Liu <sdl.web@gmail.com>
6627
6628 * icomplete.el (icomplete-completions): Check FROM arg before
6629 passing to substring (Bug#10850).
6630
0fd40f89
CY
66312012-02-19 Chong Yidong <cyd@gnu.org>
6632
6633 * comint.el: Require ansi-color.
6634 (comint-output-filter-functions): Add ansi-color-process-output.
6635
6636 * ansi-color.el: Don't set comint-output-filter-functions; it is
6637 now in the initial value defined in comint.el.
6638 (ansi-color-apply-face-function): New variable.
6639 (ansi-color-apply-on-region): Use it.
6640 (ansi-color-apply-overlay-face): New function.
6641
6642 * shell.el (shell): No need to require ansi-color.
6643 (shell-mode): Use ansi-color-apply-face-function to highlight
6644 color escapes using font-lock-face property (Bug#10835).
6645
20af2394
CY
66462012-02-19 Chong Yidong <cyd@gnu.org>
6647
6648 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6649 mode-line formats (Bug#10839).
6650
e23a3fbe
GM
66512012-02-18 Glenn Morris <rgm@gnu.org>
6652
b474519e
GM
6653 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6654
6655 * mail/undigest.el (unforward-rmail-message): Doc fix.
6656
e23a3fbe
GM
6657 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6658
57939ff4
EZ
66592012-02-18 Eli Zaretskii <eliz@gnu.org>
6660
6661 * international/characters.el (script-list): Sync with the latest
6662 Unicode Character Database.
6663
0c23686e
AS
66642012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6665
6666 * international/titdic-cnv.el: Remove duplicate coding tag.
6667 * language/cham.el: Likewise.
6668 * language/tai-viet.el: Likewise.
6669
6818b449
GM
66702012-02-18 Glenn Morris <rgm@gnu.org>
6671
6672 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6673 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6674 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6675 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6676 * calendar/holidays.el (holiday-bahai-holidays)
6677 (calendar-holidays, list-holidays):
6678 Use utf-8 Bahá'í in doc-strings, menus, etc.
6679
0311a3fc
TH
66802012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6681
6682 * saveplace.el (save-place-ignore-files-regexp): New variable
6683 allowing for excluding files from saving their location of point.
6684 The default value matches the temporary commit message editing
6685 files from Git, SVN, Bazaar, and Mercurial.
6686 (save-place-to-alist): Use it.
6687
d209e2fb 66882012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6689 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6690
6691 * newcomment.el (uncomment-region-default): Don't leave extra space
6692 when an arg is provided (bug#8150).
6693
ee0ce425
TZ
66942012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6695
eb864a71 6696 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6697
95ddf442
GM
66982012-02-17 Glenn Morris <rgm@gnu.org>
6699
6700 * net/socks.el: Require network-stream. (Bug#10599)
6701
48dd1e39 67022012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6703
6704 * international/charprop.el:
6705 * international/uni-name.el:
6706 * international/uni-old-name.el:
6707 * international/uni-comment.el: Regenerate.
6708
d68cd087
GM
67092012-02-16 Glenn Morris <rgm@gnu.org>
6710
6711 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6712 Interactively in calendar buffer, give an error if not on a date.
6713
13932042
GM
67142012-02-15 Glenn Morris <rgm@gnu.org>
6715
6716 * shell.el (shell-delimiter-argument-list):
6717 Revert 2011-02-17 change. (Bug#8027)
6718
c3a70e2b
CY
67192012-02-15 Chong Yidong <cyd@gnu.org>
6720
60236b0d
CY
6721 * minibuffer.el (completion-at-point-functions): Doc fix.
6722
c3a70e2b
CY
6723 * custom.el (defcustom): Doc fix; note use of defvar.
6724
9f26dc24
GM
67252012-02-15 Glenn Morris <rgm@gnu.org>
6726
6727 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6728 Doc fixes.
6729
6546b134
GM
67302012-02-14 Glenn Morris <rgm@gnu.org>
6731
6732 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6733
d29b2b4c
LI
67342012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6735
6736 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6737 way the ports list is computed.
835bdcba
LI
6738 (smtpmail-query-smtp-server): Prompt the user for a port number if
6739 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6740
08dcdbc9
TZ
67412012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6742
6743 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6744
2605051a
GM
67452012-02-13 Glenn Morris <rgm@gnu.org>
6746
6747 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6748
7ee99f32
TZ
67492012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6750
6751 * net/gnutls.el (gnutls-trustfiles): New variable.
6752 (gnutls-negotiate): Use it.
6753
5f0af64f
LI
67542012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6755
6756 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6757 does its stuff if Gnus is running.
6758
c14fcc95
AM
67592012-02-13 Alan Mackenzie <acm@muc.de>
6760
6761 Fix a loop in c-set-fl-decl-start.
6762
7a71b18d 6763 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6764 c-backward-syntactic-ws actually moves backwards.
6765
142b4d90
LL
67662012-02-13 Leo Liu <sdl.web@gmail.com>
6767
6768 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6769 beginning so that all \C-o chars are removed.
6770
fa9958a6
TZ
67712012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6772
dc9924b8 6773 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6774
0bc5886a
AM
67752012-02-12 Alan Mackenzie <acm@muc.de>
6776
6777 Fix infinite loop with long macros.
4d6769e1 6778 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6779
d4bd55e7
CY
67802012-02-12 Chong Yidong <cyd@gnu.org>
6781
6782 * window.el (display-buffer): Doc fix (Bug#10785).
6783
66f3fe22
GM
67842012-02-12 Glenn Morris <rgm@gnu.org>
6785
bd7da63e
GM
6786 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6787 (x-disown-selection-internal, x-get-selection-internal):
6788 Sync docs with the xselect.c versions.
6789
66f3fe22
GM
6790 * allout-widgets.el: Add missing license notice.
6791
3e0d2fa7
GM
67922012-02-11 Glenn Morris <rgm@gnu.org>
6793
cfecdf09
GM
6794 * select.el (x-get-selection-internal, x-own-selection-internal)
6795 (x-disown-selection-internal):
6796 * x-dnd.el (x-get-selection-internal): Update declarations.
6797
6d216d7f
GM
6798 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6799
2bed3f04
GM
6800 * window.el (window-sides-slots):
6801 * tool-bar.el (tool-bar-position):
6802 * term/xterm.el (xterm-extra-capabilities):
6803 * ses.el (ses-self-reference-early-detection):
6804 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6805 (verilog-auto-wire-type)
6806 (verilog-auto-delete-trailing-whitespace)
6807 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6808 (verilog-auto-tieoff-declaration):
6809 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6810 (sql-oracle-statement-starters, sql-oracle-scan-on):
6811 * progmodes/prolog.el (prolog-align-comments-flag)
6812 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6813 (prolog-left-indent-regexp, prolog-paren-indent-p)
6814 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6815 (prolog-types, prolog-mode-specificators)
6816 (prolog-determinism-specificators, prolog-directives)
6817 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6818 (prolog-electric-dot-flag)
6819 (prolog-electric-dot-full-predicate-template)
6820 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6821 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6822 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6823 (prolog-program-switches, prolog-prompt-regexp)
6824 (prolog-debug-on-string, prolog-debug-off-string)
6825 (prolog-trace-on-string, prolog-trace-off-string)
6826 (prolog-zip-on-string, prolog-zip-off-string)
6827 (prolog-use-standard-consult-compile-method-flag)
6828 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6829 (prolog-imenu-max-lines, prolog-info-predicate-index)
6830 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6831 (prolog-char-quote-workaround):
6832 * progmodes/cc-vars.el (c-defun-tactic):
6833 * net/tramp.el (tramp-encoding-command-interactive)
6834 (tramp-local-end-of-line):
6835 * net/soap-client.el (soap-client):
6836 * net/netrc.el (netrc-file):
6837 * net/gnutls.el (gnutls):
6838 * minibuffer.el (completion-category-overrides)
6839 (completion-cycle-threshold)
6840 (completion-pcm-complete-word-inserts-delimiters):
6841 * man.el (Man-name-local-regexp):
6842 * mail/feedmail.el (feedmail-display-full-frame):
6843 * international/characters.el (glyphless-char-display-control):
6844 * eshell/em-ls.el (eshell-ls-date-format):
6845 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6846 (lisp-lambda-list-keyword-parameter-indentation)
6847 (lisp-lambda-list-keyword-parameter-alignment):
6848 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6849 * dired-x.el (dired-omit-verbose):
6850 * cus-theme.el (custom-theme-allow-multiple-selections):
6851 * calc/calc.el (calc-highlight-selections-with-faces)
6852 (calc-lu-field-reference, calc-lu-power-reference)
6853 (calc-note-threshold):
6854 * battery.el (battery-mode-line-limit):
6855 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6856 (archive-7z-update):
6857 * allout.el (allout-prefixed-keybindings)
6858 (allout-unprefixed-keybindings)
6859 (allout-inhibit-auto-fill-on-headline)
6860 (allout-flattened-numbering-abbreviation):
6861 * allout-widgets.el (allout-widgets-auto-activation)
6862 (allout-widgets-icons-dark-subdir)
6863 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6864 (allout-widgets-theme-dark-background)
6865 (allout-widgets-theme-light-background)
6866 (allout-widgets-item-image-properties-emacs)
6867 (allout-widgets-item-image-properties-xemacs)
6868 (allout-widgets-run-unit-tests-on-load)
6869 (allout-widgets-time-decoration-activity)
6870 (allout-widgets-hook-error-post-time)
6871 (allout-widgets-track-decoration):
6872 Add missing :version tags to new defcustoms and defgroups.
6873
5fec1b8e
GM
6874 * progmodes/sql.el (sql-ansi-statement-starters)
6875 (sql-oracle-statement-starters): Add custom type.
6876
3e0d2fa7
GM
6877 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6878 (prolog-system-version): Give it a type.
6879
90b671e2
EZ
68802012-02-11 Eli Zaretskii <eliz@gnu.org>
6881
6882 * term/pc-win.el (x-select-text, x-selection-owner-p)
6883 (x-own-selection-internal, x-disown-selection-internal)
6884 (x-get-selection-internal): Sync doc strings and argument lists
6885 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6886
5eac0c02
LL
68872012-02-11 Leo Liu <sdl.web@gmail.com>
6888
6889 * progmodes/python.el (python-end-of-statement): Fix infinite
6890 loop. (Bug#10788)
6891
f82cb659
GM
68922012-02-10 Glenn Morris <rgm@gnu.org>
6893
6894 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6895 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6896
cc26d239
LI
68972012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6898
6899 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6900 about SMTP before checking the From header.
6901
91027d08 6902 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6903 into own function for reuse by emacsbug.el.
6904
1be3ca5a
LL
69052012-02-10 Leo Liu <sdl.web@gmail.com>
6906
6907 * subr.el (condition-case-unless-debug): Rename from
6908 condition-case-no-debug. All callers changed.
6909 (with-demoted-errors): Fix caller.
6910
6911 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6912 * nxml/rng-valid.el (rng-do-some-validation):
6913 * emacs-lisp/package.el (package-refresh-contents)
6914 (package-menu-execute):
6915 * desktop.el (desktop-create-buffer):
91027d08 6916 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6917
b011fbfe
GM
69182012-02-10 Glenn Morris <rgm@gnu.org>
6919
b2096d72
GM
6920 * textmodes/bibtex.el:
6921 Add missing :version tags for new/changed defcustoms.
6922
b011fbfe
GM
6923 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6924
4c7e65bf
LI
69252012-02-09 Lars Ingebrigtsen <larsi@rusty>
6926
6927 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6928 (smtpmail-via-smtp): Use it, or fall back on the From address.
6929 (smtpmail-send-it): Ditto.
6930
f3934f6f
SM
69312012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6932
6933 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6934 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6935 (byte-compile-tmp-var): New const.
6936 (byte-compile-defvar): Use it to minimize .elc size.
6937 Just use `defvar' rather than simulate it (bug#10761).
6938
a075a2c5
GM
69392012-02-09 Glenn Morris <rgm@gnu.org>
6940
cf3aa21b
GM
6941 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6942
354998cd
GM
6943 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6944 Add :version tags.
6945
dc9924b8
SM
6946 * progmodes/compile.el (compilation-error-screen-columns)
6947 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6948
dab3703d
GM
6949 * vc/log-view.el (log-view-toggle-entry-display):
6950 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6951
3f88cd72
GM
6952 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6953 (report-emacs-bug-can-use-xdg-email):
6954 (report-emacs-bug-insert-to-mailer): Doc fixes.
6955 (report-emacs-bug): Message fix.
6956
d95b247d
GM
6957 * net/browse-url.el (browse-url-can-use-xdg-open)
6958 (browse-url-xdg-open): Doc fixes.
6959
a075a2c5
GM
6960 * electric.el (electric-indent-mode, electric-pair-mode)
6961 (electric-layout-rules, electric-layout-mode): Doc fixes.
6962 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6963
ffb6157e
MR
69642012-02-08 Martin Rudalics <rudalics@gmx.at>
6965
6966 * server.el (server-unselect-display): Don't inadvertently kill
6967 the current buffer. (Bug#10729)
6968
e1ac4066
GM
69692012-02-08 Glenn Morris <rgm@gnu.org>
6970
34e8a2da
GM
6971 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6972 (sql-list-table): Doc fixes.
6973
b4ac6e8c
GM
6974 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6975 Comment out (does nothing).
6976
e1ac4066
GM
6977 * completion.el (dynamic-completion-mode):
6978 * dirtrack.el (dirtrack-debug-mode):
6979 * electric.el (electric-layout-mode):
6980 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6981 * face-remap.el (text-scale-mode, buffer-face-mode):
6982 * iimage.el (iimage-mode):
6983 * image-mode.el (image-transform-mode):
6984 * minibuffer.el (completion-in-region-mode):
6985 * scroll-lock.el (scroll-lock-mode):
6986 * simple.el (next-error-follow-minor-mode):
6987 * tar-mode.el (tar-subfile-mode):
6988 * tooltip.el (tooltip-mode):
6989 * vcursor.el (vcursor-use-vcursor-map):
6990 * wid-browse.el (widget-minor-mode):
6991 * emulation/tpu-edt.el (tpu-edt-mode):
6992 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6993 * international/iso-ascii.el (iso-ascii-mode):
6994 * language/thai-util.el (thai-word-mode):
6995 * mail/supercite.el (sc-minor-mode):
6996 * net/goto-addr.el (goto-address-mode):
6997 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6998 * progmodes/cwarn.el (cwarn-mode):
6999 * progmodes/flymake.el (flymake-mode):
7000 * progmodes/glasses.el (glasses-mode):
7001 * progmodes/hideshow.el (hs-minor-mode):
7002 * progmodes/pascal.el (pascal-outline-mode):
7003 * textmodes/enriched.el (enriched-mode):
7004 * vc/smerge-mode.el (smerge-mode):
7005 Doc fixes (minor mode argument).
7006
5e0d957f
EZ
70072012-02-07 Eli Zaretskii <eliz@gnu.org>
7008
7009 * ls-lisp.el (ls-lisp-sanitize): New function.
7010 (ls-lisp-insert-directory): Use it to fix or remove any elements
7011 in file-alist with missing attributes. (Bug#4673)
7012
98d7371e
AM
70132012-02-07 Alan Mackenzie <acm@muc.de>
7014
7015 Fix spurious recognition of c-in-knr-argdecl.
7016
7017 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
7018 putative K&R region.
7019
667ced3a
AM
70202012-02-07 Alan Mackenzie <acm@muc.de>
7021
eb864a71
LM
7022 * progmodes/cc-engine.el (c-forward-objc-directive):
7023 Prevent looping in "#pragma mark @implementation".
667ced3a 7024
5b77774d
MA
70252012-02-07 Michael Albinus <michael.albinus@gmx.de>
7026
7027 * notifications.el (notifications-on-closed-signal): Make `reason'
7028 optional. (Bug#10744)
7029
af008560
GM
70302012-02-07 Glenn Morris <rgm@gnu.org>
7031
60d47423
GM
7032 * emacs-lisp/easy-mmode.el (define-minor-mode):
7033 Doc fixes for the macro and the mode it defines.
7034
dd605cc4
GM
7035 * image.el (imagemagick-types-inhibit): Doc fix.
7036
af008560
GM
7037 * cus-start.el (imagemagick-render-type): Add it.
7038
5cc59a37
LI
70392012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7040
4d6769e1
JB
7041 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7042 Set the default at load time, too, so that `font-lock-fontify-buffer'
7043 can be called without setting up the entire mode first. This fixes
7044 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7045
9a6dd747
CY
70462012-02-06 Chong Yidong <cyd@gnu.org>
7047
2d16b285
CY
7048 * simple.el (list-processes--refresh): Delete exited processes
7049 (Bug#8094).
7050
171e9b6e
CY
7051 * comint.el (comint-next-prompt): next-single-char-property-change
7052 and prev-single-char-property-change never return nil (Bug#8657).
7053
9a6dd747
CY
7054 * custom.el (defcustom): Doc fix (Bug#9711).
7055
aa4589a7
CY
70562012-02-05 Chong Yidong <cyd@gnu.org>
7057
5c2a252f
CY
7058 * cus-edit.el (custom-variable-reset-backup): Quote the value
7059 before storing it in the customized-value property (Bug#6712).
4aab9006 7060 (custom-display): Add a customization type tag.
983b9602 7061 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7062
aa4589a7
CY
7063 * wid-edit.el (widget-field-value-get): New optional arg to
7064 suppress trailing whitespace truncation.
7065 (character): Use it (Bug#2689).
7066
1ff980ae
AS
70672012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7068
7069 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7070 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7071
03988c98
CY
70722012-02-05 Chong Yidong <cyd@gnu.org>
7073
eeb6cc88
CY
7074 * cus-edit.el (custom-variable-value-create): For mismatched
7075 types, show the current value (Bug#7600).
7076
03988c98
CY
7077 * custom.el (defcustom): Doc fix.
7078
f8cdeef0
GM
70792012-02-05 Glenn Morris <rgm@gnu.org>
7080
7081 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7082
0696d255
JB
70832012-02-05 Juanma Barranquero <lekktu@gmail.com>
7084
7085 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7086 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7087 (pp-last-sexp): Use `looking-at-p'.
7088
34c99998
GM
70892012-02-04 Glenn Morris <rgm@gnu.org>
7090
8f05da42
GM
7091 * files.el (revert-buffer):
7092 Doc fix (mention revert-buffer-in-progress-p).
7093
f160676e
GM
7094 * emacs-lisp/ert-x.el (ert-simulate-command):
7095 Check deferred-action-list (which is obsolete) is bound.
7096
c7291ad9
GM
7097 * subr.el (with-wrapper-hook): Doc fixes.
7098
34c99998
GM
7099 * simple.el (filter-buffer-substring-functions)
7100 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7101
6283a7d3
LL
71022012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7103
7104 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7105 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7106
e96e3013
LL
71072012-02-04 Leo Liu <sdl.web@gmail.com>
7108
7109 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7110
8ded50f2
GM
71112012-02-04 Glenn Morris <rgm@gnu.org>
7112
82ff1d13
GM
7113 * image.el (image-extension-data): Add obsolete alias.
7114
987a0a16
GM
7115 * isearch.el (isearch-update): Doc fix.
7116
ea32ef46
GM
7117 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7118
8ded50f2
GM
7119 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7120
eea14f31
GM
71212012-02-03 Glenn Morris <rgm@gnu.org>
7122
7123 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7124 (image-animate-timeout): Doc fix.
7125
7126 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7127
12f381b7
GM
71282012-02-02 Glenn Morris <rgm@gnu.org>
7129
953cebf5
GM
7130 * server.el (server-auth-dir): Doc fix.
7131 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7132
12f381b7
GM
7133 * subr.el (run-mode-hooks): Doc fix.
7134
953a8c3b
JL
71352012-02-02 Juri Linkov <juri@jurta.org>
7136
7137 * image-mode.el (image-toggle-display-image): Remove tautological
7138 `major-mode' from the `derived-mode-p' test.
7139
c5d3843c
KH
71402012-02-02 Kenichi Handa <handa@m17n.org>
7141
9f6e692e 7142 * composite.el (compose-region): Cancel previous change.
c5d3843c 7143
159462d4 71442012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7145
7146 * composite.el (compose-region, compose-string): Signal error for
7147 a null string component (Bug#6988).
7148
9f562668
CY
71492012-02-01 Chong Yidong <cyd@gnu.org>
7150
e2cef717
CY
7151 * view.el (view-buffer-other-window, view-buffer-other-frame):
7152 Handle special modes like view-buffer (Bug#10650).
7153 (view-buffer): Simplify.
7154
9f562668
CY
7155 * frame.el (set-frame-font): Tweak meaning of third argument.
7156
9f6e692e
JB
7157 * dynamic-setting.el (font-setting-change-default-font):
7158 Use set-frame-font (Bug#9982).
9f562668 7159
781acb9f
GM
71602012-02-01 Glenn Morris <rgm@gnu.org>
7161
6035be52
GM
7162 * progmodes/compile.el (compilation-internal-error-properties):
7163 Respect compilation-first-column in the "*compilation*" buffer.
7164
781acb9f
GM
7165 * emacs-lisp/easy-mmode.el (define-minor-mode):
7166 Relax :variable's test for a named function.
7167
abbceb00
AM
71682012-01-31 Alan Mackenzie <acm@muc.de>
7169
7170 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7171 off by one error.
7172
fce3fdeb
CY
71732012-01-31 Chong Yidong <cyd@gnu.org>
7174
7175 * frame.el (set-frame-font): New arg ALL-FRAMES.
7176
7177 * menu-bar.el (menu-set-font): Use set-frame-font.
7178
7179 * faces.el (face-spec-reset-face): Don't apply unspecified
7180 attribute values to the default face.
7181
47893581
JB
71822012-01-31 Juanma Barranquero <lekktu@gmail.com>
7183
7184 * progmodes/cwarn.el (cwarn): Remove dead link.
7185 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7186 Remove * from defcustom docstrings.
7187 (turn-on-cwarn-mode): Make obsolete.
7188 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7189 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7190
e58e988a
GM
71912012-01-31 Glenn Morris <rgm@gnu.org>
7192
60dc2671 7193 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7194 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7195 Allow named functions to be used as the cdr of :variable.
e58e988a 7196
7a3f511d
GM
71972012-01-30 Glenn Morris <rgm@gnu.org>
7198
7199 * emacs-lisp/authors.el (authors-fixed-entries):
7200 Remove reference to deleted file rnewspost.el.
7201
cb882333
JB
72022012-01-29 Juanma Barranquero <lekktu@gmail.com>
7203
7204 * window.el (window-with-parameter): Remove unused variable `windows'.
7205 (window--side-check): Remove unused variable `code'.
7206 (window--resize-siblings): Remove unused variable `first'.
7207 (adjust-window-trailing-edge): Remove unused variable `failed'.
7208 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7209 Use `let', not `let*'.
7210 (balance-windows-2): Remove unused variable `found'.
7211 (window--state-put-2): Remove unused variable `splits'.
7212 (window-state-put): Remove unused variable `selected'.
7213 (same-window-p): Use `string-match-p'.
7214 (display-buffer-assq-regexp): Remove unused variable `value'.
7215 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7216 Mark argument ALIST as ignored.
7217 (pop-to-buffer): Remove unused variable `old-window'.
7218
907201af
EZ
72192012-01-29 Eli Zaretskii <eliz@gnu.org>
7220
7221 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7222 and .lzma compressed files.
7223
ea162670
CY
72242012-01-29 Chong Yidong <cyd@gnu.org>
7225
5b95ee8a
CY
7226 * frame.el (window-system-default-frame-alist): Doc fix.
7227
ea162670
CY
7228 * dynamic-setting.el (font-setting-change-default-font): Don't
7229 change the default face if SET-FONT argument is non-nil (Bug#9982).
7230
d6e6f4b1
SB
72312012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7232
7233 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7234
0f29fa41 72352012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7236
7237 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7238 breakpoints in files outside current directory (Bug#6098).
7239
db174434
CY
72402012-01-29 Chong Yidong <cyd@gnu.org>
7241
6b25e4e2
SE
7242 * progmodes/python.el: Require ansi-color at top-level.
7243
6df6ae42
JB
7244 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7245 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7246 (lisp-mode-abbrev-table): Add doc.
7247 (lisp-mode-variables): Don't set local-abbrev-table.
7248 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7249
e70ee681
RW
72502012-01-28 Roland Winkler <winkler@gnu.org>
7251
7252 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7253
ace88aa2
RW
72542012-01-28 Roland Winkler <winkler@gnu.org>
7255
7256 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7257 (bibtex-set-dialect): Use it. Either set global values of
7258 dialect-dependent variables or bind these variables buffer-locally
7259 (Bug#10254).
7260 (bibtex-mode): Call bibtex-set-dialect via
7261 hack-local-variables-hook.
eb864a71
LM
7262 (bibtex-dialect): Update docstring.
7263 Add safe-local-variable predicate.
ace88aa2
RW
7264 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7265 bibtex-set-dialect.
7266 (bibtex-mode-map): Define menu for each dialect.
7267 (bibtex-entry): Fix docstring.
7268
93376c5b
CY
72692012-01-28 Chong Yidong <cyd@gnu.org>
7270
7271 * eshell/esh-arg.el (eshell-quote-argument): New function.
7272
7273 * eshell/esh-ext.el (eshell-invoke-batch-file):
7274 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7275 first arg to eshell-parse-command (Bug#10523).
7276
4372494f
DA
72772012-01-28 Drew Adams <drew.adams@oracle.com>
7278
7279 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7280 `default-directory' is non-nil.
7281
4d4ec1f8
EZ
72822012-01-28 Eli Zaretskii <eliz@gnu.org>
7283
7284 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7285 line that displays system-configuration-options. (Bug#9924)
7286
7c188927
DA
72872012-01-28 Drew Adams <drew.adams@oracle.com>
7288
7289 * descr-text.el (describe-char): Show information about POS, in
7290 addition to information about the character at POS. Improve and
7291 update the doc string. Change "code point" to "code point in
7292 charset", to avoid confusion with the character's Unicode code
7293 point shown above that. (Bug#10129)
7294
e0da685a
EZ
72952012-01-28 Eli Zaretskii <eliz@gnu.org>
7296
7297 * descr-text.el (describe-char): Show the raw character, not only
7298 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7299 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7300 for the reasons.
7301
70550acf
PH
73022012-01-28 Phil Hagelberg <phil@hagelb.org>
7303
eb864a71
LM
7304 * emacs-lisp/package.el (package-install):
7305 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7306
0ce8e868
CY
73072012-01-28 Chong Yidong <cyd@gnu.org>
7308
cb882333
JB
7309 * emacs-lisp/package.el (package-maybe-load-descriptor):
7310 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7311 (package-maybe-load-descriptor): Use it.
7312 (package-download-transaction): Fully load required packages
7313 inside the loop, so that `require' calls work (Bug#10593).
7314 (package-install): No need to call package-initialize now.
7315
2e7f3bea
CY
73162012-01-28 Chong Yidong <cyd@gnu.org>
7317
6e9bad14
CY
7318 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7319
f823b8ca
CY
7320 * tooltip.el (tooltip-mode): Doc fix.
7321 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7322
2680c309
CY
7323 * frame.el (set-cursor-color): Doc fix (Bug#352).
7324
d7a9e63b
CY
7325 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7326 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7327
2e7f3bea
CY
7328 * cus-edit.el (custom-buffer-create-internal): Fix search button
7329 action (Bug#10542).
2ae01800 7330 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7331
fc4f7a23
EW
73322012-01-27 Eduard Wiebe <usenet@pusto.de>
7333
7334 * dired.el (dired-mark-files-regexp):
7335 Include any subdirectory components. (Bug#10445)
7336
7dd37071
ML
73372012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7338
7339 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7340 Handle [host]:port syntax. (Bug#10533)
7341
a268160b
AH
73422012-01-27 Alex Harsanyi <harsanyi@mac.com>
7343
7344 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7345
e43273ef
GM
73462012-01-26 Glenn Morris <rgm@gnu.org>
7347
7348 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7349 * term.el (term-raw-escape-map): Use Control-X-prefix.
7350 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7351
1edf595d
MR
73522012-01-25 Martin Rudalics <rudalics@gmx.at>
7353
7354 * window.el (window-state-get, window--state-get-1): Don't deal
7355 with fixed-sizeness of windows. Simplify code.
7356
fa8eafef
JC
73572012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7358
6df6ae42
JB
7359 * window.el (window--state-get-1, window--state-put-2):
7360 Don't save and restore the mark.
fa8eafef 7361
0b21c100
CY
73622012-01-25 Chong Yidong <cyd@gnu.org>
7363
7364 * custom.el (custom-variable-p): Doc fix.
7365
5ae1a6c8
GM
73662012-01-25 Glenn Morris <rgm@gnu.org>
7367
40047858
GM
7368 * dired.el (dired-goto-file): Handle some of the more common
7369 characters that `ls -b' escapes. (Bug#10596)
7370
5ddce96c
GM
7371 * progmodes/compile.el (compilation-next-error-function):
7372 Respect compilation-first-column in the "*compilation*" buffer.
7373 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7374
5ae1a6c8
GM
7375 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7376
b559f1a9
GM
73772012-01-24 Glenn Morris <rgm@gnu.org>
7378
7379 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7380
6725d21a
JD
73812012-01-24 Julien Danjou <julien@danjou.info>
7382
7383 * color.el (color-rgb-to-hsl): Fix value computing.
7384 (color-hue-to-rgb): New function.
7385 (color-hsl-to-rgb): New function.
7386 (color-clamp, color-saturate-hsl, color-saturate-name)
7387 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7388 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7389
70df4bbe
GM
73902012-01-24 Glenn Morris <rgm@gnu.org>
7391
7392 * vc/vc-rcs.el (vc-rcs-create-tag):
7393 * vc/vc-sccs.el (vc-sccs-create-tag):
7394 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7395
802a2ae2
ML
73962012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7397
7398 * eshell/esh-util.el (eshell-read-hosts-file):
7399 Skip comment lines. (Bug#10549)
7400
d7128bb1
ML
7401 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7402
d1a5c3b4
JB
74032012-01-23 Juanma Barranquero <lekktu@gmail.com>
7404
2724d9c7
JB
7405 * subr.el (display-delayed-warnings): Doc fix.
7406 (collapse-delayed-warnings): New function to collapse identical
7407 adjacent warnings.
7408 (delayed-warnings-hook): Add it.
d1a5c3b4 7409
a5509865
MA
74102012-01-22 Michael Albinus <michael.albinus@gmx.de>
7411
7412 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7413
a5509865
MA
7414 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7415 (tramp-default-user-alist): Don't add "pscp".
7416 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7417 property "login-as", if set. (Bug#10530)
7418
cc6d5805
MA
74192012-01-21 Michael Albinus <michael.albinus@gmx.de>
7420
7421 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7422 "plink1" and "psftp". (Bug#10530)
7423
74242012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7425
7426 * international/mule-cmds.el (prefer-coding-system): Show a
7427 warning message if the default value of file-name-coding-system
7428 was not changed.
7429
f0960428
JC
74302012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7431
cb882333
JB
7432 * windmove.el (windmove-reference-loc):
7433 Fix windmove-reference-loc miscalculation.
f0960428 7434
dd6f2a63
JB
74352012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7436
7437 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7438 default unit.
7439
7b447e9b
GM
74402012-01-21 Glenn Morris <rgm@gnu.org>
7441
117a9ea1
GM
7442 * international/mule.el (auto-coding-alist): Add .tbz.
7443
7b447e9b
GM
7444 * files.el (local-enable-local-variables): Doc fix.
7445 (inhibit-local-variables-regexps): Rename from
7446 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7447 Doc fix. Add some extensions from auto-coding-alist.
7448 (inhibit-local-variables-suffixes):
7449 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7450 (inhibit-local-variables-p):
7451 New function, extracted from set-auto-mode-1.
7452 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7453 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7454 (hack-local-variables): Doc fix. Make the mode-only case
7455 respect enable-local-variables and friends.
7456 Respect inhibit-local-variables-regexps for file-locals, but
7457 not for directory-locals.
7458 (set-visited-file-name):
7459 Take account of inhibit-local-variables-regexps.
7460 Whether it applies may change as the file name is changed.
7461 * jka-cmpr-hook.el (jka-compr-install):
7462 * jka-compr.el (jka-compr-uninstall):
7463 Update for inhibit-first-line-modes-suffixes name change.
7464
dd6e3cdd
MR
74652012-01-20 Martin Rudalics <rudalics@gmx.at>
7466
7467 * help-macro.el (make-help-screen): Temporarily restore original
7468 binding for minor-mode-map-alist (Bug#10454).
7469
0d0deb38
JD
74702012-01-19 Julien Danjou <julien@danjou.info>
7471
7472 * color.el (color-name-to-rgb): Use the white color to find the max
7473 color component value and return correctly computed values.
7474 (color-name-to-rgb): Add missing float conversion for max value.
7475
34a02f46
MR
74762012-01-19 Martin Rudalics <rudalics@gmx.at>
7477
7478 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7479 special state value for window-persistent-parameters.
7480 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7481 (window--state-put-2): Reset all window parameters to nil before
7482 assigning values of persistent parameters.
7483
606c44c4
AM
74842012-01-18 Alan Mackenzie <acm@muc.de>
7485
7486 Eliminate sluggishness and hangs in fontification of "semicolon
7487 deserts".
7488
cb882333
JB
7489 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7490 Change value 10000 -> 3000.
606c44c4
AM
7491 (c-state-safe-place): Reformulate so it doesn't stack up an
7492 infinite number of wrong entries in c-state-nonlit-pos-cache.
7493 (c-determine-limit-get-base, c-determine-limit): New functions to
7494 determine backward search limits disregarding literals.
7495 (c-find-decl-spots): Amend commenting.
7496 (c-cheap-inside-bracelist-p): New function which detects "={".
7497
7498 * progmodes/cc-fonts.el
7499 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7500 backward search.
7501 (c-font-lock-declarations): Fix an occurrence of point being
7502 undefined. Check additionally for point being in a bracelist or
7503 near a macro invocation without a semicolon so as to avoid a
7504 fruitless time consuming search for a declarator. Give a more
7505 precise search limit for declarators using the new
7506 c-determine-limit.
7507
f3860cea
GM
75082012-01-18 Glenn Morris <rgm@gnu.org>
7509
7510 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7511 (set-auto-mode): Doc fixes.
7512
1db03b16
GM
75132012-01-17 Glenn Morris <rgm@gnu.org>
7514
0e6038be
GM
7515 * isearch.el (search-nonincremental-instead): Fix doc typo.
7516
1db03b16
GM
7517 * dired.el (dired-insert-directory): Handle newlines in directory name.
7518 (dired-build-subdir-alist): Unescape newlines in directory name.
7519
4cb0aa75
MA
75202012-01-17 Michael Albinus <michael.albinus@gmx.de>
7521
7522 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7523 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7524 (tramp-action-terminal): Use it. (Bug#10530)
7525
1d00653d
SM
75262012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7527
7528 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7529
6a6ee00d
MR
75302012-01-16 Martin Rudalics <rudalics@gmx.at>
7531
7532 * window.el (window-state-ignored-parameters): Remove variable.
7533 (window--state-get-1): Rename argument MARKERS to IGNORE.
7534 Handle persistent window parameters. Make copy of clone-of
7535 parameter only if requested. (Bug#10348)
7536 (window--state-put-2): Install a window parameter only if it has
7537 a non-nil value or an existing parameter shall be overwritten.
7538
97912def
MA
75392012-01-15 Michael Albinus <michael.albinus@gmx.de>
7540
7541 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7542
688070a5
EZ
75432012-01-14 Eli Zaretskii <eliz@gnu.org>
7544
7545 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7546 don't pass the (nil) value of `upnode' to string-match.
7547
301afadc
CY
75482012-01-14 Chong Yidong <cyd@gnu.org>
7549
7550 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7551 Fix values recognized by the cursorBlink resource.
301afadc 7552
9e5788aa
PE
75532012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7554
7555 * epg.el (epg--make-temp-file): Avoid permission race condition
7556 when running on old Emacs versions (bug#10403).
7557
3cdb7f5a
GM
75582012-01-14 Glenn Morris <rgm@gnu.org>
7559
7560 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7561
8c82b1b4
AM
75622012-01-13 Alan Mackenzie <acm@muc.de>
7563
7564 Fix filling for when filladapt mode is enabled.
7565
7566 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7567 c-mask-paragraph, pass in `fill-paragraph' rather than
7568 `fill-region-as-paragraph'. (This is a reversion of a previous
7569 change.)
eb864a71
LM
7570 * progmodes/cc-mode.el (c-basic-common-init):
7571 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7572
e517eda4
GM
75732012-01-13 Glenn Morris <rgm@gnu.org>
7574
1498536e
GM
7575 * dired.el (dired-switches-escape-p): New function.
7576 (dired-insert-directory): Use dired-switches-escape-p.
7577 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7578
e517eda4
GM
7579 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7580
328f984d
GM
75812012-01-12 Glenn Morris <rgm@gnu.org>
7582
7583 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7584 changes in adaptive-fill-regexp. (Bug#10276)
7585
2cc769a8
AM
75862012-01-11 Alan Mackenzie <acm@muc.de>
7587
7588 Fix Emacs bug #10463 - put `widen's around the critical spots.
7589
1d00653d 7590 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7591 widen around each invocation of c-state-pp-to-literal. Remove an
7592 unused let variable.
7593
e52c37fa
GM
75942012-01-11 Glenn Morris <rgm@gnu.org>
7595
7596 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7597 Doc fix.
e52c37fa 7598
96f8741e
CY
75992012-01-10 Chong Yidong <cyd@gnu.org>
7600
1d00653d
SM
7601 * net/network-stream.el (network-stream-open-starttls):
7602 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7603 response to the capability command.
7604
b09a806e
GM
76052012-01-10 Glenn Morris <rgm@gnu.org>
7606
7607 * mail/unrmail.el (unrmail): Tweak previous change.
7608
7655cb66
CY
76092012-01-09 Chong Yidong <cyd@gnu.org>
7610
7611 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7612
9d5a8f0b
AM
76132012-01-08 Alan Mackenzie <acm@muc.de>
7614
7615 Optimise font locking in long enum definitions.
7616
7617 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7618 arm to a cond form to handle enums.
7619 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7620 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7621
9a0115ab 76222012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7623
7624 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7625 (Bug#10401)
6bb72cbd 7626
f186bb95
LMI
76272012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7628
29232a68
LMI
7629 * faces.el (set-face-attribute): Clarify the meaning of the nil
7630 frame (bug#10294).
7631
4e5d086d
LMI
7632 * subr.el (with-selected-frame): Mention that the selected frame
7633 is restored (bug#9980).
7634
8e66aebe
LMI
7635 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7636 (bug#9759).
7637
cd394be1 7638 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7639 (password-read): Don't autoload unused function.
7640
adf4e762
JB
76412012-01-07 Juanma Barranquero <lekktu@gmail.com>
7642
7643 * progmodes/which-func.el (which-func-mode): Turn into a
7644 non-interactive function and mark as obsolete (bug#10428).
7645
89bd9ccd
CY
76462012-01-06 Chong Yidong <cyd@gnu.org>
7647
7648 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7649 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7650 functions, along with 1 and -1.
7651
4afee9d5
EZ
76522012-01-06 Eli Zaretskii <eliz@gnu.org>
7653
7654 * time.el (display-time-load-average)
7655 (display-time-default-load-average): Doc fixes. See the thread
7656 starting at
7657 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7658 for the details.
7659
536aea70
GM
76602012-01-06 Glenn Morris <rgm@gnu.org>
7661
665ae865
GM
7662 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7663 has no messages. (Bug#10377)
7664
c869783d
GM
7665 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7666 than Info-edit. (Bug#10385)
7667
2bb4227e
GM
7668 * time.el (display-time-load-average, display-time-next-load-average):
7669 Doc fixes.
7670
7d5944b9
GM
7671 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7672 local setting of buffer-read-only to the input buffer. (Bug#10419)
7673
536aea70
GM
7674 * calendar/calendar.el (calendar-mode):
7675 Locally set scroll-margin to 0. (Bug#10379)
7676
7dccca16
UM
76772012-01-06 Ulrich Mueller <ulm@gentoo.org>
7678
7679 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7680
afbb7930
GM
76812012-01-05 Glenn Morris <rgm@gnu.org>
7682
7683 * eshell/em-unix.el (diff-no-select): Autoload it.
7684 (eshell/diff): Use diff-no-select. (Bug#10420)
7685
04482335
CY
76862012-01-05 Chong Yidong <cyd@gnu.org>
7687
7baca3bc
CY
7688 * shell.el (shell-dynamic-complete-functions): Revert last change.
7689 (shell-command-completion-function): New function.
7690 (shell-completion-vars): Use it to implement
7691 shell-completion-execonly (Bug#10417).
7692
04482335
CY
7693 * custom.el (enable-theme): Don't set custom-safe-themes.
7694
1d00653d
SM
7695 * cus-theme.el (custom-theme-merge-theme):
7696 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7697
bb5aa5d6
MM
76982012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7699
7700 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7701 first prompt in `sql-interacive-mode'.
7702 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7703 keywords.
6df6ae42 7704 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7705 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7706 context of original buffer. Invoke `sql-login-hook'.
7707
a7183d7c
EZ
77082012-01-04 Eli Zaretskii <eliz@gnu.org>
7709
7710 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7711 letters in cite-prefix.
7712
a1eacd1e
LMI
77132012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7714
7715 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7716
787cdb34
CY
77172012-01-03 Chong Yidong <cyd@gnu.org>
7718
1d00653d
SM
7719 * shell.el (shell-dynamic-complete-functions):
7720 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7721 comint-filename-completion first (Bug#10417).
7722
30710442
RS
77232012-01-02 Richard Stallman <rms@gnu.org>
7724
7725 * battery.el (battery-status-function):
7726 Detect when to use battery-yeeloong-sysfs.
7727 (battery-echo-area-format): Add string for Yeeloong.
7728 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7729 (battery-yeeloong-sysfs): New function.
7730
f75bfc33
CY
77312012-01-02 Chong Yidong <cyd@gnu.org>
7732
7733 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7734 (dirtrack): Merge code for handling relative filenames in prompt
7735 from shell-dir-cookie-watcher.
7736 (dirtrack-debug-message): New arg to avoid excess format calls.
7737
7738 * shell.el (shell-dir-cookie-re): Variable deleted.
7739 (shell-dir-cookie-watcher): Function deleted.
7740 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7741 with dirtrack-mode.
7742
651e947e
EZ
77432012-01-01 Eli Zaretskii <eliz@gnu.org>
7744
1d00653d
SM
7745 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7746 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7747 libgnutls-26.dll.
7748
94d4c7dc
AS
77492011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7750
7751 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7752
8d43f3cd
EZ
77532011-12-31 Eli Zaretskii <eliz@gnu.org>
7754
7755 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7756 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7757
98c8795a
MA
77582011-12-29 Michael Albinus <michael.albinus@gmx.de>
7759
7760 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7761 also for alternative shells.
7762 (tramp-open-connection-setup-interactive-shell): Check, whether
7763 the shell is a busybox.
7764 (tramp-send-command): Don't suppress multiple prompts for
7765 busyboxes, it hurts.
7766
51281b32
CY
77672011-12-28 Chong Yidong <cyd@gnu.org>
7768
7769 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7770 (gdb-get-source-file): Move mode line update to
7771 gdb-get-source-file (Bug#10087).
7772
2170cb53
CY
77732011-12-25 Chong Yidong <cyd@gnu.org>
7774
7775 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7776 gud-gdb-marker-filter without taking it as an argument.
7777 (gud-gdb-run-command-fetch-lines): Caller changed.
7778 (gud-gdb-completion-function): New variable.
7779 (gud-gdb-completion-at-point): Use it.
7780 (gud-gdb-completions-1): Split from gud-gdb-completions.
7781
7782 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7783 function as separate arguments.
7784 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7785 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7786 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7787 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7788 (gdb-stopped, def-gdb-auto-update-trigger)
7789 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7790 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7791 Callers changed.
2170cb53
CY
7792 (gud-gdbmi-completions): New function.
7793 (gdb): Use it for generating the completion table.
7794
be8b11bb
AM
77952011-12-24 Alan Mackenzie <acm@muc.de>
7796
7797 Introduce a mechanism to widen the region used in context font
1d00653d 7798 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7799
1d00653d
SM
7800 * progmodes/cc-langs.el (c-before-font-lock-functions):
7801 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7802 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7803 functions to be run just before context (etc.) font locking.
7804
7805 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7806 New, functionality extracted from
be8b11bb 7807 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7808 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7809 (c-after-change): Set c-in-after-change-fontification.
7810 (c-set-fl-decl-start): Rejig its interface, so it can be called
7811 from both after-change and context fontifying.
b81d40f0
JB
7812 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7813 New functions.
7814 (c-standard-font-lock-fontify-region-function): New variable.
7815 (c-font-lock-fontify-region): New function.
be8b11bb 7816
341cf6ac
JL
78172011-12-24 Juri Linkov <juri@jurta.org>
7818
7819 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7820 (Bug#10348)
7821
bffcee0a
MA
78222011-12-23 Michael Albinus <michael.albinus@gmx.de>
7823
7824 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7825 existence of source file. (Bug#10325)
7826
cb5e207c
AM
78272011-12-23 Alan Mackenzie <acm@muc.de>
7828
7829 Fix unstable fontification inside templates.
7830
b81d40f0
JB
7831 * progmodes/cc-langs.el (c-before-font-lock-functions):
7832 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7833 additionally has c-set-fl-decl-start. The other languages (apart
7834 from AWK) have that as a single entry.
7835
b81d40f0
JB
7836 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7837 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7838 c-set-fl-decl-start.
7839
b81d40f0
JB
7840 * progmodes/cc-mode.el (c-common-init, c-after-change):
7841 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7842 (c-set-fl-decl-start): New function, extracted from
7843 c-font-lock-enclosing-decls and enhanced.
7844
60ff536c
JB
78452011-12-23 Juanma Barranquero <lekktu@gmail.com>
7846
7847 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7848
1c4757d6
JL
78492011-12-22 Juri Linkov <juri@jurta.org>
7850
7851 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7852
d031f2c7
CY
78532011-12-22 Chong Yidong <cyd@gnu.org>
7854
7855 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7856
bace743a
DA
78572011-12-21 Drew Adams <drew.adams@oracle.com>
7858
7859 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7860
728a1f2b
JC
78612011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7862
7863 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7864
0d373f73
TZ
78652011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7866
fec0aaa4
TZ
7867 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7868 highlighting and support. Fix up comments for capitalization.
7869 (cfengine-mode-debug): New var.
7870 (cfengine3-mode): Change the modeline indicator to "CFE3".
7871 (cfengine3-font-lock-keywords): Improve defun highlighting.
7872 (cfengine2-actions): Rename from `cfengine-actions'.
7873 (cfengine2-font-lock-keywords): Rename from
7874 `cfengine-font-lock-keywords'.
7875 (cfengine2-imenu-expression): Rename from
7876 `cfengine-imenu-expression'.
7877 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7878 (cfengine2-beginning-of-defun): Rename from
7879 `cfengine-beginning-of-defun'.
7880 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7881 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7882 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7883 modeline indicator to "CFE2".
7884 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7885 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7886
bc86f573
CY
78872011-12-21 Chong Yidong <cyd@gnu.org>
7888
7889 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7890 filename argument.
7891
d45ba96b
MR
78922011-12-20 Martin Rudalics <rudalics@gmx.at>
7893
7894 * window.el (window-normalize-buffer-to-display): Remove.
7895 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7896
a6198c90
CY
78972011-12-19 Chong Yidong <cyd@gnu.org>
7898
7899 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7900 Don't signal an error in a predicate function; return non-nil.
7901 (vc-dir-mark-file): Move the error here.
7902 (vc-dir-mark-unmark): If acting on the region, keep going if one
7903 of the entries cannot be marked/unmarked.
7904 (vc-dir-mark-all-files): If current entry is a directory, mark
7905 only child files, as documented.
7906
34c5fb55
VB
79072011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7908
7909 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7910 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7911 addition.
7912
c803b2b7
JD
79132011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7914
7915 * term/ns-win.el (ns-get-selection-internal)
7916 (ns-store-selection-internal): Declare.
1154d12e
JB
7917 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7918 Declare as obsolete.
7919 (ns-get-pasteboard, ns-paste-secondary):
7920 Use ns-get-selection-internal.
7921 (ns-set-pasteboard, ns-copy-including-secondary):
7922 Use ns-store-selection-internal.
c803b2b7 7923
9cff91f8 79242011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7925
7926 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7927 (vc-deduce-fileset): Doc fix.
99a289d9 7928
f16c898a
AS
79292011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7930
7931 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7932
763237c4
SS
79332011-12-13 Sam Steingold <sds@gnu.org>
7934
7935 * man.el (Man-getpage-in-background): When running under a
7936 window-system, ignore $MANWIDTH and $COLUMNS.
7937
5fc1c122
KH
79382011-12-15 Kenichi Handa <handa@m17n.org>
7939
7940 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7941 (setup-ethiopic-environment-internal): Comment out key-binding for
7942 ethio-toggle-punctuation.
7943
13d49cbb
AM
79442011-12-13 Alan Mackenzie <acm@muc.de>
7945
898169a2
AM
7946 Add the switch statement to AWK Mode.
7947
7a71b18d 7948 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7949 "default" to the keywords regexp.
7950
7a71b18d 7951 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7952 expression as the rest.
1d00653d
SM
7953 (c-nonlabel-token-key): Allow string literals for AWK.
7954 Refactor for the other modes.
898169a2 7955
13d49cbb 7956 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7957 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7958 routines. Limit backward searching in c-font-lock-enclosing.decl.
7959
7960 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7961 pp-state and literal type in addition to the limits.
1d00653d 7962 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7963 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7964 (c-slow-in-literal, c-fast-in-literal): Remove.
7965 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7966
7967 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7968 being in a literal. Add a limit for backward searching.
7969
7970 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7971 c-slow-in-literal.
7972
15e0efc7
SM
79732011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7974
7975 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7976
454592a6
MR
79772011-12-13 Martin Rudalics <rudalics@gmx.at>
7978
7979 * window.el (delete-other-windows): Use correct frame in call to
7980 window-with-parameter.
7981
87393f26
DP
79822011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7983
7984 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7985 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7986 (makefile-gmake-statements, makefile-makepp-statements):
7987 Use it and add new makepp keywords.
7988 (makefile-makepp-font-lock-keywords): Add new patterns.
7989 (makefile-match-function-end): Match new [...] and [[...]].
7990
11636b22
JB
79912011-12-11 Juanma Barranquero <lekktu@gmail.com>
7992
7993 * ses.el (ses-call-printer-return, ses-cell-property-get)
7994 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7995 (ses-create-cell-variable, ses-reset-header-string)
7996 (ses-cell-set-formula, ses-repair-cell-reference-all)
7997 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7998 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7999 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
8000 (ses-aset-with-undo, ses-load, ses-truncate-cell)
8001 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
8002 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
8003 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
8004 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
8005 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
8006 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
8007 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
8008 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
8009
cf018193
VB
80102011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
8011
8012 * ses.el: The overall change is to add cell renaming, that is
8013 setting fancy names for cell symbols other than name matching
8014 "\\`[A-Z]+[0-9]+\\'" regexp .
8015 (ses-create-cell-variable): New defun.
8016 (ses-relocate-formula): Relocate formulas only for cells the
8017 symbols of which are not renamed, i.e. symbols whose names do not
8018 match regexp "\\`[A-Z]+[0-9]+\\'".
8019 (ses-relocate-all): Relocate values only for cells the symbols of
8020 which are not renamed.
8021 (ses-load): Create cells variables as the (ses-cell ...) are read,
8022 in order to check row col consistency with cell symbol name only
8023 for cells that are not renamed.
8024 (ses-replace-name-in-formula): New defun.
8025 (ses-rename-cell): New defun.
8026
ee957461
CY
80272011-12-11 Chong Yidong <cyd@gnu.org>
8028
8029 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8030 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8031
9a9e9ef0
MR
80322011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8033
8034 * window.el (other-window): Fix docstring.
8035
92a8eba5
EZ
80362011-12-10 Eli Zaretskii <eliz@gnu.org>
8037
8038 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8039 `from' or `to' address before taking its substring.
8040 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8041 encoded name is chopped in the middle of the encoded string, and
8042 thus displayed encoded.
8043
e152e577
JB
80442011-12-10 Juanma Barranquero <lekktu@gmail.com>
8045
8046 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8047
e5d84bfe
EZ
80482011-12-10 Eli Zaretskii <eliz@gnu.org>
8049
8050 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8051 to use texinfo-update-node and commands that call it if the
8052 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8053 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8054 (texinfo-all-menus-update, texinfo-master-menu)
8055 (texinfo-update-node, texinfo-every-node-update)
8056 (texinfo-multiple-files-update): Doc fix. Warn against updating
8057 all the @node lines.
8058 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8059 argument is numeric. Explain better in the doc string what the
8060 function really does.
8061 (texinfo-insert-master-menu-list): Improve the error message
8062 displayed if there's no menu in the Top node.
8063 (Bug#2975) See also this thread:
e5d84bfe
EZ
8064 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8065
1d84e9bb
MG
80662011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8067
8068 * speedbar.el (speedbar-supported-extension-expressions):
8069 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8070
382c953b
JB
80712011-12-09 Juanma Barranquero <lekktu@gmail.com>
8072
8073 * printing.el (pr-mode-alist):
8074 * simple.el (filter-buffer-substring-functions)
8075 (completion-list-insert-choice-function):
8076 * window.el (window-with-parameter, window-atom-root)
8077 (window-sides-slots, window-size-fixed, window-min-delta)
8078 (window-max-delta, window--resize-mini-window)
8079 (window--resize-child-windows-normal, window-tree)
8080 (delete-other-windows, quit-window, split-window)
8081 (display-buffer-record-window, special-display-buffer-names)
8082 (special-display-regexps, special-display-popup-frame)
8083 (same-window-p, split-window-sensibly)
8084 (display-buffer-overriding-action, display-buffer-alist)
8085 (display-buffer-base-action, display-buffer, switch-to-buffer)
8086 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8087 (fit-window-to-buffer, recenter-positions)
8088 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8089 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8090 and remove unneeded backslashes in docstrings.
8091
39c9faef
SM
80922011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8093
98449af8
SM
8094 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8095
39c9faef
SM
8096 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8097 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8098 end in ".mk".
8099 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8100 when reading the makefile (bug#10116).
8101
86ed9fdc
SM
81022011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8103
8104 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8105 (bug#10116).
8106
5580f89d
GM
81072011-12-06 Glenn Morris <rgm@gnu.org>
8108
8109 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8110
28d3917c
CY
81112011-12-06 Chong Yidong <cyd@gnu.org>
8112
8113 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8114
a98edce9
JB
81152011-12-06 Juanma Barranquero <lekktu@gmail.com>
8116
8117 * textmodes/table.el (table-shorten-cell): Fix typo.
8118
e65adfac
CG
81192011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8120
8121 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8122
71cc0b74
EZ
81232011-12-05 Eli Zaretskii <eliz@gnu.org>
8124
8125 * descr-text.el (describe-char): Fix display of strong
8126 right-to-left characters and directional embeddings and overrides.
8127
8128 * simple.el (what-cursor-position): Fix display of codepoints of
8129 strong right-to-left characters.
8130
315bc30d
CY
81312011-12-05 Chong Yidong <cyd@gnu.org>
8132
8133 * faces.el (read-color): Doc fix.
8134
58a70b94
GM
81352011-12-05 Glenn Morris <rgm@gnu.org>
8136
8137 * align.el (align--set-marker): Add doc-string.
8138 Don't try to move something that is not a marker. (Bug#10216)
8139
5158face
GM
81402011-12-04 Glenn Morris <rgm@gnu.org>
8141
8142 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8143 overly zealous deletion of trailing whitespace.
8144
520fca41
JB
81452011-12-04 Juanma Barranquero <lekktu@gmail.com>
8146
8147 * server.el (server-delete-client): On Windows, do not try to delete
8148 the only terminal.
8149 (server-process-filter): On Windows, treat requests for a tty frame as
8150 if they were for a GUI frame if the running server is in GUI mode.
8151
5e605a2e
GM
81522011-12-03 Glenn Morris <rgm@gnu.org>
8153
8154 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8155
5c3fe83f
SM
81562011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8157
6f5e57e7
SM
8158 * electric.el: Streamline electric-indent's hook.
8159 (electric-indent-chars): Revert to simple list.
8160 (electric-indent-functions): New var.
8161 (electric-indent-post-self-insert-function): Use it.
8162
5c3fe83f
SM
8163 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8164 there's no inferior buffer (bug#10196).
8165 (prolog-consult-compile): Don't use toggle-read-only.
8166
6bdac736
MA
81672011-12-02 Michael Albinus <michael.albinus@gmx.de>
8168
8169 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8170 interrupt. (Bug#10187)
8171
6131ba7f
SM
81722011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8173
99c79fee
SM
8174 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8175 (bug#9160).
8176
6131ba7f
SM
8177 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8178 (bug#10191).
8179
cb0a02ea
JL
81802011-12-02 Juri Linkov <juri@jurta.org>
8181
8182 * info.el (Info-search): Display "end of manual" when Isearch
8183 reaches the end of single-file Info manual. (Bug#9918)
8184
66e0570c
EZ
81852011-12-02 Eli Zaretskii <eliz@gnu.org>
8186
8187 * isearch.el (isearch-message-prefix): Run the input method part
8188 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8189
02b16839
JL
81902011-12-02 Juri Linkov <juri@jurta.org>
8191
8192 * isearch.el (isearch-occur): Use `word-search-regexp' for
8193 `isearch-word'.
8194 (isearch-search-and-update): Add condition for `isearch-word' and
8195 call `word-search-regexp'. (Bug#10145)
8196
0b950688
GM
81972011-12-01 Glenn Morris <rgm@gnu.org>
8198
8199 * eshell/em-hist.el (eshell-hist-initialize):
8200 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8201 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8202
9505c3c7
SM
82032011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8204
8205 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8206
1bbe96b2 82072011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8208
a1beca85
SM
8209 * progmodes/verilog-mode.el (verilog-pretty-expr):
8210 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8211 verilog, such as += *= and the like.
8212 (verilog-assignment-operator-re): Regular expression to find the
8213 assigment operator in a verilog assignment.
8214 (verilog-assignment-operation-re): Regular expression to find an
8215 assignment statement for pretty-expr.
8216 (verilog-in-attribute-p): Query returns true if point is in an
8217 attribute context; used to skip these for expression line up from
8218 pretty-expr.
8219 (verilog-in-parameter-p): Query returns true if point is in an
8220 parameter definition context; used to skip these for expression
8221 line up from pretty-expr.
8222 (verilog-in-parenthesis-p): Query returns true if point is in a
8223 parenthetical expression, specifically ( ) but not [ ] or { };
8224 used by pretty-expr.
8225 (verilog-just-one-space): If there is no space, don't add one.
8226 (verilog-get-lineup-indent-2): Specifically skip just attribute
8227 contexts for expression lineup, rather than skipping all
8228 parenthetical expressions.
8229 (verilog-calculate-indent): Fix comment, and fix indent.
8230 (verilog-do-indent): Indent declarations in lists (suggested by
8231 Joachim Lechner).
8232 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8233 skeleton items.
8234 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8235 by Alain Mellan).
8236
1bbe96b2 82372011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8238
8239 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8240 parameters with embedded comments. Reported by Ray Stevens.
8241 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8242 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8243 Reported by Tim Holt.
8244 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8245 instantiated by upper module causing wrong expansion until AUTOed a
8246 second time. Reported by K C Buckenmaier.
8247 (verilog-diff-auto): Fix showing .* as a difference when
8248 `verilog-auto-star-save' off. Reported by Dan Dever.
8249 (verilog-auto-reset, verilog-read-always-signals)
8250 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8251 temporary signals in reset list if
8252 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8253 style to each signal's assignment type, bug381.
8254 Reported by Thomas Esposito.
6288f0ca
WS
8255 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8256 (verilog-uvm-statement-re): Support UVM indentation and
8257 highlighting, with old OVM keywords only.
a1beca85 8258 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8259 Support AUTOTIEOFF creating non-wire data types.
8260 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8261 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8262 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8263 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8264 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8265 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8266 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8267 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8268 non-numeric vector width. Reported by Alex Reed.
8269 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8270 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8271 (verilog-auto-delete-trailing-whitespace):
8272 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8273 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8274 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8275 Fix verilog-scan-cache corruption when running user AUTO expansion
8276 hooks that call indentation routines.
8277 (verilog-simplify-range-expression): Fix typo ignoring lower case
8278 identifiers.
8279 (verilog-delete-auto): Fix delete-autos to also remove user created
8280 automatics, as long as they start with AUTO.
8281 (verilog-batch-diff-auto, verilog-diff-auto)
8282 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8283 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8284 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8285 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8286 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8287 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8288 is disabled and its cache will get corrupt, causing AUTOS not to
8289 expand. Instead use only -quick functions.
8290 (verilog-scan-region): Fix scanning over escaped quotes.
8291 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8292 (verilog-re-search-backward-quick)
8293 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8294 related functions now ignore strings, to fix misparsing of strings
8295 with magic comments embedded in them.
a1beca85
SM
8296 (verilog-read-auto-template):
8297 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8298 Reported by Brad Dobbie.
8299 (verilog-read-auto-template):
8300 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8301 Reported by Brad Dobbie.
6288f0ca
WS
8302 (verilog-auto-inst, verilog-auto-inst-param)
8303 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8304 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8305 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8306 debugging templates without merge conflicts, bug357.
8307 Reported by Brad Dobbie.
8308 (verilog-read-auto-template):
8309 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8310 Reported by Brad Dobbie.
8311 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8312 abbrevs so user won't be asked to save.
8313 (verilog-read-auto-lisp-present): Fix to start at beginning of
8314 buffer in case called outside of verilog-auto.
8315 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8316 to "X-2". Reported by Matthew Myers.
8317 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8318 all inputs from module templates. Reported by Leith Johnson.
8319 (verilog-module-inside-filename-p): Fix locating programs as with
8320 modules.
8321 (verilog-auto-inst-port): Fix vl-width expressions when using
8322 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8323 (verilog-decls-get-regs, verilog-decls-get-signals,
8324 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8325 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8326 verilog-read-decls): Combine reg and wire structures into one var
8327 structure to represent SystemVerilog concepts.
8328 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8329 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8330 (verilog-auto-wire-type, verilog-insert-definition):
8331 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8332 SystemVerilog "logic" keyword instead of "wire"/"reg".
8333 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8334 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8335 ifdef or generate if so there's not a driver conflict).
8336 Reported by Matthew Myers.
8337 (verilog-auto-declare-nettype, verilog-insert-definition):
8338 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8339 `default_nettype none. Reported by Julian Gorfajn.
8340 (verilog-read-always-signals-recurse, verilog-read-decls)
8341 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8342 malformed end statement, bug325. Reported by Joshua Wise and
8343 Andrew Drake.
8344 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8345 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8346 when expanding .* in interfaces, bug320.
8347 Reported by Pierre-David Pfister.
6288f0ca 8348 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8349 name and open parenthesis, bug317.
8350 Reported by Pierre-David Pfister.
6288f0ca
WS
8351 (verilog-simplify-range-expression): Fix simplification of
8352 multiplications inside AUTOWIRE connections, bug303.
8353 (verilog-auto-inst-port): Support parameter expansion in
8354 multidimensional arrays.
8355 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8356 after "assert property". Reported by Julian Gorfajn.
8357 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8358 with multiplication, bug303.
8359 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8360 Reported by Jan Frode Lonnum.
8361
1bbe96b2
GM
83622011-11-30 Juanma Barranquero <lekktu@gmail.com>
8363
8364 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8365 (hfy-shell-file-name, hfy-shell):
8366 * international/fontset.el (x-decompose-font-name): Fix typos.
8367
83682011-11-29 Ken Brown <kbrown@cornell.edu>
8369
8370 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8371 (gdb-version): Remove defvar.
8372 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8373 (gdb-gud-context-command, gdb-non-stop-handler)
8374 (gdb-current-context-command, gdb-stopped): Use it.
8375 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8376 (gdb-non-stop-handler): Don't enable pretty-printing here.
8377 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8378 non-stop mode. Use the following.
8379 (gdb-check-target-async): New defun.
8380 (gud-watch, gdb-stopped): Fix whitespace.
8381 (gdb-get-source-file): Don't try to display the source file if
8382 `gdb-main-file' is nil.
8383
83842011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8385
8386 * align.el: Try to generate fewer markers (bug#10047).
8387 (align--set-marker): New macro.
8388 (align-region): Use it.
8389
c935221f
SM
83902011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8393
e70b5064
CY
83942011-11-29 Chong Yidong <cyd@gnu.org>
8395
8396 * indent.el (indent-for-tab-command, indent-according-to-mode):
8397 Doc fix.
8398 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8399
f3af92b7
MA
84002011-11-29 Michael Albinus <michael.albinus@gmx.de>
8401
8402 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8403 aware of remote file names. (Bug#10124)
8404
ed472be9
CY
84052011-11-29 Chong Yidong <cyd@gnu.org>
8406
8407 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8408
24510c22
SM
84092011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8410
8411 * files.el (find-file): Don't use force-same-window (bug#10144).
8412 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8413 use pop-to-buffer if the selected window can't be used.
8414 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8415
c60c3703
EZ
84162011-11-28 Eli Zaretskii <eliz@gnu.org>
8417
8418 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8419 special-mode-map.
8420
e95def75
CY
84212011-11-28 Chong Yidong <cyd@gnu.org>
8422
8423 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8424
c3f1c606
NR
84252011-11-27 Nick Roberts <nickrob@snap.net.nz>
8426
8427 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8428 gdb-get-source-file-list on gdb-create-source-file-list.
8429
00db469c
EZ
84302011-11-26 Eli Zaretskii <eliz@gnu.org>
8431
8432 * whitespace.el (whitespace-newline): Use a different foreground
8433 color for 16-color light-background displays.
8434
4ad3bc2a
CY
84352011-11-24 Chong Yidong <cyd@gnu.org>
8436
8437 * window.el (display-buffer--special-action): Doc fix.
8438
e9fce1ac
JB
84392011-11-25 Juanma Barranquero <lekktu@gmail.com>
8440
8441 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8442 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8443 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8444 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8445 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8446 (avl-tree-stack-first):
8447 * emacs-lisp/cconv.el (cconv--analyse-use):
8448 * net/gnutls.el (gnutls-negotiate): Fix typos.
8449
cb825e5d
GM
84502011-11-24 Glenn Morris <rgm@gnu.org>
8451
3adbe224
GM
8452 * lpr.el (lpr-windows-system, lpr-lp-system):
8453 * mail/binhex.el (binhex-begin-line):
8454 * progmodes/grep.el (grep-history, grep-find-history):
8455 * textmodes/flyspell.el:
8456 * vc/pcvs-defs.el (cvs-global-menu):
8457 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8458 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8459 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8460
321decc8
GM
8461 * net/tls.el: Fix case of "GnuTLS".
8462
420b63ad
GM
8463 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8464
cb825e5d
GM
8465 * version.el (emacs-build-system): Give it a doc-string.
8466
a0649f08
JL
84672011-11-24 Juri Linkov <juri@jurta.org>
8468
8469 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8470
c0bc0fd4
GM
84712011-11-24 Glenn Morris <rgm@gnu.org>
8472
8473 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8474 if called on a non-mime message just toggle the headers. (Bug#8006)
8475
20db1522
JB
84762011-11-24 Juanma Barranquero <lekktu@gmail.com>
8477
8478 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8479 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8480 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8481 (allout-rebullet-heading, allout-open-sibtopic)
8482 (allout-toggle-current-subtree-encryption)
8483 (allout-toggle-subtree-encryption, allout-encrypt-string)
8484 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8485 (allout-distinctive-bullets-string, allout-auto-activation):
8486 * window.el (window-normalize-buffer-to-display):
8487 * progmodes/verilog-mode.el (verilog-batch-indent):
8488 * textmodes/bibtex.el (bibtex-field-braces-opt)
8489 (bibtex-field-strings-opt):
8490 * vc/cvs-status.el (cvs-tree-merge):
8491 Fix typos.
8492
7262a87c
MA
84932011-11-23 Michael Albinus <michael.albinus@gmx.de>
8494
8495 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8496 `non-essential' to t, in order to avoid remote connections.
8497
283430a1
EZ
84982011-11-23 Eli Zaretskii <eliz@gnu.org>
8499
a1beca85
SM
8500 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8501 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8502 case-insensitively.
8503
d2992a38
ML
85042011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8505
8506 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8507
50419064
GM
85082011-11-23 Glenn Morris <rgm@gnu.org>
8509
da94eca1
GM
8510 * paths.el (rmail-file-name): Reformat the doc-string so that it
8511 is picked up.
8512
9aac4de2
GM
8513 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8514 (rmail-auto-file): Ignore case in the "special" field names,
8515 as mail-fetch-field does for all others.
8516
8038d2d2
GM
8517 * mail/rmail.el (rmail-forward):
8518 * mail/rmailkwd.el (rmail-set-label):
8519 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8520 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8521
f3fe222a
GM
8522 * mail/rmail.el (rmail-current-message): Doc fix.
8523
50419064
GM
8524 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8525
28109f49
SM
85262011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8527
8528 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8529
394c65f1
GM
85302011-11-22 Glenn Morris <rgm@gnu.org>
8531
8532 * mail/rmailmm.el (test-rmail-mime-handler)
8533 (test-rmail-mime-bulk-handler)
8534 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8535
f2a0aa3a
JL
85362011-11-21 Juri Linkov <juri@jurta.org>
8537
1154d12e
JB
8538 * calc/calc.el (calc-read-key-sequence):
8539 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8540
9c34a344
LMI
85412011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8542
8543 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8544 Tell the caller that the next line needs recomputation, even
8545 though it doesn't start a sexp (bug#10094).
8546
f04a3be9
SM
85472011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8548
8549 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8550
7978747f
SM
85512011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8552
f04a3be9
SM
8553 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8554 Use force-same-window.
7978747f 8555
fe7a3057
JB
85562011-11-20 Juanma Barranquero <lekktu@gmail.com>
8557
8558 * descr-text.el (describe-char-unicode-data):
8559 * json.el (json-string-escape):
8560 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8561 (Footnote-unicode, Footnote-style-p):
8562 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8563
24901d61
CY
85642011-11-20 Chong Yidong <cyd@gnu.org>
8565
8566 * window.el (replace-buffer-in-windows): Restore interactive spec.
8567
bac7ff22
SM
85682011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8569
24f3d7b9
SM
8570 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8571
bac7ff22
SM
8572 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8573 (byte-compile-global-not-obsolete-vars): New var.
8574 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8575 Use it.
8576 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8577
cd1181db
JB
85782011-11-20 Juanma Barranquero <lekktu@gmail.com>
8579
8580 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8581 * progmodes/pascal.el (electric-pascal-equal):
8582 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8583 * xml.el (xml-substitute-special): Fix typos.
8584
7fb18e9e
GM
85852011-11-20 Glenn Morris <rgm@gnu.org>
8586
8587 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8588 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8589 Doc fixes.
8590 (rmail-decode-mime-charset): Mark as obsolete.
8591
8592 * mail/rmailsum.el (rmail-message-regexp-p-1):
8593 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8594 Before using mime functions, check they are set. (Bug#10077)
8595
d5a6b3ba
JL
85962011-11-19 Juri Linkov <juri@jurta.org>
8597
8598 * info.el (Info-finder-find-node): Use `package--builtins' instead
8599 of `package-alist'. Use node names formed by the pattern "Keyword "
8600 and the keyword name.
8601
e981b61f
AS
86022011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8603
1d00653d 8604 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8605
3ffbc301
JL
86062011-11-19 Juri Linkov <juri@jurta.org>
8607
8608 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8609 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8610 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8611 `old-history', `old-history-forward'. Add let-binding
8612 `window-selected'. Remove calls to `kill-buffer',
8613 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8614 before calling `Info-find-node', so `Info-find-node-2' will reread
8615 the Info file. Restore window positions only when `window-selected'
8616 is non-nil.
8617
30c62133
JL
86182011-11-19 Juri Linkov <juri@jurta.org>
8619
8620 * isearch.el (isearch-lazy-highlight-new-loop):
8621 Remove condition `(not isearch-error)'. (Bug#9918)
8622
8623 * misearch.el (multi-isearch-search-fun): Add condition
8624 `(not bound)' to ignore lazy-highlighting search.
8625 Add the search-failed message "end of multi" when the end of
8626 multi-sequence is reached. Uncapitalize the search-failed
8627 message "Repeat for next buffer".
8628
8629 * info.el (Info-search): Add the search-failed message
8630 "end of the manual" when the end of the manual is reached
8631 in Isearch mode.
8632
645ca9cf
JL
86332011-11-19 Juri Linkov <juri@jurta.org>
8634
8635 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8636 Use non-destructive `remove' instead of `delete' because
8637 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8638 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8639
df754f66
JL
86402011-11-19 Juri Linkov <juri@jurta.org>
8641
8642 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8643 to nil instead of binding `search-ring' and `regexp-search-ring'.
8644 (Bug#9185)
8645
0e23d96a
EZ
86462011-11-19 Eli Zaretskii <eliz@gnu.org>
8647
8648 * simple.el (line-move): Force movement by logical lines for any
8649 hscrolled window, not only when auto-hscroll-mode is on.
8650 (line-move-visual): Update doc string to that effect. (Bug#10076)
8651
8a6ccb66
AS
86522011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8653
8654 * language/european.el (macintosh): Define as alias for mac-roman.
8655
49ae5b39
EZ
86562011-11-19 Eli Zaretskii <eliz@gnu.org>
8657
8658 * mail/rmailmm.el (rmail-mime-display-header)
8659 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8660 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8661 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8662 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8663 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8664 of a raw aref.
8665 (rmail-mime-entity-segment): To get past the tagline, move forward
8666 2 more lines, to account for the 2 empty lines that precede and
8667 follow the line with the buttons.
8668 (rmail-mime-update-tagline): Move one more line, to get past the
8669 empty line that follows the buttons in the tagline. (Bug#9520)
8670
c56cad4a
MR
86712011-11-19 Martin Rudalics <rudalics@gmx.at>
8672
8673 * window.el (window-max-delta-1, window-min-delta-1)
8674 (window-min-size-1, window-state-get-1, window-state-put-1)
8675 (window-state-put-2): Use "window--" prefix.
8676
cbe71af3
SM
86772011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8678
2ad52c60
SM
8679 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8680 (smie-warning-count): New var.
8681 (smie-set-prec2tab): Use it.
8682 (smie-bnf->prec2): Improve warnings. Add docstring.
8683 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8684 (smie-bnf--set-class): New function.
8685 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8686 corner case.
8687
6944dbc1
SM
8688 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8689 (compilation-error-properties, compilation-move-to-column):
8690 Handle compilation-first-column while in the target buffer.
8691
c400c4d7
SM
8692 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8693 Don't hardcode point-min==1.
8694
6dbe3e96
SM
8695 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8696 (eshell-rewrite-for-command): Remove workaround.
8697 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8698 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8699 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8700
cbe71af3
SM
8701 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8702
a8e1496d
GM
87032011-11-17 Glenn Morris <rgm@gnu.org>
8704
8705 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8706 Ignore buffer-local generated-autoload-file if it is the same
8707 as the global value. (Bug#10049)
8708
df85d315
JB
87092011-11-17 Juanma Barranquero <lekktu@gmail.com>
8710
8711 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8712 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8713 (reftex-toc-previous-heading, reftex-toc-max-level)
8714 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8715 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8716 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8717 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8718 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8719 (reftex-toc-rename-label, reftex-toc-visit-location)
8720 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8721 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8722 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8723 leaving "*toc*" only for references to the buffer.
8724
a0c2d0ae
MR
87252011-11-17 Martin Rudalics <rudalics@gmx.at>
8726
8727 * window.el (window-resize, delete-window, split-window):
8728 Replace window-splits by window-combination-resize.
1d00653d 8729 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8730
35c0bac8
GM
87312011-11-17 Glenn Morris <rgm@gnu.org>
8732
8733 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8734 Make bash entry derive from sh entry, not shell entry.
8735
d0c8fc8a
MA
87362011-11-16 Michael Albinus <michael.albinus@gmx.de>
8737
7262a87c
MA
8738 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8739 local file name.
8740
7877f373
JB
87412011-11-16 Juanma Barranquero <lekktu@gmail.com>
8742
8743 * menu-bar.el (menu-bar-file-menu):
8744 * printing.el (pr-ps-utility):
8745 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8746 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8747 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8748 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8749 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8750 (icalendar--convert-cyclic-to-ical)
8751 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8752 (icalendar--convert-ical-to-diary)
8753 (icalendar--convert-recurring-to-diary)
8754 (icalendar--convert-non-recurring-all-day-to-diary)
8755 (icalendar-import-format-sample):
8756 * progmodes/idlw-shell.el (idlwave-shell-mode):
8757 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8758 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8759 (vhdl-ps-print-init): Fix typos.
8760
10649b82
KM
87612011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8762
9d0cfcd6
GM
8763 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8764 FSF and collapse date sequence, obscure author/maintainer email address
8765 better, remove extra version line, track relocation of author's webpage.
10649b82 8766
9d0cfcd6
GM
8767 * progmodes/python.el (python-pdbtrack-input-prompt)
8768 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8769 regular python pdb prompts. Adjustments shamelessly taken exactly as
8770 suggested in EmacsWiki page (tiny change):
8771 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8772
58179cce
JB
87732011-11-16 Juanma Barranquero <lekktu@gmail.com>
8774
8775 * expand.el (expand-pos, expand-index, expand-point):
8776 Remove redundant info from docstring.
8777 (expand-add-abbrevs): Doc fix.
8778 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8779 (expand-sample-perl-mode-expand-list): Fix typos.
8780
8781 * net/dbus.el (dbus-event-member-name):
8782 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8783 * term/pc-win.el (msdos-create-frame-with-faces):
8784 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8785
b6f67890
MR
87862011-11-16 Martin Rudalics <rudalics@gmx.at>
8787
8788 * window.el (split-window, window-state-get-1)
8789 (window-state-put-1, window-state-put-2): Rename occurrences of
8790 window-nest to window-combination-limit.
1d00653d 8791 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8792
ce7ddba0
CY
87932011-11-16 Chong Yidong <cyd@gnu.org>
8794
8795 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8796 regexp (Bug#10033).
8797
3ae704f4
SM
87982011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8799
8800 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8801 `completing-read' will remove *Completions* and will preserve
8802 current-buffer for us.
8803 (tmm-add-prompt): Users of *Completions* will always (re)set its
8804 major mode.
8805 (tmm-old-comp-map): Remove.
8806
6ad1cdde
GM
88072011-11-16 Glenn Morris <rgm@gnu.org>
8808
8809 * mail/rmailedit.el: Require rmailmm when compiling.
8810 (rmail-old-mime-state): New declaration.
8811 (rmail-edit-current-message): If editing a mime message,
8812 edit the "raw" message from the mbox buffer.
8813 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8814
d20faa20
GM
88152011-11-15 Glenn Morris <rgm@gnu.org>
8816
8817 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8818 which wasn't being used. Add optional arg to force given state.
8819 (rmail-mime): Add optional arg to force given state.
8820
c7015153
JB
88212011-11-15 Juanma Barranquero <lekktu@gmail.com>
8822
8823 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8824 * frame.el (display-mm-dimensions-alist):
8825 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8826 (outline-move-subtree-down):
8827 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8828 (newsticker--treeview-do-get-node):
8829 * net/quickurl.el (quickurl-list-buffer-name):
8830 * progmodes/dcl-mode.el (dcl-mode):
8831 * progmodes/gdb-mi.el (gdb-mapcar*):
8832 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8833
45261b50
GM
88342011-11-15 Glenn Morris <rgm@gnu.org>
8835
8836 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8837 in a boolean sense, so just make it a boolean, and fix the doc.
8838 (rmail-show-mime-function, rmail-mime-feature)
8839 (rmail-require-mime-maybe): Doc fixes.
8840 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8841
8842 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8843
0d26e0b6
JB
88442011-11-15 Juanma Barranquero <lekktu@gmail.com>
8845
8846 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8847 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8848 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8849 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8850
447f30f6
GM
88512011-11-15 Glenn Morris <rgm@gnu.org>
8852
672b871d
GM
8853 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8854 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8855 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8856 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8857 (rmail-mime, rmail-show-mime): Doc fixes.
8858
f6aa5bb1
GM
8859 * term/ns-win.el (mode-line-frame-identification):
8860 Leave it alone. (Bug#10051)
8861
947cd66b
GM
8862 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8863
447f30f6
GM
8864 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8865 Handle empty buffers. (Bug#9978)
8866
0b381c7e
JB
88672011-11-14 Juanma Barranquero <lekktu@gmail.com>
8868
8869 * international/mule.el (define-charset):
8870 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8871 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8872 * progmodes/verilog-mode.el (verilog-backward-token):
8873 * textmodes/ispell.el (lookup-words):
8874 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8875
71e027ac
GM
88762011-11-14 Glenn Morris <rgm@gnu.org>
8877
56632ce4
GM
8878 * progmodes/executable.el
8879 (executable-make-buffer-file-executable-if-script-p):
8880 Handle file-modes returning nil.
8881
40500957
GM
8882 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8883 message - not necessary, and causes problems. (Bug#9831)
8884
071c2340
GM
8885 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8886
d3cfca60
GM
8887 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8888
71e027ac
GM
8889 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8890 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8891 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8892
89d61221
MR
88932011-11-12 Martin Rudalics <rudalics@gmx.at>
8894
8895 * window.el (window-resize, delete-window): Use window-splits
8896 variable instead of function.
8897 (window-state-get-1, window-state-put-2, window-state-put):
8898 Don't deal with windows' splits status.
8899
98282f6f
GM
89002011-11-12 Glenn Morris <rgm@gnu.org>
8901
8902 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8903 (apropos-documentation): Doc fixes.
8904
40a8bdf6
JB
89052011-11-11 Juanma Barranquero <lekktu@gmail.com>
8906
8907 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8908 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8909
65bd19ff
SM
89102011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8911
8912 * electric.el (electric-indent-post-self-insert-function): Make it
8913 possible for a char to only indent in some circumstances.
8914 (electric-indent-mode): Simplify.
8915
54f9154c
MR
89162011-11-11 Martin Rudalics <rudalics@gmx.at>
8917
8918 * window.el (windows-with-parameter): Remove unused function.
8919 (windows-at-side): Rename to window-at-side-list.
8920 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8921 (window-side-check, window-size-ignore, window-size-fixed-1)
8922 (window-in-direction-2): Prefix with "window--".
8923 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8924
68cbc58b
GM
89252011-11-11 Glenn Morris <rgm@gnu.org>
8926
8927 * subr.el (eval-after-load): If FILE is already loaded,
8928 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8929
b2621720
GM
89302011-11-10 Glenn Morris <rgm@gnu.org>
8931
9a4de110
GM
8932 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8933 Call svn via vc-svn-command rather than vc-do-command.
8934 (vc-svn-command): Add --non-interactive. (Bug#9993)
8935 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8936
b2621720
GM
8937 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8938 Add toggle-read-only. (Bug#7292)
8939 * files.el (toggle-read-only): Mention that it should only
8940 be used interactively. (Bug#10006)
8941
1dce7193
SM
89422011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8943
d9ac1a1e
SM
8944 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8945 Adjust regexp for OCaml warnings.
8946
0c325082
SM
8947 * electric.el (electric-pair-post-self-insert-function): Let user
8948 turn it off buffer-locally (bug#9932).
8949
90132c14
SM
8950 * progmodes/python.el (python-beginning-of-statement):
8951 Rewrite (bug#2703).
8952
1dce7193
SM
8953 * progmodes/compile.el: Better handle TABs (bug#9749).
8954 (compilation-internal-error-properties)
8955 (compilation-next-error-function): Obey the target buffer's
8956 compilation-error-screen-columns.
8957
c4e7c63a
JB
89582011-11-09 Juanma Barranquero <lekktu@gmail.com>
8959
8960 * progmodes/meta-mode.el: Remove obsolete comments.
8961 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8962 Fix typos in docstrings.
8963
2cffd681
MR
89642011-11-09 Martin Rudalics <rudalics@gmx.at>
8965
8966 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8967 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8968 (window--resizable): New function. Make all callers of
8969 window-resizable call window--resizable instead.
8970 (window-resizable): Rewrite in terms of window--resizable.
8971
0edcba87
GM
89722011-11-08 Glenn Morris <rgm@gnu.org>
8973
8974 * progmodes/delphi.el (delphi-mode-syntax-table):
8975 Let define-derived-mode define a proper syntax table. (Bug#9994)
8976
4b0d61e3
SM
89772011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8978
8979 * window.el: Stay away from defsubst.
8980 (window-list-no-nils): Remove.
8981 (window-state-get-1, window-state-get): Use backquote instead.
8982
cd394be1 89832011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8984
4b0d61e3 8985 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8986 Fix incorrect use of default argument in `completing-read'.
8987
e1c2c6f2
MR
89882011-11-08 Martin Rudalics <rudalics@gmx.at>
8989
8990 * window.el (display-buffer-function, special-display-function):
8991 Mention display-buffer-record-window but do not mention
8992 help-setup parameter in doc-strings.
b3f4a882 8993 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8994
105216ed
CY
89952011-11-08 Chong Yidong <cyd@gnu.org>
8996
8997 * window.el (window-total-height, window-total-width): Doc fix.
8998 (window-body-size): Move from C.
8999 (window-body-height, window-body-width): Move to C.
9000
0a9f9ab5
SM
90012011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
9002
9003 * window.el: Make special-display like display-buffer-alist (bug#9532).
9004 (display-buffer--special-action): New function, morphed
9005 from display-buffer--special.
9006 (display-buffer): Use it to handle special-display-buffers at higher
9007 priority (just after display-buffer-alist).
9008 (display-buffer-fallback-action, display-buffer--other-frame-action)
9009 (pop-to-buffer-same-window): Remove display-buffer--special.
9010
a769dd15
GM
90112011-11-07 Glenn Morris <rgm@gnu.org>
9012
9013 * calendar/cal-menu.el (cal-menu-set-date-title):
9014 Do nothing if not in a calendar. (Bug#9976)
9015
05a61ee3
SM
90162011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
9017
9018 * files.el (find-file): Always use selected-window.
9019
be7f5545
MR
90202011-11-07 Martin Rudalics <rudalics@gmx.at>
9021
9022 * window.el (window-combinations): Make WINDOW argument
9023 mandatory. Rewrite doc-string.
9024 (walk-window-subtree, window-atom-check, window-min-delta)
9025 (window-max-delta, window--resize-this-window)
9026 (window--resize-root-window-vertically, window-tree)
9027 (balance-windows, window-state-put): Rewrite doc-strings as to
9028 not mention the term "subwindow".
9029 (window--resize-subwindows-skip-p): Rename to
9030 window--resize-child-windows-skip-p.
9031 (window--resize-subwindows-normal): Rename to
9032 window--resize-child-windows-normal.
9033 (window--resize-subwindows): Rename to
9034 window--resize-child-windows.
9035 (window-or-subwindow-p): Rename to window--in-subtree-p.
9036
3c6702ef
ML
90372011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9038
9039 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9040 Ensure that mbox format messages end in two newlines (Bug#9974).
9041
49745b39
CY
90422011-11-06 Chong Yidong <cyd@gnu.org>
9043
9044 * window.el (window-combination-p): Function deleted; its
9045 side-effect is not used in any existing code.
9046 (window-combinations, window-combined-p): Call window-*-child
9047 directly.
9048
24300f5f
CY
90492011-11-05 Chong Yidong <cyd@gnu.org>
9050
9051 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9052 (window-size-ignore, window-state-get): Callers changed.
9053 (window-normalize-window): Rename from window-normalize-any-window.
9054 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9055 (window-normalize-live-window): Delete.
447f16b8
CY
9056 (window-combination-p, window-combined-p, window-combinations)
9057 (walk-window-subtree, window-atom-root, window-min-size)
9058 (window-sizable, window-sizable-p, window-size-fixed-p)
9059 (window-min-delta, window-max-delta, window-resizable)
9060 (window-resizable-p, window-full-height-p, window-full-width-p)
9061 (window-current-scroll-bars, window-point-1, set-window-point-1)
9062 (window-at-side-p, window-in-direction, window-resize)
9063 (adjust-window-trailing-edge, maximize-window, minimize-window)
9064 (window-deletable-p, delete-window, delete-other-windows)
9065 (record-window-buffer, unrecord-window-buffer)
9066 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9067 (quit-window, split-window, window-state-put)
9068 (set-window-text-height, fit-window-to-buffer)
9069 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9070
89bd5ee1
EZ
90712011-11-04 Eli Zaretskii <eliz@gnu.org>
9072
53479029
EZ
9073 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9074 rfc2047-decode-string.
9075 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9076 warnings.
9077
89bd5ee1
EZ
9078 * window.el (window-body-height, window-body-width): Mention in
9079 the doc string that the return values are in frame's canonical
9080 units. (Bug#9949)
9081
bd17fdee
AM
90822011-11-03 Alan Mackenzie <acm@muc.de>
9083
9084 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9085 change in cc-engine.el.
9086
acc825c5
SM
90872011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9088
9089 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9090
1885e5b8
MR
90912011-11-02 Martin Rudalics <rudalics@gmx.at>
9092
9093 * window.el (quit-window): Call unrecord-window-buffer after
9094 showing another buffer in the window. (Bug#9937)
acc825c5 9095 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9096
ebe06da9
JB
90972011-11-02 Juanma Barranquero <lekktu@gmail.com>
9098
9099 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9100 Accept status with more than 9 shelves. (Bug#9935)
9101 Reported by Colin D Bennett <colin@gibibit.com>.
9102
4ee88440
MR
91032011-11-01 Martin Rudalics <rudalics@gmx.at>
9104
9105 * help.el (with-help-window): Don't reference
9106 temp-buffer-show-specifiers in doc-string.
9107
08e1d82c
AS
91082011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9109
9110 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9111 menu-item.
9112
84bd6e9e
VJL
91132011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9114
9115 * whitespace.el: New version 13.2.2.
9116 (whitespace-newline-mode): Disable properly. Reported by Sarah
9117 <EmacsWiki>.
9118
dba0634a
UJ
91192011-10-30 Ulf Jasper <ulf.jasper@web.de>
9120
9121 * net/newst-treeview.el: Remove "Time-stamp".
9122 (newsticker--group-manage-orphan-feeds): Do not call
9123 newsticker--treeview-tree-update.
db22a3c2
JB
9124 (newsticker-treeview-update, newsticker-treeview):
9125 Call newsticker--treeview-tree-update if necessary.
dba0634a 9126
3d8daefe
MR
91272011-10-30 Martin Rudalics <rudalics@gmx.at>
9128
9129 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9130 (window-iso-combinations): Remove "iso-" infix.
9131 Suggested by Chong Yidong.
3d8daefe
MR
9132 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9133 (window-max-delta-1, window-resize, window--resize-siblings)
9134 (window--resize-this-window, adjust-window-trailing-edge)
9135 (split-window, balance-windows-1)
9136 (shrink-window-if-larger-than-buffer):
9137 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9138 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9139
1bc4c3ae
SM
91402011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9141
9142 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9143 in place (bug#9907).
9144 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9145 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9146 (eshell-structure-basic-command, eshell-rewrite-while-command)
9147 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9148 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9149 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9150 (eshell-do-pipelines-synchronously, eshell-eval-command):
9151 Use backquotes and prefer setq to set.
9152 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9153 (eshell-macrop): Use functionp.
c1e2f5fa 9154 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9155
30b65d9c
CY
91562011-10-30 Chong Yidong <cyd@gnu.org>
9157
9158 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9159 instead of set-mark (Bug#9810).
9160
2d197ffb
CY
91612011-10-30 Chong Yidong <cyd@gnu.org>
9162
9163 * window.el (split-window-below, split-window-right): Rename from
9164 split-window-above-each-other and split-window-side-by-side
9165 respectively. All callers changed.
9166 (split-window-sensibly, split-window-sensibly): Use them.
9167 (split-window-keep-point): Doc fix.
9168
9169 * isearch.el: Add isearch-scroll property to split-window-below
9170 and split-window-right.
9171
9172 * follow.el (follow-mode):
9173 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9174 * progmodes/ada-xref.el (ada-gdb-application):
9175 * emulation/vip.el (vip-buffer-in-two-windows):
9176 * image-dired.el (image-dired-dired-with-window-configuration):
9177 * dired-x.el (dired-do-find-marked-files):
9178 * dired.el (dired-pop-to-buffer):
9179 * bs.el (bs--show-with-configuration):
9180 * vc/emerge.el (emerge-setup-windows):
9181 * textmodes/two-column.el (2C-two-columns):
9182 * textmodes/reftex-toc.el (reftex-toc):
9183 * progmodes/gdb-mi.el (gdb-setup-windows):
9184 * progmodes/fortran.el (fortran-window-create):
9185 * net/newst-treeview.el (newsticker--treeview-window-init):
9186 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9187 * emulation/tpu-edt.el (tpu-gold-map):
9188 * emulation/crisp.el (crisp-mode-map):
9189 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9190
38bb2ca8
CY
91912011-10-29 Chong Yidong <cyd@gnu.org>
9192
aa4de341
CY
9193 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9194
e1eb5385
CY
9195 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9196
5d2ece3c
CY
9197 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9198 forged Ispell output (Bug#7904).
9199
38bb2ca8
CY
9200 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9201
d0af9f77
SM
92022011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9203
9204 * doc-view.el: Avoid ugly errors about not finding nil.
9205 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9206 (doc-view-dvipdf-program, doc-view-unoconv-program)
9207 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9208 Avoid nil or absolute file name as default value.
9209 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9210
52bedd34
AM
92112011-10-28 Alan Mackenzie <acm@muc.de>
9212
db22a3c2 9213 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9214
7e43cfa5
AM
92152011-10-28 Alan Mackenzie <acm@muc.de>
9216
9217 Amend the handling of c-beginning/end-of-defun in nested declaration
9218 scopes.
9219
52bedd34
AM
9220 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9221 cc-langs.el. Change it to a defcustom.
7e43cfa5 9222
52bedd34
AM
9223 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9224 cc-vars.el.
7e43cfa5 9225
d0af9f77
SM
9226 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9227 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9228
52bedd34 9229 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9230 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9231 (c-widen-to-enclosing-decl-scope): New function.
9232 (c-while-widening-to-decl-block): New macro.
9233 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9234 outward for defun boundaries, and correspondingly change symbol
9235 `respect-enclosure' to `go-outward'.
9236 (c-declaration-limits): Change algorithm to report only the "innermost"
9237 defun's boundaries.
9238
1a2ce9ee
DD
92392011-10-28 Deniz Dogan <deniz@dogan.se>
9240
9241 * net/rcirc.el (rcirc-mode): Use hard newlines.
9242
bc97a826
AM
92432011-10-28 Alan Mackenzie <acm@muc.de>
9244
9245 Amend to indent and fontify macros "which include their own semicolon"
9246 correctly, using the "virtual semicolon" mechanism.
9247
52bedd34 9248 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9249
d0af9f77 9250 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9251 Recode to scan one line at a time rather than having \n and \r
58179cce 9252 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9253 (c-forward-label): Amend for virtual semicolons.
58179cce 9254 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9255
52bedd34
AM
9256 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9257 of the new C macros.
bc97a826 9258
52bedd34 9259 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9260 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9261 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9262 (c-opt-cpp-macro-define): Make into a full language variable.
9263 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9264 AWK Mode (including \n, \r) removed, no longer needed.
9265
d0af9f77
SM
9266 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9267 Invoke c-make-macro-with-semi-re.
bc97a826 9268
52bedd34
AM
9269 * progmodes/cc-vars.el (c-macro-with-semi-re):
9270 (c-macro-names-with-semicolon): New variables.
58179cce 9271 (c-make-macro-with-semi-re): New function.
bc97a826 9272
7a6c0941
SM
92732011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9274
9275 * vc/log-edit.el: Fill empty field rather than adding new one.
9276 (log-edit-add-field): New function.
9277 (log-edit-insert-changelog): Use it.
9278
b0c4cdcf
ML
92792011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9280
9281 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9282
ee1f1da9
SM
92832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9284
9285 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9286 (gdb--check-interpreter): New function.
9287 (gdb): Use it.
9288
51bc5f8b
GM
92892011-10-27 Glenn Morris <rgm@gnu.org>
9290
416a2c45
GM
9291 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9292 (least-positive-float, least-negative-float)
9293 (least-positive-normalized-float, least-negative-normalized-float)
9294 (float-epsilon, float-negative-epsilon):
9295 Remove unnecessary declarations.
9296
9297 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9298 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9299 (least-positive-float, least-negative-float)
9300 (least-positive-normalized-float, least-negative-normalized-float)
9301 (float-epsilon, float-negative-epsilon): Add doc-strings,
9302 based on those in cl.texi.
9303
51bc5f8b
GM
9304 * files.el (set-visited-file-name): If the major-mode changed,
9305 reload the local variables. (Bug#9796)
9306
15de15c6
CY
93072011-10-27 Chong Yidong <cyd@gnu.org>
9308
9309 * subr.el (change-major-mode-after-body-hook): New hook.
9310 (run-mode-hooks): Run it.
9311
ee1f1da9
SM
9312 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9313 Use change-major-mode-before-body-hook.
15de15c6
CY
9314
9315 * simple.el (fundamental-mode):
9316 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9317 change introducing fundamental-mode-hook.
9318
5430d399
JB
93192011-10-26 Juanma Barranquero <lekktu@gmail.com>
9320
acc825c5 9321 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9322
ad74a69e
MA
93232011-10-26 Michael Albinus <michael.albinus@gmx.de>
9324
9325 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9326 tramp.el explicitly. (Bug#7583)
ad74a69e 9327
71d4c2a5
SM
93282011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9329
9330 * progmodes/octave-mod.el:
9331 * progmodes/octave-inf.el: Update maintainer.
9332
b1f6fa26
CY
93332011-10-26 Chong Yidong <cyd@gnu.org>
9334
9335 * subr.el (with-wrapper-hook): Rewrite doc.
9336
3f04efd6
MA
93372011-10-25 Michael Albinus <michael.albinus@gmx.de>
9338
9339 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9340 filenames "/method:foo:". (Bug#9793)
3f04efd6 9341
410488d3
SM
93422011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9343
9344 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9345 (bug#9865).
9346
c1ebb47e
GM
93472011-10-24 Glenn Morris <rgm@gnu.org>
9348
9349 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9350
7f5c46c7
MA
93512011-10-24 Michael Albinus <michael.albinus@gmx.de>
9352
9353 * notifications.el: Add the requirement of a running D-Bus session
9354 bus to the Commentary.
9355
db2440b6
JL
93562011-10-24 Juri Linkov <juri@jurta.org>
9357
9358 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9359 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9360 (Bug#9364)
9361
feecf435
JL
93622011-10-24 Juri Linkov <juri@jurta.org>
9363
9364 * info.el (Info-following-node-name-re): Add newline to the list
9365 of allowed characters for leading space. (Bug#9824)
9366
a3839de2
SM
93672011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9368
acc825c5
SM
9369 * progmodes/octave-inf.el (inferior-octave-mode-map):
9370 Fix C-c C-h binding.
a3839de2
SM
9371 * progmodes/octave-mod.el (octave-help): Remove.
9372
09388e76
MA
93732011-10-23 Michael Albinus <michael.albinus@gmx.de>
9374
9375 Sync with Tramp 2.2.3.
9376
9377 * net/tramp-cache.el (top): Pacify byte-compiler using
9378 `init-file-user' and `site-run-file'.
9379
9380 * net/trampver.el: Update release number.
9381
86c60681
CY
93822011-10-23 Chong Yidong <cyd@gnu.org>
9383
9384 * files.el (toggle-read-only): Remove obsolete comment about
9385 version control.
9386
9387 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9388 for toggle-read-only. Note that this hasn't called vc-next-action
9389 since 2008-05-02, though it wasn't documented at the time.
9390
a3839de2
SM
9391 * vc/ediff-init.el (ediff-toggle-read-only-function):
9392 Use toggle-read-only.
86c60681 9393
cd5495ff
AM
93942011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9395
9396 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9397 of c-parse-state.
9398
00b77525 9399 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9400 correct faulty logical expression.
cd5495ff
AM
9401 (c-parse-state-state, c-record-parse-state-state):
9402 (c-replay-parse-state-state): New defvar/defuns.
9403 (c-debug-parse-state): Use new functions.
9404
42ee24ed
MR
94052011-10-22 Martin Rudalics <rudalics@gmx.at>
9406
9407 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9408 last fix. Use window-in-direction correctly.
42ee24ed 9409
a7dee7e7
CY
94102011-10-21 Chong Yidong <cyd@gnu.org>
9411
9412 * progmodes/idlwave.el (idlwave-mode):
9413 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9414 require-final-newline; that's done in prog-mode.
9415 Suggested by Stefan Monnier.
a7dee7e7 9416
e07b9a6d
MR
94172011-10-21 Martin Rudalics <rudalics@gmx.at>
9418
9419 * mouse.el (mouse-drag-window-above)
9420 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9421 (mouse-drag-mode-line-1, mouse-drag-header-line)
9422 (mouse-drag-vertical-line-rightward-window): Remove.
9423 (mouse-drag-line): New function.
9424 (mouse-drag-mode-line, mouse-drag-header-line)
9425 (mouse-drag-vertical-line): Call mouse-drag-line.
9426 * window.el (window-at-side-p, windows-at-side): New functions.
9427
7e1361d9
UM
94282011-10-21 Ulrich Mueller <ulm@gentoo.org>
9429
9430 * tar-mode.el (tar-grind-file-mode):
9431 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9432
30fcaf3a
CY
94332011-10-21 Chong Yidong <cyd@gnu.org>
9434
9435 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9436 * progmodes/vera-mode.el (vera-mode):
9437 Use mode-require-final-newline.
30fcaf3a 9438
516eddb0
GM
94392011-10-20 Glenn Morris <rgm@gnu.org>
9440
db22a3c2 9441 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9442
10d5f513
CS
94432011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9444
9445 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9446
ac6c8639
CY
94472011-10-20 Chong Yidong <cyd@gnu.org>
9448
9449 * emulation/cua-base.el (cua-mode):
9450 * mail/footnote.el (footnote-mode):
9451 * mail/mailabbrev.el (mail-abbrevs-mode):
9452 * net/xesam.el (xesam-minor-mode):
9453 * progmodes/bug-reference.el (bug-reference-mode):
9454 * progmodes/cap-words.el (capitalized-words-mode):
9455 * progmodes/compile.el (compilation-minor-mode)
9456 (compilation-shell-minor-mode):
9457 * progmodes/gud.el (gud-tooltip-mode):
9458 * progmodes/hideif.el (hide-ifdef-mode):
9459 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9460 * progmodes/subword.el (subword-mode):
9461 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9462 * progmodes/which-func.el (which-function-mode):
9463 * term/tvi970.el (tvi970-set-keypad-mode):
9464 * term/vt100.el (vt100-wide-mode):
9465 * textmodes/flyspell.el (flyspell-mode):
9466 * textmodes/ispell.el (ispell-minor-mode):
9467 * textmodes/nroff-mode.el (nroff-electric-mode):
9468 * textmodes/paragraphs.el (use-hard-newlines):
9469 * textmodes/refill.el (refill-mode):
9470 * textmodes/reftex.el (reftex-mode):
9471 * textmodes/rst.el (rst-minor-mode):
9472 * textmodes/sgml-mode.el (html-autoview-mode)
9473 (sgml-electric-tag-pair-mode):
9474 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9475 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9476 * emulation/crisp.el (crisp-mode):
9477 * emacs-lisp/eldoc.el (eldoc-mode):
9478 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9479 minor mode behavior.
9480
aa42ab43
JL
94812011-10-19 Juri Linkov <juri@jurta.org>
9482
9483 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9484 the list of hard-coded chars with escape-glyph face.
9485
89400f1d
SM
94862011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9487
9488 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9489
305c07f6
MA
94902011-10-19 Michael Albinus <michael.albinus@gmx.de>
9491
9492 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9493 running process.
9494
13754b54
GM
94952011-10-19 Glenn Morris <rgm@gnu.org>
9496
9497 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9498 Ignore ignored files. (Bug#9726)
9499
06e21633
CY
95002011-10-19 Chong Yidong <cyd@gnu.org>
9501
9502 Doc fix for minor modes, stating that an omitted argument enables
9503 the mode unconditionally when called from Lisp.
9504
9505 * abbrev.el (abbrev-mode):
9506 * allout.el (allout-mode):
9507 * autoinsert.el (auto-insert-mode):
9508 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9509 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9510 (global-auto-revert-mode):
9511 * battery.el (display-battery-mode):
9512 * composite.el (global-auto-composition-mode)
9513 (auto-composition-mode):
9514 * delsel.el (delete-selection-mode):
9515 * desktop.el (desktop-save-mode):
9516 * dired-x.el (dired-omit-mode):
9517 * dirtrack.el (dirtrack-mode):
9518 * doc-view.el (doc-view-minor-mode):
9519 * double.el (double-mode):
9520 * electric.el (electric-indent-mode, electric-pair-mode):
9521 * emacs-lock.el (emacs-lock-mode):
9522 * epa-hook.el (auto-encryption-mode):
9523 * follow.el (follow-mode):
9524 * font-core.el (font-lock-mode):
9525 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9526 * help.el (temp-buffer-resize-mode):
9527 * hilit-chg.el (highlight-changes-mode)
9528 (highlight-changes-visible-mode):
9529 * hi-lock.el (hi-lock-mode):
9530 * hl-line.el (hl-line-mode, global-hl-line-mode):
9531 * icomplete.el (icomplete-mode):
9532 * ido.el (ido-everywhere):
9533 * image-file.el (auto-image-file-mode):
9534 * image-mode.el (image-minor-mode):
9535 * iswitchb.el (iswitchb-mode):
9536 * jka-cmpr-hook.el (auto-compression-mode):
9537 * linum.el (linum-mode):
9538 * longlines.el (longlines-mode):
9539 * master.el (master-mode):
9540 * mb-depth.el (minibuffer-depth-indicate-mode):
9541 * menu-bar.el (menu-bar-mode):
9542 * minibuf-eldef.el (minibuffer-electric-default-mode):
9543 * mouse-sel.el (mouse-sel-mode):
9544 * msb.el (msb-mode):
9545 * mwheel.el (mouse-wheel-mode):
9546 * outline.el (outline-minor-mode):
9547 * paren.el (show-paren-mode):
9548 * recentf.el (recentf-mode):
9549 * reveal.el (reveal-mode, global-reveal-mode):
9550 * rfn-eshadow.el (file-name-shadow-mode):
9551 * ruler-mode.el (ruler-mode):
9552 * savehist.el (savehist-mode):
9553 * scroll-all.el (scroll-all-mode):
9554 * scroll-bar.el (scroll-bar-mode):
9555 * server.el (server-mode):
9556 * shell.el (shell-dirtrack-mode):
9557 * simple.el (auto-fill-mode, transient-mark-mode)
9558 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9559 (line-number-mode, column-number-mode, size-indication-mode)
9560 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9561 * strokes.el (strokes-mode):
9562 * time.el (display-time-mode):
9563 * t-mouse.el (gpm-mouse-mode):
9564 * tool-bar.el (tool-bar-mode):
9565 * tooltip.el (tooltip-mode):
9566 * type-break.el (type-break-mode-line-message-mode)
9567 (type-break-query-mode):
9568 * view.el (view-mode):
9569 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9570 (global-whitespace-mode, global-whitespace-newline-mode):
9571 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9572
a3839de2
SM
9573 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9574 Fix autogenerated docstring.
06e21633 9575
5214e501
JL
95762011-10-19 Juri Linkov <juri@jurta.org>
9577
9578 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9579 by checking environment variables "DESKTOP_SESSION" and
9580 "XDG_CURRENT_DESKTOP". (Bug#9779)
9581
195f8db9
JL
95822011-10-19 Juri Linkov <juri@jurta.org>
9583
9584 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9585 (browse-url-chromium-program, browse-url-chromium-arguments):
9586 New defcustoms.
9587 (browse-url-default-browser): Check for `browse-url-chromium' and
9588 call `browse-url-chromium-program'.
9589 (browse-url-chromium): New command. (Bug#9779)
9590
343a34ff
JB
95912011-10-18 Juanma Barranquero <lekktu@gmail.com>
9592
9593 * facemenu.el (list-colors-duplicates): On Windows, detect more
9594 duplicates by assuming that only colors matching "^System" are
9595 special "system colors". (Bug#9722)
9596
6978a151
SM
95972011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9598
9599 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9600 to distinguish the author from the committer.
9601
6a80b297
MA
96022011-10-18 Michael Albinus <michael.albinus@gmx.de>
9603
9604 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9605
b31a5677
JK
96062011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9607
9608 * international/mule.el (sgml-html-meta-auto-coding-function):
9609 Add support for detecting encoding in HTML5 specified only as
9610 <meta charset="UTF-8">. Implementation just makes http-equiv and
9611 content-type parts from HTML4 encoding string optional. (Bug#9716)
9612
80c6d77f
GM
96132011-10-18 Glenn Morris <rgm@gnu.org>
9614
9615 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9616
08b0fee8
CY
96172011-10-18 Chong Yidong <cyd@gnu.org>
9618
9619 * faces.el (cursor): Doc fix.
9620
67e729a5
CY
96212011-10-17 Chong Yidong <cyd@gnu.org>
9622
9623 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9624
343a34ff 96252011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9626
9627 * dirtrack.el (dirtrack): Support shell buffers with path
9628 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9629
0bc06380
TZ
96302011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9631
9632 * json.el: Bump version to 1.3 and note change in History.
9633 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9634
8b79f3e0
SM
96352011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9636
5a7c536b
SM
9637 * comint.el (comint-insert-input, comint-send-input)
9638 (comint-get-old-input-default, comint-backward-matching-input)
9639 (comint-next-prompt): Use nil instead of `input' for field property of
9640 past user input (bug#114).
9641
96a8a0df
SM
9642 * minibuffer.el (completion--replace): Inherit surrounding properties
9643 (bug#114).
9644 (minibuffer-complete-and-exit): Use it.
9645
8b79f3e0
SM
9646 * comint.el (comint--table-subvert): Quote the all-completions output
9647 (bug#9160).
9648
b8f7ff0d
MR
96492011-10-17 Martin Rudalics <rudalics@gmx.at>
9650
8b79f3e0 9651 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9652
b8f7ff0d 9653 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9654 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9655 entries and separate them from frame entries.
9656
c235b555
GM
96572011-10-15 Glenn Morris <rgm@gnu.org>
9658
9659 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9660 Doc fixes.
9661
6bbfa6e1
CY
96622011-10-15 Chong Yidong <cyd@stupidchicken.com>
9663
8b79f3e0
SM
9664 * net/network-stream.el (network-stream-open-starttls):
9665 Improve detection of failure due to lack of TLS support.
ec5c990d 9666
6bbfa6e1
CY
9667 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9668 putting the input text in front and in bold.
9669
98488977
SM
96702011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9671
3d1337be
SM
9672 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9673
ee0b45e4
SM
9674 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9675 empty buffer.
9676
98488977
SM
9677 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9678 unread-command-events rather than pushing yet-another event.
9679
186f4720
EZ
96802011-10-14 Eli Zaretskii <eliz@gnu.org>
9681
9682 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9683 the explanation of the possible choices. Make the options passed
9684 to completing-read shorter.
9685
8b7a997c
AM
96862011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9687
9688 * textmodes/flyspell.el (flyspell-large-region): Make sure
9689 extended character mode is used if defined (Bug#1339).
9690
12587bbb
EZ
96912011-10-13 Eli Zaretskii <eliz@gnu.org>
9692
9693 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9694 character info for LRE, LRO, RLE, and RLO characters by appending
9695 an invisible PDF.
12587bbb 9696
bad41229
SM
96972011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9698
9699 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9700 even in case of error; add debug spec; simplify data flow.
9701 (with-timeout-handler): Remove.
9702
28dbc92f
MA
97032011-10-12 Michael Albinus <michael.albinus@gmx.de>
9704
9705 Fix Bug#6019, Bug#9315.
9706
9707 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9708 complete `buffer-file-name', the local file name part could look
9709 remotely (for example on VMS).
9710
9711 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9712 `tramp-run-real-handler'.
9713 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9714 already quoted by '"'.
9715
9716 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9717 Let `file-name-handler-alist' be nil, the local file name part
9718 could look remotely (for example on VMS).
9719
e1b0b23a
SM
97202011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9721
9722 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9723 from here...
9724 (flyspell-post-command-hook): ...to here.
9725
a120bde9
SM
97262011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9727
9728 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9729 if not needed.
9730 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9731 using completion. Protect against "slow" callers.
9732 Remove the "message hack".
9733
7ce7717b
JL
97342011-10-11 Juri Linkov <juri@jurta.org>
9735
9736 * isearch.el (isearch-lazy-highlight-word): New variable.
9737 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9738 Use it. (Bug#9727)
9739
c02ee9d6
GM
97402011-10-11 Glenn Morris <rgm@gnu.org>
9741
9742 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9743 like f90-previous-statement does.
9744
93e616fd 97452011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9746
1f190e73 9747 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9748 only in interactive use, to avoid error.
9749
af7b6078
SM
97502011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9751
9752 * minibuffer.el (completion-file-name-table): Fix last change,
9753 i.e. ignore normal errors but not the other ones.
9754
0563dae9
MR
97552011-10-10 Martin Rudalics <rudalics@gmx.at>
9756
9757 * window.el (special-display-buffer-names)
9758 (special-display-regexps): Remove some remnants of earlier
9759 changes from doc-strings.
366ca7f3
MR
9760 (quit-windows-on): New function.
9761
9762 * vc/vc.el (vc-revert, vc-rollback):
9763 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9764 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9765 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9766
49677495
MR
97672011-10-09 Martin Rudalics <rudalics@gmx.at>
9768
9769 * window.el (frame-auto-hide-function): Add version tag.
9770 (Bug#9699)
9771
56f2d1e1
MA
97722011-10-09 Michael Albinus <michael.albinus@gmx.de>
9773
9774 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9775 condition.
9776
112a6592
LL
97772011-10-09 Leo Liu <sdl.web@gmail.com>
9778
9779 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9780 (Bug#9701)
9781
0812589b
GM
97822011-10-08 Glenn Morris <rgm@gnu.org>
9783
9784 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9785 before the first code statement zero indent. (Bug#9690)
9786
b2b0776e
CY
97872011-10-08 Chong Yidong <cyd@stupidchicken.com>
9788
9789 * simple.el (count-words-region): Always count in the region.
9790 Report the number of lines and characters too.
9791 (count-words): New command, which counts in the buffer if the
9792 region is inactive, as count-words-region used to.
9793 (count-words--message): New function. Handle plurals.
9794 (count-lines-region): Make it an alias for count-words-region.
9795
9796 * bindings.el (esc-map): Replace count-lines-region with
9797 count-words-region.
9798
c557cd6b
MR
97992011-10-08 Martin Rudalics <rudalics@gmx.at>
9800
9801 * window.el (window--delete): Delete dedicated frame
9802 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9803 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9804
61a57ef4 98052011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9806
3a7d293b 9807 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9808
c3833279
CY
98092011-10-07 Chong Yidong <cyd@stupidchicken.com>
9810
9811 * bindings.el ([M-left],[M-right]): Bind to left-word and
9812 right-word respectively.
9813
21ce8245
GM
98142011-10-07 Glenn Morris <rgm@gnu.org>
9815
9816 * cus-start.el (debug-on-quit): Fix custom type.
9817
6d823bb2
LMI
98182011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9819
0181e193
LMI
9820 * subr.el (define-key-after): Clarify that the function is not
9821 useful for non-menu keymaps.
9822
6d823bb2
LMI
9823 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9824
8e3459ce 98252011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9826
21ce8245 9827 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9828 in current minibuffer (Fix bug with recursive minibuffers).
9829
a1c2d21e
CY
98302011-10-06 Chong Yidong <cyd@stupidchicken.com>
9831
9832 * progmodes/gdb-mi.el (gdb): Doc fix.
9833
5a4cf282
MR
98342011-10-05 Martin Rudalics <rudalics@gmx.at>
9835
9836 * window.el (frame-auto-hide-function): New option replacing
9837 frame-auto-delete. Suggested by Stefan Monnier.
9838 (window--delete): Call frame-auto-hide-function instead of
9839 investigating frame-auto-delete.
c96111ea
MR
9840 (window-point-1, set-window-point-1): New functions.
9841 (window-in-direction, record-window-buffer, window-state-get-1)
9842 (display-buffer-record-window): Use window-point-1 instead of
9843 window-point.
9844 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9845
9854542e
SM
98462011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9847
9848 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9849
8943cfb0
GM
98502011-10-05 Glenn Morris <rgm@gnu.org>
9851
9852 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9853 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9854
647ab967
LL
98552011-10-05 Leo Liu <sdl.web@gmail.com>
9856
9857 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9858 works with buffer object.
9859
3ddfbced
SM
98602011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9861
9862 * mpc.el (mpc-tool-bar-map): Add labels.
9863
bdfa5dd2
GM
98642011-10-04 Glenn Morris <rgm@gnu.org>
9865
9866 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9867
0e2070b5
MR
98682011-10-04 Martin Rudalics <rudalics@gmx.at>
9869
9870 * window.el (window--delete): New function.
9871 (frame-auto-delete): Resuscitate option.
9872 (bury-buffer, replace-buffer-in-windows)
9873 (quit-window): Rewrite using window--delete.
9874 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9875 Pass display-buffer-mark-dedicated to window--display-buffer-2
9876 (Bug#9639).
9877
3dc61a09
SM
98782011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9879
915a9b64
SM
9880 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9881 returns a list (bug#9554). Add remote file name completion.
9882 * comint.el (comint--table-subvert): Curry and get quote&unquote
9883 functions as arguments.
9884 (comint--complete-file-name-data): Adjust call accordingly.
9885 * pcomplete.el (pcomplete--table-subvert): Remove.
9886 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9887
3dc61a09
SM
9888 * minibuffer.el (completion-table-case-fold): Use currying.
9889 (completion--styles-type, completion--cycling-threshold-type):
9890 New constants.
9891 (completion-styles, completion-category-overrides)
9892 (completion-cycle-threshold): Use them.
9893 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9894 completion-table-case-fold.
9895
8ea0a993
SB
98962011-10-03 Stephen Berman <stephen.berman@gmx.net>
9897
9898 * minibuffer.el (completion-category-overrides): Fix type of styles
9899 and add more user friendly tags (bug#9660).
9900
8c24b7f6
SM
99012011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9902
9903 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9904 (mule-input-method-string): New widget.
9905 (default-input-method, language-info-custom-alist): Use it.
9906
428fe61a
SM
99072011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9908
32c1fffd
SM
9909 * pcomplete.el: Require comint.
9910 (pcomplete--common-suffix): Remove.
9911 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9912 (pcomplete--table-subvert): Sync with comint--table-subvert.
9913 (pcomplete--entries): Use comint-completion-file-name-table.
9914 * comint.el (comint-unquote-filename): Simplify.
9915 (comint-completion-file-name-table): New function (bug#9616).
9916 (comint--complete-file-name-data): Use it.
9917
428fe61a
SM
9918 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9919 (pcmpl-gnu-tar-buffer): Remove.
9920 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9921 around. Make sure pcomplete-suffix-list is only changed temporarily.
9922 Don't look inside the tar's file if it's too large.
428fe61a 9923
04c52e2f
CY
99242011-10-01 Chong Yidong <cyd@stupidchicken.com>
9925
ce3cefcc
CY
9926 * cus-edit.el (custom-mode-map):
9927 * epa.el (epa-key-list-mode-map):
9928 * man.el (Man-mode-map):
9929 * startup.el (splash-screen-keymap):
9930 * simple.el (special-mode-map): Use scroll-up-command and
9931 scroll-down-command.
9932
9933 * progmodes/idlw-help.el (idlwave-help-mode-map):
9934 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9935 * net/newst-plainview.el (newsticker-mode-map):
9936 * emulation/ws-mode.el (wordstar-mode-map):
9937 * emulation/vi.el (vi-com-map):
9938 * calc/calc-graph.el (calc-graph-show-dumb):
9939 * term/sun.el (terminal-init-sun):
9940 * term/ns-win.el (global-map):
9941 * progmodes/grep.el (grep-mode-map):
9942 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9943 * mail/rmail.el (rmail-mode-map):
9944 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9945
04c52e2f
CY
9946 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9947 custom-safe-themes as special.
9948
79adf8c8
JD
99492011-10-01 Julien Danjou <julien@danjou.info>
9950
9951 * notifications.el (notifications-notify): Fix docstring.
9952
63bd50d3
PS
99532011-10-01 Per Starbäck <per@starback.se>
9954
9955 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9956
199e4c7e
MR
99572011-09-30 Martin Rudalics <rudalics@gmx.at>
9958
9959 * startup.el (command-line-1): Fix last fix by inserting
9960 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9961 (Bug#9605) and (Bug#9636)
199e4c7e 9962
fe5f08dd
EZ
99632011-09-29 Eli Zaretskii <eliz@gnu.org>
9964
9965 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9966 window is hscrolled, move by logical lines. (Bug#9607)
9967 (line-move-visual): Update the doc string to the above effect.
9968
b5516bbd
MR
99692011-09-29 Martin Rudalics <rudalics@gmx.at>
9970
ccee00c0
MR
9971 * window.el (display-buffer-record-window): When WINDOW is the
9972 selected window use `point' instead of `window-point'. (Bug#9626)
9973
b5516bbd
MR
9974 * startup.el (command-line-1): Use insert-before-markers when
9975 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9976
b5516bbd
MR
9977 * help.el (help-window): Remove variable.
9978
52aa0014
GM
99792011-09-29 Glenn Morris <rgm@gnu.org>
9980
9981 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9982
df9a7357
JB
99832011-09-29 Juanma Barranquero <lekktu@gmail.com>
9984
9985 * descr-text.el (describe-char-categories): Accept category
9986 descriptions more than one line long.
9987
a8406c20
SM
99882011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9989
88d9610c
SM
9990 * simple.el (delete-trailing-whitespace): Fix last change.
9991
a5daf810
SM
9992 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9993 Don't confuse "y => 3" as the beginning of a `y' operation.
9994
a8406c20
SM
9995 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9996 object has more than 4 slots (bug#9613).
9997
a239d4e9
JB
99982011-09-28 Juanma Barranquero <lekktu@gmail.com>
9999
10000 * subr.el (with-output-to-temp-buffer):
10001 * net/quickurl.el (quickurl, quickurl-browse-url):
10002 Fix typos in docstrings.
10003
693fbdb6
EZ
100042011-09-27 Eli Zaretskii <eliz@gnu.org>
10005
10006 * minibuffer.el (completion-styles)
10007 (completion-category-overrides): Cross reference each other in doc
10008 strings.
10009
8b457e28
GM
100102011-09-27 Glenn Morris <rgm@gnu.org>
10011
10012 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
10013 to split-string. (Bug#9606)
10014
85a16208
LMI
100152011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
10016
10017 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
10018 (bug#9615).
10019
502f9ebd
CY
100202011-09-27 Chong Yidong <cyd@stupidchicken.com>
10021
10022 * emacs-lisp/package.el (list-packages): Fix echo area message.
10023
7690bdea
LL
100242011-09-27 Leo Liu <sdl.web@gmail.com>
10025
10026 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10027
e2ee6f30
MA
100282011-09-25 Michael Albinus <michael.albinus@gmx.de>
10029
10030 * net/dbus.el (dbus-unregister-object): Don't release services for
10031 registered signals. (Bug#9581)
10032
f3f98342
TZ
100332011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10034
10035 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10036 function that picks between cfengine 2 and 3 support
10037 automatically. Update docs accordingly.
10038
dd7aa8dd
KH
100392011-09-22 Kenichi Handa <handa@m17n.org>
10040
10041 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10042 ZERO.
10043 (indian-itrans-v5-table-for-tamil): New variable.
10044 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10045
3f2b07f8
KM
100462011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10047
10048 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10049 that's true if the current command involved collapsing of text.
10050 It's reset to false at the beginning of the next command.
10051 (allout-post-command-business): Move the cursor to the beginning
10052 of entry if the cursor is hidden and collapsing activity just
10053 happened.
10054
371d6a61
CY
100552011-09-24 Chong Yidong <cyd@stupidchicken.com>
10056
10057 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10058 tracking (Bug#9541).
10059
2ac2721a
UJ
100602011-09-24 Ulf Jasper <ulf.jasper@web.de>
10061
10062 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10063 (newsticker-show-news): Automatically load html rendering package
10064 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10065 because w3m-fill-column is let-bound" and the error "Symbol's value
10066 as variable is void: w3m-fill-column".
2ac2721a 10067
fac7ae53
MA
100682011-09-24 Michael Albinus <michael.albinus@gmx.de>
10069
10070 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10071 Release services only if they are defined. (Bug#9581)
10072
e08b633b
RS
100732011-09-23 Richard Stallman <rms@gnu.org>
10074
e488d29c
RS
10075 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10076 distinguish start of paragraph from start of its text.
10077
19c38752
RS
10078 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10079
e08b633b
RS
10080 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10081 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10082 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10083
0a39f27e
AS
100842011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10085
10086 * international/mule-diag.el (mule-diag): Insert a newline after
10087 each fontset description.
10088
db4e950d
SM
100892011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10090
10091 * simple.el (delete-trailing-whitespace):
10092 Document last change; simplify.
10093
eca3f3ea
PW
100942011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10095
d68e189a
PW
10096 * simple.el (delete-trailing-whitespace): Also delete
10097 extra newlines at the end of the buffer.
10098
eca3f3ea
PW
10099 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10100 (picture-newline): Use forward-line so as to ignore fields.
10101
01c157cc
SM
101022011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10103
10104 * subr.el (with-wrapper-hook): Fix edebug spec.
10105
022de23e
LMI
101062011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10107
10108 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10109 (bug#4538).
10110
91683089
MA
101112011-09-23 Michael Albinus <michael.albinus@gmx.de>
10112
eca3f3ea
PW
10113 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10114 Fix nasty bug using wrong cached values.
91683089 10115
5bdd6fa4
AM
101162011-09-23 Alan Mackenzie <acm@muc.de>
10117
10118 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10119
97adfb97
CY
101202011-09-23 Chong Yidong <cyd@stupidchicken.com>
10121
10122 * window.el (pop-to-buffer): Ensure right window is selected if we
10123 chose another frame.
10124
d4ef2b50
EZ
101252011-09-22 Eli Zaretskii <eliz@gnu.org>
10126
10127 * simple.el (what-cursor-position): Use get-char-property-change
10128 and next-single-char-property-change, to be able to show display
10129 properties that come from overlays as well as text properties.
10130
72258fe5
CY
101312011-09-22 Chong Yidong <cyd@stupidchicken.com>
10132
10133 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10134
10135 * cmuscheme.el (run-scheme, switch-to-scheme):
10136 * cus-edit.el (customize-group, custom-buffer-create)
10137 (customize-browse):
10138 * info.el (info):
10139 * shell.el (shell):
10140 * mail/sendmail.el (mail):
10141 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10142
8f098516
RS
101432011-09-22 Richard Stallman <rms@gnu.org>
10144
10145 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10146 move back only to line beg, don't move back over blank lines.
10147
e74f1bb6
MA
101482011-09-22 Michael Albinus <michael.albinus@gmx.de>
10149
10150 * files.el (copy-directory): Set directory attributes only in case
10151 they could be retrieved from the source directory. (Bug#9565)
10152
bfeef8b6
DK
101532011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10154
10155 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10156 (hs-find-block-beginning, hs-hide-level-recursive):
10157 Ignore strings as well as comments. (Bug#9502)
10158
7e423bb8
AS
101592011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10160
10161 * progmodes/sql.el (sql-comint-postgres):
10162 Convert port number to a string. (Bug#9566)
10163
b4d72fcf
MR
101642011-09-22 Martin Rudalics <rudalics@gmx.at>
10165
10166 * window.el (quit-window): Undedicate window when switching to
10167 previous buffer. Reported by Thierry Volpiatto
10168 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10169 (special-display-popup-frame): When popping up a new frame reset
10170 its previous buffers to nil. Simplify code.
b4d72fcf 10171
a7b88dc6
MA
101722011-09-21 Michael Albinus <michael.albinus@gmx.de>
10173
10174 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10175 and process filter, as done also in `shell-command'.
10176
cf4eacfd
MR
101772011-09-21 Martin Rudalics <rudalics@gmx.at>
10178
eca3f3ea 10179 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10180 Call set-window-start with NOFORCE argument t.
10181 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10182 (quit-window): Reword doc-string. Handle new format of
10183 quit-restore parameter. Don't delete window if it has a
10184 previous buffer we can show instead of the present one.
10185 (display-buffer-record-window): Rewrite using a new format for
10186 the quit-restore window parameter
10187 (special-display-popup-frame, display-buffer-same-window)
10188 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10189 (display-buffer-pop-up-window, display-buffer-use-some-window):
10190 Adapt symbol passed to display-buffer-record-window.
10191 * help.el (help-window-setup): Handle new format of quit-restore
10192 parameter.
10193
8d28cb95
SM
101942011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10195
94ab793f
SM
10196 * faces.el (face-list): Fix docstring (bug#9564).
10197
8d28cb95
SM
10198 * window.el (display-buffer--action-function-custom-type):
10199 Don't include internal functions in the Custom interface.
10200
3820edeb
JL
102012011-09-20 Juri Linkov <juri@jurta.org>
10202
10203 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10204 (Info-forward-node, Info-backward-node, Info-next-preorder)
10205 (Info-last-preorder): Use it. (Bug#9528)
10206
5147931d
JL
102072011-09-20 Juri Linkov <juri@jurta.org>
10208
10209 * info.el (Info-last-preorder): Visit last menu item only when
10210 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10211
cf499a1a
JD
102122011-09-20 Julien Danjou <julien@danjou.info>
10213
10214 * password-cache.el (password-cache-remove): Remove entries even if the
10215 value is nil, so that password with a nil value (negative caching) is
10216 possible to invalidate.
10217
f84e2fe2
LM
102182011-09-20 Lawrence Mitchell <wence@gmx.li>
10219
10220 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10221 all whitespace around breakpoint. (Bug#9553)
10222 (f90-find-breakpoint): Only break at whitespace inside a comment.
10223
78054a46
SM
102242011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10225
10226 * minibuffer.el (completion-file-name-table): Keep track of errors.
10227 (completion-table-with-predicate): Handle the case where pred1 is nil.
10228 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10229
345083b2
SM
102302011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10231
e24e27be
SM
10232 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10233 (debugger-return-value): Signal an error if the debugging context does
10234 not await any return value.
10235
345083b2
SM
10236 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10237 * image-mode.el (image-toggle-display-text)
10238 (image-toggle-display-image): Stay away from evil `intangible'.
10239
08d355e3
LL
102402011-09-19 Leo Liu <sdl.web@gmail.com>
10241
10242 * replace.el (occur-revert-arguments): Make it permanent-local.
10243 (occur-mode): Don't call font-lock-defontify.
10244
f01da43f
CY
102452011-09-19 Chong Yidong <cyd@stupidchicken.com>
10246
10247 * net/ldap.el (ldap-search-internal): Don't push empty search
10248 result (Bug#9508).
10249
b6072fa6
SM
102502011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10251
10252 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10253
443d6696
MA
102542011-09-19 Michael Albinus <michael.albinus@gmx.de>
10255
10256 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10257 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10258
7cc6e154
JL
102592011-09-18 Juri Linkov <juri@jurta.org>
10260
10261 * buff-menu.el (Buffer-menu-mode-map):
10262 * dired.el (dired-mode-map):
10263 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10264 (lisp-interaction-mode-map):
10265 * emacs-lisp/package.el (package-menu-mode-map):
10266 * epa.el (epa-key-list-mode-map):
10267 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10268 (menu-bar-options-menu):
10269 * outline.el (outline-mode-menu-bar-map):
10270 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10271 * vc/vc-dir.el (vc-dir-menu-map):
10272 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10273 Capitalize non-function content words in menu item strings.
10274
10275 * dired.el (dired-mode-map): Add menu item for
10276 `image-dired-dired-toggle-marked-thumbs'.
10277
80302a81
JL
102782011-09-18 Juri Linkov <juri@jurta.org>
10279
10280 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10281 to `isearch-case-fold-search' and restore its original value
10282 after the `isearch-mode' call.
10283
46c5cf66
JL
102842011-09-18 Juri Linkov <juri@jurta.org>
10285
10286 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10287 because `zgrep' returns 1 for successful matches (bug#9226).
10288
d18b513b
JL
102892011-09-18 Juri Linkov <juri@jurta.org>
10290
10291 * info.el (Info-extract-menu-node-name): Check the second match
10292 for empty string (second test-case of bug#9528).
10293 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10294 intermediate nodes to the history (first test-case of bug#9528).
10295
72753f87
JL
102962011-09-18 Juri Linkov <juri@jurta.org>
10297
10298 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10299 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10300
c9384295
JL
103012011-09-18 Juri Linkov <juri@jurta.org>
10302
1154d12e
JB
10303 * info.el (Info-file-supports-index-cookies):
10304 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10305 outputs one more line for long file names (bug#4142).
c9384295 10306
d473dce8
CY
103072011-09-18 Chong Yidong <cyd@stupidchicken.com>
10308
10309 * newcomment.el (comment-normalize-vars): If prompting for
10310 comment-start, set comment-start-skip too (Bug#8424).
10311
2176854d
JB
103122011-09-18 Johan Bockgård <bojohan@gnu.org>
10313
10314 * icomplete.el: Fix previous fix of Bug#5849.
10315 (icomplete-mode): Don't set completion-show-inline-help.
10316 (icomplete-minibuffer-setup): Set completion-show-inline-help
10317 locally during icompletion.
10318
3aace4e4
CY
103192011-09-18 Chong Yidong <cyd@stupidchicken.com>
10320
c940224f
CY
10321 * woman.el (woman2-process-escapes): Don't delete unrecognized
10322 escapes (Bug#7843).
10323
3aace4e4
CY
10324 * files.el (inhibit-first-line-modes-regexps): Add image files.
10325 (hack-local-variables-prop-line): Return nil for malformed
10326 prop-lines (Bug#9044).
10327
710dec63
MA
103282011-09-18 Michael Albinus <michael.albinus@gmx.de>
10329
10330 * net/tramp.el (top): Don't require 'shell.
10331 (tramp-methods): Fix docstring.
10332 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10333 Return complete remote file name. Handle "smb" case.
10334 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10335 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10336
10337 * net/tramp-compat.el (top): Require 'shell.
10338
10339 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10340 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10341 `tramp-current-host'.
10342 (tramp-get-remote-tmpdir): Remove.
10343
10344 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10345 `tramp-tmpdir' entries.
10346 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10347 (tramp-smb-handle-file-attributes): Ignore errors.
10348 (tramp-smb-wait-for-output): Check also for process end.
10349
5d5ac8ec
LMI
103502011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10351
10352 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10353 when sending QUIT (bug#9312).
10354
8c0f49f0
CY
103552011-09-17 Chong Yidong <cyd@stupidchicken.com>
10356
10357 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10358 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10359 occur-mode-display-occurrence.
10360 (occur-edit-mode): Add usage message.
10361 (occur-cease-edit): New command.
10362 (occur-after-change-function): Use text properties to find the
10363 position of the prefix text.
10364 (occur-engine): Set stickiness of prefix text properties.
10365
8f1383f7
GM
103662011-09-17 Glenn Morris <rgm@gnu.org>
10367
10368 * progmodes/etags.el (complete-tag):
10369 Fix call to completion-in-region. (Bug#9526)
10370
744ba0e3
JL
103712011-09-17 Juri Linkov <juri@jurta.org>
10372
10373 * textmodes/ispell.el (ispell-word): Add to the error message
10374 the word, ispell program name and current dictionary (bug#9121).
10375 (ispell-tex-arg-end): Capitalize "error" in the error message.
10376
d9bbf400
AS
103772011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10378
10379 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10380 check. (Bug#4251)
10381
8da11505
JL
103822011-09-17 Juri Linkov <juri@jurta.org>
10383
10384 * window.el (window-safe-min-height, window-safe-min-width):
10385 Fix typos (followup to bug#9522).
10386
a91adc7e
SJ
103872011-09-17 Sven Joachim <svenjoac@gmx.de>
10388
10389 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10390
064f328a
EZ
103912011-09-16 Eli Zaretskii <eliz@gnu.org>
10392
10393 * simple.el (line-move): If goal-column is set, move by logical
10394 lines, not by display lines. (Bug#971)
10395 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10396 to reflect the above change.
10397
e69df516
SM
103982011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10399
10400 * image.el (imagemagick-register-types): Use regexp-opt.
10401
cbb0f9ab
CY
104022011-09-15 Chong Yidong <cyd@stupidchicken.com>
10403
10404 * window.el (display-buffer-base-action): Rename from
10405 display-buffer-default-action. Make default value empty.
10406 (display-buffer-overriding-action): Convert to defvar.
10407 (display-buffer-fallback-action): New var.
10408
25322144
CY
104092011-09-15 Chong Yidong <cyd@stupidchicken.com>
10410
10411 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10412 declaration.
10413 (package--add-to-archive-contents): If there is a duplicate entry
10414 with an older version, remove it.
10415 (package-menu-mark-delete, package-menu-mark-install)
10416 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10417 (package-menu-mark-obsolete-for-deletion):
10418 Use package-menu-get-status instead of a regexp search.
25322144
CY
10419 (package-menu-get-status): Use tabulated-list-entry.
10420 (package-menu-mark-upgrades): New command.
d770725a 10421 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10422 (package-menu-execute): Do installation before deletion.
10423 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10424 instead of checking major-mode.
10425 (package-menu--find-upgrades): New function.
10426
7520339c
LMI
104272011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10428
10429 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10430 passwords in the log buffer.
65a046c4
LMI
10431 (smtpmail-process-filter): Update the process marker so that the
10432 "broken by peer" status message is inserted in the right place.
7520339c 10433
d3c30954
SM
104342011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10435
3fe48822
SM
10436 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10437 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10438 bibtex-completion-at-point-function.
10439 (bibtex-completion-at-point-function): Use them.
10440
1b8b3954
SM
10441 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10442
d3c30954
SM
10443 * mpc.el (mpc-constraints-tag-lookup): New function.
10444 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10445 also to browser "album|playlist".
10446
72779976
JL
104472011-09-14 Juri Linkov <juri@jurta.org>
10448
10449 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10450 (isearch-edit-string): Use length of `isearch-string' when
10451 `isearch-fail-pos' returns nil.
10452 (isearch-message): Remove duplicate code and call
10453 `isearch-fail-pos' with arg `t'.
10454
a0bf2bcd
CY
104552011-09-14 Chong Yidong <cyd@stupidchicken.com>
10456
17bb0a2d
CY
10457 * replace.el (occur-mode-goto-occurrence): Don't force using other
10458 window (Bug#9499).
10459
a0bf2bcd
CY
10460 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10461
f678e0b6
MR
104622011-09-14 Martin Rudalics <rudalics@gmx.at>
10463
10464 * window.el (display-buffer-window): Remove.
10465 (display-buffer-record-window): Use help-setup window parameter
10466 instead of variable display-buffer-window.
10467 (display-buffer-function, special-display-buffer-names)
10468 (special-display-function): Mention help-setup parameter instead
10469 of display-buffer-window in doc-string.
d3c30954
SM
10470 * help.el (help-window-setup): New argument help-window.
10471 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10472 Reword some messages.
10473 (with-help-window): Pass window used for displaying the buffer
10474 to help-window-setup. Don't set display-buffer-window.
10475
8e39b2e8
GM
104762011-09-13 Glenn Morris <rgm@gnu.org>
10477
10478 * emacs-lisp/debug.el (debugger-make-xrefs):
10479 Preserve point. (Bug#9462)
10480
85e9c04b
CY
104812011-09-13 Chong Yidong <cyd@stupidchicken.com>
10482
10483 * window.el (window-deletable-p): Use next-frame.
10484
1b36ed6a
MR
104852011-09-13 Martin Rudalics <rudalics@gmx.at>
10486
10487 * window.el (window-auto-delete): Remove.
10488 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10489 dedication and previous buffers.
1b36ed6a
MR
10490 (switch-to-prev-buffer): Don't delete window.
10491 (delete-windows-on): Delete a window's frame if and only if the
10492 window is dedicated.
10493 (replace-buffer-in-windows): Delete buffer's window or frame if
10494 and only if window is dedicated.
10495 (quit-window): Handle quit-restore as before last change.
4d61f28d 10496 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10497
ef8ef9fb
CY
104982011-09-13 Chong Yidong <cyd@stupidchicken.com>
10499
10500 * window.el (window-deletable-p): Never delete the last frame on a
10501 given terminal.
10502
b2cba41e
GM
105032011-09-13 Glenn Morris <rgm@gnu.org>
10504
10505 * help.el (describe-key-briefly): Copy previous standard-output change.
10506
51553db6 105072011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10508
10509 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10510
b7556719
GM
105112011-09-13 Glenn Morris <rgm@gnu.org>
10512
10513 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10514 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10515
64b51947
CY
105162011-09-12 Chong Yidong <cyd@stupidchicken.com>
10517
10518 * dired-aux.el (dired-mark-read-string): Don't return default
10519 value on empty input (Bug#9361).
10520 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10521 Omit initial minibuffer contents.
10522 (dired-do-chmod): Signal an error on empty input.
10523 (dired-mark-read-string): Don't return default on empty input.
10524
10525 * files.el (file-modes-symbolic-to-number): Doc fix.
10526
393a301e
SM
105272011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10528
10529 * international/mule-cmds.el (ucs-completions): Remove.
10530 (read-char-by-name): Use complete-with-action instead; add metadata.
10531
fa5660f9
CY
105322011-09-11 Chong Yidong <cyd@stupidchicken.com>
10533
10534 * window.el (display-buffer--action-function-custom-type)
10535 (display-buffer--action-custom-type): New vars.
10536 (display-buffer-alist, display-buffer-default-action)
10537 (display-buffer-overriding-action): Add defcustom types.
10538
4a592f66
CY
10539 * frame.el (delete-other-frames): Doc fix (Bug#276).
10540
73d56dbd
LMI
105412011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10542
10543 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10544
37ac18a3
CY
105452011-09-11 Chong Yidong <cyd@stupidchicken.com>
10546
10547 Change modes that used same-window-* vars to use switch-to-buffer.
10548
10549 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10550 Use switch-to-buffer.
10551
10552 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10553 (customize-browse, custom-buffer-create-other-window):
10554 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10555
10556 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10557 (Info-prev, Info-up, Info-speedbar-goto-node)
10558 (info-display-manual): Use switch-to-buffer.
10559 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10560
10561 * mail/sendmail.el (mail): Use switch-to-buffer.
10562 (mail-recover): Use switch-to-buffer-other-window.
10563
10564 * cmuscheme.el (run-scheme, switch-to-scheme):
10565 * ielm.el (ielm):
10566 * shell.el (shell):
10567 * net/rlogin.el (rlogin):
10568 * net/telnet.el (telnet, rsh):
10569 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10570
10195bd6
AS
105712011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10572
10573 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10574
b322f63a
LMI
105752011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10576
39d7fed6
LMI
10577 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10578 so don't mention it (bug#9301).
ba5a81f1 10579 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10580
ee0e9f11
LMI
10581 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10582 match `x', `w32' and `ns', like the manual says (bug#9029).
10583
0b1c89c1 10584 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10585 (process-kill-buffer-query-function): Mention the buffer name in
10586 the query.
0b1c89c1 10587
77549ea8
LMI
10588 * image-mode.el (image-next-line): The line parameter is mandatory
10589 (bug#9258).
10590
803ef892
LMI
10591 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10592 which can be useful (bug#9301).
10593
12980837
LMI
10594 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10595
91054f8f
LMI
10596 * subr.el (match-string): Mention that the current buffer should
10597 be the same as the search was done in (bug#9282).
10598
b322f63a
LMI
10599 * facemenu.el: Disable the remove-* commands if the mark isn't
10600 active (bug#9162).
10601
3199b96f
CY
106022011-09-10 Chong Yidong <cyd@stupidchicken.com>
10603
10604 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10605 of display-buffer.
10606 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10607
10608 * replace.el (occur-mode-goto-occurrence)
10609 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10610 and display-buffer.
10611
10612 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10613 display-buffer.
10614
10615 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10616 special-display and same-window variables.
10617 (mail-other-window): Use switch-to-buffer-other-window.
10618 (mail-other-frame): USe switch-to-buffer-other-frame.
10619
393a301e
SM
10620 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10621 Use display-buffer-other-frame.
3199b96f
CY
10622 (gdb-display-gdb-buffer): Use pop-to-buffer.
10623
10624 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10625
10626 * progmodes/python.el: Don't set same-window-buffer-names.
10627
10628 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10629
10630 * window.el (display-buffer-alist): Add *Python*.
10631
8319e0bf
CY
106322011-09-10 Chong Yidong <cyd@stupidchicken.com>
10633
10634 * window.el (display-buffer-alist): Add entry for buffers
10635 previously handled same-window-*.
10636 (display-buffer-alist, display-buffer-default-action)
10637 (display-buffer-overriding-action): Mark as risky.
10638 (display-buffer-alist): Document action function changes.
10639 (display-buffer--same-window-action)
10640 (display-buffer--other-frame-action): New variables.
10641 (switch-to-buffer, display-buffer-other-frame): Use them.
10642 (display-buffer): Rename reuse-frame entry to reusable-frames.
10643 (display-buffer-reuse-selected-window): Function deleted.
10644 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10645 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10646 (display-buffer-special): New function.
10647 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10648 display-buffer-reuse-or-pop-window. Split off special-display
10649 part into display-buffer-special.
10650 (display-buffer-use-some-window): Don't perform any special
10651 pop-up-frames handling.
10652 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10653 (display-buffer--maybe-same-window): Rename from
0d3ff375 10654 display-buffer-maybe-same-window.
8319e0bf 10655
919a69aa
CY
10656 * info.el: Don't set same-window-regexps.
10657 (info-setup): New function.
10658 (info-other-window, info): Call it.
10659
10660 * cus-edit.el: Don't set same-window-regexps.
10661 (customize-group): New argument.
10662 (customize-group-other-window): Use it.
10663 (customize-face, customize-face-other-window): Likewise.
10664 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10665
8319e0bf
CY
10666 * net/rlogin.el:
10667 * net/telnet.el:
10668 * progmodes/gud.el: Don't set same-window-regexps.
10669
10670 * cmuscheme.el:
10671 * ielm.el:
10672 * shell.el:
10673 * mail/sendmail.el:
10674 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10675
25173000
JL
106762011-09-10 Juri Linkov <juri@jurta.org>
10677
10678 * isearch.el (isearch-edit-string): Remove obsolete mention of
10679 `C-w' (`isearch-yank-word-or-char') from docstring.
10680 (isearch-query-replace): Fix typo in docstring (bug#9466).
10681
056e44ef
JL
106822011-09-10 Juri Linkov <juri@jurta.org>
10683
10684 * paren.el (show-paren-function): Don't show escaped parens.
10685 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10686
c3760c17
EZ
106872011-09-10 Eli Zaretskii <eliz@gnu.org>
10688
10689 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10690 (mm-default-file-encoding): Remove autoload forms, they are
10691 replaced with autoload cookies in mml.el and mm-encode.el.
10692 (mail-add-attachment): New command.
10693 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10694 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10695 the doc string.
10696 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10697
fece895e
RT
106982011-09-10 Reuben Thomas <rrt@sc3d.org>
10699
e69df516
SM
10700 * simple.el (count-words-region): Use buffer if there's no region
10701 (bug#9429).
fece895e 10702
5e68ce4a
JL
107032011-09-09 Juri Linkov <juri@jurta.org>
10704
10705 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10706 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10707 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10708
0a6b9622
AM
107092011-09-09 Alan Mackenzie <acm@muc.de>
10710
10711 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10712 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10713
14a29deb
EZ
107142011-09-09 Eli Zaretskii <eliz@gnu.org>
10715
10716 Fix for Savannah bug#9392.
10717 * simple.el (mail-encode-mml): New defvar.
10718
10719 * mail/rmail.el (mail-encode-mml): Add a defvar.
10720 (rmail-enable-mime-composing): Default to t.
10721 (rmail-forward): Use MIME method of forwarding only if both
10722 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10723 Set mail-encode-mml non-nil if the MIME method was used.
10724
10725 * mail/sendmail.el (mml-to-mime): Add autoload form.
10726 (mail-encode-mml): Add a defvar.
10727 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10728 to nil.
10729 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10730 message through mml-to-mime, and reset mail-encode-mml to nil.
10731
28c45130
GM
107322011-09-09 Glenn Morris <rgm@gnu.org>
10733
10734 * woman.el (woman-if-body): When processing an .el block,
10735 do not delete the next .el block as well. (Bug#9447)
69f4b618 10736 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10737
9b1c252e
MR
107382011-09-08 Martin Rudalics <rudalics@gmx.at>
10739
10740 * window.el (window-deletable-p): Make sure window is live before
10741 invoking window-prev-buffers.
10742
567457e3
LL
107432011-09-08 Leo Liu <sdl.web@gmail.com>
10744
10745 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10746
97f05794
JL
107472011-09-08 Juri Linkov <juri@jurta.org>
10748
10749 * progmodes/compile.el (compilation-environment): Make it
10750 a defcustom (bug#8340).
10751
8b0874b5
MR
107522011-09-08 Martin Rudalics <rudalics@gmx.at>
10753
10754 * window.el (frame-auto-delete): Rename to window-auto-delete.
10755 Make it control auto-deletion of windows and/or frames.
10756 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10757 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10758 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10759 Rewrite handling of case when window/frame can be deleted.
10760 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10761 argument t. (Bug#9456)
8b0874b5 10762
4feb6e73
CY
107632011-09-07 Chong Yidong <cyd@stupidchicken.com>
10764
10765 * help-mode.el (help-mode): Restore autoload.
10766
91ab9c13
JL
107672011-09-07 Juri Linkov <juri@jurta.org>
10768
10769 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10770 `compilation-environment'. Set buffer-local
10771 `compilation-environment' to `thisenv' later after (funcall mode).
10772 (Bug#8340)
10773
10774 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10775 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10776 instead of replacing its value. (Bug#8340)
10777
0527e251
JL
107782011-09-07 Juri Linkov <juri@jurta.org>
10779
10780 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10781 based on text properties put by `grep-filter' instead of matching
10782 escape sequences.
10783 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10784 to the value of `grep-error-screen-columns' (bug#9438).
10785
249f792c
JL
107862011-09-07 Juri Linkov <juri@jurta.org>
10787
10788 * simple.el (next-error-highlight, next-error-highlight-no-select):
10789 Doc fix (bug#9432).
10790
ff7271b9
OT
107912011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10792
10793 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10794 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10795
183fc730
LL
107962011-09-07 Leo Liu <sdl.web@gmail.com>
10797
10798 * net/rcirc.el (rcirc-mode): Conditionally initialize
10799 rcirc-input-ring.
10800
77694924
SM
108012011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10802
10803 * emacs-lisp/find-func.el (find-function-C-source): Only set
10804 find-function-C-source-directory after checking that we found a source
10805 file there (bug#9440).
10806
d809b8eb
AM
108072011-09-06 Alan Mackenzie <acm@muc.de>
10808
10809 * isearch.el (isearch-other-meta-char): Wherever a key list is
10810 unread, "unread" the prefix arg, too. This fixes bug #8901.
10811
453de99f
OG
108122011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10813
10814 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10815
90439906
JL
108162011-09-05 Juri Linkov <juri@jurta.org>
10817
10818 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10819
f62bd846
JL
108202011-09-05 Juri Linkov <juri@jurta.org>
10821
10822 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10823 keeping point where processing of grep matches begins, and
10824 continue to delete remaining escape sequences from the same point.
10825 (grep-filter): Make leading zero optional in "0?1;31m" because
10826 git-grep emits "\033[1;31m" escape sequences unlike expected
10827 "\033[01;31m" as GNU Grep does (bug#9408).
10828 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10829
045820ec
JL
108302011-09-05 Juri Linkov <juri@jurta.org>
10831
10832 * subr.el (y-or-n-p): Capitalize "yes".
10833
f5e29b9b
MA
108342011-09-04 Michael Albinus <michael.albinus@gmx.de>
10835
10836 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10837 `tramp-cache-unload-hook' where appropriate.
10838 (tramp-methods): Rename `tramp-remote-sh' to
10839 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10840 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10841
10842 * net/tramp-sh.el (top): Don't require 'shell.
10843 (tramp-methods): Add `tramp-remote-shell' and
10844 `tramp-remote-shell-args' entries.
10845 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10846 (tramp-sh-handle-shell-command): Remove.
10847 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10848 Use `tramp-remote-shell'.
10849
2784c434
CY
108502011-09-03 Chong Yidong <cyd@stupidchicken.com>
10851
393a301e 10852 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10853 (sendmail-query-once): Save directly to send-mail-function.
10854 Update message-send-mail-function too.
10855
10856 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10857
464cdf56
CS
108582011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10859
10860 * progmodes/python.el (python-mode-map): Use correct function to
10861 start python interpreter from menu-bar (as reported by Geert
10862 Kloosterman).
10863 (inferior-python-mode-map): Fix typo.
393a301e 10864 (python-shell-map): Remove.
464cdf56 10865
d37e5c87
DD
108662011-09-03 Deniz Dogan <deniz@dogan.se>
10867
10868 * net/rcirc.el (rcirc-print): Simplify code for
10869 rcirc-scroll-show-maximum-output. There is no need to walk
10870 through all windows to find the right one.
10871
f3ada0ee
CS
108722011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10873
10874 * help.el (help-return-method): Doc fix.
10875
1f3c99ca
MR
108762011-09-03 Martin Rudalics <rudalics@gmx.at>
10877
10878 * window.el (window-deletable-p): Don't return a non-nil value
10879 when there's a buffer that was shown in the window before.
10880 (Bug#9419)
393a301e
SM
10881 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10882 Set window's previous buffers to nil.
1f3c99ca 10883
a3cf097f
EZ
108842011-09-03 Eli Zaretskii <eliz@gnu.org>
10885
10886 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10887 newline before and after the tag line, so it doesn't interfere
10888 with determining the paragraph direction of bidirectional text.
10889
3d03de90
LL
108902011-09-03 Leo Liu <sdl.web@gmail.com>
10891
10892 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10893
c3313451
CY
108942011-09-02 Chong Yidong <cyd@stupidchicken.com>
10895
393a301e 10896 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10897 (pop-to-buffer): Change interactive spec. Pass second argument
10898 directly to display-buffer.
10899 (display-buffer): Fix interactive spec. Use functionp to
10900 distinguish between a function and a list of functions.
10901
10902 * abbrev.el (edit-abbrevs):
10903 * arc-mode.el (archive-extract):
10904 * autoinsert.el (auto-insert):
10905 * bookmark.el (bookmark-bmenu-list):
10906 * files.el (find-file):
10907 * view.el (view-buffer):
10908 * progmodes/compile.el (compilation-goto-locus):
10909 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10910
89894cd8
CY
109112011-09-02 Chong Yidong <cyd@stupidchicken.com>
10912
10913 * window.el (display-buffer-alist): Doc fix.
10914 (display-buffer): Add docstring. Don't treat
10915 display-buffer-default specially.
10916 (display-buffer-reuse-selected-window)
10917 (display-buffer-same-window, display-buffer-maybe-same-window)
10918 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10919 (display-buffer-pop-up-window)
10920 (display-buffer-reuse-or-pop-window)
10921 (display-buffer-use-some-window): New functions.
10922 (display-buffer-default-action): Use them.
393a301e 10923 (display-buffer-default): Delete.
89894cd8
CY
10924 (pop-to-buffer-1): Fix choice of actions.
10925
ae0bc9fb
SM
109262011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10927
10928 * minibuffer.el (completion--insert-strings): Don't get confused by
10929 completion entries that end with an LF char.
10930
e9d90883
EZ
109312011-09-01 Eli Zaretskii <eliz@gnu.org>
10932
10933 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10934
437014c8
CY
109352011-09-01 Chong Yidong <cyd@stupidchicken.com>
10936
10937 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10938 (display-buffer-same-window, display-buffer-other-window):
10939 New functions.
437014c8
CY
10940 (pop-to-buffer-1): New function. Use the above.
10941 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10942 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10943
10944 * view.el (view-buffer-other-window, view-buffer-other-frame):
10945 Just use pop-to-buffer.
10946
a5e063d5
TV
109472011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10948
10949 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10950
793d32bb
WH
109512011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10952
10953 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10954
d65e4c15
RS
109552011-08-31 Richard Stallman <rms@gnu.org>
10956
10957 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10958 of the separation of rmail-view-buffer from rmail-buffer.
10959 If you say no to "replace original", the decrypt is in the
10960 view buffer. If you say yes, the decrypt goes into the
10961 rmail buffer also.
10962
f818cd2a
MR
109632011-08-31 Martin Rudalics <rudalics@gmx.at>
10964
10965 * window.el (display-buffer-window): Rewrite doc-string.
10966 (display-buffer-record-window): New function.
10967 (display-buffer-macro-specifiers)
10968 (display-buffer-even-window-sizes, display-buffer-set-height)
10969 (display-buffer-set-width, display-buffer-in-window)
10970 (display-buffer-reuse-window, display-buffer-split-specifiers)
10971 (display-buffer-side-specifiers, display-buffer-split-window-1)
10972 (display-buffer-split-window, display-buffer-split-atom-window)
10973 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10974 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10975 (display-buffer-other-window-means-other-frame)
10976 (display-buffer-normalize-special)
10977 (display-buffer-normalize-default)
10978 (display-buffer-normalize-argument)
10979 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10980 (display-buffer-normalize-specifiers, display-buffer-frame)
10981 (display-buffer-same-window, display-buffer-same-frame)
10982 (display-buffer-other-window)
10983 (display-buffer-same-frame-other-window)
10984 (display-buffer-other-frame, pop-to-buffer-same-window)
10985 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10986 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10987 (switch-to-buffer-same-frame)
10988 (switch-to-buffer-other-window-same-frame)
10989 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10990 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10991 (display-buffer-alist-set): Remove.
10992 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10993 (special-display-regexps, special-display-function):
10994 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10995 parameter.
10996 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10997 (special-display-frame-alist, special-display-popup-frame)
10998 (same-window-buffer-names, same-window-regexps, same-window-p)
10999 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
11000 (split-window-preferred-function, split-height-threshold)
11001 (split-width-threshold, window-splittable-p)
11002 (split-window-sensibly, window--try-to-split-window)
11003 (window--frame-usable-p, even-window-heights)
11004 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
11005 (window--display-buffer-2, display-buffer-other-frame):
11006 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
11007 (display-buffer-default, display-buffer-assq-regexp): New functions.
11008 (display-buffer-alist): Rewrite doc-string.
11009 (display-buffer-default-action)
11010 (display-buffer-overriding-action): New variables.
11011 (display-buffer, switch-to-buffer): Rewrite.
11012 (pop-to-buffer): Restore Emacs 23 behavior but use
11013 window-normalize-buffer-to-display.
11014 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
11015 Restore Emacs 23 behavior but use
11016 window-normalize-buffer-to-switch-to.
11017 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
11018 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11019 Rewrite using Emacs 23 options.
f818cd2a 11020
5bc3b51d
MA
110212011-08-31 Michael Albinus <michael.albinus@gmx.de>
11022
11023 * net/tramp.el (tramp-root-regexp): Remove.
11024 (tramp-completion-file-name-regexp-unified)
11025 (tramp-completion-file-name-regexp-separate)
11026 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11027 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11028 (tramp-drop-volume-letter): Simplify definition.
11029 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11030
b1a4f8e1
SM
110312011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11032
11033 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11034 (bug#9356).
11035
5664fa7b
RT
110362011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11037
b1a4f8e1 11038 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11039
9a45d6c3
JL
110402011-08-29 Juri Linkov <juri@jurta.org>
11041
11042 * isearch.el (isearch-done): Don't display message "Mark saved"
11043 when arg `edit' is non-nil to prevent its flicker in the echo area.
11044
fb87e0fb
CY
110452011-08-28 Chong Yidong <cyd@stupidchicken.com>
11046
11047 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11048 obsolete packages for deletion.
11049
09ac1c2a
CS
110502011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11051
11052 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11053 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11054 view-mode from help-mode.
11055 (help-xref-override-view-map): Remove.
11056 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11057 view-mode is not used anymore.
11058
7a1ff57f
CY
110592011-08-28 Chong Yidong <cyd@stupidchicken.com>
11060
11061 * server.el (server-port): Doc fix.
11062
b9696605
CY
11063 * cus-theme.el (custom-theme-choose-mode): Inherit from
11064 special-mode (Bug#9124).
11065 (custom-theme-choose-mode-map): Add special-mode to parent.
11066
ef8cdf8c
AM
110672011-08-28 Alan Mackenzie <acm@muc.de>
11068
11069 * progmodes/cc-fonts.el
11070 (c-make-font-lock-BO-decl-search-function): New function.
11071 (c-basic-matchers-after - "Fontify the clauses after various
11072 keywords"): Extract the three keyword lists for the 3 erroneous
11073 constructs from the list of four, and use the new function above
11074 in place of an old one.
11075
27de4e20
DD
110762011-08-28 Deniz Dogan <deniz@dogan.se>
11077
11078 * net/rcirc.el (rcirc-insert-prev-input)
11079 (rcirc-insert-next-input): Remove unused argument.
11080
356a3681
SM
110812011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11082
11083 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11084
3fc9b218
AM
110852011-08-27 Alan Mackenzie <acm@muc.de>
11086
11087 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11088 handle function pointer parameters properly.
11089
538a061c
MR
110902011-08-27 Martin Rudalics <rudalics@gmx.at>
11091
11092 * window.el (display-buffer-reuse-window): Fix case where
11093 selected window was reused with non-nil OTHER-WINDOW argument.
11094 (Bug#9381)
11095
35b1c40c
DD
110962011-08-27 Deniz Dogan <deniz@dogan.se>
11097
11098 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11099 oftc's NickServ messages.
11100
2f6a3e79
GM
111012011-08-27 Glenn Morris <rgm@gnu.org>
11102
11103 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11104
7254299e
CY
111052011-08-26 Chong Yidong <cyd@stupidchicken.com>
11106
11107 * emacs-lisp/package.el (package-install): Call package-initialize
11108 if called interactively.
11109
f8ccf167
LL
111102011-08-26 Leo Liu <sdl.web@gmail.com>
11111
11112 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11113
3e8cd5ce
JL
111142011-08-25 Juri Linkov <juri@jurta.org>
11115
11116 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11117 `search-whitespace-regexp' (bug#9364).
11118
93eb7113
JL
111192011-08-25 Juri Linkov <juri@jurta.org>
11120
11121 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11122 `regexp-search-ring' to their global values to protect from
11123 updating by `read-from-minibuffer' (bug#9185).
11124
f65d1611
JL
111252011-08-25 Juri Linkov <juri@jurta.org>
11126
11127 * textmodes/ispell.el (ispell-command-loop): Add newline
11128 at the end of the "Use option `i'..." line.
11129
f1cf7a31
JL
111302011-08-25 Juri Linkov <juri@jurta.org>
11131
11132 * battery.el (display-battery-mode): If `battery-status-function'
11133 or `battery-mode-line-format' is nil, display the message and set
11134 `display-battery-mode' to nil (bug#9363).
11135
0c95fcf7
EZ
111362011-08-25 Eli Zaretskii <eliz@gnu.org>
11137
11138 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11139 bidi-string-mark-left-to-right; they are unnecessary now.
11140
a2ebe600
DD
111412011-08-25 Deniz Dogan <deniz@dogan.se>
11142
11143 * net/quickurl.el: Documentation typo fixes.
11144
e4ed06f1
CY
111452011-08-25 Chong Yidong <cyd@stupidchicken.com>
11146
11147 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11148
e5f1c99e
GM
111492011-08-25 Glenn Morris <rgm@gnu.org>
11150
b2948976
GM
11151 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11152
e5f1c99e
GM
11153 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11154 (smtpmail-via-smtp): Handle nil response from smtp.
11155
f22f4808
JL
111562011-08-24 Juri Linkov <juri@jurta.org>
11157
11158 * proced.el (proced-marked): Inherit from `error' instead of
11159 `font-lock-warning-face'.
11160
11161 * ibuffer.el (ibuffer-marked-face): Change default face from
11162 `font-lock-warning-face' to `warning'.
11163 (ibuffer-deletion-face): Change default face from
11164 `font-lock-type-face' to `error'.
11165
11166 * battery.el (battery-update): Use the face `error' instead of
11167 `font-lock-warning-face' (bug#6117).
11168
6a93965e
JL
111692011-08-24 Juri Linkov <juri@jurta.org>
11170
11171 * faces.el (success): Change face color from "Green3" to
11172 "ForestGreen" on light background (bug#9353).
11173
1ed43b09
CY
111742011-08-24 Chong Yidong <cyd@stupidchicken.com>
11175
5664fa7b
RT
11176 * window.el (quit-window): Rename from quit-restore-window.
11177 Use same arglist as old quit-window.
1ed43b09
CY
11178 (frame-auto-delete): Doc fix.
11179
11180 * view.el (view-mode-exit): Use quit-window.
11181
11dcdbb2
JL
111822011-08-24 Juri Linkov <juri@jurta.org>
11183
11184 * isearch.el (isearch-ring-adjust1): Start visiting previous
11185 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11186 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11187 for empty search string (when the last search string is reused
11188 automatically) to adjust the isearch ring to the last element and
11189 prepare the correct index for further M-p commands (bug#9185).
11190
de62b4df
KH
111912011-08-24 Kenichi Handa <handa@m17n.org>
11192
11193 * international/ucs-normalize.el: If decomposition property of
11194 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11195 nil.
11196 (nfd, nfkd): Likewise.
11197
963b492b
SM
111982011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11199
11200 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11201 from process filters aren't reliably transmitted to the surrounding
11202 accept-process-output.
11203 (mpc-proc-check): New function.
11204 (mpc-proc-sync): Use it (bug#8293)
11205
93b6b5e1
SM
112062011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11207
11208 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11209 Add compatibility functions (bug#9313).
11210
bca633fb
EZ
112112011-08-23 Eli Zaretskii <eliz@gnu.org>
11212
b177498a
EZ
11213 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11214
6df6ae42 11215 * international/uni-bidi.el: Regenerate.
bca633fb 11216
0902a04e
KH
112172011-08-23 Kenichi Handa <handa@m17n.org>
11218
11219 * international/charprop.el:
11220 * international/uni-bidi.el:
11221 * international/uni-category.el:
11222 * international/uni-combining.el:
11223 * international/uni-comment.el:
11224 * international/uni-decimal.el:
11225 * international/uni-decomposition.el:
11226 * international/uni-digit.el:
11227 * international/uni-lowercase.el:
11228 * international/uni-mirrored.el:
11229 * international/uni-name.el:
11230 * international/uni-numeric.el:
11231 * international/uni-old-name.el:
11232 * international/uni-titlecase.el:
11233 * international/uni-uppercase.el: Regenerate.
11234
3bbf23bc
MR
112352011-08-23 Martin Rudalics <rudalics@gmx.at>
11236
11237 * help.el (help-window-setup): Fix message displayed when other
11238 window is reused. (Bug#9341)
11239
b3fd59bd
SM
112402011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11241
1802e444
SM
11242 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11243 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11244
b3fd59bd
SM
11245 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11246 Mark obsolete.
11247 * shell.el (shell-parse-pcomplete-arguments): New function.
11248 (shell-completion-vars): Use it instead (bug#9160).
11249
4eb61348
SM
112502011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11251
867cab74
SM
11252 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11253 strings and comments (bug#9333).
11254
4eb61348
SM
11255 * emacs-lisp/debug.el (debug-arglist): New function.
11256 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11257 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11258
262a1439
JL
112592011-08-22 Juri Linkov <juri@jurta.org>
11260
56ee679c
JL
11261 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11262 Revert regexp that highlights output switches to its old
11263 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11264
262a1439
JL
11265 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11266 to check for empty output (bug#9226).
11267
f13f86fb
CY
112682011-08-22 Chong Yidong <cyd@stupidchicken.com>
11269
11270 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11271 symbol-constituent as the default, as that stops font-lock from
11272 working properly (Bug#8843).
11273
c65c9622
LMI
112742011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11275
11276 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11277 `coding-system-for-*' around the process open call to avoid
11278 auth-source side effects.
e7f2c178 11279 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11280 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11281 probe hangs.
c65c9622 11282
23a8a5ab
CY
112832011-08-21 Chong Yidong <cyd@stupidchicken.com>
11284
ff98b2dd
CY
11285 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11286
23a8a5ab
CY
11287 * emacs-lisp/find-func.el (find-function-noselect): New arg
11288 lisp-only.
11289
11290 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11291 signal an error for built-in functions (Bug#6664).
11292
f5e3c598
LMI
112932011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11294
11295 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11296 (smtpmail-try-auth-methods): Use it.
11297
a3f2468a
CY
112982011-08-21 Chong Yidong <cyd@stupidchicken.com>
11299
2c34e8da
CY
11300 * font-lock.el (font-lock-fontify-region)
11301 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11302 (font-lock-default-unfontify-buffer)
11303 (font-lock-default-fontify-region)
11304 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11305
b3fd59bd
SM
11306 * progmodes/compile.el (compilation-error-properties):
11307 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11308 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11309 `ant' regexp.
ee31aabc 11310
a3f2468a
CY
11311 * net/browse-url.el (browse-url-firefox): Don't call
11312 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11313
8e999f70
GM
113142011-08-20 Glenn Morris <rgm@gnu.org>
11315
c21a496a
GM
11316 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11317
59ee0542
GM
11318 * tutorial.el (tutorial--default-keys): Update some default bindings.
11319
8e999f70
GM
11320 * files.el (hack-local-variables): Fully ignore case for "mode:".
11321
e3715033
AM
113222011-08-20 Alan Mackenzie <acm@muc.de>
11323
11324 Resolve invalid use of a regexp in regexp-opt.
11325
4d61f28d
JB
11326 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11327 detection for a java annotation.
e3715033 11328
4d61f28d 11329 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11330 detection for a java annotation.
11331
4d61f28d
JB
11332 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11333 handling for java.
e3715033
AM
11334 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11335
04ed2e9c
CY
113362011-08-20 Chong Yidong <cyd@stupidchicken.com>
11337
11338 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11339 (Bug#9274).
11340
826cee64
AM
113412011-08-20 Alan Mackenzie <acm@muc.de>
11342
58179cce 11343 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11344 such a construct. Mainly for when jit-lock etc. starts a chunk
11345 here.
11346
58179cce 11347 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11348 variable.
58179cce 11349 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11350 c-make-font-lock-search-function.
11351 (c-make-font-lock-search-function): Use the above function.
11352 (c-make-font-lock-context-search-function): New function.
11353 (c-cpp-matchers): Enhance the preprocessor expression case with
11354 the above function
11355 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11356 which takes an expression.
11357
11358 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11359
13009bd8
MR
113602011-08-20 Martin Rudalics <rudalics@gmx.at>
11361
11362 * window.el (display-buffer-reuse-window)
11363 (display-buffer-pop-up-window): Don't reuse or split a side
11364 window.
11365
9234ff7f
GM
113662011-08-19 Glenn Morris <rgm@gnu.org>
11367
11368 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11369 Downcase "Mode:". (Bug#9331)
9234ff7f 11370
f635daa1
CY
113712011-08-18 Chong Yidong <cyd@stupidchicken.com>
11372
11373 * international/characters.el: Add L and R categories.
11374
11375 * subr.el (bidi-string-mark-left-to-right): Rename from
11376 string-mark-left-to-right. Use category search.
11377
11378 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11379
bc987f8b
JL
113802011-08-18 Juri Linkov <juri@jurta.org>
11381
11382 * faces.el (error, warning, success): New faces with definitions
11383 copied from old default values of `font-lock-warning-face',
11384 `compilation-warning', `compilation-info' (bug#6117).
11385
11386 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11387
11388 * progmodes/compile.el (compilation-error): Inherit from `error'.
11389 (compilation-warning): Inherit from `warning'.
11390 (compilation-info): Inherit from `success'.
11391
11392 * dired.el (dired-marked): Inherit from `warning'.
11393 (dired-flagged): Inherit from `error'.
11394
57173b96
LMI
113952011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11396
3e79eb87
LMI
11397 * mail/smtpmail.el (auth-source): Require to avoid problems with
11398 binding variables (bug#9298). Also clean up some unused
11399 autoloads.
11400
b3fd59bd
SM
11401 * net/network-stream.el (network-stream-open-starttls):
11402 Support using starttls.el without using gnutls-cli.
57173b96 11403
02b404de
JL
114042011-08-17 Juri Linkov <juri@jurta.org>
11405
11406 * progmodes/grep.el (rgrep): Handle the case when
11407 `grep-find-command' is a cons cell (bug#9278).
11408
8c9177f2
MR
114092011-08-17 Martin Rudalics <rudalics@gmx.at>
11410
11411 * window.el (display-buffer-pop-up-frame): Run frame creation
11412 function with BUFFER current (as special-display-popup-frame
11413 does). Reported by Drew Adams.
11414
3644a0ab
DU
114152011-08-17 Daiki Ueno <ueno@unixuser.org>
11416
11417 * epa-mail.el: Simplify GnuPG group expansion using
11418 epg-expand-group.
11419 (epa-mail-group-alist, epa-mail-group-modtime)
11420 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11421 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11422 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11423 Remove.
11424
5e617bc2 114252011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11426
11427 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11428
9c4aeabf
AM
114292011-08-16 Alan Mackenzie <acm@muc.de>
11430
11431 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11432 Correct, to avoid the inside of macros.
11433
3a99bf64
RS
114342011-08-16 Richard Stallman <rms@gnu.org>
11435
04963aa8
RS
11436 * epa-mail.el: Handle GnuPG group definitions.
11437 (epa-mail-group-alist, epa-mail-group-modtime)
11438 (epa-mail-gnupg-conf-file): New variables.
11439 (epa-mail-parse-groups, epa-mail-sync-groups)
11440 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11441 (epa-mail-expand-recipients): New functions.
11442 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11443
177549d0
RS
11444 * mail/rmail.el (rmail-epa-decrypt): New command.
11445
fe38beef
RS
11446 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11447 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11448 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11449 (epa-decrypt-armor-in-region): Make error message clearer.
11450
934eacb9
SM
114512011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11452
11453 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11454 and "a2b" to "ab" for `prefix'.
11455
d024fb4e
CY
114562011-08-14 Chong Yidong <cyd@stupidchicken.com>
11457
11458 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11459 filter groups.
de148fee
CY
11460 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11461 Fourquet (Bug#8804).
d024fb4e 11462
62f1ca49
JB
114632011-08-12 Juanma Barranquero <lekktu@gmail.com>
11464
11465 * startup.el (argi): Declare as global variable (bug#9275).
11466
9ccaaa4b
CY
114672011-08-12 Chong Yidong <cyd@stupidchicken.com>
11468
11469 * subr.el (string-mark-left-to-right): Search the entire string
11470 for RTL script, not just the terminating character. Doc fix.
11471
a3dae87a
SM
114722011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11473
6cd18349
SM
11474 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11475 New function.
11476 (js--regexp-literal, js-syntax-propertize-function): Remove.
11477 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11478 (js-mode-map): Don't rebind electric keys.
11479 (js-insert-and-indent): Remove.
11480 (js-mode): Setup electric-layout and electric-indent instead.
11481
a3dae87a
SM
11482 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11483
9d5cb631
DU
114842011-08-12 Daiki Ueno <ueno@unixuser.org>
11485
11486 * epa.el (epa-progress-callback-function): Fix the logic of
11487 displaying progress.
11488 * epa-file.el (epa-file-insert-file-contents): Make progress
11489 display more user-friendly.
11490 (epa-file-write-region): Ditto.
11491
3e26a4a2
CY
114922011-08-10 Chong Yidong <cyd@stupidchicken.com>
11493
11494 * subr.el (string-mark-left-to-right): New function.
11495
11496 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11497 Use string-mark-left-to-right.
11498 (list-buffers-noselect): Caller changed.
11499
a3dae87a
SM
11500 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11501 Use string-mark-left-to-right.
3e26a4a2
CY
11502 (tabulated-list-print): Recenter after moving point.
11503
ac8cf6e6
JL
115042011-08-10 Juri Linkov <juri@jurta.org>
11505
11506 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11507 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11508 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11509
8d96c9a4
CY
115102011-08-09 Chong Yidong <cyd@stupidchicken.com>
11511
11512 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11513 (Bug#7554).
11514
7be1c708 115152011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11516
11517 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11518 character. (Bug#6594)
11519
37e11a63
CY
115202011-08-08 Chong Yidong <cyd@stupidchicken.com>
11521
839dde57
CY
11522 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11523 (image-dired--with-db-file): New macro.
11524 (image-dired-write-tags, image-dired-remove-tag)
11525 (image-dired-create-gallery-lists, image-dired-write-comments)
11526 (image-dired-get-comment, image-dired-mark-tagged-files)
11527 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11528 (image-dired-gallery-generate): Use insert-file-contents.
11529
37e11a63
CY
11530 * time.el (display-time-world-list, display-time-world-display):
11531 * time-stamp.el (time-stamp-string):
11532 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11533 set-time-zone-rule (Bug#7337).
11534
0b4946c4
DU
115352011-08-08 Daiki Ueno <ueno@unixuser.org>
11536
11537 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11538 (epg-error-to-string, epg-errors-to-string): New function.
11539 (epg-wait-for-completion): Reverse errors list.
11540 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11541 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11542 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11543 (epg-sign-keys, epg-generate-key-from-file)
11544 (epg-generate-key-from-string): Format errors by using
11545 epg-errors-to-string (bug#9255).
11546 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11547
75bfc667
JL
115482011-08-07 Juri Linkov <juri@jurta.org>
11549
11550 * faces.el (list-faces-display): Remove extra angle bracket
11551 from `help-mode-map'.
11552
11553 * info.el (Info-history-toc-nodes): Doc fix.
11554
11555 * longlines.el (longlines-mode): Doc fix.
11556
673e08bb
SM
115572011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11558
4640dd88
SM
11559 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11560 of statements and in a few more cases (bug#9183).
11561
673e08bb
SM
11562 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11563 New functions.
11564 (cl-transform-lambda): Use them (bug#9239).
11565
89b3f019
MR
115662011-08-05 Martin Rudalics <rudalics@gmx.at>
11567
11568 * window.el (display-buffer-same-window)
11569 (display-buffer-same-frame, display-buffer-other-window)
11570 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11571 (pop-to-buffer-other-window)
11572 (pop-to-buffer-same-frame-other-window)
11573 (pop-to-buffer-other-frame): Make them defuns.
11574 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11575
640c8776
SM
115762011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11577
11578 * subr.el (make-composed-keymap): Move from C. Change calling
11579 convention, and improve docstring to bring attention to a subtle point.
11580 * minibuffer.el (completing-read-default): Adjust accordingly.
11581
63648a95
MA
115822011-08-03 Michael Albinus <michael.albinus@gmx.de>
11583
11584 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11585 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11586
11587 * net/trampver.el: Update release number.
11588
b796c9b7
SM
115892011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11590
11591 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11592 "in" (bug#9190).
11593
2239d7d5
LMI
115942011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11595
e07dd7c3
LMI
11596 * mail/sendmail.el (sendmail-query-once): Restore the current
11597 buffer after querying (bug#9074).
11598
0e6a2bd7
LMI
11599 * dired.el (dired-flagged): Use different faces for marked and
11600 flagged files (bug#6117).
11601
ce887515
LMI
11602 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11603 (bug#4433).
11604
92f2affc
LMI
11605 * ido.el (ido-mode): Switch off the message if called
11606 non-interactively.
11607
57d5aff0
LMI
11608 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11609 before 587, since it appears that that's more likely to work for
11610 more people.
11611
98cd6c18 11612 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11613 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11614 exist.
11615
b96dec83
LMI
11616 * info.el: Remove the `Info-beginning-of-buffer' function
11617 (bug#8325).
11618
b796c9b7
SM
11619 * net/network-stream.el (network-stream-open-starttls):
11620 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11621
d90e2ea0
MR
116222011-08-01 Martin Rudalics <rudalics@gmx.at>
11623
11624 * window.el (display-buffer-in-window): Don't set dedicated status
11625 of window here (Bug#9215).
11626 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11627 (display-buffer-pop-up-side-window)
b796c9b7 11628 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11629
cca09170
SM
116302011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11631
11632 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11633 before binding generated-autoload-file.
11634
027b979c
DD
116352011-08-01 Deniz Dogan <deniz@dogan.se>
11636
11637 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11638
3c7ee4f3
MA
116392011-07-30 Michael Albinus <michael.albinus@gmx.de>
11640
11641 Sync with Tramp 2.2.2.
11642
11643 * net/trampver.el: Update release number.
11644
2cc8e51a
JL
116452011-07-30 Juri Linkov <juri@jurta.org>
11646
11647 * dired-aux.el (dired-touch-initial): Remove function.
11648 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11649 current time, and `default' to the last modification time of the
11650 current marked file (bug#6887).
11651
a514d856
JM
116522011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11653
11654 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11655 numeric argument to read-number (bug#9163).
a514d856 11656
8a7eddd7
MA
116572011-07-27 Michael Albinus <michael.albinus@gmx.de>
11658
11659 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11660 connection process, it could be nil.
11661
1ddd96f5
LL
116622011-07-27 Leo Liu <sdl.web@gmail.com>
11663
11664 Simplify url handling in rcirc-mode.
11665
11666 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11667 (rcirc-browse-url-at-mouse): Remove.
11668 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11669
b248a85d
AM
116702011-07-26 Alan Mackenzie <acm@muc.de>
11671
11672 Fontify bitfield declarations properly.
11673
11674 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11675 (c-symbol-chars): Now exported as a lang variable.
11676 (c-not-primitive-type-keywords): New lang variable.
11677
11678 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11679 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11680 parsed as a bitfield declaration.
b248a85d 11681
b796c9b7
SM
11682 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11683 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11684 (c-punctuation-in): New function.
11685 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11686 declarations properly.
11687
68575ab0
UJ
116882011-07-26 Ulf Jasper <ulf.jasper@web.de>
11689
11690 * calendar/icalendar.el (icalendar--all-events): Take care of
11691 multiple vcalendars in a single file.
b796c9b7 11692 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11693
0f0a88b9
DD
116942011-07-25 Deniz Dogan <deniz@dogan.se>
11695
11696 * image.el (insert-image): Clarifying docstring.
11697
0b3f36df
MA
116982011-07-24 Michael Albinus <michael.albinus@gmx.de>
11699
11700 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11701 `tramp-send-command-and-check' if there is no error.
11702 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11703
a9901f61
AM
117042011-07-22 Alan Mackenzie <acm@muc.de>
11705
11706 Prevent cc-langs.elc being loaded at run time.
11707
11708 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11709 cc-langs.
11710
4d61f28d 11711 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11712 "(require 'cc-langs)". Quote a form so it will evaluate at
11713 (cc-mode's) compilation time.
11714
11d074b2
MA
117152011-07-22 Michael Albinus <michael.albinus@gmx.de>
11716
11717 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11718 loading. (Bug#9114)
11719
938b94c8
MR
117202011-07-21 Martin Rudalics <rudalics@gmx.at>
11721
11722 * window.el (display-buffer-pop-up-window)
11723 (display-buffer-pop-up-side-window)
11724 (display-buffer-in-side-window): Call display-buffer-set-height
11725 and display-buffer-set-width after setting the new window's
b796c9b7 11726 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11727
bfa4f190
SS
117282011-07-20 Sam Steingold <sds@gnu.org>
11729
11730 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11731 (etags-tags-included-tables): Call `convert-standard-filename' on
11732 the file names contained in TAGS so that windows Emacs can handle
11733 TAGS files created by cygwin ctags.
11734
8ca42262
LMI
117352011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11736
11737 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11738 which apparently didn't work.
11739
5db2afd2 117402011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11741
5db2afd2
RW
11742 * proced.el (proced-send-signal): For *Marked Processes* buffer
11743 put point at beginning of buffer.
11744
92e15d10
SB
117452011-07-19 Stephen Berman <stephen.berman@gmx.net>
11746
11747 * proced.el (proced-format): Make header lines align with the text
11748 (bug#1779).
11749
1bfd59e5
LMI
117502011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11751
11752 * view.el (view-buffer): Allow running in `special' modes if we're
11753 visiting a file (bug#8615).
11754
f5aae37c
MR
117552011-07-19 Martin Rudalics <rudalics@gmx.at>
11756
11757 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11758 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11759 New functions.
f5aae37c
MR
11760 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11761 more accurately.
11762
bf2c1571
AM
117632011-07-18 Alan Mackenzie <acm@muc.de>
11764
11765 Fontify declarators properly when, e.g., a jit-lock chunk begins
11766 inside a declaration.
11767
11768 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11769
b796c9b7
SM
11770 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11771 New function.
bf2c1571
AM
11772 (c-complex-decl-matchers): Insert reference to
11773 c-font-lock-enclosing-decls.
11774
11775 * progmodes/cc-engine.el (c-backward-single-comment):
11776 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11777 to nil around calls to (forward-comment -1).
11778
4e190b80
LMI
117792011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11780
12dc863d
LMI
11781 * image.el (put-image): Doc typo fix.
11782
a762e966
LMI
11783 * progmodes/etags.el (tags-search): Doc typo fix.
11784
4e190b80
LMI
11785 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11786 password if we get errors 550 to 554.
11787
f019fb21
LMI
117882011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11789
b796c9b7 11790 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11791
81746738
LMI
11792 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11793 indentation character (bug#6380).
11794
3ee3a1b5
LMI
11795 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11796
c82f64de
LMI
11797 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11798 to clarify what the problem is (bug#4291).
11799
f019fb21
LMI
11800 * simple.el (current-kill): Clarify what
11801 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11802 (auto-fill-mode): Document `auto-fill-function' in relation to
11803 `auto-fill-mode' (bug#2470).
f019fb21 11804
0794775d
LM
118052011-07-16 Lawrence Mitchell <wence@gmx.li>
11806
11807 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11808 method if slot is read-only (bug#9035).
11809
be39b8cc
MR
118102011-07-16 Martin Rudalics <rudalics@gmx.at>
11811
b796c9b7 11812 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11813 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11814 selected before, see discussion of (Bug#8615), (Bug#6954).
11815 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11816
6ccf7859
GM
118172011-07-15 Glenn Morris <rgm@gnu.org>
11818
11819 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11820 Respect help-form.
6ccf7859 11821
87e86684
LM
118222011-07-09 Lawrence Mitchell <wence@gmx.li>
11823
11824 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11825 (gnutls-negotiate): Use it.
11826
d6066239
LMI
118272011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11828
b796c9b7
SM
11829 * net/gnutls.el (gnutls-negotiate):
11830 Upcase `gnutls-algorithm-priority'.
d6066239 11831
bd23ebc0
GM
118322011-07-15 Glenn Morris <rgm@gnu.org>
11833
c65bca65
GM
11834 * jka-compr.el (jka-compr-verbose): Move from here...
11835 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11836 Add missing :version tag.
11837 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11838
478615cc
LMI
118392011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11840
7b41decb
LMI
11841 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11842 (gnutls-negotiate): Use it.
11843
dbc44fcd
LMI
11844 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11845
06789f97
LMI
11846 * info.el (Info-beginning-of-buffer): New command.
11847 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11848 announcing `b' as the key (bug#8325).
ab896c37 11849 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11850
c39da690
LMI
11851 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11852
3aa5f34b
LMI
11853 * international/mule-cmds.el
11854 (describe-specified-language-support): Make the error message
11855 clearer (bug#8905).
11856
4bf0979f
LMI
11857 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11858
478615cc
LMI
11859 * isearch.el (isearch-barrier): Add a doc string, since it's
11860 mentioned in a function doc string (bug#8678).
11861
75c68aa1
MR
118622011-07-15 Martin Rudalics <rudalics@gmx.at>
11863
11864 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11865 buffer argument (Bug#9083) and self-identifying label argument.
11866
a7c33da2
GM
118672011-07-15 Glenn Morris <rgm@gnu.org>
11868
11869 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11870
2f5c6024
LMI
118712011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11872
11873 * man.el (Man-fontify-manpage): Fix message when formatting the
11874 man page (bug#7929).
11875
0bb23927 118762011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11877
11878 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11879 argument LRM; if non-nil, append an invisible LRM character to the
11880 buffer name.
11881 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11882 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11883 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11884 paragraph direction.
cce4b0a7 11885
621ef9ab
LMI
118862011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11887
d1583c48
LMI
11888 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11889 the man page name (bug#7929).
11890
6a57fb5f
LMI
11891 * image.el (put-image): Mention the `put-image' overlay property
11892 (bug#7834).
11893
d7956b14
LMI
11894 * scroll-bar.el (set-scroll-bar-mode): Mention that
11895 `scroll-bar-mode' lists the values (bug#7772).
11896
5b2d4a66
LMI
11897 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11898 command (bug#7729).
11899
7509a874
LMI
11900 * rect.el (apply-on-rectangle): Return the point after the last
11901 operation.
11902 (string-rectangle): Go to the point after the last operation
11903 (bug#7522).
11904
4fe74b19
LMI
11905 * printing.el (pr-toggle-region): Clarify the documentation
11906 slightly (bug#7493).
11907
b796c9b7
SM
11908 * time.el (display-time-update):
11909 Allow `display-time-mail-function' to return nil (bug#7158).
11910 Fix suggested by Detlev Zundel.
ab283561 11911
fc233c9d
LMI
11912 * vc/diff.el (diff): Clarify the order the file names are read
11913 (bug#7111).
11914
43f5740b
LMI
11915 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11916 the doc string (bug#7015).
11917
f2182a76
LMI
11918 * font-lock.el (font-lock-maximum-decoration): Mention what
11919 numeric levels mean (bug#6935).
11920
621ef9ab
LMI
11921 * startup.el (initial-buffer-choice): Don't mention the `none'
11922 selection, which is against policy.
11923
adc47434
MR
119242011-07-14 Martin Rudalics <rudalics@gmx.at>
11925
b796c9b7
SM
11926 * window.el (display-buffer-normalize-special):
11927 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11928
7e5bfb8f
EZ
119292011-07-14 Eli Zaretskii <eliz@gnu.org>
11930
11931 * subr.el (version<, version<=, version=): Mention "-CVS" and
11932 "-12345" alpha version numbers.
11933
27fa387a
CY
119342011-07-14 Chong Yidong <cyd@stupidchicken.com>
11935
11936 * bindings.el: Add advertised binding for set-mark-command
11937 (Bug#5772).
11938
8bdfa064
CY
119392011-07-14 Chong Yidong <cyd@stupidchicken.com>
11940
11941 * bindings.el (mode-line-other-buffer):
11942 * bookmark.el (bookmark-bmenu-2-window):
11943 * bs.el (bs-cycle-next, bs-cycle-previous):
11944 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11945 switch-to-buffer.
11946
11947 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11948 Delete.
8bdfa064 11949
5eba16a3
JB
119502011-07-14 Juanma Barranquero <lekktu@gmail.com>
11951
11952 * follow.el (follow-debug-message, follow-redisplay):
11953 * jka-cmpr-hook.el (with-auto-compression-mode):
11954 Fix typos in docstrings.
11955
15853710
LMI
119562011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11957
a28e4607
LMI
11958 * subr.el (with-silent-modifications): Clarify somewhat what the
11959 macro inhibits (bug#6525).
11960
15853710
LMI
11961 * simple.el (eval-expression): Note what it does if called
11962 interactively (bug#6495).
11963
bee0fcef
CY
119642011-07-13 Chong Yidong <cyd@stupidchicken.com>
11965
b796c9b7
SM
11966 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11967 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11968
11969 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11970 Remove switch-to-buffer.
11971
58274504
LMI
119722011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11973
bd2fcc8d
LMI
11974 * files.el (make-directory): Clarify that an error will be raised
11975 if there's an error (bug#6397).
11976
0f04b32c
LMI
11977 * startup.el (initial-buffer-choice): Add `none' as a choice
11978 (bug#6234).
11979
465c5fc8
LMI
11980 * subr.el (add-hook): Clarify section about buffer-local hooks
11981 (bug#6218).
11982
58274504
LMI
11983 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11984
bead9a43
JB
119852011-07-13 Juanma Barranquero <lekktu@gmail.com>
11986
11987 * tabify.el (untabify): Preserve the current column so that point
11988 doesn't move (bug#6032).
11989
3af98a7b
LMI
119902011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11991
b796c9b7
SM
11992 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11993 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11994
6240145a
GM
119952011-07-13 Glenn Morris <rgm@gnu.org>
11996
11997 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11998 (dired-insert-directory): Give a message the first time
11999 if ls is found not to support --dired.
12000
1d8c2ccc
LMI
120012011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12002
12003 * simple.el (toggle-truncate-lines): Clarify what is toggled
12004 (bug#5580). Text by Drew Adams.
12005
5fc4038e
CY
120062011-07-13 Chong Yidong <cyd@stupidchicken.com>
12007
12008 * simple.el (blink-matching-open): Make the error message from the
12009 last change less verbose.
12010
bf6012e5
DN
120112011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
12012
12013 * font-lock.el (font-lock-comment-face): Use the high contrast
12014 "yellow" color for font-lock-comment-face on low color terminals
12015 using a dark background color (bug#4221).
12016
343c3b5a
LMI
120172011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12018
7e9505c5
LMI
12019 * dired.el (dired-insert-set-properties): Make the doc string
12020 reflect what it does now (bug#5325).
12021
c26fdcf5
LMI
12022 * simple.el (blink-matching-open): Say that we were unable to find
12023 the match within the limit, if we're limited (bug#5122).
12024
bb388cc5
LMI
12025 * international/mule-cmds.el (prefer-coding-system): Add an
12026 example (bug#4869).
12027
343c3b5a
LMI
12028 * progmodes/etags.el (tags-search): Document `file-list-form'
12029 (bug#4731).
12030
2a517d45
LM
120312011-07-13 Lawrence Mitchell <wence@gmx.li>
12032
12033 * net/browse-url.el (browse-url-default-browser)
12034 (browse-url-browser-function): Make the default browser choice a
12035 bit more logical (bug#4300). Also clean up the doc string.
12036
b6c78ef2
JB
120372011-07-13 Juanma Barranquero <lekktu@gmail.com>
12038
12039 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12040 binary endings (bug#4440).
12041
1c4dd947
LMI
120422011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12043
a2014063
LMI
12044 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12045 which can be pretty annoying (bug#8971).
12046
9c9c2d88
LMI
12047 * jka-compr.el (jka-compr-verbose): New variable, and use
12048 throughout (bug#8971).
12049
1c4dd947
LMI
12050 * info.el (Info-find-file): Fall back on the installation
12051 directory if we can't find the info node anywhere else.
12052
a1c9f41b
SO
120532011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12054
12055 * vc/vc.el (vc-revert-file):
12056 Don't set file time-stamp in the past. (Bug#5181)
12057
536f3d36
LMI
120582011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12059
7152b011
LMI
12060 * files.el (after-find-file): Give a better error message when
12061 trying to find a symlink that points to a file that doesn't exist
12062 (bug#4398).
12063
536f3d36
LMI
12064 * progmodes/cc-vars.el: Remove (probably) misleading comment
12065 (bug#4396).
12066
460c0fba
JB
120672011-07-12 Johan Bockgård <bojohan@gnu.org>
12068
12069 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12070
7a6bda45
CY
120712011-07-12 Chong Yidong <cyd@stupidchicken.com>
12072
12073 * mouse-sel.el: Hack restoring functionality, while keeping
12074 compatibility with 2010-07-03 changes to mouse selection.
12075 (mouse-sel-primary-overlay): New var.
12076 (mouse-sel-selection-alist): Use it.
12077 (mouse-sel-mode): Doc fix; remove points that are default features
12078 of mouse.el.
12079
c79598ef
JB
120802011-07-12 Johan Bockgård <bojohan@gnu.org>
12081
12082 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12083 Fix previous fix (bug#2490).
12084
ff8be6ef
RW
120852011-07-12 Roland Winkler <winkler@gnu.org>
12086
b796c9b7
SM
12087 * textmodes/bibtex.el (bibtex-initialize):
12088 Use pop-to-buffer-same-window.
ff8be6ef
RW
12089 (bibtex-search-entries): Fix interactive call.
12090
296ba3ee
LMI
120912011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12092
f5242a02 12093 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12094 Fontise bytecomp Error lines more correctly (bug#2490).
12095 Fix suggested by Johan Bockgård.
f5242a02 12096
296ba3ee
LMI
12097 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12098
12099 * dired-x.el (dired-guess-default): Use `delete-dups'.
12100
f69fd0d2
CY
121012011-07-12 Chong Yidong <cyd@stupidchicken.com>
12102
12103 * dired.el (dired-mark-prompt):
12104 * dired-aux.el (dired-read-shell-command): Doc fix.
12105
eab5dc07
LMI
121062011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12107
b796c9b7
SM
12108 * mail/sendmail.el (sendmail-query-once):
12109 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12110 emacs -Q.
12111
12112 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12113
eab5dc07
LMI
12114 * cus-edit.el (custom-file): Take an optional no-error variable.
12115 (customize-save-variable): Set the variable, and give a warning if
12116 running under "emacs -q".
12117
a1e65d42
JB
121182011-07-11 Juanma Barranquero <lekktu@gmail.com>
12119
12120 * loadhist.el (unload-feature-special-hooks):
12121 Add `auto-coding-functions', `fill-nobreak-predicate' and
12122 `find-directory-functions' (bug#5327).
12123
1d52da10
LMI
121242011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12125
be958f1d
LMI
12126 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12127
5bedb26c
LMI
12128 * cus-edit.el (custom-guess-name-alist): -alist variables should
12129 use the `alist' type (bug#3120). Suggested by Drew Adams.
12130
1d52da10
LMI
12131 * printing.el: Add documentation to all the `pr-toggle-' commands.
12132
cd394be1 121332011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12134
12135 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12136 backends where it makes sense (bug#2623).
12137
dcc88d8a
LMI
121382011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12139
c3de9feb
LMI
12140 * dired-x.el (dired-guess-default): Remove duplicate shell command
12141 entries (bug#2028).
8a93078b 12142 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12143 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12144
dcc88d8a
LMI
12145 * subr.el (remove-duplicates): New conveniency function.
12146
505e3645
LMI
121472011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12148
12149 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12150 (bug#1526).
12151
121522011-07-10 Martin Rudalics <rudalics@gmx.at>
12153
12154 * window.el (display-buffer-normalize-default): Don't invert
12155 meaning of even-window-heights. Reported by Eli Zaretskii
12156 <eliz@gnu.org>.
12157
455e4fa1
BR
121582011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12159
12160 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12161
8e0bc3e9
CY
121622011-07-10 Chong Yidong <cyd@stupidchicken.com>
12163
12164 * window.el (display-buffer): Fix arguments to
12165 display-buffer-reuse-window in last change.
12166
fa7c3228
CY
12167 * faces.el (link): Use a less saturated blue on light backgrounds.
12168
12169 * startup.el (fancy-startup-text, fancy-about-text)
12170 (fancy-startup-tail): Use font-lock faces, for background safety.
12171
c0a7f300
BN
121722011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12173
b796c9b7
SM
12174 * emulation/viper-cmd.el (viper-change-state-to-vi):
12175 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12176
4dc2a129
MR
121772011-07-09 Martin Rudalics <rudalics@gmx.at>
12178
12179 * window.el (display-buffer-default-specifiers): Remove.
12180 (display-buffer-macro-specifiers): Remove default specifiers.
12181 (display-buffer-alist): Default to nil.
b796c9b7 12182 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12183 (display-buffer-pop-up-window): Allow splitting internal
12184 windows. Check whether a live window was created.
12185 (display-buffer-other-window-means-other-frame)
12186 (display-buffer-normalize-arguments): Rename to
12187 display-buffer-normalize-argument and rewrite. Set the
12188 other-window specifier.
12189 (display-buffer-normalize-special): New function.
12190 (display-buffer-normalize-options): Rename to
12191 display-buffer-normalize-default and rewrite.
12192 (display-buffer-normalize-options-inhibit): Remove.
12193 (display-buffer-normalize-specifiers): Rewrite.
12194 (display-buffer): Process other-window specifier and call
12195 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12196 more faithfully.
b796c9b7 12197 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12198 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12199 (display-buffer-in-window, display-buffer-alist-set):
12200 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12201 <tassilo@member.fsf.org>.
12202
2d43b8c9
LL
122032011-07-09 Leo Liu <sdl.web@gmail.com>
12204
12205 * register.el (insert-register): Restore accidental change on
12206 2011-06-26. (Bug#9028)
12207
7f9b7c53
GM
122082011-07-09 Glenn Morris <rgm@gnu.org>
12209
12210 * subr.el (remq): Handle the empty list. (Bug#9024)
12211
f042cfd8
AS
122122011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12213
12214 * mail/sendmail.el (send-mail-function): No longer delay custom
12215 initialization.
12216 * custom.el (custom-initialize-delay): Doc fix.
12217
856b2f11
SM
122182011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12219
12220 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12221
afae1d68
MA
122222011-07-08 Michael Albinus <michael.albinus@gmx.de>
12223
12224 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12225 human-friendly prompt.
12226
0757af94
SM
122272011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12228
12229 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12230 provided by a particular plugin.
12231
d760b731
LMI
122322011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12233
12234 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12235 save customizations (with "emacs -Q"), just set the variable
12236 instead of erroring out.
12237
12238 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12239
cd79ce90
JL
122402011-07-08 Juri Linkov <juri@jurta.org>
12241
12242 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12243 (archive-zip-update-case): Use 7z if found by `executable-find'.
12244 The order of searching the available programs is the same as in
12245 `archive-zip-extract' (bug#8968).
12246
14cc04aa
CY
122472011-07-07 Chong Yidong <cyd@stupidchicken.com>
12248
12249 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12250 (menu-bar-options-menu): Tweak descriptions.
12251
0a1848ec
LMI
122522011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12253
12254 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12255 menu items into verb phrases (bug#1421). Also refill to fit under
12256 80 columns.
12257
f5bd0689
CY
122582011-07-07 Chong Yidong <cyd@stupidchicken.com>
12259
538e85c6
CY
12260 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12261 (Info-read-node-name): Doc fix (Bug#1084).
12262
f5bd0689
CY
12263 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12264 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12265 (end-of-sexp, beginning-of-sexp)
12266 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12267 (forward-symbol, forward-same-syntax, word-at-point)
12268 (sentence-at-point): Doc fix (Bug#1144).
12269
56ec5115
LMI
122702011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12271
f3f8e37f
LMI
12272 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12273 should cover it (bug#1281).
12274
0757af94 12275 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12276
e9fce1ac 12277 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12278 negotiation fails, then possibly try again with a non-encrypted
12279 connection (bug#9017).
12280
56ec5115
LMI
12281 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12282 be used.
12283
c2f9aec8
RS
122842011-07-07 Richard Stallman <rms@gnu.org>
12285
12286 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12287 property, and handle its changed format.
12288 Look for the correct line number.
12289 Use file's line contents (but not past first =) to find
12290 correct line in message.
12291
ef7b981d 122922011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12293
12294 * international/characters.el (build-unicode-category-table):
12295 Delete it.
0757af94 12296 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12297
0757af94 12298 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12299 to src/chartab.c.
12300 (get-char-code-property): Call unicode-property-table-internal to
12301 load a file. Call get-unicode-property-internal where necessary.
12302 (put-char-code-property): Call unicode-property-table-internal to
12303 load a file. Call put-unicode-property-internal where necessary.
12304 put-unicode-property-internal where necessary.
0757af94
SM
12305 (char-code-property-description):
12306 Call unicode-property-table-internal to load a file.
c805dec0
KH
12307
12308 * international/charprop.el:
12309 * international/uni-bidi.el:
12310 * international/uni-category.el:
12311 * international/uni-combining.el:
12312 * international/uni-comment.el:
12313 * international/uni-decimal.el:
12314 * international/uni-decomposition.el:
12315 * international/uni-digit.el:
12316 * international/uni-lowercase.el:
12317 * international/uni-mirrored.el:
12318 * international/uni-name.el:
12319 * international/uni-numeric.el:
12320 * international/uni-old-name.el:
12321 * international/uni-titlecase.el:
12322 * international/uni-uppercase.el: Regenerate.
12323
12324 * loadup.el: Load international/charprop.el before
12325 international/characters.
12326
e14b388a
CY
123272011-07-07 Chong Yidong <cyd@stupidchicken.com>
12328
12329 * window.el (next-buffer, previous-buffer): Signal an error if
12330 called from a minibuffer window.
12331
12332 * bindings.el: Revert 2011-07-04 change.
12333
354cf0ba
RS
123342011-07-06 Richard Stallman <rms@gnu.org>
12335
12336 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12337 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12338 Treat markers like ints.
12339 (rmail-mime-entity): Doc fix.
12340
a48868a7
LMI
123412011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12342
4906cd3d
LMI
12343 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12344 defcustom again for backwards compatibility.
12345
e0457abe
LMI
12346 * simple.el (shell-command-on-region): Fill.
12347
d67f7e1f
LMI
12348 * dired-aux.el (dired-kill-line): Add a doc string.
12349
fe204702
LMI
12350 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12351 to "\\sw\\|\\s_" (bug#358).
12352
a48868a7
LMI
12353 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12354 (dired-unmark-backward): Ditto.
12355 (dired-flag-backup-files): Ditto.
12356
12357 * dired-x.el (dired-mark-sexp): Ditto.
12358
aa8a705c
RS
123592011-07-06 Richard Stallman <rms@gnu.org>
12360
12361 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12362 (rmail-mime-entity): New arg TRUNCATED.
12363 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12364 New functions.
12365 (rmail-mime-save): Warn if entity is truncated.
12366 (rmail-mime-toggle-hidden): Likewise, for showing.
12367 (rmail-mime-process-multipart): Record when an entity is truncated.
12368
a9a936b9
RS
12369 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12370 if ENTITY is a string.
12371
1f2b92cb
LMI
123722011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12373
f4f73198 12374 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12375 of faces when `M-C-x'-ing their definitions (bug#8378).
12376 Also clean up the code slightly.
f4f73198 12377
12b16734 12378 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12379 because that makes the colors go away.
12b16734 12380
f0691d22
LMI
12381 * mail/sendmail.el (send-mail-function): Change the default to
12382 `sendmail-query-once'.
9e87df06 12383 (sendmail-query-once): Add an autoload cookie.
f0691d22 12384
1f2b92cb
LMI
12385 * net/network-stream.el (network-stream-open-starttls): Try using
12386 a plain connection even if the server offered STARTTLS, and we
12387 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12388 capability. This should make smtpmail.el work in slightly more
12389 configurations.
12390
1cdd2a1b
MA
123912011-07-06 Michael Albinus <michael.albinus@gmx.de>
12392
12393 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12394 New defun.
12395 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12396
fbcc67e2
MM
123972011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12398
12399 * progmodes/sql.el: Version 3.0
0757af94 12400 (sql-product-alist): Add product :completion-object,
fbcc67e2 12401 :completion-column, and :statement attributes.
0757af94 12402 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12403 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12404 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12405 ansi keywords.
12406 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12407 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12408 (sql-oracle-show-reserved-words): New function for development.
12409 (sql-product-font-lock): Simplify for source code buffers.
12410 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12411 New functions.
12412 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12413 (sql-mode-map): Add statement movement functions.
12414 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12415 New variable.
fbcc67e2
MM
12416 (sql-statement-regexp, sql-beginning-of-statement)
12417 (sql-end-of-statement, sql-signum): New functions.
0757af94 12418 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12419 (sql-show-sqli-buffer): Bug fix.
12420 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12421 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12422 with sql-interactive-mode.
12423 (sql-save-connection): Save buffer local settings.
0757af94 12424 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12425 (sql-product-interactive): Bug fix.
12426 (sql-preoutput-hold): New variable.
12427 (sql-interactive-remove-continuation-prompt): Bug fixes.
12428 (sql-debug-redirect): New variable.
12429 (sql-str-literal): New function.
12430 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12431 Redesign.
fbcc67e2
MM
12432 (sql-oracle-save-settings, sql-oracle-restore-settings)
12433 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12434 (sql-completion-object, sql-completion-column)
12435 (sql-completion-sqlbuf): New variables.
12436 (sql-build-completions-1, sql-build-completions)
12437 (sql-try-completion): New functions.
12438 (sql-read-table-name): Use them.
12439 (sql-contains-names): New buffer local variable.
12440 (sql-list-all, sql-list-table): Use it.
12441 (sql-oracle-completion-types): New variable.
12442 (sql-oracle-completion-object, sql-sqlite-completion-object)
12443 (sql-postgres-completion-object): New functions.
12444
d4eaeab1
GM
124452011-07-06 Glenn Morris <rgm@gnu.org>
12446
12447 * window.el (pop-to-buffer): Doc fix.
12448
322b7dab 124492011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12450
12451 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12452
322b7dab 124532011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12454
322b7dab 12455 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12456
322b7dab 12457 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12458
605dd5bf
CY
124592011-07-05 Chong Yidong <cyd@stupidchicken.com>
12460
12461 * button.el (button): Inherit from link face. Suggested by Dan
12462 Nicolaescu.
12463
7dbfa719
SM
124642011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12465
3db614b0
SM
12466 * progmodes/gdb-mi.el: Fit in 80 columns.
12467 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12468 switch-to-buffer.
12469
7dbfa719
SM
12470 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12471 if imenu is simply not configured (bug#8941).
12472
919d884a
KM
124732011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12474
12475 * allout.el (allout-post-undo-hook): New allout outline-change
12476 event hook to signal undo activity.
12477 (allout-post-command-business): Run allout-post-undo-hook if an
12478 undo just occurred.
7dbfa719
SM
12479 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12480 * allout-widgets.el (allout-widgets-after-undo-function):
12481 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12482 in the vicinity of an undo.
12483 (allout-widgets-mode): Include allout-widgets-after-undo-function
12484 on the new allout-post-undo-hook.
12485
450a0f09
SM
124862011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12487
12488 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12489 Let define-derived-mode define it.
12490 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12491 cycles of abbrev-table inheritance (bug#8998).
12492
2de69e00
RW
124932011-07-05 Roland Winkler <winkler@gnu.org>
12494
12495 * textmodes/bibtex.el: Add support for biblatex.
12496 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12497 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12498 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12499 (bibtex-entry-alist, bibtex-field-alist): New variables.
12500 (bibtex-entry-field-alist): Obsolete alias for
12501 bibtex-BibTeX-entry-alist.
12502 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12503 (bibtex-set-dialect): New command.
12504 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12505 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12506 Bind via bibtex-set-dialect.
2de69e00
RW
12507 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12508 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12509 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12510 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12511 Define via bibtex-set-dialect.
450a0f09
SM
12512 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12513 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12514 (bibtex-vec-push, bibtex-vec-incr): New functions.
12515 (bibtex-format-entry, bibtex-field-list)
12516 (bibtex-print-help-message, bibtex-validate)
12517 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12518
2dcdbdd9
SM
125192011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12520
12521 * progmodes/compile.el (compilation-goto-locus):
12522 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12523 * bs.el (bs-cycle-next, bs-cycle-previous):
12524 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12525 * bindings.el (mode-line-other-buffer):
12526 * autoinsert.el (auto-insert):
12527 * arc-mode.el (archive-extract):
12528 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12529
b27640fe
JB
125302011-07-05 Juanma Barranquero <lekktu@gmail.com>
12531
12532 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12533 Fix check of `emacs-lock-unlockable-modes'.
12534 Coerce true values of `emacs-lock--try-unlocking' to t.
12535
53bbe3ad
JB
125362011-07-05 Juanma Barranquero <lekktu@gmail.com>
12537
12538 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12539 * emacs-lock.el: New file.
12540
1d3cdbc7
JD
125412011-07-05 Julien Danjou <julien@danjou.info>
12542
12543 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12544 than `boundp' to check if face is set.
12545
9173deec
JB
125462011-07-05 Juanma Barranquero <lekktu@gmail.com>
12547
12548 * register.el (registerv-make):
12549 * window.el (window-min-height): Fix typos in docstrings.
12550
869795d6
JD
125512011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12552
9173deec 12553 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12554 Update doc string.
12555
b768cdcd
JB
125562011-07-04 Juanma Barranquero <lekktu@gmail.com>
12557
12558 * server.el (server-execute): Catch quit and call
12559 `server-return-error' to pass the error back to emacsclient and
12560 close the connection (bug#8942).
12561
13aa217b
KM
125622011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12563
12564 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12565 insecure exception for current topic. Also note that auto-saves
12566 are handled differently.
12567
5d3385a0 12568 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12569 State variables for tracking auto-save inhibition situation.
12570
12571 (allout-write-contents-hook-handler): Rename from
12572 'allout-write-file-hook-handler', and describe how it depends on
12573 write-contents-functions sensitivity to non-nil value to prevent
12574 file write.
12575
12576 (allout-auto-save-hook-handler): Remove. auto-save does not check
12577 this in individual buffers, only in the starting buffer, so this
12578 is not the right way for us to inhibit auto-save in a buffer
12579 according to its condition.
12580
12581 (allout-mode): Use new allout-write-contents-hook-handler, and
12582 only with write-contents-functions. Remove auto-save provisions -
12583 they're implemented elsewhere.
12584
12585 (allout-before-change-handler): If undo is in progress, note that
12586 for attention of allout-post-command-business.
12587
12588 (allout-post-command-business): If the command we're following was
12589 an undo, check for change in the status of encrypted items and
12590 adjust auto-save inhibitions accordingly.
12591
12592 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12593 according to whether there are or aren't any plain-text topics
12594 pending encryption.
12595
2dcdbdd9 12596 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12597 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12598 if there are plain-text topics pending encryption.
13aa217b
KM
12599
12600 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12601 buffer-saved-size and some allout state to not inhibit auto-saves
12602 if there are no longer any plain-text topics pending encryption.
12603
0757af94
SM
12604 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12605 No longer provide for exemption of the current topic.
13aa217b 12606
ac89b32c
JL
126072011-07-04 Juri Linkov <juri@jurta.org>
12608
12609 Add 7z operations to delete and save changed members (bug#8968).
12610 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12611 New defcustoms.
12612 (archive-7z-write-file-member): New function.
12613 (archive-7z-summarize): Fix the number of dashes in the
12614 listing output.
12615
8fa39615
SM
126162011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12617
12618 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12619 (bug#8958).
12620
2f11b3f1
CY
126212011-07-04 Chong Yidong <cyd@stupidchicken.com>
12622
d66fef2b
CY
12623 * bindings.el: Ignore next-buffer and previous-buffer in
12624 minibuffer-local-map.
12625
2f11b3f1
CY
12626 * font-lock.el (font-lock-builtin-face): Change light background
12627 color to dark slate blue (Bug#6693).
12628
f932a347
WD
126292011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12630
12631 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12632
c8af70e1
SM
126332011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12634
12635 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12636 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12637 Add switch-to-buffer.
12638
f158badc
LMI
126392011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12640
12641 * isearch.el (isearch-search-fun-function): Clarify further the
12642 meaning of the function returned.
12643
6d95bd46
MA
126442011-07-04 Michael Albinus <michael.albinus@gmx.de>
12645
12646 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12647
12648 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12649 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12650 Use it.
12651 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12652 `tramp-default-remote-path' does not exist.
12653 (tramp-send-command-and-read): New optional argument NOERROR.
12654 (tramp-open-connection-setup-interactive-shell)
12655 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12656 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12657 (tramp-process-sentinel): Flush also process' connection property.
12658 (tramp-sh-handle-start-file-process): Do not set process
12659 sentinel. It is done now ...
12660 (tramp-maybe-open-connection): ... here. (Bug#8929)
12661
909e6b67
MK
126622011-07-04 MON KEY <monkey@sandpframing.com>
12663
12664 * play/animate.el (animate-string): Doc fixes and allow changing
12665 the buffer name (bug#5417).
12666
126672011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12668
c8af70e1 12669 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12670
f34755dc
PE
126712011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12672
396cec72
PE
12673 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12674 This is simpler and helps future-proof the code.
12675 (timer-until): Use time-subtract and float-time.
08235028 12676 (timer--time-less-p): Use time-less-p.
f34755dc 12677
56e6cc31
JB
126782011-07-04 Juanma Barranquero <lekktu@gmail.com>
12679
3abb79e5
JB
12680 * type-break.el (timep): Use the value of `float-time' to avoid a
12681 byte-compiler warning.
12682
56e6cc31
JB
12683 * server.el (server-eval-and-print): Return any result, even nil.
12684
7b9430b4
PE
126852011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12686
12687 * type-break.el: Accept time formats that the builtins accept.
12688 (timep, type-break-time-difference): Accept any format that
12689 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12690 This is simpler and helps future-proof the code.
12691 (type-break-time-difference): Round rather than ignoring
12692 subseconds components.
12693
3034e9e7
LMI
126942011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12695
12696 * info.el (Info-apropos-matches): Make non-interactive, since it
12697 doesn't seem to do anything useful as a command (bug#8829).
12698
1485f4c0
CY
126992011-07-03 Chong Yidong <cyd@stupidchicken.com>
12700
12701 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12702 Move from faces.el.
1485f4c0
CY
12703 (frame-default-terminal-background): New function.
12704
12705 * custom.el (custom-push-theme): Don't record faces in `changed'
12706 theme; this doesn't work correctly for per-frame face settings.
12707 (disable-theme): Use face-set-after-frame-default to reset faces.
12708 (custom--frame-color-default): New function.
12709
9fa3dd45
LMI
127102011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12711
c8af70e1 12712 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12713 (bug#8769).
12714
6cbbc20c
KR
127152011-03-29 Kevin Ryde <user42@zip.com.au>
12716
12717 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12718 `perl-Test2' extend to match possible "fail #N" rep count
12719 (bug#8377).
12720
c7f98048
LMI
127212011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12722
65676592
LMI
12723 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12724 `smtpmail-via-smtp' now returns the error instead of nil.
12725
c7f98048
LMI
12726 * isearch.el (isearch-search-fun-function): Clarify the doc string
12727 (bug#8101).
12728
56e6cc31 127292011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12730
12731 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12732 unnecessary spaces (bug#8987).
12733
2b216704
LMI
127342011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12735
12736 * net/network-stream.el (open-network-stream): Use the
12737 :end-of-capability command thoughout.
12738
127392011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12740
12741 * net/network-stream.el (open-network-stream): Add the
12742 :end-of-capability command parameter, used by pop3.el.
12743
36adf6ce
LMI
127442011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12745
1ca0da0e
LMI
12746 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12747
fc00f69c
LMI
12748 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12749 for list)" (bug#6475).
12750
28fd8759 12751 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12752 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12753 an error (bug#6297).
12754
0dd8b6da
LMI
12755 * man.el (Man-reference-regexp): Allow matching possible
12756 word-wrapped references (bug#6289).
12757
ce1438d6
LMI
12758 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12759 for consistency with the other vc buffers (bug#6197).
12760 (vc-checkin): Ditto.
12761
12762 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12763
36adf6ce
LMI
12764 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12765
e83cc1f7
LMI
127662011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12767
8a20ca4c
LMI
12768 * custom.el (defcustom): Clarify that :set is only used in the
12769 Customize user interface (bug#6089).
12770
83319045
LMI
12771 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12772 associated with a file, refuse to run instead of erroring out
12773 (bug#6084).
12774
a8392169
LMI
12775 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12776 the doc string, since it appears that using `fill-column' always
12777 controls the width (bug#7845).
12778
e83cc1f7
LMI
12779 * simple.el (shell-command-on-region): Say where the error output
12780 went if `shell-command-default-error-buffer' is set (bug#6857).
12781
e47ca23b
KM
127822011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12783
12784 * allout.el (allout-yank-processing): Adjust cursor position for
12785 backwards-deleted space.
12786
12787 (allout-rebullet-heading): Register changes with
12788 allout-exposure-changed-hook, so the modified topic is properly
12789 decorated.
12790
5cf56143
LMI
127912011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12792
08549772
LMI
12793 * minibuffer.el (completion-in-region): Document PREDICATE
12794 (bug#7136).
12795
48e96771
LMI
12796 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12797 of keyword/argument pairs (bug#6904).
12798
c8af70e1
SM
12799 * replace.el (multi-occur):
12800 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12801
e17d05e2
LMI
128022011-07-02 Drew Adams <drew.adams@oracle.com>
12803
12804 * dired.el (dired-mark-if): Make the message about whether it's
12805 marking or unmarking clearer (bug#8523).
12806
063b0e45
LMI
128072011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12808
12809 * disp-table.el (display-table-print-array): New function.
12810 (describe-display-table): Use it to print the vectors more pretty
12811 (Bug#8859).
12812
28545e04
MR
128132011-07-02 Martin Rudalics <rudalics@gmx.at>
12814
12815 * window.el (window-state-get-1): Don't assign clone numbers.
12816 Add clone-of item to list of window parameters.
12817 (window-state-put-2): Don't process clone numbers.
12818 (display-buffer-alist): Fix doc-string.
12819
3349e122
SM
128202011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12821
12822 * subr.el (remq): Don't allocate if it's not needed.
12823 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12824 (keymap--merge-bindings): New functions.
12825 (keymap-canonicalize): Use them to refine the canonicalization.
12826 * minibuffer.el (minibuffer-local-completion-map)
12827 (minibuffer-local-must-match-map): Move initialization from C.
12828 (minibuffer-local-filename-completion-map): Move initialization from C;
12829 don't inherit from anything here.
12830 (minibuffer-local-filename-must-match-map): Make obsolete.
12831 (completing-read-default): Use make-composed-keymap to combine
12832 minibuffer-local-filename-completion-map with either
12833 minibuffer-local-must-match-map or
12834 minibuffer-local-filename-completion-map.
12835
d224ac83
GM
128362011-07-01 Glenn Morris <rgm@gnu.org>
12837
3de63bf8
GM
12838 * type-break.el (type-break-time-sum): Use dolist.
12839
d224ac83
GM
12840 * textmodes/flyspell.el (flyspell-word-search-backward):
12841 Replace CL function.
12842
1a1e3f32
SM
128432011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12844
fe3f64d5
SM
12845 * mouse.el (mouse--strip-first-event): New function.
12846 (function-key-map): Use it to map fringe clicks to normal clicks
12847 by default.
12848
eb604e34
SM
12849 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12850 (vc-bzr-revision-completion-table): Add support for annotate and date.
12851
1a1e3f32
SM
12852 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12853 inherit from parent.
12854
5bd35902
LMI
128552011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12856
ace6c69c 12857 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12858 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12859
191e2bed
LMI
12860 * dired.el (dired-mode): Fix up the doc string as suggested by
12861 Drew Adams (bug#8817).
12862
5bd35902
LMI
12863 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12864 cookie, since the manual says that it should be possible to add
12865 this function to `find-file-hook' (bug#8709).
12866
eee8207a
TZ
128672011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12868
12869 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12870 here. Noted Ted Zlatanov as the maintainer.
12871 (cfengine-common-settings, cfengine-common-syntax): New functions
12872 to set up common things between `cfengine-mode' and
12873 `cfengine3-mode'.
12874 (cfengine3-mode): New mode.
12875 (cfengine3-defuns cfengine3-defuns-regex
12876 (cfengine3-class-selector-regex cfengine3-category-regex)
12877 (cfengine3-vartypes cfengine3-font-lock-keywords)
12878 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12879 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12880
36b148cf
MA
128812011-07-01 Michael Albinus <michael.albinus@gmx.de>
12882
12883 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12884
12885 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12886
0bf4ba9a
MR
128872011-07-01 Martin Rudalics <rudalics@gmx.at>
12888
12889 * window.el (same-window-buffer-names, same-window-regexps)
12890 (same-window-p, special-display-frame-alist)
12891 (special-display-popup-frame, special-display-function)
12892 (special-display-buffer-names, special-display-regexps)
12893 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12894 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12895 (split-window-preferred-function, split-height-threshold)
12896 (split-width-threshold, even-window-heights)
12897 (display-buffer-mark-dedicated, window-splittable-p)
12898 (split-window-sensibly, window-safely-shrinkable-p):
12899 Un-obsolete.
12900 (display-buffer): Don't spread args with function specifier
12901 because special-display-popup-frame won't like it.
12902
35837f51
PE
129032011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12904
d0672f86
PE
12905 Time-stamp simplifications and fixes.
12906 These improve accuracy slightly, and future-proof the code
12907 against some potential changes to current-time format.
12908
b9444d97
PE
12909 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12910 by using time-since and float-time.
12911
0ef923dc
PE
12912 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12913 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12914 + NNN microseconds".
12915
2f81380d
PE
12916 * type-break.el (type-break-time-sum): Rewrite using time-add.
12917
845b5c3e
PE
12918 * play/hanoi.el (hanoi-current-time-float): Remove.
12919 All uses replaced by float-time.
12920
ee6f1be0
PE
12921 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12922 This yields a more-accurate answer.
12923 (rng-time-to-float): Remove; no longer needed.
12924
fe955043
PE
12925 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12926
5777162a
PE
12927 * calendar/timeclock.el (timeclock-seconds-to-time):
12928 Defalias to seconds-to-time, since they're the same thing.
12929
3103f8b6 12930 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12931 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12932 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12933
0e61a35f
SM
129342011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12935
12936 * window.el (bury-buffer): Don't iconify the only frame.
12937 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12938 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12939
ddd63a1e
CY
129402011-07-01 Chong Yidong <cyd@stupidchicken.com>
12941
0e61a35f
SM
12942 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12943 Add mouse-yank-primary.
ddd63a1e 12944
055f4923
TZ
129452011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12946
12947 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12948
6a2fb145
SM
129492011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12950
12951 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12952 (find-library-name): Use it to find relative load names when provided
12953 absolute file name (bug#8803).
12954
fd4983f2
LMI
129552011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12956
887d14ad
LMI
12957 * textmodes/flyspell.el (flyspell-word): Consider words that
12958 differ only in case as potential doublons (bug#5687).
12959
c53dc7fc
LMI
12960 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12961 Remove two rather uninteresting debugging-like messages to make
12962 debbugs.el more silent.
12963
fd4983f2
LMI
12964 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12965 a password-like phrase.
12966
7a71b18d 129672011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12968
12969 * progmodes/cc-guess.el: New file.
12970
6a2fb145 12971 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12972
12973 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12974 derived from `c-basic-common-init'.
12975
12976 * progmodes/cc-mode.el (top-level): Require cc-guess.
12977 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12978
1fa280a3
LM
129792011-06-30 Lawrence Mitchell <wence@gmx.li>
12980
12981 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12982
e6597158
AM
129832011-06-30 Alan Mackenzie <acm@muc.de>
12984
1fa280a3
LM
12985 * progmodes/cc-engine.el (c-guess-continued-construct):
12986 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12987 lock is disabled. Name this case as "CASE G".
12988
68ba37fb
KM
129892011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12990
12991 * allout.el (allout-yank-processing): Fix injection of extra space
12992 between bullet and non-whitespace character in first topic when
12993 pasting, ensuring that the actual spacing in the pasted topic
12994 following the bullet char is preserved. This extra space was
12995 causing pasted encrypted topics to get a decrypted status even
12996 when the content was actually still encrypted. Now the decryption
12997 status from before the paste is preserved.
12998
12999 (allout-flag-region): Set all allout overlays so they evaporate
13000 when reduced to zero length (evanescent), to prevent overlay
13001 leakage.
13002
887a0b34
GM
130032011-06-30 Glenn Morris <rgm@gnu.org>
13004
94b9acce
GM
13005 * w32-fns.el (w32-charset-info-alist): Declare.
13006
1d9b46d4
GM
13007 * find-dired.el (find-grep-options): Simplify.
13008
cc232200
GM
13009 * term/ns-win.el (ns-set-resource): Declare.
13010
28e77c46
GM
13011 * ses.el (row, col): Declare dynamic variables honestly.
13012
887a0b34
GM
13013 * textmodes/reftex-parse.el (index-tags): Declare.
13014
658d8eb8
CY
130152011-06-30 Chong Yidong <cyd@stupidchicken.com>
13016
13017 * cus-edit.el (customize-push-and-save): New function.
13018
13019 * files.el (hack-local-variables-confirm): Use it.
13020
1fa280a3
LM
13021 * custom.el (load-theme): New arg NO-CONFIRM.
13022 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13023 (custom-enabled-themes): Doc fix.
13024
13025 * cus-theme.el (customize-create-theme)
13026 (custom-theme-merge-theme): Callers to load-theme changed.
13027
bb617717
LMI
130282011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13029
d61bdd5d
LMI
13030 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13031 short URLs have at least one dot in them (bug #7614).
13032
bb617717
LMI
13033 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13034 nil, because using a pty is apparently too slow (bug #895).
13035
2f31f37a
LMI
130362011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13037
13038 * mail/sendmail.el (sendmail-query-once): New function.
13039 (sendmail-query-once-function): New variable.
13040
3076b24e
GM
130412011-06-29 Glenn Morris <rgm@gnu.org>
13042
faf2a174
GM
13043 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13044
3076b24e
GM
13045 * ses.el (top-level): Require cl when compiling.
13046 (ses-set-localvars): Fix error statement.
13047 Call it at compile time to silence a storm of warnings.
13048
5386012d
MR
130492011-06-29 Martin Rudalics <rudalics@gmx.at>
13050
13051 * window.el (normalize-live-buffer): Rename to
13052 window-normalize-buffer.
13053 (normalize-live-frame): Rename to window-normalize-frame.
13054 (normalize-any-window): Rename to window-normalize-any-window.
13055 (normalize-live-window): Rename to window-normalize-live-window.
13056 (make-window-atom): Rename to window-make-atom.
13057 (window-resize-reset): Rename to window--resize-reset.
13058 (window-resize-reset-1): Rename to window--resize-reset-1.
13059 (resize-mini-window): Rename to window--resize-mini-window.
13060 (resize-subwindows-skip-p): Rename to
13061 window--resize-subwindows-skip-p.
13062 (resize-subwindows-normal): Rename to
13063 window--resize-subwindows-normal.
13064 (resize-subwindows): Rename to window--resize-subwindows.
13065 (resize-other-windows): Rename to window--resize-siblings.
13066 (resize-this-window): Rename to window--resize-this-window.
13067 (resize-root-window): Rename to window--resize-root-window.
13068 (resize-root-window-vertically): Rename to
13069 window--resize-root-window-vertically.
13070 (normalize-buffer-to-display): Rename to
13071 window-normalize-buffer-to-display.
13072 (normalize-buffer-to-switch-to): Rename to
13073 window-normalize-buffer-to-switch-to.
13074 Correspondingly update all callers of the functions listed
13075 above.
13076 (display-buffer-alist, display-buffer-normalize-arguments)
13077 (display-buffer-normalize-options, display-buffer)
13078 (display-buffer-alist-set): Use "function" instead of
13079 "fun-with-args".
13080
1176868d
CY
130812011-06-28 Chong Yidong <cyd@stupidchicken.com>
13082
13083 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13084 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13085 debbugs.gnu.org. Mention acknowledgment email.
13086
20a7a65f
LMI
130872011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13088
13089 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13090 buffer multibyteness, since it shouldn't matter.
13091
5f45cca5
MR
130922011-06-28 Martin Rudalics <rudalics@gmx.at>
13093
13094 * window.el (display-buffer-in-side-window): Handle dedicated
13095 windows as in display-buffer-reuse-window.
13096 (display-buffer-normalize-alist): Use value of override
13097 specifier.
13098 (display-buffer-normalize-specifiers): Use value of
13099 other-window-means-other-frame specifier.
13100 (display-buffer-alist): Rewrite some texts in widgets.
13101 (display-buffer): Spread arguments when calling function
13102 specified by fun-with-args.
13103
ad85fe1f
DD
131042011-06-28 Deniz Dogan <deniz@dogan.se>
13105
1fa280a3
LM
13106 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13107 Unnest `let'.
da68c4c8 13108
ad85fe1f
DD
13109 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13110 selectors (Bug#5732).
ec49bd31 13111 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13112
a08cc025
JA
131132011-06-27 Jari Aalto <jari.aalto@cante.net>
13114
13115 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13116 (eshell-ls-date-format): New defcustom.
13117 (eshell-ls-file): Use it.
13118
e2b551c5
SM
131192011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13120
13121 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13122
8982b231
KY
131232011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13124
13125 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13126 (ange-ftp-make-tmp-name): New arg.
13127 (ange-ftp-file-local-copy): Use it.
13128
36c9fa27
J
131292011-06-27 Jambunathan K <kjambunathan@gmail.com>
13130
13131 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13132 no-conversion (Bug#8870).
13133
d68443dc
MR
131342011-06-27 Martin Rudalics <rudalics@gmx.at>
13135
13136 * window.el (window-right, window-left, window-child)
13137 (window-child-count, window-last-child)
13138 (window-iso-combination-p, walk-window-tree-1)
13139 (window-atom-check-1, window-tree-1, delete-window)
13140 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13141 new naming conventions - window-vchild, window-hchild,
13142 window-next and window-prev are now called window-top-child,
13143 window-left-child, window-next-sibling and window-prev-sibling
13144 respectively.
d615d6d2
MR
13145 (resize-window-reset): Rename to window-resize-reset.
13146 (resize-window-reset-1): Rename to window-resize-reset-1.
13147 (resize-window): Rename to window-resize.
13148 (window-min-height, window-min-width)
13149 (resize-mini-window, resize-this-window, resize-root-window)
13150 (resize-root-window-vertically, adjust-window-trailing-edge)
13151 (enlarge-window, shrink-window, maximize-window)
13152 (minimize-window, delete-window, quit-restore-window)
13153 (split-window, balance-windows, balance-windows-area-adjust)
13154 (balance-windows-area, window-state-put-2)
13155 (display-buffer-even-window-sizes, display-buffer-set-height)
13156 (display-buffer-set-width, set-window-text-height)
13157 (fit-window-to-buffer): Rename all "resize-window" prefixed
13158 calls to use the "window-resize" prefix convention.
13159 (display-buffer-alist): Fix symbol for label specifier.
13160 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13161 corresponding specifier.
13162 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13163
b6458526
VB
131642011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13165
13166 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13167 convention.
13168 (ses-call-printer): Does not pass an empty string to formatter when the
13169 cell is empty to keep from barking printer Calc math-format-value.
13170
d31fd9ac
RS
131712011-06-27 Richard Stallman <rms@gnu.org>
13172
43d5bf84
RS
13173 * battery.el (battery-mode-line-limit): New variable.
13174 (battery-update): Handle it.
13175
d31fd9ac
RS
13176 * mail/rmailmm.el (rmail-mime-process-multipart):
13177 Handle truncated messages.
13178
819a6054
GM
131792011-06-27 Glenn Morris <rgm@gnu.org>
13180
13181 * progmodes/flymake.el (flymake-err-line-patterns):
13182 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13183
cedc73f2
VB
131842011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13185
819a6054 13186 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13187 (ses--clean-!, ses--clean-_): New functions.
13188 (ses-range): Add configurability of readout order, and conversion
13189 to Calc vector.
13190
5e5d49b6
VB
13191 * ses.el (ses-repair-cell-reference-all): New function.
13192 (ses-cell-symbol): Set macro as safe, so that it can be used in
13193 formulas.
13194
56e6cc31 13195 * ses.el: Update cycle detection algorithm.
90ca8b49 13196 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13197 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13198 (ses-set-localvars): New function.
13199 (ses-make-cell): Add property-list as a cell element.
13200 (ses-cell-property-get-fun, ses-cell-property-get)
13201 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13202 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13203 New functions.
90ca8b49
VB
13204 (ses-cell-property-set, ses-cell-property-pop)
13205 (ses-cell-property-get-handle): New macro.
13206 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13207 New aliases, used for code readability.
13208 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13209 cycle detection.
13210 (ses-self-reference-early-detection): New defcustom.
fac916bf 13211 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13212 (ses-mode): Use ses-set-localvars.
13213 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13214 before lauching the update processing.
13215 (ses-initialize-Dijkstra-attempt): New function.
13216 (ses-recalculate-cell): Update for cycle detection based on
13217 Dijkstra algorithm.
13218
2bb63e81
VB
13219 * ses.el: Fix commenting and indenting convention.
13220
c9d29fb8
SM
132212011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13222
13223 * bs.el (bs-cycle-next): Complete last change.
13224
d8e4b68b
JB
132252011-06-27 Drew Adams <drew.adams@oracle.com>
13226
13227 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13228
40098786
LMI
132292011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13230
c9d29fb8
SM
13231 * net/network-stream.el (network-stream-open-starttls):
13232 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13233 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13234
40098786
LMI
13235 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13236 to binary to possibly avoid line encoding issues on Windows (among
13237 other things).
13238
468d09d4
LMI
132392011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13240
13241 * net/network-stream.el (open-network-stream): Return an :error
13242 saying what the problem was, if possible.
13243
13244 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13245 server.
13246
13247 * net/network-stream.el (network-stream-open-starttls): If we
13248 wanted to use STARTTLS, and the server offered it, but we weren't
13249 able to because we had no STARTTLS support, then close the connection.
13250 (open-network-stream): Return an :error element, if present.
13251
16f07dd7
CY
132522011-06-26 Chong Yidong <cyd@stupidchicken.com>
13253
88821ca0
CY
13254 * hl-line.el (hl-line-sticky-flag): Doc fix.
13255 (global-hl-line-sticky-flag): New option (Bug#8323).
13256 (global-hl-line-highlight): Obey it.
13257
16f07dd7
CY
13258 * vc/vc.el (vc-revert-show-diff): Default to t.
13259
6b5ccddf
KM
132602011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13261
c9d29fb8
SM
13262 * allout-widgets.el (allout-widgets-post-command-business):
13263 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13264 undecorated when an isearch is continued past, and isearch
13265 automatically collapses them. This leads to "widget leaks", where
13266 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13267 hidden widgets can slow down cursor travel, substantially.
13268 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13269 so we're doing without this nicety.
13270
13271 (allout-widgets-tally-string): Don't try to do a hash-table-count
13272 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13273 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13274 *Messages* when allout-widgets-maintain-tally is t.
13275
355f2e07
MR
132762011-06-26 Martin Rudalics <rudalics@gmx.at>
13277
13278 * window.el (display-buffer-normalize-argument): Rename to
13279 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13280 LABEL argument. Respect special-display-function when popping up
13281 a new frame. Fix code searching for a window showing the buffer
13282 on another frame.
c9d29fb8
SM
13283 (display-buffer-normalize-specifiers):
13284 Call display-buffer-normalize-arguments.
355f2e07
MR
13285 (display-buffer-in-window): Don't undedicate the window if its
13286 buffer remains the same.
13287 Reported by Drew Adams <drew.adams@oracle.com>.
13288 (display-buffer-alist): Add choice for same-window macro
13289 specfier.
13290 (display-buffer): Mention special meaning of LABEL argument in
13291 doc-string. Fix quoting. Don't pop up a new frame even as
13292 fallback.
13293
7ca8fc42
JB
132942011-06-26 Juanma Barranquero <lekktu@gmail.com>
13295
13296 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13297 avoid deleting the current window in some cases (bug#8911).
13298
bc312254
AS
132992011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13300
13301 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13302 (Bug#8934)
13303
2db18f3f
LMI
133042011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13305
c9d29fb8
SM
13306 * net/network-stream.el (network-stream-open-starttls):
13307 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13308 (network-stream-open-tls): Ditto.
13309
6302e0d3
LL
133102011-06-26 Leo Liu <sdl.web@gmail.com>
13311
13312 * register.el (registerv): New struct.
13313 (registerv-make): New function.
c9d29fb8
SM
13314 (jump-to-register, describe-register-1, insert-register):
13315 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13316 struct. (Bug#8415)
13317
5fdd4046
CY
133182011-06-26 Chong Yidong <cyd@stupidchicken.com>
13319
2afef60a
CY
13320 * vc/vc.el (vc-revert-show-diff): New defcustom.
13321 (vc-diff-internal): New arg specifying diff buffer.
13322 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13323 reuse an existing *vc-diff* buffer (Bug#8927).
13324
5fdd4046
CY
13325 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13326
e93db24a
GM
133272011-06-26 Glenn Morris <rgm@gnu.org>
13328
13329 * progmodes/f90.el (f90-critical-indent): New option.
13330 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13331 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13332 (f90-mode): Doc fix.
13333 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13334 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13335 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13336 (f90-match-end): Handle block, critical.
13337
eefff499
GM
133382011-06-25 Glenn Morris <rgm@gnu.org>
13339
f6ba4cc9
GM
13340 * calendar/diary-lib.el (diary-included-files): Doc fix.
13341 (diary-include-files): New function, extracted from
13342 diary-include-other-diary-files and diary-mark-included-diary-files.
13343 (diary-include-other-diary-files, diary-mark-included-diary-files):
13344 Just call diary-include-files.
13345 (diary-mark-entries): Reset diary-included-files on first call.
13346
16712304
GM
13347 * calendar/diary-lib.el (diary-mark-entries)
13348 (diary-mark-included-diary-files):
13349 Visit included diary-files in temp buffers.
13350
5d8e0d43
GM
13351 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13352 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13353 (f90-start-block-re, f90-imenu-generic-expression)
13354 (f90-looking-at-program-block-start, f90-no-block-limit):
13355 Add support for submodules.
13356
ccf7a5d5
GM
13357 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13358 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13359
11fdef7d 133602011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13361
13362 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13363 buffer-file-type before setting its value, to avoid disastrous
eefff499 13364 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13365
74f53697
JB
133662011-06-25 Juanma Barranquero <lekktu@gmail.com>
13367
13368 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13369
13370 * ses.el (ses-unload-function):
13371 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13372
13373 * proced.el (proced-unload-function):
13374 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13375
18a4ce5e
AR
133762011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13377
13378 * server.el (server-create-window-system-frame): Add parameters arg.
13379 (server-process-filter): Doc fix. Handle frame-parameters.
13380
519d22cc
JB
133812011-06-25 Juanma Barranquero <lekktu@gmail.com>
13382
13383 Fix bug#8730, bug#8781.
13384
13385 * loadhist.el (unload--set-major-mode): New function.
13386 (unload-feature): Use it.
13387
13388 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13389 (python-unload-function): New function.
13390
c206f5b0
SM
133912011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13392
13393 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13394
f9ad64f3
GS
133952011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13396
13397 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13398 the candidates list.
13399
7d0da90e
JB
134002011-06-24 Juanma Barranquero <lekktu@gmail.com>
13401
13402 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13403
14b4e83d
RS
134042011-06-23 Richard Stallman <rms@gnu.org>
13405
13406 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13407 (rmail-variables): Set next-error-move-function.
13408 (rmail-what-message): Take argument POS.
13409 (rmail-next-error-move): New function.
13410
273d2baf
SM
134112011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13412
13413 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13414 messages for adjacent non-terminals.
13415
56c2cc9a
RS
134162011-06-23 Richard Stallman <rms@gnu.org>
13417
13418 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13419 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13420 (rmail-start-mail): Don't specify use of rmail-mail-return;
13421 that's done by mail-bury now.
13422 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13423
d59eb518
MA
134242011-06-23 Michael Albinus <michael.albinus@gmx.de>
13425
13426 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13427 SIZE is a number.
13428
02cfc6d6
MR
134292011-06-23 Martin Rudalics <rudalics@gmx.at>
13430
13431 * window.el (get-lru-window, get-mru-window)
13432 (get-largest-window): Never return a minibuffer window.
13433 (display-buffer-pop-up-window): Fix a bug that could lead to
13434 reusing the minibuffer window.
13435 (display-buffer): Pass original specifier argument to
13436 display-buffer-function instead of the normalized one.
13437 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13438
4e323265
LL
134392011-06-22 Leo Liu <sdl.web@gmail.com>
13440
13441 * minibuffer.el (completing-read-function)
13442 (completing-read-default): Move from minibuf.c
13443
7a70468f
RS
134442011-06-22 Richard Stallman <rms@gnu.org>
13445
50718fc2
RS
13446 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13447 to Rmail even if not started by a special Rmail command.
13448
7a70468f
RS
13449 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13450 Copy the buffer currently showing just one message.
13451
297dde5a
RW
134522011-06-22 Roland Winkler <winkler@gnu.org>
13453
13454 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13455 (bibtex-clean-entry): First delete the old key so that a
13456 customized algorithm for generating the new key does not get
13457 confused by the old key.
13458 (bibtex-url): Obey regexp of first step.
13459 (bibtex-search-entries): Do not use add-to-list with local
13460 list-var.
13461
97bb1093
LMI
134622011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13463
13464 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13465 stored a user name, then query for the password first, instead of
13466 waiting for SMTP to give an error message and the trying again.
13467
1c0f1a19
JD
134682011-06-22 Lawrence Mitchell <wence@gmx.li>
13469
13470 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13471 BUFFER in call-process.
13472
396f7c9d
LMI
134732011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13474
13475 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13476 QUIT twice.
ddb7ffee
LMI
13477 (smtpmail-try-auth-methods): Require user name and password from
13478 auth-source.
396f7c9d 13479
8998d1b3
MR
134802011-06-22 Martin Rudalics <rudalics@gmx.at>
13481
13482 * window.el (display-buffer-default-specifiers)
13483 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13484 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13485 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13486
13487 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13488 (special-display-frame-alist, special-display-popup-frame):
13489 Remove duplicate declarations. These are now in window.el.
13490
4ea31e07
LMI
134912011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13492
c9d29fb8
SM
13493 * mail/smtpmail.el (smtpmail-via-smtp):
13494 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13495 server supports it. SMTP servers that support STARTTLS commonly
13496 require it.
13497
13498 * net/network-stream.el (network-stream-open-starttls): Support
13499 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13500 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13501
95f41d9a
LMI
13502 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13503 upgrades with `open-network-stream', and rely solely on
13504 auth-source for all credentials. Big changes throughout the file,
13505 but in particular:
c9d29fb8
SM
13506 (smtpmail-auth-credentials): Remove.
13507 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13508 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13509 MAIL FROM, too.
95f41d9a 13510
c9d29fb8
SM
13511 * net/network-stream.el (network-stream-open-starttls):
13512 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13513 STARTTLS.
13514 (auth-source): Require.
13515 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13516 (network-stream-certificate): Change cert-cert to cert and
13517 cert-key to key.
4ea31e07 13518
065ec2c7
MA
135192011-06-21 Michael Albinus <michael.albinus@gmx.de>
13520
13521 * net/tramp-cache.el (top): Don't load the persistency file when
13522 "emacs -Q" has been called.
13523
cd93b359
DR
135242011-06-21 Tim Harper <timcharper@gmail.com>
13525
d8e4b68b
JB
13526 * term/ns-win.el (ns-initialize-window-system):
13527 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13528 resource to NO as it is not yet supported by the NS port.
13529
ae9c0411
JB
135302011-06-21 Juanma Barranquero <lekktu@gmail.com>
13531
13532 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13533 (list-dynamic-libraries): ...not here.
13534
7f3f739f
LL
135352011-06-21 Leo Liu <sdl.web@gmail.com>
13536
13537 * subr.el (sha1): Implement sha1 using secure-hash.
13538
327c8fb1
MR
135392011-06-21 Martin Rudalics <rudalics@gmx.at>
13540
13541 * window.el (display-buffer-alist): In default value do not
13542 enforce searching a window on any but the selected frame.
13543 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13544 (display-buffer-select-window): Remove function.
13545 (display-buffer-in-window): When a window on another frame gets
13546 reused, do not select it any more but just raise its frame if
13547 necessary (Bug#8851) and (Bug#8856).
13548 (display-buffer-normalize-options): Handle pop-up-frames related
13549 options more faithfully.
13550 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13551 window if it is on another frame.
c9d29fb8
SM
13552 (display-buffer-alist, display-buffer-default-specifiers):
13553 Don't make new frame unsplittable by default.
9e9de014
MR
13554 (display-buffer-normalize-argument): Fix doc-string typo and use
13555 'same-frame-other-window instead of 'other-window when associating
13556 with display-buffer-macro-specifiers.
327c8fb1 13557
7cf3f556
VB
135582011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13559
13560 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13561 New functions.
13562 (5x5-mode-map, 5x5-mode-menu): Bind them.
13563 (5x5-draw-grid): Tweak the solver's rendering.
13564
60a406cf
SM
135652011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13566
13567 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13568 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13569
d8e4b68b 135702011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13571
13572 * menu-bar.el: Use function variable instead of switch-to-buffer.
13573 (menu-bar-select-buffer-function): New variable.
60a406cf 13574 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13575
478d6f95
SM
135762011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13577
13578 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13579 variable's status.
13580
ca530739
JD
135812011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13582
13583 * x-dnd.el (x-dnd-version-from-flags)
13584 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13585 and long as number (Bug#8899).
13586 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13587
bcd70d97
SM
135882011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13589
60a406cf 13590 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13591 (completion-try-completion, completion-all-completions): Compute the
13592 metadata argument if it's missing; make it optional (bug#8795).
13593
60a406cf 13594 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13595 (widget-complete): Use new :completion-function property.
13596 (widget-completions-at-point): New function.
13597 (default): Use :completion-function instead of :complete.
60a406cf
SM
13598 (widget-default-completions): Rename from widget-default-complete;
13599 Rewrite.
bcd70d97
SM
13600 (widget-string-complete, widget-file-complete, widget-color-complete):
13601 Remove functions.
13602 (file, symbol, function, variable, coding-system, color):
13603 * international/mule-cmds.el (default-input-method, charset)
13604 (language-info-custom-alist):
13605 * cus-edit.el (face): Use new property :completions.
13606
13607 * progmodes/pascal.el (pascal-completions-at-point): New function.
13608 (pascal-mode): Use it.
13609 (pascal-mode-map): Use completion-at-point.
13610 (pascal-toggle-completions): Make obsolete.
13611 (pascal-complete-word, pascal-show-completions):
13612 * progmodes/octave-mod.el (octave-complete-symbol):
13613 Redefine as obsolete alias.
13614 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13615 Signal absence of completion info for old Octave,
13616 (inferior-octave-complete): Redefine as obsolete alias.
13617 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13618 (meta-completions-at-point): Rename from meta-complete-symbol and
13619 adapt it for use on completion-at-point-functions.
13620 (meta-common-mode): Use it.
13621 (meta-looking-at-backward, meta-match-buffer): Remove.
13622 (meta-complete-symbol): Redefine as obsolete alias.
13623 (meta-common-mode-map): Use completion-at-point.
13624 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13625 (makefile-mode-map): Use completion-at-point.
13626 (makefile-completions-at-point): Rename from makefile-complete and
13627 adapt it for use on completion-at-point-functions.
13628 (makefile-mode): Use it.
13629 (makefile-complete): Redefine as obsolete alias.
13630
aebf69c8
DD
136312011-06-20 Deniz Dogan <deniz@dogan.se>
13632
13633 * net/rcirc.el: Delete trailing whitespaces once and for all.
13634
bfbbb27d
DC
136352011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13636
13637 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13638
d264a46b
CY
136392011-06-19 Chong Yidong <cyd@stupidchicken.com>
13640
4ca009e5
CY
13641 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13642
d264a46b
CY
13643 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13644
fbf5b3ce
MR
136452011-06-19 Martin Rudalics <rudalics@gmx.at>
13646
13647 * window.el (display-buffer-other-window-means-other-frame):
13648 Call display-buffer-normalize-alist.
13649 (display-buffer-normalize-specifiers-1): Rename to
13650 display-buffer-normalize-argument. New argument other-frame.
13651 Rewrite.
13652 (display-buffer-normalize-specifiers-2): Rename to
13653 display-buffer-normalize-options.
13654 (display-buffer-normalize-alist-1): New function.
13655 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13656 display-buffer-normalize-alist.
13657 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13658 (display-buffer-normalize-options-inhibit): New variable.
13659 (display-buffer-normalize-specifiers): Rewrite calling
13660 display-buffer-normalize-alist,
13661 display-buffer-normalize-argument, and
13662 display-buffer-normalize-options. Don't call the latter if
13663 display-buffer-normalize-options-inhibit is non-nil.
13664 (frame-auto-delete): New option.
13665 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13666 (window-list-no-nils, window-state-ignored-parameters)
13667 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13668 (window-state-put-1, window-state-put-2, window-state-put):
13669 New functions.
9a028c23
MR
13670 (display-buffer-normalize-options): Move special-display-p group
13671 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13672
6d10d800
CY
136732011-06-18 Chong Yidong <cyd@stupidchicken.com>
13674
6420d28b
CY
13675 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13676 groups (Bug#8776).
13677 (rx-submatch-n): New function.
13678 (rx): Document it.
13679
ddb8b596
CY
13680 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13681 (Bug#8768).
13682
13683 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13684
77080289
CY
13685 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13686
61dfb316
CY
13687 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13688 anytime existing face settings are present (Bug#8889).
13689
6d10d800
CY
13690 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13691 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13692 Remove unused argument.
13693
be3fb2b8
MR
136942011-06-18 Martin Rudalics <rudalics@gmx.at>
13695
bcd70d97
SM
13696 * window.el (display-buffer-default-specifiers):
13697 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13698 pop-up-window-min-width, and another reuse-window specifier
13699 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13700 (display-buffer-normalize-specifiers-2):
13701 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13702 pop-up-windows is unset. Add a reuse-window specifier for the
13703 case popping up a new window fails.
13704 (special-display-popup-frame): Remove double quoting.
28dec25a 13705 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13706
1c6d8c76
SM
137072011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13708
13709 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13710 according to comint-completion-addsuffix.
13711
13712 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13713 (pcomplete-suffix-list): Mark as obsolete.
13714 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13715 pcomplete-seen in the closure.
13716 (pcomplete-comint-setup): Setup completion-at-point as well.
13717 (pcomplete--entries): New function.
13718 (pcomplete--env-regexp): New var.
13719 (pcomplete-entries): Rewrite to work with partial-completion and
13720 without relying on pcomplete-suffix-list.
13721 (pcomplete-pare-list): Remove, unused.
13722
25aef8b8
MR
137232011-06-17 Martin Rudalics <rudalics@gmx.at>
13724
13725 * window.el (display-buffer-alist): Set pop-up-window-min-height
13726 and pop-up-window-min-width in default value. Reported by
13727 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13728 other-window-means-other-frame.
13729 (display-buffer-macro-specifiers): Comment out entry for
13730 other-window specifier.
13731 (display-buffer-other-window-means-other-frame): New function.
13732 (display-buffer-normalize-specifiers-1): New arguments
13733 buffer-name and label. Treat other-window case specially.
13734 (display-buffer-normalize-specifiers-2): Treat other-window case
13735 specially.
13736 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13737 (display-buffer-normalize-specifiers):
13738 Call display-buffer-normalize-specifiers-3.
25aef8b8 13739
dbad4f69
MR
137402011-06-17 Martin Rudalics <rudalics@gmx.at>
13741
13742 * window.el (same-window-p): Fix two typos introduced when
13743 adding with-no-warnings.
d1067961
MR
13744 (display-buffer-normalize-specifiers-1): Don't check
13745 pop-up-frames for 'unset initialization.
13746 (display-buffer-normalize-specifiers-2): Major rewrite using
13747 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13748 (pop-up-frames, display-buffer-reuse-frames)
13749 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13750 Suggested by David Engster <deng@randomsample.de>.
13751 (even-window-heights): Initialize to 'unset.
13752 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13753 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13754 other window case.
dbad4f69 13755
9b9c9e3a
MR
137562011-06-16 Martin Rudalics <rudalics@gmx.at>
13757
bcd70d97
SM
13758 * window.el (display-buffer-normalize-specifiers-1):
13759 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13760 second argument of display-buffer (Bug#8865).
981d5c09
MR
13761 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13762 (switch-to-buffer-other-window-same-frame)
13763 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13764 Adams (Bug#8875).
9c2755e9
MR
13765 (display-buffer): Don't check noninteractive when calling
13766 display-buffer-pop-up-frame.
13767 (display-buffer-pop-up-frame): Never pop up a frame in
13768 noninteractive mode (Bug#8857).
67222e1d
MR
13769 (enlarge-window, shrink-window): Don't report an error when the
13770 window can't be resized as requested (Bug#8862).
9b9c9e3a 13771
2b75be67
SM
137722011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13773
9ffdd3ba
SM
13774 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13775
cb581a67
SM
13776 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13777
2b75be67
SM
13778 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13779
8c0e3589
AM
137802011-06-15 Alan Mackenzie <acm@muc.de>
13781
cb581a67
SM
13782 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13783 for declarators, disable knr checking to speed up for normal files.
13784 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13785
b96e6cde
LMI
137862011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13787
4bba86e6
LMI
13788 * net/network-stream.el (open-network-stream): Add the keyword
13789 :always-query-capabilities for the case where you want to force a
13790 `plain' network connection, but the protocol still requires the
13791 capabilitiy command (i.e., SMTP and EHLO).
13792
2b75be67 13793 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13794 consistency with other `-live-p' functions.
13795
efdcdbf8
SM
137962011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13797
13798 * window.el (same-window-buffer-names, same-window-regexps)
13799 (special-display-frame-alist, special-display-popup-frame)
13800 (special-display-function, special-display-buffer-names)
13801 (special-display-regexps, pop-up-frame-alist)
13802 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13803 (pop-up-windows, split-window-preferred-function)
13804 (split-height-threshold, split-width-threshold, even-window-heights)
13805 (display-buffer-mark-dedicated): Don't encourage the use of
13806 display-buffer-alist from Elisp code.
13807
c5cde042
DN
138082011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13809
13810 * progmodes/python.el (python-mode): Derive from prog-mode.
13811 * progmodes/ps-mode.el (ps-mode):
13812 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13813 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13814 * progmodes/ld-script.el (ld-script-mode): Likewise.
13815
baa1c9ab
MR
138162011-06-15 Martin Rudalics <rudalics@gmx.at>
13817
13818 * window.el (display-buffer-alist): Trim default value to avoid
13819 popping up a new frame (Bug#8857) or reusing an arbitrary window
13820 on another frame.
13821 (display-buffer): Do not fall back on popping up a new frame in
13822 batch mode (Bug#8857).
13823
c5dd5a51
CY
138242011-06-14 Chong Yidong <cyd@stupidchicken.com>
13825
13826 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13827 (custom-theme-summary): New function.
13828 (customize-themes): Use it.
13829
d647b7c4
GM
138302011-06-13 Glenn Morris <rgm@gnu.org>
13831
13832 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13833
9481c002
MR
138342011-06-13 Martin Rudalics <rudalics@gmx.at>
13835
357f93d2
MR
13836 * help.el (help-window): Remove variable.
13837 (help-window-point-marker, temp-buffer-max-height)
13838 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13839 (help-print-return-message): Don't set help-window.
13840 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13841 (help-window-setup-finish): Remove.
13842 (help-window-display-message, help-window-setup)
13843 (with-help-window): Major rewrite based on new
13844 display-buffer-window variable.
13845
13846 * help-mode.el (help-mode-finish): Remove help-window related
13847 code.
13848
13849 * view.el (view-exits-all-viewing-windows): Remove reference to
13850 view-return-to-alist in doc-string.
13851 (view-return-to-alist): Make obsolete.
13852 (view-buffer): Call pop-to-buffer-same-window and remove
13853 undo-window code.
13854 (view-buffer-other-window): Call pop-to-buffer-other-window and
13855 simplify code. Ignore second argument.
13856 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13857 simplify code. Ignore second argument.
13858 (view-return-to-alist-update): Make obsolete.
13859 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13860 Rewrite using quit-restore window parameters.
2b75be67
SM
13861 (view-mode-exit): Rename second argument to EXIT-ONLY.
13862 Rewrite using quit-restore-window.
357f93d2
MR
13863 (View-exit, View-exit-and-edit, View-leave, View-quit)
13864 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13865 appropriate arguments.
13866 (view-end-message): Use quit-restore window parameter.
13867
9481c002
MR
13868 * window.el (display-buffer-function): Rewrite doc-string.
13869 (display-buffer-window, display-buffer-alist): New variables.
13870 (display-buffer-split-specifiers)
13871 (display-buffer-side-specifiers)
13872 (display-buffer-macro-specifiers): New constants.
13873 (display-buffer-even-window-sizes, display-buffer-set-height)
13874 (display-buffer-set-width, display-buffer-select-window)
13875 (display-buffer-in-window, display-buffer-reuse-window)
13876 (display-buffer-split-window-1, display-buffer-split-window)
13877 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13878 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13879 (display-buffer-in-side-window, normalize-buffer-to-display)
13880 (display-buffer-normalize-specifiers-1)
13881 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13882 (display-buffer-normalize-specifiers, display-buffer-frame):
13883 New functions.
9481c002
MR
13884 (display-buffer): Major rewrite.
13885 (display-buffer-other-window, display-buffer-other-frame)
13886 (pop-to-buffer, switch-to-buffer-other-window)
13887 (switch-to-buffer-other-frame): Rewrite.
13888 (display-buffer-same-window, display-buffer-same-frame)
13889 (display-buffer-same-frame-other-window)
13890 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13891 (pop-to-buffer-other-window)
13892 (pop-to-buffer-same-frame-other-window)
13893 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13894 (switch-to-buffer-other-window-same-frame): New functions.
13895 (same-window-p, special-display-p): Rewrite disabling warnings.
13896 Make obsolete.
13897 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13898 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13899 Make obsolete
13900 (same-window-buffer-names, same-window-regexps)
13901 (special-display-frame-alist, special-display-popup-frame)
13902 (special-display-function, special-display-buffer-names)
13903 (special-display-regexps, pop-up-frame-alist)
13904 (pop-up-frame-function, split-window-preferred-function)
13905 (split-height-threshold, split-width-threshold)
13906 (even-window-heights): Make obsolete.
13907
9db51aca
GM
139082011-06-12 Glenn Morris <rgm@gnu.org>
13909
13910 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13911 Misc simplifications.
9db51aca 13912
39cffb44
MR
139132011-06-12 Martin Rudalics <rudalics@gmx.at>
13914
13915 * window.el (window-safely-shrinkable-p): Restore function which
13916 was inadvertently removed in change from 2011-06-11. Declare as
13917 obsolete.
13918
2b75be67
SM
13919 * calendar/calendar.el (calendar-generate-window):
13920 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13921 window-safely-shrinkable-p.
13922
a8955be7
GM
139232011-06-12 Glenn Morris <rgm@gnu.org>
13924
13925 * progmodes/fortran.el (fortran-mode-syntax-table):
13926 * progmodes/f90.el (f90-mode-syntax-table):
13927 Set % to punctuation. (Bug#8820)
13928 (f90-find-tag-default): Remove, no longer needed.
13929
f0d4059d
DC
139302011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13931
13932 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13933
1100a63c
CY
139342011-06-11 Chong Yidong <cyd@stupidchicken.com>
13935
13936 * image.el (image-animated-p): Return animation delay in seconds.
13937 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13938 (image-animate-timeout): Remove DELAY argument. Don't assume
13939 every subimage has the same delay; get it from image-animated-p.
13940 (image-animate): Caller changed.
13941
def722bf
MA
139422011-06-11 Michael Albinus <michael.albinus@gmx.de>
13943
13944 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13945 to ignored backtrace functions.
13946
0a2bb1a9
GM
139472011-06-11 Glenn Morris <rgm@gnu.org>
13948
13949 * calendar/appt.el (appt-disp-window-function): Doc fix.
13950 (appt-check): Handle overlapping appointments. (Bug#8337)
13951
6198ccd0
MR
139522011-06-11 Martin Rudalics <rudalics@gmx.at>
13953
13954 * window.el (window-tree-1, window-tree): New functions, moving
13955 the latter to window.el.
13956 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13957 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13958 (bw-refresh-edges): Remove.
13959 (balance-windows-1, balance-windows-2): New functions.
13960 (balance-windows): Rewrite in terms of window tree functions,
13961 balance-windows-1 and balance-windows-2.
13962 (bw-adjust-window): Remove.
13963 (balance-windows-area-adjust): New function with functionality of
13964 bw-adjust-window but using resize-window.
2b75be67
SM
13965 (set-window-text-height): Rewrite doc-string.
13966 Use normalize-live-window and resize-window.
13967 (enlarge-window-horizontally, shrink-window-horizontally):
13968 Rename argument to DELTA.
6198ccd0
MR
13969 (window-buffer-height): New function.
13970 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13971 Rewrite using new window resize routines.
2b75be67
SM
13972 (kill-buffer-and-window, mouse-autoselect-window-select):
13973 Use ignore-errors instead of condition-case.
6198ccd0
MR
13974 (quit-window): Call delete-frame instead of delete-windows-on
13975 for the only buffer on frame.
13976
9397e56f
MR
139772011-06-10 Martin Rudalics <rudalics@gmx.at>
13978
13979 * loadup.el (top-level): Load window before files for the sake
13980 of replace-buffer-in-windows.
13981
13982 * files.el (read-buffer-to-switch)
13983 (switch-to-buffer-other-window)
2b75be67
SM
13984 (switch-to-buffer-other-frame, display-buffer-other-frame):
13985 Move to window.el.
9397e56f
MR
13986
13987 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13988 (previous-buffer): Move to window.el.
13989
13990 * bindings.el (unbury-buffer): Move to window.el.
13991
13992 * window.el (delete-other-windows-vertically): Move after
13993 definition of delete-other-windows.
13994 (other-window, delete-windows-on, replace-buffer-in-windows):
13995 Move here from window.c.
13996 (record-window-buffer, unrecord-window-buffer)
13997 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13998 (switch-to-next-buffer): New functions.
13999 (get-next-valid-buffer, last-buffer, next-buffer): Move here
14000 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
14001 (previous-buffer): Move here from simple.el.
14002 Call switch-to-prev-buffer.
9397e56f
MR
14003 (bury-buffer): Move here from buffer.c. Switch to previous
14004 buffer when window cannot be deleted.
14005 (unbury-buffer): Move here from bindings.el.
14006 (ctl-x-map): Move binding for other-window from window.c to
14007 here.
14008 (read-buffer-to-switch, switch-to-buffer-other-window)
14009 (switch-to-buffer-other-frame): Move here from files.el.
14010 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
14011 (switch-to-buffer): Move here from buffer.c.
14012 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 14013
562dd5e9
MR
140142011-06-10 Martin Rudalics <rudalics@gmx.at>
14015
14016 * window.el (window-min-height, window-min-width): Move here
14017 from window.c. Add defcustoms and rewrite doc-strings.
14018 (resize-mini-window, resize-window): New functions.
14019 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14020 Move here from window.c.
14021 (maximize-window, minimize-window): New functions.
14022 (delete-window, delete-other-windows, split-window): Move here
14023 from window.c.
14024 (window-split-min-size): New function.
14025 (split-window-keep-point): Mention split-window-above-each-other
14026 instead of split-window-vertically.
2b75be67 14027 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14028 Rename split-window-vertically to split-window-above-each-other
14029 and provide defalias for old definition.
14030 (split-window-side-by-side, split-window-horizontally):
14031 Rename split-window-horizontally to split-window-side-by-side
14032 and provide defalias for the old definition.
562dd5e9
MR
14033 (ctl-x-map): Move bindings for delete-window,
14034 delete-other-windows and enlarge-window here from window.c.
14035 Replace bindings for split-window-vertically and
14036 split-window-horizontally by bindings for
14037 split-window-above-each-other and split-window-side-by-side.
14038
14039 * cus-start.el (all): Remove entries for window-min-height and
14040 window-min-width. Add entries for window-splits and
14041 window-nest.
14042
f0da764a
GM
140432011-06-09 Glenn Morris <rgm@gnu.org>
14044
80675c21
GM
14045 * calendar/appt.el (appt-mode-line): New function.
14046 (appt-check, appt-disp-window): Use it.
14047
f0da764a
GM
14048 * files.el (hack-one-local-variable-eval-safep):
14049 Allow minor-modes with explicit +/-1 arguments.
14050
59f623b7
TZ
140512011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14052
14053 * term/xterm.el (xterm): Add defgroup.
14054 (xterm-extra-capabilities): Add defcustom to supply known xterm
14055 capabilities, skip querying them, or query them (default).
14056 (terminal-init-xterm): Use it.
14057 (terminal-init-xterm-modify-other-keys): New function to set up
14058 modifyOtherKeys support to simplify `terminal-init-xterm'.
14059
9aab8e0d
MR
140602011-06-09 Martin Rudalics <rudalics@gmx.at>
14061
14062 * window.el (resize-window-reset, resize-window-reset-1)
14063 (resize-subwindows-skip-p, resize-subwindows-normal)
14064 (resize-subwindows, resize-other-windows, resize-this-window)
14065 (resize-root-window, resize-root-window-vertically)
14066 (window-deletable-p, window-or-subwindow-p)
14067 (frame-root-window-p): New functions.
14068
e8b08aee
GM
140692011-06-09 Glenn Morris <rgm@gnu.org>
14070
14071 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14072 (ange-ftp-get-files): Use it.
14073
254c37a5
AK
140742011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14075
14076 * mail/sendmail.el (mail-recover-1, mail-recover):
14077 * files.el (recover-file, recover-session):
14078 Handle dired-listing-switches not being just a single short option.
14079
35d7dbd3
GM
140802011-06-09 Glenn Morris <rgm@gnu.org>
14081
14082 * calendar/appt.el (appt-display-message, appt-disp-window):
14083 Handle lists of appointments.
14084
387522b2
MR
140852011-06-08 Martin Rudalics <rudalics@gmx.at>
14086
2b75be67
SM
14087 * window.el (one-window-p): Move down in code.
14088 Rewrite doc-string.
14089 (window-current-scroll-bars): Rewrite doc-string.
14090 Normalize live window argument.
387522b2
MR
14091 (walk-windows, get-window-with-predicate, count-windows):
14092 Rewrite doc-string. Use window-list-1.
14093 (window-in-direction-2, window-in-direction, get-mru-window):
14094 New functions.
14095
d8e4b68b 140962011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14097
14098 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14099 Doc fix (Bug#8713).
14100
141012011-06-08 Chong Yidong <cyd@stupidchicken.com>
14102
14103 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14104
141052011-06-08 Juanma Barranquero <lekktu@gmail.com>
14106
14107 * loadhist.el (unload-feature-special-hooks):
14108 Add `comint-output-filter-functions'.
14109
0de12c52
IK
141102011-06-08 Ivan Kanis <gnu@kanis.fr>
14111
14112 * calendar/appt.el (appt-check): Move some initializations into the let.
14113
f3d1777e
MR
141142011-06-08 Martin Rudalics <rudalics@gmx.at>
14115
14116 * window.el (window-height): Defalias to window-total-height.
14117 (window-width): Defalias to window-body-width.
14118
18af70d0
CY
141192011-06-07 Chong Yidong <cyd@stupidchicken.com>
14120
14121 * image-mode.el (image-toggle-animation): New command.
14122 (image-mode-map): Bind it to RET.
14123 (image-mode): Update message.
14124 (image-toggle-display-image): Avoid a spurious cache flush.
14125 (image-transform-rotation): Doc fix.
14126 (image-transform-properties): Return quickly in the normal case.
14127 (image-animate-loop): Rename from image-animate-max-time.
14128
2b75be67 14129 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14130 (create-animated-image): Remove unnecessary function.
14131 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14132 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14133 (image-animate-timer): Use car-safe.
14134 (image-animate-timeout): Rename argument.
14135
190b47e6
MR
141362011-06-07 Martin Rudalics <rudalics@gmx.at>
14137
14138 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14139 window.c. Rename first argument to ALL-FRAMES.
14140 Rephrase doc-strings.
14141 (get-buffer-window-list): Rewrite using window-list-1.
14142 Rephrase doc-string.
a1511caf
MR
14143 (window-safe-min-height, window-safe-min-width): New constants.
14144 (window-size-ignore, window-min-size, window-min-size-1)
14145 (window-sizable, window-sizable-p, window-size-fixed-1)
14146 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14147 (window-max-delta-1, window-max-delta, window-resizable)
14148 (window-resizable-p, window-total-height, window-total-width)
14149 (window-body-width): New functions.
14150 (window-full-height-p, window-full-width-p): Rewrite using
14151 window-total-size.
14152 (window-body-height): Rewrite using window-body-size.
190b47e6 14153
85cc1f11
MR
141542011-06-06 Martin Rudalics <rudalics@gmx.at>
14155
14156 * window.el (window-right, window-left, window-child)
14157 (window-child-count, window-last-child, window-any-p)
14158 (normalize-live-buffer, normalize-live-frame)
14159 (normalize-any-window, normalize-live-window)
14160 (window-iso-combination-p, window-iso-combined-p)
14161 (window-iso-combinations)
14162 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14163 (windows-with-parameter, window-with-parameter)
14164 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14165 (window-atom-check, window-side-check, window-check):
14166 New functions.
85cc1f11
MR
14167 (ignore-window-parameters, window-sides, window-sides-vertical)
14168 (window-sides-slots): New variables.
14169 (window-size-fixed): Move down in code. Minor doc-string fix.
14170
e7156492
AS
141712011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14172
14173 * comint.el (comint-dynamic-complete-as-filename)
14174 (comint-dynamic-complete-filename): Correctly call
14175 completion-in-region.
14176
7e821d0d
DD
141772011-06-05 Deniz Dogan <deniz@dogan.se>
14178
14179 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14180 in last change.
14181
ac09b8a1
DD
141822011-06-05 Deniz Dogan <deniz@dogan.se>
14183
14184 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14185 (rcirc): Use it to prompt for encryption.
14186
34699b85
RW
141872011-06-05 Roland Winkler <winkler@gnu.org>
14188
14189 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14190 (bibtex-search-entries): New command bound to C-c C-a.
14191 (bibtex-display-entries): New function.
14192
004dedd3
RW
141932011-06-05 Roland Winkler <winkler@gnu.org>
14194
14195 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14196 (bibtex-insert-kill): After yanking insert newline if necessary.
14197 (bibtex-initialize): Call bibtex-string-files-init only once.
14198 (bibtex-mode): Do not call easy-menu-add.
14199 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14200 (bibtex-yank): Set arg properly if nil.
14201
022fe7ce
RW
142022011-06-05 Roland Winkler <winkler@gnu.org>
14203
2b75be67
SM
14204 * textmodes/bibtex.el (bibtex-search-entry-globally):
14205 New variable.
022fe7ce
RW
14206 (bibtex-search-entry): Use it.
14207
b7c3692a
RW
142082011-06-05 Roland Winkler <winkler@gnu.org>
14209
14210 * textmodes/bibtex.el (bibtex-entry-format): New option
14211 sort-fields.
14212 (bibtex-format-entry, bibtex-reformat): Honor this option.
14213 (bibtex-parse-entry): Return fields in proper order.
14214
8eda563d
JB
142152011-06-05 Juanma Barranquero <lekktu@gmail.com>
14216
14217 * doc-view.el (doc-view-remove-if): Move computation of result out
14218 of `dolist' to silence misleading lexical-binding warning.
14219
7dbe3dbc
CY
142202011-06-04 Chong Yidong <cyd@stupidchicken.com>
14221
14222 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14223 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14224
0c33dd17
MA
142252011-06-04 Michael Albinus <michael.albinus@gmx.de>
14226
14227 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14228 "SunOS 5.10".
14229
f8f91c2b
MA
142302011-06-04 Michael Albinus <michael.albinus@gmx.de>
14231
14232 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14233 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14234 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14235 (tramp-parse-putty):
14236 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14237 (tramp-completion-function-alist-ssh)
14238 (tramp-completion-function-alist-telnet)
14239 (tramp-completion-function-alist-su)
14240 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14241 cookie.
14242
14243 * net/tramp-ftp.el:
14244 * net/tramp-sh.el:
14245 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14246 load "tramp.el" `tramp-set-completion-function'.
14247
e17d9003
SM
142482011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14249
14250 * shell.el: Require and use pcomplete.
14251 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14252 (shell-completion-vars): Set pcomplete-default-completion-function.
14253
6c4cab03
DD
142542011-06-04 Deniz Dogan <deniz@dogan.se>
14255
14256 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14257 `memq' (Bug#8799).
14258
ea9fafe0
SM
142592011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14260
14261 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14262
b3e945d3
JB
142632011-06-02 Juanma Barranquero <lekktu@gmail.com>
14264
14265 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14266 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14267 * vc/log-view.el (log-view-beginning-of-defun):
14268 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14269 (smerge-refine-forward, smerge-refine-chopup-region):
14270 Silence warning for unused `dotimes' counter variables.
14271
7d520089
SM
142722011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14273
14274 * net/tramp.el (tramp-with-progress-reporter): Rename from
14275 with-progress-reporter. Use `declare'.
14276 * net/tramp-smb.el:
14277 * net/tramp-sh.el:
14278 * net/tramp-gvfs.el: Update all uses.
14279
a1c2400f
JB
142802011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14281
14282 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14283 buffer isn't killed before making it current.
14284
2403c841
SM
142852011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14286
14287 Silence various byte-compiler warnings.
14288 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14289 `access-type' and new obsolescence format.
14290 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14291 new format.
14292 (byte-compile-check-variable): New `access-type' argument.
14293 Only warn if the access-type is obsolete.
14294 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14295 (byte-compile-variable-set): Adjust callers.
14296 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14297 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14298 setting it as obsolete.
14299 * simple.el (minibuffer-completing-symbol):
14300 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14301 access as obsolete.
14302 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14303 obsolete yet.
14304 * international/quail.el (quail-mouse-choose-completion): Remove unused
14305 code referring to obsolete var.
14306 (quail-choose-completion-string): Remove.
14307 * server.el (server-clients-with, server-kill-buffer-query-function)
14308 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14309 * proced.el (proced-send-signal):
14310 * emacs-lisp/lisp.el (lisp-complete-symbol):
14311 Replace completion-annotate-function with completion-extra-properties.
14312
2462470b
SM
143132011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14314
fb5b2591
SM
14315 * simple.el (goto-line): Use read-number.
14316 (overriding-map-is-bound): Remove.
14317 (saved-overriding-map): Change default.
14318 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14319 Take the map as argument.
14320 (universal-argument, negative-argument, digit-argument): Use it.
14321 (restore-overriding-map): Adjust.
14322 (do-auto-fill): Use fill-forward-paragraph.
14323 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14324
fd6fa53f
SM
14325 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14326 (minibuffer-inactive-mode): New major mode.
14327 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14328 the *Messages* buffer" hack.
14329 (mouse-popup-menubar): Don't burp if the event is a normal key.
14330
2462470b
SM
14331 Miscellaneous tweaks.
14332 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14333 lexical scoping as in subr.el's dolist and dotimes.
14334 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14335 Silence compiler warning.
14336 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14337 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14338 * international/ccl.el (ccl-compile): Trivial simplification.
14339 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14340 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14341 `printflag' argument.
14342 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14343 Purecopy the whole obsolescence data.
14344
108bf785
LL
143452011-06-01 Leo Liu <sdl.web@gmail.com>
14346
14347 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14348 improve doc-string as suggested by Marco Pessotto
14349 <melmothx@gmail.com>.
14350 (rcirc-print): Fix last change.
14351
30a23501
SM
143522011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14353
14354 * minibuffer.el (complete-with-action): Return nil for the metadata and
14355 boundaries of non-functional tables.
14356 (completion-table-dynamic): Return nil for the metadata.
14357 (completion-table-with-terminator): Add default case, using
14358 complete-with-action.
14359 (completion--metadata): New function.
14360 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14361 to try and avoid pathological performance problems.
14362 (completion--embedded-envvar-table): Return `category' metadata.
14363
bcd54f83
LMI
143642011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14365
14366 * subr.el (process-alive-p): New tiny convenience function.
14367
e227544d
SM
143682011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14369
14370 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14371 content but also its previous major mode.
14372
e8296fdc
HE
143732011-05-31 Helmut Eller <eller.helmut@gmail.com>
14374
4d61f28d 14375 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14376 *Backtrace* buffer when we exit with C-M-c.
14377
620c53a6
SM
143782011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14379
14380 * minibuffer.el: Add metadata method to completion tables.
14381 (completion-category-overrides): New defcustom.
14382 (completion-metadata, completion--field-metadata)
14383 (completion-metadata-get, completion--styles)
14384 (completion--cycle-threshold): New functions.
14385 (completion-try-completion, completion-all-completions):
14386 Add `metadata' argument to choose completion-styles.
14387 (completion--do-completion): Use metadata to choose cycling.
14388 (completion-all-sorted-completions): Use metadata for sorting.
14389 Remove :completion-cycle-penalty which is not needed any more.
14390 (completion--try-word-completion): Add `metadata' argument.
14391 (minibuffer-completion-help): Check metadata for annotation function
14392 and sorting.
14393 (completion-file-name-table): Return `category' metadata.
14394 (minibuffer-completing-file-name): Make obsolete.
14395 * simple.el (minibuffer-completing-symbol): Make obsolete.
14396 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14397 completion-try-completion.
14398
1257e755
SM
143992011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14400
14401 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14402
3767e706
LL
144032011-05-30 Leo Liu <sdl.web@gmail.com>
14404
14405 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14406 (rcirc-print): Decode all incoming messages (bug#8744).
14407 (rcirc-decode-coding-system): Allow value nil for automatic coding
14408 system detection.
3767e706 14409
d1a5d56a
GM
144102011-06-01 Glenn Morris <rgm@gnu.org>
14411
14412 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14413
e8cbec34
CY
144142011-05-29 Chong Yidong <cyd@stupidchicken.com>
14415
14416 * image.el (image-animate-max-time): Allow nil and t values.
14417 Default to nil.
14418 (create-animated-image): Doc fix.
14419 (image-animate-start): Remove second arg; just use
14420 image-animate-max-time.
14421 (image-animate-timeout): Doc fix. Args changed.
14422
14423 * image-mode.el (image-toggle-display-image): Ensure that the
14424 image spec passed to the animate timer is the same object as in
58179cce 14425 the buffer's display property (Bug#6981).
e8cbec34
CY
14426 (image-transform-properties): Doc fix.
14427
14428 * image.el (image-animate-max-time): Default to nil.
14429
159daf87
MR
144302011-05-29 Martin Rudalics <rudalics@gmx.at>
14431
14432 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14433 entire buffer list (Bug#8184).
14434
d66c4c7c
CY
144352011-05-29 Chong Yidong <cyd@stupidchicken.com>
14436
14437 * image.el (imagemagick-types-inhibit)
14438 (imagemagick-register-types): Doc fix.
14439
80aec780
DD
144402011-05-29 Deniz Dogan <deniz@dogan.se>
14441
14442 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14443 default.
14444
1dd3c2d9
CY
144452011-05-29 Chong Yidong <cyd@stupidchicken.com>
14446
14447 * select.el: Don't perform clipboard-manager saving in hooks;
14448 leave the hooks empty.
14449
60e56523
LL
144502011-05-28 Leo Liu <sdl.web@gmail.com>
14451
14452 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14453 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14454 (occur-edit-mode): New major mode (Bug#8463).
14455 (occur-after-change-function): New function.
14456 (occur-engine): Give Occur tags a read-only property.
14457
2b1e1a22
KR
144582011-05-28 Kevin Ryde <user42@zip.com.au>
14459
14460 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14461
5d344e88
CY
144622011-05-28 Chong Yidong <cyd@stupidchicken.com>
14463
8e6ca83d
CY
14464 * bindings.el (help-echo): Make the initial non-indicator dash
14465 empty on graphical terminals (Bug#7295).
14466
5d344e88
CY
14467 * files.el (auto-mode-alist): Move config rule after the
14468 in-stripping one (Bug#8547).
14469
bfbbace7
CY
14470 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14471
fbeba6e2
CY
14472 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14473 setting (Bug#8740).
14474
60ed8c72
AA
144752011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14476
4ac619f0
AA
14477 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14478 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14479 (Bug#8539).
60ed8c72 14480
23db196e
CY
144812011-05-28 Chong Yidong <cyd@stupidchicken.com>
14482
14483 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14484
5012f24c
DK
144852011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14486
14487 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14488 (hs-hide-block-at-point, hs-find-block-beginning)
14489 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14490 (Bug#8279).
14491
6a639b16
GM
144922011-05-28 Glenn Morris <rgm@gnu.org>
14493
14494 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14495
d43eaf2c
CY
144962011-05-28 Chong Yidong <cyd@stupidchicken.com>
14497
5199bde1
CY
14498 * help-fns.el (describe-function-1): If the function is a derived
14499 major mode, print the parent mode.
14500
d43eaf2c
CY
14501 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14502 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14503
423428a8
SM
145042011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14505
0ff8e1ba 14506 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14507 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14508 * progmodes/etags.el (tags-completion-at-point-function):
14509 * info-look.el (info-lookup-completions-at-point): Mark as
14510 non-exclusive.
14511 (info-complete): Adjust accordingly.
14512
423428a8
SM
14513 * info-look.el: Convert to lexical-binding and completion-at-point.
14514 (info-lookup-completions-at-point): New function.
14515 (info-complete): Use it and completion-in-region.
14516
b74aa22b
DA
145172011-05-28 Drew Adams <drew.adams@oracle.com>
14518
14519 * isearch.el: Let M-e start with point at the first mismatched char.
14520 (isearch-fail-pos): New function.
14521 (isearch-edit-string): Use it.
14522
66e2e71d
DK
145232011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14524
14525 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14526
b1890b0f 145272011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14528
14529 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14530 traversal functions for avl-trees.
14531 (avl-tree--stack): New struct.
14532 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14533 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14534 (avl-tree--do-enter): Add optional `updatefun' arg.
14535 Change return value.
eb95d01d 14536 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14537 (avl-tree--do-delete): Add `test' and `nilflag' args.
14538 Change return value.
eb95d01d
TC
14539 (avl-tree-member): Add optional `nilflag'
14540 (avl-tree-member-p): New function.
14541 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14542 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14543 (avl-tree-stack-empty-p): New functions.
14544
3769ddcf
TC
14545 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14546 avl-tree--del-balance1 and make it work both ways.
14547 (avl-tree--del-balance2): Remove.
14548 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14549 make it work both ways.
14550 (avl-tree--enter-balance2): Remove.
14551 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14552 New macros.
14553 (avl-tree--mapc, avl-tree-map): Add direction argument.
14554
eb95d01d 145552011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14556
14557 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14558
a9f737ee
CY
145592011-05-27 Chong Yidong <cyd@stupidchicken.com>
14560
14561 * select.el: Support clipboard managers with built-in function
14562 x-clipboard-manager-save, via delete-frame-functions and
14563 kill-emacs-hook.
14564 (xselect-convert-to-targets): Add MULTIPLE target to list.
14565 (xselect-convert-to-save-targets): New function.
14566
c92a1e54
KH
145672011-05-27 Kenichi Handa <handa@m17n.org>
14568
14569 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14570 let-binding rfc2047-encode-encoded-words to nil.
14571
e145f188
GM
145722011-05-27 Glenn Morris <rgm@gnu.org>
14573
5ec8a862
GM
14574 * mail/emacsbug.el: Don't require url-util.
14575
4b29d9fb
GM
14576 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14577
e145f188
GM
14578 * files.el (set-auto-mode):
14579 Also respect mode: entries at the end of the file. (Bug#8586)
14580
7d15102b
GM
145812011-05-26 Glenn Morris <rgm@gnu.org>
14582
98f593b8
GM
14583 * files.el (hack-local-variables-prop-line, hack-local-variables):
14584 Downcase mode names, as seems to be traditional.
27b48e63 14585 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14586
7d15102b
GM
14587 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14588 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14589
51d5b4ec
JD
145902011-05-25 Julien Danjou <julien@danjou.info>
14591
14592 * textmodes/rst.el (rst-define-level-faces): Do not define face
14593 symbol if it is already defined.
14594
91513f63
VB
145952011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14596
14597 * play/5x5.el (5x5-new-game, 5x5-randomize):
14598 Reset 5x5-solver-output to nil when a new grid is cast.
14599 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14600 these debugging traces, as defmacro breaks the compiled code.
14601
4d90d6d0
DK
146022011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14603
14604 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14605
e1b90ef6
LL
146062011-05-24 Leo Liu <sdl.web@gmail.com>
14607
14608 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14609 (vc-bzr-sha1): Adapt.
14610
d8e4b68b 14611 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14612
14613 * bindings.el: Provide sha1 feature.
14614
db0406bb 146152011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14616
14617 * mail/sendmail.el: Require `rfc2047'.
14618 (mail-insert-from-field): Do not perform RFC2047 encoding.
14619 (mail-encode-header): New function.
14620 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14621 buffer to the return value of select-message-coding-system.
14622 Call mail-encode-header.
b8d747b9
KH
14623
14624 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14625
db0406bb 146262011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14627
4d90d6d0
DK
14628 * mail/supercite.el (sc-default-cite-frame):
14629 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14630
eb8a5e9b
GM
146312011-05-24 Glenn Morris <rgm@gnu.org>
14632
f8630703
GM
14633 * progmodes/python.el (brm-menu): Declare.
14634
8831bbed
GM
14635 * emulation/viper.el (viper-set-hooks): Declare.
14636
eb8a5e9b
GM
14637 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14638 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14639 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14640 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14641 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14642 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14643
a2a25d24
SM
146442011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14645
14646 Add an :exit-function for completion-at-point.
14647
14648 * minibuffer.el (completion--done): New fun.
14649 (completion--do-completion): Use it. New arg `expect-exact'.
14650 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14651 since completion--do-completion does it for us now.
14652 (minibuffer-force-complete): Use completion--done and
14653 completion--replace. Handle sole-completion case with more care.
14654 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14655 (completion-extra-properties): New var.
14656 (completion-annotate-function): Make obsolete.
14657 (minibuffer-completion-help): Adjust accordingly.
14658 Use completion-list-insert-choice-function.
14659 (completion-at-point, completion-help-at-point):
14660 Bind completion-extra-properties.
14661 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14662 * simple.el (completion-list-insert-choice-function): New var.
14663 (completion-setup-function): Preserve it.
14664 (choose-completion): Pay attention to it, shuffle the code a bit.
14665 (choose-completion-string): New arg `insert-function'.
14666
14667 * textmodes/bibtex.el: Convert to lexical binding.
14668 (bibtex-mode-map): Use completion-at-point.
14669 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14670 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14671 (bibtex-complete): Define as obsolete alias.
14672 (bibtex-complete-internal): Remove.
14673 (bibtex-format-entry): Remove unused sub-group in regexp.
14674 * shell.el (shell--command-completion-data)
14675 (shell-environment-variable-completion):
14676 * pcomplete.el (pcomplete-completions-at-point):
14677 * comint.el (comint--complete-file-name-data): Use :exit-function
14678 instead of completion-table-with-terminator so it also works for
14679 choose-completion.
14680
e44e373d
SM
146812011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14682
4f91a816
SM
14683 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14684
782fc819
SM
14685 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14686 (bug#8710).
14687
e44e373d
SM
14688 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14689
381987c3
KM
146902011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14691
14692 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14693 customization variable and implement: If non-nil, auto-fill will
14694 be inhibited while on topic's header line.
14695
b776bc70
VB
146962011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14697
14698 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14699 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14700 always have a solution in grid size = 5 cases.
14701 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14702 (5x5-solver-output, 5x5-log-buffer): New vars.
14703 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14704 Make these variables buffer local to achieve 5x5 multi-session-ness.
14705 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14706 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14707 (5x5-solve-suggest): New funs.
14708 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14709 randomize a grid so that we ensure that there is always a solution.
14710 (5x5-make-random-grid): Allow other movement than flipping.
14711
7de88b6e
KR
147122011-05-23 Kevin Ryde <user42@zip.com.au>
14713
14714 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14715 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14716 advice and passes PREDICATE.
14717
b1ef1257
SM
147182011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14719
bbca48fe
SM
14720 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14721 byte-compile-lambda if it's actually a lambda.
14722
b1ef1257
SM
14723 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14724 Fix function quoting. Use backquote better.
14725
92a9cc65
YS
147262011-05-22 Yuanle Song <sylecn@gmail.com>
14727
14728 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14729 matching (Bug#8516).
14730
f0fb8059
JA
147312011-01-22 Jari Aalto <jari.aalto@cante.net>
14732
14733 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14734 different face (Bug#8178).
14735
d5b44c93
CY
147362011-05-22 Chong Yidong <cyd@stupidchicken.com>
14737
14738 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14739 defface (Bug#8144).
14740
79106a44
SM
147412011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14742
9c848d8a
SM
14743 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14744 funcall as well (bug#8712). Warn when performing those conversions.
14745 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14746
79106a44
SM
14747 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14748
88dfa756
GM
147492011-05-22 Glenn Morris <rgm@gnu.org>
14750
14751 * files.el (hack-local-variables-prop-line): Small simplifications.
14752 (hack-local-variables, hack-local-variables-prop-line):
14753 If MODE-ONLY, return the mode, rather than just `t'.
14754
b7cf2c79
SM
147552011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14756
14757 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14758
3f1a8558
GM
147592011-05-21 Glenn Morris <rgm@gnu.org>
14760
7e4ccca3
GM
14761 * files.el (hack-local-variables-prop-line, hack-local-variables):
14762 If only interested in the mode, don't bother doing the other stuff.
14763
637d46ca
GM
14764 * image-mode.el (image-after-revert-hook):
14765 Redraw all frames on which the image is visible. (Bug#8567)
14766
973d955b
GM
14767 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14768
3f1a8558
GM
14769 * wid-edit.el (widget-checklist-match-inline):
14770 Fix 2011-04-19 change. (Bug#8649)
14771
96479927
SM
147722011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14773
1dcf791f
SM
14774 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14775 Also allow singlespace after single-letter capitals followed by a dot.
14776
96479927
SM
14777 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14778 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14779
35fd0881
N
147802011-05-20 Nix <nix@esperi.org.uk>
14781
14782 * files.el (basic-save-buffer-2):
14783 Fix handling of break-hardlink-on-save with non-existent files.
14784
82745640
DD
147852011-05-19 Deniz Dogan <deniz@dogan.se>
14786
14787 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14788 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14789
4a720484
GM
147902011-05-19 Glenn Morris <rgm@gnu.org>
14791
d1f21341
GM
14792 * progmodes/f90.el (f90-type-def-re):
14793 Handle "type, bind(c)". (Bug#8691)
14794
4a720484
GM
14795 * emacs-lisp/autoload.el (batch-update-autoloads):
14796 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14797
2fb0a219
MA
147982011-05-18 Michael Albinus <michael.albinus@gmx.de>
14799
14800 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14801 property for the correct connection in case of multihops.
14802
e565dd37
GM
148032011-05-18 Glenn Morris <rgm@gnu.org>
14804
c2571358 14805 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14806 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14807
e565dd37
GM
14808 Rationalize calendar handling of day and month abbrev-arrays.
14809 * calendar/calendar.el (calendar-customized-p): New function.
14810 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14811 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14812 Add :set function.
14813 (calendar-abbrev-length, calendar-day-abbrev-array)
14814 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14815 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14816 Elements may no longer be nil.
14817 (calendar-day-name, calendar-month-name):
14818 Update for changed nature of abbrev arrays.
14819 * calendar/diary-lib.el (diary-name-pattern):
14820 Update for changed nature of abbrev arrays.
14821 (diary-mark-entries-1): Update calendar-make-alist calls.
14822 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14823 * calendar/cal-html.el (cal-html-day-abbrev-array):
14824 Simply inherit from calendar-day-abbrev-array.
14825
1d99a745
SM
148262011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14827
14828 * progmodes/grep.el (grep-mode): Disable default
14829 compilation-directory-matcher setting (bug#8684).
14830
7c1d9aa0
MA
148312011-05-17 Michael Albinus <michael.albinus@gmx.de>
14832
14833 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14834 instead of "head" and "tail". There were problems with SunOS 5.9,
14835 and it performs better.
14836
3952e9d8
GM
148372011-05-17 Glenn Morris <rgm@gnu.org>
14838
2dd12e7f
GM
14839 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14840
e4157b9c
GM
14841 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14842 Replace obsolete function.
14843
8e249bbd
GM
14844 * shell.el (pcomplete-parse-arguments-function): Declare.
14845
3952e9d8
GM
14846 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14847 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14848 (appt-check): Doc fixes.
14849 (appt-disp-window-function, appt-delete-window-function):
14850 Remove needless special case in custom :type.
14851 (appt-display-count): Default to 0, not nil.
14852 (appt-check): Reset appt-display-count to 0, not nil.
14853
c71a0d48 148542011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14855
c71a0d48
GM
14856 * progmodes/python.el (python-font-lock-keywords):
14857 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14858
31d55be9
SM
148592011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14860
14861 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14862
3bfacb2f
KR
148632011-05-16 Kevin Ryde <user42@zip.com.au>
14864
14865 * info-look.el (makefile-automake-mode): New setups, looking in
14866 automake manual, then makefile-mode.
14867 (makefile-mode): Remove automake manual, have it just in
14868 makefile-automake-mode since there's various things different or
14869 not relevant to plain make.
14870 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14871 believe a hypothetical automake-mode would go to makefile-mode,
14872 not the other way around.
14873
c8e83751
CY
148742011-05-15 Chong Yidong <cyd@stupidchicken.com>
14875
5e9e35cd
CY
14876 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14877 hunk-end tags (Bug#8672).
14878
c8e83751
CY
14879 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14880 vc-annotate-show-diff-revision-at-line (Bug#8671).
14881
50b23e5a
GM
148822011-05-14 Glenn Morris <rgm@gnu.org>
14883
7210a739
GM
14884 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14885 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14886 (change-log-font-lock-keywords): Also handle multiple author lines
14887 with leading tabs. (Bug#8644)
7210a739 14888
4691905a
GM
14889 * calendar/appt.el (appt-check): Rename some local variables.
14890 Some simplification/reordering.
14891
50b23e5a
GM
14892 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14893 (feedmail-sendmail-f-doesnt-sell-me-out)
14894 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14895 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14896 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14897 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14898 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14899 (feedmail-binmail-gnulinuxish-template):
14900 Rename from feedmail-binmail-linuxish-template.
14901 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14902 Use insert-buffer-substring.
14903
215cda7c
BC
149042011-05-14 Bill Carpenter <bill@carpenter.org>
14905
14906 * mail/feedmail.el (feedmail-patch-level): Increase.
14907 (feedmail-debug): New custom group.
14908 (feedmail-confirm-outgoing-timeout)
14909 (feedmail-sendmail-f-doesnt-sell-me-out)
14910 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14911 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14912 (feedmail-sender-line, feedmail-from-line)
14913 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14914 (feedmail-spray-this-address)
215cda7c
BC
14915 (feedmail-spray-address-fiddle-plex-list)
14916 (feedmail-queue-use-send-time-for-date)
14917 (feedmail-queue-use-send-time-for-message-id)
14918 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14919 (feedmail-buffer-eating-function):
14920 Doc fixes.
14921 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14922 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14923 (feedmail-message-action-scroll-down): New functions.
14924 (feedmail-queue-directory, feedmail-queue-draft-directory):
14925 Use expand-file-name.
14926 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14927 Remove C-v help entry.
14928 (feedmail-queue-buffer-file-name): New variable.
14929 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14930 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14931 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14932 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14933 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14934 (feedmail-message-action-toggle-spray)
14935 (feedmail-run-the-queue-no-prompts)
14936 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14937 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14938 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14939 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14940 (feedmail-envelope-deducer, feedmail-fiddle-from)
14941 (feedmail-fiddle-sender, feedmail-default-date-generator)
14942 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14943 (feedmail-fiddle-spray-address)
14944 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14945 (feedmail-fiddle-list-of-fiddle-plexes)
14946 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14947 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14948 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14949 Change default. Doc fix.
14950 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14951 (feedmail-binmail-linuxish-template): New constant.
14952 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14953 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14954 (feedmail-send-it): Add debug call.
14955 Use feedmail-queue-buffer-file-name, and
14956 feedmail-send-it-immediately-wrapper.
14957 (feedmail-message-action-send): Add debug call.
14958 Use feedmail-send-it-immediately-wrapper.
14959 (feedmail-queue-express-to-queue): Add debug call.
14960 Run feedmail-queue-express-hook.
14961 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14962 (feedmail-message-action-help-blat):
14963 Rename from feedmail-queue-send-edit-prompt-help-first.
14964 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14965 Check line-endings. Handle errors better.
14966 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14967 Doc fix. Add debug call.
14968 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14969 Use feedmail-queue-send-edit-prompt-inner.
14970 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14971 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14972 from feedmail-queue-send-edit-prompt.
14973 (feedmail-queue-send-edit-prompt-help)
14974 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14975 (feedmail-tidy-up-slug): Add debug call.
14976 Respect feedmail-queue-slug-suspect-regexp.
14977 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14978 (feedmail-dump-message-to-queue): Add debug call.
14979 Expand queue-directory.
14980 (feedmail-dump-message-to-queue): Change message slightly.
14981 Use feedmail-say-chatter.
14982 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14983 (feedmail-send-it-immediately-wrapper): New function.
14984 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14985 Insert empty string rather than newline. Handle full-frame case.
14986 Use catch/throw. Use feedmail-say-chatter.
14987 (feedmail-fiddle-from): Try mail-host-address.
14988 (feedmail-default-message-id-generator): Doc fix.
14989 Bind system-time-locale. Handle missing end.
14990 (feedmail-fiddle-x-mailer): Add debug call.
14991 Handle feedmail-x-mailer-line being nil.
14992 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14993 Add debug call. Use buffer-substring-no-properties.
14994 (feedmail-say-debug, feedmail-say-chatter): New functions.
14995 (feedmail-find-eoh): Give an explicit error.
14996
42c7e61e
UJ
149972011-05-13 Ulf Jasper <ulf.jasper@web.de>
14998
c2571358 14999 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 15000 family from helvetica to sans.
c2571358 15001 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15002 etc/images/newsticker.
15003
c2571358 15004 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
15005 family from helvetica to sans.
15006
15007 * net/newst-plainview.el (newsticker-new-item-face)
15008 (newsticker-old-item-face, newsticker-immortal-item-face)
15009 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 15010 (newsticker-statistics-face): Change default family from
42c7e61e 15011 helvetica to sans.
c2571358 15012 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
15013 etc/images/newsticker.
15014
5d3385a0
JB
15015 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
15016 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
15017 auto-marking.
15018
8497a297
DV
150192011-05-13 Didier Verna <didier@xemacs.org>
15020
15021 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15022 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15023 TODO entries.
8497a297
DV
15024 (lisp-lambda-list-keyword-parameter-indentation)
15025 (lisp-lambda-list-keyword-parameter-alignment)
15026 (lisp-lambda-list-keyword-alignment): New customizable user options.
15027 (lisp-indent-defun-method): Improve docstring.
15028 (extended-loop-p): Fix comment.
15029 (lisp-indent-lambda-list-keywords-regexp): New variable.
15030 (lisp-indent-lambda-list): New function.
15031 (lisp-indent-259): Use it.
15032 (lisp-indent-defmethod): Support for more than one
15033 method qualifier and properly indent methods lambda-lists.
15034 (defgeneric): Provide a missing common-lisp-indent-function property.
15035
f278f87f
SM
150362011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15037
15038 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15039 bounds for the empty string (bug#8667).
15040
5233edd7
GM
150412011-05-13 Glenn Morris <rgm@gnu.org>
15042
5237a44f
GM
15043 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15044
8340026c 15045 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15046 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15047
5233edd7 15048 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15049 (appt-time-msg-list): Doc fix.
a5464014 15050 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15051
92d10796
AS
150522011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15053
15054 * progmodes/ld-script.el (ld-script-keywords)
15055 (ld-script-builtins): Update keywords list.
15056
914a0ae1
SM
150572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15058
c89be45f
SM
15059 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15060
914a0ae1
SM
15061 * shell.el (shell-completion-vars): New function.
15062 (shell-mode):
15063 * simple.el (read-shell-command): Use it.
15064 (blink-matching-open): No need for " [...]" in minibuffer-message.
15065
98dc3df3
GM
150662011-05-12 Glenn Morris <rgm@gnu.org>
15067
15068 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15069 (appt-check): Simplify.
15070
d2fc7e3d 150712011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15072
4d61f28d 15073 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15074 literal "/dev/null".
15075
d2fc7e3d 150762011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15077
15078 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15079 Fix typo.
15080
d2fc7e3d 150812011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15082
3f254caa
SM
15083 * progmodes/which-func.el (which-function):
15084 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15085 which might not be defined (Bug#8260).
15086
d45885f7
GM
150872011-05-12 Glenn Morris <rgm@gnu.org>
15088
15089 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15090 Let byte-compile-initial-macro-environment always take precedence.
15091
488086f4
SM
150922011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15093
15094 * net/rcirc.el: Add support for SSL/TLS connections.
15095 (rcirc-server-alist): New field `encryption'.
15096 (rcirc): Check `encryption' settings.
15097 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15098 Merge make-local-variable into `set'.
15099 (rcirc--connection-open-p): New function.
15100 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15101 the process is not a network process (e.g. running gnutls-cli).
15102 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15103 Make rcirc-(en|de)code-coding-system local here.
15104 (rcirc-mode): Merge make-local-variable into `set'.
15105 (rcirc-parent-buffer): Make permanent buffer-local.
15106 (rcirc-multiline-minor-mode): Don't do it here.
15107 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15108 there's no server buffer.
15109
7d3b9d44
GM
151102011-05-11 Glenn Morris <rgm@gnu.org>
15111
f64049c6
GM
15112 * newcomment.el (comment-kill): Prefix "unused" local.
15113
93c9df73
GM
15114 * term/w32console.el (get-screen-color): Declare.
15115
7d3b9d44
GM
15116 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15117 Handle symbol elements of byte-compile-initial-macro-environment.
15118
9e2dd53f
LL
151192011-05-10 Leo Liu <sdl.web@gmail.com>
15120
488086f4
SM
15121 * bookmark.el (bookmark-bmenu-mode-map):
15122 Bind bookmark-bmenu-search to `/'.
8b340240 15123
9e2dd53f 15124 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15125 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15126 (Footnote-unicode): New function.
15127 (footnote-style-alist): Add unicode style to the list.
15128 (footnote-style): Doc fix.
9e2dd53f 15129
79b70037
GM
151302011-05-10 Jim Meyering <meyering@redhat.com>
15131
15132 Fix doubled-word typos.
15133 * international/quail.el (quail-insert-kbd-layout): and and -> and
15134 * kermit.el: and and -> and
15135 * net/ldap.el (ldap-search-internal): to to -> to
15136 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15137 * progmodes/js.el (js-mode): and and -> and
15138 * textmodes/artist.el (artist-move-to-xy): at at -> at
15139 (artist-draw-region-trim-line-endings): if if -> if
15140 And Safetyc -> Safety.
15141 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15142
b8f82dc1 151432011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15144 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15145
15146 * files.el (hack-one-local-variable-eval-safep):
15147 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15148
4f99f44b
GM
151492011-05-10 Glenn Morris <rgm@gnu.org>
15150
15151 * calendar/diary-lib.el (diary-list-entries-hook)
15152 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15153 (diary-nongregorian-marking-hook, diary-list-entries)
15154 (diary-include-other-diary-files, diary-mark-entries)
15155 (diary-mark-included-diary-files): Doc fixes.
15156
84f29e6b
JB
151572011-05-09 Juanma Barranquero <lekktu@gmail.com>
15158
15159 * misc.el: Require tabulated-list.el during compilation.
15160
9bedd73a
CY
151612011-05-09 Chong Yidong <cyd@stupidchicken.com>
15162
488086f4
SM
15163 * progmodes/compile.el (compilation-start):
15164 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15165 (compilation-filter-hook): Doc fix.
15166
797c735c
DD
151672011-05-09 Deniz Dogan <deniz@dogan.se>
15168
15169 * wdired.el: Remove outdated installation comment. Fix usage
15170 comment.
15171
5f4b1dfe
JB
151722011-05-09 Juanma Barranquero <lekktu@gmail.com>
15173
15174 * misc.el: Implement new command `list-dynamic-libraries'.
15175 (list-dynamic-libraries--loaded-only-p): New variable.
15176 (list-dynamic-libraries--refresh): New function.
15177 (list-dynamic-libraries): New command.
15178
4c44026c
CY
151792011-05-09 Chong Yidong <cyd@stupidchicken.com>
15180
488086f4
SM
15181 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15182 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15183 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15184 higher priority to avoid clobbering by gnu.
15185
027f966d
CY
151862011-05-08 Chong Yidong <cyd@stupidchicken.com>
15187
15188 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15189 if the face has existing theme settings (Bug#8454).
15190
085f5d7d
CY
151912011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15192
488086f4
SM
15193 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15194 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15195
2a86a00c
RS
15196 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15197 special file names `.' and `..' (Bug#8259).
15198
d9c54a06
CY
151992011-05-08 Chong Yidong <cyd@stupidchicken.com>
15200
488086f4
SM
15201 * progmodes/grep.el (grep-mode-font-lock-keywords):
15202 Remove buffer-changing entries.
d9c54a06
CY
15203 (grep-filter): New function.
15204 (grep-mode): Add it to compilation-filter-hook.
15205
15206 * progmodes/compile.el (compilation-filter-hook)
15207 (compilation-filter-start): New defvars.
15208 (compilation-filter): Call compilation-filter-hook prior to
15209 updating the process mark.
15210
c4662635
SM
152112011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15212
15213 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15214
b0512a1d
EZ
152152011-05-07 Eli Zaretskii <eliz@gnu.org>
15216
605c9376
EZ
15217 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15218 mailclient-send-it even if window-system is nil. (Bug#8595)
15219
c4662635
SM
15220 * term/w32console.el (terminal-init-w32console):
15221 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15222 background-mode. (Bug#8597)
15223
d1dc2cc2
SM
152242011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15225
15226 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15227 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15228 New functions.
15229 (defgeneric, eieio--defmethod): Use them.
15230 (eieio-defgeneric): Remove.
15231 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15232
915d1300
GM
152332011-05-07 Glenn Morris <rgm@gnu.org>
15234
a3961c3e
GM
15235 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15236 Use let rather than let*.
15237 (timeclock-find-discrep): Remove unused local.
15238
314347b9
GM
15239 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15240
915d1300
GM
15241 * calendar/appt.el (appt-time-msg-list): Doc fix.
15242
275b59b0
NF
152432011-05-06 Noah Friedman <friedman@splode.com>
15244
15245 * apropos.el (apropos-print-doc): Only use
15246 emacs-lisp-docstring-fill-column when it is bound to an integer,
15247 per that variable's documentation.
15248
6c19f744
SM
152492011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15250
15251 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15252 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15253
60f884b2
GM
152542011-05-06 Glenn Morris <rgm@gnu.org>
15255
5006e634
GM
15256 * calendar/appt.el (appt-message-warning-time): Doc fix.
15257 (appt-warning-time-regexp): New option.
15258 (appt-make-list): Respect appt-message-warning-time.
15259
548d0a63
GM
15260 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15261 New options.
15262 (diary-add-to-list): Strip comments from the displayed string.
15263 (diary-mode): Set comment-start and comment-end.
15264
60f884b2
GM
15265 * vc/diff-mode.el (smerge-refine-subst): Declare.
15266 (diff-refine-hunk): Don't require smerge-mode when compiling.
15267
989681bb
JB
152682011-05-06 Juanma Barranquero <lekktu@gmail.com>
15269
15270 * simple.el (list-processes): Return nil as the docstring says.
15271
a6bc05e1
MA
152722011-05-05 Michael Albinus <michael.albinus@gmx.de>
15273
15274 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15275 to "".
15276 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15277 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15278 determining of binary transfer. (Bug#7383)
15279
23c22e9a
MA
152802011-05-05 Michael Albinus <michael.albinus@gmx.de>
15281
c4662635
SM
15282 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15283 Fix port computation bug. (Bug#8618)
23c22e9a 15284
0bff894f
GM
152852011-05-05 Glenn Morris <rgm@gnu.org>
15286
b8296902
GM
15287 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15288
1f522ce8
GM
15289 * simple.el (shell-dynamic-complete-functions)
15290 (comint-dynamic-complete-functions): Declare.
15291
cf5bee67
GM
15292 * net/network-stream.el (gnutls-negotiate):
15293 * simple.el (tabulated-list-print): Fix declarations.
15294
15295 * progmodes/gud.el (syntax-symbol, syntax-point):
15296 Remove unnecessary and incorrect declarations.
15297
0bff894f
GM
15298 * emacs-lisp/check-declare.el (check-declare-scan):
15299 Handle byte-compile-initial-macro-environment in bytecomp.el
15300
9869b3ae
SM
153012011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15302
15303 Fix earlier half-done eieio-defmethod change (bug#8338).
15304 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15305 Streamline and change calling convention.
15306 (defmethod): Adjust accordingly and simplify.
15307 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15308 new eieio--defmethod.
15309 (slot-boundp): Minor CSE simplification.
15310
9c1d5ac5
MZ
153112011-05-05 Milan Zamazal <pdm@zamazal.org>
15312
15313 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15314 (glasses-make-readable): Use glasses-separate-capital-groups.
15315
455c834e
JB
153162011-05-05 Juanma Barranquero <lekktu@gmail.com>
15317
15318 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15319 (warning-series): Doc fix.
15320 (display-warning): Don't try to create the buffer if we just found it.
15321
9ed7c8cb
CY
153222011-05-04 Chong Yidong <cyd@stupidchicken.com>
15323
15324 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15325 (autoload-find-generated-file): New function.
15326 (generate-file-autoloads): Bind generated-autoload-file to
15327 buffer-file-name.
9869b3ae
SM
15328 (update-file-autoloads, update-directory-autoloads):
15329 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15330 output file (Bug#7989).
15331 (batch-update-autoloads): Doc fix.
15332
0898ca10
JB
153332011-05-04 Juanma Barranquero <lekktu@gmail.com>
15334
15335 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15336
31dfb76c
GM
153372011-05-04 Glenn Morris <rgm@gnu.org>
15338
f330b642
GM
15339 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15340 function, so it follows changes in calendar-date-style.
15341 (diary-fancy-date-matcher): New function.
15342 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15343 (diary-fancy-font-lock-fontify-region-function):
15344 Use diary-fancy-date-pattern as a function.
15345
31dfb76c
GM
15346 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15347 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15348
48e79d6a
TZ
153492011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15350
15351 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15352 instead of positional arguments. Allow :keylist and :crlfiles
15353 arguments.
15354 (open-gnutls-stream): Call it.
15355
15356 * net/network-stream.el (network-stream-open-starttls): Adjust to
15357 call `gnutls-negotiate' with :process and :hostname arguments.
15358
dd5a5ee0
SM
153592011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15360
ef80fc09
SM
15361 * minibuffer.el (completion--message): New function.
15362 (completion--do-completion, minibuffer-complete)
15363 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15364 (completion--do-completion): Don't ignore completion-auto-help when in
15365 icomplete-mode.
15366
dd5a5ee0
SM
15367 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15368 internal encoding (e.g. tibetan zero is not whitespace).
15369 (global-whitespace-mode): Prefer save-current-buffer.
15370 (whitespace-trailing-regexp): Remove useless save-match-data.
15371 (whitespace-empty-at-bob-regexp): Minor simplification.
15372
b7d22a83
CY
153732011-05-03 Chong Yidong <cyd@stupidchicken.com>
15374
15375 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15376
5192af46
AM
153772011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15378
15379 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15380 Use `concat' to create string for insertion.
5192af46 15381
5767d190
SM
153822011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15383
15384 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15385 Avoid open-line which runs post-self-insert-hook.
15386 (bibtex-fill-entry): Remove unused `end' var.
15387
bf242939
AM
153882011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15389
5767d190
SM
15390 * textmodes/ispell.el (ispell-add-per-file-word-list):
15391 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15392
25666126
LL
153932011-05-03 Leo Liu <sdl.web@gmail.com>
15394
15395 * isearch.el (isearch-yank-pop): New command.
5767d190 15396 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15397 (isearch-forward): Mention it.
15398
52d3c2d0
SM
153992011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15400
1bcace58
SM
15401 * simple.el (minibuffer-complete-shell-command): Remove.
15402 (minibuffer-local-shell-command-map): Use completion-at-point.
15403 (read-shell-command): Setup completion vars here instead.
15404 (read-expression-map): Bind TAB to symbol completion.
15405
52d3c2d0
SM
15406 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15407 error directly rather via storing it into `results'.
15408
35813471
LL
154092011-05-02 Leo Liu <sdl.web@gmail.com>
15410
15411 * vc/diff.el: Fix description.
15412
e793a940
LMI
154132011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15414
15415 * server.el (server-eval-at): New function.
15416
8de66e05
LMI
154172011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15418
15419 * net/network-stream.el (open-network-stream): Take a :nowait
15420 parameter and pass it on to `make-network-process'.
15421 (network-stream-open-plain): Ditto.
15422
dcb79f20
AS
154232011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15424
15425 * faces.el (face-spec-set-match-display): Don't match toolkit
15426 options on terminal frames.
15427
14a7fbd8
SM
154282011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15429
7eabc1be
SM
15430 * progmodes/pascal.el: Use lexical binding.
15431 (pascal-mode-map): Remove author preferences.
15432
14a7fbd8
SM
15433 * pcomplete.el (pcomplete-std-complete): Don't abuse
15434 completion-at-point.
15435
50f84510
JB
154362011-04-28 Juanma Barranquero <lekktu@gmail.com>
15437
6e087a44
JB
15438 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15439 removing code that has been dead since 1991 or so.
15440
50f84510
JB
15441 * startup.el (command-line): When warning about "_emacs", use a
15442 delayed warning to allow the user to filter it out.
15443
0ba690bd
DD
154442011-04-28 Deniz Dogan <deniz@dogan.se>
15445
15446 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15447 user has not joined.
15448
08abfaad
SM
154492011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15450
15451 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15452 aren't any completions at point.
15453
638f053a
JB
154542011-04-28 Juanma Barranquero <lekktu@gmail.com>
15455
15456 * subr.el (display-delayed-warnings): New function.
15457 (delayed-warnings-hook): New variable.
15458
8fff8daa
SM
154592011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15460
08abfaad
SM
15461 * minibuffer.el (completion-at-point, completion-help-at-point):
15462 Don't presume that a given completion-at-point-function will always
15463 use the same calling convention.
15464
8fff8daa
SM
15465 * pcomplete.el (pcomplete-completions-at-point):
15466 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15467 pcomplete-seen is non-nil.
15468 (pcomplete-comint-setup): Also recognize the new comint/shell
15469 completion functions.
15470 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15471 pcomplete-seen is non-nil.
15472
841a1577 154732011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15474
841a1577 15475 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15476 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15477 the first character in the entry. This allows for code to add its
211ec907
UJ
15478 own uid to the entry.
15479 (icalendar--convert-float-to-ical): Add export of
15480 `diary-float'-entries save for those with the optional DAY
15481 argument.
15482
2a782793
DC
154832011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15484
15485 * subr.el (shell-quote-argument): Use alternate escaping strategy
15486 when we spot a variable reference in a string.
15487
0438ce91
DC
154882011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15489
15490 * cus-start.el (all): Define customization for debug-on-event.
15491
841a1577 154922011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15493
15494 * subr.el (shell-quote-argument): Escape correctly under Windows.
15495
d090ed6c
SM
154962011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15497
15498 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15499
bfd31217
MA
155002011-04-25 Michael Albinus <michael.albinus@gmx.de>
15501
d090ed6c
SM
15502 * net/tramp.el (tramp-process-actions): Add POS argument.
15503 Delete region between POS and (pos).
bfd31217 15504
d090ed6c
SM
15505 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15506 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15507 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15508
15509 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15510 position in `tramp-process-actions' call.
15511
15512 * net/trampver.el: Update release number.
15513
e92f3bd3
SM
155142011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15515
850256b5
SM
15516 * custom.el (defcustom): Obey lexical-binding.
15517
e92f3bd3
SM
15518 Fix octave-inf completion problems reported by Alexander Klimov.
15519 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15520 Inherit from octave-mode-syntax-table.
15521 (inferior-octave-mode): Set info-lookup-mode.
15522 (inferior-octave-completion-at-point): New function.
15523 (inferior-octave-complete): Use it and completion-in-region.
15524 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15525 comint-filename-completion.
15526 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15527 symbol elements which shouldn't be word elements.
15528 (octave-font-lock-keywords, octave-beginning-of-defun)
15529 (octave-function-header-regexp): Adjust regexps accordingly.
15530 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15531
cd22b309
JB
155322011-04-25 Juanma Barranquero <lekktu@gmail.com>
15533
15534 * net/gnutls.el (gnutls-errorp): Declare before first use.
15535
8b492194
TZ
155362011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15537
15538 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15539 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15540 default trustfile exists before going to use it. Add missing
5a5fa834 15541 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15542 Reported by Claudio Bley <claudio.bley@gmail.com>.
15543 (open-gnutls-stream): Add usage example.
15544
15545 * net/network-stream.el (network-stream-open-starttls): Give host
15546 parameter to `gnutls-negotiate'.
15547 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15548 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15549
841a1577 155502011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15551
cd22b309
JB
15552 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15553 Use correct match group (bug#8438).
05842630 15554
3ba7869c
CY
155552011-04-24 Chong Yidong <cyd@stupidchicken.com>
15556
512e3ae1
CY
15557 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15558 (package-menu--generate): New arg specifying packages to show.
15559 (package-menu-refresh, package-menu-execute, list-packages):
15560 Callers changed.
15561 (package-show-package-list): New function, replacing deleted
15562 package--list-packages (renamed because it is non-internal).
15563
15564 * finder.el (finder-list-matches): Use package-show-package-list
15565 instead of deleted package--list-packages.
15566
e92f3bd3
SM
15567 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15568 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15569 (vc-annotate-mode-map): Bind it to RET.
15570
7031be6d
UR
155712011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15572
15573 * progmodes/etags.el (next-file): Don't use set-buffer to change
15574 buffers (Bug#8478).
15575
4ef177aa
CY
155762011-04-24 Chong Yidong <cyd@stupidchicken.com>
15577
c8d173eb
CY
15578 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15579
4ef177aa
CY
15580 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15581 (apropos-accumulator): Doc fix.
15582 (apropos-function, apropos-macro, apropos-command)
15583 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15584 (apropos-plist): Add face property.
15585 (apropos-symbols-internal): Fix indentation.
15586 (apropos-print): Simplify help, and recognize apropos-multi-type.
15587 (apropos-print-doc): Use button-type-get to extract the button's
15588 face property. Fill docstring (Bug#8352).
15589
4ffd0d6b 155902011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15591
15592 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15593
c6c32125 15594 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15595 (mpuz-mode-map): Use mapc.
c6c32125
JB
15596 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15597 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15598 Fix typos in docstrings.
15599
58d468b4
JB
15600 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15601 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15602
6470c3c6
JB
15603 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15604
4ffd0d6b 156052011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15606
15607 * minibuffer.el (completion--do-completion): Avoid the "Next char
15608 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15609
3ad8bad0
CY
15610 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15611 mouse-2 into unread-command-events, it is interpreted correctly.
15612
71d73c9c 15613 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15614 (image-toggle-display): Doc fix.
71d73c9c 15615
841a1577 156162011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15617
4ffd0d6b
GM
15618 * textmodes/page.el (what-page): Use line-number-at-pos to
15619 calculate line number (Bug#6825).
6e1dbaa9 15620
c2fb1b60
JB
156212011-04-22 Juanma Barranquero <lekktu@gmail.com>
15622
15623 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15624 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15625 Pass argument NO-DEFAULT to `find-tag-interactive'.
15626
e02f48d7
JB
156272011-04-22 Juanma Barranquero <lekktu@gmail.com>
15628
15629 Lexical-binding cleanup.
15630
15631 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15632 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15633 * progmodes/ada-prj.el (ada-prj-initialize-values)
15634 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15635 (ada-prj-show-value):
15636 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15637 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15638 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15639 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15640 * progmodes/bug-reference.el (bug-reference-push-button):
15641 * progmodes/fortran.el (fortran-line-length):
15642 * progmodes/glasses.el (glasses-change):
15643 * progmodes/octave-mod.el (octave-fill-paragraph):
15644 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15645 (python-pdbtrack-grub-for-buffer, python-sentinel):
15646 * progmodes/sql.el (sql-save-connection):
15647 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15648 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15649 Mark unused parameters.
15650
15651 * progmodes/compile.el (compilation--flush-directory-cache)
15652 (compilation--flush-parse, compile-internal): Mark unused parameters.
15653 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15654 (compilation-next-error-function): Remove unused variable `timestamp'.
15655
15656 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15657 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15658
15659 * progmodes/dcl-mode.el (dcl-end-of-command):
15660 Remove unused variable `start'.
15661 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15662 (dcl-option-value-basic, dcl-option-value-offset)
15663 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15664 Mark unused parameters.
15665 (dcl-save-local-variable): Remove unused variable `val'.
15666 (mode): Declare.
15667
15668 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15669 Mark unused parameters.
15670 (delphi-ignore-changes): Move before first use.
15671 (delphi-charset-token-at): Remove unused variable `start'.
15672 (delphi-else-start): Remove unused variable `if-count'.
15673 (delphi-comment-block-start, delphi-comment-block-end):
15674 Remove unused variable `kind'.
15675 (delphi-indent-line): Remove unused variable `new-point'.
15676
15677 * progmodes/ebrowse.el (ebrowse-files-list)
15678 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15679 Mark unused parameters. Don't quote `lambda'.
15680 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15681 Don't quote `lambda'.
15682 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15683 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15684 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15685 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15686 Use `ignore-errors'.
15687 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15688 (ebrowse-view/find-file-and-search-pattern)
15689 (ebrowse-view/find-member-declaration/definition):
15690 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15691 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15692 Rename parameter PREFIX-ARG to PREFIX.
15693 (ebrowse-tags-read-name): Remove unused variables `start' and
15694 `member-info'.
15695 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15696 to `tags-file'.
15697
15698 * progmodes/etags.el (local-find-tag-hook): Declare.
15699 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15700 Mark unused parameters.
15701
15702 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15703 (executable-interpret): Mark unused parameter.
15704
15705 * progmodes/flymake.el (flymake-process-sentinel)
15706 (flymake-after-change-function)
15707 (flymake-create-temp-with-folder-structure)
15708 (flymake-get-include-dirs-dot): Mark unused parameters.
15709 (flymake-safe-delete-directory): Remove unused variable `err'.
15710
15711 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15712 (speedbar-timer-fn, speedbar-line-text)
15713 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15714 (speedbar-center-buffer-smartly): Declare functions.
15715 (gdb-find-watch-expression): Remove unused variable `array'.
15716 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15717 (gdb-starting): Mark unused parameters.
15718 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15719 (gdb-table-string): Remove unused variable `res'.
15720 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15721 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15722 (gdb-display-buffer): Remove unused variable `cur-size'.
15723
15724 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15725 allow lexical-binding compilation.
15726 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15727 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15728 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15729 Mark unused parameters.
15730 (gud-gdb-marker-filter): Remove unused variable `match'.
15731 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15732 lambda expressions and funcall them, instead of using `fset'.
15733
15734 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15735 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15736
15737 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15738 variable `header-beg'; use `let'.
15739
15740 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15741 `restart', `last-sexp' and `at-do'.
15742
15743 * progmodes/js.el (js--debug): Mark unused parameter.
15744 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15745 (js--splice-into-items): Remove unused variable `item'.
15746 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15747
15748 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15749 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15750 (makefile-complete): Remove unused variable `try'.
15751 (makefile-fill-paragraph, makefile-match-function-end):
15752 Mark unused parameters.
15753
15754 * progmodes/octave-inf.el (inferior-octave-complete):
15755 Remove unused variable `proc'.
15756 (inferior-octave-output-digest): Mark unused parameter.
15757
15758 * progmodes/perl-mode.el (perl-calculate-indent):
15759 Remove unused variable `err'.
15760
15761 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15762 (prolog-indent-line): Mark unused parameters.
15763 (prolog-indent-line): Remove unused variable `beg'.
15764
15765 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15766 (reporter-dont-compact-list): Declare.
15767
15768 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15769 Remove unused variable `char'.
15770 (sh-debug): Mark unused parameter.
15771 (sh-get-indent-info): Remove unused variable `start'.
15772 (sh-calculate-indent): Remove unused variable `var'.
15773
15774 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15775 (simula-electric-keyword): Remove unused variable `null'.
15776 (simula-search-backward, simula-search-forward): Remove unused
15777 variables `begin' and `end'.
15778
15779 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15780 Remove unused variable `pos'.
15781 (vera-electric-tab, vera-comment-uncomment-region):
15782 Mark unused parameters.
15783 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15784
7ede3b65
CY
157852011-04-22 Chong Yidong <cyd@stupidchicken.com>
15786
15787 * emacs-lisp/package.el (package--builtins, package-alist)
15788 (package-load-descriptor, package-built-in-p, package-activate)
15789 (define-package, package-installed-p)
15790 (package-compute-transaction, package-buffer-info)
15791 (package--push): Doc fix. Distinguish more clearly between
15792 version strings and version lists.
15793
121656e9
JB
157942011-04-21 Juanma Barranquero <lekktu@gmail.com>
15795
15796 Lexical-binding cleanup.
15797
15798 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15799 (5x5-make-mutate-best):
15800 * play/fortune.el (fortune-in-buffer):
15801 * play/gomoku.el (gomoku-init-display):
15802 * play/solitaire.el (solitaire, solitaire-do-check):
15803 * play/tetris.el (tetris-default-update-speed-function):
15804 Mark unused parameters.
15805
15806 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15807 (bubbles--shift): Remove unused variable `char-org'.
15808 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15809 (bubbles--show-images): Remove unused variable `char'.
15810
15811 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15812 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15813 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15814 (decipher-analyze-buffer): Use ?\s.
15815 (decipher-make-checkpoint): Remove unused variable `mapping'.
15816
15817 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15818
15819 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15820 Remove unused variable `result'; use `let'.
15821
15822 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15823 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15824 (gametree-children-shown-p, gametree-compute-reduced-score):
15825 Use `ignore-errors'.
15826
15827 * play/handwrite.el (ps-lpr-switches): Declare.
15828 (handwrite): Remove unused variables `pmin' and `lastp'.
15829
15830 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15831
15832 * play/landmark.el (landmark-init-display)
15833 (landmark-update-naught-weights): Mark unused parameters.
15834 (landmark-y): Remove unused variable `noise'. Simplify.
15835 (landmark-human-plays): Remove unused variable `score'.
15836
15837 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15838 (mpuz-try-proposal): Remove unused variable `game'.
15839
15840 * play/zone.el (life-patterns): Declare.
15841
80f499c7
JB
158422011-04-20 Juanma Barranquero <lekktu@gmail.com>
15843
15844 * vc/vc.el (ediff-vc-internal): Declare function.
15845
024ff170
SM
158462011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15847
c0a193ea
SM
15848 * shell.el: Use lexical-binding and std completion UI.
15849 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15850 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15851 comint-preoutput-filter-functions rather than on
15852 comint-output-filter-functions.
15853 (shell-command-completion, shell--command-completion-data)
15854 (shell-filename-completion, shell-environment-variable-completion)
15855 (shell-c-a-p-replace-by-expanded-directory): New functions.
15856 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15857 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15858 (shell-dynamic-complete-environment-variable): Use them.
15859 (shell-dynamic-complete-as-environment-variable)
15860 (shell-dynamic-complete-as-command): Remove.
15861 (shell-match-partial-variable): Match past point.
15862 * comint.el: Clean up use of completion-at-point-functions.
15863 (comint-completion-at-point): New function.
15864 (comint-mode): Use it completion-at-point-functions.
15865 (comint-dynamic-complete): Make it obsolete.
15866 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15867 (comint-c-a-p-replace-by-expanded-history): New function.
15868 (comint-dynamic-complete-functions)
15869 (comint-replace-by-expanded-history): Use it.
15870 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15871 termination strings. Try harder to avoid second try-completion.
15872 (completion-in-region-mode-map): Disable bindings that don't work yet.
15873
2dbaa080
SM
15874 * comint.el: Use lexical-binding. Require CL.
15875 (comint-dynamic-complete-functions): Use comint-filename-completion.
15876 (comint-completion-addsuffix): Tweak custom type.
15877 (comint-filename-completion, comint--common-suffix)
15878 (comint--common-quoted-suffix, comint--table-subvert)
15879 (comint--complete-file-name-data): New functions.
15880 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15881 (comint-dynamic-list-filename-completions): Use them.
15882 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15883
2dbaa080
SM
15884 * minibuffer.el (completion-in-region-mode):
15885 Keep completion-in-region-mode--predicate global.
15886 (completion-in-region--postch):
15887 Assume completion-in-region-mode--predicate is not null.
15888
c79a6f38
SM
15889 * progmodes/flymake.el (flymake-start-syntax-check-process):
15890 Obey `dir'. Simplify.
15891
024ff170
SM
15892 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15893 we're in VC after all.
15894
1c6c854e
CS
158952011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15896
15897 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15898 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15899 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15900
bed7f140
SM
159012011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15902
332e62ab
SM
15903 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15904 add sanity check.
15905
bed7f140
SM
15906 * obsolete/erc-hecomplete.el: Make obsolete.
15907 * obsolete/: Standardize obsolescence info in the header.
15908
f195c582
GM
159092011-04-20 Glenn Morris <rgm@gnu.org>
15910
15911 * calendar/solar.el (solar-horizontal-coordinates):
15912 Use the longitude argument rather than `calendar-longitude'.
15913 (solar-date-next-longitude): Remove unused locals.
15914
cb79b8c0
VJL
159152011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15916
15917 * whitespace.el: New version 13.2.1.
15918
159192011-04-20 felix <EmacsWiki> (tiny change)
15920
d8e4b68b 15921 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15922 switching between major modes on a file.
15923
602ea69d
SM
159242011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15925
15926 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15927 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15928 multi-line comments as well.
15929
06b60517
JB
159302011-04-19 Juanma Barranquero <lekktu@gmail.com>
15931
15932 Lexical-binding cleanup.
15933
15934 * arc-mode.el (archive-mode-revert):
15935 * cmuscheme.el (scheme-interactively-start-process):
15936 * custom.el (custom-initialize-delay):
15937 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15938 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15939 * emacs-lock.el (emacs-lock-clear-sentinel):
15940 * ezimage.el (defezimage):
15941 * follow.el (follow-avoid-tail-recenter):
15942 * fringe.el (set-fringe-mode-1):
15943 * generic-x.el (bat-generic-mode-compile):
15944 * help-mode.el (help-info-variable, help-do-xref)
15945 (help-mode-revert-buffer):
15946 * help.el (view-emacs-todo):
15947 * iswitchb.el (iswitchb-completion-help):
15948 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15949 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15950 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15951 * locate.el (locate-update):
15952 * longlines.el (longlines-encode-region)
15953 (longlines-after-change-function):
15954 * outline.el (outline-isearch-open-invisible):
15955 * ps-def.el (declare-function, charset-dimension, char-width)
15956 (encode-char):
15957 * ps-mule.el (ps-mule-plot-string):
15958 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15959 (recentf-edit-list-select, recentf-edit-list-validate)
15960 (recentf-open-files-action):
15961 * rect.el (delete-whitespace-rectangle-line)
15962 (rectangle-number-line-callback):
15963 * register.el (window-configuration-to-register)
15964 (frame-configuration-to-register):
15965 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15966 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15967 (xselect-convert-to-targets, xselect-convert-to-delete)
15968 (xselect-convert-to-filename, xselect-convert-to-charpos)
15969 (xselect-convert-to-lineno, xselect-convert-to-colno)
15970 (xselect-convert-to-os, xselect-convert-to-host)
15971 (xselect-convert-to-user, xselect-convert-to-class)
15972 (xselect-convert-to-name, xselect-convert-to-integer)
15973 (xselect-convert-to-atom, xselect-convert-to-identity):
15974 * subr.el (declare, ignore, process-kill-without-query)
15975 (text-clone-maintain):
15976 * terminal.el (te-get-char, te-tic-sentinel):
15977 * tool-bar.el (tool-bar-make-keymap):
15978 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15979 * type-break.el (type-break-mode, type-break-noninteractive-query):
15980 * view.el (View-back-to-mark):
15981 * wid-browse.el (widget-browse-action, widget-browse-widget)
15982 (widget-browse-widgets, widget-browse-sexp):
15983 * widget.el (define-widget-keywords):
15984 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15985 Mark unused parameters.
15986
15987 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15988 (align-areas): Remove unused variable `look'.
15989 (align-region): Remove unused variables `real-end' and `pos-list'.
15990
15991 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15992
15993 * bindings.el (mode-line-modified, mode-line-remote):
15994 Mark unused parameters.
15995 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15996
15997 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15998 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15999
16000 * comint.el (comint-history-isearch-pop-state)
16001 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
16002 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
16003 (comint-substitute-in-file-name): Doc fix.
16004
16005 * completion.el (cmpl-statistics-block): Mark unused parameter.
16006 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
16007 (save-completions-to-file, load-completions-from-file):
16008 Remove unused local variable `e'.
16009
16010 * composite.el (compose-chars): Remove unused variable `len'.
16011 (lgstring-insert-glyph): Remove unused variable `g'.
16012 (compose-glyph-string): Remove unused variables `ascent',
16013 `descent', `lbearing' and `rbearing'.
16014 (compose-glyph-string-relative): Remove unused variables
16015 `lbearing', `rbearing' and `wadjust'.
16016 (compose-gstring-for-graphic): Remove unused variables `header',
16017 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
16018 (compose-gstring-for-terminal): Remove unused variables `header'
16019 and `nchars'. Use `let', not `let*'.
16020
16021 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16022 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16023 (Custom-buffer-done, custom-buffer-create-internal)
16024 (custom-browse-visibility-action, custom-browse-group-tag-action)
16025 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16026 (widget-magic-mouse-down-action, custom-toggle-parent)
16027 (custom-add-parent-links, custom-toggle-hide-variable)
16028 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16029 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16030 (custom-face-menu-create, custom-variable-menu-create, get)
16031 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16032 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16033 (customize-apropos): Remove unused variable `tests'.
16034 (custom-group-value-create): Remove unused variable `hidden-p'.
16035 (sort-fold-case): Declare.
16036
16037 * cus-theme.el (custom-reset-standard-faces-list)
16038 (custom-reset-standard-variables-list): Declare.
16039 (customize-create-theme, custom-theme-revert, custom-theme-write)
16040 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16041 Mark unused parameters.
16042
16043 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16044
16045 * delim-col.el (delimit-columns-max): Move defvar before first use.
16046
16047 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16048 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16049
16050 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16051 (auto-insert): Declare.
16052 (desktop-restore-file-buffer): Rename desktop-* parameters;
16053 mark unused ones.
16054 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16055 (desktop-buffer): Rename desktop-* parameters.
16056
16057 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16058 (dframe-reposition-frame-xemacs, dframe-help-echo)
16059 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16060 Mark unused parameters.
16061
16062 * dired-aux.el (backup-extract-version-start, overwrite-query)
16063 (overwrite-backup-query, rename-regexp-query)
16064 (rename-non-directory-query): Declare.
16065 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16066 (dired-add-entry): Remove unused variable `orig-file-name'.
16067 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16068 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16069 `dired-copy-preserve-time' directly.
16070 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16071 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16072
16073 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16074 (dired-virtual-revert, dired-make-relative-symlink):
16075 Mark unused parameters.
16076 (manual-program): Declare.
16077 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16078 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16079 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16080
16081 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16082
16083 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16084
16085 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16086 Declare.
16087
16088 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16089
16090 * electric.el (Electric-command-loop): Rename parameter
16091 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16092
16093 * expand.el (expand-in-literal): Remove unused variable `here'.
16094
16095 * facemenu.el (facemenu-add-new-color):
16096 Remove unused variable `docstring'.
16097
16098 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16099 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16100 (face-attr-construct): Mark unused parameter. Doc fix.
16101 (read-color): Remove unused variable `hex-string'.
16102
16103 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16104 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16105 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16106 (display-buffer-other-frame): Remove unused variable `old-window'.
16107 (kill-buffer-hook): Declare.
16108 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16109 Mark unused parameters.
16110 (after-find-file): Pass 1 to `auto-save-mode', not t.
16111
16112 * files-x.el (auto-insert): Declare.
16113 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16114
16115 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16116 variable `buf'. Mark unused parameter.
06b60517
JB
16117 (find-lisp-insert-directory): Mark unused parameter.
16118
16119 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16120 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16121 (format-common-tail): Remove, unused.
16122 (format-deannotate-region): Remove unused variable `loc'.
16123 (format-annotate-region): Remove unused variable `p'.
16124 (format-annotate-single-property-change): Remove unused variables
16125 `default' and `tail'.
16126
16127 * forms.el (read-file-filter): Declare.
16128 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16129
16130 * frame.el (frame-creation-function-alist): Mark unused parameter.
16131 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16132
16133 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16134 Remove unused parameters.
16135 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16136 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16137
16138 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16139 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16140 (hfy-prepare-tag-map): Mark unused parameters.
16141 (htmlfontify-buffer): Use `called-interactively-p'.
16142
16143 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16144 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16145 (ibuffer-do-occur): Mark unused parameters.
16146 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16147 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16148
16149 * ibuffer.el: Don't quote `lambda'.
16150 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16151 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16152 Mark unused parameters.
16153
16154 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16155 (ido-completing-read): Mark unused parameters.
16156 (ido-copy-current-word): Mark unused parameters;
16157 remove unused variable `name'.
16158 (ido-sort-merged-list): Remove unused parameter `dirs'.
16159
16160 * ielm.el (ielm-input-sender): Mark unused parameter.
16161 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16162 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16163 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16164 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16165 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16166
16167 * image-dired.el (image-dired-display-thumbs): Remove unused
16168 variables `curr-file' and `count'.
16169 (image-dired-remove-tag): Remove unused variable `start'.
16170 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16171 variable `curr-file'
16172 (image-dired-rotate-original): Remove unused variable `temp-file'.
16173 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16174 Remove unused variable `file'.
16175 (image-dired-gallery-generate): Remove unused variable `curr'.
16176 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16177
16178 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16179
16180 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16181
16182 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16183
16184 * isearch.el (minibuffer-history-symbol): Declare.
16185 (isearch-edit-string): Remove unused variable `err'.
16186 (isearch-message-prefix, isearch-message-suffix):
16187 Mark unused parameters.
16188
16189 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16190
16191 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16192
16193 * makesum.el (double-column): Remove unused variable `cnt'.
16194
16195 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16196 (ido-ignore-item-temp-list): Declare.
16197
16198 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16199 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16200 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16201 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16202 `mouse-col-delta'.
16203
16204 * mouse-sel.el (mouse-extend-internal):
16205 Remove unused variable `orig-window-frame'.
16206
16207 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16208 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16209 Move declarations before first use.
16210 (pcomplete-opt): Mark unused parameters; doc fix.
16211
16212 * proced.el (proced-revert): Mark unused parameter.
16213 (proced-send-signal): Remove unused variable `err'.
16214
16215 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16216 Rename parameter PREFIX-ARG to ARG.
16217 (ps-basic-plot-string, ps-basic-plot-whitespace):
16218 Mark unused parameters.
16219
16220 * replace.el (replace-count): Define.
16221 (occur-revert-function): Mark unused parameters.
16222 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16223 (isearch-case-fold-search, isearch-string): Declare.
16224 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16225 bind `case-fold-search'. Remove unused variables `beg' and `end',
16226 and simplify.
16227 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16228 COUNT and bind `replace-count'.
16229 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16230 to COUNT.
16231
16232 * savehist.el (print-readably, print-string-length): Declare.
16233
16234 * shadowfile.el (shadow-expand-cluster-in-file-name):
16235 Remove unused variable `cluster'.
16236 (shadow-copy-file): Remove unused variable `i'.
16237 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16238 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16239 (shadow-define-literal-group, shadow-define-regexp-group)
16240 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16241
16242 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16243 (shell): Use `called-interactively-p'.
16244 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16245
16246 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16247 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16248 (delete-backward-char): Remove unused variable `ocol'.
16249 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16250 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16251 (event-apply-hyper-modifier, event-apply-shift-modifier)
16252 (event-apply-control-modifier, event-apply-meta-modifier):
16253 Mark unused parameters.
16254 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16255 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16256
16257 * speedbar.el (speedbar-ignored-directory-expressions)
16258 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16259 (speedbar-find-file, speedbar-dir-follow)
16260 (speedbar-directory-buttons-follow, speedbar-tag-find)
16261 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16262 (speedbar-buffers-line-directory, speedbar-buffer-click):
16263 Mark unused parameters.
16264 (speedbar-tag-file): Remove unused variable `mode'.
16265 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16266
16267 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16268
16269 * talk.el (talk): Remove unused variable `display'.
16270
16271 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16272 (tar-write-region-annotate): Mark unused parameter.
16273
16274 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16275 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16276 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16277 warning by another.
16278
16279 * time-stamp.el (time-stamp-string-preprocess):
16280 Remove unused variable `require-padding'.
16281
16282 * tree-widget.el (widget-glyph-enable): Declare.
16283 (tree-widget-action): Mark unused parameter.
16284
16285 * w32-fns.el (x-get-selection): Mark unused parameter.
16286 (autoload-make-program, generated-autoload-file): Declare.
16287
16288 * wdired.el (wdired-revert): Mark unused parameters.
16289 (wdired-xcase-word): Remove unused variable `err'.
16290
16291 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16292 (whitespace-help-scroll): Remove unused variable `data-help'.
16293
16294 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16295 (widget-image-insert, widget-after-change, default)
16296 (widget-default-format-handler, widget-default-notify)
16297 (widget-default-prompt-value, widget-info-link-action)
16298 (widget-url-link-action, widget-function-link-action)
16299 (widget-variable-link-action, widget-file-link-action)
16300 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16301 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16302 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16303 (widget-insert-button-action, widget-delete-button-action, visibility)
16304 (widget-documentation-link-action, widget-documentation-string-action)
16305 (widget-const-prompt-value, widget-regexp-match, symbol)
16306 (widget-coding-system-prompt-value)
16307 (widget-key-sequence-value-to-external, sexp)
16308 (widget-sexp-value-to-internal, character, vector, cons)
16309 (widget-choice-prompt-value, widget-boolean-prompt-value)
16310 (widget-color--choose-action): Mark unused parameters.
16311 (widget-item-match-inline, widget-choice-match-inline)
16312 (widget-checklist-match, widget-checklist-match-inline)
16313 (widget-group-match): Rename parameter VALUES to VALS.
16314 (widget-field-value-set): Remove unused variable `size'.
16315 (widget-color-action): Remove unused variables `value' and `start'.
16316
16317 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16318 variable `dir'. Doc fix.
06b60517
JB
16319 (windmove-find-other-window): Don't pass it.
16320
16321 * window.el (count-windows): Mark unused parameter.
16322 (bw-adjust-window): Remove unused variable `err'.
16323
16324 * woman.el (woman-file-name): Remove unused variable `default'.
16325 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16326 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16327 (global-font-lock-mode): Declare.
16328 (woman-decode-region): Mark unused parameter.
16329 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16330
16331 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16332 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16333 (x-dnd-handle-moz-url): Remove unused variable `title'.
16334 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16335
16336 * xml.el (xml-parse-tag, xml-parse-attlist):
16337 Remove unused variable `pos'.
16338
bc4f7f3d
GM
163392011-04-19 Glenn Morris <rgm@gnu.org>
16340
16341 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16342 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16343 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16344 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16345 * calendar/cal-html.el (cal-html-insert-minical):
16346 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16347 (calendar-mark-date-pattern):
16348 Prefix "unused" locals.
16349
16350 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16351 optional argument `style'.
16352
16353 * calendar/appt.el (appt-make-list):
16354 * calendar/cal-china.el (calendar-chinese-date-string):
16355 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16356 (diary-hebrew-yahrzeit):
16357 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16358 * calendar/calendar.el (calendar-generate-window):
16359 * calendar/time-date.el (time-to-days):
16360 Remove unused local variables.
16361
16a43933
CY
163622011-04-18 Chong Yidong <cyd@stupidchicken.com>
16363
16364 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16365 glyphless-char-display table.
16366 (tabulated-list-glyphless-char-display): New var.
16367
7eed1860
SS
163682011-04-18 Sam Steingold <sds@gnu.org>
16369
16370 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16371 to acknowledgments.
16372
4d2d1ccd
GM
163732011-04-17 Glenn Morris <rgm@gnu.org>
16374
16375 * calendar/diary-lib.el (diary-sexp-entry):
16376 * calendar/holidays.el (holiday-sexp):
16377 Set debug-on-error rather than the removed stack-trace-on-error.
16378
239da61d
GM
163792011-04-16 Glenn Morris <rgm@gnu.org>
16380
16381 * progmodes/f90.el: Use lexical-binding.
16382 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16383
8b05752a
SM
163842011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16385
daca8ba5
SM
16386 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16387 (mail-mode): Setup mailalias completion here instead.
16388 * mail/mailalias.el: Use lexical-binding.
16389 (pattern, mailalias-done): Declare dynamic.
16390 (mail-completion-at-point-function): New function, from mail-complete.
16391 (mail-complete): Use it.
16392 (mail-completion-expand): New function.
16393 (mail-get-names): Use it.
16394 (mail-directory, mail-directory-process, mail-directory-stream):
16395 Don't use `pattern' for lexically bound arg.
16396
6f542485
SM
16397 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16398
037e7c3f
SM
16399 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16400 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16401 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16402
8b05752a
SM
16403 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16404 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16405 (byte-interactive-p): Define them again, for use when inlining
16406 old code.
16407
49093f60
JB
164082011-04-15 Juanma Barranquero <lekktu@gmail.com>
16409
16410 * loadup.el: Use `string-to-number', not `string-to-int'.
16411
b5b8e7de
SM
164122011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16413
16414 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16415 gud-gdb-complete-command.
16416 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16417 (gud-gdb-completion-at-point): New function.
16418 (gud-gdb-completions): Remove.
16419
f42efeb5
MA
164202011-04-14 Michael Albinus <michael.albinus@gmx.de>
16421
49093f60
JB
16422 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16423 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16424 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16425 whether `executable-find' is bound.
f42efeb5
MA
16426
16427 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16428
e240cc21
SM
164292011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16430
16431 * minibuffer.el (completion-in-region-mode-predicate)
16432 (completion-in-region-mode--predicate): New vars.
16433 (completion-in-region, completion-in-region--postch)
16434 (completion-in-region-mode): Use them.
16435 (completion--capf-wrapper): Also return the hook function.
16436 (completion-at-point, completion-help-at-point):
16437 Adjust and provide a predicate.
c2bd2ab0
SM
16438
16439 Preserve arg names for advice of subr and lexical functions (bug#8457).
16440 * help-fns.el (help-function-arglist): Consolidate the subr and
16441 new-byte-code cases. Add argument `preserve-names' to extract names
16442 from the docstring when needed.
16443 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16444 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16445 (ad-arglist): Use help-function-arglist's new arg.
16446 (ad-definition-type): Use cond.
16447
c183f693
JB
164482011-04-13 Juanma Barranquero <lekktu@gmail.com>
16449
06641a47
JB
16450 * autorevert.el (auto-revert-handler):
16451 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16452 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16453 Don't quote lambda.
16454
c183f693
JB
16455 * image-mode.el (image-transform-set-scale):
16456 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16457
1e3b6001
G
164582011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16459
16460 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16461 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16462 Upgrades via gnutls-cli are too slow to be done opportunistically.
16463
2d6af8dd
JB
164642011-04-12 Juanma Barranquero <lekktu@gmail.com>
16465
16466 * dframe.el (dframe-current-frame): Remove spurious quote.
16467
c0749a51
GM
164682011-04-12 Glenn Morris <rgm@gnu.org>
16469
088d0d61
GM
16470 * calendar/cal-tex.el (cal-tex-end-document):
16471 Try to automatically use latin1 input if needed.
16472
c0749a51
GM
16473 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16474 Don't try to cons a mark onto an empty element.
16475
5c90fde0
LL
164762011-04-11 Leo Liu <sdl.web@gmail.com>
16477
16478 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16479 buffers.
16480 (ido-kill-buffer-at-head): Support killing virtual buffers.
16481
369e974d
CY
164822011-04-10 Chong Yidong <cyd@stupidchicken.com>
16483
16484 * minibuffer.el (completion-show-inline-help): New var.
16485 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16486 (minibuffer-force-complete, minibuffer-complete-word):
16487 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16488
16489 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16490 to avoid interference from inline help (Bug#5849).
16491
37f1c930
LL
164922011-04-10 Leo Liu <sdl.web@gmail.com>
16493
099c39a4
JB
16494 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16495 Fix typo.
37f1c930 16496
a32d4040
CY
164972011-04-09 Chong Yidong <cyd@stupidchicken.com>
16498
16499 * image-mode.el (image-toggle-display-image): Signal an error if
16500 not in Image mode.
16501 (image-transform-mode, image-transform-resize)
16502 (image-transform-set-rotation): Doc fix.
daca8ba5 16503 (image-transform-set-resize): Delete.
a32d4040
CY
16504 (image-transform-set-scale, image-transform-fit-to-height)
16505 (image-transform-fit-to-width): Handle image-toggle-display-image
16506 and image-transform-resize directly.
16507
099c39a4 165082011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16509
16510 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16511 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16512 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16513 (doc-view-mode-map): Add bindings for the new functions.
16514
099c39a4 165152011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16516
4d61f28d 16517 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16518 Fix typo in docstring.
16519
3726838a
EZ
165202011-04-08 Eli Zaretskii <eliz@gnu.org>
16521
04f33f1e
EZ
16522 * files.el (file-size-human-readable): Produce one digit after
16523 decimal, like "ls -lh" does.
16524
16525 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16526 the file size representation.
16527
3726838a
EZ
16528 * simple.el (list-processes): If async subprocesses are not
16529 available, error out with a clear error message.
16530
cbb59342
CY
165312011-04-08 Chong Yidong <cyd@stupidchicken.com>
16532
16533 * help.el (help-form-show): New function, to be called from C.
16534 Put help-form output in a buffer named differently than *Help*.
16535
e3971c44
EZ
165362011-04-08 Eli Zaretskii <eliz@gnu.org>
16537
16538 * files.el (file-size-human-readable): New function.
16539
16540 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16541 computing the representation inline. Don't require `cl'.
16542
12544bbe
GM
165432011-04-08 Glenn Morris <rgm@gnu.org>
16544
a1de6c6a
GM
16545 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16546
3c4671f4
GM
16547 * net/browse-url.el (browse-url-firefox):
16548 Test system-type, not system-configuration.
16549
b605679c
GM
16550 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16551 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16552 Use log-edit-empty-buffer-p. (Bug#7598)
16553
56442f0c
GM
16554 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16555 (rlogin-mode-map): Initialize in the defvar.
16556 (rlogin): Use ignore-errors.
16557
12544bbe
GM
16558 * replace.el (occur-mode-map): Some fixes for menu items.
16559
eb237b0f
AH
165602011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16561
16562 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16563
7d668f2c
CY
165642011-04-06 Chong Yidong <cyd@stupidchicken.com>
16565
e67a13ab
CY
16566 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16567 issuing unused warnings.
16568
16569 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16570 macro directly.
16571
7d668f2c
CY
16572 * simple.el: Lisp reimplement of list-processes. Based on an
16573 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16574 (process-menu-mode): New major mode.
16575 (list-processes--refresh, list-processes):
16576 (process-menu-visit-buffer): New functions.
16577
16578 * files.el (save-buffers-kill-emacs): Don't assume any return
16579 value of list-processes, which is undocumented anyway.
16580
a83ec3c9
CY
165812011-04-06 Chong Yidong <cyd@stupidchicken.com>
16582
16583 * emacs-lisp/tabulated-list.el: New file.
16584
e91a96fe
CY
16585 * emacs-lisp/package.el: Use Tabulated List mode.
16586 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16587 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16588 table format using Tabulated List mode variables.
16589 (package--push): New macro, replacing package-list-maybe-add.
16590 (package-menu--generate): Use package--push. Renamed from
16591 package--generate-package-list.
16592 (package-menu-refresh, list-packages): Use it.
daca8ba5 16593 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16594 Return insertion data instead of inserting it directly.
099c39a4
JB
16595 (package-menu-describe-package, package-menu-execute):
16596 Use tabulated-list-get-id.
e91a96fe
CY
16597 (package-menu-mark-delete, package-menu-mark-install)
16598 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16599 (package-menu-mark-obsolete-for-deletion):
16600 Use tabulated-list-put-tag.
e91a96fe
CY
16601 (package--list-packages, package-menu-revert)
16602 (package-menu-get-package, package-menu-get-version)
16603 (package-menu-sort-by-column): Functions deleted.
16604 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16605 (package-menu--status-predicate, package-menu--version-predicate)
16606 (package-menu--name-predicate)
16607 (package-menu--description-predicate): Handle arguments in the
16608 Tabulated List format.
16609 (package-list-packages-no-fetch): Call list-packages.
16610
3e214b50
JB
166112011-04-06 Juanma Barranquero <lekktu@gmail.com>
16612
16613 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16614 (after-find-file): Don't bind it.
3e214b50
JB
16615 (revert-buffer-in-progress-p): New variable.
16616 (revert-buffer): Bind it.
16617 Pass nil for `after-find-file-from-revert-buffer'.
16618
16619 * saveplace.el (save-place-find-file-hook): Use new variable
16620 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16621
3f0f1700
GM
166222011-04-06 Glenn Morris <rgm@gnu.org>
16623
c0274801
GM
16624 * Makefile.in (AUTOGEN_VCS): New variable.
16625 (autoloads): Use $AUTOGEN_VCS.
16626
3f0f1700
GM
16627 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16628 * calendar/calendar.el (calendar-mode-map):
16629 Check for toolkit scroll bars. (Bug#8305)
16630
41ea9e48
CY
166312011-04-05 Chong Yidong <cyd@stupidchicken.com>
16632
16633 * minibuffer.el (completion-in-region--postch)
16634 (completion-in-region-mode): Remove unnecessary messages.
16635
6194c800
JB
166362011-04-05 Juanma Barranquero <lekktu@gmail.com>
16637
33256f14
JB
16638 * font-lock.el (font-lock-refresh-defaults):
16639 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16640 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16641
6194c800
JB
16642 * info.el (Info-directory-list, Info-read-node-name-2)
16643 (Info-split-parameter-string): Doc fixes.
16644 (Info-virtual-nodes): Reflow docstring.
16645 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16646 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16647 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16648 Fix typos in docstrings.
16649 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16650 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16651 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16652 (Info-restore-desktop-buffer): Mark unused parameters.
16653 (Info-directory-find-file, Info-directory-find-node)
16654 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16655 (Info-virtual-index-find-node, Info-apropos-find-file)
16656 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16657 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16658 (Info-virtual-index): Remove unused local variable `nodename'.
16659
b87a8200 166602011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16661
b87a8200
DD
16662 * net/rcirc.el: Update my e-mail address.
16663 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16664
3b2ff876
CY
166652011-04-05 Chong Yidong <cyd@stupidchicken.com>
16666
16667 * startup.el (command-line): Save the cursor's theme-face
16668 directly, instead of using face-override-spec.
16669
16670 * custom.el (load-theme): Minor optimization in assigning faces.
16671
8d17e7ca
JB
166722011-04-04 Juanma Barranquero <lekktu@gmail.com>
16673
16674 * help-fns.el (describe-variable): Complete all variables having
16675 documentation, including keywords.
16676 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16677
2fbc1934
JB
166782011-04-04 Juanma Barranquero <lekktu@gmail.com>
16679
16680 Convert to lexical-binding.
16681
16682 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16683 (bs--get-marked-string, bs--get-modified-string)
16684 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16685 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16686 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16687
16688 * ehelp.el (electric-help-execute-extended)
16689 (electric-help-ctrl-x-prefix):
16690 * hexl.el (hexl-revert-buffer-function):
16691 * linum.el (linum-after-change, linum-after-scroll):
16692 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16693
16694 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16695
74f50695
DU
166962011-04-04 Daiki Ueno <ueno@unixuser.org>
16697
16698 * epa-dired.el:
16699 * epa-mail.el:
16700 * epa-hook.el:
16701 * epa-file.el:
16702 * epa.el:
16703 * epg.el: Use lexical binding.
16704
c11325f7
CY
167052011-04-03 Chong Yidong <cyd@stupidchicken.com>
16706
0d9e9a12
CY
16707 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16708
c11325f7 16709 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16710 dictionary case for flyspell-mark-duplications-exceptions.
16711 Use regexp matching for languages.
c11325f7
CY
16712 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16713 default dictionary (Bug#7926).
16714
da91b5f2
CY
167152011-04-02 Chong Yidong <cyd@stupidchicken.com>
16716
099c39a4
JB
16717 * emacs-lisp/package.el (package--with-work-buffer):
16718 Recognize https URLs.
da91b5f2 16719
099c39a4
JB
16720 * net/network-stream.el: Move from gnus/proto-stream.el.
16721 Change prefix to network-stream throughout.
da91b5f2
CY
16722 (open-protocol-stream): Merge into open-network-stream, leaving
16723 open-protocol-stream as an alias. Handle nil BUFFER args.
16724
16725 * subr.el (open-network-stream): Move to net/network-stream.el.
16726
afa8e9f6
GM
167272011-04-02 Glenn Morris <rgm@gnu.org>
16728
1d2e369d
GM
16729 * find-dired.el (find-exec-terminator): New option.
16730 (find-ls-option): Test for -ls support.
16731 (find-ls-subdir-switches): Test for -b in find-ls-option.
16732 (find-dired, find-grep-dired): Doc fixes.
16733 (find-dired): Use find-exec-terminator.
16734
8abb7da8 16735 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16736 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16737 (find-name-arg): Remove purecopy.
8abb7da8 16738
f3ca7378
GM
16739 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16740 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16741 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16742 accordingly. Don't add the null-device if not needed.
16743
afa8e9f6
GM
16744 * files.el (save-some-buffers): Doc fix.
16745
35eae264
EZ
167462011-04-02 Eli Zaretskii <eliz@gnu.org>
16747
16748 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16749
26b51db5
JB
167502011-04-01 Juanma Barranquero <lekktu@gmail.com>
16751
16752 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16753 Use `dolist' rather than `mapcar'.
16754
7200d79c
SM
167552011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16756
03408648 16757 Add lexical binding.
7200d79c 16758
03408648
SM
16759 * subr.el (apply-partially): Use new closures rather than CL.
16760 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16761 (dolist, dotimes): Use slightly different expansion for lexical code.
16762 (functionp): Move to C.
16763 (letrec): New macro.
16764 (with-wrapper-hook): Use it and apply-partially instead of CL.
16765 (eval-after-load): Preserve lexical-binding.
16766 (save-window-excursion, with-output-to-temp-buffer): Turn them
16767 into macros.
7200d79c 16768
03408648
SM
16769 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16770
16771 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16772 than the arglist.
16773 (help-add-fundoc-usage): Don't add `Not documented'.
16774 (help-function-arglist): Handle closures, subroutines, and new
16775 byte-code-functions.
16776 (help-make-usage): Remove leading underscores.
16777 (describe-function-1): Handle closures.
16778 (describe-variable): Use special-variable-p for completion.
16779
16780 * files.el (lexical-binding): Declare safe.
f488fb65 16781
03408648
SM
16782 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16783 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16784 (pcase): Add `let' pattern.
16785 Change memoization so it actually works.
16786 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16787 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16788 <let>: New case.
f488fb65 16789
03408648
SM
16790 * emacs-lisp/macroexp.el: Use lexical binding.
16791 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16792 Don't convert ' to #' without checking that it's indeed quoting
16793 a lambda.
16794
16795 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16796 Use eval-sexp-add-defvars.
03408648
SM
16797 (eval-sexp-add-defvars): New fun.
16798
16799 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16800
16801 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16802 Don't autoload.
16803 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16804 than the internal `byte-compile-lambda'.
16805 (defmethod): Don't hide code under quotes.
16806 (eieio-defmethod): New `code' argument.
16807
16808 * emacs-lisp/eieio-comp.el: Remove.
16809
16810 * emacs-lisp/edebug.el (edebug-eval-defun)
16811 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16812 (edebug-toggle): Avoid `eval'.
16813
16814 * emacs-lisp/disass.el (disassemble-internal): Handle new
16815 `closure' objects.
16816 (disassemble-1): Handle new byte codes.
16817
16818 * emacs-lisp/cl.el (pushnew): Silence warning.
16819
16820 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16821 (cl-byte-compile-throw): Remove.
16822 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16823
16824 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16825 closures.
16826
16827 * emacs-lisp/cconv.el: New file.
16828
16829 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16830 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16831 (byte-compile-initial-macro-environment):
16832 Handle declare-function here.
16833 (byte-compile--lexical-environment): New var.
16834 (byte-stack-ref, byte-stack-set, byte-discardN)
16835 (byte-discardN-preserve-tos): New lap codes.
16836 (byte-interactive-p): Don't use any more.
16837 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16838 New macros.
16839 (byte-compile-lapcode): Use them and handle new lap codes.
16840 (byte-compile-obsolete): Remove.
16841 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16842 (byte-compile-arglist-warn): Check late def of inlinable funs.
16843 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16844 since they should have been expanded by now.
16845 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16846 (byte-compile-from-buffer): Remove unused second arg.
16847 (byte-compile-preprocess): New function.
16848 (byte-compile-toplevel-file-form): New function to distinguish
16849 file-form calls from outside from file-form calls from hunk-handlers.
16850 (byte-compile-file-form): Simplify.
16851 (byte-compile-file-form-defsubst): Remove.
16852 (byte-compile-file-form-defmumble): Simplify now that
16853 byte-compile-lambda always returns a byte-code-function.
16854 (byte-compile): Preprocess.
16855 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16856 Remove, not used any more.
16857 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16858 (byte-compile-make-args-desc): New funs.
16859 (byte-compile-lambda): Handle lexical functions. Always return
16860 a byte-code-function.
16861 (byte-compile-reserved-constants): New var, to make up room for
16862 closed-over variables.
16863 (byte-compile-constants-vector): Obey it.
16864 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16865 (byte-compile-macroexpand-declare-function): New function.
16866 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16867 byte-code-functions.
16868 (byte-compile-form): Check obsolescence here.
16869 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16870 (byte-compile-variable-ref): Remove.
16871 (byte-compile-dynamic-variable-op): New fun.
16872 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16873 (byte-compile-variable-set): New funs.
16874 (byte-compile-discard): Add 2 args.
16875 (byte-compile-stack-ref, byte-compile-stack-set)
16876 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16877 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16878 macroexpand-all instead.
16879 (byte-compile-quote-form): Remove.
16880 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16881 (byte-compile-bind, byte-compile-unbind): New funs.
16882 (byte-compile-let): Handle let* and lexical binding.
16883 (byte-compile-let*): Remove.
16884 (byte-compile-catch, byte-compile-unwind-protect)
16885 (byte-compile-track-mouse, byte-compile-condition-case):
16886 Handle a new :fun-body form, used for lexical scoping.
16887 (byte-compile-save-window-excursion)
16888 (byte-compile-with-output-to-temp-buffer): Remove.
16889 (byte-compile-defun): Simplify.
16890 (byte-compile-stack-adjustment): New fun.
16891 (byte-compile-out): Use it.
16892 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16893
16894 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16895 handler any more.
16896
16897 * emacs-lisp/byte-opt.el: Use lexical binding.
16898 (byte-inline-lapcode): Remove (to bytecomp).
16899 (byte-compile-inline-expand): Pay attention to inlining to/from
16900 lexically bound code.
16901 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16902 any more.
16903 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16904 any more and don't call compiler-macros.
16905 (byte-compile-splice-in-already-compiled-code): Remove.
16906 (byte-code): Don't inline any more.
16907 (disassemble-offset): Receive `bytes' as argument rather than via
16908 dynamic scoping.
16909 (byte-compile-tag-number): Declare before first use.
16910 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16911 `return' even if make-spliceable.
16912 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16913 obsolete interactive-p.
16914 (byte-optimize-lapcode): Optimize new lap-codes.
16915 Don't trip up on new form of `byte-constant' lap code.
16916
16917 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16918
16919 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16920
16921 * custom.el (custom-initialize-default, custom-declare-variable):
16922 Use `defvar'.
16923
16924 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16925 New variables.
16926 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16927 (COMPILE_FIRST): Add macroexp and cconv.
16928 * makefile.w32-in: Mirror changes in Makefile.in.
16929
16930 * vc/cvs-status.el:
16931 * vc/diff-mode.el:
16932 * vc/log-edit.el:
16933 * vc/log-view.el:
16934 * vc/smerge-mode.el:
16935 * textmodes/bibtex-style.el:
090bd7cb 16936 * textmodes/css-mode.el:
03408648
SM
16937 * startup.el:
16938 * uniquify.el:
da91b5f2
CY
16939 * minibuffer.el:
16940 * newcomment.el:
16941 * reveal.el:
16942 * server.el:
16943 * mpc.el:
16944 * emacs-lisp/smie.el:
16945 * doc-view.el:
16946 * dired.el:
03408648
SM
16947 * abbrev.el: Use lexical binding.
16948
0f0c1f27
EZ
169492011-04-01 Eli Zaretskii <eliz@gnu.org>
16950
16951 * info.el (info-display-manual): New function.
16952
c82b2579
SM
169532011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16954
16955 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16956
221ddf68
TH
169572011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16958
16959 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16960 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16961
cba6e77e
GM
169622011-03-31 Glenn Morris <rgm@gnu.org>
16963
e040639f
GM
16964 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16965
cba6e77e
GM
16966 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16967
6d0f1c9e
CS
169682011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16969
16970 * progmodes/python.el (python-default-interpreter)
16971 (python-python-command-args, python-jython-command-args)
16972 (python-which-shell, python-which-args, python-which-bufname)
16973 (python-file-queue, python-comint-output-filter-function)
16974 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16975 variables and functions.
16976
3e2d70fd
SM
169772011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16978
16979 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16980 (completion-in-region-mode): New minor mode.
16981 (completion-in-region): Use it.
16982 (completion-in-region--data, completion-in-region-mode-map): New vars.
16983 (completion-in-region--postch): New function.
16984 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16985 New vars.
16986 (completion--capf-wrapper): New function.
16987 (completion-at-point): Use it to track well-behavedness of
16988 hook functions.
16989 (completion-help-at-point): New command.
16990
f3e4086c
JM
169912011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16992
16993 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16994 syntax class to search for whitespace on a single line
16995 (Message-ID: <4D938140.4030905@redhat.com>).
16996
eb7ffc14
LL
169972011-03-30 Leo Liu <sdl.web@gmail.com>
16998
16999 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
17000 New commands.
17001 (edit-abbrevs-map): Bind them here.
17002 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
17003
d806ab68
KM
170042011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
17005
17006 * allout.el (allout-hide-by-annotation, allout-flag-region):
17007 Reduce possibility of overlay leakage by making them volatile.
17008
17009 * allout-widgets.el (allout-widgets-tally): Define as nil so the
17010 hash is not shared between buffers. Mode initialization is
17011 responsible for giving it a useful starting value.
17012 (allout-item-span): Reduce possibility of overlay leakage by
17013 making them volatile.
17014 (allout-widgets-count-buttons-in-region): Add diagnostic function
17015 for tracking down button overlay leaks.
17016
ea622834
LL
170172011-03-29 Leo Liu <sdl.web@gmail.com>
17018
17019 * ido.el (ido-read-internal): Use the default history var
17020 minibuffer-history if no HISTORY is specified.
17021
b62f8267
G
170222011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17023
03408648
SM
17024 * net/imap.el (imap-shell-open, imap-process-connection-type):
17025 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17026 Kerberos, SSL, other subprocesses.
17027
947b6566
LL
170282011-03-28 Leo Liu <sdl.web@gmail.com>
17029
17030 * abbrev.el (abbrev-table-empty-p): New function.
17031 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17032 nonempty ones. (Bug#5937)
17033
5ffb62aa
JD
170342011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17035
17036 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17037
7a097943
LL
170382011-03-27 Leo Liu <sdl.web@gmail.com>
17039
17040 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17041 for foreground and background colors.
17042 (ansi-color-make-color-map): Adapt.
17043
c5b40130
LL
170442011-03-25 Leo Liu <sdl.web@gmail.com>
17045
1f48f7d2
LL
17046 * midnight.el (midnight-time-float): Remove. Note it calculates
17047 the microsecond component incorrectly and seconds-to-time does the
17048 same job.
625897ec 17049 Remove redundant (require 'timer).
1f48f7d2 17050
c5b40130
LL
17051 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17052 (ido-completions): Remove unused arguments. (Bug#8329)
17053
d86d2721
SM
170542011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17055
17056 * minibuffer.el (completion--flush-all-sorted-completions):
17057 Remove itself from hook.
17058 (completion-at-point): Let the functions perform the completion
17059 immediately and return nil or t.
17060 * comint.el (comint-dynamic-complete-functions): Now identical to
17061 completion-at-point-functions.
17062 (comint-dynamic-list-input-ring): Remove unused var `index'.
17063 (comint--match-partial-filename, comint--unquote&expand-filename):
17064 New funs, split from comint-match-partial-filename.
17065 (comint-dynamic-complete): Use completion-at-point.
17066 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17067
e8974c48
DA
170682011-03-24 Drew Adams <drew.adams@oracle.com>
17069
17070 * thingatpt.el: Support `defun'.
17071
def71b5e
LL
170722011-03-23 Leo Liu <sdl.web@gmail.com>
17073
cb5af48e
LL
17074 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17075
def71b5e
LL
17076 * help-mode.el (help-mode-finish): Tweak regexp.
17077
927c53e7
GM
170782011-03-23 Glenn Morris <rgm@gnu.org>
17079
18d05bed
GM
17080 * eshell/esh-opt.el (eshell-eval-using-options):
17081 Do not bind unused local variable `eshell-option-stub'.
17082
927c53e7
GM
17083 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17084
9d0da923
JB
170852011-03-22 Juanma Barranquero <lekktu@gmail.com>
17086
17087 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17088 keymap variable in `with-no-warnings' to avoid a warning when the
17089 keymap has been already `defconst'ed.
17090
4b978a67
LL
170912011-03-22 Leo Liu <sdl.web@gmail.com>
17092
17093 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17094 encode all chars in abbrevs; otherwise use emacs-mule or
17095 utf-8-emacs. (Bug#8308)
17096
5fd62452
JB
170972011-03-22 Juanma Barranquero <lekktu@gmail.com>
17098
0b1596c6
JB
17099 * simple.el (backward-delete-char-untabify):
17100 Avoid warning about using `delete-backward-char'.
17101
5fd62452
JB
17102 * image.el (image-type-file-name-regexps): Make it variable.
17103 `imagemagick-register-types' modifies it, and the user may want
17104 to add new extensions for known image types.
17105 (imagemagick-register-types): Throw error if not using ImageMagick.
17106
0b4e93f1
LL
171072011-03-22 Leo Liu <sdl.web@gmail.com>
17108
17109 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17110 located before rcirc-prompt-end-marker.
17111 (rcirc-complete): Error if point is not after rcirc prompt.
17112 Handle the case when table is nil.
9882e214 17113 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17114
fccee4ab
CY
171152011-03-22 Chong Yidong <cyd@stupidchicken.com>
17116
17117 * custom.el (custom--inhibit-theme-enable): Make it affect only
17118 custom-theme-set-variables and custom-theme-set-faces.
17119 (provide-theme): Ignore custom--inhibit-theme-enable.
17120 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17121 (custom-enabling-themes): Delete variable.
d86d2721
SM
17122 (enable-theme): Accept only loaded themes as arguments.
17123 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17124 (custom-enabled-themes): Forbid themes from setting this.
17125 Eliminate use of custom-enabling-themes.
17126 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17127
af896da6
LL
171282011-03-21 Leo Liu <sdl.web@gmail.com>
17129
17130 * ido.el (ido-read-internal): Add ido-selected to history instead
17131 of user input.
17132
78f64af0
SM
171332011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17134
17135 * subr.el (deferred-action-list, deferred-action-function):
17136 Mark obsolete.
17137
b16ac1ec
LL
171382011-03-21 Leo Liu <sdl.web@gmail.com>
17139
810f7698
LL
17140 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17141 change on 2011-02-13 (bug#8309).
17142
b16ac1ec
LL
17143 * minibuffer.el (read-file-name-function): Change default value.
17144 (read-file-name--defaults): Rename from read-file-name-defaults.
17145 (read-file-name-default): Rename from read-file-name.
17146 (read-file-name): Call read-file-name-function.
17147
4e05e67e
GM
171482011-03-21 Glenn Morris <rgm@gnu.org>
17149
17150 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17151 Doc fixes.
17152
4359915b
CY
171532011-03-21 Chong Yidong <cyd@stupidchicken.com>
17154
17155 * cus-theme.el: Add missing provide statement.
17156 (customize-create-theme): Extract theme value correctly.
17157 (custom-theme-visit-theme): Autoload.
17158 (customize-create-theme): Prompt before inserting default faces.
17159
1fe275ee
JB
171602011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17161
17162 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17163 units and musical notes.
17164
cd394be1 171652011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17166
17167 * ido.el (ido-read-internal): Use completing-read-default.
17168 (ido-completing-read): Fix compatibility with completing-read.
17169
7d476bde
CO
171702011-03-20 Christian Ohler <ohler@gnu.org>
17171
17172 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17173 (ert-delete-all-tests): Use `called-interactively-p' rather than
17174 `interactive-p'.
17175 (ert--make-xrefs-region): Respect END.
17176
fe0fb33e
CY
171772011-03-19 Chong Yidong <cyd@stupidchicken.com>
17178
ff854b0b
CY
17179 * dired-aux.el (dired-create-directory): Signal an error if the
17180 directory already exists (Bug#8246).
17181
fe0fb33e
CY
17182 * facemenu.el (list-colors-display): Call list-faces-display
17183 inside with-help-window.
17184 (list-colors-print): Use display property to align the final
17185 column, instead of checking window-width.
17186
576bce32
EZ
171872011-03-19 Eli Zaretskii <eliz@gnu.org>
17188
4d61f28d 17189 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17190 windows-nt systems.
17191 (emerge-protect-metachars): Quote correctly for ms-dos and
17192 windows-nt systems.
17193
89c41d68 171942011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17195
17196 * info.el (info-initialize): Replace all uses of `:' with
17197 path-separator for compatibility with non-Unix systems.
17198 Cache quoting of path-separator. (Bug#8258)
17199
b14e3e21 172002011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17201
17202 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17203 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17204 (mouse-avoidance-mode): Fix typos in docstrings.
17205
4525ce3e
CY
172062011-03-19 Chong Yidong <cyd@stupidchicken.com>
17207
17208 * startup.el (package-subdirectory-regexp): Move from package.el.
17209 Omit \\` and \\', and let callers add them.
17210
17211 * emacs-lisp/package.el (package-strip-version)
17212 (package-load-all-descriptors): Add \\` and \\' to
17213 package-subdirectory-regexp before using it.
17214 (package-untar-buffer): New arg DIR; ensure that file untars only
17215 into this expected directory. Remove superfluous delete-region.
17216 (package-unpack): Caller changed.
17217 (package-tar-file-info): Use package-subdirectory-regexp.
17218
a904a09a 172192011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17220
a904a09a
SM
17221 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17222 diff-mode-shared-map (bug#8284).
17223 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17224
172252011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17226
17227 * calendar/time-date.el (format-seconds): Use assoc instead of
17228 assoc-string, since assoc-string doesn't exist in XEmacs.
17229
171fc304
JB
172302011-03-17 Juanma Barranquero <lekktu@gmail.com>
17231
17232 * custom.el (custom-known-themes): Reflow docstring.
17233 (custom-theme-load-path): Fix typo in docstring.
17234 (load-theme): Fix typo in error message.
17235 (custom-available-themes, custom-variable-theme-value):
17236 Use `let', not `let*'.
17237
d71990a1
JB
172382011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17239
17240 * calc/README: Mention inclusion of musical notes.
17241
17242 * calc/calc-units.el (calc-lu-quant): Rename from
17243 `calc-logunits-quantity'.
17244 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17245 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17246 (calc-db): Rename from `calc-dblevel'.
17247 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17248 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17249 (calc-np): Rename from `calc-nplevel'.
17250 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17251 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17252 (calc-lu-plus): Rename from `calc-logunits-add'.
17253 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17254 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17255 (calc-lu-minus): Rename from `calc-logunits-sub'.
17256 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17257 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17258 (calc-lu-times): Rename from `calc-logunits-mul'.
17259 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17260 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17261 (calc-lu-divide): Rename from `calc-logunits-div'.
17262 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17263 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17264
17265 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17266 functions being autoloaded.
17267
17268 * calc/calc.el (calc-lu-power-reference): Rename from
17269 `calc-logunits-power-reference'.
17270 (calc-lu-field-reference): Rename from
17271 `calc-logunits-field-reference'.
17272
7a71b18d
GM
17273 * calc/calc-help.el (calc-l-prefix-help):
17274 Mention musical note functions.
d71990a1 17275
40c2934b
SM
172762011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17277
17278 * minibuffer.el (completion-all-sorted-completions):
17279 Use :completion-cycle-penalty text property if present.
17280
b0911414
KM
172812011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17282
17283 * allout.el (allout-yank-processing): Adjust for new rebulleting
17284 regime so bullet being yanked is used without prompting the user
17285 for a choice.
17286
8a05b668
JB
172872011-03-16 Juanma Barranquero <lekktu@gmail.com>
17288
17289 * startup.el (command-line): Warn the user that _emacs is deprecated.
17290
5ba5fb81
JB
172912011-03-16 Juanma Barranquero <lekktu@gmail.com>
17292
17293 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17294 (delphi-verbose, delphi-comment-face, delphi-string-face)
17295 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17296 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17297 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17298 (delphi-new-comment-line, delphi-font-lock-defaults)
17299 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17300 Fix typos in docstrings.
17301
2dab465b
KM
173022011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17303
5ba5fb81 17304 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17305 Invert the roles of character and string values for INSTEAD, so a
17306 string is used for the more common case of a defaulting prompt.
17307
0adf5618
SM
173082011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17309
17310 * progmodes/ruby-mode.el (ruby-backward-sexp):
17311 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17312 * play/gamegrid.el (gamegrid-make-face):
17313 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17314 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17315 * notifications.el (notifications-notify):
17316 * net/xesam.el (xesam-search-engines):
17317 * net/quickurl.el (quickurl-list-insert):
17318 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17319
d72700e5
CY
173202011-03-15 Chong Yidong <cyd@stupidchicken.com>
17321
17322 * startup.el (command-line): Update package subdirectory regexp.
17323
49c5410a
SM
173242011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17325
c6eee9aa
SM
17326 * allout.el (allout-abbreviate-flattened-numbering)
17327 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17328
49c5410a
SM
17329 * subr.el (read-char-choice): Only show the cursor after the prompt,
17330 not after the answer.
17331
047b2bb9
KR
173322011-03-15 Kevin Ryde <user42@zip.com.au>
17333
17334 * help-fns.el (variable-at-point): Skip leading quotes, if any
17335 (bug#8253).
17336
0a57d256
SM
173372011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17338
17339 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17340 warning message.
17341
77c992bc
MA
173422011-03-14 Michael Albinus <michael.albinus@gmx.de>
17343
17344 * shell.el (shell): When called interactively, offer to change the
17345 shell file name on remote hosts.
17346
eebc475d
TZ
173472011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17348
17349 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17350 integration for LDAP parameters. The host, base, user or binddn,
17351 and secret tokens can be specified in a netrc file, for instance.
17352 This is optional because an `auth-source' parameter must be
17353 specified in the search attributes.
17354
9d05d1ba
JB
173552011-03-13 Juanma Barranquero <lekktu@gmail.com>
17356
17357 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17358
09d9db2c
GM
173592011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17360
17361 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17362 into declaration. Remove redundant and harmful binding.
17363
173642011-03-12 Eli Zaretskii <eliz@gnu.org>
17365
17366 * files.el (file-ownership-preserved-p): Pass `integer' as an
17367 explicit 2nd argument to `file-attributes'. If the file's owner
17368 is the Administrators group on Windows, and the current user is
17369 Administrator, consider that a match.
17370
17371 * server.el (server-ensure-safe-dir): Consider server directory
17372 safe on MS-Windows if its owner is the Administrators group while
17373 the current Emacs user is Administrator. Use `=' to compare
17374 numerical UIDs, since they could be integers or floats.
17375
219bd536
JB
173762011-03-12 Juanma Barranquero <lekktu@gmail.com>
17377
17378 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17379
f3afd36b
MA
173802011-03-12 Michael Albinus <michael.albinus@gmx.de>
17381
17382 Sync with Tramp 2.2.1.
17383
17384 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17385
17386 * net/trampver.el: Update release number.
17387
3aaaa6f1
SM
173882011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17389
94642599
SM
17390 * progmodes/compile.el (compilation--previous-directory): Fix up
17391 various nil/dead-marker mismatches (bug#8014).
17392 (compilation-directory-properties, compilation-error-properties):
17393 Don't call it at a position past the one we're about to change.
17394
3aaaa6f1
SM
17395 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17396 Disable obsolescence warnings in the file that declares it.
17397
14239447
KM
173982011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17399
099c39a4
JB
17400 * allout-widgets.el (allout-widgets-tally):
17401 Initialize allout-widgets-tally as a hash table rather than nil to
17402 prevent mode-line redisplay warnings. Also, clarify the module
17403 description and fix a comment typo.
14239447 17404
135e287c
JB
174052011-03-11 Juanma Barranquero <lekktu@gmail.com>
17406
17407 * help-fns.el (describe-variable): Don't complete keywords.
17408 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17409
ffbf300e
CY
174102011-03-10 Chong Yidong <cyd@stupidchicken.com>
17411
ba08b241
CY
17412 * emacs-lisp/package.el (package-version-join): Impose a standard
17413 string representation for pre/alpha/beta version lists.
17414 (package-unpack-single): Standardize the directory name by passing
17415 it through package-version-join.
17416 (package-strip-rcs-id): Accept any version string that does not
17417 signal an error in version-to-list.
ffbf300e 17418
f346fd6b
MA
174192011-03-10 Michael Albinus <michael.albinus@gmx.de>
17420
17421 * simple.el (delete-trailing-whitespace): Return nil for the
17422 benefit of `write-file-functions'.
17423
ccb55d27
GM
174242011-03-10 Glenn Morris <rgm@gnu.org>
17425
5ceaac0c
GM
17426 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17427
02da65ff
GM
17428 * vc/vc-git.el (vc-git-program): New option.
17429 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17430 (vc-git--call): Use it.
17431
b2f603cc
GM
17432 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17433
5772caab
GM
17434 * cus-edit.el (Custom-newline): If no button at point, look
17435 for a subgroup button at start-of-line. (Bug#2298)
17436
ccb55d27
GM
17437 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17438
ec6ecaed
JD
174392011-03-10 Julien Danjou <julien@danjou.info>
17440
17441 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17442 `cursor-type' is nil.
17443
9d5aa01d
JB
174442011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17445
17446 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17447
b6a5875b
KM
174482011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17449
7a71b18d 17450 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17451 preserves the existing header prefix, rebulleting it if necessary,
17452 rather than replacing it. This is necessary for proper operation
17453 of cooperative addons like allout-widgets.
1154d12e
JB
17454 (allout-make-topic-prefix, allout-rebullet-heading):
17455 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17456 value as alternate bullet to be used, instead of prompting the user
17457 for a bullet character.
b6a5875b 17458
ee545c35
MA
174592011-03-09 Michael Albinus <michael.albinus@gmx.de>
17460
d86d2721
SM
17461 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17462 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17463 `tramp-default-port'.
17464
c47971d7
DD
174652011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17466
17467 * net/rcirc.el (rcirc-handler-001): Remove useless
17468 with-rcirc-process-buffer.
17469 (rcirc-check-auth-status): Swap arguments to string-match.
17470
13522cb4
GM
174712011-03-09 Glenn Morris <rgm@gnu.org>
17472
0be6f4f1
GM
17473 * shell.el (shell-mode):
17474 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17475
13522cb4
GM
17476 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17477 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17478
515de2e3
CY
174792011-03-08 Chong Yidong <cyd@stupidchicken.com>
17480
17481 * emacs-lisp/package.el (package-refresh-contents)
17482 (package-menu-execute): Use condition-case-no-debug.
17483
b511b994
MA
174842011-03-08 Michael Albinus <michael.albinus@gmx.de>
17485
17486 * simple.el (shell-command-to-string): Use `process-file'.
17487
17488 * emacs-lisp/package.el (package-tar-file-info): Handle also
17489 remote files.
17490
d86d2721
SM
17491 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17492 Use `equal' for upload base check.
b511b994 17493
25bbfb31
AM
174942011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17495
17496 * textmodes/texinfo.el (texinfo-environments):
17497 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17498
be996521
GM
174992011-03-08 Glenn Morris <rgm@gnu.org>
17500
e9c8529f
GM
17501 * cus-start.el (cursor-in-non-selected-windows):
17502 Fix :set quoting oddness. (Bug#8192)
17503
be996521
GM
17504 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17505 in some setf expressions. (Bug#2159)
17506
2bb5649e
CY
175072011-03-08 Chong Yidong <cyd@stupidchicken.com>
17508
17509 * custom.el (custom-available-themes): Return themes in
17510 alphabetical order.
17511
33383987 17512See ChangeLog.15 for earlier changes.
e3d51b27
MR
17513
17514;; Local Variables:
17515;; coding: utf-8
e3d51b27
MR
17516;; End:
17517
acaf905b 17518 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17519
17520 This file is part of GNU Emacs.
17521
17522 GNU Emacs is free software: you can redistribute it and/or modify
17523 it under the terms of the GNU General Public License as published by
17524 the Free Software Foundation, either version 3 of the License, or
17525 (at your option) any later version.
17526
17527 GNU Emacs is distributed in the hope that it will be useful,
17528 but WITHOUT ANY WARRANTY; without even the implied warranty of
17529 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17530 GNU General Public License for more details.
17531
17532 You should have received a copy of the GNU General Public License
17533 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.