calc/calc-units.el (math-default-units-table): Give it an
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
0fd09128
JB
12012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
2
3 * calc/calc-units.el (math-default-units-table): Give an
4 initial value.
5 (math-put-default-units): Add options to put composite units and
6 unit systems in the default units table.
7 (calc-convert-units): Send composite units to
8 `math-put-default-units' when appropriate.
9
9ff9402d 102012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 11
fbb5e336
GM
12 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
13
7aacaf15
GM
14 * tutorial.el (help-with-tutorial):
15 * emacs-lisp/copyright.el (copyright-update-directory):
16 * emacs-lisp/autoload.el (autoload-find-generated-file)
17 (autoload-find-file): Disable local eval: (for insurance).
18
f40b9f10
GM
19 * files.el (hack-local-variables-filter): If an eval: form is not
20 known to be safe, and enable-local-variables is :safe, then ignore
21 the form totally, as is done for non-eval forms. (Bug#12155)
22
daa9f1a6
SM
232012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
24
25 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
26 (rx-form): Simplify.
27
9cd80478
DG
282012-08-09 Dmitry Gutov <dgutov@yandex.ru>
29
30 Merge stuff from upsteam ruby-mode, part 1 (bug#12169).
31 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
32 binding (use `M-;' instead).
33 (ruby-expr-beg, ruby-parse-partial): ?, _, and : are symbol
34 constituents, ! is not (but kinda should be).
35 (ruby-singleton-class-p): New function.
36 (ruby-expr-beg, ruby-in-here-doc-p)
37 (ruby-syntax-propertize-heredoc): Use it.
38 (ruby-syntax-propertize-function): Adjust for changes in
39 `ruby-syntax-propertize-heredoc'.
40
d301b413
SM
412012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
42
43 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
44
1530c98e
CY
452012-08-10 Chong Yidong <cyd@gnu.org>
46
47 * progmodes/python.el (python-shell-get-process-name): Don't mess
48 with same-window-buffer-names.
49
50 * eshell/eshell.el (eshell-add-to-window-buffer-names)
51 (eshell-remove-from-window-buffer-names): Make obsolete.
52 (eshell-buffer-name, eshell-unload-hook): Don't use them.
53 (eshell): Just use pop-to-buffer-same-window instead.
54
e1293765
CY
552012-08-10 Chong Yidong <cyd@gnu.org>
56
57 * bindings.el: Bind M-= back to count-words-region.
58
59 * simple.el (count-words-region): Accept a prefix arg for acting
60 on the entire buffer.
61 (count-words--buffer-message): New helper function.
62
e1894109
SM
632012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
64
65 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
66 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
67 (event-start, event-end): Use posn-at-point to return a more
68 informative posn.
69 (posnp): New function.
70 * mouse.el (popup-menu-normalize-position): Use it.
71
c69f56a2
MY
722012-08-10 Masatake YAMATO <yamato@redhat.com>
73
74 * mouse.el (popup-menu-normalize-position): New function.
75 (popup-menu): Use `popup-menu-normalize-position' to normalize
76 the form for POSITION argument.
77
78 * term/x-win.el (x-menu-bar-open):
79 Use the value returend from (posn-at-point) as position
80 passed to `popup-menu'.
81
31673780
JB
822012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
83
84 * calc/calccomp.el (math-compose-expr): Add extra argument
85 indicating that parentheses should be put around products in
86 denominators. Give multiplication precedence over division during
87 composition.
88
dab7711b
CY
892012-08-09 Chong Yidong <cyd@gnu.org>
90
dee4ef93
CY
91 * man.el (Man-switches, Man-sed-command, Man-awk-command)
92 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
93 (Man-untabify-command, manual-program): Convert to defcustom
94 (Bug#10429).
95
73e2bbc5
CY
96 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
97
3e861c8a
CY
98 * descr-text.el (describe-char): Don't insert extra newlines
99 (Bug#10127).
100
a9f5a649
CY
101 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
102 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
103
dab7711b
CY
104 * align.el (align-region): Delete temporary markers (Bug#10047).
105 Plus some code cleanups.
106
e0cc4efa
FEG
1072012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
108
109 * progmodes/python.el (python-pdbtrack-tracked-buffer)
110 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
111 (python-shell-internal-last-output): Use make-local-variable
112 instead of make-variable-buffer-local.
113
489af14f
FEG
1142012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
115
116 * progmodes/python.el: Enhancements to forward-sexp.
117 (python-nav-forward-sexp): Rename from
118 python-nav-forward-sexp-function.
c69f56a2
MY
119 (python-nav--forward-sexp, python-nav--backward-sexp):
120 New functions.
489af14f 121
0fc50303
JB
1222012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
123
124 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
125 modes and simplification modes.
126
5d65606a
SM
1272012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
128
129 * delsel.el (delete-selection-pre-hook): Don't propagate the
130 file-supersession signals (bug#12161).
131
4250fdf5
SM
1322012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
135 (cl-map-extents): Add compatibility aliases (bug#12135).
136
d9f9b465
MA
1372012-08-08 Michael Albinus <michael.albinus@gmx.de>
138
139 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
140 tests by `ignore-error'.
141 (tramp-find-shell): Open also a new shell, when cache is already
142 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
143
ce0fcefa
JL
1442012-08-08 Juri Linkov <juri@jurta.org>
145
146 * bookmark.el: Add `defaults' property to the bookmark record.
147 (bookmark-current-buffer): Doc fix.
148 (bookmark-make-record): Add `defaults' property with default values
149 to the bookmark record.
150 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
151 with `bookmark-insert-current-bookmark'.
152 (bookmark-set): Get `defaults' property from the bookmark record
153 and use it in `read-from-minibuffer'.
154 (bookmark-insert-current-bookmark): Remove function.
155
156 * info.el (Info-bookmark-make-record): Add `defaults' property
157 with values of canonical Info node name, the current Info file
158 name and the current Info node name. (Bug#12107)
159
53fa8652
JL
1602012-08-08 Juri Linkov <juri@jurta.org>
161
162 * files.el (basic-save-buffer): Use `buffer-name' as the default
163 of `read-file-name' when buffer is not visiting a file (bug#12128).
164
242c0a95
JL
1652012-08-08 Juri Linkov <juri@jurta.org>
166
167 * info.el (Info-isearch-search): Doc fix.
168 (Info-search): Change search-failed message from "initial node" to
169 "end of node" (bug#12078).
170 (Info-isearch-search): Change `isearch-string-state' to
171 `isearch--state-string'.
172
32ac3a6b
GM
1732012-08-08 Glenn Morris <rgm@gnu.org>
174
175 * language/persian.el: Remove file.
f8c1afd5 176 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
177 * loadup.el: Remove language/persian.
178
2c2d9c9c
OF
1792012-08-08 Óscar Fuentes <ofv@wanadoo.es>
180
181 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
182
2d79ec42
FEG
1832012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
184
185 * progmodes/python.el Fixed defsubst warning.
186 (python-syntax-context) Rename from python-info-ppss-context.
187 (python-syntax-context-type): Rename from
188 python-info-ppss-context-type.
189 (python-syntax-comment-or-string-p): Rename from
190 python-info-ppss-comment-or-string-p.
191
2bd255dd
JB
1922012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
193
194 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
195
c395097f
AS
1962012-08-07 Andreas Schwab <schwab@linux-m68k.org>
197
6125983e
AS
198 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
199 a defcustom that is quoted with backquote.
200
4250fdf5
SM
201 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
202 Fix handling of interactive spec when the body uses return.
651eaf36
AS
203 (math-do-arg-check, math-define-function-body): Use backquote forms.
204 * calc/calc-ext.el (math-defcache): Likewise.
205 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
206 * allout.el (allout-new-exposure): Likewise.
207 * calc/calcalg2.el (math-tracing-integral): Likewise.
208 * info.el (Info-last-menu-item): Likewise.
209 * emulation/vip.el (vip-loop): Likewise.
210 * textmodes/artist.el (artist-funcall): Likewise.
211 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
212 Construct menu-item directly.
213
4250fdf5
SM
214 * progmodes/autoconf.el (font-lock-syntactic-keywords):
215 Don't declare.
c395097f 216
5fb50dd3
CY
2172012-08-07 Chong Yidong <cyd@gnu.org>
218
219 * simple.el (deactivate-mark): Preserve text properties when
220 saving the primary selection (Bug#8384).
221
54eea618
KR
2222012-08-07 Kevin Ryde <user42@zip.com.au>
223
224 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
225 (woman-parse-numeric-value): On a bad .IP line, issue a warning
226 and continue processing (Bug#12110).
227
638eaeb9
SM
2282012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
229
230 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
231 syntax-propertize-function (bug#10095).
232
ea376861
SM
2332012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
234
f91b35be
SM
235 * help-fns.el (help-fns--key-bindings, help-fns--signature)
236 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
237 describe-function-1.
238 (describe-function-1): Use them. Move compiler macro after sig.
239 (help-fns--compiler-macro): Use function-get. Assume we're already in
240 standard-output. Adjust layout to new call order.
241
ea376861
SM
242 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
243 re-binding a symbol that has a symbol-macro (bug#12119).
244
d5be7bd0
MB
2452012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
246
247 * language/persian.el: New file. (Bug#11812)
248 * loadup.el: Add language/persian.el.
249
90749b53
CY
2502012-08-06 Chong Yidong <cyd@gnu.org>
251
252 * window.el (window--maybe-raise-frame): New function.
253 (window--display-buffer): Split off from here.
254 (display-buffer-reuse-window, display-buffer-pop-up-frame)
255 (display-buffer-pop-up-window, display-buffer-use-some-window):
256 Obey an inhibit-switch-frame action alist entry.
257 (display-buffer): Update doc.
258
259 * replace.el (occur-after-change-function): Avoid losing focus by
260 using the inhibit-switch-frame display parameter (Bug#12139).
261
ba7b0154
FEG
2622012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
263
264 Make internal shell process buffer names start with space.
265 * progmodes/python.el (python-shell-make-comint): Add optional
266 argument INTERNAL.
267 (run-python-internal): Use it.
268 (python-shell-internal-get-or-create-process): Check for new
269 internal buffer names.
270
5eaeacb5
GM
2712012-08-06 Glenn Morris <rgm@gnu.org>
272
e296d94b 273 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
274 Do less getting and setting of environment variables.
275
b7ccbdc2
CY
2762012-08-05 Chong Yidong <cyd@gnu.org>
277
777fe95e
CY
278 * proced.el (proced): Add substitution string to docstring to
279 trigger autoloading of the proced library on C-h f (Bug#1768).
280
4250fdf5
SM
281 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
282 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
283
284 * imenu.el (imenu-generic-expression): Move documentation here
285 from imenu--generic-function.
286 (imenu--generic-function): Refer to imenu-generic-expression.
287
9e3b7800 2882012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
289
290 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
291 indentation declaration.
292 (viper-loop): Add indentation declaration (Bug#7025).
293
e5d9c0d1
CY
2942012-08-05 Chong Yidong <cyd@gnu.org>
295
f0422feb
CY
296 * help-fns.el (describe-variable): Add hyperlink for
297 directory-local variables files. Improve buffer-local and
298 permanent-local reporting; suggested by MON KEY (Bug#6644).
299
300 * help-mode.el (help-dir-local-var-def): New button type.
301
e5d9c0d1
CY
302 * files.el (kill-buffer-hook): Provide a defvar.
303
a4f2deaa
GM
3042012-08-05 Glenn Morris <rgm@gnu.org>
305
306 * eshell/esh-ext.el (eshell/addpath):
307 Also update eshell-path-env. (Bug#12013)
308
a9dd5754
CY
3092012-08-05 Chong Yidong <cyd@gnu.org>
310
a4f2deaa 311 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 312
d014c740
CY
313 * fringe.el (fringe-styles): Add docstring.
314 (fringe--check-mode): New function.
315 (set-fringe-mode, set-fringe-style): Use it.
316 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
317
a9dd5754
CY
318 * files.el (set-auto-mode): Fix invalid setq call.
319
7c2dc8bd
SM
3202012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
321
322 * isearch.el: Misc simplification; use defstruct.
323 (isearch-mode-map): Dense maps now work like sparse ones.
324 (isearch--state): New defstruct.
325 (isearch-string-state, isearch-message-state, isearch-point-state)
326 (isearch-success-state, isearch-forward-state)
327 (isearch-other-end-state, isearch-word-state, isearch-error-state)
328 (isearch-wrapped-state, isearch-barrier-state)
329 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
330 replaced by defstruct's accessors.
331 (isearch--set-state): Rename from isearch-top-state and change
332 calling convention.
333 (isearch-push-state): Use new isearch--get-state.
334 (isearch-toggle-word): Disable regexp when enabling word.
335 (isearch-message-prefix): Remove unused arg _c-q-hack.
336 (isearch-message-suffix): Remove unused arg _ellipsis.
337
7fcc0070
AS
3382012-08-04 Andreas Schwab <schwab@linux-m68k.org>
339
340 * simple.el (list-processes--refresh): For a server use :host or
341 :local as the address.
97ad0769 342 (list-processes): Doc fix.
7fcc0070 343
00340faf
MN
3442012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
345
346 * lisp/mpc.el: Support password in host argument.
347 (mpc--proc-connect): Parse and use new password element.
348 Set mpc-proc variable instead of returning process.
349 (mpc-proc): Adjust accordingly.
350
6dad7178
EZ
3512012-08-03 Eli Zaretskii <eliz@gnu.org>
352
18949c2f
EZ
353 * whitespace.el (whitespace-display-mappings): Use Unicode
354 codepoints, instead of emacs-mule codepoints. See
355 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
356 for the details.
357
6dad7178
EZ
358 * files.el (file-truename): Don't skip symlink-chasing part on
359 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
360 Windows into the loop that recursively chases symlinks.
361 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
362 MS-DOS.
363
385b0198
CY
3642012-08-03 Chong Yidong <cyd@gnu.org>
365
6200f3c4
CY
366 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
367
385b0198
CY
368 * sort.el (sort-regexp-fields): Doc fix.
369
b9e74744
TH
3702012-08-03 Tassilo Horn <tsdh@gnu.org>
371
372 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
373 labels regex position point at the expected place.
374
41013cb4
MK
3752012-08-03 MON KEY <monkey@sandpframing.com>
376
377 * net/imap.el (imap-interactive-login, imap-authenticate)
378 (imap-mailbox-lsub, imap-mailbox-list)
379 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
380 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
381 (imap-parse-response): Doc fix.
382
0ffee616
JT
3832012-08-03 João Távora <joaotavora@gmail.com>
384
385 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
386 if sexp scanning does not move point (Bug#5734).
387
cfcc9cc8
TH
3882012-08-02 Tassilo Horn <tsdh@gnu.org>
389
390 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
391 Add listings, minted, and ctable packages.
392 (reftex-label-alist-builtin): Move listings, minted, and ctable
393 entries before LaTeX.
a01bbb84 394 (reftex-label-alist): Docfix.
cfcc9cc8 395
66ec2442
BG
3962012-08-02 Bastien Guerry <bzg@gnu.org>
397
398 * replace.el (occur): Fix docstring (bug#12122).
399
837b365b
GM
4002012-08-02 Glenn Morris <rgm@gnu.org>
401
402 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
403
e098de97
PE
4042012-08-02 Paul Eggert <eggert@cs.ucla.edu>
405
406 Obsolete alias inactivate-current-input-method-function (Bug#10150).
407 * international/mule-cmds.el: Create
408 inactivate-current-input-method-function as an obsolete alias for
409 deactivate-current-input-method-function. See Katsumi Yamaoka in
410 <http://bugs.gnu.org/10150#46>.
411
a0f95636
JB
4122012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
413
414 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
415 of nested `if's.
416
0d26d7c4
GM
4172012-08-01 Glenn Morris <rgm@gnu.org>
418
419 * progmodes/autoconf.el (autoconf-definition-regexp):
420 Add AH_TEMPLATE, adjust submatch numbering.
421 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
422 (autoconf-current-defun-function): Update for above change.
423 (autoconf-current-defun-function): First skip to end of current word.
424
b686ba06
RS
4252012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
426
427 * calendar/cal-html.el (cal-html-insert-agenda-days):
428 Fix typo. (Bug#12018)
429
0d49da68
FEG
4302012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
431
432 Shell processes: enhancements to startup and CEDET compatibility.
433 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
434 (python-shell-make-comint): accept-process-output at startup.
435 (run-python-internal): Set inferior-python-mode-hook to nil.
436 (python-shell-internal-get-or-create-process): call sit-for.
437 (python-preoutput-result): Add obsolete alias.
438 (python-shell-internal-send-string): Use it.
439 (python-shell-send-setup-code): Remove call to
440 accept-process-output.
441
f1a71c6e
AS
4422012-07-31 Andreas Schwab <schwab@linux-m68k.org>
443
444 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
445 (Bug#12108)
446
d2605269
JB
4472012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
448
449 * calc-mode.el (calc-basic-simplification-mode): Rename from
450 `calc-limited-simplification-mode'.
451 (calc-alg-simplification-mode): New function.
d66060f8 452 (calc-set-simplify-mode): Adjust message.
f1a71c6e 453
d2605269
JB
454 * calc.el (calc-set-mode-line): Adjust mode line display for
455 basic simplification mode.
456
457 * calc-help.el (calc-m-prefix-help): Update help message.
458
459 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
460 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
461
a3827a43
BG
4622012-07-31 Bastien Guerry <bzg@gnu.org>
463
464 * man.el (man): Fix comment. (bug#12101)
465
502e3f89
MR
4662012-07-31 Martin Rudalics <rudalics@gmx.at>
467
468 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
469 Don't return a non-nil value when no suitable buffer was found.
470
d7714961
FEG
4712012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
472
473 * progmodes/python.el (run-python-internal): Disable font lock for
474 internal shells.
475
1f45e27e
SM
4762012-07-30 Stefan Merten <smerten@oekonux.de>
477
478 * rst.el: Silence `checkdoc-ispell'.
479 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
480 (rst-official-version, rst-official-cvs-rev)
481 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
482 (rst-mode-map): New key binding.
483
0aee6912
PE
4842012-07-30 Paul Eggert <eggert@cs.ucla.edu>
485
486 Update .PHONY listings in makefiles.
487 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
488 autoloads, update-subdirs, updates, bzr-update, update-authors,
489 compile-onefile, compile-calc, backup-compiled-files,
490 compile-after-backup, compile-one-process, mh-autoloads,
491 bootstrap-clean, distclean, maintainer-clean.
492
9052f9f0
JB
4932012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
494
1823ac5a
JB
495 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
496 (calc-set-mode-line): Don't display "AlgSimp ".
497
498 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
499 (calc-lim-simplify-mode): New function.
500 (calc-set-simplify-mode): Default to 'alg.
501 (calc-default-simplify-mode): Make algebraic simplifications
502 the default.
503
504 * calc/calc-ext.el (calc-init-extensions): Remove binding for
505 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
506
8d7c7eed 507 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
508 indicate new simplification modes.
509
1823ac5a
JB
510 * calc/README: Mention new default simplification mode.
511
9052f9f0
JB
512 * calc/calc.el (math-normalize-error): New variable.
513 (math-normalize): Set `math-normalize-error' to t
514 when there's an error.
515
516 * calc/calc-alg.el (math-simplify): Don't simplify when
517 `math-normalize' returns an error.
518
20ba0cb4
EZ
5192012-07-29 Eli Zaretskii <eliz@gnu.org>
520
521 * international/mule-cmds.el (set-locale-environment): Revert last
522 change, since display-graphic-p returns nil when this function is
523 called during startup. Instead...
524
525 * term/w32console.el (terminal-init-w32console): ...setup the
526 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
527
a5dcc929
JL
5282012-07-29 Juri Linkov <juri@jurta.org>
529
530 * simple.el (goto-line): Don't display default line number in the
531 prompt because it should be displayed by `read-number' (bug#9952).
532 Add the current line number to the defaults of `goto-line' to
533 allow its easier modification by users with `M-n' (bug#9201).
534
535 * subr.el (read-number): Support multiple default values like in
536 other minibuffer reading functions. Replace `read' with
537 `string-to-number' for consistency with `number-to-string'.
538
72b255c7
PE
5392012-07-29 Paul Eggert <eggert@cs.ucla.edu>
540
541 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
542 * emulation/viper-init.el (viper-deactivate-input-method-action):
543 Rename from viper-inactivate-input-method-action.
544 (viper-deactivate-input-method):
545 Rename from viper-inactivate-input-method.
546 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
547 * international/mule-cmds.el (deactivate-input-method):
548 Rename from inactivate-input-method.
549 Also run input-method-deactivate-hook.
550 (deactivate-current-input-method-function):
551 Rename from inactivate-current-input-method-function.
552 (input-method-deactivate-hook): New hook.
553 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
554 (inactivate-input-method): Mark obsolete.
555
72b255c7
PE
556 * international/quail.el (quail-activate):
557 Also run quail-deactivate-hook.
558 (quail-deactivate): Rename from quail-inactivate.
559 * international/robin.el (robin-activate):
560 Also run robin-deactivate-hook.
561 (robin-deactivate): Rename from robin-inactivate.
562
2549c068
CY
5632012-07-29 Chong Yidong <cyd@gnu.org>
564
565 * simple.el (indicate-copied-region): New function.
566 (kill-ring-save): Split off from here.
567
568 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
569 (kill-rectangle): Set deactivate-mark to t on read-only error.
570
571 * register.el (copy-to-register, copy-rectangle-to-register):
572 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
573 (append-to-register, prepend-to-register):
574 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
575
576 * simple.el (async-shell-command-buffer): New defcustom.
577 (shell-command): Use it. (Bug#4719)
578
01bd1b0d
EZ
5792012-07-28 Eli Zaretskii <eliz@gnu.org>
580
581 * international/mule-cmds.el (set-locale-environment): In a
582 console session on MS-Windows, set up keyboard and terminal
583 encoding from the OEM codepage, not the ANSI codepage.
584 (Bug#12055)
585
a55739d3
CY
5862012-07-28 Chong Yidong <cyd@gnu.org>
587
588 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
589 gdb-get-location.
590
0e1a094f 5912012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
592
593 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
594 the alist (bug#12029).
595
20329d73
EZ
5962012-07-28 Eli Zaretskii <eliz@gnu.org>
597
598 * makefile.w32-in (custom-deps, finder-data, updates, compile)
599 (compile-always, compile-first)
600 ($(lisp)/calendar/cal-loaddefs.el)
601 ($(lisp)/calendar/diary-loaddefs.el)
602 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
603 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
604 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
605 instead of on update-subdirs.
606 (bootstrap-clean): Delete $(lisp)/subdirs.el.
607
345a2258
CY
6082012-07-28 Chong Yidong <cyd@gnu.org>
609
1eee6341
CY
610 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
611 directory if vc-deduce-backend returns nil (Bug#7350).
612
345a2258
CY
613 * simple.el (delete-trailing-lines): New option.
614 (delete-trailing-whitespace): Obey it (Bug#11879).
615
049a0936
DE
6162012-07-28 David Engster <deng@randomsample.de>
617
618 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
619 Explanation of new 'symbol-qnames feature in doc-strings.
620 (xml-maybe-do-ns): Return expanded names as plain symbols if
621 'symbol-qnames was provided in XML-NS argument (Bug#11916).
622 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
623
aa81af71
FEG
6242012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
625
626 Consistent completion in inferior python with emacs -nw.
627 * progmodes/python.el (inferior-python-mode): replace "<tab>"
628 binding in inferior-python-mode-map with "\t".
629 (python-shell-completion-complete-at-point)
630 (python-completion-complete-at-point): Remove interactive spec.
631
e827b1eb
JB
6322012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
633
634 * calc/calccomp.el (math-compose-expr): Undo previous change.
635
a90dfb95
FEG
6362012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
637
4250fdf5 638 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
639 run-python.
640 (python-shell-make-comint): Fix pop-to-buffer call.
641 (run-python): Autoload. New arg SHOW.
642 (python-shell-get-or-create-process): Do not pop python process
643 buffer.
644
32770973 6452012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
646
647 * notifications.el (notifications-on-action-signal)
648 (notifications-on-closed-signal): Use also the bus address for the map.
649 (notifications-notify, notifications-close-notification)
650 (notifications-get-capabilities): Add optional argument BUS.
651
86332df2
TH
6522012-07-27 Tassilo Horn <tsdh@gnu.org>
653
4250fdf5
SM
654 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
655 Add support for the lstlisting and minted environments, and for the
86332df2
TH
656 ctable macro.
657 * textmodes/reftex.el (reftex-compile-variables): Also recognize
658 labels written in keyvals syntax.
659
ca1302a4
JB
6602012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
661
662 * calc/calccomp.el (math-compose-expr): Use parentheses when
663 there is a product in the denominator of a fraction.
664
f8b91036
EZ
6652012-07-26 Eli Zaretskii <eliz@gnu.org>
666
667 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
668 ($(lisp)/calendar/diary-loaddefs.el)
669 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
670 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
671 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
672 rewritten while the autoload files are built at the same time,
673 which needs to load subdirs.el.
674
c8e5a42c
MR
6752012-07-26 Martin Rudalics <rudalics@gmx.at>
676
677 * mouse.el (popup-menu): Fix doc-string and re-indent code.
678 (mouse-drag-line): Don't exit tracking when a switch-frame or
679 switch-window event occurs (Bug#12006).
680
670d85ea
SM
6812012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
682
683 * mouse.el (popup-menu): Fix last change.
684
7abaf5cc
SM
6852012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
686
687 Autoload from Lisp with more care. Follow aliases when looking for
688 function properties.
689 * subr.el (autoloadp): New function.
690 (symbol-file): Use it.
691 (function-get): New function.
692 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
693 autoload-do-load.
694 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
695 (lisp-indent-function):
696 * emacs-lisp/gv.el (gv-get):
697 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
698 * emacs-lisp/byte-opt.el (byte-optimize-form):
699 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
700 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
701 Use function-get.
702 * emacs-lisp/cl.el: Don't propagate function properties any more.
703
704 * speedbar.el (speedbar-add-localized-speedbar-support):
705 * emacs-lisp/disass.el (disassemble-internal):
706 * desktop.el (desktop-load-file):
707 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
708 (describe-function-1):
709 * emacs-lisp/find-func.el (find-function-noselect):
710 * emacs-lisp/elp.el (elp-instrument-function):
711 * emacs-lisp/advice.el (ad-has-proper-definition):
712 * apropos.el (apropos-safe-documentation, apropos-macrop):
713 * emacs-lisp/debug.el (debug-on-entry):
714 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
715 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
716 * calc/calc.el (name): Use autoloadp & autoload-do-load.
717
b1364986
AA
7182012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
719
720 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
721 function, not an obsolete variable (Bug#12046).
722
67ada220
AS
7232012-07-25 Andreas Schwab <schwab@linux-m68k.org>
724
725 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
726
f08088e3
CS
7272012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
728
729 * emacs-lisp/pp.el (pp-display-expression): Select old selected
730 window only if it is still live (Bug#12034).
731
8137e7b3
MR
7322012-07-25 Martin Rudalics <rudalics@gmx.at>
733
734 * subr.el (redirect-frame-focus): Add advertised calling
735 convention (Bug#12030).
736
09ae5da1
PE
7372012-07-25 Paul Eggert <eggert@cs.ucla.edu>
738
739 Prefer typical American spelling for "acknowledgment".
740 * vc/add-log.el (change-log-acknowledgment): Rename from
741 change-log-acknowledgement, with an alias for the old name.
742
3cc5a3a8
JB
7432012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
744
745 * calc-alg.el (math-simplify-divide): Don't cross multiply
746 in an equation when the lhs is a variable.
747
b7af7f62
JD
7482012-07-24 Julien Danjou <julien@danjou.info>
749
750 * net/netrc.el (netrc-find-service-number, netrc-store-data):
751 Remove, unused.
752
ec1b09b1
EZ
7532012-07-23 Eli Zaretskii <eliz@gnu.org>
754
755 * startup.el (command-line): Don't display an empty user name in
756 the error message about non-existent home directory, when
757 init-file-user was set to an empty string. See
758 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
759 for the details and context.
760
b525fd8a
VB
7612012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
762
763 * ses.el (ses-cell-formula-aset): New macro.
764 (ses-cell-references-aset): New macro.
765 (ses-cell-p): New function.
766 (ses-rename-cell): Do no longer rely on complex operations like
767 ses-cell-set-formula or ses-set-cell to change the cell and handle
768 the undo at the same time, but rather use lower level new macros
769 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
770 the undo directly. Refresh the mode line.
771
2c73e345
LL
7722012-07-21 Leo Liu <sdl.web@gmail.com>
773
670d85ea
SM
774 * progmodes/cc-cmds.el (c-defun-name):
775 Use match-string-no-properties instead for consistency.
2c73e345 776
542dfbde
LL
7772012-07-20 Leo Liu <sdl.web@gmail.com>
778
3646bcd6
LL
779 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
780 (Bug#7879)
781
542dfbde
LL
782 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
783
25721031
CY
7842012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
785
786 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
787 * progmodes/bug-reference.el, misearch.el: Provide themselves
788 (bug#11915).
789
790 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
791 of narrowed buffer (bug#11966).
792
316e68a7
VB
7932012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
794
795 * ses.el (ses-rename-cell): Set new name also in reference list of
796 cells of which the renamed cell depends.
797
bbf0e7d9
MY
7982012-07-20 Masatake YAMATO <yamato@redhat.com>
799
800 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
801 to check whether menu-bar is shown or not. If not shown,
802 show the menu-bar as a popup menu instead of using tmm.
803 * mouse.el (popup-menu): Accept `point' as `position' argument.
804
c28662a8
DG
8052012-07-20 Dmitry Gutov <dgutov@yandex.ru>
806
807 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
808 up inside string symbol literal (bug#11923).
809
87ab808f
EZ
8102012-07-20 Eli Zaretskii <eliz@gnu.org>
811
812 * startup.el (fancy-startup-text): Read the whole tutorial, not
813 just its first 256 bytes. Prevents gibberish in display of the
814 tutorial title.
815
89dea803
DA
8162012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
817
818 Drop idle buffer compaction due to an absence of the
819 proved efficiency.
820 * compact.el: Remove.
821
8a4e6db8
SS
8222012-07-19 Sam Steingold <sds@gnu.org>
823
824 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
825 vc-bzr-pull & vc-bzr-merge-branch.
826 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
827 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
828 for consistency with compilation-error-regexp-alist.
829 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
830 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
831 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
832 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
833
5db81e33
SM
8342012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
835
836 * emacs-lisp/chart.el: Use lexical-binding.
837 (chart-emacs-storage): Don't hardcode the list of entries.
838
5b835e1d
DA
8392012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
840
841 Next round of tweaks caused by Fgarbage_collect changes.
842 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
843
9cd47b72
DA
8442012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
845
846 Compact buffers when idle.
847 * compact.el: New file.
848
1d6fc0df
SM
8492012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
850
851 * subr.el (eventp): Presume that if it looks vaguely like an event,
852 it's an event (bug#10190).
853
1d29cc7d
FEG
8542012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
855
856 Enhancements to ppss related code (thanks Stefan).
857 * progmodes/python.el (python-indent-context)
858 (python-indent-calculate-indentation, python-indent-dedent-line)
859 (python-indent-electric-colon, python-nav-forward-block)
860 (python-mode-abbrev-table)
1d6fc0df 861 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
862 for ppss context.
863 (python-info-continuation-line-p): Cleanup.
864 (python-info-ppss-context): Do not catch 'quote.
865 (python-info-ppss-context-type)
866 (python-info-ppss-comment-or-string-p): Simplify.
867
d583cbe6
FEG
8682012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
869
870 * progmodes/python.el: Enhancements to eldoc support.
871 (python-info-current-symbol): New function.
872 (python-eldoc-at-point): Use python-info-current-symbol.
873 (python-info-current-defun): Fix cornercase on first defun scan.
874 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
875 and signal error when no inferior python process is available.
876
eceb6feb
DG
8772012-07-18 Dmitry Gutov <dgutov@yandex.ru>
878
879 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
880 assume it's always t.
881 (vc-git-registered): Remove caching, the function is only called
882 once.
883 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
884
4c8ff0fe
CY
8852012-07-18 Chong Yidong <cyd@gnu.org>
886
19fb7186
CY
887 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
888
9587c688
CY
889 * simple.el (count-words): Report on narrowing (Bug#9959).
890
0fe776a1
CY
891 * bindings.el: Bind M-= to count-words.
892
4c8ff0fe
CY
893 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
894
7f5331cc
MY
8952012-07-18 Masatake YAMATO <yamato@redhat.com>
896
897 * progmodes/sh-script.el (sh-imenu-generic-expression):
898 Capture a function with `function' keyword and without parentheses
899 like "function FOO" (bug#11856).
900
2dc2a609
TH
9012012-07-18 Tassilo Horn <tassilo@member.fsf.org>
902
903 * window.el (split-window-sensibly): Make WINDOW argument
904 optional.
905
439f7677
CY
9062012-07-18 Chong Yidong <cyd@gnu.org>
907
9aeb25a6
CY
908 * subr.el (keyboard-translate): Doc fix (Bug#7261).
909
439f7677
CY
910 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
911 and make C-x 8 RET exit isearch (Bug#11439).
912
913 * international/iso-transl.el: Move isearch-mode-map key
914 definitions to isearch.el.
915
12999ea8
SM
9162012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
917
918 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
919 (eieio-defclass): Use gv-define-setter when possible.
920
3ab6e069
DA
9212012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
922
923 Reflect recent changes in Fgarbage_collect.
924 * emacs-lisp/chart.el (chart-emacs-storage): Change to
925 reflect new format of data returned by Fgarbage_collect.
926
0a60bc10
FEG
9272012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
928
929 New utility functions + python-info-ppss-context fix (Bug#11910).
930 * progmodes/python.el (python-info-beginning-of-block-statement-p)
931 (python-info-ppss-comment-or-string-p): New functions.
932 (python-info-ppss-context): Small fix for string check.
933
6dafa0d5
JL
9342012-07-17 Juri Linkov <juri@jurta.org>
935
936 * dired-aux.el (dired-do-async-shell-command): Doc fix.
937 (dired-do-async-shell-command): Don't add `*' at the end of the
938 command (Bug#11815).
939 (dired-do-shell-command): Doc fix.
940 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
941 Join the individual commands using either "&" or ";" as the
942 separator depending on the values of these trailing characters.
943 At the end re-add the trailing "&". (Bug#10598)
944
945 * simple.el (async-shell-command): Sync the interactive spec with
946 `shell-command'. Doc fix.
947 (shell-command): Doc fix.
948
b19dd9d1
JL
9492012-07-17 Juri Linkov <juri@jurta.org>
950
951 * descr-text.el (describe-char): Fix format args. (Bug#10129)
952
bcdc27d7 9532012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 954
bcdc27d7 955 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
956 * progmodes/python.el (python-nav-beginning-of-statement):
957 Rename from python-nav-statement-start.
bcdc27d7
FEG
958 (python-nav-end-of-statement): Rename from
959 python-nav-statement-end.
960 (python-nav-beginning-of-block): Rename from
961 python-nav-block-start.
962 (python-nav-end-of-block): Rename from python-nav-block-end.
963
191da00e
FEG
9642012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
965
7f5331cc
MY
966 * progmodes/python.el (python-shell-send-string-no-output):
967 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
968 future interactions (Bug#11868).
969
4dc7c8d5 9702012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 971
88ecaf8f
SM
972 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
973
ef501ef0
SM
974 * emacs-lisp/elint.el (elint-find-args-in-code):
975 Use help-function-arglist, so as to handle lexical byte-code.
976
aa7aaf8f
SM
977 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
978 change (bug#11826).
979
45fd731c
SM
9802012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
981
2143fa32
SM
982 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
983 Avoid spuriously marking the buffer as modified because of c-is-sws.
984
efc26dbe
SM
985 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
986 as not-a-comment (bug#11946).
987
f5695c9a
SM
988 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
989 for uninterned vars.
990
991 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
992 Use read-event since we don't really want to read chars but bytes.
993
45fd731c
SM
994 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
995 $$..$$ but also $..$ using regexps (bug#11953).
996 Use tex-verbatim for \url and \path.
997 (tex-font-lock-keywords): Define as defconst like the others.
998 (tex-common-initialization): Don't use font-lock-syntax-table any more.
999
ddfc8813
RK
10002012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1001
1002 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1003 alias for insert-char.
1004
758e556a
FEG
10052012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1006
1007 * progmodes/python.el: Simplified imenu implementation.
1008 (python-nav-jump-to-defun): Remove command.
1009 (python-mode-map): Use `imenu' instead.
1010 (python-nav-list-defun-positions-cache)
1011 (python-imenu-include-defun-type, python-imenu-make-tree)
1012 (python-imenu-subtree-root-label, python-imenu-index-alist):
1013 Remove vars.
1014 (python-nav-list-defun-positions, python-nav-read-defun)
1015 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1016 (python-imenu-make-tree, python-imenu-create-index):
1017 Remove functions.
758e556a
FEG
1018 (python-mode): Update to interact with imenu by setting
1019 `imenu-extract-index-name-function' only.
1020
032d23ab
FEG
10212012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1022
1023 * progmodes/python.el: Enhancements to navigation commands.
1024 (python-nav-backward-sentence)
1025 (python-nav-forward-sentence): Remove.
1026 (python-nav-backward-statement, python-nav-forward-statement)
1027 (python-nav-statement-start, python-nav-statement-end)
1028 (python-nav-backward-block, python-nav-forward-block)
1029 (python-nav-block-start, python-nav-block-end)
1030 (python-nav-forward-sexp-function)
1031 (python-info-current-line-comment-p)
1032 (python-info-current-line-empty-p): New functions.
1033 (python-indent-context): Use `python-nav-statement-start'.
1034
01795a1b
MA
10352012-07-16 Michael Albinus <michael.albinus@gmx.de>
1036
9328d9aa
MA
1037 * eshell/em-ls.el (eshell/ls): Use `apply'.
1038
1039 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1040 multi-hops, instead of Tramp internals.
1041
01795a1b
MA
1042 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1043
1044 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1045 when F1 and F2 are located on different hosts.
1046
63408057
CY
10472012-07-14 Chong Yidong <cyd@gnu.org>
1048
1049 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1050 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1051 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1052 (xterm-mouse--read-event-sequence-1000)
1053 (xterm-mouse--read-event-sequence-1006): New functions. For old
1054 mouse protocol, handle M-mouse-X events correctly.
1055 (xterm-mouse-event): New arg specifying mouse protocol.
1056 (turn-on-xterm-mouse-tracking-on-terminal)
1057 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1058 sequence to toggle extended coordinates on newer XTerms.
1059 This appears to be harmless on terminals which do not support this.
63408057 1060
cd276f6e
LL
10612012-07-14 Leo Liu <sdl.web@gmail.com>
1062
28ca98ac
LL
1063 Add fringe bitmap indicators for flymake. (Bug#11253)
1064 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1065 (flymake-make-overlay): New arg BITMAP.
1066 (flymake-error-bitmap, flymake-warning-bitmap)
1067 (flymake-fringe-indicator-position): New user variables.
1068
cd276f6e
LL
1069 * fringe.el: New bitmap exclamation-mark.
1070
04408072
JD
10712012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1072
1073 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1074 also (Bug#7879).
1075
b5cf7fc4
CY
10762012-07-14 Chong Yidong <cyd@gnu.org>
1077
1078 * electric.el (electric-pair-post-self-insert-function): Fix pair
1079 insertion in empty-region case (Bug#11520).
1080
be755c79
RT
10812012-07-14 Chong Yidong <cyd@gnu.org>
1082
45fd731c
SM
1083 * bindings.el: Consolidate ctl-x-r-map bindings.
1084 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1085
1086 * rect.el, register.el: Move bindings to bindings.el.
1087
10882012-07-14 Reuben Thomas <rrt@sc3d.org>
1089
1090 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1091
7f5b3198
AS
10922012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1093
1094 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1095
97662200
JB
10962012-07-13 Juanma Barranquero <lekktu@gmail.com>
1097
80185fed
JB
1098 * bindings.el (top): Use `mapc' instead of `mapcar'.
1099
97662200
JB
1100 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1101
2bb1ae55
MA
11022012-07-13 Michael Albinus <michael.albinus@gmx.de>
1103
1104 * progmodes/sql.el (sql-comint): Suppress the check for program on
1105 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1106 (Bug#11908)
1107
dea31bd3
CY
11082012-07-13 Chong Yidong <cyd@gnu.org>
1109
1110 * bindings.el: Assign a non-nil permanent-local property to
1111 per-buffer variables which lack a default value (Bug#11930).
1112
1113 * help-fns.el (describe-variable): In the "automatically becomes
1114 local" notice, take note of permanent-local variables.
1115
b68b3337
CY
11162012-07-13 Chong Yidong <cyd@gnu.org>
1117
1118 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1119 to allow printing the message when called from Lisp.
1120
1121 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1122 Remove toggle-read-only.
1123
1124 * bs.el (bs-toggle-readonly):
45fd731c
SM
1125 * buff-menu.el (Buffer-menu-toggle-read-only):
1126 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1127
1128 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1129 Remove with-no-warnings around toggle-read-only.
1130 (ffap-read-only, ffap-read-only-other-window)
1131 (ffap-read-only-other-frame): Callers changed.
1132
1133 * help-mode.el: Don't require view package.
1134 (help-mode-finish): Set buffer-read-only instead of calling
1135 toggle-read-only.
1136
1137 * bindings.el (mode-line-toggle-read-only):
1138 * dired.el (dired-toggle-read-only):
1139 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1140 with non-nil second arg.
1141
1142 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1143 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1144 directly.
1145
56bc1586
EZ
11462012-07-12 Eli Zaretskii <eliz@gnu.org>
1147
1148 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1149 not incf.
1150
a464a6c7
SM
11512012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1152
1153 More CL cleanups and reduction of use of cl.el.
1154 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1155 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1156 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1157 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1158 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1159 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1160 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1161 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1162 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1163 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1164 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1165 * eshell/em-cmpl.el, eshell/em-banner.el:
1166 * calendar/parse-time.el: Use cl-lib.
1167 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1168 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1169 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1170 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1171 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1172 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1173 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1174 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1175 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1176 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1177 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1178 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1179 `lambda' rather than with `quote'.
1180 (eshell-do-opt): Adjust accordingly.
1181 (eshell-process-option): Simplify.
1182 * eshell/esh-var.el:
1183 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1184 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1185 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1186 to `pcase--dontcare'.
1187 * emacs-lisp/cl.el (labels): Mark obsolete.
1188 (cl--letf, letf): Move to cl-lib.
1189 (cl--letf*, letf*): Remove.
1190 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1191 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1192 (cl-progv): Rewrite.
1193 (cl--letf, cl-letf): Move from cl.el.
1194 (cl-letf*): New macro.
1195 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1196
7ad4afe1
MA
11972012-07-11 Michael Albinus <michael.albinus@gmx.de>
1198
1199 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1200
9af57756
CY
12012012-07-11 Chong Yidong <cyd@gnu.org>
1202
1203 * vc/log-edit.el (log-edit-vc-backend): New variable.
1204 (log-edit): Doc fix.
1205
1206 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1207 argument of log-edit to set up all local variables.
1208 (vc-start-logentry): New optional arg specifying VC backend.
1209
1210 * vc/vc.el (vc-checkin): Use it.
1211 (vc-deduce-fileset): Handle Log Edit buffers.
1212 (vc-diff): Make first argument optional too.
1213
1214 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1215
8477cc7a
MA
12162012-07-10 Michael Albinus <michael.albinus@gmx.de>
1217
1218 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1219 command, just in case. The function is not needed anymore.
1220 (eshell-external-command): Do not call `eshell-remote-command'.
1221
19faa8e8
SM
12222012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1223
f58e0fd5
SM
1224 Reduce use of (require 'cl).
1225 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1226 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1227 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1228 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1229 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1230 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1231 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1232 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1233 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1234 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1235 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1236 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1237 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1238 (byte-compile-unfold-bcf, byte-compile-check-variable):
1239 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1240 (byte-compile-nilconstp):
1241 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1242 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1243
2519d43a
SM
1244 * emacs-lisp/gv.el (cond): Make it a valid place.
1245 (if): Simplify slightly.
1246
19faa8e8
SM
1247 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1248 (pcase--self-quoting-p): New function.
1249 (pcase--u1): Use it.
1250
c4907a5e
GM
12512012-07-10 Glenn Morris <rgm@gnu.org>
1252
1253 * emacs-lisp/authors.el (authors-fixed-entries):
1254 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1255
c4444d16
PE
12562012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1257
1258 Rename configure.in to configure.ac (Bug#11603).
1259 * emacs-lisp/authors.el (authors-canonical-file-name):
1260 * progmodes/autoconf.el (autoconf-mode):
1261 Prefer configure.ac to configure.in.
1262
d75be97d
CY
12632012-07-08 Chong Yidong <cyd@gnu.org>
1264
01ac65bd
CY
1265 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1266 Implement the mouse-1-click-follows-link handling properly.
1267
1268 * info.el (Info-link-keymap): Use follow-link mechanism for
1269 header-line links (Bug#374).
1270
d75be97d
CY
1271 * simple.el (deactivate-mark): Do not set the primary selection
1272 if another program has acquired it (Bug#11772).
1273
87a92845 12742012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1275
1276 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1277 (woman-decode-region): Replace escaped-escapes without destroying
1278 bold or underline (Bug#11552).
87a92845 1279 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1280
621b9d6c
CY
12812012-07-07 Chong Yidong <cyd@gnu.org>
1282
1283 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1284 (interprogram-cut-function, interprogram-paste-function):
1285 Mention that we typically mean the clipboard.
621b9d6c 1286
133a11fc
GM
12872012-07-06 Glenn Morris <rgm@gnu.org>
1288
0d27a45e
GM
1289 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1290
133a11fc
GM
1291 * files.el (toggle-read-only): Restrict message to interactive use.
1292
07b151f1
MA
12932012-07-06 Michael Albinus <michael.albinus@gmx.de>
1294
1295 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1296
1297 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1298
211b896b
GM
12992012-07-06 Glenn Morris <rgm@gnu.org>
1300
50394322
GM
1301 * Makefile.in (compile-one-process): Rename from "recompile".
1302
211b896b
GM
1303 * Makefile.in (bzr-update): "compile" is the same as "recompile
1304 autoloads", but parallelizable, so use that instead.
1305
4737eec9
DG
13062012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1307
1308 * window.el (quit-window): Always restore window height when
8137e7b3 1309 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1310
226c3633 13112012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1312
1313 * simple.el (kill-whole-line): Doc tweak.
1314
226c3633 13152012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1316
1317 * files.el (file-relative-name): Compare file names
1318 case-insensitively if on MS-Windows or MS-DOS, or if
1319 read-file-name-completion-ignore-case is non-nil. Don't use
1320 case-fold-search for this purpose. (Bug#11827)
1321
4dc7c8d5
SM
13222012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1323
1324 * calendar/cal-dst.el (calendar-current-time-zone):
1325 Return calendar-current-time-zone-cache if non-nil.
1326
13272012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 13282012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1329
19faa8e8
SM
1330 * calendar/cal-dst.el (calendar-current-time-zone):
1331 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1332
60198fc9
GM
13332012-07-06 Glenn Morris <rgm@gnu.org>
1334
1335 * Makefile.in (cvs-update): Remove old alias.
1336
957b3189
MA
13372012-07-05 Michael Albinus <michael.albinus@gmx.de>
1338
1339 Sync with Tramp 2.2.6-pre.
1340
1341 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1342 compatible declaration.
1343
19faa8e8
SM
1344 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1345 Protect `list-load-path-shadows' call.
957b3189
MA
1346
1347 * net/tramp-compat.el (top): Require packages, which aren't
1348 autoloaded anymore for XEmacs. Protect call of
1349 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1350 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1351 it hurts at least for SXEmacs.
1352 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1353 standard-value for `temporary-file-directory'.
1354
1355 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1356 Redirect stderr to /dev/null.
1357 (tramp-sh-handle-write-region): uid and gid can be floats.
1358 Reported by Russell Sim <russell.sim@gmail.com>.
1359 (tramp-sh-handle-vc-registered): Hide errors.
1360 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1361 and `start-file-process'.
1362 (tramp-maybe-open-connection): Check also whether `non-essential'
1363 is bound.
1364
566df3fc
CY
13652012-07-04 Chong Yidong <cyd@gnu.org>
1366
1367 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1368 (xml-parse-tag): Likewise, and avoid changing entity tables.
1369 (xml-syntax-table): Define from scratch, making sure not to give
1370 x2000 and other Unicode spaces whitespace syntax, since those are
1371 not spaces in XML.
1372 (xml-parse-fragment): Delete unused function.
1373 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1374 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1375 (xml-entity-ref, xml-pe-reference-re)
1376 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1377 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1378 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1379 (xml-entity-value-re): Use syntax references in regexps where
1380 possible; no need to define inside a let-binding.
1381 (xml-parse-dtd): Use xml-pe-reference-re.
1382 (xml-entity-or-char-ref-re): New defconst.
1383 (xml-parse-string, xml-substitute-special): Use it.
1384
30eabd7a
SM
13852012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1386
0781098a
SM
1387 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1388 (find-file--read-only): New function.
1389 (find-file-read-only, find-file-read-only-other-window)
1390 (find-file-read-only-other-frame): Use it.
1391 (insert-file-contents-literally): Don't `fset'.
1392 (get-free-disk-space): Use locate-dominating-file.
1393
b5771c0d
SM
1394 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1395 function is already compiled.
1396
30eabd7a
SM
1397 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1398
b4886f6e
MA
13992012-07-03 Michael Albinus <michael.albinus@gmx.de>
1400
1401 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1402 files on the same host.
1403
b9d82339
AS
14042012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1405
1406 * help-fns.el (describe-function-1): Only call
1407 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1408
a76e6535
CY
14092012-07-03 Chong Yidong <cyd@gnu.org>
1410
1411 * xml.el: Protect parser against XML bombs.
1412 (xml-entity-expansion-limit): New variable.
1413 (xml-parse-string, xml-substitute-special): Use it.
1414 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1415
b544fef2
GM
14162012-07-03 Glenn Morris <rgm@gnu.org>
1417
1418 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1419 Allow linking to specific messages in debbugs reports (eg 123#5).
1420
a7aef6f5
CY
14212012-07-02 Chong Yidong <cyd@gnu.org>
1422
1423 * xml.el: Fix entity and character reference expansion, allowing
1424 them to expand into markup as per XML spec.
1425 (xml-default-ns): New variable.
1426 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1427 (xml-parse-region): Make first two arguments optional.
1428 Discard text properties.
1429 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1430 All callers changed.
a7aef6f5
CY
1431 (xml-parse-tag): Call xml-parse-tag-1. For backward
1432 compatibility, this function should not modify buffer contents.
1433 (xml-parse-tag-1): Fix opening-tag regexp.
1434 (xml-parse-string): Rewrite, handling entity and character
1435 references properly.
1436 (xml--entity-replacement-text): Signal an error if a parameter
1437 entity is undefined.
1438
3df31c9f
SM
14392012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1440
2b5208f1
SM
1441 * comint.el (comint-output-filter): Filter out repeated prompts.
1442
3df31c9f
SM
1443 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1444 and file-name-absolute-p.
1445 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1446 internal calls.
1447
e3ac1281
PE
14482012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1449
1450 Spelling fixes.
1451 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1452 Rename from byte-compile--refiy-function. All uses changed.
1453
fbf2e7ad
CY
14542012-07-01 Chong Yidong <cyd@gnu.org>
1455
1456 * xml.el (xml--parse-buffer): New function. Move most of
1457 xml-parse-region here.
1458 (xml-parse-region): Copy region into a temporary buffer, since
1459 parameter entity substitution requires changing buffer contents.
1460 Use xml--parse-buffer.
1461 (xml-parse-file): Use xml--parse-buffer.
1462 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1463 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1464
9bf0aa15
GM
14652012-06-30 Glenn Morris <rgm@gnu.org>
1466
bbce2853
GM
1467 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1468
9bf0aa15
GM
1469 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1470 Remove outdated and unnecessary dbus declarations.
1471
0d23c240
EZ
14722012-06-30 Eli Zaretskii <eliz@gnu.org>
1473
1474 * emacs-lisp/timer.el (timer-until): Subtract results of
1475 float-time, instead of taking float-time of the result of
1476 time-subtract, since float-time signals an error for negative time
1477 arguments.
1478
b3218de1
CY
14792012-06-30 Chong Yidong <cyd@gnu.org>
1480
1481 * xml.el (xml-*-re): Convert defvars into defconsts, and
1482 eval-and-compile them so eval-and-compile works on derivatives.
1483 (xml--entity-replacement-text): Use eval-and-comple.
1484
a40c87a0
MA
14852012-06-30 Michael Albinus <michael.albinus@gmx.de>
1486
1487 * vc/vc-git.el (vc-git-registered): Use cache property
1488 `git-registered'.
1489 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1490 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1491 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1492
ac87de97
DG
14932012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1494
1495 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1496 removed (likely outside Emacs). (Bug#11757)
ac87de97 1497
ac10fe06
SM
14982012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1499
3df31c9f 1500 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1501
7f3fbd5d
CY
15022012-06-30 Chong Yidong <cyd@gnu.org>
1503
1504 * xml.el: Implement XML parameter entities.
1505 (xml-parameter-entity-alist): New variable.
1506 (xml-parse-region, xml-parse-fragment): Preserve previous values
1507 of xml-entity-alist and xml-parameter-entity-alist, so that
1508 repeated calls on different documents do not change them.
1509 (xml-parse-tag): Fix doctype regexp.
1510 (xml--entity-replacement-text): New function.
1511 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1512 properly requires url retrieval which is unimplemented.
1513 (xml-escape-string): Doc fix.
1514
3cfbebba
SM
15152012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1516
1517 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1518
2af3565e
DA
15192012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1520
1521 * fringe.el (fringe-mode): Doc fix.
1522
929df0e7
MA
15232012-06-29 Michael Albinus <michael.albinus@gmx.de>
1524
1525 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1526 is non-nil.
1527 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1528 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1529
c8d3a25c 15302012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1531
c8d3a25c
GM
1532 * calendar/cal-dst.el (calendar-current-time-zone):
1533 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1534
c8d3a25c 15352012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1536
1537 * progmodes/which-func.el (which-func-format):
1538 Add mouse-face. (Bug#11698)
1539
c8d3a25c
GM
15402012-06-29 Leo Liu <sdl.web@gmail.com>
1541
1542 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1543
15442012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1545
1546 * minibuffer.el (minibuffer-confirm-exit-commands):
1547 Add completion-at-point (bug#11725).
1548
15492012-06-29 Glenn Morris <rgm@gnu.org>
1550
1551 * progmodes/f90.el (f90-font-lock-keywords-2):
1552 Add some preprocessor elements. (Bug#10499)
1553
15542012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1555
1556 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1557 Use syntax-propertize (bug#11739).
1558
2badeec4
JB
15592012-06-28 Juanma Barranquero <lekktu@gmail.com>
1560
1561 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1562
ae4969c2
JD
15632012-06-28 Julien Danjou <julien@danjou.info>
1564
1565 * term.el (term-handle-colors-array): Use a set of new faces to
1566 color the terminal. Also uses :inverse-video property.
1567 (term-default-fg-color): Set to nil by default, deprecate in favor
1568 of `term-face'.
1569 (term-default-bg-color): Set to nil by default, deprecate in favor
1570 of `term-face'.
1571 (term-current-face): Use `term-face' by default.
1572 (term-bold-attribute): Variable deleted.
1573
1c9bd870
GM
15742012-06-28 Glenn Morris <rgm@gnu.org>
1575
1576 * simple.el (completion-list-mode-finish):
1577 Don't use toggle-read-only. (Since completion-list-mode has
1578 a special mode-class, it wasn't doing anything extra anyway.)
1579
c207708c
SM
15802012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1581
1582 Make inlining of other-mode interpreted functions work (bug#11799).
1583 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1584 (byte-compile): Use it to fix compilation of lexical-binding closures.
1585 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1586 function, if needed.
1587
3fd56834
SM
15882012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1589
04901786
SM
1590 * help-mode.el (help-make-xrefs): Don't just withstand
1591 cyclic-variable-indirection but any error in documentation-property.
1592
1ec4b7b2
SM
1593 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1594 memory use.
1595 * bindings.el (bindings--define-key): New function.
1596 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1597 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1598 * bindings.el: Use it to purecopy define-key bindings.
1599
e309e2a5
SM
1600 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1601
d5c6faf9
SM
1602 * emacs-lisp/cl.el (flet): Mark obsolete.
1603 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1604 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1605 * progmodes/js.el (js-c-fill-paragraph):
1606 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1607 (ebrowse-switch-member-buffer-to-derived-class):
1608 * play/5x5.el (5x5-solver): Use cl-flet.
1609
6e9590e2
SM
1610 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1611 (cl--symbol-function): New macro.
1612 (cl--letf, cl--letf*): Use it.
1613
3fd56834
SM
1614 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1615 Strip "toggle-" if any.
1616
35ff222c
GM
16172012-06-27 Glenn Morris <rgm@gnu.org>
1618
1ba6038a
GM
1619 * info.el (Info-default-directory-list): Move here from paths.el.
1620 * paths.el: Remove file, which is now empty.
1621 * loadup.el: No longer load "paths".
1622
0ea0e51b
GM
1623 * custom.el (custom-initialize-delay): Doc fix.
1624
35ff222c
GM
1625 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1626 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1627 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1628 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1629 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1630 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1631 * eshell/eshell.el (eshell-defgroup): Remove alias.
1632
c89926a5
CY
16332012-06-27 Chong Yidong <cyd@gnu.org>
1634
1635 * help.el (help-enable-auto-load): New variable.
1636
1637 * help-fns.el (help-fns--autoloaded-p): New function.
1638 (describe-function-1): Refer to a function as "autoloaded" if it
1639 was autoloaded at any time in the past. Perform autoloading if
1640 help-enable-auto-load is non-nil.
1641
cc06e7e7
EZ
16422012-06-26 Eli Zaretskii <eliz@gnu.org>
1643
1644 * makefile.w32-in (compile, compile-always): Depend on
1645 update-subdirs, not on subdirs.el. Otherwise, several different
1646 sub-targets of 'bootstrap' running in parallel could
1647 simultaneously write to subdirs.el, producing a garbled file.
1648
d2c32364
SS
16492012-06-26 Sam Steingold <sds@gnu.org>
1650
1651 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1652 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1653 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1654 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1655 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1656 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1657 * textmodes/tex-mode.el: Use it.
1658 Did not touch cedet and org because they are maintained elsewhere.
1659
5cf983b2
MR
16602012-06-26 Martin Rudalics <rudalics@gmx.at>
1661
1662 * calendar/calendar.el (calendar-exit): Don't try to delete or
1663 iconify last frame. See:
1664 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1665
8c4f2952
JD
16662012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1667
1668 * server.el (server-process-filter): Remember dir in the
1669 process's `server-client-directory' properties.
1670
772b2e2c
CY
16712012-06-24 Chong Yidong <cyd@gnu.org>
1672
1673 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1674 non-tag text.
1675
711b11e1
JB
16762012-06-23 Juanma Barranquero <lekktu@gmail.com>
1677
1678 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1679
dc5d230c
SM
16802012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1681
1682 * help-fns.el (describe-variable): Don't croak when doc is not found.
1683 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1684 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1685 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1686 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1687 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1688 ((lambda ..) ..).
1689 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1690
136e1c1d
CY
16912012-06-23 Chong Yidong <cyd@gnu.org>
1692
e8c1cabf
CY
1693 * info.el (Info-mouse-follow-link): Accept symbol values of
1694 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1695 (Info-fontify-node): Use Info-link-keymap for all navigation
1696 buttons, with link-args property to perform the desired action.
1697 (Info-link-keymap): Doc fix.
1698 (Info-next-link-keymap, Info-prev-link-keymap)
1699 (Info-up-link-keymap): Delete now-unused keymaps.
1700
0e9e6c6a
CY
17012012-06-23 Chong Yidong <cyd@gnu.org>
1702
05e89fea
CY
1703 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1704
0e9e6c6a
CY
1705 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1706 system abbrevs.
1707
1708 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1709
e33c6771
SM
17102012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1711
b68581e2
SM
1712 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1713 (bug#11719).
1714
e33c6771
SM
1715 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1716 the requote function doesn't work properly (bug#11714).
1717
7117e105
GM
17182012-06-23 Glenn Morris <rgm@gnu.org>
1719
1720 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1721
36cec983
SM
17222012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1723
1724 Further GV/CL cleanups.
1725 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1726 gv-expander.
1727 (gv--defun-declaration): New function.
1728 (defun-declarations-alist): Use it.
1729 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1730 (gv-place): Autoload.
1731 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1732 original definition of dotimes and dolist.
1733 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1734 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1735 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1736 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1737 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1738 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1739 to the function's definition.
1740 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1741 * window.el:
1742 * files.el:
1743 * faces.el:
1744 * env.el: Don't use CL.
1745
d35af63c
PE
17462012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1747
1748 Support higher-resolution time stamps (Bug#9000).
1749
1750 * calendar/time-date.el (with-decoded-time-value): New arg
1751 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1752 (encode-time-value): New optional arg PICO. New type 3.
1753 (time-to-seconds) [!float-time]: Support the new picoseconds
1754 component if it's used.
1755 (seconds-to-time, time-subtract, time-add):
1756 Support ps-resolution time stamps as well.
1757
1758 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1759 (timerp): Timer vectors now have length 9, not 8.
1760 (timer--time): Support new-style (4-part) time stamps.
1761 (timer-next-integral-multiple-of-time): Time stamps now have
1762 picosecond resolution, so take a bit more care about rounding.
1763 (timer-relative-time, timer-inc-time): New optional arg psecs.
1764 (timer-set-time-with-usecs): Set psecs to 0.
1765 (timer--activate): Check psecs component, too.
1766
1767 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1768
ac77b21a
SM
17692012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1770
f143bfe3
SM
1771 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1772 Move the non-essential binding to the post/pre-command-hook where it is
1773 more obviously correct.
1774
ac77b21a
SM
1775 * subr.el (read-passwd): Don't use a history at all.
1776 * savehist.el (savehist-save): Remove password saved accidentally
1777 because of the above bug.
1778
76386c5a
BG
17792012-06-22 Bastien Guerry <bzg@gnu.org>
1780
1781 * files.el (toggle-read-only): Display a message telling whether
1782 the buffer is read-only or not (bug#11726).
1783
2ee3d7f0
SM
17842012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1785
1786 * emacs-lisp/gv.el: New file.
1787 * subr.el (push, pop): Extend to generalized variables.
1788 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1789 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1790 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1791 gv-define-simple-setter, and gv-define-expander.
1792 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1793 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1794 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1795 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1796 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1797 gv-letplace.
1798 (cl-defstruct): Don't define setf-method any more.
1799 * emacs-lisp/cl.el (flet): Don't autoload.
1800 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1801 (define-setf-expander, defsetf, define-modify-macro)
1802 (cl-struct-setf-expander): Move from cl-lib.el.
1803 * emacs-lisp/syntax.el:
1804 * emacs-lisp/ewoc.el:
1805 * emacs-lisp/smie.el:
1806 * emacs-lisp/cconv.el:
1807 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1808 (timer--time): Use gv-define-simple-setter.
1809 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1810 to avoid coding-system problems in subr.el. Adjust all users.
1811 (macroexp--maxsize, macroexp-small-p): New functions.
1812 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1813 * scroll-bar.el (scroll-bar-mode):
1814 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1815 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1816 * winner.el (winner-configuration, winner-make-point-alist)
1817 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1818 * files.el (locate-file-completion-table): Avoid list*.
1819
c5695d1d
CY
18202012-06-22 Chong Yidong <cyd@gnu.org>
1821
1822 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1823 (dired-create-files): Doc fix (Bug#11329).
1824 (dired-do-copy): Doc fix (Bug#11334).
1825 (dired-mark-read-string): Doc fix (Bug#11553).
1826
2ee3d7f0
SM
1827 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1828 Doc fix (Bug#11326).
c5695d1d
CY
1829 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1830 (dired-dwim-target): Doc fix.
1831
1832 * wdired.el (wdired-mode): Doc fix.
1833
89b5595a
GM
18342012-06-22 Glenn Morris <rgm@gnu.org>
1835
575db3f1
GM
1836 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1837 (pcmpl-rpm-cache-stamp-file): New constant.
1838 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1839 (pcmpl-rpm-packages): Optionally cache list of packages.
1840
a4c8dd51
GM
1841 * pcmpl-rpm.el (pcmpl-rpm): New group.
1842 (pcmpl-rpm-query-options): New option.
1843 (pcmpl-rpm-packages): No need to inline it.
1844 Use pcmpl-rpm-query-options.
1845
89b5595a
GM
1846 * calendar/calendar.el (calendar-in-read-only-buffer):
1847 Avoid some needless mode changes.
1848
e76f0800
CY
18492012-06-21 Chong Yidong <cyd@gnu.org>
1850
1851 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1852 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1853 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1854
297a8f1d
CY
18552012-06-20 Chong Yidong <cyd@gnu.org>
1856
1857 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1858
d34c18b1
DR
18592012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1860
1861 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1862 (bug#11201).
1863
32f7f28e
CY
18642012-06-20 Chong Yidong <cyd@gnu.org>
1865
1866 * term.el (term-window-width): Handle the case of a missing right
1867 fringe (Bug#8837).
1868 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1869 (term-mode): Use define-derived-mode. Minor cleanups.
1870 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1871 (term-move-columns, term-insert-char, term-emulate-terminal)
1872 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1873
493c6688
MA
18742012-06-20 Michael Albinus <michael.albinus@gmx.de>
1875
d34c18b1
DR
1876 * net/ange-ftp.el (ange-ftp-get-passwd):
1877 Bind `enable-recursive-minibuffers'.
493c6688
MA
1878 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1879
3f06ecf4
DR
18802012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1881
1882 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1883
68f12411
GM
18842012-06-19 Glenn Morris <rgm@gnu.org>
1885
1886 * progmodes/python.el (python-mode): Derive from prog-mode.
1887
b3820318
KG
18882012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1889
1890 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1891 (edt-user-menu-bar-update-buffers): New functions.
1892 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1893
c6bf3022
CY
18942012-06-19 Chong Yidong <cyd@gnu.org>
1895
1896 * subr.el (with-selected-window): Preserve the selected window's
1897 terminal's top-frame (Bug#4702).
1898
1899 * window.el (save-selected-window): Likewise.
1900
25f09295
SM
19012012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1902
1903 * progmodes/python.el (python-rx-constituents): Move backquote.
1904 (python-skeleton-define, python-define-auxiliary-skeleton):
1905 Use `declare'.
1906
6b11952a
MA
19072012-06-18 Michael Albinus <michael.albinus@gmx.de>
1908
1909 * minibuffer.el (read-file-name-default): Revert the patch from
1910 2012-06-17.
1911
ee4b1330
SM
19122012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1913
1914 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1915 (pcase--u1, pcase--q1): Don't use apply-partially.
1916
35647f79
GM
19172012-06-18 Glenn Morris <rgm@gnu.org>
1918
1919 * progmodes/python.el (python-proc, python-buffer)
1920 (python-send-receive, python-send-string): Fix obsolete versions.
1921
24b0cff0
MR
19222012-06-18 Martin Rudalics <rudalics@gmx.at>
1923
1924 * window.el (special-display-p): Completely remove stringp
1925 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1926
29855149
MA
19272012-06-17 Michael Albinus <michael.albinus@gmx.de>
1928
1929 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1930
1931 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1932
1933 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1934 * net/tramp-sh.el (tramp-maybe-open-connection):
1935 Throw if `non-essential' is non-nil.
1936
07463363
MR
19372012-06-17 Martin Rudalics <rudalics@gmx.at>
1938
1939 * window.el (special-display-p): Signal an error if BUFFER-NAME
1940 is not a string (Bug#11713).
1941
48d1354e
PE
19422012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1943
1944 * progmodes/python.el (python-info-beginning-of-backslash):
1945 Rename from python-info-beginning-of-backlash, as a spelling fix.
1946
eb4a8a9a
CY
19472012-06-17 Chong Yidong <cyd@gnu.org>
1948
1949 * term.el (term-emulate-terminal): If term-check-size is called,
1950 move point to the process mark without resetting point (Bug#4635).
1951
ddfbf826 19522012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1953
1954 * international/mule-cmds.el (mule-menu-keymap)
1955 (set-language-environment, set-locale-environment): Doc tweaks.
1956
9b0e3eba
AA
19572012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1958
1959 * cus-face.el (custom-face-attributes): Add wave-style underline
1960 attribute.
1961 * faces.el (set-face-attribute): Update docstring to describe
1962 wave-style underline attribute.
1963
771e3eae
CY
19642012-06-16 Chong Yidong <cyd@gnu.org>
1965
1966 * term/xterm.el (terminal-init-xterm): Discard input before
1967 querying background mode (Bug#10959).
1968
7ae2ea10
SM
19692012-06-16 Stefan Merten <smerten@oekonux.de>
1970
1971 * textmodes/rst.el: Added and corrected some comments.
1972 (rst-re-alist-def): Improve symbol syntax.
1973 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1974 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1975 (rst-official-version, rst-official-cvs-rev): Update version
1976 information.
7ae2ea10 1977
b6974efa
JB
19782012-06-15 Juanma Barranquero <lekktu@gmail.com>
1979
1980 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1981 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1982
8826d473
GM
19832012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1984
1985 * progmodes/python.el: New python.el merge.
1986 (python-guess-indent): Obsolete var.
1987 (python-indent-guess-indent-offset): New defcustom.
1988 (python-indent): Obsolete var.
1989 (python-indent-offset): New defcustom.
1990 (python-python-command, python-jython-command): Delete var.
1991 (python-shell-interpreter): New defcustom.
1992 (python-pdbtrack-do-tracking-p): Delete var.
1993 (python-pdbtrack-activate): New defcustom.
1994 (python-use-skeletons): Obsolete var.
1995 (python-skeleton-autoinsert): New defcustom.
1996 (inferior-python-filter-regexp, python-continuation-offset)
1997 (python-honour-comment-indentation, python-indent-string-contents)
1998 (python-jython-packages, python-mode-hook)
1999 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2000 (python-shell-prompt-alist)
2001 (python-source-modes): Delete defcustoms.
2002 (python-check-buffer-name, python-eldoc-setup-code)
2003 (python-eldoc-string-code, python-ffap-setup-code)
2004 (python-ffap-string-code, python-fill-comment-function)
2005 (python-fill-decorator-function, python-fill-paren-function)
2006 (python-fill-string-function, python-imenu-include-defun-type)
2007 (python-imenu-make-tree, python-imenu-subtree-root-label)
2008 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2009 (python-shell-compilation-regexp-alist)
2010 (python-shell-completion-module-string-code)
2011 (python-shell-completion-pdb-string-code)
2012 (python-shell-completion-setup-code)
2013 (python-shell-completion-string-code)
2014 (python-shell-enable-font-lock, python-shell-exec-path)
2015 (python-shell-extra-pythonpaths)
2016 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2017 (python-shell-process-environment)
2018 (python-shell-prompt-block-regexp)
2019 (python-shell-prompt-output-regexp)
2020 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2021 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2022 (python-shell-virtualenv-path): New defcustoms.
2023 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2024 (inferior-python-mode-syntax-table, python--prompt-regexp)
2025 (python-buffer, python-command python-python-command)
2026 (python-default-template, python-imports, python-indent-index)
2027 (python-indent-list, python-indent-list-length)
2028 (python-mode-running, python-pdbtrack-is-tracking-p)
2029 (python-preoutput-continuation, python-preoutput-leftover)
2030 (python-preoutput-result, python-preoutput-skip-next-prompt)
2031 (python-prev-dir/file, python-recursing)
2032 (python-saved-check-command, python-version-checked)
2033 (python-which-func-length-limit)
2034 (view-return-to-alist): Delete vars.
2035 (python-check-custom-command, python-dotty-syntax-table)
2036 (python-imenu-index-alist, python-indent-current-level)
2037 (python-indent-dedenters, python-indent-levels)
2038 (python-nav-beginning-of-defun-regexp)
2039 (python-nav-list-defun-positions-cache)
2040 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2041 (python-shell-internal-buffer)
2042 (python-skeleton-available): New vars.
2043 (def-python-skeleton): Delete macro.
2044 (python-skeleton-define): New macro.
2045 (python-define-auxiliary-skeleton, python-rx): New macros.
2046 (python-insert-class): Delete command.
2047 (python-skeleton-class): New command.
2048 (python-insert-def): Delete command.
2049 (python-skeleton-def): New command.
2050 (python-insert-for): Delete command.
2051 (python-skeleton-for): New command.
2052 (python-insert-if): Delete command.
2053 (python-skeleton-if): New command.
2054 (python-insert-try/except, python-insert-try/finally): Delete commands.
2055 (python-skeleton-try): New command.
2056 (python-insert-while): Delete command.
2057 (python-skeleton-while): New command.
2058 (python-backspace): Delete command.
2059 (python-indent-dedent-line-backspace): New command.
2060 (python-electric-colon): Delete command.
2061 (python-indent-electric-colon): New command.
2062 (python-guess-indent): Delete command.
2063 (python-indent-guess-indent-offset): New command.
2064 (python-shift-left): Delete command.
2065 (python-indent-shift-left): New command.
2066 (python-shift-right): Delete command.
2067 (python-indent-shift-right): New command.
2068 (python-find-function): Delete command.
2069 (python-nav-jump-to-defun): New command.
2070 (python-next-statement): Delete command.
2071 (python-nav-forward-sentence): New command.
2072 (python-previous-statement): Delete command.
2073 (python-nav-backward-sentence): New command.
2074 (python-fill-paragraph): Delete command.
2075 (python-fill-paragraph-function): New command.
2076 (python-send-buffer): Delete command.
2077 (python-shell-send-buffer): New command.
2078 (python-send-defun): Delete command.
2079 (python-shell-send-defun): New command.
2080 (python-send-region, python-send-region-and-go): Delete commands.
2081 (python-shell-send-region)
2082 (python-shell-switch-to-shell): New commands.
2083 (python-send-string): Delete command.
2084 (python-shell-send-string): New command.
2085 (python-switch-to-python): Delete command.
2086 (python-shell-switch-to-shell): New command.
2087 (python-describe-symbol): Delete command.
2088 (python-eldoc-at-point): New command.
2089 (python--set-prompt-regexp, python-args-to-list)
2090 (python-after-info-look, python-check-version)
2091 (python-check-comint-prompt, python-find-imports)
2092 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2093 (python-unload-function, python-expand-template)
2094 (python-maybe-jython, python-preoutput-filter)
2095 (python-pdbtrack-get-source-buffer)
2096 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2097 (python-pdbtrack-toggle-stack-tracking)
2098 (python-pdbtrack-track-stack-file, python-initial-text)
2099 (python-first-word, python-comment-line-p, python-send-command)
2100 (python-setup-brm, python-sentinel, python-set-proc)
2101 (python-skip-out, python-input-filter, python-outdent-p)
2102 (python-outline-level, python-backslash-continuation-line-p)
2103 (python-end-of-block, python-end-of-statement, python-mark-block)
2104 (python-beginning-of-block, python-beginning-of-statement)
2105 (python-blank-line-p, python-beginning-of-string)
2106 (python-open-block-statement-p): Delete functions.
2107 (python-indent-line, python-indent-line-1): Delete functions.
2108 (python-indent-line): New function.
2109 (python-indentation-levels): Delete function.
2110 (python-indent-calculate-levels): New function.
2111 (python-proc): Delete function.
2112 (python-shell-get-process): New function.
2113 (python-send-receive): Delete function.
2114 (python-shell-send-string-no-output): New function.
2115 (python-module-path): Delete function.
2116 (python-ffap-module-path): New function.
2117 (python-completion-at-point)
2118 (python-symbol-completions): Delete functions.
2119 (python-completion-complete-at-point): New function.
2120 (python-load-file): Delete function.
2121 (python-shell-send-file): New function.
2122 (python-calculate-indentation): Delete function.
2123 (python-indent-calculate-indentation): New function.
2124 (python-skip-comments/blanks): Delete function.
2125 (python-util-forward-comment): New function.
2126 (python-continuation-line-p): Delete function.
2127 (python-info-continuation-line-p): New function.
2128 (python-which-func, python-current-defun): Delete function.
2129 (python-info-current-defun): New function.
2130 (python-beginning-of-defun): Delete function.
2131 (python-nav-beginning-of-defun): New function.
2132 (python-close-block-statement-p)
2133 (python-block-end-p): Delete function.
2134 (python-info-closing-block): New function.
2135 (python-comint-output-filter-function)
2136 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2137 (python-fill-comment, python-fill-decorator, python-fill-paren)
2138 (python-fill-string, python-imenu-make-element-tree)
2139 (python-imenu-make-tree, python-imenu-tree-assoc)
2140 (python-indent-context, python-indent-dedent-line)
2141 (python-indent-line-function)
2142 (python-indent-post-self-insert-function)
2143 (python-indent-toggle-levels)
2144 (python-info-assignment-continuation-line-p)
2145 (python-info-beginning-of-backlash)
2146 (python-info-block-continuation-line-p)
2147 (python-info-closing-block-message)
2148 (python-info-line-ends-backslash-p)
2149 (python-info-looking-at-beginning-of-defun)
2150 (python-info-ppss-context, python-info-ppss-context-type)
2151 (python-nav-list-defun-positions, python-nav-read-defun)
2152 (python-nav-sentence-end, python-nav-sentence-start)
2153 (python-pdbtrack-comint-output-filter-function)
2154 (python-pdbtrack-set-tracked-buffer)
2155 (python-shell-calculate-exec-path)
2156 (python-shell-calculate-process-environment)
2157 (python-shell-completion--do-completion-at-point)
2158 (python-shell-completion--get-completions)
2159 (python-shell-completion-complete-at-point)
2160 (python-shell-completion-complete-or-indent)
2161 (python-shell-get-or-create-process)
2162 (python-shell-get-process-name)
2163 (python-shell-internal-get-or-create-process)
2164 (python-shell-internal-get-process-name)
2165 (python-shell-internal-send-string, python-shell-make-comint)
2166 (python-shell-parse-command, python-shell-send-setup-code)
2167 (python-skeleton-add-menu-items)
2168 (python-util-clone-local-variables, python-util-position)
2169 (run-python-internal, python-indentation-levels)
2170 (python-nav-beginning-of-defun)
2171 (python-completion-complete-at-point): New functions.
2172 (run-python): Change arguments. New API requirements.
2173
4302f5ba
SM
21742012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2175
f38ea36d
SM
2176 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2177 (bug#11649).
2178
2179 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2180 (macroexp--expand-all): Use it.
2181
4302f5ba
SM
2182 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2183 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2184 Use `cl-function' instead.
2185
33377562
JB
21862012-06-14 Juanma Barranquero <lekktu@gmail.com>
2187
2188 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2189 Suggested by Stefan Monnier while discussing bug#11657.
2190
54c5ba1a
SS
21912012-06-14 Sam Steingold <sds@gnu.org>
2192
2193 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2194
f9f1b1fe
AS
21952012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2196
2197 * play/doctor.el (doctor-doc): Remove parameter and use
2198 doctor-sent instead of sent.
2199 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2200
a81068ba
SM
22012012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2202
5a315f9c
SM
2203 * files.el: Require cl-lib.
2204 (file-name-non-special): Replace case -> cl-case.
2205
2206 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2207
a81068ba
SM
2208 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2209 mapping from #' to function*.
2210
8cca9703
CY
22112012-06-13 Chong Yidong <cyd@gnu.org>
2212
2213 * mouse.el (mouse-drag-track): Do not set the mark if the user
2214 releases the mouse without selecting anything (Bug#11588).
2215
a12ac9d7
SM
22162012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2217
ccf1dc18
SM
2218 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2219 as well (bug#11646).
2220
ef62b23d
SM
2221 * loadup.el: Count byte-code functions as well.
2222
c4c8444a
SM
2223 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2224 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2225
a12ac9d7
SM
2226 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2227 (bug#11649). Add cl-defun and cl-defmacro.
2228
87e6e64f
DA
22292012-06-13 Drew Adams <drew.adams@oracle.com>
2230
2231 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2232 Fix last change.
2233
682cefaf
MA
22342012-06-13 Michael Albinus <michael.albinus@gmx.de>
2235
2236 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2237 Otherwise, it blocks in batch mode.
2238
773e1f08
JB
22392012-06-13 Juanma Barranquero <lekktu@gmail.com>
2240
2241 * help-mode.el (bookmark-make-record-default): Declare.
2242
60057926
CY
22432012-06-13 Chong Yidong <cyd@gnu.org>
2244
2245 * emacs-lisp/package.el (list-packages): Compute a list of
2246 packages that are newly-available since the last list-packages
2247 invocation.
2248 (package-menu--new-package-list): New var.
2249 (package-menu--generate, package-menu--print-info)
2250 (package-menu--status-predicate, package-menu-mark-install):
2251 Handle new status label "new".
2252
ad4d226c
SM
22532012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2254
2255 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2256 conversion to backquotes.
2257
f1a4e679
CY
22582012-06-12 Chong Yidong <cyd@gnu.org>
2259
2260 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2261 Rename from gud-inhibit-global-bindings.
2262
2263 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2264
2265 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2266 hook from nxml-glyph-set-hook.
2267
2268 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2269 declaration.
2270
2271 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2272
2273 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2274 Convert to defcustom.
2275
0c9e42b5
DA
22762012-06-12 Drew Adams <drew.adams@oracle.com>
2277
2278 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2279 New functions.
2280 (help-mode): Use them.
2281
09e06855
GM
22822012-06-11 Glenn Morris <rgm@gnu.org>
2283
2284 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2285 Use preprocessor face for directives.
2286 (fortran-directive-re): Doc fix.
2287
71adb94b
SM
22882012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2289
2eb87922
SM
2290 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2291 conversion to backquotes (bug#11652).
2292
71adb94b
SM
2293 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2294 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2295 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2296 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2297 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2298 (cl-ninth, cl-tenth): Mark them as inlinable.
2299 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2300 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2301 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2302 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2303 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2304 (cl-list*, cl-adjoin): Don't put an autoload manually.
2305 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2306 (cl--compiler-macro-list*): Add autoload cookie.
2307 (cl--compiler-macro-cXXr): New function.
2eb87922 2308
71adb94b
SM
2309 * help-fns.el (help-fns--compiler-macro): New function extracted from
2310 describe-function-1; follow aliases and use `compiler-macro' property.
2311 (describe-function-1): Use it.
2312
a6674402
CY
23132012-06-11 Chong Yidong <cyd@gnu.org>
2314
2315 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2316 is uninstalled, if imagemagick is installed.
2317
bb3faf5b
SM
23182012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2319
2320 * emacs-lisp/cl-lib.el: Use lexical-binding.
2321 (cl-map-extents, cl-maclisp-member): Remove.
2322 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2323 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2324 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2325 * emacs-lisp/cl-extra.el: Use lexical-binding.
2326 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2327 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2328 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2329 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2330 * emacs-lisp/cl-seq.el: Use lexical-binding.
2331 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2332 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2333 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2334 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2335 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2336 CL's internals.
2337
2fe4b125
MA
23382012-06-11 Michael Albinus <michael.albinus@gmx.de>
2339
2340 Sync with Tramp 2.2.6-pre.
2341
2342 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2343 `print-length' and `print-level' to nil, in order to avoid
2344 truncation. Reported by Christopher Schmidt
2345 <christopher@ristopher.com>.
2346
2347 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2348
2349 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2350 New defmacro.
2351 (tramp-compat-copy-directory): Add optional argument
2352 COPY-CONTENTS. It is not handled yet.
2353
2354 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2355 (tramp-ftp-file-name-p): Simplify.
2356
2357 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2358 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2359 connection vector.
2360
2361 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2362 (tramp-methods): Do not use `tramp-password-end-of-line'.
2363 (tramp-completion-function-alist-putty): Handle UNIX case.
2364 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2365 (tramp-do-file-attributes-with-stat)
2366 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2367 gid as real numbers. They could run out of integer range on cygwin.
2368 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2369 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2370 (tramp-open-connection-setup-interactive-shell):
2371 Use `tramp-cleanup'. Move check for busyboxes ...
2372 (tramp-find-shell): ... here. Simplify implementation.
2373 Set "remote-shell" property also for alternative shells.
2374 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2375 If failing, a regular file would be written otherwise.
2376 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2377 (tramp-find-inline-encoding): Cache the coding commands in the
2378 process cache. Apply test command on the remote side, if defined.
2379 (tramp-find-inline-compress): Cache the compress commands in the
2380 process cache.
2381 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2382 when requested. Handle hops.
2383 (tramp-current-connection): New defvar.
87e6e64f
DA
2384 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2385 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2386 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2387 (tramp-get-inline-compress, tramp-get-inline-coding):
2388 Read connection properties from the process cache.
2fe4b125
MA
2389
2390 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2391 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2392 New defconsts.
2fe4b125
MA
2393 (tramp-smb-prompt): Extend for powershell prompt.
2394 (tramp-smb-file-name-handler-alist): Add handlers for
2395 `process-file', `shell-command' and `start-file-process'.
2396 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2397 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2398 (tramp-smb-file-name-p): Simplify.
2399 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2400 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2401 (tramp-smb-shell-quote-argument): New defuns.
2402 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2403 Implement using "tar". By this, time-stamps are preserved.
2404 (tramp-smb-handle-copy-file): Handle also the case of directories.
2405 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2406 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2407 Use `tramp-get-connection-buffer').
2fe4b125
MA
2408 (tramp-smb-handle-rename-file): Use "rename", when source and
2409 target are on the same share.
87e6e64f
DA
2410 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2411 Use `tramp-smb-server-version'.
2fe4b125
MA
2412 (tramp-smb-wait-for-output): Remove prompt.
2413
2414 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2415 (tramp-methods, tramp-rsh-end-of-line):
2416 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2417 (tramp-save-ad-hoc-proxies): New defcustom.
2418 (tramp-completion-function-alist): Adapt docstring.
2419 (tramp-default-password-end-of-line): Remove defcustom.
2420 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2421 (tramp-user-regexp, tramp-file-name-regexp-unified)
2422 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2423 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2424 (tramp-remote-file-name-spec-regexp): New defconst.
2425 (tramp-file-name-structure): Extend structure for hops.
2426 (tramp-get-method-parameter): Move up.
2427 (tramp-file-name-p, tramp-dissect-file-name)
2428 (with-parsed-tramp-file-name): Handle hops.
2429 (tramp-file-name-hop): New defun.
2430 (tramp-make-tramp-file-name): New optional arg HOP.
2431 (tramp-message-show-progress-reporter-message): New defvar.
2432 (tramp-with-progress-reporter): Use it. We cannot use
2433 `tramp-message-show-message' here, because this suppresses also
2434 error buffers.
2435 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2436 `tramp-message-show-message' is nil.
2437 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2438 (tramp-cleanup): New defun.
2439 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2440 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2441 an error unchanged.
2442 (tramp-completion-handle-file-name-all-completions): Handle hops.
2443 Fix an error when called from ido.
2444 (tramp-completion-dissect-file-name): Use better local variable
2445 name. Add hop to the vector.
2446 (tramp-handle-insert-file-contents): Use progress-reporter for the
2447 whole scenario.
2448 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2449 to `t'.
2450 (tramp-check-for-regexp): Simplify search.
2451 (tramp-enter-password): Remove it. Move implementation ...
2452 (tramp-action-password): ... here.
2453 (tramp-mode-string-to-int, tramp-local-host-p)
2454 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2455 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2456 Set tramp-autoload cookie.
2fe4b125
MA
2457
2458 * net/trampver.el: Update release number.
2459
24602012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2461 Michael Albinus <michael.albinus@gmx.de>
2462
2463 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2464 (tramp-parse-group, tramp-parse-file)
2465 (tramp-parse-shostkeys-sknownhosts): New defuns.
2466 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2467 (tramp-parse-shosts-group, tramp-parse-sconfig)
2468 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2469 (tramp-parse-sknownhosts, tramp-parse-hosts)
2470 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2471 Use them.
2472 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2473 (tramp-parse-putty-group): Don't narrow.
2474 (tramp-parse-putty): Make a loop.
2475 (tramp-file-name-handler): Catch the `suppress' signal.
2476
72834e10
CY
24772012-06-11 Chong Yidong <cyd@gnu.org>
2478
2479 * image.el (imagemagick-register-types): Put the ImageMagick entry
2480 at the end of image-type-file-name-regexps.
2481
a4712e11
JB
24822012-06-11 Johan Bockgård <bojohan@gnu.org>
2483
2484 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2485 (pcase, pcase-let*, pcase-dolist): Use them.
2486
82ad98e3
SM
24872012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2488
2489 * emacs-lisp/pcase.el (pcase--let*): New function.
2490 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2491 (pcase--expand): Use macroexp-let².
2492
f80efb86
SM
24932012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2494
2495 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2496 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2497 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2498 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2499 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2500 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2501
31ca4639 25022012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2503
31ca4639
CY
2504 * mail/rmail.el (rmail-yank-current-message): Leave point at
2505 correct position. (Bug#11660)
94f0aa34 2506
31ca4639 25072012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2508
31ca4639 2509 * allout-widgets.el: Fix code header.
9e1b8ec4 2510
31ca4639 25112012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2512
f80efb86
SM
2513 * cus-edit.el (customize-changed-options-previous-release):
2514 Bump to 24.1.
31ca4639 2515
642b6d30
AS
25162012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2517
2518 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2519
4f5d2ba1
CY
25202012-06-09 Chong Yidong <cyd@gnu.org>
2521
2522 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2523
e75852fd
MR
25242012-06-09 Martin Rudalics <rudalics@gmx.at>
2525
2526 * window.el (special-display-popup-frame): Don't use
2527 window--display-buffer (Bug#11651).
2528
1e48e282
EZ
25292012-06-09 Eli Zaretskii <eliz@gnu.org>
2530
8a26b487
EZ
2531 Fix parallel builds: make sure loaddefs.el is not being written
2532 while Lisp files are compiled.
2533 (compile): Don't depend on 'mh-autoloads'.
2534 (compile-CMD, compile-SH): Depend on 'autoloads'.
2535 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2536
1e48e282
EZ
2537 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2538
6175e34b
CY
25392012-06-09 Chong Yidong <cyd@gnu.org>
2540
2541 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2542 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2543 Doc fixes (Bug#11225).
2544
d9857e53
SM
25452012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2546
2547 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2548 a function if there's a clear indication that it has a compiler-macro.
2549 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2550 (macro-declarations-alist): Add arglist to declaration functions.
2551 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2552 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2553 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2554 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2555 Also add autoload to find the compiler macro.
2556 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2557 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2558 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2559 (cl--compiler-macro-get): New functions, replacing calls to
2560 cl-define-compiler-macro.
2561 (cl-typep) [compiler-macro]: Use macroexp-let².
2562
f81298f8 25632012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2564
2565 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2566 string properly, fixes Bug#11473.
2567
4b56d0fe
CY
25682012-06-08 Chong Yidong <cyd@gnu.org>
2569
2570 * faces.el (set-face-attribute): Doc fix.
2571 (modify-face): Don't use :bold and :italic.
2572 (error, warning, success): Tweak definitions.
2573
2574 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2575 (custom-modified, custom-set, custom-changed, custom-themed)
2576 (custom-saved, custom-button, custom-button-mouse)
2577 (custom-button-pressed, custom-state, custom-comment-tag)
2578 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2579 (custom-group-subtitle): Use new-style face specs.
2580 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2581 (custom-set-face, custom-changed-face, custom-saved-face)
2582 (custom-button-face, custom-button-pressed-face)
2583 (custom-documentation-face, custom-state-face)
2584 (custom-comment-face, custom-comment-tag-face)
2585 (custom-variable-tag-face, custom-variable-button-face)
2586 (custom-face-tag-face, custom-group-tag-face-1)
2587 (custom-group-tag-face): Remove obsolete face alias.
2588
2589 * epa.el (epa-validity-high, epa-validity-medium)
2590 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2591 (epa-field-name, epa-field-body):
2592 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2593 (font-lock-keyword-face, font-lock-builtin-face)
2594 (font-lock-function-name-face, font-lock-variable-name-face)
2595 (font-lock-type-face, font-lock-constant-face):
2596 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2597 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2598 * speedbar.el (speedbar-button-face, speedbar-file-face)
2599 (speedbar-directory-face, speedbar-tag-face)
2600 (speedbar-selected-face, speedbar-highlight-face)
2601 (speedbar-separator-face):
2602 * whitespace.el (whitespace-newline, whitespace-space)
2603 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2604 (whitespace-line, whitespace-space-before-tab)
2605 (whitespace-space-after-tab, whitespace-indentation)
2606 (whitespace-empty):
2607 * emulation/cua-base.el (cua-global-mark):
2608 * eshell/em-prompt.el (eshell-prompt):
2609 * net/newst-plainview.el (newsticker-new-item-face)
2610 (newsticker-old-item-face, newsticker-immortal-item-face)
2611 (newsticker-obsolete-item-face, newsticker-date-face)
2612 (newsticker-statistics-face, newsticker-default-face):
2613 * net/newst-reader.el (newsticker-feed-face)
2614 (newsticker-extra-face, newsticker-enclosure-face):
2615 * net/newst-treeview.el (newsticker-treeview-face)
2616 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2617 (newsticker-treeview-immortal-face)
2618 (newsticker-treeview-obsolete-face)
2619 (newsticker-treeview-selection-face):
2620 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2621 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2622 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2623 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2624 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2625 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2626 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2627 (mpuz-text):
2628 * progmodes/vera-mode.el (vera-font-lock-number)
2629 (vera-font-lock-function, vera-font-lock-interface):
2630 * textmodes/table.el (table-cell): Use new-style face specs, and
2631 don't use the old :bold and :italic attributes.
2632
2633 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2634 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2635 (ebrowse-member-class, ebrowse-progress): Likewise.
2636 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2637 (ebrowse-file-name-face, ebrowse-default-face)
2638 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2639 (ebrowse-progress-face): Remove obsolete faces.
2640
2641 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2642 Inherit from error and warning faces respectively.
2643
2644 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2645 Likewise.
f80efb86
SM
2646 (flyspell-incorrect-face, flyspell-duplicate-face):
2647 Remove obsolete aliases.
4b56d0fe 2648
03310646
MA
26492012-06-08 Michael Albinus <michael.albinus@gmx.de>
2650
2651 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2652 Avoid infloop.
2653
513749ee
SM
26542012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2655
2656 * startup.el (argv, argi): Make lexically scoped.
2657 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2658 * emacs-lisp/cl-macs.el: Use lexical-binding.
2659 Rename cl-bind-* to cl--bind-*.
2660 * files.el: Don't require `cl' since it doesn't use it.
2661 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2662
595ef4ad
JB
26632012-06-08 Juanma Barranquero <lekktu@gmail.com>
2664
2665 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2666 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2667 instead of calling external sort utility.
2668 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2669
e9f66fcb
EZ
26702012-06-08 Eli Zaretskii <eliz@gnu.org>
2671
2672 * descr-text.el (describe-char): Mention how to insert the
2673 character, if the current input method doesn't support it.
2674 See the discussion in this thread for the details:
2675 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2676
3d10db47
SS
26772012-06-08 Sam Steingold <sds@gnu.org>
2678
2679 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2680 XF86Back to previous-buffer.
2681 (minibuffer-local-map): Bind them to next-history-element and
2682 previous-history-element respectively.
2683 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2684 help-go-back respectively.
2685 * info.el (Info-mode-map): Bind them to Info-history-forward and
2686 Info-history-back respectively.
2687 These are the keys next to Up on the ThinkPad keyboard.
2688
de7e2b36
SM
26892012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2690
2691 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2692 * emacs-lisp/cl-macs.el: Provide itself.
2693 (cl--labels-convert-cache): New var.
2694 (cl--labels-convert): New function.
2695 (cl-flet, cl-labels): New implementation with new semantics, relying on
2696 lexical-binding.
2697 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2698 (cl-closure-vars, cl--function-convert-cache)
2699 (cl--function-convert): Move from cl-macs.el.
2700 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2701 rename by removing the "cl-" prefix.
2702 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2703
6fa6c4ae
SM
27042012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2705
2706 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2707 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2708 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2709 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2710 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2711 (cl-hash-table-count): Add old compatibility aliases.
2712
2713 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2714 Use macroexpand-all-environment instead.
2715 (cl--old-macroexpand): New var.
2716 (cl--sm-macroexpand): New function.
2717 (cl-symbol-macrolet): Use it during macro expansion.
2718 (cl--function-convert-cache): New var.
2719 (cl--function-convert): New function, extracted from
2720 cl-macroexpand-all.
2721 (cl-lexical-let): Use it.
2722
2723 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2724 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2725 (cl-member): Remove old alias.
2726
2727 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2728 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2729 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2730 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2731 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2732 (cl-macroexpand-cmacs): Remove var.
2733 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2734 Use macroexpand-all instead.
2735
4dd1c416
SM
27362012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2739 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2740 (macroexp-copyable-p): New functions and macros.
2741 * emacs-lisp/edebug.el (edebug-unwrap):
2742 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2743 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2744 (pcase--let*): Remove.
2745 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2746 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2747 macroexp-const-p instead.
2748 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2749
2750 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2751 instead of "cl-" for internal definitions. Use macroexp-const-p.
2752 (cl-old-bc-file-form): Remove var.
2753 (cl-const-exprs-p): Remove fun.
2754 (cl-labels, cl-macrolet): Use backquote.
2755 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2756 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2757 (cl-define-setf-expander): Rename from cl-define-setf-method.
2758 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2759
2760 * international/mule-cmds.el: Don't require CL.
2761 (view-hello-file): Don't use `letf'.
2762
ed8bd4d7
SM
27632012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2764
7287f2f3
SM
2765 * tmm.el (tmm-prompt): Use string-prefix-p.
2766 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2767 (tmm-add-prompt): Use minibuffer-completion-help.
2768 (tmm-delete-map): Remove.
2769
ed8bd4d7
SM
2770 * subr.el (kbd): Make it its own function.
2771
7b4cdbf4
SM
27722012-06-07 Stefan Merten <smerten@oekonux.de>
2773
2774 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2775 Silence compiler warnings. Fix versions.
ed8bd4d7 2776 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2777 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2778 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2779 (rst-package-emacs-version-alist): Correct Emacs version to
2780 represent major merge with upstream.
ed8bd4d7 2781 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2782
2b48d721
GM
27832012-06-06 Glenn Morris <rgm@gnu.org>
2784
2785 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2786 Only print environment variables if set.
2787
fa779ab0
SM
27882012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2789
2790 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2791 (macroexp--cons): Rename from maybe-cons.
2792 (macroexp--accumulate): Rename from macroexp-accumulate.
2793 (macroexp--all-forms): Rename from macroexpand-all-forms.
2794 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2795 (macroexp--expand-all): Rename from macroexpand-all-1.
2796
628299e0
SS
27972012-06-06 Sam Steingold <sds@gnu.org>
2798
2799 * calendar/calendar.el (calendar-in-read-only-buffer):
2800 Call `special-mode' to enable the standard read-only keybindings.
2801
b7bb5838
SM
28022012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2803
2804 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2805 with "loading" messages (bug#11635).
2806
dfb308ba
MA
28072012-06-06 Michael Albinus <michael.albinus@gmx.de>
2808
2809 * files.el (enable-remote-dir-locals): New option.
2810 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2811
0372ee92
MA
2812 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2813 Ensure, that the temp directory is local.
2814
2815 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2816 `temporary-file-directory'.
2817
eed0bb91
MA
2818 * progmodes/python.el (python-send-region): Ensure, that the
2819 temporary file is created also in the remote case.
2820
7a58f64d
GM
28212012-06-06 Glenn Morris <rgm@gnu.org>
2822
f7dd4e98
GM
2823 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2824 (vc-rcs-update-changelog): Use it.
2825
090bd7cb 2826 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2827
7a58f64d
GM
2828 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2829 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2830 (vc-sccs-diff): Replace use of the external vcdiff script.
2831
daed4003
GM
28322012-06-05 Glenn Morris <rgm@gnu.org>
2833
2834 * ledit.el: Move to obsolete/.
2835
48c455c7
SS
28362012-06-05 Sam Steingold <sds@gnu.org>
2837
ed9265fc 2838 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2839 patch (Bug#11140).
2840
57a7d507
SM
28412012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2842
090bd7cb 2843 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2844
53aacf21
SM
2845 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2846 compiler-macro expansion.
2847
57a7d507
SM
2848 Add native compiler-macro support.
2849 * emacs-lisp/macroexp.el (macroexpand-all-1):
2850 Support compiler-macros directly. Properly follow aliases and apply
2851 the compiler macros more thoroughly.
2852 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2853 macroexpand now properly follows aliases.
2854 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2855 (cl-compiler-macroexpand): Use new prop.
2856 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2857
2858 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2859
51a5f9d8
MR
28602012-06-05 Martin Rudalics <rudalics@gmx.at>
2861
2862 * window.el (get-lru-window, get-mru-window, get-largest-window):
2863 New argument NOT-SELECTED to avoid picking the selected window.
2864 (window--display-buffer-1, window--display-buffer-2): Replace by
2865 new function window--display-buffer
2866 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2867 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2868 Use window--display-buffer.
51a5f9d8
MR
2869 (display-buffer-use-some-window): Remove temporary dedication
2870 hack by calling get-lru-window and get-largest-window with
2871 NOT-SELECTED argument non-nil. Call window--display-buffer.
2872
08f9f738
GM
28732012-06-05 Glenn Morris <rgm@gnu.org>
2874
2875 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2876 Replace external vcdiff script.
2877
e364a2b7
SM
28782012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2879
2880 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2881
041df390
CY
28822012-06-04 Chong Yidong <cyd@gnu.org>
2883
e364a2b7
SM
2884 * image.el (imagemagick-types-inhibit): Revert last change.
2885 Add INFO and M.
47b36b94 2886 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2887
7c1898a7
SM
28882012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2889
2890 * emacs-lisp/cl-lib.el: Rename from cl.el.
2891 * emacs-lisp/cl.el: New compatibility file.
2892 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2893 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2894 to obey the "cl-" prefix.
2895 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2896
0c3461de
GM
28972012-06-03 Glenn Morris <rgm@gnu.org>
2898
1e266c88
GM
2899 * emacs-lisp/authors.el (authors-aliases): Addition.
2900
0c3461de
GM
2901 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2902 Fix :version.
2903
d8a52e15
SM
29042012-06-03 Stefan Merten <smerten@oekonux.de>
2905
2906 * textmodes/rst.el: Add comments.
2907 (rst-transition, rst-adornment): New faces.
2908 (rst-adornment-faces-alist): Make default safe to reevaluate.
2909 Fixes
2910 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2911 Improve customization tags.
2912 (rst-define-level-faces): Clarify meaning.
2913
5205d6f6
CY
29142012-06-03 Chong Yidong <cyd@gnu.org>
2915
2916 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2917 (compilation-mode-line-run, compilation-mode-line-exit):
2918 New faces.
5205d6f6
CY
2919 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2920
757ee657
JD
29212012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2922
7c1898a7
SM
2923 * progmodes/which-func.el (which-func-update-ediff-windows):
2924 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2925
5f2c76c6
CY
29262012-06-03 Chong Yidong <cyd@gnu.org>
2927
2928 * bindings.el: Remove explicit help text from format-mode-line.
2929 It is now supplied by mode-line-default-help-echo.
2930 (mode-line-front-space, mode-line-end-spaces)
2931 (mode-line-misc-info): New variables.
2932 (mode-line-modes, mode-line-position): Move the default value to
2933 the variable definition.
2934 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2935 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2936 (mode-line-modified-help-echo): New functions.
2937 (mode-line-mule-info, mode-line-modified): Use them.
2938 (mode-line-eol-desc, propertized-buffer-identification):
2939 Consistency fixes for help text.
cbe46e5f
CY
2940 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2941 set-buffer-file-coding-system (Bug#289).
2942 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2943
f2d6a3df
SM
29442012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2945
2946 * simple.el (execute-extended-command): Set real-this-command
2947 (bug#11506).
2948
37269466
CY
29492012-06-02 Chong Yidong <cyd@gnu.org>
2950
2951 Remove incorrect uses of "modeline" in comments, docstrings, and
2952 function/variable names (Bug#10329).
2953
2954 * cus-edit.el (mode-line):
2955 * dframe.el (dframe-mouse-hscroll):
2956 * emacs-lisp/re-builder.el:
2957 * emacs-lisp/easy-mmode.el (define-minor-mode):
2958 * frame.el (set-frame-name):
2959 * help.el (lookup-minor-mode-from-indicator):
2960 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2961 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2962 (c-toggle-hungry-state):
2963 * progmodes/antlr-mode.el (antlr-language-alist):
2964 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2965 * progmodes/vhdl-mode.el (vhdl-mode):
2966 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2967 * term/ns-win.el (ns-face-at-pos):
2968 * term/sup-mouse.el (sup-mouse-report):
2969 * textmodes/flyspell.el (flyspell-mode-line-string):
2970 * textmodes/ispell.el (ispell-highlight-face):
2971 * textmodes/reftex-global.el:
2972 * vc/vc-arch.el (vc-arch-mode-line-string):
2973 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2974 * vc/vc-git.el (vc-git-mode-line-string):
2975 * vc/vc-hooks.el (vc-display-status)
2976 (vc-default-mode-line-string):
2977 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2978
2979 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2980
2981 * dired.el (dired-sort-set-mode-line): Rename from
2982 dired-sort-set-modeline. All callers changed.
2983
2984 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2985 eshell-status-in-modeline.
2986
2987 * foldout.el (foldout-mode-line-string): Rename from
2988 foldout-modeline-string. All callers changed.
2989 (foldout-update-mode-line): Rename from foldout-update-modeline.
2990
2991 * subr.el (redraw-modeline): Make into obsolete alias.
2992
2993 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2994 timeclock-modeline-display. Make old name an alias.
2995 (timeclock-update-mode-line): Likewise. All callers changed.
2996 (timeclock-mode-line-display): No need to check before using
2997 add-hook.
2998 (timeclock-relative, timeclock-day-over-hook)
2999 (timeclock-use-elapsed, timeclock-mode-string)
3000 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3001
3002 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3003 crisp-mode-modeline-string.
3004
3005 * play/solitaire.el (solitaire-build-mode-line): Rename from
3006 solitaire-build-modeline. All callers changed.
3007
3008 * play/zone.el (zone-hiding-mode-line): Rename from
3009 zone-hiding-modeline. All callers changed.
3010 (zone): Remove unusued `modeline-hidden-level' property.
3011
3012 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3013 xscheme-modeline-initialize. All callers changed.
3014
3015 * strokes.el (strokes-lighter): Rename from
3016 strokes-modeline-string.
3017
3018 * textmodes/sgml-mode.el (html-face-tag-alist)
3019 (html-tag-face-alist): Use mode-line face instead of obsolete
3020 alias modeline.
3021
42152ee4
SM
30222012-06-02 Stefan Merten <smerten@oekonux.de>
3023
3024 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3025 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3026
95f520b5
CY
30272012-06-02 Chong Yidong <cyd@gnu.org>
3028
3029 * image.el (imagemagick-enabled-types): Rename from
3030 imagemagick-types-enable. Add many more types.
3031 (imagemagick-types-inhibit): Change default to nil.
3032 (imagemagick-filter-types): Caller changed.
3033
4a5f187a
SM
30342012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3035
03fef3e6
SM
3036 * emacs-lisp/cl-macs.el: Use backquotes.
3037 (cl-transform-function-property): Use eval-and-compile rather than
3038 abusing `require'.
3039 (defstruct): Use declare-function instead of with-no-warnings.
3040
4a5f187a
SM
3041 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3042 (byte-compile-output-docform): Re-add the print-circle bindings.
3043 (byte-compile-fix-header): Use #$ just because it's shorter.
3044 (byte-compile-output-file-form): Remove defun/defmacro.
3045
bd56924f
MR
30462012-06-01 Martin Rudalics <rudalics@gmx.at>
3047
3048 * simple.el (choose-completion): Remove now obsolete binding for
3049 owindow.
3050
046e38ce
MA
30512012-06-01 Michael Albinus <michael.albinus@gmx.de>
3052
3053 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3054 in order to avoid "Stack overflow in regexp matcher".
3055
32d72c2f
GM
30562012-05-31 Glenn Morris <rgm@gnu.org>
3057
3058 * image.el: For clarity, call imagemagick-register-types at
3059 top-level, rather than relying on a custom :initialize.
3060 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3061 (imagemagick-filter-types): New function. (Bug#7406)
3062 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3063 If disabling support, remove elements altogether rather
3064 than using an impossible regexp.
3065 (imagemagick-types-inhibit): Give it the default init function.
3066
dd41169b
SM
30672012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3068
4a5f187a
SM
3069 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3070 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3071
efc00ab1 30722012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3073
3074 * desktop.el (desktop-read): Clear previous and next buffers for
3075 all windows and bury *Messages* buffer (bug#11556).
3076
500fcedc
SM
30772012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3078
3079 Add `declare' for `defun'. Align `defmacro's with it.
3080 * emacs-lisp/easy-mmode.el (define-minor-mode)
3081 (define-globalized-minor-mode): Don't autoload the var definitions.
3082 * emacs-lisp/byte-run.el: Use lexical-binding.
3083 (defun-declarations-alist, macro-declarations-alist): New vars.
3084 (defmacro, defun): Use them.
3085 (make-obsolete, define-obsolete-function-alias)
3086 (make-obsolete-variable, define-obsolete-variable-alias):
3087 Use `declare'.
3088 (macro-declaration-function): Mark obsolete.
3089 * emacs-lisp/autoload.el: Use lexical-binding.
3090 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3091
6e8a1786
AM
30922012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3093
3094 * textmodes/ispell.el (ispell-with-no-warnings):
3095 Define as a macro.
500fcedc
SM
3096 (ispell-kill-ispell, ispell-change-dictionary):
3097 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3098 `interactive-p'.
3099
61b108cc
SM
31002012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3101
3102 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3103 (macro-declaration-function): Move var from C code.
3104 (macro-declaration-function): Define function with defalias.
3105 * emacs-lisp/macroexp.el (macroexpand-all-1):
3106 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3107 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3108 defun/defmacro any more.
3109 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3110 Provide fallback for unknown arglist.
3111 (byte-compile-arglist-warn): Change calling convention.
3112 (byte-compile-output-file-form): Move print-vars binding.
3113 (byte-compile-output-docform): Simplify accordingly.
3114 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3115 (byte-compile-defmacro-declaration): Remove.
3116 (byte-compile-file-form-defmumble): Generalize to defalias.
3117 (byte-compile-output-as-comment): Return byte-positions.
3118 Simplify callers accordingly.
3119 (byte-compile-lambda): Use `assert'.
3120 (byte-compile-defun, byte-compile-defmacro): Remove.
3121 (byte-compile-file-form-defalias):
3122 Use byte-compile-file-form-defmumble.
3123 (byte-compile-defalias-warn): Remove.
3124
6d3f7c2f
SM
31252012-05-29 Stefan Merten <smerten@oekonux.de>
3126
3127 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3128 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3129
3130 (rst-mode-abbrev-table): Merge definition.
3131 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3132 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3133
6dbaa1c7
UJ
31342012-05-29 Ulf Jasper <ulf.jasper@web.de>
3135
3136 * calendar/icalendar.el
3137 (icalendar-export-region): Export UID properly.
3138
d209e2fb 31392012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3140 * calendar/icalendar.el (icalendar-import-format):
3141 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3142 (icalendar-import-format-uid): New.
3143 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3144 Export UID.
3145
6876a58d
SM
31462012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3147
3148 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3149 different alternative patterns.
3150 (pcase-codegen): Be more careful to preserve identity.
3151 (pcase--u1): Don't forget to mark vars as used.
3152
3153 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3154 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3155 (byte-compile-from-buffer): ...rather than here.
3156
3157 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3158 functions from byte-compile-function-environment.
3159
46b7967e
TN
31602012-05-29 Troels Nielsen <bn.troels@gmail.com>
3161
3162 * window.el (window-deletable-p): Avoid deleting the root window
3163 of a frame with an active minibuffer.
3164
69d565e2
MR
31652012-05-29 Martin Rudalics <rudalics@gmx.at>
3166
3167 * simple.el (choose-completion): Use quit-window (Bug#11567).
3168
a149fa51
CY
31692012-05-29 Chong Yidong <cyd@gnu.org>
3170
3171 * whitespace.el (whitespace-cleanup): Fix usage of
3172 whitespace-empty-at-bob-regexp (Bug#11492).
3173
2b311310
AH
31742012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3175
3176 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3177 revert (Bug#11488).
3178
b9cb2387
JL
31792012-05-29 Juri Linkov <juri@jurta.org>
3180
3181 * isearch.el (isearch-mode-map): Bind `M-s _' to
3182 `isearch-toggle-symbol'. Bind `M-s c' to
3183 `isearch-toggle-case-fold'.
3184 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3185 (isearch-forward): Add `M-s _' to the docstring.
3186 (isearch-forward-symbol, isearch-toggle-case-fold)
3187 (isearch-symbol-regexp): New functions. (Bug#11381)
3188
d5e61c1c
JL
31892012-05-29 Juri Linkov <juri@jurta.org>
3190
3191 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3192 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3193 a function, call it to get the regexp.
3194 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3195 property `isearch-message-prefix' instead of the string "word ".
3196 (isearch-search-fun-default): For the case of `isearch-word',
3197 return a lambda that calls re-search-forward/re-search-backward
3198 with a regexp returned by `word-search-regexp' or by the function
3199 in `isearch-word'.
3200
8cbd80f7
JL
32012012-05-29 Juri Linkov <juri@jurta.org>
3202
3203 * isearch.el (isearch-search-fun-default): New function.
3204 (isearch-search-fun): Move default part to the new function
3205 `isearch-search-fun-default'.
3206 (isearch-search-fun-function): Set the default value to
3207 `isearch-search-fun-default'. (Bug#11381)
3208
3209 * comint.el (comint-history-isearch-end):
3210 Use `isearch-search-fun-default'.
3211 (comint-history-isearch-search): Use `isearch-search-fun-default'
3212 and remove spacial case for `isearch-word'.
3213 (comint-history-isearch-wrap): Remove spacial case for
3214 `isearch-word'.
3215
3216 * hexl.el (hexl-isearch-search-function):
3217 Use `isearch-search-fun-default'.
3218
3219 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3220 Use `word-search-regexp' for `isearch-word'.
3221
3222 * misearch.el (multi-isearch-search-fun):
3223 Use `isearch-search-fun-default'.
3224
3225 * simple.el (minibuffer-history-isearch-search):
3226 Use `isearch-search-fun-default' and remove spacial case for
3227 `isearch-word'.
3228 (minibuffer-history-isearch-wrap): Remove spacial case for
3229 `isearch-word'.
3230
3231 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3232 Remove spacial case for `isearch-word'.
3233 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3234
85c8c5b6
AM
32352012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3236
3237 Decrease XEmacs incompatibilities.
3238 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3239 Use `string-match'.
3240 (flyspell-delete-region-overlays): Use alternative definition for
3241 XEmacs.
3242 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3243 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3244 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3245 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3246 `define-obsolete-face-alias' under XEmacs, but old method.
3247
3248 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3249 `with-no-warnings' definition or Emacs alias.
3250 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3251 (ispell-word): Do not use `region-p' if XEmacs.
3252
8cab9efc
AM
32532012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3254
3255 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3256 Check for `ispell-dictionary-base-alist' instead of full
3257 `ispell-dictionary-alist'.
3258 (ispell-init-process): Show spellchecker when starting new Ispell
3259 process.
3260
fda91268
RZ
32612012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3262
3263 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3264 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3265
694ea8e3
JB
32662012-05-27 Juanma Barranquero <lekktu@gmail.com>
3267
3268 * version.el (motif-version-string, gtk-version-string)
3269 (ns-version-string): Declare.
3270
e4d4f539
JL
32712012-05-27 Juri Linkov <juri@jurta.org>
3272
3273 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3274 after the `eval-defun-1' specialcaseing
3275 like in `edebug-eval-defun' (bug#10181).
3276
3277 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3278 like in `eval-defun-1'.
3279
33017faf 32802012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3281
fda91268
RZ
3282 * mail/sendmail.el (mail-yank-region):
3283 Recognize rmail-yank-current-message in addition to insert-buffer.
3284 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3285 a *mail* buffer created through rmail-start-mail with sendmail as
3286 mail-user-agent.
3287
33017faf
GM
32882012-05-27 Chong Yidong <cyd@gnu.org>
3289
3290 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3291 Default to 256 (Bug#11267).
3292
3293 * help.el (describe-mode): Doc fix.
3294
04188bb9
GM
32952012-05-26 Glenn Morris <rgm@gnu.org>
3296
38264cc9
GM
3297 * w32-fns.el (w32-init-info): Remove.
3298 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3299
eb7afdad
GM
3300 * info.el (info-initialize): For self-contained NS builds, put the
3301 included info/ directory at the front. (Bug#2791)
3302
04188bb9
GM
3303 * paths.el (Info-default-directory-list): Make it a defcustom,
3304 mainly so that we can use custom-initialize-delay.
3305
a179e3f7
SM
33062012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3307
43416392
SM
3308 * subr.el (buffer-has-markers-at): Mark obsolete.
3309
a179e3f7 3310 * subr.el (lambda): Use declare.
43416392 3311
a179e3f7
SM
3312 * emacs-lisp/lisp-mode.el (lambda):
3313 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3314
34a008d9
AH
33152012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3316
3317 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3318
0a3b289f
GM
33192012-05-26 Glenn Morris <rgm@gnu.org>
3320
3321 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3322
758c81e8
GM
33232012-05-25 Glenn Morris <rgm@gnu.org>
3324
f9f334f0
GM
3325 * paths.el: Remove no-byte-compile.
3326 * loadup.el: No need to load paths.el uncompiled.
3327
87eb79c2
GM
3328 * image.el (imagemagick-types-inhibit): Doc fix.
3329
758c81e8
GM
3330 * version.el: Remove no-byte-compile and associated formatting.
3331 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3332 is ancient code from when there was an "inc-vers.el".
3333
e7e85dc0
SM
33342012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3335
3336 * progmodes/gdb-mi.el: Minor style changes.
3337 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3338 Turn into minor modes.
3339 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3340 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3341 (gdb-shell): Remove unneeded let-binding.
3342 (gdb-get-many-fields): Eliminate O(n²) behavior.
3343
f31237a4
EZ
33442012-05-25 Eli Zaretskii <eliz@gnu.org>
3345
3346 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3347 platforms that don't link in fontset.c.
3348
bc1b21bb
JL
33492012-05-25 Juri Linkov <juri@jurta.org>
3350
3351 Use the same diff color scheme as in modern VCSes (bug#10181).
3352
3353 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3354 to avoid confusion with `diff-added' that now uses green colors.
3355 (diff-removed): Use shades of red.
3356 (diff-added): Use shades of green.
3357 (diff-changed): Leave just the yellow color.
3358 (diff-use-changed-face): New variable.
3359 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3360 how to highlight context diff changes.
3361 (diff-refine-change): Use shades of yellow.
3362 (diff-refine-removed): New face that uses shades of red.
3363 (diff-refine-added): New face that uses shades of green.
3364 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3365 `diff-refine-removed' in the call to `smerge-refine-subst'
3366 depending on the value of `diff-use-changed-face'.
3367
3368 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3369 (smerge-other): Use shades of green.
3370 (smerge-base): Use shades of yellow.
3371 (smerge-refined-change): Empty face.
3372 (smerge-refined-removed): New face that uses shades of red.
3373 (smerge-refined-added): New face that uses shades of green.
3374 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3375 args `props-r' and `props-a', and use them. Doc fix.
3376 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3377 on its value use different faces `smerge-refined-change',
3378 `smerge-refined-removed', `smerge-refined-added' in the call to
3379 `smerge-refine-subst'.
3380
3381 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3382 Add face condition `min-colors 88' with shades of red.
3383 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3384 `min-colors 88' with shades of green.
3385 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3386 `min-colors 88' with shades of yellow.
3387
6df9112c
GM
33882012-05-24 Glenn Morris <rgm@gnu.org>
3389
ead5edc0
GM
3390 * paths.el (prune-directory-list, remote-shell-program): Move to...
3391 * files.el (prune-directory-list, remote-shell-program): ...here.
3392 For the latter, delay initialization, prefer ssh, just search PATH.
3393
f18b81e6
GM
3394 * paths.el (term-file-prefix): Move to faces.el (the only user).
3395 * faces.el (term-file-prefix): Move here, make it a defcustom.
3396
ee2f89a6
GM
3397 * paths.el (news-directory, news-path, news-inews-program):
3398 Move to gnus/nnspool.el.
61a583ca 3399
f8815e4c
GM
3400 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3401
c8f3b42c
GM
3402 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3403 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3404 Make the latter a defcustom, with a delayed initialization.
3405
6df9112c
GM
3406 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3407 These were deleted from Gnus itself late 2010.
3408
5dadff36
JB
34092012-05-22 Juanma Barranquero <lekktu@gmail.com>
3410
9e1701c6
JB
3411 * progmodes/which-func.el (which-func-ff-hook):
3412 Check against user-error, not error.
3413
bd7239f5 3414 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3415 cl-specs.el, which no longer exists.
3416
3290526d
GM
34172012-05-22 Glenn Morris <rgm@gnu.org>
3418
3419 * info.el (info-emacs-bug): New command.
3420 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3421 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3422
ff0c3cfb
GM
34232012-05-21 Glenn Morris <rgm@gnu.org>
3424
3425 * makefile.w32-in (update-subdirs-SH):
3426 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3427
5814f126
SM
34282012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3429
a52c0aa0
SM
3430 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3431
5814f126
SM
3432 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3433 Simplify Maven regexp, and make sure the file can't start with a space
3434 (bug#11517).
3435
b847032c
GM
34362012-05-21 Glenn Morris <rgm@gnu.org>
3437
3438 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3439 Scrap superfluous subshells.
3440
3858bfe7
SM
34412012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3442
3443 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3444 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3445
d14b0029
JB
34462012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3447
3448 * calc/calc.el (calc-ensure-consistent-units): New variable.
3449
a52c0aa0
SM
3450 * calc/calc-units.el (math-consistent-units-p)
3451 (math-check-unit-consistency): New functions.
3452 (calc-quick-units, calc-convert-units):
3453 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3454 is non-nil.
d14b0029
JB
3455 (calc-extract-units): Fix typo.
3456
60c4db3a
SM
34572012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3458
77f3b62e
SM
3459 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3460
60c4db3a
SM
3461 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3462 (flyspell-default-deplacement-commands): Don't spell check after
3463 repeated window/frame switches (e.g. triggered by mouse-movement).
3464 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3465 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3466 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3467 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3468 Remove unused vars.
3469 (flyspell-get-casechars, flyspell-get-not-casechars):
3470 Simplify; Don't bother removing a ] just to add it back.
3471 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3472
d209e2fb 34732012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3474
3475 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3476 New functions.
bd7239f5 3477 (math-function-table): Add support for more C functions.
b1a10716 3478
3f1b25b5
AM
34792012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3480
090bd7cb
JB
3481 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3482 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3483 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3484
b581bb5c
SM
34852012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3486
3487 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3488 their respective macro declarations.
3489 * skeleton.el (define-skeleton):
3490 * progmodes/compile.el (define-compilation-mode):
3491 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3492 (define-ibuffer-filter):
3493 * emacs-lisp/generic.el (define-generic-mode):
3494 * emacs-lisp/easy-mmode.el (define-minor-mode)
3495 (define-globalized-minor-mode):
3496 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3497 * emacs-lisp/byte-run.el (defsubst):
3498 * custom.el (deftheme): Add doc-string metadata.
3499
70b8ef8f
SM
35002012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3501
3502 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3503
b1198e17
SM
35042012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3505
9abdc45d
SM
3506 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3507
b1198e17
SM
3508 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3509 * emacs-lisp/cl-macs.el: Idem.
3510 * emacs-lisp/cl-specs.el: Remove.
3511
4735906a
SM
35122012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3513
3514 Minor renaming of internal CL functions and variables.
3515 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3516 (cl--position): Rename from cl-position.
3517 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3518 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3519 (cl--random-state): Rename from *random-state*.
3520
ac348012
SM
35212012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3522
3523 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3524 parens around the arg list (bug#11499).
3525
a0a79cde
JL
35262012-05-17 Juri Linkov <juri@jurta.org>
3527
3528 * isearch.el (word-search-regexp, word-search-backward)
3529 (word-search-forward, word-search-backward-lax)
3530 (word-search-forward-lax): Move functions from search.c
3531 (bug#10145, bug#11381).
3532
65034a51
AM
35332012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3534
090bd7cb
JB
3535 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3536 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3537 Delay for otherchars as for normal word components.
65034a51 3538
1a72a195
SM
35392012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3540
3541 * minibuffer.el (completion--sifn-requote): Fix last change.
3542 (minibuffer-local-must-match-filename-map):
3543 Move define-obsolete-variable-alias before its var.
3544
fdb058c2
SM
35452012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3546
c41045e6
SM
3547 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3548
036dfb8b
SM
3549 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3550 behavior.
3551 (completion--string-equal-p): New function.
3552 (completion--twq-all): Use it to get better assertion failure data.
3553
2473256d
SM
3554 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3555 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3556 (shell--requote-argument): New functions.
3557 (shell-completion-vars): Use them.
3558 (shell--parse-pcomplete-arguments): Rename from
3559 shell-parse-pcomplete-arguments.
3560 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3561 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3562 Obey comint-file-name-quote-list.
3563
fdb058c2
SM
3564 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3565 (smie-indent-keyword): Use it.
3566
51fa99f1
SM
35672012-05-14 Stefan Merten <smerten@oekonux.de>
3568
3569 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3570
e18afed7 35712012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3572
3573 * net/rlogin.el (rlogin-mode-map): Fix last change.
3574
e18afed7 35752012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3576
3577 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3578 the following \r\n using a single `process-send-string', since the
3579 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3580 with two `process-send-string's (Bug#11444).
8633b1f4 3581
e18afed7 35822012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3583
fdb058c2
SM
3584 * shell.el (shell-parse-pcomplete-arguments):
3585 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3586
2d21d7f6
WJ
35872012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3588
e18afed7 3589 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3590 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3591 (image-transform-width, image-transform-fit-width): New functions.
3592 (image-transform-properties): Use them.
3593 (image-transform-check-size): New function.
3594 (image-toggle-display-image): Use it (for testing).
3595 (image-transform-set-rotation): Reduce angle mod 360.
3596 Delete obsolete comment.
3597
7102e6d0
WJ
35982012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3599
3600 * image-mode.el: Fix scaling (bug#11399).
3601 (image-transform-resize): Doc fix.
3602 (image-transform-properties): Default scale is 1 and height should
3603 be an integer.
3604
06bc5e6e
SM
36052012-05-13 Johan Bockgård <bojohan@gnu.org>
3606
3607 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3608 than hard-coding `car', to fix misbehavior when moving forward.
3609
0ae03b6a
CY
36102012-05-13 Chong Yidong <cyd@gnu.org>
3611
3612 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3613 (tabulated-list-entries, tabulated-list-padding)
3614 (tabulated-list-sort-key): Make permanent-local.
3615
3616 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3617 (electric-buffer-list): Put electric buffer menu
3618 command descriptions in this docstring, instead of the docstring
3619 of electric-buffer-menu-mode. Code cleanups.
3620 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3621 Electric-buffer-menu-mode.
3622 (electric-buffer-update-highlight): Minor code cleanup.
3623
205a7391
MA
36242012-05-13 Michael Albinus <michael.albinus@gmx.de>
3625
3626 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3627 (Bug#11447)
3628
e5bd0a28
SM
36292012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3630
3631 Move define-obsolete-variable-alias before the var's definition.
3632 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3633 * tooltip.el (tooltip-hook):
3634 * textmodes/reftex-toc.el (reftex-toc-map):
3635 * textmodes/reftex-sel.el (reftex-select-label-map)
3636 (reftex-select-bib-map):
3637 * textmodes/reftex-index.el (reftex-index-map)
3638 (reftex-index-phrases-map):
3639 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3640 * progmodes/meta-mode.el (meta-mode-map):
3641 * novice.el (disabled-command-hook):
3642 * loadhist.el (unload-hook-features-list):
3643 * frame.el (blink-cursor):
3644 * files.el (find-file-not-found-hooks, write-file-hooks)
3645 (write-contents-hooks):
3646 * emulation/tpu-edt.el (GOLD-map):
3647 * emacs-lock.el (emacs-lock-from-exiting):
3648 * emacs-lisp/generic.el (generic-font-lock-defaults):
3649 * emacs-lisp/chart.el (chart-map):
3650 * dos-fns.el (register-name-alist):
3651 * dired-x.el (dired-omit-files-p):
3652 * desktop.el (desktop-enable):
3653 * cus-edit.el (custom-mode-hook):
3654 * buff-menu.el (buffer-menu-mode-hook):
3655 * bookmark.el (bookmark-read-annotation-text-func)
3656 (bookmark-exit-hooks):
3657 * allout.el (allout-mode-deactivate-hook)
3658 (allout-exposure-change-hook, allout-structure-added-hook)
3659 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3660 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3661 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3662 comes before the corresponding variable's definition.
3663
ac59c2f6
CY
36642012-05-12 Chong Yidong <cyd@gnu.org>
3665
3666 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3667 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3668 (Buffer-menu-mode-map): Bind it.
3669 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3670
dee6c9a3
SM
36712012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3672
2171cea5
SM
3673 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3674 (prolog-upper-case-string, prolog-lower-case-string)
3675 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3676 (prolog-use-smie, prolog-smie-grammar): New vars.
3677 (prolog-smie-forward-token, prolog-smie-backward-token)
3678 (prolog-smie-rules): New funs.
3679 (prolog-comment-indent): Remove.
3680 (prolog-mode-variables): Use default comment indentation instead.
3681 Setup SMIE.
3682 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3683 (prolog-mode): Don't call them any more.
3684 (prolog-electric-colon, prolog-electric-dash)
3685 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3686
aa0382bd
SM
3687 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3688
dbacb4bd
SM
3689 * minibuffer.el (completion--twq-all): Again, allow case differences.
3690
13bdd94c
SM
3691 * term.el: Move keymap initialization code to be more idiomatic.
3692 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3693 (term-terminal-menu): Move initialization into declaration.
3694 (term-escape-char): Let the user set it in her .emacs.
3695
ff46c759
SM
3696 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3697 Provide SMIE-based indentation (not enabled by default yet).
3698 (sh-mode-map): Don't bind electric keys.
3699 Use electric-pair-mode instead of skeleton-pair.
3700 (sh-assignment-regexp): Fit within 80 columns.
3701 (sh-indent-supported): Specify actual shell name instead of boolean.
3702 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3703 (sh-maybe-here-document): Use it. Make obsolete.
3704 (sh-electric-here-document-mode) New minor mode.
3705 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3706 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3707 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3708 (sh-smie-rc-grammar, sh-use-smie): New vars.
3709 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3710 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3711 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3712 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3713 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3714 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3715 (sh-set-shell): Use smie-setup if requested.
3716
dee6c9a3
SM
3717 * term.el (term-set-escape-char): Properly set term-escape-char.
3718 See http://stackoverflow.com/questions/10524656.
3719
9f9aa044
CY
37202012-05-10 Chong Yidong <cyd@gnu.org>
3721
3722 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3723 Use url-generic-parse-url, and handle host names and Windows
3724 filenames properly.
3725 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3726 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3727 URL schemes to work on.
3728 (ffap--toggle-read-only): New function.
3729 (ffap-read-only, ffap-read-only-other-window)
3730 (ffap-read-only-other-frame): Use it.
3731 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3732 necessary for ffap-url-unwrap-remote.
3733
836d29b3
DA
37342012-05-10 Dave Abrahams <dave@boostpro.com>
3735
3736 * cus-start.el (create-lockfiles): Add it.
3737
00fd78ed
CY
37382012-05-09 Chong Yidong <cyd@gnu.org>
3739
3740 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3741 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3742
666b903b 37432012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3744
3745 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3746
666b903b 37472012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3748
3749 * ansi-color.el (ansi-color-process-output): Check for validity of
3750 comint-last-output-start before using it. This avoids a bad
3751 interaction with gdb-mi's input/output buffer.
3752
666b903b 37532012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3754
3755 * files.el (dir-locals-read-from-file):
3756 Mention dir-locals in any error message.
3757
666b903b 37582012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3759
3760 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3761 package (Bug#11410).
3762
f677562b
CY
3763 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3764 variables into description.
3765
666b903b 37662012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3767
3768 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3769 shell-delimiter-argument-list (bug#11348).
3770 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3771
b499d8d0
JB
37722012-05-09 Juanma Barranquero <lekktu@gmail.com>
3773
8f6b6da8
JB
3774 * textmodes/rst.el: Silence byte-compiler warnings.
3775 (rst-re-alist, rst-reset-section-caches): Move around.
3776 (rst-re): Use `characterp', not `char-valid-p'.
3777 (font-lock-beg, font-lock-end): Declare.
3778
4824146a
JB
3779 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3780 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3781
b499d8d0
JB
3782 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3783
ad89bb83
GM
37842012-05-08 Glenn Morris <rgm@gnu.org>
3785
3786 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3787
8bba5a75
SM
37882012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3789
49ed9c8e
SM
3790 * vc/log-edit.el: Add GNU coding standards highlighting.
3791 (log-edit-font-lock-gnu-style)
3792 (log-edit-font-lock-gnu-keywords): New vars.
3793 (log-edit-font-lock-keywords): New fun.
3794 (log-edit-mode): Don't fold case in font-lock.
3795 (log-edit-font-lock-keywords): Do not assume case-folding.
3796
07d00b56
SM
3797 * imenu.el: Misc cleanup. Make docstrings out of comments.
3798 Use lexical-binding.
3799 (imenu--index-alist, imenu--last-menubar-index-alist)
3800 (imenu-menubar-modified-tick): Use defvar-local.
3801 (imenu--split-menu): Remove unused var.
3802 (imenu--cleanup-seen): Declare as global.
3803 (imenu--cleanup): Use dolist.
3804
8bba5a75
SM
3805 * subr.el (defvar-local): Add debug spec and doc-string position.
3806
5075bdb5
GM
38072012-05-08 Glenn Morris <rgm@gnu.org>
3808
090bd7cb 3809 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3810 * language/english.el, language/georgian.el, language/greek.el:
3811 * language/japanese.el, language/khmer.el, language/korean.el:
3812 * language/lao.el, language/misc-lang.el, language/romanian.el:
3813 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3814 * language/thai.el, language/utf-8-lang.el:
3815 Remove no-byte-compile setting.
3816
5075bdb5
GM
3817 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3818
06f679a7
AH
38192012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3820
3821 * progmodes/make-mode.el (makefile-browse):
3822 Remove unnecessary interactive. (Bug#11324)
3823
03794570
GM
38242012-05-07 Glenn Morris <rgm@gnu.org>
3825
af8630f4
GM
3826 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3827
03794570
GM
3828 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3829
f0809a9d
SM
38302012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3831
28be5ce7
SM
3832 * loadup.el: Preload newcomment.el.
3833 * newcomment.el: Move autoload-only code to toplevel.
3834
f0809a9d
SM
3835 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3836 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3837 Handle new :right-align column property.
3838 (tabulated-list-print-col): Idem, plus use `display' text-property to
3839 try and preserve alignment for variable pitch fonts.
3840
1241b724
CY
38412012-05-07 Chong Yidong <cyd@gnu.org>
3842
3843 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3844 (tabulated-list-use-header-line): New var.
3845 (tabulated-list-init-header): Use it.
3846 (tabulated-list-print-fake-header): New function.
3847 (tabulated-list-print): Use it.
3848 (tabulated-list-sort-button-map): Add non-header-line commands.
3849 (tabulated-list-init-header): Add column name property to basic
3850 labels as well.
3851 (tabulated-list-col-sort): Handle non-header-line button case.
3852 (tabulated-list--sort-by-column-name): Fix a corner case.
3853
f0809a9d
SM
3854 * buff-menu.el (list-buffers--refresh):
3855 Handle Buffer-menu-use-header-line.
1241b724 3856
e5f9458f
CY
38572012-05-06 Chong Yidong <cyd@gnu.org>
3858
3859 * buff-menu.el: Convert to Tabulated List mode.
3860 (Buffer-menu-buffer+size-width): Make obsolete.
3861 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3862 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3863 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3864 documentation into docstring of buffer-menu.
3865 (Buffer-menu-toggle-files-only): Add an informative message.
3866 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3867 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3868 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3869 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3870 (Buffer-menu-execute, Buffer-menu-select)
3871 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3872 (Buffer-menu-bury): Use Tabulated List machinery.
3873 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3874 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3875 Delete.
e5f9458f
CY
3876 (list-buffers--refresh): New function.
3877 (list-buffers-noselect): Use it.
3878 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3879 (Buffer-menu--pretty-file-name): New helper functions.
3880
3881 * loadup.el: Preload tabulated-list.
3882
3883 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3884 tabulated-list-sort-column.
3885 (tabulated-list-init-header): Add the initial aligning space even
3886 if tabulated-list-padding is zero.
3887
e129292c
CS
38882012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3889
3890 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3891 whose cdr is not a cons cell correctly (bug#11038).
3892
6632d361
CY
38932012-05-06 Chong Yidong <cyd@gnu.org>
3894
e129292c
CS
3895 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3896 Accept additional plist in column descriptors.
6632d361
CY
3897 (tabulated-list-init-header): Obey it.
3898 (tabulated-list-get-entry): New function.
3899 (tabulated-list-put-tag): Use it. Use string-width instead of
3900 length.
3901 (tabulated-list--column-number): New function.
3902 (tabulated-list-print): Use it.
e129292c
CS
3903 (tabulated-list-print-col): New function.
3904 Set `tabulated-list-column-name' property on each column's text.
6632d361 3905 (tabulated-list-print-entry): Use it.
e129292c
CS
3906 (tabulated-list-delete-entry, tabulated-list-set-col):
3907 New functions.
6632d361
CY
3908 (tabulated-list-sort-column): New command (Bug#11337).
3909
3cc99f68
CY
3910 * buff-menu.el (list-buffers): Move C-x C-b binding from
3911 buff-menu.el to bindings.el.
3912
3913 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3914 :advertised-binding feature.
3915
52b61776
TN
39162012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3917
3918 * progmodes/compile.el (compilation-internal-error-properties):
3919 Calculate start position correctly when end-col is set but
3920 end-line is not (Bug#11382).
3921
ebfe2597
WJ
39222012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3923
3924 * man.el (Man-unindent): Use text-property-default-nonsticky to
3925 prevent untabify from inheriting face properties (Bug#11408).
3926
6d3f7c2f
SM
39272012-05-05 Stefan Merten <smerten@oekonux.de>
3928
3929 * textmodes/rst.el: Major merge with upstream development up to
3930 Docutils SVN r7399 / rst.el V1.2.1.
3931
3932 Clarify maintainership and authors.
3933
3934 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3935 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3936 (rst-official-version, rst-official-cvs-rev, rst-version)
3937 (rst-package-emacs-version-alist): New functions and variables
3938 for version information.
3939
3940 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3941 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3942 (rst-mode-syntax-table, rst-mode): New and corrected functions
3943 and variables representing reStructuredText features.
3944
3945 (rst-re): New function for reStructuredText regexes. Use in
3946 many places.
3947
3948 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3949 (rst-mode-map): Rebind keys.
3950
3951 (rst-mode-lazy, rst-font-lock-keywords)
3952 (rst-font-lock-extend-region)
3953 (rst-font-lock-extend-region-internal)
3954 (rst-font-lock-extend-region-extend)
3955 (rst-font-lock-find-unindented-line-limit)
3956 (rst-font-lock-find-unindented-line-match)
3957 (rst-adornment-level, rst-font-lock-adornment-level)
3958 (rst-font-lock-adornment-match)
3959 (rst-font-lock-handle-adornment-pre-match-form)
3960 (rst-font-lock-handle-adornment-matcher): Major revision of
3961 font-locking. Integrate with other code. Use `jit-lock-mode'.
3962
3963 (rst-preferred-adornments, rst-adjust-hook)
3964 (rst-new-adornment-down, rst-preferred-bullets)
3965 (rst-preferred-bullets, rst-indent, rst-indent-width)
3966 (rst-indent-field, rst-indent-literal-normal)
3967 (rst-indent-literal-minimized, rst-indent-comment): Change,
3968 extend and improve customization.
3969
3970 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3971 (rst-normalize-cursor-position, rst-get-decoration)
3972 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3973 (rst-rstrip, rst-toc-insert-find-delete-contents)
3974 (rst-shift-fill-region, rst-compute-bullet-tabs)
3975 (rst-debug-print-tabs, rst-debug-mark-found)
3976 (rst-shift-region-guts, rst-shift-region-right)
3977 (rst-shift-region-left, rst-use-char-classes)
3978 (rst-font-lock-keywords-function)
3979 (rst-font-lock-indentation-point)
3980 (rst-font-lock-find-unindented-line-begin)
3981 (rst-font-lock-find-unindented-line-end)
3982 (rst-font-lock-find-unindented-line)
3983 (rst-font-lock-adornment-point, rst-font-lock-level)
3984 (rst-adornment-level-alist): Remove functions and variables.
3985
3986 (rst-compare-adornments, rst-get-adornment-match)
3987 (rst-suggest-new-adornment, rst-get-adornments-around)
3988 (rst-adornment-complete-p, rst-get-next-adornment)
3989 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3990 (rst-straighten-adornments): Standardize function names to
3991 use "adornment" instead of "decoration". Correct callers.
3992 Similar standardizing in many places.
3993
3994 (rst-update-section, rst-adjust, rst-promote-region)
3995 (rst-enumerate-region, rst-bullet-list-region)
3996 (rst-repeat-last-character): Correct use of `interactive'.
3997
3998 (rst-classify-adornment, rst-find-all-adornments)
3999 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4000 (rst-find-leftmost-column, rst-repeat-last-character):
4001 Refactor functions.
4002
4003 (rst-find-title-line, rst-reset-section-caches)
4004 (rst-get-adornments-around, rst-adjust-adornment-work)
4005 (rst-arabic-to-roman, rst-roman-to-arabic)
4006 (rst-insert-list-pos, rst-insert-list-new-item)
4007 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4008 New functions.
4009
4010 (rst-all-sections, rst-section-hierarchy)
4011 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4012 New variables.
4013
4014 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4015 configuration instead of only buffer. Change where necessary.
4016
4017 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4018 (rst-shift-region, rst-adaptive-fill): New functions for
4019 indentation and filling.
4020
4021 (rst-comment-line-break, rst-comment-indent)
4022 (rst-comment-insert-comment, rst-comment-region)
4023 (rst-uncomment-region): New functions for handling comments.
4024
4025 (rst-compile): Quote shell arguments.
4026
4027 (rst-compile-pdf-preview, rst-compile-slides-preview):
4028 Delete temporary files after use.
4029
a43f98b3
GM
40302012-05-05 Glenn Morris <rgm@gnu.org>
4031
48176e8b
GM
4032 * calendar/cal-html.el: Optionally include holidays in the output.
4033 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4034 (cal-html-holidays): New option.
4035 (cal-html-css-default): Add holiday entry.
4036 (holiday-in-range): Autoload it.
4037 (cal-html-htmlify-entry): Add optional class argument.
4038 (cal-html-htmlify-list): Add optional holidays argument.
4039 (cal-html-insert-agenda-days): Include holidays in the output.
4040 (cal-html-one-month): Maybe include holidays.
4041
a43f98b3
GM
4042 * calendar/holidays.el (holiday-in-range):
4043 Move here from cal-tex-list-holidays.
4044 * calendar/cal-tex.el (cal-tex-list-holidays):
4045 Make it an obsolete alias for holiday-in-range. Update all callers.
4046
fef9d149 40472012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4048
4049 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4050 Nextstep.
4051
248da2f4
RW
40522012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4053
4054 * files.el (file-auto-mode-skip): New var.
4055 (set-auto-mode-1): Use it.
4056
f95e9344
SM
40572012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4058
df96ab1e
SM
4059 * repeat.el: Use lexical-binding.
4060 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4061 (repeat-undo-count): Remove.
4062 (repeat):
4063 * progmodes/octave-mod.el (octave-abbrev-start):
4064 * progmodes/f90.el (f90-abbrev-start):
4065 * face-remap.el (text-scale-adjust):
4066 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4067
5342bb06
SM
4068 * emacs-lisp/pcase.el (pcase--let*): New function.
4069 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4070 a bit more.
4071 (pcase--split-pred): Be more clever about ruling out overlap between
4072 a predicate and some constant pattern.
4073 (pcase--q1): Use `null' instead of (eq foo nil).
4074
f95e9344
SM
4075 * subr.el (setq-local, defvar-local): New macros.
4076 (kbd): Redefine as an alias.
4077 (with-selected-window): Leave unrelated frames alone.
4078 (set-temporary-overlay-map): New function.
4079
71873e2b
SM
40802012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4081
4082 * subr.el (user-error): New function.
4083 * window.el (switch-to-buffer):
4084 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4085 (smerge-match-conflict):
4086 * simple.el (previous-matching-history-element)
4087 (next-matching-history-element, goto-history-element, undo-more)
4088 (undo-start):
4089 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4090 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4091 (next-file, tags-loop-scan, list-tags, complete-tag):
4092 * progmodes/compile.el (compilation-loop):
4093 * mouse.el (mouse-minibuffer-check):
4094 * man.el (Man-bgproc-sentinel, Man-goto-page):
4095 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4096 (Info-history-forward, Info-follow-reference, Info-menu)
4097 (Info-extract-menu-item, Info-extract-menu-counting)
4098 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4099 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4100 (Info-next-reference, Info-prev-reference, Info-index)
4101 (Info-index-next, Info-follow-nearest-node)
4102 (Info-copy-current-node-name):
4103 * imenu.el (imenu--make-index-alist)
4104 (imenu-default-create-index-function, imenu-add-to-menubar):
4105 * files.el (basic-save-buffer, recover-file):
4106 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4107 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4108 (checkdoc-message-text, checkdoc-defun):
4109 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4110 * cus-edit.el (customize-changed-options, customize-rogue)
4111 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4112 (custom-variable-mark-to-reset-standard)
4113 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4114 (custom-file):
4115 * completion.el (check-completion-length):
4116 * comint.el (comint-search-arg)
4117 (comint-previous-matching-input-string-position)
4118 (comint-previous-matching-input)
4119 (comint-replace-by-expanded-history-before-point, comint-send-input)
4120 (comint-copy-old-input, comint-backward-matching-input)
4121 (comint-goto-process-mark, comint-set-process-mark):
4122 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4123 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4124
8a61ee22
SM
41252012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4126
66408d1e
SM
4127 * dabbrev.el (dabbrev--ignore-case-p): New function.
4128 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4129 Use it.
4130
8a61ee22
SM
4131 * files.el (automount-dir-prefix): Mark as obsolete.
4132
3c74813a
GM
41332012-05-04 Glenn Morris <rgm@gnu.org>
4134
4135 * patcomp.el, play/bruce.el: Move to obsolete/.
4136
0bfcf5c5
PE
41372012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4138
4139 Fix minor Y10k bugs.
4140 * arc-mode.el (archive-unixdate):
4141 * autoinsert.el (auto-insert-alist):
4142 * calc/calc-forms.el (math-this-year):
4143 * emacs-lisp/copyright.el (copyright-current-year)
4144 (copyright-update-year, copyright):
4145 * tar-mode.el (tar-clip-time-string):
4146 * time.el (display-time-update):
4147 Don't assume years have 4 digits.
4148
78f3273a
CY
41492012-05-04 Chong Yidong <cyd@gnu.org>
4150
4151 * dos-w32.el (file-name-buffer-file-type-alist)
4152 (direct-print-region-use-command-dot-com):
4153 * ffap.el (ffap-menu-regexp):
4154 * find-file.el (ff-special-constructs):
4155 * follow.el (follow-debug):
4156 * forms.el (forms--debug):
4157 * iswitchb.el (iswitchb-all-frames):
4158 * ido.el (ido-all-frames):
4159 * emacs-lisp/timer.el (timer-max-repeats):
4160 * mail/feedmail.el (feedmail-mail-send-hook)
4161 (feedmail-mail-send-hook-queued):
4162 * mail/footnote.el (footnote-signature-separator):
4163 * mail/mailabbrev.el (mail-alias-separator-string)
4164 (mail-abbrev-mode-regexp):
4165 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4166 * progmodes/idlwave.el (idlwave-libinfo-file)
4167 (idlwave-default-completion-case-is-down)
4168 (idlwave-library-routines): Convert defvars to defcustoms.
4169
4170 * mail/rmail.el (rmail-decode-mime-charset):
4171 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4172 (idlwave-shell-fix-inserted-breaks)
4173 (idlwave-shell-activate-alt-keybindings)
4174 (idlwave-shell-use-breakpoint-glyph):
4175 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4176
f7ae6719
SM
41772012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4178
4179 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4180
47086495
WS
41812012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4182
4183 * progmodes/verilog-mode.el (font-lock-keywords):
4184 Fix mis-highligting auto. Reported by Craig Barner.
4185 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4186 defines from global name space. Reported by Dan Dever.
4187 (verilog-auto-reset, verilog-auto-reset-widths)
4188 (verilog-auto-tieoff): Support using unbased numbers for
4189 AUTORESET and AUTOTIEOFF.
4190 (verilog-submit-bug-report): Update variable list.
4191 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4192 parenthesis from not matching. Reported by Michael Rytting.
4193 (verilog-auto-template-lint): Fix hash error when linting modules
4194 with no used templates.
4195 (verilog-warn, verilog-warn-error)
4196 (verilog-warn-fatal): When non-interactive report multiple
4197 warnings before exiting. Suggested by Brad Dobbie.
4198 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4199 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4200 to report unused template errors. Reported by Brad Dobbie.
4201 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4202 nets, bug438. Reported by Vns Blore.
4203 (verilog-auto-inout-module, verilog-auto-reg)
4204 (verilog-read-decls, verilog-read-sub-decls-sig)
4205 (verilog-signals-edit-wire-reg, verilog-signals-with):
4206 Fix passing of Verilog data types in ANSI input/output ports
4207 such as "output logic" into the AUTOs. Special case "wire" and
4208 "reg" for backwards compatibility presuming Verilog 2001.
4209 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4210 (verilog-preprocess): Fix replication of preprocess output.
4211 Reported by Brad Dobbie.
4212 (verilog-auto-inst-interfaced-ports):
4213 Create verilog-auto-inst-interfaced-ports, bug429.
4214 Reported by Julian Gorfajn.
4215 (verilog-after-save-font-hook)
4216 (verilog-before-save-font-hook): New variable.
4217 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4218 (verilog-save-font-mods): Wrap disabling fontification, reported
4219 by David Rogoff.
4220 (verilog-do-indent, verilog-pretty-declarations-auto)
4221 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4222 Reported by Pierre-David Pfister.
4223 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4224 of class declarations, bug292. Reported by Kevin Heilman.
4225 (verilog-read-decls): Fix 'parameter type' not appearing in
4226 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4227 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4228 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4229 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4230 Reported by David Kravitz.
4231
42322012-05-03 Michael McNamara <mac@mail.brushroad.com>
4233
4234 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4235 assignment with tests in ifs and for loops.
4236 (verilog-extended-complete-re, verilog-complete-reg): Change so
4237 that DPI inport functions don't look like fuction declarations.
4238 (verilog-pretty-expr): Don't line up assignment
4239 operations to the test and increment in if and for loops
4240 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4241 that DPI inport functions don't look like fuction declarations.
47086495 4242
2e51d4b5
KH
42432012-05-03 Kenichi Handa <handa@m17n.org>
4244
4245 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4246 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4247 (Bug#11282).
4248
2bd785a2
SM
42492012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4250
4251 * emacs-lisp/bytecomp.el
4252 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4253 since cconv.el might have introduced :fun-body, internal-make-closure,
4254 and friends for bytecomp to handle (bug#11391).
4255 * custom.el (defcustom): Avoid ((λ ..) ..).
4256
99d27583
SM
42572012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4258
4259 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4260
55a71479
JB
42612012-05-02 Juanma Barranquero <lekktu@gmail.com>
4262
4263 * notifications.el (dbus-debug):
4264 * term/linux.el (gpm-mouse-enable):
4265 * term/screen.el (xterm-register-default-colors): Declare.
4266
7b97c764
CY
42672012-05-02 Chong Yidong <cyd@gnu.org>
4268
2bc356d7
CY
4269 * cus-start.el (gc-cons-percentage, exec-suffixes)
4270 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4271 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4272 (make-cursor-line-fully-visible, void-text-area-pointer)
4273 (font-list-limit): Add customization data.
4274
7b97c764
CY
4275 * allout.el (allout-exposure-change-functions)
4276 (allout-structure-added-functions)
4277 (allout-structure-deleted-functions)
4278 (allout-structure-shifted-functions): Rename abnormal hooks from
4279 *-hook, and convert to defcustoms.
5d3385a0
JB
4280 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4281 Convert to defcustoms.
7b97c764
CY
4282 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4283
4284 * allout-widgets.el: Hook callers changed.
4285
90207a15 42862012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4287
4288 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4289 the yanked message in preference to the default value of
4290 buffer-file-coding-system.
4291
90207a15 42922012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4293
5d3385a0
JB
4294 * window.el (display-buffer--action-function-custom-type):
4295 Fix entry.
d9558cad 4296
90207a15 42972012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4298
4299 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4300
d80ac57b
GM
43012012-05-01 Glenn Morris <rgm@gnu.org>
4302
976f7668
GM
4303 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4304
beb83b5a
GM
4305 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4306
d80ac57b
GM
4307 * cus-edit.el (custom-variable-documentation): Simplify with format.
4308
b593d6a9 43092012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4310 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4311
4312 * simple.el (suggest-key-bindings, execute-extended-command):
4313 Move from keyboard.c.
4314
782fbf2a
CY
43152012-05-01 Chong Yidong <cyd@gnu.org>
4316
4317 * follow.el: Eliminate advice.
4318 (set-process-filter, process-filter, sit-for): Advice deleted.
4319 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4320 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4321 Vars deleted.
782fbf2a
CY
4322 (follow-auto): Use a :set function.
4323 (follow-mode): Rewritten. Don't advise process filters.
4324 (follow-switch-to-current-buffer-all, follow-scroll-up)
4325 (follow-scroll-down): Assume follow-mode is bound.
4326 (follow-comint-scroll-to-bottom)
4327 (follow-align-compilation-windows): New functions.
4328 (follow--window-sorter): New function.
4329 (follow-all-followers): Use it to explicitly sort windows by their
4330 positions; don't make assumptions about next-window order.
4331 (follow-windows-start-end, follow-delete-other-windows-and-split)
4332 (follow-calc-win-start): Doc fix.
4333 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4334 vertical-motion unnecessarily.
4335 (follow-adjust-window): New function.
4336 (follow-post-command-hook): Use it.
4337 (follow-call-set-process-filter, follow-call-process-filter)
4338 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4339 (follow-stop-intercept-process-output, follow-generic-filter):
4340 Functions deleted.
4341 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4342 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4343 New functions, replacing advice on scroll-bar-* commands.
87233a14 4344 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4345
4346 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4347 (comint-postoutput-scroll-to-bottom): Use it.
4348 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4349
290af740
GM
43502012-05-01 Glenn Morris <rgm@gnu.org>
4351
4352 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4353 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4354 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4355 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4356 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4357 Remove no-byte-compile setting.
4358
6eac8dc9
SM
43592012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4360
4361 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4362 all-completions code to not return a number in the last cdr.
4363
9cc7819c
LL
43642012-04-30 Leo Liu <sdl.web@gmail.com>
4365
4366 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4367 read-only error.
4368
c93b886f
CY
43692012-04-29 Chong Yidong <cyd@gnu.org>
4370
4371 * follow.el (follow-calc-win-end): Rewrite to handle partial
4372 screen lines correctly (Bug#8390).
4373 (follow-avoid-tail-recenter): Minor cleanup.
4374
8b6c19f4
SM
43752012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4376
4377 Avoid the obsolete `assoc' package.
4378 * speedbar.el (speedbar-refresh): Avoid adelete.
4379 (speedbar-file-lists): Simplify and avoid aput.
4380 * man.el (Man--sections, Man--refpages): New vars, replacing
4381 Man-sections-alist and Man-refpages-alist.
4382 (Man-build-section-alist, Man-build-references-alist):
4383 Use them; avoid aput.
4384 (Man--last-section, Man--last-refpage): New vars.
4385 (Man-follow-manual-reference): Use them.
4386 Use the `default' arg of completing-read.
4387 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4388
c5bb7569
CY
43892012-04-27 Chong Yidong <cyd@gnu.org>
4390
d1d2e2e8
CY
4391 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4392
15cd8efd
CY
4393 * startup.el (x-apply-session-resources): New function.
4394
4395 * term/ns-win.el (ns-initialize-window-system):
4396 * term/w32-win.el (w32-initialize-window-system):
4397 * term/x-win.el (x-initialize-window-system): Use it to properly
4398 set menu-bar-mode and other vars from X resources, even if the
4399 initial frame is not a window-system frame (Bug#2299).
4400
c5bb7569
CY
4401 * subr.el (read-key): Avoid running filter function when setting
4402 up temporary tool bar entries (Bug#9922).
4403
a8e7d6d7 44042012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4405
4406 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4407 (Bug#11344)
4408
a8e7d6d7 44092012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4410
4411 * select.el (xselect--encode-string): New function, split from
4412 xselect-convert-to-string.
4413 (xselect-convert-to-string): Use it.
4414 (xselect-convert-to-filename, xselect-convert-to-os)
4415 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4416 returned strings are properly encoded (Bug#11315).
4417
a8e7d6d7 44182012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4419
4420 * simple.el (delete-active-region): Move to killing custom group.
4421
a8e7d6d7 44222012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4423
4424 * progmodes/which-func.el (which-func-current): Quote %
4425 characters for mode-line processing.
4426
578c1d4b 44272012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4428
4429 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4430 reaching eob (Bug#11286).
4431
a8e7d6d7 44322012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4433
4434 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4435 (gdb): Make it buffer-local and init to zero.
4436 (gdb-control-commands-regexp): New variable.
4437 (gdb-send): Don't wrap in "-interpreter-exec console" if
4438 gdb-control-level is positive. Increment gdb-control-level
4439 whenever the command matches gdb-control-commands-regexp, and
4440 decrement it each time the command is "end". (Bug#11279)
4441
a8e7d6d7 44422012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4443
4444 * window.el (adjust-window-trailing-edge, enlarge-window)
4445 (shrink-window, window-resize):
4446 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4447 windows (Bug#11276).
4448
b3608390
CY
44492012-04-27 Chong Yidong <cyd@gnu.org>
4450
4451 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4452 fix "missing prefix" warning. All callers changed.
b3608390 4453
797e6e88
SM
44542012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4455
4456 * emacs-lisp/assoc.el: Move to obsolete/.
4457
e95a67dc
SM
44582012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4459
657c21e4 4460 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4461
4462 * term/ns-win.el (ns-define-service):
4463 * progmodes/pascal.el (pascal-goto-defun):
4464 * progmodes/js.el (js--read-tab):
4465 * progmodes/etags.el (tags-lazy-completion-table):
4466 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4467 * emacs-lisp/ewoc.el (ewoc--wrap):
4468 * emacs-lisp/assoc.el (aput, adelete, amake):
4469 * doc-view.el (doc-view-convert-current-doc):
4470 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4471
cb3e7ae0
CY
44722012-04-26 Chong Yidong <cyd@gnu.org>
4473
dce04f7f
CY
4474 * image.el (image-type-from-buffer): Only return supported image
4475 type (Bug#9045).
4476
cb3e7ae0
CY
4477 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4478 value, for symmetry with diff-end-of-hunk.
4479 (diff-split-hunk, diff-find-source-location)
4480 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4481 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4482 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4483 compute the relevant hunk or file properly (Bug#6005).
4484 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4485
0d42eb3e
SM
44862012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * vc/vc-mtn.el:
4489 * vc/vc-hg.el:
4490 * vc/vc-git.el:
4491 * vc/vc-dir.el:
4492 * vc/vc-cvs.el:
4493 * vc/vc-bzr.el:
4494 * vc/vc-arch.el:
4495 * vc/vc.el: Replace lexical-let by lexical-binding.
4496 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4497 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4498 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4499
f08ae1c9
CY
45002012-04-26 Chong Yidong <cyd@gnu.org>
4501
8b71081d
CY
4502 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4503 (diff-mode-shared-map): Bind it to / and [remap undo].
4504
f08ae1c9
CY
4505 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4506 (ediff-window-setup-function): Use it as the default, to set up
4507 windows based on whether the current frame is graphical (Bug#2138).
4508 (ediff-choose-window-setup-function-automatically): Make obsolete.
4509
4510 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4511
ef24141c
SM
45122012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4513
cc356a5d
SM
4514 * ffap.el: Remove old code for obsolete package.
4515 (ffap-complete-as-file-p): Remove.
4516
b4ff4f1f
SM
4517 Use completion-table-with-quoting for comint and pcomplete.
4518 * comint.el (comint--unquote&requote-argument)
4519 (comint--unquote-argument, comint--requote-argument): New functions.
4520 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4521 (comint-quote-filename): Use regexp-opt-charset.
4522 (comint--common-suffix, comint--common-quoted-suffix)
4523 (comint--table-subvert): Remove.
4524 (comint-unquote-function, comint-requote-function): New vars.
4525 (comint--complete-file-name-data): Use them with
4526 completion-table-with-quoting.
4527 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4528 * pcomplete.el (pcomplete-arg-quote-list)
4529 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4530 (pcomplete-unquote-argument-function): Default to non-nil.
4531 (pcomplete-unquote-argument): Simplify.
4532 (pcomplete--common-quoted-suffix): Remove.
4533 (pcomplete-requote-argument-function): New var.
4534 (pcomplete--common-suffix): New function.
4535 (pcomplete-completions-at-point): Use completion-table-with-quoting
4536 and completion-table-subvert.
4537
79c4eeb4
SM
4538 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4539 (minibuffer--double-dollars): Preserve properties.
4540 (completion--sifn-requote): New function.
4541 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4542
ef24141c
SM
4543 * minibuffer.el: Add support for completion of quoted/escaped data.
4544 (completion-table-with-quoting, completion-table-subvert): New funs.
4545 (completion--twq-try, completion--twq-all): New functions.
4546 (completion--nth-completion): New function.
4547 (completion-try-completion, completion-all-completions): Use it.
4548
784e7d6e
LL
45492012-04-25 Leo Liu <sdl.web@gmail.com>
4550
dd2ac746
SM
4551 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4552 Use compilation-message if available to find real filename.
784e7d6e 4553
07875ee7
CY
45542012-04-25 Chong Yidong <cyd@gnu.org>
4555
4556 * vc/diff-mode.el (diff-setup-whitespace): New function.
4557 (diff-mode): Use it.
4558
4559 * vc/diff.el (diff-sentinel):
4560 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4561 Whitespace mode variables based on diff style (Bug#8612).
4562
5055880d
LL
45632012-04-25 Leo Liu <sdl.web@gmail.com>
4564
daf75653
LL
4565 * progmodes/python.el (python-send-region): Add suffix .py to the
4566 temp file.
4567
5055880d
LL
4568 * files.el (auto-mode-alist): Use javascript-mode instead.
4569
db9b177b
AH
45702012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4571
ef24141c 4572 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4573
090bd7cb 4574 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4575 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4576 references, see Bug#9.
ef24141c 4577 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4578 when receiving a fault reply.
ef24141c 4579 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4580
090bd7cb 4581 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4582 (soap-inspect-simple-type): New function.
db9b177b 4583
090bd7cb 4584 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4585 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4586 (soap-decode-basic-type, soap-encode-basic-type):
4587 support unsignedInt and double basic types.
db9b177b 4588 (soap-resolve-references-for-simple-type)
ef24141c
SM
4589 (soap-parse-simple-type, soap-encode-simple-type): New function.
4590 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4591
090bd7cb 4592 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4593 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4594 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4595 the local name of "soapenc:Array".
4596 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4597 decoding integer, byte and anyURI xsd types.
4598
1fc6097b
CY
45992012-04-25 Chong Yidong <cyd@gnu.org>
4600
4601 * cus-edit.el (custom-buffer-create-internal): Update header text.
4602
afc6df87
EZ
46032012-04-25 Eli Zaretskii <eliz@gnu.org>
4604
4605 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4606 settings on 'system-type', not on 'window-system'. On MS-Windows,
4607 set interactive-mode on in GDB.
4608
dfbd787f
SM
46092012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4610
4611 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4612 (ruby-syntax-propertize-regexp): Remove.
4613 (ruby-syntax-propertize-function): Split regexp into chunks.
4614 Match following code directly.
4615
85222d44
DG
46162012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4617
51a8ea2a
DG
4618 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4619 (ruby-syntax-propertize-regexp): New function.
4620 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4621 by a special keyword.
4622
85222d44
DG
4623 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4624 (ruby-syntax-general-delimiters-goto-beg)
4625 (ruby-syntax-propertize-general-delimiters): New functions.
4626 (ruby-syntax-propertize-function): Use them to handle GDL.
4627 (ruby-font-lock-keywords): Move old handling of GDL...
4628 (ruby-font-lock-syntactic-keywords): .. to here.
4629 (ruby-calculate-indent): Adjust indentation for GDL.
4630
b613912b
MA
46312012-04-24 Michael Albinus <michael.albinus@gmx.de>
4632
b5380639
MA
4633 * notifications.el (top): Remove unneeded declarations.
4634 (notifications-specification-version): Change to "1.2".
e43042fe 4635 (notifications-interface, notifications-notify-method)
b613912b
MA
4636 (notifications-close-notification-method): Fix docstring.
4637 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4638 (notifications-notify): Add :action-items, :resident and
4639 :transient hints. Change "image_data" to "image-data" and
4640 "image_path" to "image-path".
b613912b
MA
4641 (notifications-get-capabilities): New defun.
4642
257440aa
LL
46432012-04-24 Leo Liu <sdl.web@gmail.com>
4644
4645 * progmodes/python.el: Move hideshow setup to the end.
4646
b1bac16e
MR
46472012-04-24 Martin Rudalics <rudalics@gmx.at>
4648
4649 * window.el (handle-select-window): Clear echo area since this is
4650 no more done by read_char (Bug#11304).
4651
d81bd059
SM
46522012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4653
4654 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4655 and `/ M' to filter-derived-mode.
4656 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4657 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4658 (ibuffer-mark-by-mode): Use default rather than initial-input.
4659 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4660
c4cf6d91
IA
46612012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4662
4663 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4664 (ibuffer-filter-by-derived-mode): New filter.
4665 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4666
7511ded8
CY
46672012-04-23 Andreas Politz <politza@fh-trier.de>
4668
4669 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4670
775c916b
CY
46712012-04-23 Chong Yidong <cyd@gnu.org>
4672
4673 * cus-edit.el (customize-apropos, customize-apropos-options):
4674 Disable matching of non-option variables (Bug#11176).
4675 (customize-option, customize-option-other-window)
4676 (customize-changed-options): Doc fix.
4677 (customize-apropos-options, customize-apropos-faces)
4678 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4679
4680 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4681 Fix word list splitting (Bug#11132).
46c71e23
CY
4682 (apropos-symbol, apropos-keybinding, apropos-label)
4683 (apropos-property, apropos-function-button)
4684 (apropos-variable-button, apropos-misc-button): New faces.
4685 (apropos-symbol-face, apropos-keybinding-face)
4686 (apropos-label-face, apropos-property-face, apropos-match-face):
4687 Variables removed (Bug#8396).
4688 (apropos-library-button, apropos-format-plist, apropos-print)
4689 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4690
2df41f9c
MA
46912012-04-23 Michael Albinus <michael.albinus@gmx.de>
4692
4693 * net/xesam.el (xesam-mode-map): Use let-bound map in
4694 initialization. (Bug#11292)
4695
da00640a
AM
46962012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4697
4698 Preserve ispell session localwords when switching back to
4699 original buffer.
4700
090bd7cb
JB
4701 * textmodes/ispell.el (ispell-buffer-session-localwords):
4702 New buffer-local variable to hold buffer session localwords.
ed9265fc 4703 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4704 localwords.
4705 (ispell-command-loop, ispell-change-dictionary)
4706 (ispell-buffer-local-words): Preserve session localwords when
4707 needed.
4708
090bd7cb
JB
4709 * textmodes/flyspell.el (flyspell-process-localwords)
4710 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4711
f621ccf5
AM
47122012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4713
090bd7cb
JB
4714 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4715 using obsolete `translation-table-for-input'.
ef24141c
SM
4716 (ispell-word, ispell-process-line, ispell-complete-word):
4717 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4718
c2d1019e
CY
47192012-04-22 Chong Yidong <cyd@gnu.org>
4720
4721 * cus-edit.el (custom-variable-menu)
4722 (custom-variable-reset-saved, custom-face-menu)
4723 (custom-face-reset-saved): If there is no saved value, make the
4724 "reset-saved" operation bring back the default (Bug#9509).
4725 (custom-face-state): Properly detect themed faces.
4726
eeddc531
CY
4727 * faces.el (face-spec-set): Stop supporting deprecated form of
4728 third arg.
4729
dcbf5805
MA
47302012-04-22 Michael Albinus <michael.albinus@gmx.de>
4731
4732 Move functions from C to Lisp. Make non-blocking method calls
4733 the default. Implement further D-Bus standard interfaces.
4734
ef24141c
SM
4735 * net/dbus.el (dbus-message-internal): Declare function.
4736 Remove unneeded function declarations.
dcbf5805
MA
4737 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4738 (dbus-message-type-method-return, dbus-message-type-error)
4739 (dbus-message-type-signal): Declare variables. Remove local
4740 definitions.
4741 (dbus-interface-dbus, dbus-interface-peer)
4742 (dbus-interface-introspectable, dbus-interface-properties)
4743 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4744 Adapt docstring.
4745 (dbus-interface-objectmanager): New defconst.
4746 (dbus-call-method, dbus-call-method-asynchronously)
4747 (dbus-send-signal, dbus-method-return-internal)
4748 (dbus-method-error-internal, dbus-register-service)
4749 (dbus-register-signal, dbus-register-method): New defuns, moved
4750 from dbusbind.c
4751 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4752 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4753 New defuns.
dcbf5805
MA
4754 (dbus-call-method-non-blocking): Make it an obsolete function.
4755 (dbus-unregister-object, dbus-unregister-service)
4756 (dbus-handle-event, dbus-register-property)
4757 (dbus-property-handler): Obey the new structure of
4758 `bus-registered-objects'.
4759 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4760 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4761 Use `dbus-call-method'.
4762
cf20dee0
CY
47632012-04-22 Chong Yidong <cyd@gnu.org>
4764
4765 * cus-edit.el (custom-commands, custom-reset-menu)
4766 (Custom-reset-standard): Tweak labels.
4767 (custom-reset-button-menu): Change default to t.
4768 (custom-buffer-create-internal): For the custom-reset-button-menu
4769 case, put the revert button first.
4770 (custom-group-subtitle): New face.
4771 (custom-group-value-create): Align docstring to a specific column.
4772
4773 * wid-edit.el (widget-documentation-link-add): Don't handle
4774 indentation in this function.
4775 (widget-documentation-string-indent-to): New function.
4776 (widget-documentation-string-value-create): Use it.
4777
4778 * autorevert.el (auto-revert):
4779 * epg-config.el (epg):
4780 * ibuffer.el (ibuffer):
4781 * mpc.el (mpc):
4782 * ses.el (ses):
4783 * eshell/eshell.el (eshell):
4784 * net/ange-ftp.el (ange-ftp):
4785 * progmodes/ebnf2ps.el (postscript):
4786 * progmodes/flymake.el (flymake):
4787 * progmodes/prolog.el (prolog):
4788 * progmodes/verilog-mode.el (verilog-mode):
4789 * progmodes/which-func.el (which-func):
4790 * term/xterm.el (xterm):
4791 * textmodes/picture.el (picture):
4792 * textmodes/tildify.el (tildify):
4793 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4794 customization buffers.
4795
583e23bd
AM
47962012-04-22 Alan Mackenzie <acm@muc.de>
4797
4798 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4799 Adding a ) can hide the resulting (..) from searches. Fix it.
4800 Bound the backward search to the position of the existing (.
4801
7dd51bf1
JB
48022012-04-21 Juanma Barranquero <lekktu@gmail.com>
4803
4804 * progmodes/verilog-mode.el (verilog-mode): Check whether
4805 which-func-modes is t before adding verilog-mode.
4806 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4807
d64a438f
LL
48082012-04-21 Leo Liu <sdl.web@gmail.com>
4809
7dd51bf1 4810 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4811
081e8d65
MV
48122012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4813
4814 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4815 filling of the last column of a table (Bug#5635).
4816 (woman-find-next-control-line): New arg, specifying an additional
4817 regexp component for the control line.
4818 (woman2-roff-buffer): Use it.
4819 (woman-break-table): New function.
4820 (woman2-TS): Use it.
4821
48222012-04-21 Chong Yidong <cyd@gnu.org>
4823
4824 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4825 (woman-horizontal-escapes, woman-negative-vertical-space)
4826 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4827 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4828
ed571ccb
SM
48292012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4830
4831 * minibuffer.el (completion-file-name-table): Complete user names.
4832
39773899
LL
48332012-04-20 Leo Liu <sdl.web@gmail.com>
4834
4835 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4836 and pcase-let*.
4837
de6ff46d
CY
48382012-04-20 Chong Yidong <cyd@gnu.org>
4839
4840 * server.el (server-execute): Respect initial-buffer-choice if it
4841 is a string and there are no files to open (Bug#2825).
4842 (server-create-window-system-frame, server-create-tty-frame):
4843 Don't switch buffers here.
2d0e8e61
CY
4844 (server-process-filter): Only try to open a window system frame if
4845 compiled with graphical support (Bug#8314).
de6ff46d 4846
54071013
DN
48472012-04-20 Dan Nicolaescu <dann@gnu.org>
4848
4849 * battery.el (battery-echo-area-format): Display remaining time
4850 for sysfs backend too (Bug#11269).
4851 (battery-linux-sysfs): Fix conditional for the charge.
4852
f30d612a
CY
48532012-04-20 Chong Yidong <cyd@gnu.org>
4854
c07a4c0b 4855 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4856 (gdb-inferior-io--init-proc): New function.
4857 (gdb-init-1): Use it.
4858 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4859 responsible for allocating a new pty and hooking it to gdb when
4860 the old pty gets an EIO due to process exit.
4861 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4862 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4863 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4864
2116e93c
EZ
48652012-04-20 Eli Zaretskii <eliz@gnu.org>
4866
4867 * window.el (window-min-size, window-sizable, window-min-delta)
4868 (window-max-delta, window--resizable, window-resizable)
4869 (window-total-size, window-full-height-p, window-full-width-p)
4870 (window-in-direction, window--resize-mini-window, window-resize)
4871 (window--resize-child-windows-normal)
4872 (window--resize-child-windows, window--resize-siblings)
4873 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4874 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4875
c07a4c0b 48762012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4877
ef24141c
SM
4878 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4879 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4880 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4881 pty process (Bug#11273).
4882 (gdb-update): New arg to suppress talking to the gdb process.
4883 (gdb-done-or-error): Use it.
4884 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4885 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4886 sentinel not being called.
4887
4888 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4889
d02766ab
CY
4890 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4891
c07a4c0b 48922012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4893
4894 * net/network-stream.el (open-network-stream): Doc fix.
4895
c07a4c0b 48962012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4897
4898 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4899
c07a4c0b 49002012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4901
4902 Ensure searching for keywords is case sensitive.
4903
4904 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4905 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4906 (c-defun-name, c-mark-function, c-cpp-define-name)
4907 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4908 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4909
ef24141c
SM
4910 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4911 Bind case-fold-search to nil.
f0f6bc35 4912
c07a4c0b 49132012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4914
4915 * mail/sendmail.el (mail-bury): Call return action with the right
4916 Rmail buffer (Bug#11242).
4917
9a864fa2
CY
4918 * server.el (server-process-filter): Handle corner case where both
4919 tty and nowait options are present (Bug#11102).
4920
539aa513
EZ
49212012-04-20 Eli Zaretskii <eliz@gnu.org>
4922
4923 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4924 (top level): Put into the executable the ident-style '$Id:' tag on
4925 windows-nt as well.
539aa513 4926
cfc7d5da
SM
49272012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4928
4929 * electric.el (electric-indent-post-self-insert-function): Check that
4930 electric-indent-mode is enabled in current buffer.
4931
5b01685c
JB
49322012-04-19 Juanma Barranquero <lekktu@gmail.com>
4933
4934 * imenu.el (imenu-progress-message): Restore; it is "used" in
4935 erc/erc-imenu.el and net/snmp-mode.el.
4936
4d6769e1
JB
49372012-04-19 Juanma Barranquero <lekktu@gmail.com>
4938
4939 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4940 (mouse-avoidance-nudge-mouse): Remove unused binding.
4941
4942 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4943
4944 * descr-text.el (describe-char):
4945 * progmodes/python.el (python-describe-symbol):
4946 Don't call `toggle-read-only', set `buffer-read-only'.
4947
4948 * imenu.el (imenu-default-goto-function): Mark unused args.
4949 (imenu-progress-message): Remove obsolete macro; all callers changed.
4950
4951 * subr.el (keymap-canonicalize): Remove unused binding.
4952 (read-passwd): Mark unused arg.
4953
4954 * tutorial.el (tutorial--display-changes): Remove unused binding.
4955 (tutorial--save-tutorial-to): Remove unused variable.
4956
4957 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4958 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4959 (package-generate-autoloads, package-menu--generate)
4960 (package-menu--find-upgrades): Remove unused bindings.
4961
4962 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4963 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4964 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4965 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4966 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4967 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4968 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4969 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4970 (cua-delete-char-rectangle): Mark unused args.
4971 (cua-align-rectangle): Remove unused binding.
4972
4973 * mail/rmail.el (compilation--message->loc)
4974 (epa--find-coding-system-for-mime-charset): Declare.
4975
4976 * net/dbus.el (dbus-register-service): Declare.
4977 (dbus-name-owner-changed-handler): Remove unused binding.
4978
4979 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4980 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4981 (nxml-scan-backward-within): Mark unused arg.
4982 (nxml-dynamic-markup-word): Remove unused binding.
4983
4984 * mouse.el (mouse-menu-major-mode-map):
4985 * emacs-lisp/authors.el (authors-scan-change-log)
4986 (authors-add-to-author-list):
4987 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4988 * emacs-lisp/smie.el (smie-auto-fill):
4989 * mail/sendmail.el (mail-bury):
4990 * mail/unrmail.el (unrmail):
4991 * net/tls.el (open-tls-stream):
4992 * textmodes/picture.el (picture-mouse-set-point):
4993 Remove unused bindings.
4994
8c8fc5df
MA
49952012-04-19 Michael Albinus <michael.albinus@gmx.de>
4996
4997 * net/tramp.el (tramp-action-password): Let-bind
4998 `enable-recursive-minibuffers' to t.
4999
a77b0ac9
SS
50002012-04-18 Sam Steingold <sds@gnu.org>
5001
5002 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5003 instead of 'string to accommodate values like [f11].
5004 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5005 * progmodes/gdb-mi.el: Likewise.
5006
12a106a9
LL
50072012-04-18 Leo Liu <sdl.web@gmail.com>
5008
5009 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5010 current buffer.
5011 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5012 LOCAL is nil.
5013
bc6494ef
CY
50142012-04-18 Chong Yidong <cyd@gnu.org>
5015
5016 * simple.el (line-move): Use forward-line if in batch mode
5017 (Bug#11053).
5018
c09c46b2
CS
50192012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5020
5021 * files.el (after-find-file): Do not try to add a final newline if
5022 the buffer is read-only (Bug#11156).
5023
5f6530ea
RS
50242012-04-17 Richard Stallman <rms@gnu.org>
5025
5026 * mail/rmail.el (rmail-start-mail):
5027 Pass (rmail-mail-return...) for the return-action.
5028 Pass (rmail-yank-current-message...) for the yank-action.
5029 (rmail-yank-current-message): New function.
5030 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5031 (rmail-reply): Likewise.
5032 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5033
5034 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5035 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5036 buffer, not newbuf.
5037
197b6f3c
JB
50382012-04-17 Juanma Barranquero <lekktu@gmail.com>
5039
5040 * server.el (server-ensure-safe-dir): Simplify.
5041
2311d8e5 50422012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5043
2311d8e5
GM
5044 * emacs-lisp/smie.el: Provide smarter auto-filling.
5045 (smie-auto-fill): New function.
5046 (smie-setup): Use it.
98fb480e 5047
2311d8e5
GM
5048 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5049
50502012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5051
5052 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5053 (comment-indent): Use it.
5054
2311d8e5 50552012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5056
5057 * ses.el: The overall change is to add cell renaming, that is
5058 setting fancy names for cell symbols other than name matching
5059 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5060 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5061 (ses-create-cell-variable): New defun.
2311d8e5 5062 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5063 (ses-relocate-formula): Relocate formulas only for cells the
5064 symbols of which are not renamed, i.e. symbols whose names do not
5065 match regexp "\\`[A-Z]+[0-9]+\\'".
5066 (ses-relocate-all): Relocate values only for cells the symbols of
5067 which are not renamed.
5068 (ses-load): Create cells variables as the (ses-cell ...) are read,
5069 in order to check row col consistency with cell symbol name only
5070 for cells that are not renamed.
5071 (ses-replace-name-in-formula): New defun.
5072 (ses-rename-cell): New defun.
4bdf2ad2 5073
fc72b15c
PO
50742012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5075
5076 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5077 New option (bug#11118).
5078 (perl-calculate-indent): Respect it.
5079
12e10e61
GM
50802012-04-17 Glenn Morris <rgm@gnu.org>
5081
5082 * dired-aux.el (dired-mark-read-string): Doc fix.
5083
30009afd
DA
50842012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5085
5086 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5087 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5088
41f03f4d
GM
50892012-04-17 Glenn Morris <rgm@gnu.org>
5090
5091 * mouse.el (mouse-drag-track):
5092 * speedbar.el (speedbar-frame-mode):
5093 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5094
f45f90f3
LL
50952012-04-16 Leo Liu <sdl.web@gmail.com>
5096
5097 * progmodes/python.el: Trivial cleanup.
5098
94ee8db5
GM
50992012-04-16 Glenn Morris <rgm@gnu.org>
5100
121b8917
GM
5101 * vc/vc.el (vc-string-prefix-p):
5102 * vc/pcvs-util.el (cvs-string-prefix-p):
5103 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5104 * mpc.el (mpc-string-prefix-p):
5105 Make all of these into obsolete aliases for string-prefix-p.
5106 Update callers.
5107 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5108
1197ecfa
GM
5109 * textmodes/two-column.el: Move custom options to the start.
5110 (frame-width): Remove compat definition.
5111 (2C-associate-buffer, 2C-dissociate):
5112 Use with-current-buffer rather than save-excursion.
5113 (2C-dissociate): Force a mode-line update.
5114 (2C-autoscroll): Use ignore-errors.
5115
099e7202
GM
5116 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5117 Autoload trivia.
5118
bf350d6a
GM
5119 * emacs-lisp/cl-extra.el (*random-state*):
5120 Remove unnecessary declaration.
5121
0e829eab
GM
5122 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5123
e3ad7552
GM
5124 * play/cookie1.el (cookie-snarf):
5125 Give an explicit error if input file cannot be read.
5126
68892d27
GM
5127 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5128
20f0c46d
GM
5129 * progmodes/perl-mode.el (c-macro-expand):
5130 Remove unnecessary autoload (it is in loaddefs.el).
5131
5a0978ce
GM
5132 * textmodes/picture.el (picture-desired-column)
5133 (picture-update-desired-column): Convert comments to doc-strings.
5134 (picture-substitute): Remove function.
5135 (picture-mode-map): Initialize in the defvar.
5136
6b955486
GM
5137 * woman.el: Remove eval-after-load for tar-mode.
5138 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5139 (woman-tar-extract-file): Autoload it.
5140
94ee8db5
GM
5141 * frame.el (automatic-hscrolling): Make this alias obsolete.
5142
177eca34
AM
51432012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5144
090bd7cb 5145 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5146 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5147 (ispell-dictionary-base-alist): Revert to original XEmacs
5148 friendly version for default. [:alpha:] will be added in
090bd7cb 5149 `ispell-set-spellchecker-params' if needed.
177eca34 5150
c505aaeb
CY
51512012-04-16 Chong Yidong <cyd@gnu.org>
5152
b19dd9d1 5153 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5154 (imagemagick-register-types): Use it.
5155 (imagemagick-types-inhibit): Add :set function. Allow new value
5156 of t to inhibit all types.
5157
5158 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5159 so we can preload it.
5160
5161 * loadup.el (fboundp): Preload regexp-opt, needed by
5162 imagemagick-register-types.
5163
60efac0f
CY
51642012-04-15 Chong Yidong <cyd@gnu.org>
5165
5166 * frame.el (scrolling): Remove nearly unused customization group.
5167
5168 * scroll-all.el (scroll-all-mode): Move to windows group.
5169
5dd1713e
CY
51702012-04-15 Chong Yidong <cyd@gnu.org>
5171
5172 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5173
e6fd457e
CY
51742012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5175
5176 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5177 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5178
e153c136
GM
51792012-04-15 Glenn Morris <rgm@gnu.org>
5180
5181 * simple.el (process-file-side-effects): Doc fix.
5182
e6fd457e 51832012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5184
5185 * international/mule-cmds.el (set-language-environment): Doc fix.
5186
3603c3b1
JB
51872012-04-14 Juanma Barranquero <lekktu@gmail.com>
5188
5189 * server.el (server-auth-key, server-generate-key): Doc fixes.
5190 (server-get-auth-key): Doc fix. Use `string-match-p'.
5191 (server-start): Reflow docstring.
5192
e6de100c
LI
51932012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5194
5195 * server.el (server-generate-key): `called-interactively-p'
5196 requires a parameter.
5197
29734c21
MN
51982012-04-14 Michal Nazarewicz <mina86@mina86.com>
5199
5200 * server.el (server-auth-key): New variable.
75f1671a 5201 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5202 (server-start): Use the new variable and functions to allow
5203 setting a permanent server key (bug#9423).
5204
d65c9521
LL
52052012-04-14 Leo Liu <sdl.web@gmail.com>
5206
5207 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5208
5ae255c7
PE
52092012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5210
5211 Spelling fixes.
5212 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5213 Emacs uses American spelling.
5214
d5e6342e
JB
52152012-04-14 Juanma Barranquero <lekktu@gmail.com>
5216
5217 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5218 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5219 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5220 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5221
ab036cd7
SM
52222012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5223
5224 * progmodes/which-func.el (which-func-modes): Change default.
5225
35dc09a1 52262012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5227
5228 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5229 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5230
35dc09a1 52312012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5232
5233 * custom.el (custom-theme-set-variables): Doc fix.
5234
35dc09a1 52352012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5236
5237 * international/mule.el (set-auto-coding-for-load): Doc fix.
5238
35dc09a1 52392012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5240
35dc09a1
GM
5241 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5242 imenu work again for Objective C Mode. Correct the *-index values,
5243 these having been disturbed by a previous change in 2011-08.
57f845ee 5244
0de3da9f
AM
5245 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5246 Correct two search limits.
5247
35dc09a1 52482012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5249
5250 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5251
35dc09a1 52522012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5253
5254 * international/characters.el: Fix sorting.
5255
35dc09a1 52562012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5257
5258 * international/characters.el: Add more missing Latin case pairs.
5259
35dc09a1 52602012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5261
5262 * files.el (dir-locals-set-class-variables): Doc fix.
5263
35dc09a1 52642012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5265
3f1b5bf8
EZ
5266 * international/characters.el: Add set-case-syntax-pair call for
5267 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5268 counterpart. (Bug#11209)
5269
9f847f41
EZ
5270 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5271
35dc09a1 52722012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5273
5274 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5275
35dc09a1 52762012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5277
35dc09a1
GM
5278 * textmodes/ispell.el (ispell-dictionary-base-alist):
5279 Add data for Hebrew.
e2627d21 5280
35dc09a1 52812012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5282
35dc09a1
GM
5283 * net/rcirc.el (rcirc-cmd-quit):
5284 Revert 2012-03-18 change (Bug#11192).
5c14e333 5285
35dc09a1 52862012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5287
5288 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5289
35dc09a1 52902012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5291
4517fe3a
SM
5292 * minibuffer.el (completion-in-region-mode-map):
5293 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5294
b472a594
VD
52952012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5296
5297 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5298
09b95ce3
MY
52992012-04-13 Masatake YAMATO <yamato@redhat.com>
5300
5301 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5302 to allow `C-M-f' and `C-M-b' to move to the nearest path
5303 separator (bug#9511).
5304
4b63a9ca
LI
53052012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5306
5307 * avoid.el: Require cl when compiling. And also move the
5308 `provide' to the end.
5309
7b55b8bf
TV
53102012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5311
5312 * avoid.el (mouse-avoidance-banish-position): New variable.
5313 (mouse-avoidance-banish-destination): Use it (bug#10165).
5314
adedaa1f
LL
53152012-04-13 Leo Liu <sdl.web@gmail.com>
5316
5317 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5318
70e74021
KB
53192012-04-13 Ken Brown <kbrown@cornell.edu>
5320
5321 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5322 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5323 (browse-url-filename-alist): For the same reason, don't modify
5324 file:// URLs on Cygwin.
5325
e75e89ba
SM
53262012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5327
5328 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5329 the region on shift if the binding is already shifted (bug#11221).
5330
82f289a4
GM
53312012-04-12 Glenn Morris <rgm@gnu.org>
5332
5333 * mail/mailpost.el: Move to obsolete/.
5334
d333dc4c
DA
53352012-04-12 Drew Adams <drew.adams@oracle.com>
5336
5337 * imenu.el (imenu--generic-function): Ignore invisible definitions
5338 (bug#10123).
5339
0d15b5ba
VD
53402012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5341
5342 * hexl.el (hexl-bits): New variable.
5343 (hexl-options): Mention the variable in the doc string.
75f1671a 5344 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5345 (hexl-mode): Mention the new variable.
75f1671a
JB
5346 (hexl-mode, hexl-current-address, hexl-current-address):
5347 Use the displen.
0d15b5ba
VD
5348 (hexl-ascii-start-column): New function.
5349 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5350 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5351
64a440db
AM
53522012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5353
5354 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5355 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5356 the encoding, as expected by hunspell.
5357
6decb6c2
SM
53582012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * battery.el (battery--linux-sysfs-regexp): New const.
5361 (battery-status-function): Use it. Remove yeeloong special case.
5362 (battery-yeeloong-sysfs): Remove.
5363 (battery-echo-area-format): Remove yeeloong special case.
5364
088be6fb
SM
53652012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5366
6622e416
SM
5367 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5368 Reported by Noah Friedman.
5369
088be6fb
SM
5370 * subr.el (read-passwd): Use read-string.
5371
b49f886e
LMI
53722012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5373
5374 * vcursor.el (vcursor-move): Increase the priority of the overlay
5375 (bug#9663).
5376
a63067fc
DD
53772012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5378
5379 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5380 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5381
ac3cf14a
WS
53822012-04-11 William Stevenson <yhvh2000@gmail.com>
5383
5384 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5385 define-minor-mode (bug#10760).
5386
c4fc691b 53872012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5388
4d6769e1 5389 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5390 that directories matching `grep-find-ignored-files' won't be
5391 pruned (bug#10351).
5392
af23e2e5
CY
53932012-04-11 Chong Yidong <cyd@gnu.org>
5394
5395 * startup.el (command-line): Remove support for long-obsolete
5396 variable font-lock-face-attributes.
5397
ab7ce8c1
GM
53982012-04-11 Glenn Morris <rgm@gnu.org>
5399
5400 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5401
de8c03dc
SM
54022012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5403
5404 * window.el (window--state-get-1): Obey window-point-insertion-type.
5405
050cc68b
LB
54062012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5407
5408 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5409 to previous function when point is on the first character of a
75f1671a 5410 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5411
a38c310c
GM
54122012-04-11 Glenn Morris <rgm@gnu.org>
5413
effed0c2
GM
5414 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5415 not just file-errors.
5416
a38c310c
GM
5417 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5418 (vc-bzr-sha1): Use internal sha1.
5419
0221e323
SM
54202012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5421
5422 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5423
43956923
SG
54242012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5425
5426 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5427 that start in the middle of the line (bug#10496).
5428
6a8c9eaf
DN
54292012-04-10 Dan Nicolaescu <dann@gnu.org>
5430
5431 * battery.el (battery-linux-proc-acpi): Only one battery is
5432 discharged at a time, but that seems to confuse battery.el when
5433 computing `rate-type' for the battery not being discharged
5434 (bug#10332).
5435
1930bf5d
SM
54362012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5437
2a718f6f
SM
5438 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5439
599430d0
SM
5440 * international/quail.el: Use dolist and simplify.
5441 (quail-define-package, quail-update-keyboard-layout)
5442 (quail-define-rules): Use dolist.
5443 (quail-insert-kbd-layout, quail-get-translation): CSE.
5444
a2754b6c
SM
5445 * tmm.el: Use dolist, remove left over hook.
5446 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5447 Use dolist.
5448 (calendar-load-hook): Don't mess with it.
5449
1930bf5d
SM
5450 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5451 Use derived-mode-p. Run the diff asynchronously.
5452
9f67961c
LMI
54532012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5454
5455 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5456
2a8ce227
JB
54572012-04-10 Juanma Barranquero <lekktu@gmail.com>
5458
5459 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5460 (list-dynamic-libraries--loaded): New function.
5461 (list-dynamic-libraries--refresh): Use it.
5462
8f33b5f8
NW
54632012-04-10 Nathan Weizenbaum <nweiz@google.com>
5464
1930bf5d
SM
5465 * progmodes/python.el (python-fill-paragraph):
5466 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5467 disabled (bug#7018).
5468
b12f0439
L
54692012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5470
1930bf5d 5471 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5472 DOS/MS Windows for the Baltic languages. There are still plenty
5473 of texts written in this encoding/codepage (bug#6519).
b12f0439 5474
57c3bd01
GM
54752012-04-10 Glenn Morris <rgm@gnu.org>
5476
5477 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5478 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5479
6c3eab30
FA
54802012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5481
1930bf5d 5482 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5483 next-line "n" and previous-line "p" in order to make recentf more
5484 consistent with ibuffer, dired or org-mode (bug#9387).
5485
24d78a88
LMI
54862012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5487
bc72b5d9
LMI
5488 * image.el (put-image): Return the overlay created instead of the
5489 optional input string (bug#7834). Note that this may break code
5490 that is (for some reason or other) depending on `put-image'
5491 returning the string.
5492
bd2dba5a
LMI
5493 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5494
74beb59f
LMI
5495 * simple.el (zap-to-char): Allow zapping using input methods
5496 (bug#1580).
5497
24d78a88
LMI
5498 * textmodes/fill.el (fill-region): Leave point and mark where they
5499 were before filling (bug#5399).
5500
263f20cd
GM
55012012-04-09 Glenn Morris <rgm@gnu.org>
5502
5503 * version.el (emacs-bzr-get-version):
5504 Handle lightweight checkouts of local branches.
5505
58d1f797
AS
55062012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5507
263f20cd 5508 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5509
b4d3bc10
CY
55102012-04-09 Chong Yidong <cyd@gnu.org>
5511
5512 * custom.el (custom-variable-p): Return nil for non-symbol
5513 arguments instead of signaling an error.
5514 (user-variable-p): Obsolete alias for custom-variable-p.
5515
5516 * apropos.el (apropos-variable):
5517 * files-x.el (read-file-local-variable):
5518 * simple.el (set-variable):
5519 * woman.el (woman-mini-help):
5520 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5521
fd06db5d
GM
55222012-04-09 Glenn Morris <rgm@gnu.org>
5523
e5fcdb5e
GM
5524 * startup.el (normal-top-level): Don't look for leim-list.el
5525 in places where it will not be found. (Bug#910)
5526
fd06db5d
GM
5527 * international/mule-cmds.el (set-default-coding-systems):
5528 * files.el (normal-mode):
5529 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5530 This function was removed with ucs-tables.el in 2008.
5531
b39bb7e1
EZ
55322012-04-08 Eli Zaretskii <eliz@gnu.org>
5533
5534 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5535 ispell-encoding8-command to "-i", without a trailing space.
5536 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5537 separate command-line arguments, to specify the encoding, since
5538 that's how hunspell expects it.
5539
5c5b8e23
GM
55402012-04-08 Glenn Morris <rgm@gnu.org>
5541
5542 * loadup.el: Load bindings before cus-start.
5543 This reduces somewhat the number of "rogue" settings in emacs -Q.
5544
a1ed8b05
GM
55452012-04-07 Glenn Morris <rgm@gnu.org>
5546
5547 * version.el (emacs-bzr-get-version): New function.
dfae128a 5548 (emacs-bzr-version): New variable.
a1ed8b05
GM
5549 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5550 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5551
b142f158
EZ
55522012-04-07 Eli Zaretskii <eliz@gnu.org>
5553
dfae128a
GM
5554 * international/uni-bidi.el, international/uni-category.el:
5555 * international/uni-combining.el, international/uni-decimal.el:
5556 * international/uni-decomposition.el, international/uni-digit.el:
5557 * international/uni-lowercase.el, international/uni-mirrored.el:
5558 * international/uni-name.el, international/uni-numeric.el:
5559 * international/uni-titlecase.el, international/uni-uppercase.el:
5560 Update for Unicode 6.1.
b142f158 5561
9078ead6
EZ
55622012-04-07 Eli Zaretskii <eliz@gnu.org>
5563
5564 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5565
f23d2c7d
LMI
55662012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5567
5568 * window.el (shrink-window): Mention the `window-min-height'
5569 variable in the doc string.
5570
0a0a3573
BG
55712012-04-05 Bastien Guerry <bzg@altern.org>
5572
5573 * color.el (color-lighten-name): Fix typo.
5574
e5248ac9
SM
55752012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5576
5577 * server.el (server--on-display-p): New function.
5578 (server--on-display-p): Use it.
5579
b4243e22
GV
55802012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5581
5582 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5583 (bug#11145).
5584
305d9f44
SM
55852012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5586
5587 * comint.el (comint--common-quoted-suffix): Check string boundary
5588 before comparing (bug#11158).
5589 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5590
3d439cd1
CY
55912012-04-04 Chong Yidong <cyd@gnu.org>
5592
321cc491
CY
5593 * minibuffer.el (completion-extra-properties): Doc fix.
5594
3d439cd1
CY
5595 * subr.el (delayed-warnings-hook): Doc fix.
5596
2d562c0f
DU
55972012-04-04 Daiki Ueno <ueno@unixuser.org>
5598
5599 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5600 selection (Bug#11159).
5601 (epa-insert-keys): Inform that the default public key will be
5602 exported if no key is selected.
5603
4443f204
RS
56042012-04-04 Richard Stallman <rms@gnu.org>
5605
5606 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5607
529c06b6
CY
56082012-04-03 Chong Yidong <cyd@gnu.org>
5609
5610 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5611 mail-insert-file, not its obsolete alias mail-attach-file.
5612
66b907dc
MA
56132012-04-03 Michael Albinus <michael.albinus@gmx.de>
5614
5615 * notifications.el (notifications-notify): Fix docstring.
5616
c0ea195d
GM
56172012-04-02 Glenn Morris <rgm@gnu.org>
5618
5619 * emacs-lisp/authors.el (authors-aliases): Another addition.
5620
5ca64e00
MA
56212012-04-02 Michael Albinus <michael.albinus@gmx.de>
5622
5623 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5624 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5625 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5626
42ee526b
CY
56272012-04-01 Chong Yidong <cyd@gnu.org>
5628
5629 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5630 Handle root directory properly.
5631 (copy-directory): Caller changed.
5632
5633 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5634 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5635
0b021094
GM
56362012-03-31 Glenn Morris <rgm@gnu.org>
5637
40f86458
GM
5638 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5639
7019c177
GM
5640 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5641
a1daddd6
GM
5642 * calendar/calendar.el (calendar-window-list)
5643 (calendar-hide-window): Restore. (Bug#11140)
5644 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5645
0b021094
GM
5646 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5647
40311efc
TV
56482012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5649
5650 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5651 Check if file is a symlink (Bug#10489).
5652
5653 * files.el (copy-directory): Likewise.
5654
5319014e
CY
56552012-03-30 Chong Yidong <cyd@gnu.org>
5656
5657 * image.el (imagemagick-types-inhibit)
5658 (imagemagick-register-types): Doc fix.
5659
935d1290
AM
56602012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5661
090bd7cb 5662 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5663 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5664 and treats ~word as ordinary words in pipe mode.
935d1290 5665
61c6e8fd
GM
56662012-03-30 Glenn Morris <rgm@gnu.org>
5667
5668 * tutorial.el (help-with-tutorial): Ensure local variables don't
5669 happen to make the buffer read-only. (Bug#11127)
5670
81fdff00
SM
56712012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5672
5673 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5674 (perl-calculate-indent): Return `noindent' in strings.
5675
6e7a6ec0
SS
56762012-03-28 Sam Steingold <sds@gnu.org>
5677
5678 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5679 instead of the broken adhockery which does not prevent calendar
5680 buffers from being displayed at random after exit.
5681 (calendar-window-list, calendar-hide-window): Remove the broken
5682 adhockery.
5683
fee88ca0
GM
56842012-03-28 Glenn Morris <rgm@gnu.org>
5685
5686 * replace.el (query-replace-map): Doc fix.
5687
38de3354
AS
56882012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5689
5690 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5691 contents. (Bug#11109)
5692
b973155e
SM
56932012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5694
5695 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5696 (bug#11077).
5697 (avl-tree--check, avl-tree--check-node): New funs.
5698
dcb6e7b3
MR
56992012-03-27 Martin Rudalics <rudalics@gmx.at>
5700
5701 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5702 (switch-to-prev-buffer, switch-to-next-buffer):
5703 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5704 showing a buffer already is done on the same frame.
5705
b4fa35fa
GM
57062012-03-27 Glenn Morris <rgm@gnu.org>
5707
5708 * startup.el (mail-host-address): Doc fix.
5709
f9210e18
SM
57102012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5711
5712 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5713 than 197 variables.
5714
c0bf7753
AF
57152012-03-26 Ami Fischman <ami@fischman.org>
5716
5717 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5718
33da7b16
GM
57192012-03-26 Glenn Morris <rgm@gnu.org>
5720
02243d9d
GM
5721 * files.el (save-buffers-kill-emacs): Doc fix.
5722
33da7b16
GM
5723 * startup.el (normal-top-level, command-line, command-line-1):
5724 Give them doc strings.
5725
e5a69fd0
EZ
57262012-03-25 Eli Zaretskii <eliz@gnu.org>
5727
5728 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5729 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5730
9a69676a
CY
57312012-03-25 Chong Yidong <cyd@gnu.org>
5732
4125cb8b
CY
5733 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5734 theme if it was previously enabled before (Bug#11031).
5735
dd470960
CY
5736 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5737 spec with custom-face-get-current-spec if its :shown-value is not
5738 determined yet (Bug#9337).
4125cb8b 5739 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5740
9a69676a
CY
5741 * button.el (button-at): Minor addition to docstring.
5742
6e7e90fa
SL
57432012-03-24 Simon Leinen <simon.leinen@gmail.com>
5744
5745 * vc/vc.el (vc-merge): Fix a prompt.
5746
f06e2758
CY
57472012-03-24 Chong Yidong <cyd@gnu.org>
5748
5749 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5750 point (Bug#9623).
5751
6e7e90fa
SL
5752 * button.el (button-at): Minor addition to docstring.
5753
b9d0879b
SM
57542012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5755
5756 * newcomment.el (comment-choose-indent): No space after BOL.
5757
e71cebb3
SS
57582012-03-22 Sam Steingold <sds@gnu.org>
5759
5760 * window.el (switch-to-prev-buffer): Revert last patch because the
5761 bug turned out to be an advertised feature (Elisp manual 28.14).
5762
335aff35
GM
57632012-03-22 Glenn Morris <rgm@gnu.org>
5764
5765 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5766 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5767
c676576a
LMI
57682012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5769
5770 * net/network-stream.el (network-stream-open-starttls): Make error
5771 message under Windows be less misleading.
5772
126f3d39
LW
57732012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5774
5775 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5776 understands (bug#9942).
5777
64fee311
CY
57782012-03-22 Chong Yidong <cyd@gnu.org>
5779
5780 * simple.el (end-of-visible-line): Handle return value of
5781 next-single-property-change properly (Bug#9371).
5782
a640d29a
KH
57832012-03-22 Kenichi Handa <handa@m17n.org>
5784
5785 * international/quail.el (quail-insert-kbd-layout): Fix previous
5786 change. To avoid unwanted bidi reordering, use
5787 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5788
39675016
DG
57892012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5790
5791 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5792 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5793 (ruby-beginning-of-indent): Be more careful with the difference
5794 between word-boundary and symbol boundary.
5795 (ruby-mode-syntax-table): Make : a symbol constituent.
5796
0a6934fc 57972012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5798
3d008e4f
SM
5799 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5800
0a6934fc
SM
58012012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5802
af67c9d7
SM
5803 * progmodes/etags.el (tags-completion-at-point-function):
5804 Improve last fix.
5805
1acad97c
SM
5806 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5807
e298b5da
SS
58082012-03-21 Sam Steingold <sds@gnu.org>
5809
5810 * progmodes/etags.el (tags-completion-at-point-function):
5811 Avoid the error when point is inside the pattern.
5812
91d82a70
JY
58132012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5814
5815 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5816 line (Bug#10855).
5817
69188b79
CY
58182012-03-21 Drew Adams <drew.adams@oracle.com>
5819
5820 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5821
99fc91fe
AK
58222012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5823
5824 * ido.el (ido-set-current-directory, ido-read-internal)
5825 (ido-choose-completion-string, ido-completion-help): Handle nil
5826 value of ido-completion-buffer (Bug#11008).
5827
087bbb4c
SS
58282012-03-21 Sam Steingold <sds@gnu.org>
5829
5830 * window.el (switch-to-prev-buffer): Do not switch to a visible
5831 window previous buffer, just like with the frame previous buffers.
5832
fb5b8aca
CY
58332012-03-21 Chong Yidong <cyd@gnu.org>
5834
5835 * faces.el (make-face, make-empty-face, copy-face):
5836 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5837 Doc fixes.
5838
dc9924b8
SM
58392012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5840
5841 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5842 (widget-complete): Remove broken use of it.
5843
f0bcceb9
CY
58442012-03-20 Chong Yidong <cyd@gnu.org>
5845
dc9924b8
SM
5846 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5847 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5848 characters.
5849
ee52ebf3
TH
58502012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5851
5852 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5853 to draw rectangles, not squares. (Regression introduced by revno
5854 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5855
4c5779ab
CY
58562012-03-18 Chong Yidong <cyd@gnu.org>
5857
5858 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5859 it is not yet defined (for temacs).
5860
15360934
LL
58612012-03-18 Leo Liu <sdl.web@gmail.com>
5862
dc9924b8 5863 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5864
d9a8eb66
EZ
58652012-03-17 Eli Zaretskii <eliz@gnu.org>
5866
5867 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5868 (ispell-choices-win-default-height, ispell-silently-savep)
5869 (ispell-dictionary-alist, ispell-encoding8-command)
5870 (ispell-check-version, ispell-aspell-find-dictionary)
5871 (ispell-valid-dictionary-list, ispell-words-keyword)
5872 (ispell-get-word, ispell-internal-change-dictionary)
5873 (ispell-region, ispell-skip-region-list)
5874 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5875 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5876 (ispell-message-text-end, ispell-message)
5877 (ispell-buffer-local-parsing): Doc fix.
5878
f02ff80d
J
58792012-03-13 Jambunathan K <kjambunathan@gmail.com>
5880
5881 * htmlfontify.el: Add support for code block fontification for ODT
5882 export (Bug #9914).
5883 (hfy-optimisations): Define new option
5884 `body-text-only'
5885 (hfy-fontify-buffer): Honor above setting.
5886 (hfy-begin-span, hfy-end-span): New routines factored out form
5887 `hfy-fontify-buffer'.
5888 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5889 that permit insertion of custom tags.
5890 (hfy-fontify-buffer): Use above handlers.
5891 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5892 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5893 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5894 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5895 bind a special variable `hfy-user-sheet-assoc'.
5896 (htmlfontify-string): New defun.
5897 (hfy-compile-face-map): Make sure that the last char in the
5898 buffer is correctly fontified.
5899 (hfy-face-resolve-face): Whitespace only change.
5900
9ac7a13f
EZ
59012012-03-17 Eli Zaretskii <eliz@gnu.org>
5902
5903 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5904 message more clear.
5905
e2b5bdd7
LL
59062012-03-16 Leo Liu <sdl.web@gmail.com>
5907
5908 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5909
2e492df3
AM
59102012-03-16 Alan Mackenzie <acm@muc.de>
5911
5912 Further optimise the handling of large macros.
5913
5914 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5915 limit to a call of `c-literal-limits'.
5916 (c-determine-+ve-limit): New function.
dc9924b8
SM
5917 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5918 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5919 In CASE 5B, restrict a search limit to 500.
5920 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5921
5922 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5923 Restrict macro bounds to +-500 from after-change's BEG END.
5924
50e94f0c
LL
59252012-03-16 Leo Liu <sdl.web@gmail.com>
5926
5927 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5928
6f09f6ed
AH
59292012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5930
5931 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5932 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5933
c7e73d51
GM
59342012-03-16 Glenn Morris <rgm@gnu.org>
5935
da986230
GM
5936 * view.el (view-buffer, view-buffer-other-window)
5937 (view-buffer-other-frame): Doc fixes re special mode-class.
5938
0835f01e
GM
5939 * subr.el (eval-after-load): If named feature is provided not from
5940 a file, run after-load forms. (Bug#10946)
5941
c7e73d51
GM
5942 * calendar/calendar.el (calendar-insert-at-column):
5943 Handle non-unit-width characters a bit better. (Bug#10978)
5944
3f2eafd1
CY
59452012-03-15 Chong Yidong <cyd@gnu.org>
5946
5947 * emacs-lisp/ring.el (ring-extend): New function.
5948 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5949
5950 * comint.el (comint-read-input-ring)
5951 (comint-add-to-input-history): Grow comint-input-ring lazily.
5952
103af3fe
SM
59532012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5954
663b1677
SM
5955 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5956 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5957
103af3fe
SM
5958 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5959 (imenu-add-to-menubar): Don't add a redundant index.
5960 (imenu-update-menubar): Handle a dynamically composed keymap.
5961
899cb7cb
KY
59622012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5963
5964 * mail/sendmail.el (mail-encode-header):
5965 Bind rfc2047-encode-encoded-words to nil.
5966
3809f91d
GM
59672012-03-13 Glenn Morris <rgm@gnu.org>
5968
5969 * calendar/calendar.el (calendar-string-spread):
5970 Handle non-unit-width characters a bit better. (Bug#10978)
5971
9e345a01
LL
59722012-03-13 Leo Liu <sdl.web@gmail.com>
5973
5974 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5975 directory and file as argument (Bug#10822).
5976
4a07df36
KS
59772012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5978
5979 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5980 For dynamically generated code, follow $PC.
5981 (gdb-disassembly-handler-custom): Handle no function name case.
5982
4aaa9356
TL
59832012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5984
5985 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5986 * emulation/ws-mode.el (ws-query-replace):
5987 * sort.el (sort-regexp-fields):
5988 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5989
225979da
SM
59902012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5991
5992 * dabbrev.el: Fix cycle completion order (bug#10963).
5993 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5994 (dabbrev-completion): Don't use an obarray; provide
5995 a cycle-sort-function.
5996
e2f1fdab
LL
59972012-03-12 Leo Liu <sdl.web@gmail.com>
5998
dc9924b8 5999 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6000 (kill-do-not-save-duplicates): Doc fix.
6001
b19490ed
SM
60022012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6003
6004 * dabbrev.el: Fix cycle completion (bug#10963).
6005 Use lexical binding and wrap to 80 columns.
6006 (dabbrev-completion): Delay computing the list of completions.
6007
4b05d722
KH
60082012-03-12 Kenichi Handa <handa@m17n.org>
6009
6010 * international/quail.el (quail-insert-kbd-layout): Surround each
6011 row by LRO and PDF instead of inserting many LRMs. Pad the left
6012 and right of each non-spacing marks. Insert invisible space
6013 between lower and upper characters to prevent composition.
6014
dbbc2e69
SM
60152012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6016
6017 * minibuffer.el (minibuffer-complete): Don't get confused when the
6018 function is run twice via different commands (bug#10958).
6019 (complete-with-action): Fix docstring.
6020
292112ed
CY
60212012-03-12 Chong Yidong <cyd@gnu.org>
6022
5d1ac394
CY
6023 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6024 (nxml-completion-at-point-function): New function.
6025 (nxml-mode): Use it.
6026 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6027
292112ed
CY
6028 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6029 Load generated autoloads file before byte compiling (Bug#10970).
6030 (package--make-autoloads-and-compile): New helper fun.
6031
4098f8f7
CS
60322012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6033
6034 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6035
8f754691
MA
60362012-03-11 Michael Albinus <michael.albinus@gmx.de>
6037
6038 * autorevert.el (auto-revert-handler): Ensure, that
6039 file-readable-p is applied only for local files or in
6040 auto-revert-tail-mode.
6041
e29ab36b
AS
60422012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6043
dbbc2e69
SM
6044 * server.el (server-eval-at): Handle non-tcp connections.
6045 Decode result string.
ad0bf5b6 6046
e29ab36b
AS
6047 * server.el (server-msg-size): New constant.
6048 (server-reply-print): New function.
6049 (server-eval-and-print): Use it.
6050 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6051 Handle -print-nonl.
6052
de5939ba
CS
60532012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6054
6055 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6056 (Bug#10987).
6057
0c93eabf
CY
60582012-03-11 Chong Yidong <cyd@gnu.org>
6059
397a688f
CY
6060 * simple.el (goto-line): Doc fix (Bug#9938).
6061
2cc775f9
CY
6062 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6063
0c93eabf
CY
6064 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6065 when finished (Bug#10963).
6066
c491fa41
MR
60672012-03-11 Martin Rudalics <rudalics@gmx.at>
6068
6069 * window.el (split-window-below): Fix bug in case where
6070 split-window-keep-point is nil (Bug#10971).
6071
300e8fa5
JL
60722012-03-11 Juri Linkov <juri@jurta.org>
6073
6074 * replace.el (replace-highlight): Set isearch-word to nil
6075 unconditionally. (Bug#10887)
6076
dbf6c5a1
EZ
60772012-03-10 Eli Zaretskii <eliz@gnu.org>
6078
6079 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6080 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6081 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6082 (mairix-widget-create-query): Add usage information about mairix
6083 search forms: negating words, searching for substrings, etc.
6084
b9e501de
JP
60852012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6086
6087 * international/fontset.el (font-encoding-alist): Add an entry for
6088 ksx1001 (Bug#5667).
6089
92795c91
RS
60902012-03-10 Richard Stallman <rms@gnu.org>
6091
1694e6c1
RS
6092 * mail/sendmail.el (mail-encode-header):
6093 Set rfc2047-encode-encoded-words.
6094
607e8555
RS
6095 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6096
de3bc99a
RS
6097 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6098 view buffer means not swapped.
6099 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6100 (rmail-write-region-annotate): Error if real text has disappeared.
6101
92795c91
RS
6102 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6103
699bd04e
CY
61042012-03-10 Chong Yidong <cyd@gnu.org>
6105
6106 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6107 * emulation/cua-base.el (cua--init-keymaps):
6108 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6109
570a1714
MR
61102012-03-10 Martin Rudalics <rudalics@gmx.at>
6111
dbbc2e69
SM
6112 * speedbar.el (speedbar-unhighlight-one-tag-line):
6113 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6114
82dcf4e4
CY
61152012-03-10 Chong Yidong <cyd@gnu.org>
6116
7a2c7ca7
CY
6117 * minibuffer.el (completion-in-region, completion-help-at-point):
6118 Give the completion field overlay a high priority (Bug#6830).
6119
82dcf4e4
CY
6120 * dired.el (dired-goto-file): Recognize absolute file name
6121 listings (Bug#7126).
6122 (dired-goto-file-1): New helper function.
6123 (dired-toggle-read-only): Inhibit warnings.
6124
052e28ac
MA
61252012-03-09 Michael Albinus <michael.albinus@gmx.de>
6126
75f1671a 6127 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6128 there are no properties.
6129
95d5e396
LL
61302012-03-09 Leo Liu <sdl.web@gmail.com>
6131
6132 * savehist.el (savehist-printable): Stricter check for string
6133 value (Bug#10937).
6134
3f018d6d
EZ
61352012-03-09 Eli Zaretskii <eliz@gnu.org>
6136
dbbc2e69
SM
6137 * mail/smtpmail.el (smtpmail-send-it):
6138 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6139 valid mbox format.
6140
f7fd3d79
GM
61412012-03-09 Glenn Morris <rgm@gnu.org>
6142
6143 * files.el (dir-locals-find-file):
6144 Don't check result is regular, readable.
6145 (dir-locals-read-from-file): Demote errors.
6146
6ff6e72f
EZ
61472012-03-08 Eli Zaretskii <eliz@gnu.org>
6148
dbbc2e69
SM
6149 * international/quail.el (quail-insert-kbd-layout):
6150 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6151 layout cell, to prevent their reordering by bidi display engine.
6152 For details, see the discussion in
6153 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6154
9cec7834
AM
61552012-03-08 Alan Mackenzie <acm@muc.de>
6156
6157 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6158 the starting position; make it extend the marked region when
6159 invoked repeatedly - all under appropriate circumstances.
6160 Fixes bugs #5525, #10906.
6161
9a40b8d4
GM
61622012-03-08 Glenn Morris <rgm@gnu.org>
6163
6164 * files.el (locate-dominating-file, dir-locals-find-file):
6165 Undo 2012-03-06 change.
6166
7a08ed35
EZ
61672012-03-07 Eli Zaretskii <eliz@gnu.org>
6168
dbbc2e69
SM
6169 * international/quail.el (quail-help):
6170 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6171 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6172 for the reason.
6173
5aca4f71 61742012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6175
6176 Avoid superfluous registering of signals. (Bug#10807)
6177
6178 * notifications.el (notifications-on-action-object)
6179 (notifications-on-close-object): New defvars.
6180 (notifications-on-action-signal, notifications-on-closed-signal):
6181 Unregister the signal if not needed any longer.
6182 (notifications-notify): Register `notifications-action-signal' or
6183 `notifications-closed-signal', if :on-action or :on-close has been
6184 passed as argument.
6185
78e8b10a
CY
61862012-03-07 Chong Yidong <cyd@gnu.org>
6187
6188 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6189 non-X platforms.
6190
69481eb8
GM
61912012-03-06 Glenn Morris <rgm@gnu.org>
6192
6193 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6194 (x-disown-selection-internal, x-get-selection-internal):
6195 Doc fix (add arglist signatures). (Bug#10783)
6196
133b8e11
KS
61972012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6198
6199 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6200 Handle breakpoints with no "type".
6201
99a83064
GM
62022012-03-06 Glenn Morris <rgm@gnu.org>
6203
6204 * files.el (locate-dominating-file): Add optional predicate argument.
6205 (dir-locals-find-file): Make use of above change.
6206
17798e78
TTN
62072012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6208
6209 * info.el (Info-insert-dir): Also try "dir.gz".
6210
eb182446
GM
62112012-03-06 Glenn Morris <rgm@gnu.org>
6212
8f2114ee
GM
6213 * files.el (dir-locals-find-file):
6214 Ignore non-readable or non-regular files. (Bug#10928)
6215
eb182446
GM
6216 * files.el (locate-dominating-file): Doc fix.
6217
24679323
AS
62182012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6219
6220 * calendar/calendar.el (calendar-set-mode-line):
6221 `getenv' returns a string. (Bug#10951)
6222
01d972a9
LL
62232012-03-05 Leo Liu <sdl.web@gmail.com>
6224
109aa8a9
LL
6225 * simple.el (backward-delete-char-untabify): Constrain point to
6226 field (Bug#10939).
6227
01d972a9
LL
6228 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6229
10607bea
CY
62302012-03-05 Chong Yidong <cyd@gnu.org>
6231
6232 * simple.el (count-words): If called from Lisp, return the word
6233 count, for symmetry with `count-lines'. Arglist changed.
6234 (count-words--message): Args changed. Consolidate counting code
6235 from count-words and count-words-region.
6236 (count-words-region): Caller changed.
6237 (count-lines-region): Make it an obsolete alias.
6238
5dd11cfe
TH
62392012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6240
6241 * saveplace.el (save-place-to-alist)
6242 (save-place-ignore-files-regexp): Allow value nil to disable this
6243 feature.
6244
c349f4e6
CY
62452012-03-04 Chong Yidong <cyd@gnu.org>
6246
6247 * faces.el (face-spec-reset-face): For the default face, reset the
6248 attributes to default values (Bug#10748).
6249
e627be4c
LMI
62502012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6251
6252 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6253 previous patch: Check `message-send-mail-function', and not the
6254 default function (bug#10897).
6255
ebeabff4
MA
62562012-03-04 Michael Albinus <michael.albinus@gmx.de>
6257
a41a6cf4
MA
6258 * notifications.el (notifications-on-action-signal)
6259 (notifications-on-closed-signal): Check for unique service name of
6260 incoming event. Fix error in removing entry.
ebeabff4 6261 (top): Register for signals with wildcard service name.
a41a6cf4 6262 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6263
c1ca42b4
CY
62642012-03-04 Chong Yidong <cyd@gnu.org>
6265
dc9924b8 6266 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6267
ea16568d
GM
62682012-03-04 Glenn Morris <rgm@gnu.org>
6269
6270 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6271 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6272 (expand-abbrev, define-abbrev-table): Doc fixes.
6273
fbae4637
LMI
62742012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6275
6276 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6277 `message-default-send-mail-function' and not `send-mail-function'
6278 when doing the prompting for `sendmail-query-once' before sending
6279 in Message buffers (bug#10897).
6280
a1e7225c
LMI
6281 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6282 This is inconsistent with all the other stream functions, which leave
6283 the setting up to the higher levels (if so wanted) (bug#10931).
6284
56d093a9
AM
62852012-03-02 Alan Mackenzie <acm@muc.de>
6286
6287 Depessimize the handling of very large macros.
6288
6289 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6290 (c-macro-cache-syntactic): New variables to implement a one
6291 element macro cache.
6292 (c-invalidate-macro-cache): New function.
6293 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6294 Adapt to use the new cache.
6295 (c-state-safe-place): Use better the cache of safe positions.
6296 (c-state-semi-nonlit-pos-cache)
6297 (c-state-semi-nonlit-pos-cache-limit):
6298 New variables for...
6299 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6300 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6301 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6302 Use c-state-semi-safe-place.
56d093a9 6303
dbbc2e69
SM
6304 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6305 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6306
817e5c3d
MA
63072012-03-02 Michael Albinus <michael.albinus@gmx.de>
6308
dbbc2e69
SM
6309 * jka-compr.el (jka-compr-call-process):
6310 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6311 not remote.
6312
a032a702
MA
63132012-03-01 Michael Albinus <michael.albinus@gmx.de>
6314
6315 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6316 access of FILE2, if FILE1 does not exist.
6317
99a54f21
MA
6318 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6319 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6320
6321 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6322 Add "PAGER=" to `process-environment'.
6323
f6561e1f
MM
63242012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6325
6326 * progmodes/sql.el: Bug fix
6327 (sql-get-login-ext): Save login values in globals.
6328 (sql-get-login): Use new version of `sql-get-login-ext'.
6329 (sql-interactive-mode): Set global `sql-connection' to nil.
6330 (sql-connect): Set global values for connection.
6331 (sql-product-interactive): Save global values as buffer local.
6332
2d44d9cc
LL
63332012-02-29 Leo Liu <sdl.web@gmail.com>
6334
6335 * abbrev.el (define-abbrevs): Reset sys to nil.
6336
96b49301 63372012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6338
bf7f9bc5
JB
6339 * files.el (file-equal-p): Rename from `files-equal-p'.
6340 Return nil when one or both files don't exist.
96b49301 6341 (file-subdir-of-p): Now only top directory must exists,
6342 return nil if it doesn't.
bf7f9bc5
JB
6343 (copy-directory): No need to test with `file-subdir-of-p' after
6344 creating dir.
6345 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6346 to `file-equal-p'.
96b49301 6347
44e97401
GM
63482012-02-28 Glenn Morris <rgm@gnu.org>
6349
6350 * shell.el (shell-mode):
6351 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6352 * play/landmark.el (landmark-font-lock-face-O):
6353 * play/handwrite.el (handwrite):
6354 * play/gomoku.el (gomoku-O):
6355 * net/browse-url.el (browse-url-browser-display):
6356 * international/mule.el (define-charset):
6357 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6358 * filesets.el (filesets-find-file-delay):
6359 * eshell/em-xtra.el (eshell-xtra):
6360 * eshell/em-unix.el (eshell-grep):
6361 * emulation/viper.el (viper-mode):
6362 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6363 * emacs-lisp/easymenu.el (easy-menu-define):
6364 * calendar/timeclock.el (timeclock-use-display-time):
6365 * bs.el (bs-mode):
6366 * bookmark.el (bookmark-save-flag):
6367 Doc fix (standardize possessive apostrophe usage).
6368
c98c6276
CY
63692012-02-27 Chong Yidong <cyd@gnu.org>
6370
bf7f9bc5
JB
6371 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6372 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6373
c98c6276
CY
6374 * font-lock.el (font-lock-specified-p): Rename from
6375 font-lock-spec-present. Callers changed.
6376
9c62cd04 63772012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6378
bf7f9bc5
JB
6379 * emacs-lisp/package.el (package-compute-transaction):
6380 Handle holding a package version to t in package-load-list.
8ac9e529 6381
530739c9
MA
63822012-02-26 Michael Albinus <michael.albinus@gmx.de>
6383
6384 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6385 (tramp-get-inode, tramp-get-device): Use cached values.
6386
487915d7
AM
63872012-02-26 Alan Mackenzie <acm@muc.de>
6388
6389 Check there is a font-lock specification before doing initial
6390 fontification.
6391
6392 * font-core.el (font-lock-mode): Move the conditional from
6393 :after-hook to font-lock-initial-fontify.
6394 (font-lock-default-function): Move the check for a specification
6395 to font-lock-spec-present.
6396
dc9924b8 6397 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6398 (font-lock-spec-present): New function.
6399
4fd96557
JB
64002012-02-26 Jim Blandy <jimb@red-bean.com>
6401
6402 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6403 (gdb-send): Apply it to the operand of the '-interpreter-exec
6404 console' command, so that we can pass arguments with (say) quotes
6405 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6406
9a4888c0
CY
64072012-02-26 Chong Yidong <cyd@gnu.org>
6408
07498861
CY
6409 * help-fns.el (describe-function-1): Clarify description of
6410 remapping (Bug#10844).
6411
9a4888c0
CY
6412 * files.el (files-equal-p): Doc fix.
6413 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6414 and quit the loop once a mismatch is found.
6415
ea8fb88d
JB
64162012-02-25 Juanma Barranquero <lekktu@gmail.com>
6417
6418 * bs.el (bs--show-with-configuration): Don't throw an error
6419 if the window cannot be split; otherwise, subsequent calls to
6420 bs-show fail, restoring a stale window config. (Bug#10882)
6421
525795c1
JD
64222012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6423
6424 * term/ns-win.el (global-map): Bind ns-drag-file to
6425 ns-find-file (Bug#5855, Bug#10050).
6426
f008086f
AS
64272012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6428
6429 * calendar/parse-time.el (parse-time-string): Allow extractor to
6430 return nil.
6431
a3fcfa99
MA
64322012-02-25 Michael Albinus <michael.albinus@gmx.de>
6433
91027d08
JB
6434 * net/tramp.el (tramp-file-name-for-operation):
6435 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6436
6437 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6438 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6439 Add COPY-CONTENTS argument.
a3fcfa99 6440
67b0de11
CY
64412012-02-25 Chong Yidong <cyd@gnu.org>
6442
6443 Add custom groups for VC backends, for consistency with vc-bzr.
6444
6445 * vc/vc-arch.el (vc-arch):
6446 * vc/vc-cvs.el (vc-cvs):
6447 * vc/vc-git.el (vc-git):
6448 * vc/vc-hg.el (vc-hg):
6449 * vc/vc-mtn.el (vc-mtn):
6450 * vc/vc-rcs.el (vc-rcs):
6451 * vc/vc-sccs.el (vc-sccs):
6452 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6453 All relevant defcustoms reassigned.
6454
3c9dfce6
CY
64552012-02-25 Chong Yidong <cyd@gnu.org>
6456
1339bf43
CY
6457 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6458
3c9dfce6
CY
6459 * term/x-win.el (x-initialize-window-system): Reduce default for
6460 x-selection-timeout to 5 seconds (Bug#8869).
6461
25b2e303 64622012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6463
ec70a47d
GM
6464 * files.el (files-equal-p, file-subdir-of-p): New functions.
6465 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6466 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6467 * dired-aux.el (dired-copy-file-recursive): Same.
6468 (dired-create-files): Modify destination when source is equal to
6469 dest when copying files.
53a46cd0 6470 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6471
914260cd
MA
64722012-02-24 Michael Albinus <michael.albinus@gmx.de>
6473
6474 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6475 (Bug#10874)
6476
2cb228f7
AM
64772012-02-23 Alan Mackenzie <acm@muc.de>
6478
6479 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6480 parameter "after-hook:" to allow the expansion to run code after
6481 the execution of the mode hooks.
6482
6483 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6484 from font-lock-mode-internal.
2cb228f7 6485
91027d08 6486 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6487 :after-hook.
6488
8f0fde21
SM
64892012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6490
3e88618b
SM
6491 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6492 (completion--cache-all-sorted-completions): New function.
6493 (completion-all-sorted-completions): Use it.
6494 (completion--do-completion, minibuffer-force-complete):
6495 Use it to re-instate the flush hook.
6496
8f0fde21
SM
6497 * icomplete.el (icomplete-completions): Replace last fix with a better
6498 one (bug#10850).
6499
8e911f6f
DG
65002012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6501
6502 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6503 when it might call us back infinitely (bug#10797).
6504
49fe4321
GM
65052012-02-23 Glenn Morris <rgm@gnu.org>
6506
6507 * minibuffer.el (completion-category-overrides): Doc fix.
6508
b291b572
SM
65092012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6510
6511 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6512 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6513
31a9ef2e
GM
65142012-02-23 Glenn Morris <rgm@gnu.org>
6515
5e6e6794 6516 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6517 (authors-obsolete-files-regexps, authors-ignored-files)
6518 (authors-ambiguous-files, authors-renamed-files-alist):
6519 Add more entries.
6520
0bd1e074
JL
65212012-02-23 Juri Linkov <juri@jurta.org>
6522
6523 * isearch.el (isearch-occur): Sync interactive spec with occur's
6524 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6525
b617673c
JL
6526 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6527
19e9789e
JL
65282012-02-22 Juri Linkov <juri@jurta.org>
6529
6530 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6531 (ucs-insert): Doc fix. Check for hex digits in the string.
6532 Don't display `nil' in the error message. (Bug#10857)
6533
f41ce09d
AM
65342012-02-22 Alan Mackenzie <acm@muc.de>
6535
7a71b18d 6536 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6537
ac2eceee
GM
65382012-02-22 Glenn Morris <rgm@gnu.org>
6539
6540 * ffap.el (ffap-c-path):
6541 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6542
abd1f678
CY
65432012-02-22 Chong Yidong <cyd@gnu.org>
6544
6545 * custom.el (load-theme): Doc fix.
6546
f25aef2e
GM
65472012-02-22 Glenn Morris <rgm@gnu.org>
6548
6549 * dired-x.el (dired-guess-shell-alist-default):
6550 Remove escape sequences from nroff output. (Bug#172)
6551
5f8dc2ca
GM
65522012-02-21 Glenn Morris <rgm@gnu.org>
6553
6ff86ec4
GM
6554 * vc/emerge.el (emerge-defvar-local):
6555 Set `permanent-local' property rather than unused `preserved'.
6556
be3223a3 6557 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6558 (picture-mode-map): Use it. (Bug#10860)
6559 (picture-mode): Doc fix.
6560
3fe58f4f
JB
65612012-02-21 Juanma Barranquero <lekktu@gmail.com>
6562
6563 * newcomment.el (uncomment-region-default): Remove unused binding.
6564
f9a998c3
GM
65652012-02-21 Glenn Morris <rgm@gnu.org>
6566
6567 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6568 (picture-self-insert, picture-tab-chars): Doc fix.
6569 (picture-mode-map): Fix C-a, C-e.
6570
c6029348
GM
65712012-02-20 Glenn Morris <rgm@gnu.org>
6572
6573 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6574
ab1ce9d7
LL
65752012-02-20 Leo Liu <sdl.web@gmail.com>
6576
6577 * icomplete.el (icomplete-completions): Check FROM arg before
6578 passing to substring (Bug#10850).
6579
0fd40f89
CY
65802012-02-19 Chong Yidong <cyd@gnu.org>
6581
6582 * comint.el: Require ansi-color.
6583 (comint-output-filter-functions): Add ansi-color-process-output.
6584
6585 * ansi-color.el: Don't set comint-output-filter-functions; it is
6586 now in the initial value defined in comint.el.
6587 (ansi-color-apply-face-function): New variable.
6588 (ansi-color-apply-on-region): Use it.
6589 (ansi-color-apply-overlay-face): New function.
6590
6591 * shell.el (shell): No need to require ansi-color.
6592 (shell-mode): Use ansi-color-apply-face-function to highlight
6593 color escapes using font-lock-face property (Bug#10835).
6594
20af2394
CY
65952012-02-19 Chong Yidong <cyd@gnu.org>
6596
6597 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6598 mode-line formats (Bug#10839).
6599
e23a3fbe
GM
66002012-02-18 Glenn Morris <rgm@gnu.org>
6601
b474519e
GM
6602 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6603
6604 * mail/undigest.el (unforward-rmail-message): Doc fix.
6605
e23a3fbe
GM
6606 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6607
57939ff4
EZ
66082012-02-18 Eli Zaretskii <eliz@gnu.org>
6609
6610 * international/characters.el (script-list): Sync with the latest
6611 Unicode Character Database.
6612
0c23686e
AS
66132012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6614
6615 * international/titdic-cnv.el: Remove duplicate coding tag.
6616 * language/cham.el: Likewise.
6617 * language/tai-viet.el: Likewise.
6618
6818b449
GM
66192012-02-18 Glenn Morris <rgm@gnu.org>
6620
6621 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6622 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6623 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6624 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6625 * calendar/holidays.el (holiday-bahai-holidays)
6626 (calendar-holidays, list-holidays):
6627 Use utf-8 Bahá'í in doc-strings, menus, etc.
6628
0311a3fc
TH
66292012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6630
6631 * saveplace.el (save-place-ignore-files-regexp): New variable
6632 allowing for excluding files from saving their location of point.
6633 The default value matches the temporary commit message editing
6634 files from Git, SVN, Bazaar, and Mercurial.
6635 (save-place-to-alist): Use it.
6636
d209e2fb 66372012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6638 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6639
6640 * newcomment.el (uncomment-region-default): Don't leave extra space
6641 when an arg is provided (bug#8150).
6642
ee0ce425
TZ
66432012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6644
eb864a71 6645 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6646
95ddf442
GM
66472012-02-17 Glenn Morris <rgm@gnu.org>
6648
6649 * net/socks.el: Require network-stream. (Bug#10599)
6650
48dd1e39 66512012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6652
6653 * international/charprop.el:
6654 * international/uni-name.el:
6655 * international/uni-old-name.el:
6656 * international/uni-comment.el: Regenerate.
6657
d68cd087
GM
66582012-02-16 Glenn Morris <rgm@gnu.org>
6659
6660 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6661 Interactively in calendar buffer, give an error if not on a date.
6662
13932042
GM
66632012-02-15 Glenn Morris <rgm@gnu.org>
6664
6665 * shell.el (shell-delimiter-argument-list):
6666 Revert 2011-02-17 change. (Bug#8027)
6667
c3a70e2b
CY
66682012-02-15 Chong Yidong <cyd@gnu.org>
6669
60236b0d
CY
6670 * minibuffer.el (completion-at-point-functions): Doc fix.
6671
c3a70e2b
CY
6672 * custom.el (defcustom): Doc fix; note use of defvar.
6673
9f26dc24
GM
66742012-02-15 Glenn Morris <rgm@gnu.org>
6675
6676 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6677 Doc fixes.
6678
6546b134
GM
66792012-02-14 Glenn Morris <rgm@gnu.org>
6680
6681 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6682
d29b2b4c
LI
66832012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6684
6685 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6686 way the ports list is computed.
835bdcba
LI
6687 (smtpmail-query-smtp-server): Prompt the user for a port number if
6688 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6689
08dcdbc9
TZ
66902012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6691
6692 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6693
2605051a
GM
66942012-02-13 Glenn Morris <rgm@gnu.org>
6695
6696 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6697
7ee99f32
TZ
66982012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6699
6700 * net/gnutls.el (gnutls-trustfiles): New variable.
6701 (gnutls-negotiate): Use it.
6702
5f0af64f
LI
67032012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6704
6705 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6706 does its stuff if Gnus is running.
6707
c14fcc95
AM
67082012-02-13 Alan Mackenzie <acm@muc.de>
6709
6710 Fix a loop in c-set-fl-decl-start.
6711
7a71b18d 6712 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6713 c-backward-syntactic-ws actually moves backwards.
6714
142b4d90
LL
67152012-02-13 Leo Liu <sdl.web@gmail.com>
6716
6717 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6718 beginning so that all \C-o chars are removed.
6719
fa9958a6
TZ
67202012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6721
dc9924b8 6722 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6723
0bc5886a
AM
67242012-02-12 Alan Mackenzie <acm@muc.de>
6725
6726 Fix infinite loop with long macros.
4d6769e1 6727 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6728
d4bd55e7
CY
67292012-02-12 Chong Yidong <cyd@gnu.org>
6730
6731 * window.el (display-buffer): Doc fix (Bug#10785).
6732
66f3fe22
GM
67332012-02-12 Glenn Morris <rgm@gnu.org>
6734
bd7da63e
GM
6735 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6736 (x-disown-selection-internal, x-get-selection-internal):
6737 Sync docs with the xselect.c versions.
6738
66f3fe22
GM
6739 * allout-widgets.el: Add missing license notice.
6740
3e0d2fa7
GM
67412012-02-11 Glenn Morris <rgm@gnu.org>
6742
cfecdf09
GM
6743 * select.el (x-get-selection-internal, x-own-selection-internal)
6744 (x-disown-selection-internal):
6745 * x-dnd.el (x-get-selection-internal): Update declarations.
6746
6d216d7f
GM
6747 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6748
2bed3f04
GM
6749 * window.el (window-sides-slots):
6750 * tool-bar.el (tool-bar-position):
6751 * term/xterm.el (xterm-extra-capabilities):
6752 * ses.el (ses-self-reference-early-detection):
6753 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6754 (verilog-auto-wire-type)
6755 (verilog-auto-delete-trailing-whitespace)
6756 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6757 (verilog-auto-tieoff-declaration):
6758 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6759 (sql-oracle-statement-starters, sql-oracle-scan-on):
6760 * progmodes/prolog.el (prolog-align-comments-flag)
6761 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6762 (prolog-left-indent-regexp, prolog-paren-indent-p)
6763 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6764 (prolog-types, prolog-mode-specificators)
6765 (prolog-determinism-specificators, prolog-directives)
6766 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6767 (prolog-electric-dot-flag)
6768 (prolog-electric-dot-full-predicate-template)
6769 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6770 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6771 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6772 (prolog-program-switches, prolog-prompt-regexp)
6773 (prolog-debug-on-string, prolog-debug-off-string)
6774 (prolog-trace-on-string, prolog-trace-off-string)
6775 (prolog-zip-on-string, prolog-zip-off-string)
6776 (prolog-use-standard-consult-compile-method-flag)
6777 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6778 (prolog-imenu-max-lines, prolog-info-predicate-index)
6779 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6780 (prolog-char-quote-workaround):
6781 * progmodes/cc-vars.el (c-defun-tactic):
6782 * net/tramp.el (tramp-encoding-command-interactive)
6783 (tramp-local-end-of-line):
6784 * net/soap-client.el (soap-client):
6785 * net/netrc.el (netrc-file):
6786 * net/gnutls.el (gnutls):
6787 * minibuffer.el (completion-category-overrides)
6788 (completion-cycle-threshold)
6789 (completion-pcm-complete-word-inserts-delimiters):
6790 * man.el (Man-name-local-regexp):
6791 * mail/feedmail.el (feedmail-display-full-frame):
6792 * international/characters.el (glyphless-char-display-control):
6793 * eshell/em-ls.el (eshell-ls-date-format):
6794 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6795 (lisp-lambda-list-keyword-parameter-indentation)
6796 (lisp-lambda-list-keyword-parameter-alignment):
6797 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6798 * dired-x.el (dired-omit-verbose):
6799 * cus-theme.el (custom-theme-allow-multiple-selections):
6800 * calc/calc.el (calc-highlight-selections-with-faces)
6801 (calc-lu-field-reference, calc-lu-power-reference)
6802 (calc-note-threshold):
6803 * battery.el (battery-mode-line-limit):
6804 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6805 (archive-7z-update):
6806 * allout.el (allout-prefixed-keybindings)
6807 (allout-unprefixed-keybindings)
6808 (allout-inhibit-auto-fill-on-headline)
6809 (allout-flattened-numbering-abbreviation):
6810 * allout-widgets.el (allout-widgets-auto-activation)
6811 (allout-widgets-icons-dark-subdir)
6812 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6813 (allout-widgets-theme-dark-background)
6814 (allout-widgets-theme-light-background)
6815 (allout-widgets-item-image-properties-emacs)
6816 (allout-widgets-item-image-properties-xemacs)
6817 (allout-widgets-run-unit-tests-on-load)
6818 (allout-widgets-time-decoration-activity)
6819 (allout-widgets-hook-error-post-time)
6820 (allout-widgets-track-decoration):
6821 Add missing :version tags to new defcustoms and defgroups.
6822
5fec1b8e
GM
6823 * progmodes/sql.el (sql-ansi-statement-starters)
6824 (sql-oracle-statement-starters): Add custom type.
6825
3e0d2fa7
GM
6826 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6827 (prolog-system-version): Give it a type.
6828
90b671e2
EZ
68292012-02-11 Eli Zaretskii <eliz@gnu.org>
6830
6831 * term/pc-win.el (x-select-text, x-selection-owner-p)
6832 (x-own-selection-internal, x-disown-selection-internal)
6833 (x-get-selection-internal): Sync doc strings and argument lists
6834 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6835
5eac0c02
LL
68362012-02-11 Leo Liu <sdl.web@gmail.com>
6837
6838 * progmodes/python.el (python-end-of-statement): Fix infinite
6839 loop. (Bug#10788)
6840
f82cb659
GM
68412012-02-10 Glenn Morris <rgm@gnu.org>
6842
6843 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6844 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6845
cc26d239
LI
68462012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6847
6848 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6849 about SMTP before checking the From header.
6850
91027d08 6851 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6852 into own function for reuse by emacsbug.el.
6853
1be3ca5a
LL
68542012-02-10 Leo Liu <sdl.web@gmail.com>
6855
6856 * subr.el (condition-case-unless-debug): Rename from
6857 condition-case-no-debug. All callers changed.
6858 (with-demoted-errors): Fix caller.
6859
6860 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6861 * nxml/rng-valid.el (rng-do-some-validation):
6862 * emacs-lisp/package.el (package-refresh-contents)
6863 (package-menu-execute):
6864 * desktop.el (desktop-create-buffer):
91027d08 6865 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6866
b011fbfe
GM
68672012-02-10 Glenn Morris <rgm@gnu.org>
6868
b2096d72
GM
6869 * textmodes/bibtex.el:
6870 Add missing :version tags for new/changed defcustoms.
6871
b011fbfe
GM
6872 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6873
4c7e65bf
LI
68742012-02-09 Lars Ingebrigtsen <larsi@rusty>
6875
6876 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6877 (smtpmail-via-smtp): Use it, or fall back on the From address.
6878 (smtpmail-send-it): Ditto.
6879
f3934f6f
SM
68802012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6881
6882 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6883 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6884 (byte-compile-tmp-var): New const.
6885 (byte-compile-defvar): Use it to minimize .elc size.
6886 Just use `defvar' rather than simulate it (bug#10761).
6887
a075a2c5
GM
68882012-02-09 Glenn Morris <rgm@gnu.org>
6889
cf3aa21b
GM
6890 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6891
354998cd
GM
6892 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6893 Add :version tags.
6894
dc9924b8
SM
6895 * progmodes/compile.el (compilation-error-screen-columns)
6896 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6897
dab3703d
GM
6898 * vc/log-view.el (log-view-toggle-entry-display):
6899 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6900
3f88cd72
GM
6901 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6902 (report-emacs-bug-can-use-xdg-email):
6903 (report-emacs-bug-insert-to-mailer): Doc fixes.
6904 (report-emacs-bug): Message fix.
6905
d95b247d
GM
6906 * net/browse-url.el (browse-url-can-use-xdg-open)
6907 (browse-url-xdg-open): Doc fixes.
6908
a075a2c5
GM
6909 * electric.el (electric-indent-mode, electric-pair-mode)
6910 (electric-layout-rules, electric-layout-mode): Doc fixes.
6911 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6912
ffb6157e
MR
69132012-02-08 Martin Rudalics <rudalics@gmx.at>
6914
6915 * server.el (server-unselect-display): Don't inadvertently kill
6916 the current buffer. (Bug#10729)
6917
e1ac4066
GM
69182012-02-08 Glenn Morris <rgm@gnu.org>
6919
34e8a2da
GM
6920 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6921 (sql-list-table): Doc fixes.
6922
b4ac6e8c
GM
6923 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6924 Comment out (does nothing).
6925
e1ac4066
GM
6926 * completion.el (dynamic-completion-mode):
6927 * dirtrack.el (dirtrack-debug-mode):
6928 * electric.el (electric-layout-mode):
6929 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6930 * face-remap.el (text-scale-mode, buffer-face-mode):
6931 * iimage.el (iimage-mode):
6932 * image-mode.el (image-transform-mode):
6933 * minibuffer.el (completion-in-region-mode):
6934 * scroll-lock.el (scroll-lock-mode):
6935 * simple.el (next-error-follow-minor-mode):
6936 * tar-mode.el (tar-subfile-mode):
6937 * tooltip.el (tooltip-mode):
6938 * vcursor.el (vcursor-use-vcursor-map):
6939 * wid-browse.el (widget-minor-mode):
6940 * emulation/tpu-edt.el (tpu-edt-mode):
6941 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6942 * international/iso-ascii.el (iso-ascii-mode):
6943 * language/thai-util.el (thai-word-mode):
6944 * mail/supercite.el (sc-minor-mode):
6945 * net/goto-addr.el (goto-address-mode):
6946 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6947 * progmodes/cwarn.el (cwarn-mode):
6948 * progmodes/flymake.el (flymake-mode):
6949 * progmodes/glasses.el (glasses-mode):
6950 * progmodes/hideshow.el (hs-minor-mode):
6951 * progmodes/pascal.el (pascal-outline-mode):
6952 * textmodes/enriched.el (enriched-mode):
6953 * vc/smerge-mode.el (smerge-mode):
6954 Doc fixes (minor mode argument).
6955
5e0d957f
EZ
69562012-02-07 Eli Zaretskii <eliz@gnu.org>
6957
6958 * ls-lisp.el (ls-lisp-sanitize): New function.
6959 (ls-lisp-insert-directory): Use it to fix or remove any elements
6960 in file-alist with missing attributes. (Bug#4673)
6961
98d7371e
AM
69622012-02-07 Alan Mackenzie <acm@muc.de>
6963
6964 Fix spurious recognition of c-in-knr-argdecl.
6965
6966 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6967 putative K&R region.
6968
667ced3a
AM
69692012-02-07 Alan Mackenzie <acm@muc.de>
6970
eb864a71
LM
6971 * progmodes/cc-engine.el (c-forward-objc-directive):
6972 Prevent looping in "#pragma mark @implementation".
667ced3a 6973
5b77774d
MA
69742012-02-07 Michael Albinus <michael.albinus@gmx.de>
6975
6976 * notifications.el (notifications-on-closed-signal): Make `reason'
6977 optional. (Bug#10744)
6978
af008560
GM
69792012-02-07 Glenn Morris <rgm@gnu.org>
6980
60d47423
GM
6981 * emacs-lisp/easy-mmode.el (define-minor-mode):
6982 Doc fixes for the macro and the mode it defines.
6983
dd605cc4
GM
6984 * image.el (imagemagick-types-inhibit): Doc fix.
6985
af008560
GM
6986 * cus-start.el (imagemagick-render-type): Add it.
6987
5cc59a37
LI
69882012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6989
4d6769e1
JB
6990 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6991 Set the default at load time, too, so that `font-lock-fontify-buffer'
6992 can be called without setting up the entire mode first. This fixes
6993 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6994
9a6dd747
CY
69952012-02-06 Chong Yidong <cyd@gnu.org>
6996
2d16b285
CY
6997 * simple.el (list-processes--refresh): Delete exited processes
6998 (Bug#8094).
6999
171e9b6e
CY
7000 * comint.el (comint-next-prompt): next-single-char-property-change
7001 and prev-single-char-property-change never return nil (Bug#8657).
7002
9a6dd747
CY
7003 * custom.el (defcustom): Doc fix (Bug#9711).
7004
aa4589a7
CY
70052012-02-05 Chong Yidong <cyd@gnu.org>
7006
5c2a252f
CY
7007 * cus-edit.el (custom-variable-reset-backup): Quote the value
7008 before storing it in the customized-value property (Bug#6712).
4aab9006 7009 (custom-display): Add a customization type tag.
983b9602 7010 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7011
aa4589a7
CY
7012 * wid-edit.el (widget-field-value-get): New optional arg to
7013 suppress trailing whitespace truncation.
7014 (character): Use it (Bug#2689).
7015
1ff980ae
AS
70162012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7017
7018 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7019 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7020
03988c98
CY
70212012-02-05 Chong Yidong <cyd@gnu.org>
7022
eeb6cc88
CY
7023 * cus-edit.el (custom-variable-value-create): For mismatched
7024 types, show the current value (Bug#7600).
7025
03988c98
CY
7026 * custom.el (defcustom): Doc fix.
7027
f8cdeef0
GM
70282012-02-05 Glenn Morris <rgm@gnu.org>
7029
7030 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7031
0696d255
JB
70322012-02-05 Juanma Barranquero <lekktu@gmail.com>
7033
7034 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7035 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7036 (pp-last-sexp): Use `looking-at-p'.
7037
34c99998
GM
70382012-02-04 Glenn Morris <rgm@gnu.org>
7039
8f05da42
GM
7040 * files.el (revert-buffer):
7041 Doc fix (mention revert-buffer-in-progress-p).
7042
f160676e
GM
7043 * emacs-lisp/ert-x.el (ert-simulate-command):
7044 Check deferred-action-list (which is obsolete) is bound.
7045
c7291ad9
GM
7046 * subr.el (with-wrapper-hook): Doc fixes.
7047
34c99998
GM
7048 * simple.el (filter-buffer-substring-functions)
7049 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7050
6283a7d3
LL
70512012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7052
7053 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7054 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7055
e96e3013
LL
70562012-02-04 Leo Liu <sdl.web@gmail.com>
7057
7058 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7059
8ded50f2
GM
70602012-02-04 Glenn Morris <rgm@gnu.org>
7061
82ff1d13
GM
7062 * image.el (image-extension-data): Add obsolete alias.
7063
987a0a16
GM
7064 * isearch.el (isearch-update): Doc fix.
7065
ea32ef46
GM
7066 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7067
8ded50f2
GM
7068 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7069
eea14f31
GM
70702012-02-03 Glenn Morris <rgm@gnu.org>
7071
7072 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7073 (image-animate-timeout): Doc fix.
7074
7075 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7076
12f381b7
GM
70772012-02-02 Glenn Morris <rgm@gnu.org>
7078
953cebf5
GM
7079 * server.el (server-auth-dir): Doc fix.
7080 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7081
12f381b7
GM
7082 * subr.el (run-mode-hooks): Doc fix.
7083
953a8c3b
JL
70842012-02-02 Juri Linkov <juri@jurta.org>
7085
7086 * image-mode.el (image-toggle-display-image): Remove tautological
7087 `major-mode' from the `derived-mode-p' test.
7088
c5d3843c
KH
70892012-02-02 Kenichi Handa <handa@m17n.org>
7090
9f6e692e 7091 * composite.el (compose-region): Cancel previous change.
c5d3843c 7092
159462d4 70932012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7094
7095 * composite.el (compose-region, compose-string): Signal error for
7096 a null string component (Bug#6988).
7097
9f562668
CY
70982012-02-01 Chong Yidong <cyd@gnu.org>
7099
e2cef717
CY
7100 * view.el (view-buffer-other-window, view-buffer-other-frame):
7101 Handle special modes like view-buffer (Bug#10650).
7102 (view-buffer): Simplify.
7103
9f562668
CY
7104 * frame.el (set-frame-font): Tweak meaning of third argument.
7105
9f6e692e
JB
7106 * dynamic-setting.el (font-setting-change-default-font):
7107 Use set-frame-font (Bug#9982).
9f562668 7108
781acb9f
GM
71092012-02-01 Glenn Morris <rgm@gnu.org>
7110
6035be52
GM
7111 * progmodes/compile.el (compilation-internal-error-properties):
7112 Respect compilation-first-column in the "*compilation*" buffer.
7113
781acb9f
GM
7114 * emacs-lisp/easy-mmode.el (define-minor-mode):
7115 Relax :variable's test for a named function.
7116
abbceb00
AM
71172012-01-31 Alan Mackenzie <acm@muc.de>
7118
7119 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7120 off by one error.
7121
fce3fdeb
CY
71222012-01-31 Chong Yidong <cyd@gnu.org>
7123
7124 * frame.el (set-frame-font): New arg ALL-FRAMES.
7125
7126 * menu-bar.el (menu-set-font): Use set-frame-font.
7127
7128 * faces.el (face-spec-reset-face): Don't apply unspecified
7129 attribute values to the default face.
7130
47893581
JB
71312012-01-31 Juanma Barranquero <lekktu@gmail.com>
7132
7133 * progmodes/cwarn.el (cwarn): Remove dead link.
7134 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7135 Remove * from defcustom docstrings.
7136 (turn-on-cwarn-mode): Make obsolete.
7137 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7138 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7139
e58e988a
GM
71402012-01-31 Glenn Morris <rgm@gnu.org>
7141
60dc2671 7142 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7143 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7144 Allow named functions to be used as the cdr of :variable.
e58e988a 7145
7a3f511d
GM
71462012-01-30 Glenn Morris <rgm@gnu.org>
7147
7148 * emacs-lisp/authors.el (authors-fixed-entries):
7149 Remove reference to deleted file rnewspost.el.
7150
cb882333
JB
71512012-01-29 Juanma Barranquero <lekktu@gmail.com>
7152
7153 * window.el (window-with-parameter): Remove unused variable `windows'.
7154 (window--side-check): Remove unused variable `code'.
7155 (window--resize-siblings): Remove unused variable `first'.
7156 (adjust-window-trailing-edge): Remove unused variable `failed'.
7157 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7158 Use `let', not `let*'.
7159 (balance-windows-2): Remove unused variable `found'.
7160 (window--state-put-2): Remove unused variable `splits'.
7161 (window-state-put): Remove unused variable `selected'.
7162 (same-window-p): Use `string-match-p'.
7163 (display-buffer-assq-regexp): Remove unused variable `value'.
7164 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7165 Mark argument ALIST as ignored.
7166 (pop-to-buffer): Remove unused variable `old-window'.
7167
907201af
EZ
71682012-01-29 Eli Zaretskii <eliz@gnu.org>
7169
7170 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7171 and .lzma compressed files.
7172
ea162670
CY
71732012-01-29 Chong Yidong <cyd@gnu.org>
7174
5b95ee8a
CY
7175 * frame.el (window-system-default-frame-alist): Doc fix.
7176
ea162670
CY
7177 * dynamic-setting.el (font-setting-change-default-font): Don't
7178 change the default face if SET-FONT argument is non-nil (Bug#9982).
7179
d6e6f4b1
SB
71802012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7181
7182 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7183
0f29fa41 71842012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7185
7186 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7187 breakpoints in files outside current directory (Bug#6098).
7188
db174434
CY
71892012-01-29 Chong Yidong <cyd@gnu.org>
7190
6b25e4e2
SE
7191 * progmodes/python.el: Require ansi-color at top-level.
7192
6df6ae42
JB
7193 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7194 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7195 (lisp-mode-abbrev-table): Add doc.
7196 (lisp-mode-variables): Don't set local-abbrev-table.
7197 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7198
e70ee681
RW
71992012-01-28 Roland Winkler <winkler@gnu.org>
7200
7201 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7202
ace88aa2
RW
72032012-01-28 Roland Winkler <winkler@gnu.org>
7204
7205 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7206 (bibtex-set-dialect): Use it. Either set global values of
7207 dialect-dependent variables or bind these variables buffer-locally
7208 (Bug#10254).
7209 (bibtex-mode): Call bibtex-set-dialect via
7210 hack-local-variables-hook.
eb864a71
LM
7211 (bibtex-dialect): Update docstring.
7212 Add safe-local-variable predicate.
ace88aa2
RW
7213 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7214 bibtex-set-dialect.
7215 (bibtex-mode-map): Define menu for each dialect.
7216 (bibtex-entry): Fix docstring.
7217
93376c5b
CY
72182012-01-28 Chong Yidong <cyd@gnu.org>
7219
7220 * eshell/esh-arg.el (eshell-quote-argument): New function.
7221
7222 * eshell/esh-ext.el (eshell-invoke-batch-file):
7223 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7224 first arg to eshell-parse-command (Bug#10523).
7225
4372494f
DA
72262012-01-28 Drew Adams <drew.adams@oracle.com>
7227
7228 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7229 `default-directory' is non-nil.
7230
4d4ec1f8
EZ
72312012-01-28 Eli Zaretskii <eliz@gnu.org>
7232
7233 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7234 line that displays system-configuration-options. (Bug#9924)
7235
7c188927
DA
72362012-01-28 Drew Adams <drew.adams@oracle.com>
7237
7238 * descr-text.el (describe-char): Show information about POS, in
7239 addition to information about the character at POS. Improve and
7240 update the doc string. Change "code point" to "code point in
7241 charset", to avoid confusion with the character's Unicode code
7242 point shown above that. (Bug#10129)
7243
e0da685a
EZ
72442012-01-28 Eli Zaretskii <eliz@gnu.org>
7245
7246 * descr-text.el (describe-char): Show the raw character, not only
7247 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7248 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7249 for the reasons.
7250
70550acf
PH
72512012-01-28 Phil Hagelberg <phil@hagelb.org>
7252
eb864a71
LM
7253 * emacs-lisp/package.el (package-install):
7254 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7255
0ce8e868
CY
72562012-01-28 Chong Yidong <cyd@gnu.org>
7257
cb882333
JB
7258 * emacs-lisp/package.el (package-maybe-load-descriptor):
7259 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7260 (package-maybe-load-descriptor): Use it.
7261 (package-download-transaction): Fully load required packages
7262 inside the loop, so that `require' calls work (Bug#10593).
7263 (package-install): No need to call package-initialize now.
7264
2e7f3bea
CY
72652012-01-28 Chong Yidong <cyd@gnu.org>
7266
6e9bad14
CY
7267 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7268
f823b8ca
CY
7269 * tooltip.el (tooltip-mode): Doc fix.
7270 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7271
2680c309
CY
7272 * frame.el (set-cursor-color): Doc fix (Bug#352).
7273
d7a9e63b
CY
7274 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7275 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7276
2e7f3bea
CY
7277 * cus-edit.el (custom-buffer-create-internal): Fix search button
7278 action (Bug#10542).
2ae01800 7279 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7280
fc4f7a23
EW
72812012-01-27 Eduard Wiebe <usenet@pusto.de>
7282
7283 * dired.el (dired-mark-files-regexp):
7284 Include any subdirectory components. (Bug#10445)
7285
7dd37071
ML
72862012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7287
7288 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7289 Handle [host]:port syntax. (Bug#10533)
7290
a268160b
AH
72912012-01-27 Alex Harsanyi <harsanyi@mac.com>
7292
7293 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7294
e43273ef
GM
72952012-01-26 Glenn Morris <rgm@gnu.org>
7296
7297 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7298 * term.el (term-raw-escape-map): Use Control-X-prefix.
7299 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7300
1edf595d
MR
73012012-01-25 Martin Rudalics <rudalics@gmx.at>
7302
7303 * window.el (window-state-get, window--state-get-1): Don't deal
7304 with fixed-sizeness of windows. Simplify code.
7305
fa8eafef
JC
73062012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7307
6df6ae42
JB
7308 * window.el (window--state-get-1, window--state-put-2):
7309 Don't save and restore the mark.
fa8eafef 7310
0b21c100
CY
73112012-01-25 Chong Yidong <cyd@gnu.org>
7312
7313 * custom.el (custom-variable-p): Doc fix.
7314
5ae1a6c8
GM
73152012-01-25 Glenn Morris <rgm@gnu.org>
7316
40047858
GM
7317 * dired.el (dired-goto-file): Handle some of the more common
7318 characters that `ls -b' escapes. (Bug#10596)
7319
5ddce96c
GM
7320 * progmodes/compile.el (compilation-next-error-function):
7321 Respect compilation-first-column in the "*compilation*" buffer.
7322 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7323
5ae1a6c8
GM
7324 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7325
b559f1a9
GM
73262012-01-24 Glenn Morris <rgm@gnu.org>
7327
7328 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7329
6725d21a
JD
73302012-01-24 Julien Danjou <julien@danjou.info>
7331
7332 * color.el (color-rgb-to-hsl): Fix value computing.
7333 (color-hue-to-rgb): New function.
7334 (color-hsl-to-rgb): New function.
7335 (color-clamp, color-saturate-hsl, color-saturate-name)
7336 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7337 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7338
70df4bbe
GM
73392012-01-24 Glenn Morris <rgm@gnu.org>
7340
7341 * vc/vc-rcs.el (vc-rcs-create-tag):
7342 * vc/vc-sccs.el (vc-sccs-create-tag):
7343 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7344
802a2ae2
ML
73452012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7346
7347 * eshell/esh-util.el (eshell-read-hosts-file):
7348 Skip comment lines. (Bug#10549)
7349
d7128bb1
ML
7350 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7351
d1a5c3b4
JB
73522012-01-23 Juanma Barranquero <lekktu@gmail.com>
7353
2724d9c7
JB
7354 * subr.el (display-delayed-warnings): Doc fix.
7355 (collapse-delayed-warnings): New function to collapse identical
7356 adjacent warnings.
7357 (delayed-warnings-hook): Add it.
d1a5c3b4 7358
a5509865
MA
73592012-01-22 Michael Albinus <michael.albinus@gmx.de>
7360
7361 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7362
a5509865
MA
7363 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7364 (tramp-default-user-alist): Don't add "pscp".
7365 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7366 property "login-as", if set. (Bug#10530)
7367
cc6d5805
MA
73682012-01-21 Michael Albinus <michael.albinus@gmx.de>
7369
7370 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7371 "plink1" and "psftp". (Bug#10530)
7372
73732012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7374
7375 * international/mule-cmds.el (prefer-coding-system): Show a
7376 warning message if the default value of file-name-coding-system
7377 was not changed.
7378
f0960428
JC
73792012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7380
cb882333
JB
7381 * windmove.el (windmove-reference-loc):
7382 Fix windmove-reference-loc miscalculation.
f0960428 7383
dd6f2a63
JB
73842012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7385
7386 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7387 default unit.
7388
7b447e9b
GM
73892012-01-21 Glenn Morris <rgm@gnu.org>
7390
117a9ea1
GM
7391 * international/mule.el (auto-coding-alist): Add .tbz.
7392
7b447e9b
GM
7393 * files.el (local-enable-local-variables): Doc fix.
7394 (inhibit-local-variables-regexps): Rename from
7395 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7396 Doc fix. Add some extensions from auto-coding-alist.
7397 (inhibit-local-variables-suffixes):
7398 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7399 (inhibit-local-variables-p):
7400 New function, extracted from set-auto-mode-1.
7401 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7402 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7403 (hack-local-variables): Doc fix. Make the mode-only case
7404 respect enable-local-variables and friends.
7405 Respect inhibit-local-variables-regexps for file-locals, but
7406 not for directory-locals.
7407 (set-visited-file-name):
7408 Take account of inhibit-local-variables-regexps.
7409 Whether it applies may change as the file name is changed.
7410 * jka-cmpr-hook.el (jka-compr-install):
7411 * jka-compr.el (jka-compr-uninstall):
7412 Update for inhibit-first-line-modes-suffixes name change.
7413
dd6e3cdd
MR
74142012-01-20 Martin Rudalics <rudalics@gmx.at>
7415
7416 * help-macro.el (make-help-screen): Temporarily restore original
7417 binding for minor-mode-map-alist (Bug#10454).
7418
0d0deb38
JD
74192012-01-19 Julien Danjou <julien@danjou.info>
7420
7421 * color.el (color-name-to-rgb): Use the white color to find the max
7422 color component value and return correctly computed values.
7423 (color-name-to-rgb): Add missing float conversion for max value.
7424
34a02f46
MR
74252012-01-19 Martin Rudalics <rudalics@gmx.at>
7426
7427 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7428 special state value for window-persistent-parameters.
7429 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7430 (window--state-put-2): Reset all window parameters to nil before
7431 assigning values of persistent parameters.
7432
606c44c4
AM
74332012-01-18 Alan Mackenzie <acm@muc.de>
7434
7435 Eliminate sluggishness and hangs in fontification of "semicolon
7436 deserts".
7437
cb882333
JB
7438 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7439 Change value 10000 -> 3000.
606c44c4
AM
7440 (c-state-safe-place): Reformulate so it doesn't stack up an
7441 infinite number of wrong entries in c-state-nonlit-pos-cache.
7442 (c-determine-limit-get-base, c-determine-limit): New functions to
7443 determine backward search limits disregarding literals.
7444 (c-find-decl-spots): Amend commenting.
7445 (c-cheap-inside-bracelist-p): New function which detects "={".
7446
7447 * progmodes/cc-fonts.el
7448 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7449 backward search.
7450 (c-font-lock-declarations): Fix an occurrence of point being
7451 undefined. Check additionally for point being in a bracelist or
7452 near a macro invocation without a semicolon so as to avoid a
7453 fruitless time consuming search for a declarator. Give a more
7454 precise search limit for declarators using the new
7455 c-determine-limit.
7456
f3860cea
GM
74572012-01-18 Glenn Morris <rgm@gnu.org>
7458
7459 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7460 (set-auto-mode): Doc fixes.
7461
1db03b16
GM
74622012-01-17 Glenn Morris <rgm@gnu.org>
7463
0e6038be
GM
7464 * isearch.el (search-nonincremental-instead): Fix doc typo.
7465
1db03b16
GM
7466 * dired.el (dired-insert-directory): Handle newlines in directory name.
7467 (dired-build-subdir-alist): Unescape newlines in directory name.
7468
4cb0aa75
MA
74692012-01-17 Michael Albinus <michael.albinus@gmx.de>
7470
7471 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7472 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7473 (tramp-action-terminal): Use it. (Bug#10530)
7474
1d00653d
SM
74752012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7476
7477 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7478
6a6ee00d
MR
74792012-01-16 Martin Rudalics <rudalics@gmx.at>
7480
7481 * window.el (window-state-ignored-parameters): Remove variable.
7482 (window--state-get-1): Rename argument MARKERS to IGNORE.
7483 Handle persistent window parameters. Make copy of clone-of
7484 parameter only if requested. (Bug#10348)
7485 (window--state-put-2): Install a window parameter only if it has
7486 a non-nil value or an existing parameter shall be overwritten.
7487
97912def
MA
74882012-01-15 Michael Albinus <michael.albinus@gmx.de>
7489
7490 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7491
688070a5
EZ
74922012-01-14 Eli Zaretskii <eliz@gnu.org>
7493
7494 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7495 don't pass the (nil) value of `upnode' to string-match.
7496
301afadc
CY
74972012-01-14 Chong Yidong <cyd@gnu.org>
7498
7499 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7500 Fix values recognized by the cursorBlink resource.
301afadc 7501
9e5788aa
PE
75022012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7503
7504 * epg.el (epg--make-temp-file): Avoid permission race condition
7505 when running on old Emacs versions (bug#10403).
7506
3cdb7f5a
GM
75072012-01-14 Glenn Morris <rgm@gnu.org>
7508
7509 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7510
8c82b1b4
AM
75112012-01-13 Alan Mackenzie <acm@muc.de>
7512
7513 Fix filling for when filladapt mode is enabled.
7514
7515 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7516 c-mask-paragraph, pass in `fill-paragraph' rather than
7517 `fill-region-as-paragraph'. (This is a reversion of a previous
7518 change.)
eb864a71
LM
7519 * progmodes/cc-mode.el (c-basic-common-init):
7520 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7521
e517eda4
GM
75222012-01-13 Glenn Morris <rgm@gnu.org>
7523
1498536e
GM
7524 * dired.el (dired-switches-escape-p): New function.
7525 (dired-insert-directory): Use dired-switches-escape-p.
7526 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7527
e517eda4
GM
7528 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7529
328f984d
GM
75302012-01-12 Glenn Morris <rgm@gnu.org>
7531
7532 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7533 changes in adaptive-fill-regexp. (Bug#10276)
7534
2cc769a8
AM
75352012-01-11 Alan Mackenzie <acm@muc.de>
7536
7537 Fix Emacs bug #10463 - put `widen's around the critical spots.
7538
1d00653d 7539 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7540 widen around each invocation of c-state-pp-to-literal. Remove an
7541 unused let variable.
7542
e52c37fa
GM
75432012-01-11 Glenn Morris <rgm@gnu.org>
7544
7545 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7546 Doc fix.
e52c37fa 7547
96f8741e
CY
75482012-01-10 Chong Yidong <cyd@gnu.org>
7549
1d00653d
SM
7550 * net/network-stream.el (network-stream-open-starttls):
7551 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7552 response to the capability command.
7553
b09a806e
GM
75542012-01-10 Glenn Morris <rgm@gnu.org>
7555
7556 * mail/unrmail.el (unrmail): Tweak previous change.
7557
7655cb66
CY
75582012-01-09 Chong Yidong <cyd@gnu.org>
7559
7560 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7561
9d5a8f0b
AM
75622012-01-08 Alan Mackenzie <acm@muc.de>
7563
7564 Optimise font locking in long enum definitions.
7565
7566 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7567 arm to a cond form to handle enums.
7568 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7569 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7570
9a0115ab 75712012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7572
7573 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7574 (Bug#10401)
6bb72cbd 7575
f186bb95
LMI
75762012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7577
29232a68
LMI
7578 * faces.el (set-face-attribute): Clarify the meaning of the nil
7579 frame (bug#10294).
7580
4e5d086d
LMI
7581 * subr.el (with-selected-frame): Mention that the selected frame
7582 is restored (bug#9980).
7583
8e66aebe
LMI
7584 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7585 (bug#9759).
7586
cd394be1 7587 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7588 (password-read): Don't autoload unused function.
7589
adf4e762
JB
75902012-01-07 Juanma Barranquero <lekktu@gmail.com>
7591
7592 * progmodes/which-func.el (which-func-mode): Turn into a
7593 non-interactive function and mark as obsolete (bug#10428).
7594
89bd9ccd
CY
75952012-01-06 Chong Yidong <cyd@gnu.org>
7596
7597 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7598 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7599 functions, along with 1 and -1.
7600
4afee9d5
EZ
76012012-01-06 Eli Zaretskii <eliz@gnu.org>
7602
7603 * time.el (display-time-load-average)
7604 (display-time-default-load-average): Doc fixes. See the thread
7605 starting at
7606 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7607 for the details.
7608
536aea70
GM
76092012-01-06 Glenn Morris <rgm@gnu.org>
7610
665ae865
GM
7611 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7612 has no messages. (Bug#10377)
7613
c869783d
GM
7614 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7615 than Info-edit. (Bug#10385)
7616
2bb4227e
GM
7617 * time.el (display-time-load-average, display-time-next-load-average):
7618 Doc fixes.
7619
7d5944b9
GM
7620 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7621 local setting of buffer-read-only to the input buffer. (Bug#10419)
7622
536aea70
GM
7623 * calendar/calendar.el (calendar-mode):
7624 Locally set scroll-margin to 0. (Bug#10379)
7625
7dccca16
UM
76262012-01-06 Ulrich Mueller <ulm@gentoo.org>
7627
7628 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7629
afbb7930
GM
76302012-01-05 Glenn Morris <rgm@gnu.org>
7631
7632 * eshell/em-unix.el (diff-no-select): Autoload it.
7633 (eshell/diff): Use diff-no-select. (Bug#10420)
7634
04482335
CY
76352012-01-05 Chong Yidong <cyd@gnu.org>
7636
7baca3bc
CY
7637 * shell.el (shell-dynamic-complete-functions): Revert last change.
7638 (shell-command-completion-function): New function.
7639 (shell-completion-vars): Use it to implement
7640 shell-completion-execonly (Bug#10417).
7641
04482335
CY
7642 * custom.el (enable-theme): Don't set custom-safe-themes.
7643
1d00653d
SM
7644 * cus-theme.el (custom-theme-merge-theme):
7645 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7646
bb5aa5d6
MM
76472012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7648
7649 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7650 first prompt in `sql-interacive-mode'.
7651 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7652 keywords.
6df6ae42 7653 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7654 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7655 context of original buffer. Invoke `sql-login-hook'.
7656
a7183d7c
EZ
76572012-01-04 Eli Zaretskii <eliz@gnu.org>
7658
7659 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7660 letters in cite-prefix.
7661
a1eacd1e
LMI
76622012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7663
7664 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7665
787cdb34
CY
76662012-01-03 Chong Yidong <cyd@gnu.org>
7667
1d00653d
SM
7668 * shell.el (shell-dynamic-complete-functions):
7669 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7670 comint-filename-completion first (Bug#10417).
7671
30710442
RS
76722012-01-02 Richard Stallman <rms@gnu.org>
7673
7674 * battery.el (battery-status-function):
7675 Detect when to use battery-yeeloong-sysfs.
7676 (battery-echo-area-format): Add string for Yeeloong.
7677 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7678 (battery-yeeloong-sysfs): New function.
7679
f75bfc33
CY
76802012-01-02 Chong Yidong <cyd@gnu.org>
7681
7682 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7683 (dirtrack): Merge code for handling relative filenames in prompt
7684 from shell-dir-cookie-watcher.
7685 (dirtrack-debug-message): New arg to avoid excess format calls.
7686
7687 * shell.el (shell-dir-cookie-re): Variable deleted.
7688 (shell-dir-cookie-watcher): Function deleted.
7689 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7690 with dirtrack-mode.
7691
651e947e
EZ
76922012-01-01 Eli Zaretskii <eliz@gnu.org>
7693
1d00653d
SM
7694 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7695 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7696 libgnutls-26.dll.
7697
94d4c7dc
AS
76982011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7699
7700 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7701
8d43f3cd
EZ
77022011-12-31 Eli Zaretskii <eliz@gnu.org>
7703
7704 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7705 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7706
98c8795a
MA
77072011-12-29 Michael Albinus <michael.albinus@gmx.de>
7708
7709 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7710 also for alternative shells.
7711 (tramp-open-connection-setup-interactive-shell): Check, whether
7712 the shell is a busybox.
7713 (tramp-send-command): Don't suppress multiple prompts for
7714 busyboxes, it hurts.
7715
51281b32
CY
77162011-12-28 Chong Yidong <cyd@gnu.org>
7717
7718 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7719 (gdb-get-source-file): Move mode line update to
7720 gdb-get-source-file (Bug#10087).
7721
2170cb53
CY
77222011-12-25 Chong Yidong <cyd@gnu.org>
7723
7724 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7725 gud-gdb-marker-filter without taking it as an argument.
7726 (gud-gdb-run-command-fetch-lines): Caller changed.
7727 (gud-gdb-completion-function): New variable.
7728 (gud-gdb-completion-at-point): Use it.
7729 (gud-gdb-completions-1): Split from gud-gdb-completions.
7730
7731 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7732 function as separate arguments.
7733 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7734 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7735 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7736 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7737 (gdb-stopped, def-gdb-auto-update-trigger)
7738 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7739 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7740 Callers changed.
2170cb53
CY
7741 (gud-gdbmi-completions): New function.
7742 (gdb): Use it for generating the completion table.
7743
be8b11bb
AM
77442011-12-24 Alan Mackenzie <acm@muc.de>
7745
7746 Introduce a mechanism to widen the region used in context font
1d00653d 7747 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7748
1d00653d
SM
7749 * progmodes/cc-langs.el (c-before-font-lock-functions):
7750 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7751 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7752 functions to be run just before context (etc.) font locking.
7753
7754 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7755 New, functionality extracted from
be8b11bb 7756 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7757 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7758 (c-after-change): Set c-in-after-change-fontification.
7759 (c-set-fl-decl-start): Rejig its interface, so it can be called
7760 from both after-change and context fontifying.
b81d40f0
JB
7761 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7762 New functions.
7763 (c-standard-font-lock-fontify-region-function): New variable.
7764 (c-font-lock-fontify-region): New function.
be8b11bb 7765
341cf6ac
JL
77662011-12-24 Juri Linkov <juri@jurta.org>
7767
7768 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7769 (Bug#10348)
7770
bffcee0a
MA
77712011-12-23 Michael Albinus <michael.albinus@gmx.de>
7772
7773 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7774 existence of source file. (Bug#10325)
7775
cb5e207c
AM
77762011-12-23 Alan Mackenzie <acm@muc.de>
7777
7778 Fix unstable fontification inside templates.
7779
b81d40f0
JB
7780 * progmodes/cc-langs.el (c-before-font-lock-functions):
7781 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7782 additionally has c-set-fl-decl-start. The other languages (apart
7783 from AWK) have that as a single entry.
7784
b81d40f0
JB
7785 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7786 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7787 c-set-fl-decl-start.
7788
b81d40f0
JB
7789 * progmodes/cc-mode.el (c-common-init, c-after-change):
7790 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7791 (c-set-fl-decl-start): New function, extracted from
7792 c-font-lock-enclosing-decls and enhanced.
7793
60ff536c
JB
77942011-12-23 Juanma Barranquero <lekktu@gmail.com>
7795
7796 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7797
1c4757d6
JL
77982011-12-22 Juri Linkov <juri@jurta.org>
7799
7800 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7801
d031f2c7
CY
78022011-12-22 Chong Yidong <cyd@gnu.org>
7803
7804 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7805
bace743a
DA
78062011-12-21 Drew Adams <drew.adams@oracle.com>
7807
7808 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7809
728a1f2b
JC
78102011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7811
7812 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7813
0d373f73
TZ
78142011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7815
fec0aaa4
TZ
7816 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7817 highlighting and support. Fix up comments for capitalization.
7818 (cfengine-mode-debug): New var.
7819 (cfengine3-mode): Change the modeline indicator to "CFE3".
7820 (cfengine3-font-lock-keywords): Improve defun highlighting.
7821 (cfengine2-actions): Rename from `cfengine-actions'.
7822 (cfengine2-font-lock-keywords): Rename from
7823 `cfengine-font-lock-keywords'.
7824 (cfengine2-imenu-expression): Rename from
7825 `cfengine-imenu-expression'.
7826 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7827 (cfengine2-beginning-of-defun): Rename from
7828 `cfengine-beginning-of-defun'.
7829 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7830 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7831 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7832 modeline indicator to "CFE2".
7833 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7834 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7835
bc86f573
CY
78362011-12-21 Chong Yidong <cyd@gnu.org>
7837
7838 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7839 filename argument.
7840
d45ba96b
MR
78412011-12-20 Martin Rudalics <rudalics@gmx.at>
7842
7843 * window.el (window-normalize-buffer-to-display): Remove.
7844 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7845
a6198c90
CY
78462011-12-19 Chong Yidong <cyd@gnu.org>
7847
7848 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7849 Don't signal an error in a predicate function; return non-nil.
7850 (vc-dir-mark-file): Move the error here.
7851 (vc-dir-mark-unmark): If acting on the region, keep going if one
7852 of the entries cannot be marked/unmarked.
7853 (vc-dir-mark-all-files): If current entry is a directory, mark
7854 only child files, as documented.
7855
34c5fb55
VB
78562011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7857
7858 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7859 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7860 addition.
7861
c803b2b7
JD
78622011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7863
7864 * term/ns-win.el (ns-get-selection-internal)
7865 (ns-store-selection-internal): Declare.
1154d12e
JB
7866 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7867 Declare as obsolete.
7868 (ns-get-pasteboard, ns-paste-secondary):
7869 Use ns-get-selection-internal.
7870 (ns-set-pasteboard, ns-copy-including-secondary):
7871 Use ns-store-selection-internal.
c803b2b7 7872
9cff91f8 78732011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7874
7875 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7876 (vc-deduce-fileset): Doc fix.
99a289d9 7877
f16c898a
AS
78782011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7879
7880 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7881
763237c4
SS
78822011-12-13 Sam Steingold <sds@gnu.org>
7883
7884 * man.el (Man-getpage-in-background): When running under a
7885 window-system, ignore $MANWIDTH and $COLUMNS.
7886
5fc1c122
KH
78872011-12-15 Kenichi Handa <handa@m17n.org>
7888
7889 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7890 (setup-ethiopic-environment-internal): Comment out key-binding for
7891 ethio-toggle-punctuation.
7892
13d49cbb
AM
78932011-12-13 Alan Mackenzie <acm@muc.de>
7894
898169a2
AM
7895 Add the switch statement to AWK Mode.
7896
7a71b18d 7897 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7898 "default" to the keywords regexp.
7899
7a71b18d 7900 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7901 expression as the rest.
1d00653d
SM
7902 (c-nonlabel-token-key): Allow string literals for AWK.
7903 Refactor for the other modes.
898169a2 7904
13d49cbb 7905 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7906 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7907 routines. Limit backward searching in c-font-lock-enclosing.decl.
7908
7909 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7910 pp-state and literal type in addition to the limits.
1d00653d 7911 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7912 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7913 (c-slow-in-literal, c-fast-in-literal): Remove.
7914 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7915
7916 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7917 being in a literal. Add a limit for backward searching.
7918
7919 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7920 c-slow-in-literal.
7921
15e0efc7
SM
79222011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7923
7924 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7925
454592a6
MR
79262011-12-13 Martin Rudalics <rudalics@gmx.at>
7927
7928 * window.el (delete-other-windows): Use correct frame in call to
7929 window-with-parameter.
7930
87393f26
DP
79312011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7932
7933 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7934 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7935 (makefile-gmake-statements, makefile-makepp-statements):
7936 Use it and add new makepp keywords.
7937 (makefile-makepp-font-lock-keywords): Add new patterns.
7938 (makefile-match-function-end): Match new [...] and [[...]].
7939
11636b22
JB
79402011-12-11 Juanma Barranquero <lekktu@gmail.com>
7941
7942 * ses.el (ses-call-printer-return, ses-cell-property-get)
7943 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7944 (ses-create-cell-variable, ses-reset-header-string)
7945 (ses-cell-set-formula, ses-repair-cell-reference-all)
7946 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7947 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7948 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7949 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7950 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7951 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7952 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7953 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7954 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7955 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7956 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7957 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7958
cf018193
VB
79592011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7960
7961 * ses.el: The overall change is to add cell renaming, that is
7962 setting fancy names for cell symbols other than name matching
7963 "\\`[A-Z]+[0-9]+\\'" regexp .
7964 (ses-create-cell-variable): New defun.
7965 (ses-relocate-formula): Relocate formulas only for cells the
7966 symbols of which are not renamed, i.e. symbols whose names do not
7967 match regexp "\\`[A-Z]+[0-9]+\\'".
7968 (ses-relocate-all): Relocate values only for cells the symbols of
7969 which are not renamed.
7970 (ses-load): Create cells variables as the (ses-cell ...) are read,
7971 in order to check row col consistency with cell symbol name only
7972 for cells that are not renamed.
7973 (ses-replace-name-in-formula): New defun.
7974 (ses-rename-cell): New defun.
7975
ee957461
CY
79762011-12-11 Chong Yidong <cyd@gnu.org>
7977
7978 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7979 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7980
9a9e9ef0
MR
79812011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7982
7983 * window.el (other-window): Fix docstring.
7984
92a8eba5
EZ
79852011-12-10 Eli Zaretskii <eliz@gnu.org>
7986
7987 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7988 `from' or `to' address before taking its substring.
7989 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7990 encoded name is chopped in the middle of the encoded string, and
7991 thus displayed encoded.
7992
e152e577
JB
79932011-12-10 Juanma Barranquero <lekktu@gmail.com>
7994
7995 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
7996
e5d84bfe
EZ
79972011-12-10 Eli Zaretskii <eliz@gnu.org>
7998
7999 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8000 to use texinfo-update-node and commands that call it if the
8001 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8002 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8003 (texinfo-all-menus-update, texinfo-master-menu)
8004 (texinfo-update-node, texinfo-every-node-update)
8005 (texinfo-multiple-files-update): Doc fix. Warn against updating
8006 all the @node lines.
8007 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8008 argument is numeric. Explain better in the doc string what the
8009 function really does.
8010 (texinfo-insert-master-menu-list): Improve the error message
8011 displayed if there's no menu in the Top node.
8012 (Bug#2975) See also this thread:
e5d84bfe
EZ
8013 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8014
1d84e9bb
MG
80152011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8016
8017 * speedbar.el (speedbar-supported-extension-expressions):
8018 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8019
382c953b
JB
80202011-12-09 Juanma Barranquero <lekktu@gmail.com>
8021
8022 * printing.el (pr-mode-alist):
8023 * simple.el (filter-buffer-substring-functions)
8024 (completion-list-insert-choice-function):
8025 * window.el (window-with-parameter, window-atom-root)
8026 (window-sides-slots, window-size-fixed, window-min-delta)
8027 (window-max-delta, window--resize-mini-window)
8028 (window--resize-child-windows-normal, window-tree)
8029 (delete-other-windows, quit-window, split-window)
8030 (display-buffer-record-window, special-display-buffer-names)
8031 (special-display-regexps, special-display-popup-frame)
8032 (same-window-p, split-window-sensibly)
8033 (display-buffer-overriding-action, display-buffer-alist)
8034 (display-buffer-base-action, display-buffer, switch-to-buffer)
8035 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8036 (fit-window-to-buffer, recenter-positions)
8037 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8038 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8039 and remove unneeded backslashes in docstrings.
8040
39c9faef
SM
80412011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8042
98449af8
SM
8043 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8044
39c9faef
SM
8045 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8046 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8047 end in ".mk".
8048 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8049 when reading the makefile (bug#10116).
8050
86ed9fdc
SM
80512011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8052
8053 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8054 (bug#10116).
8055
5580f89d
GM
80562011-12-06 Glenn Morris <rgm@gnu.org>
8057
8058 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8059
28d3917c
CY
80602011-12-06 Chong Yidong <cyd@gnu.org>
8061
8062 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8063
a98edce9
JB
80642011-12-06 Juanma Barranquero <lekktu@gmail.com>
8065
8066 * textmodes/table.el (table-shorten-cell): Fix typo.
8067
e65adfac
CG
80682011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8069
8070 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8071
71cc0b74
EZ
80722011-12-05 Eli Zaretskii <eliz@gnu.org>
8073
8074 * descr-text.el (describe-char): Fix display of strong
8075 right-to-left characters and directional embeddings and overrides.
8076
8077 * simple.el (what-cursor-position): Fix display of codepoints of
8078 strong right-to-left characters.
8079
315bc30d
CY
80802011-12-05 Chong Yidong <cyd@gnu.org>
8081
8082 * faces.el (read-color): Doc fix.
8083
58a70b94
GM
80842011-12-05 Glenn Morris <rgm@gnu.org>
8085
8086 * align.el (align--set-marker): Add doc-string.
8087 Don't try to move something that is not a marker. (Bug#10216)
8088
5158face
GM
80892011-12-04 Glenn Morris <rgm@gnu.org>
8090
8091 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8092 overly zealous deletion of trailing whitespace.
8093
520fca41
JB
80942011-12-04 Juanma Barranquero <lekktu@gmail.com>
8095
8096 * server.el (server-delete-client): On Windows, do not try to delete
8097 the only terminal.
8098 (server-process-filter): On Windows, treat requests for a tty frame as
8099 if they were for a GUI frame if the running server is in GUI mode.
8100
5e605a2e
GM
81012011-12-03 Glenn Morris <rgm@gnu.org>
8102
8103 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8104
5c3fe83f
SM
81052011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8106
6f5e57e7
SM
8107 * electric.el: Streamline electric-indent's hook.
8108 (electric-indent-chars): Revert to simple list.
8109 (electric-indent-functions): New var.
8110 (electric-indent-post-self-insert-function): Use it.
8111
5c3fe83f
SM
8112 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8113 there's no inferior buffer (bug#10196).
8114 (prolog-consult-compile): Don't use toggle-read-only.
8115
6bdac736
MA
81162011-12-02 Michael Albinus <michael.albinus@gmx.de>
8117
8118 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8119 interrupt. (Bug#10187)
8120
6131ba7f
SM
81212011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8122
99c79fee
SM
8123 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8124 (bug#9160).
8125
6131ba7f
SM
8126 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8127 (bug#10191).
8128
cb0a02ea
JL
81292011-12-02 Juri Linkov <juri@jurta.org>
8130
8131 * info.el (Info-search): Display "end of manual" when Isearch
8132 reaches the end of single-file Info manual. (Bug#9918)
8133
66e0570c
EZ
81342011-12-02 Eli Zaretskii <eliz@gnu.org>
8135
8136 * isearch.el (isearch-message-prefix): Run the input method part
8137 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8138
02b16839
JL
81392011-12-02 Juri Linkov <juri@jurta.org>
8140
8141 * isearch.el (isearch-occur): Use `word-search-regexp' for
8142 `isearch-word'.
8143 (isearch-search-and-update): Add condition for `isearch-word' and
8144 call `word-search-regexp'. (Bug#10145)
8145
0b950688
GM
81462011-12-01 Glenn Morris <rgm@gnu.org>
8147
8148 * eshell/em-hist.el (eshell-hist-initialize):
8149 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8150 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8151
9505c3c7
SM
81522011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8153
8154 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8155
1bbe96b2 81562011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8157
a1beca85
SM
8158 * progmodes/verilog-mode.el (verilog-pretty-expr):
8159 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8160 verilog, such as += *= and the like.
8161 (verilog-assignment-operator-re): Regular expression to find the
8162 assigment operator in a verilog assignment.
8163 (verilog-assignment-operation-re): Regular expression to find an
8164 assignment statement for pretty-expr.
8165 (verilog-in-attribute-p): Query returns true if point is in an
8166 attribute context; used to skip these for expression line up from
8167 pretty-expr.
8168 (verilog-in-parameter-p): Query returns true if point is in an
8169 parameter definition context; used to skip these for expression
8170 line up from pretty-expr.
8171 (verilog-in-parenthesis-p): Query returns true if point is in a
8172 parenthetical expression, specifically ( ) but not [ ] or { };
8173 used by pretty-expr.
8174 (verilog-just-one-space): If there is no space, don't add one.
8175 (verilog-get-lineup-indent-2): Specifically skip just attribute
8176 contexts for expression lineup, rather than skipping all
8177 parenthetical expressions.
8178 (verilog-calculate-indent): Fix comment, and fix indent.
8179 (verilog-do-indent): Indent declarations in lists (suggested by
8180 Joachim Lechner).
8181 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8182 skeleton items.
8183 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8184 by Alain Mellan).
8185
1bbe96b2 81862011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8187
8188 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8189 parameters with embedded comments. Reported by Ray Stevens.
8190 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8191 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8192 Reported by Tim Holt.
8193 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8194 instantiated by upper module causing wrong expansion until AUTOed a
8195 second time. Reported by K C Buckenmaier.
8196 (verilog-diff-auto): Fix showing .* as a difference when
8197 `verilog-auto-star-save' off. Reported by Dan Dever.
8198 (verilog-auto-reset, verilog-read-always-signals)
8199 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8200 temporary signals in reset list if
8201 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8202 style to each signal's assignment type, bug381.
8203 Reported by Thomas Esposito.
6288f0ca
WS
8204 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8205 (verilog-uvm-statement-re): Support UVM indentation and
8206 highlighting, with old OVM keywords only.
a1beca85 8207 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8208 Support AUTOTIEOFF creating non-wire data types.
8209 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8210 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8211 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8212 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8213 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8214 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8215 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8216 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8217 non-numeric vector width. Reported by Alex Reed.
8218 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8219 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8220 (verilog-auto-delete-trailing-whitespace):
8221 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8222 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8223 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8224 Fix verilog-scan-cache corruption when running user AUTO expansion
8225 hooks that call indentation routines.
8226 (verilog-simplify-range-expression): Fix typo ignoring lower case
8227 identifiers.
8228 (verilog-delete-auto): Fix delete-autos to also remove user created
8229 automatics, as long as they start with AUTO.
8230 (verilog-batch-diff-auto, verilog-diff-auto)
8231 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8232 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8233 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8234 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8235 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8236 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8237 is disabled and its cache will get corrupt, causing AUTOS not to
8238 expand. Instead use only -quick functions.
8239 (verilog-scan-region): Fix scanning over escaped quotes.
8240 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8241 (verilog-re-search-backward-quick)
8242 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8243 related functions now ignore strings, to fix misparsing of strings
8244 with magic comments embedded in them.
a1beca85
SM
8245 (verilog-read-auto-template):
8246 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8247 Reported by Brad Dobbie.
8248 (verilog-read-auto-template):
8249 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8250 Reported by Brad Dobbie.
6288f0ca
WS
8251 (verilog-auto-inst, verilog-auto-inst-param)
8252 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8253 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8254 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8255 debugging templates without merge conflicts, bug357.
8256 Reported by Brad Dobbie.
8257 (verilog-read-auto-template):
8258 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8259 Reported by Brad Dobbie.
8260 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8261 abbrevs so user won't be asked to save.
8262 (verilog-read-auto-lisp-present): Fix to start at beginning of
8263 buffer in case called outside of verilog-auto.
8264 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8265 to "X-2". Reported by Matthew Myers.
8266 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8267 all inputs from module templates. Reported by Leith Johnson.
8268 (verilog-module-inside-filename-p): Fix locating programs as with
8269 modules.
8270 (verilog-auto-inst-port): Fix vl-width expressions when using
8271 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8272 (verilog-decls-get-regs, verilog-decls-get-signals,
8273 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8274 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8275 verilog-read-decls): Combine reg and wire structures into one var
8276 structure to represent SystemVerilog concepts.
8277 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8278 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8279 (verilog-auto-wire-type, verilog-insert-definition):
8280 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8281 SystemVerilog "logic" keyword instead of "wire"/"reg".
8282 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8283 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8284 ifdef or generate if so there's not a driver conflict).
8285 Reported by Matthew Myers.
8286 (verilog-auto-declare-nettype, verilog-insert-definition):
8287 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8288 `default_nettype none. Reported by Julian Gorfajn.
8289 (verilog-read-always-signals-recurse, verilog-read-decls)
8290 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8291 malformed end statement, bug325. Reported by Joshua Wise and
8292 Andrew Drake.
8293 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8294 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8295 when expanding .* in interfaces, bug320.
8296 Reported by Pierre-David Pfister.
6288f0ca 8297 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8298 name and open parenthesis, bug317.
8299 Reported by Pierre-David Pfister.
6288f0ca
WS
8300 (verilog-simplify-range-expression): Fix simplification of
8301 multiplications inside AUTOWIRE connections, bug303.
8302 (verilog-auto-inst-port): Support parameter expansion in
8303 multidimensional arrays.
8304 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8305 after "assert property". Reported by Julian Gorfajn.
8306 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8307 with multiplication, bug303.
8308 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8309 Reported by Jan Frode Lonnum.
8310
1bbe96b2
GM
83112011-11-30 Juanma Barranquero <lekktu@gmail.com>
8312
8313 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8314 (hfy-shell-file-name, hfy-shell):
8315 * international/fontset.el (x-decompose-font-name): Fix typos.
8316
83172011-11-29 Ken Brown <kbrown@cornell.edu>
8318
8319 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8320 (gdb-version): Remove defvar.
8321 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8322 (gdb-gud-context-command, gdb-non-stop-handler)
8323 (gdb-current-context-command, gdb-stopped): Use it.
8324 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8325 (gdb-non-stop-handler): Don't enable pretty-printing here.
8326 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8327 non-stop mode. Use the following.
8328 (gdb-check-target-async): New defun.
8329 (gud-watch, gdb-stopped): Fix whitespace.
8330 (gdb-get-source-file): Don't try to display the source file if
8331 `gdb-main-file' is nil.
8332
83332011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8334
8335 * align.el: Try to generate fewer markers (bug#10047).
8336 (align--set-marker): New macro.
8337 (align-region): Use it.
8338
c935221f
SM
83392011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8340
8341 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8342
e70b5064
CY
83432011-11-29 Chong Yidong <cyd@gnu.org>
8344
8345 * indent.el (indent-for-tab-command, indent-according-to-mode):
8346 Doc fix.
8347 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8348
f3af92b7
MA
83492011-11-29 Michael Albinus <michael.albinus@gmx.de>
8350
8351 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8352 aware of remote file names. (Bug#10124)
8353
ed472be9
CY
83542011-11-29 Chong Yidong <cyd@gnu.org>
8355
8356 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8357
24510c22
SM
83582011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8359
8360 * files.el (find-file): Don't use force-same-window (bug#10144).
8361 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8362 use pop-to-buffer if the selected window can't be used.
8363 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8364
c60c3703
EZ
83652011-11-28 Eli Zaretskii <eliz@gnu.org>
8366
8367 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8368 special-mode-map.
8369
e95def75
CY
83702011-11-28 Chong Yidong <cyd@gnu.org>
8371
8372 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8373
c3f1c606
NR
83742011-11-27 Nick Roberts <nickrob@snap.net.nz>
8375
8376 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8377 gdb-get-source-file-list on gdb-create-source-file-list.
8378
00db469c
EZ
83792011-11-26 Eli Zaretskii <eliz@gnu.org>
8380
8381 * whitespace.el (whitespace-newline): Use a different foreground
8382 color for 16-color light-background displays.
8383
4ad3bc2a
CY
83842011-11-24 Chong Yidong <cyd@gnu.org>
8385
8386 * window.el (display-buffer--special-action): Doc fix.
8387
e9fce1ac
JB
83882011-11-25 Juanma Barranquero <lekktu@gmail.com>
8389
8390 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8391 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8392 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8393 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8394 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8395 (avl-tree-stack-first):
8396 * emacs-lisp/cconv.el (cconv--analyse-use):
8397 * net/gnutls.el (gnutls-negotiate): Fix typos.
8398
cb825e5d
GM
83992011-11-24 Glenn Morris <rgm@gnu.org>
8400
3adbe224
GM
8401 * lpr.el (lpr-windows-system, lpr-lp-system):
8402 * mail/binhex.el (binhex-begin-line):
8403 * progmodes/grep.el (grep-history, grep-find-history):
8404 * textmodes/flyspell.el:
8405 * vc/pcvs-defs.el (cvs-global-menu):
8406 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8407 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8408 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8409
321decc8
GM
8410 * net/tls.el: Fix case of "GnuTLS".
8411
420b63ad
GM
8412 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8413
cb825e5d
GM
8414 * version.el (emacs-build-system): Give it a doc-string.
8415
a0649f08
JL
84162011-11-24 Juri Linkov <juri@jurta.org>
8417
8418 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8419
c0bc0fd4
GM
84202011-11-24 Glenn Morris <rgm@gnu.org>
8421
8422 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8423 if called on a non-mime message just toggle the headers. (Bug#8006)
8424
20db1522
JB
84252011-11-24 Juanma Barranquero <lekktu@gmail.com>
8426
8427 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8428 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8429 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8430 (allout-rebullet-heading, allout-open-sibtopic)
8431 (allout-toggle-current-subtree-encryption)
8432 (allout-toggle-subtree-encryption, allout-encrypt-string)
8433 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8434 (allout-distinctive-bullets-string, allout-auto-activation):
8435 * window.el (window-normalize-buffer-to-display):
8436 * progmodes/verilog-mode.el (verilog-batch-indent):
8437 * textmodes/bibtex.el (bibtex-field-braces-opt)
8438 (bibtex-field-strings-opt):
8439 * vc/cvs-status.el (cvs-tree-merge):
8440 Fix typos.
8441
7262a87c
MA
84422011-11-23 Michael Albinus <michael.albinus@gmx.de>
8443
8444 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8445 `non-essential' to t, in order to avoid remote connections.
8446
283430a1
EZ
84472011-11-23 Eli Zaretskii <eliz@gnu.org>
8448
a1beca85
SM
8449 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8450 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8451 case-insensitively.
8452
d2992a38
ML
84532011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8454
8455 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8456
50419064
GM
84572011-11-23 Glenn Morris <rgm@gnu.org>
8458
da94eca1
GM
8459 * paths.el (rmail-file-name): Reformat the doc-string so that it
8460 is picked up.
8461
9aac4de2
GM
8462 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8463 (rmail-auto-file): Ignore case in the "special" field names,
8464 as mail-fetch-field does for all others.
8465
8038d2d2
GM
8466 * mail/rmail.el (rmail-forward):
8467 * mail/rmailkwd.el (rmail-set-label):
8468 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8469 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8470
f3fe222a
GM
8471 * mail/rmail.el (rmail-current-message): Doc fix.
8472
50419064
GM
8473 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8474
28109f49
SM
84752011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8476
8477 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8478
394c65f1
GM
84792011-11-22 Glenn Morris <rgm@gnu.org>
8480
8481 * mail/rmailmm.el (test-rmail-mime-handler)
8482 (test-rmail-mime-bulk-handler)
8483 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8484
f2a0aa3a
JL
84852011-11-21 Juri Linkov <juri@jurta.org>
8486
1154d12e
JB
8487 * calc/calc.el (calc-read-key-sequence):
8488 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8489
9c34a344
LMI
84902011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8491
8492 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8493 Tell the caller that the next line needs recomputation, even
8494 though it doesn't start a sexp (bug#10094).
8495
f04a3be9
SM
84962011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8497
8498 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8499
7978747f
SM
85002011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8501
f04a3be9
SM
8502 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8503 Use force-same-window.
7978747f 8504
fe7a3057
JB
85052011-11-20 Juanma Barranquero <lekktu@gmail.com>
8506
8507 * descr-text.el (describe-char-unicode-data):
8508 * json.el (json-string-escape):
8509 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8510 (Footnote-unicode, Footnote-style-p):
8511 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8512
24901d61
CY
85132011-11-20 Chong Yidong <cyd@gnu.org>
8514
8515 * window.el (replace-buffer-in-windows): Restore interactive spec.
8516
bac7ff22
SM
85172011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8518
24f3d7b9
SM
8519 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8520
bac7ff22
SM
8521 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8522 (byte-compile-global-not-obsolete-vars): New var.
8523 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8524 Use it.
8525 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8526
cd1181db
JB
85272011-11-20 Juanma Barranquero <lekktu@gmail.com>
8528
8529 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8530 * progmodes/pascal.el (electric-pascal-equal):
8531 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8532 * xml.el (xml-substitute-special): Fix typos.
8533
7fb18e9e
GM
85342011-11-20 Glenn Morris <rgm@gnu.org>
8535
8536 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8537 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8538 Doc fixes.
8539 (rmail-decode-mime-charset): Mark as obsolete.
8540
8541 * mail/rmailsum.el (rmail-message-regexp-p-1):
8542 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8543 Before using mime functions, check they are set. (Bug#10077)
8544
d5a6b3ba
JL
85452011-11-19 Juri Linkov <juri@jurta.org>
8546
8547 * info.el (Info-finder-find-node): Use `package--builtins' instead
8548 of `package-alist'. Use node names formed by the pattern "Keyword "
8549 and the keyword name.
8550
e981b61f
AS
85512011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8552
1d00653d 8553 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8554
3ffbc301
JL
85552011-11-19 Juri Linkov <juri@jurta.org>
8556
8557 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8558 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8559 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8560 `old-history', `old-history-forward'. Add let-binding
8561 `window-selected'. Remove calls to `kill-buffer',
8562 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8563 before calling `Info-find-node', so `Info-find-node-2' will reread
8564 the Info file. Restore window positions only when `window-selected'
8565 is non-nil.
8566
30c62133
JL
85672011-11-19 Juri Linkov <juri@jurta.org>
8568
8569 * isearch.el (isearch-lazy-highlight-new-loop):
8570 Remove condition `(not isearch-error)'. (Bug#9918)
8571
8572 * misearch.el (multi-isearch-search-fun): Add condition
8573 `(not bound)' to ignore lazy-highlighting search.
8574 Add the search-failed message "end of multi" when the end of
8575 multi-sequence is reached. Uncapitalize the search-failed
8576 message "Repeat for next buffer".
8577
8578 * info.el (Info-search): Add the search-failed message
8579 "end of the manual" when the end of the manual is reached
8580 in Isearch mode.
8581
645ca9cf
JL
85822011-11-19 Juri Linkov <juri@jurta.org>
8583
8584 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8585 Use non-destructive `remove' instead of `delete' because
8586 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8587 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8588
df754f66
JL
85892011-11-19 Juri Linkov <juri@jurta.org>
8590
8591 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8592 to nil instead of binding `search-ring' and `regexp-search-ring'.
8593 (Bug#9185)
8594
0e23d96a
EZ
85952011-11-19 Eli Zaretskii <eliz@gnu.org>
8596
8597 * simple.el (line-move): Force movement by logical lines for any
8598 hscrolled window, not only when auto-hscroll-mode is on.
8599 (line-move-visual): Update doc string to that effect. (Bug#10076)
8600
8a6ccb66
AS
86012011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8602
8603 * language/european.el (macintosh): Define as alias for mac-roman.
8604
49ae5b39
EZ
86052011-11-19 Eli Zaretskii <eliz@gnu.org>
8606
8607 * mail/rmailmm.el (rmail-mime-display-header)
8608 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8609 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8610 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8611 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8612 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8613 of a raw aref.
8614 (rmail-mime-entity-segment): To get past the tagline, move forward
8615 2 more lines, to account for the 2 empty lines that precede and
8616 follow the line with the buttons.
8617 (rmail-mime-update-tagline): Move one more line, to get past the
8618 empty line that follows the buttons in the tagline. (Bug#9520)
8619
c56cad4a
MR
86202011-11-19 Martin Rudalics <rudalics@gmx.at>
8621
8622 * window.el (window-max-delta-1, window-min-delta-1)
8623 (window-min-size-1, window-state-get-1, window-state-put-1)
8624 (window-state-put-2): Use "window--" prefix.
8625
cbe71af3
SM
86262011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8627
2ad52c60
SM
8628 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8629 (smie-warning-count): New var.
8630 (smie-set-prec2tab): Use it.
8631 (smie-bnf->prec2): Improve warnings. Add docstring.
8632 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8633 (smie-bnf--set-class): New function.
8634 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8635 corner case.
8636
6944dbc1
SM
8637 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8638 (compilation-error-properties, compilation-move-to-column):
8639 Handle compilation-first-column while in the target buffer.
8640
c400c4d7
SM
8641 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8642 Don't hardcode point-min==1.
8643
6dbe3e96
SM
8644 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8645 (eshell-rewrite-for-command): Remove workaround.
8646 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8647 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8648 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8649
cbe71af3
SM
8650 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8651
a8e1496d
GM
86522011-11-17 Glenn Morris <rgm@gnu.org>
8653
8654 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8655 Ignore buffer-local generated-autoload-file if it is the same
8656 as the global value. (Bug#10049)
8657
df85d315
JB
86582011-11-17 Juanma Barranquero <lekktu@gmail.com>
8659
8660 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8661 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8662 (reftex-toc-previous-heading, reftex-toc-max-level)
8663 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8664 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8665 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8666 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8667 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8668 (reftex-toc-rename-label, reftex-toc-visit-location)
8669 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8670 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8671 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8672 leaving "*toc*" only for references to the buffer.
8673
a0c2d0ae
MR
86742011-11-17 Martin Rudalics <rudalics@gmx.at>
8675
8676 * window.el (window-resize, delete-window, split-window):
8677 Replace window-splits by window-combination-resize.
1d00653d 8678 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8679
35c0bac8
GM
86802011-11-17 Glenn Morris <rgm@gnu.org>
8681
8682 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8683 Make bash entry derive from sh entry, not shell entry.
8684
d0c8fc8a
MA
86852011-11-16 Michael Albinus <michael.albinus@gmx.de>
8686
7262a87c
MA
8687 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8688 local file name.
8689
7877f373
JB
86902011-11-16 Juanma Barranquero <lekktu@gmail.com>
8691
8692 * menu-bar.el (menu-bar-file-menu):
8693 * printing.el (pr-ps-utility):
8694 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8695 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8696 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8697 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8698 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8699 (icalendar--convert-cyclic-to-ical)
8700 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8701 (icalendar--convert-ical-to-diary)
8702 (icalendar--convert-recurring-to-diary)
8703 (icalendar--convert-non-recurring-all-day-to-diary)
8704 (icalendar-import-format-sample):
8705 * progmodes/idlw-shell.el (idlwave-shell-mode):
8706 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8707 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8708 (vhdl-ps-print-init): Fix typos.
8709
10649b82
KM
87102011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8711
9d0cfcd6
GM
8712 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8713 FSF and collapse date sequence, obscure author/maintainer email address
8714 better, remove extra version line, track relocation of author's webpage.
10649b82 8715
9d0cfcd6
GM
8716 * progmodes/python.el (python-pdbtrack-input-prompt)
8717 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8718 regular python pdb prompts. Adjustments shamelessly taken exactly as
8719 suggested in EmacsWiki page (tiny change):
8720 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8721
58179cce
JB
87222011-11-16 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * expand.el (expand-pos, expand-index, expand-point):
8725 Remove redundant info from docstring.
8726 (expand-add-abbrevs): Doc fix.
8727 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8728 (expand-sample-perl-mode-expand-list): Fix typos.
8729
8730 * net/dbus.el (dbus-event-member-name):
8731 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8732 * term/pc-win.el (msdos-create-frame-with-faces):
8733 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8734
b6f67890
MR
87352011-11-16 Martin Rudalics <rudalics@gmx.at>
8736
8737 * window.el (split-window, window-state-get-1)
8738 (window-state-put-1, window-state-put-2): Rename occurrences of
8739 window-nest to window-combination-limit.
1d00653d 8740 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8741
ce7ddba0
CY
87422011-11-16 Chong Yidong <cyd@gnu.org>
8743
8744 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8745 regexp (Bug#10033).
8746
3ae704f4
SM
87472011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8748
8749 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8750 `completing-read' will remove *Completions* and will preserve
8751 current-buffer for us.
8752 (tmm-add-prompt): Users of *Completions* will always (re)set its
8753 major mode.
8754 (tmm-old-comp-map): Remove.
8755
6ad1cdde
GM
87562011-11-16 Glenn Morris <rgm@gnu.org>
8757
8758 * mail/rmailedit.el: Require rmailmm when compiling.
8759 (rmail-old-mime-state): New declaration.
8760 (rmail-edit-current-message): If editing a mime message,
8761 edit the "raw" message from the mbox buffer.
8762 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8763
d20faa20
GM
87642011-11-15 Glenn Morris <rgm@gnu.org>
8765
8766 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8767 which wasn't being used. Add optional arg to force given state.
8768 (rmail-mime): Add optional arg to force given state.
8769
c7015153
JB
87702011-11-15 Juanma Barranquero <lekktu@gmail.com>
8771
8772 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8773 * frame.el (display-mm-dimensions-alist):
8774 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8775 (outline-move-subtree-down):
8776 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8777 (newsticker--treeview-do-get-node):
8778 * net/quickurl.el (quickurl-list-buffer-name):
8779 * progmodes/dcl-mode.el (dcl-mode):
8780 * progmodes/gdb-mi.el (gdb-mapcar*):
8781 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8782
45261b50
GM
87832011-11-15 Glenn Morris <rgm@gnu.org>
8784
8785 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8786 in a boolean sense, so just make it a boolean, and fix the doc.
8787 (rmail-show-mime-function, rmail-mime-feature)
8788 (rmail-require-mime-maybe): Doc fixes.
8789 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8790
8791 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8792
0d26e0b6
JB
87932011-11-15 Juanma Barranquero <lekktu@gmail.com>
8794
8795 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8796 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8797 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8798 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8799
447f30f6
GM
88002011-11-15 Glenn Morris <rgm@gnu.org>
8801
672b871d
GM
8802 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8803 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8804 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8805 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8806 (rmail-mime, rmail-show-mime): Doc fixes.
8807
f6aa5bb1
GM
8808 * term/ns-win.el (mode-line-frame-identification):
8809 Leave it alone. (Bug#10051)
8810
947cd66b
GM
8811 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8812
447f30f6
GM
8813 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8814 Handle empty buffers. (Bug#9978)
8815
0b381c7e
JB
88162011-11-14 Juanma Barranquero <lekktu@gmail.com>
8817
8818 * international/mule.el (define-charset):
8819 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8820 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8821 * progmodes/verilog-mode.el (verilog-backward-token):
8822 * textmodes/ispell.el (lookup-words):
8823 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8824
71e027ac
GM
88252011-11-14 Glenn Morris <rgm@gnu.org>
8826
56632ce4
GM
8827 * progmodes/executable.el
8828 (executable-make-buffer-file-executable-if-script-p):
8829 Handle file-modes returning nil.
8830
40500957
GM
8831 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8832 message - not necessary, and causes problems. (Bug#9831)
8833
071c2340
GM
8834 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8835
d3cfca60
GM
8836 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8837
71e027ac
GM
8838 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8839 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8840 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8841
89d61221
MR
88422011-11-12 Martin Rudalics <rudalics@gmx.at>
8843
8844 * window.el (window-resize, delete-window): Use window-splits
8845 variable instead of function.
8846 (window-state-get-1, window-state-put-2, window-state-put):
8847 Don't deal with windows' splits status.
8848
98282f6f
GM
88492011-11-12 Glenn Morris <rgm@gnu.org>
8850
8851 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8852 (apropos-documentation): Doc fixes.
8853
40a8bdf6
JB
88542011-11-11 Juanma Barranquero <lekktu@gmail.com>
8855
8856 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8857 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8858
65bd19ff
SM
88592011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8860
8861 * electric.el (electric-indent-post-self-insert-function): Make it
8862 possible for a char to only indent in some circumstances.
8863 (electric-indent-mode): Simplify.
8864
54f9154c
MR
88652011-11-11 Martin Rudalics <rudalics@gmx.at>
8866
8867 * window.el (windows-with-parameter): Remove unused function.
8868 (windows-at-side): Rename to window-at-side-list.
8869 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8870 (window-side-check, window-size-ignore, window-size-fixed-1)
8871 (window-in-direction-2): Prefix with "window--".
8872 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8873
68cbc58b
GM
88742011-11-11 Glenn Morris <rgm@gnu.org>
8875
8876 * subr.el (eval-after-load): If FILE is already loaded,
8877 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8878
b2621720
GM
88792011-11-10 Glenn Morris <rgm@gnu.org>
8880
9a4de110
GM
8881 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8882 Call svn via vc-svn-command rather than vc-do-command.
8883 (vc-svn-command): Add --non-interactive. (Bug#9993)
8884 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8885
b2621720
GM
8886 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8887 Add toggle-read-only. (Bug#7292)
8888 * files.el (toggle-read-only): Mention that it should only
8889 be used interactively. (Bug#10006)
8890
1dce7193
SM
88912011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8892
d9ac1a1e
SM
8893 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8894 Adjust regexp for OCaml warnings.
8895
0c325082
SM
8896 * electric.el (electric-pair-post-self-insert-function): Let user
8897 turn it off buffer-locally (bug#9932).
8898
90132c14
SM
8899 * progmodes/python.el (python-beginning-of-statement):
8900 Rewrite (bug#2703).
8901
1dce7193
SM
8902 * progmodes/compile.el: Better handle TABs (bug#9749).
8903 (compilation-internal-error-properties)
8904 (compilation-next-error-function): Obey the target buffer's
8905 compilation-error-screen-columns.
8906
c4e7c63a
JB
89072011-11-09 Juanma Barranquero <lekktu@gmail.com>
8908
8909 * progmodes/meta-mode.el: Remove obsolete comments.
8910 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8911 Fix typos in docstrings.
8912
2cffd681
MR
89132011-11-09 Martin Rudalics <rudalics@gmx.at>
8914
8915 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8916 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8917 (window--resizable): New function. Make all callers of
8918 window-resizable call window--resizable instead.
8919 (window-resizable): Rewrite in terms of window--resizable.
8920
0edcba87
GM
89212011-11-08 Glenn Morris <rgm@gnu.org>
8922
8923 * progmodes/delphi.el (delphi-mode-syntax-table):
8924 Let define-derived-mode define a proper syntax table. (Bug#9994)
8925
4b0d61e3
SM
89262011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8927
8928 * window.el: Stay away from defsubst.
8929 (window-list-no-nils): Remove.
8930 (window-state-get-1, window-state-get): Use backquote instead.
8931
cd394be1 89322011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8933
4b0d61e3 8934 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8935 Fix incorrect use of default argument in `completing-read'.
8936
e1c2c6f2
MR
89372011-11-08 Martin Rudalics <rudalics@gmx.at>
8938
8939 * window.el (display-buffer-function, special-display-function):
8940 Mention display-buffer-record-window but do not mention
8941 help-setup parameter in doc-strings.
b3f4a882 8942 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8943
105216ed
CY
89442011-11-08 Chong Yidong <cyd@gnu.org>
8945
8946 * window.el (window-total-height, window-total-width): Doc fix.
8947 (window-body-size): Move from C.
8948 (window-body-height, window-body-width): Move to C.
8949
0a9f9ab5
SM
89502011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8951
8952 * window.el: Make special-display like display-buffer-alist (bug#9532).
8953 (display-buffer--special-action): New function, morphed
8954 from display-buffer--special.
8955 (display-buffer): Use it to handle special-display-buffers at higher
8956 priority (just after display-buffer-alist).
8957 (display-buffer-fallback-action, display-buffer--other-frame-action)
8958 (pop-to-buffer-same-window): Remove display-buffer--special.
8959
a769dd15
GM
89602011-11-07 Glenn Morris <rgm@gnu.org>
8961
8962 * calendar/cal-menu.el (cal-menu-set-date-title):
8963 Do nothing if not in a calendar. (Bug#9976)
8964
05a61ee3
SM
89652011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8966
8967 * files.el (find-file): Always use selected-window.
8968
be7f5545
MR
89692011-11-07 Martin Rudalics <rudalics@gmx.at>
8970
8971 * window.el (window-combinations): Make WINDOW argument
8972 mandatory. Rewrite doc-string.
8973 (walk-window-subtree, window-atom-check, window-min-delta)
8974 (window-max-delta, window--resize-this-window)
8975 (window--resize-root-window-vertically, window-tree)
8976 (balance-windows, window-state-put): Rewrite doc-strings as to
8977 not mention the term "subwindow".
8978 (window--resize-subwindows-skip-p): Rename to
8979 window--resize-child-windows-skip-p.
8980 (window--resize-subwindows-normal): Rename to
8981 window--resize-child-windows-normal.
8982 (window--resize-subwindows): Rename to
8983 window--resize-child-windows.
8984 (window-or-subwindow-p): Rename to window--in-subtree-p.
8985
3c6702ef
ML
89862011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8987
8988 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8989 Ensure that mbox format messages end in two newlines (Bug#9974).
8990
49745b39
CY
89912011-11-06 Chong Yidong <cyd@gnu.org>
8992
8993 * window.el (window-combination-p): Function deleted; its
8994 side-effect is not used in any existing code.
8995 (window-combinations, window-combined-p): Call window-*-child
8996 directly.
8997
24300f5f
CY
89982011-11-05 Chong Yidong <cyd@gnu.org>
8999
9000 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9001 (window-size-ignore, window-state-get): Callers changed.
9002 (window-normalize-window): Rename from window-normalize-any-window.
9003 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9004 (window-normalize-live-window): Delete.
447f16b8
CY
9005 (window-combination-p, window-combined-p, window-combinations)
9006 (walk-window-subtree, window-atom-root, window-min-size)
9007 (window-sizable, window-sizable-p, window-size-fixed-p)
9008 (window-min-delta, window-max-delta, window-resizable)
9009 (window-resizable-p, window-full-height-p, window-full-width-p)
9010 (window-current-scroll-bars, window-point-1, set-window-point-1)
9011 (window-at-side-p, window-in-direction, window-resize)
9012 (adjust-window-trailing-edge, maximize-window, minimize-window)
9013 (window-deletable-p, delete-window, delete-other-windows)
9014 (record-window-buffer, unrecord-window-buffer)
9015 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9016 (quit-window, split-window, window-state-put)
9017 (set-window-text-height, fit-window-to-buffer)
9018 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9019
89bd5ee1
EZ
90202011-11-04 Eli Zaretskii <eliz@gnu.org>
9021
53479029
EZ
9022 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9023 rfc2047-decode-string.
9024 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9025 warnings.
9026
89bd5ee1
EZ
9027 * window.el (window-body-height, window-body-width): Mention in
9028 the doc string that the return values are in frame's canonical
9029 units. (Bug#9949)
9030
bd17fdee
AM
90312011-11-03 Alan Mackenzie <acm@muc.de>
9032
9033 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9034 change in cc-engine.el.
9035
acc825c5
SM
90362011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9037
9038 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9039
1885e5b8
MR
90402011-11-02 Martin Rudalics <rudalics@gmx.at>
9041
9042 * window.el (quit-window): Call unrecord-window-buffer after
9043 showing another buffer in the window. (Bug#9937)
acc825c5 9044 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9045
ebe06da9
JB
90462011-11-02 Juanma Barranquero <lekktu@gmail.com>
9047
9048 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9049 Accept status with more than 9 shelves. (Bug#9935)
9050 Reported by Colin D Bennett <colin@gibibit.com>.
9051
4ee88440
MR
90522011-11-01 Martin Rudalics <rudalics@gmx.at>
9053
9054 * help.el (with-help-window): Don't reference
9055 temp-buffer-show-specifiers in doc-string.
9056
08e1d82c
AS
90572011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9058
9059 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9060 menu-item.
9061
84bd6e9e
VJL
90622011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9063
9064 * whitespace.el: New version 13.2.2.
9065 (whitespace-newline-mode): Disable properly. Reported by Sarah
9066 <EmacsWiki>.
9067
dba0634a
UJ
90682011-10-30 Ulf Jasper <ulf.jasper@web.de>
9069
9070 * net/newst-treeview.el: Remove "Time-stamp".
9071 (newsticker--group-manage-orphan-feeds): Do not call
9072 newsticker--treeview-tree-update.
db22a3c2
JB
9073 (newsticker-treeview-update, newsticker-treeview):
9074 Call newsticker--treeview-tree-update if necessary.
dba0634a 9075
3d8daefe
MR
90762011-10-30 Martin Rudalics <rudalics@gmx.at>
9077
9078 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9079 (window-iso-combinations): Remove "iso-" infix.
9080 Suggested by Chong Yidong.
3d8daefe
MR
9081 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9082 (window-max-delta-1, window-resize, window--resize-siblings)
9083 (window--resize-this-window, adjust-window-trailing-edge)
9084 (split-window, balance-windows-1)
9085 (shrink-window-if-larger-than-buffer):
9086 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9087 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9088
1bc4c3ae
SM
90892011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9090
9091 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9092 in place (bug#9907).
9093 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9094 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9095 (eshell-structure-basic-command, eshell-rewrite-while-command)
9096 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9097 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9098 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9099 (eshell-do-pipelines-synchronously, eshell-eval-command):
9100 Use backquotes and prefer setq to set.
9101 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9102 (eshell-macrop): Use functionp.
c1e2f5fa 9103 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9104
30b65d9c
CY
91052011-10-30 Chong Yidong <cyd@gnu.org>
9106
9107 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9108 instead of set-mark (Bug#9810).
9109
2d197ffb
CY
91102011-10-30 Chong Yidong <cyd@gnu.org>
9111
9112 * window.el (split-window-below, split-window-right): Rename from
9113 split-window-above-each-other and split-window-side-by-side
9114 respectively. All callers changed.
9115 (split-window-sensibly, split-window-sensibly): Use them.
9116 (split-window-keep-point): Doc fix.
9117
9118 * isearch.el: Add isearch-scroll property to split-window-below
9119 and split-window-right.
9120
9121 * follow.el (follow-mode):
9122 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9123 * progmodes/ada-xref.el (ada-gdb-application):
9124 * emulation/vip.el (vip-buffer-in-two-windows):
9125 * image-dired.el (image-dired-dired-with-window-configuration):
9126 * dired-x.el (dired-do-find-marked-files):
9127 * dired.el (dired-pop-to-buffer):
9128 * bs.el (bs--show-with-configuration):
9129 * vc/emerge.el (emerge-setup-windows):
9130 * textmodes/two-column.el (2C-two-columns):
9131 * textmodes/reftex-toc.el (reftex-toc):
9132 * progmodes/gdb-mi.el (gdb-setup-windows):
9133 * progmodes/fortran.el (fortran-window-create):
9134 * net/newst-treeview.el (newsticker--treeview-window-init):
9135 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9136 * emulation/tpu-edt.el (tpu-gold-map):
9137 * emulation/crisp.el (crisp-mode-map):
9138 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9139
38bb2ca8
CY
91402011-10-29 Chong Yidong <cyd@gnu.org>
9141
aa4de341
CY
9142 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9143
e1eb5385
CY
9144 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9145
5d2ece3c
CY
9146 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9147 forged Ispell output (Bug#7904).
9148
38bb2ca8
CY
9149 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9150
d0af9f77
SM
91512011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9152
9153 * doc-view.el: Avoid ugly errors about not finding nil.
9154 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9155 (doc-view-dvipdf-program, doc-view-unoconv-program)
9156 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9157 Avoid nil or absolute file name as default value.
9158 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9159
52bedd34
AM
91602011-10-28 Alan Mackenzie <acm@muc.de>
9161
db22a3c2 9162 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9163
7e43cfa5
AM
91642011-10-28 Alan Mackenzie <acm@muc.de>
9165
9166 Amend the handling of c-beginning/end-of-defun in nested declaration
9167 scopes.
9168
52bedd34
AM
9169 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9170 cc-langs.el. Change it to a defcustom.
7e43cfa5 9171
52bedd34
AM
9172 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9173 cc-vars.el.
7e43cfa5 9174
d0af9f77
SM
9175 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9176 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9177
52bedd34 9178 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9179 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9180 (c-widen-to-enclosing-decl-scope): New function.
9181 (c-while-widening-to-decl-block): New macro.
9182 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9183 outward for defun boundaries, and correspondingly change symbol
9184 `respect-enclosure' to `go-outward'.
9185 (c-declaration-limits): Change algorithm to report only the "innermost"
9186 defun's boundaries.
9187
1a2ce9ee
DD
91882011-10-28 Deniz Dogan <deniz@dogan.se>
9189
9190 * net/rcirc.el (rcirc-mode): Use hard newlines.
9191
bc97a826
AM
91922011-10-28 Alan Mackenzie <acm@muc.de>
9193
9194 Amend to indent and fontify macros "which include their own semicolon"
9195 correctly, using the "virtual semicolon" mechanism.
9196
52bedd34 9197 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9198
d0af9f77 9199 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9200 Recode to scan one line at a time rather than having \n and \r
58179cce 9201 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9202 (c-forward-label): Amend for virtual semicolons.
58179cce 9203 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9204
52bedd34
AM
9205 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9206 of the new C macros.
bc97a826 9207
52bedd34 9208 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9209 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9210 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9211 (c-opt-cpp-macro-define): Make into a full language variable.
9212 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9213 AWK Mode (including \n, \r) removed, no longer needed.
9214
d0af9f77
SM
9215 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9216 Invoke c-make-macro-with-semi-re.
bc97a826 9217
52bedd34
AM
9218 * progmodes/cc-vars.el (c-macro-with-semi-re):
9219 (c-macro-names-with-semicolon): New variables.
58179cce 9220 (c-make-macro-with-semi-re): New function.
bc97a826 9221
7a6c0941
SM
92222011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9223
9224 * vc/log-edit.el: Fill empty field rather than adding new one.
9225 (log-edit-add-field): New function.
9226 (log-edit-insert-changelog): Use it.
9227
b0c4cdcf
ML
92282011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9229
9230 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9231
ee1f1da9
SM
92322011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9233
9234 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9235 (gdb--check-interpreter): New function.
9236 (gdb): Use it.
9237
51bc5f8b
GM
92382011-10-27 Glenn Morris <rgm@gnu.org>
9239
416a2c45
GM
9240 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9241 (least-positive-float, least-negative-float)
9242 (least-positive-normalized-float, least-negative-normalized-float)
9243 (float-epsilon, float-negative-epsilon):
9244 Remove unnecessary declarations.
9245
9246 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9247 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9248 (least-positive-float, least-negative-float)
9249 (least-positive-normalized-float, least-negative-normalized-float)
9250 (float-epsilon, float-negative-epsilon): Add doc-strings,
9251 based on those in cl.texi.
9252
51bc5f8b
GM
9253 * files.el (set-visited-file-name): If the major-mode changed,
9254 reload the local variables. (Bug#9796)
9255
15de15c6
CY
92562011-10-27 Chong Yidong <cyd@gnu.org>
9257
9258 * subr.el (change-major-mode-after-body-hook): New hook.
9259 (run-mode-hooks): Run it.
9260
ee1f1da9
SM
9261 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9262 Use change-major-mode-before-body-hook.
15de15c6
CY
9263
9264 * simple.el (fundamental-mode):
9265 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9266 change introducing fundamental-mode-hook.
9267
5430d399
JB
92682011-10-26 Juanma Barranquero <lekktu@gmail.com>
9269
acc825c5 9270 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9271
ad74a69e
MA
92722011-10-26 Michael Albinus <michael.albinus@gmx.de>
9273
9274 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9275 tramp.el explicitly. (Bug#7583)
ad74a69e 9276
71d4c2a5
SM
92772011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9278
9279 * progmodes/octave-mod.el:
9280 * progmodes/octave-inf.el: Update maintainer.
9281
b1f6fa26
CY
92822011-10-26 Chong Yidong <cyd@gnu.org>
9283
9284 * subr.el (with-wrapper-hook): Rewrite doc.
9285
3f04efd6
MA
92862011-10-25 Michael Albinus <michael.albinus@gmx.de>
9287
9288 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9289 filenames "/method:foo:". (Bug#9793)
3f04efd6 9290
410488d3
SM
92912011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9292
9293 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9294 (bug#9865).
9295
c1ebb47e
GM
92962011-10-24 Glenn Morris <rgm@gnu.org>
9297
9298 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9299
7f5c46c7
MA
93002011-10-24 Michael Albinus <michael.albinus@gmx.de>
9301
9302 * notifications.el: Add the requirement of a running D-Bus session
9303 bus to the Commentary.
9304
db2440b6
JL
93052011-10-24 Juri Linkov <juri@jurta.org>
9306
9307 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9308 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9309 (Bug#9364)
9310
feecf435
JL
93112011-10-24 Juri Linkov <juri@jurta.org>
9312
9313 * info.el (Info-following-node-name-re): Add newline to the list
9314 of allowed characters for leading space. (Bug#9824)
9315
a3839de2
SM
93162011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9317
acc825c5
SM
9318 * progmodes/octave-inf.el (inferior-octave-mode-map):
9319 Fix C-c C-h binding.
a3839de2
SM
9320 * progmodes/octave-mod.el (octave-help): Remove.
9321
09388e76
MA
93222011-10-23 Michael Albinus <michael.albinus@gmx.de>
9323
9324 Sync with Tramp 2.2.3.
9325
9326 * net/tramp-cache.el (top): Pacify byte-compiler using
9327 `init-file-user' and `site-run-file'.
9328
9329 * net/trampver.el: Update release number.
9330
86c60681
CY
93312011-10-23 Chong Yidong <cyd@gnu.org>
9332
9333 * files.el (toggle-read-only): Remove obsolete comment about
9334 version control.
9335
9336 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9337 for toggle-read-only. Note that this hasn't called vc-next-action
9338 since 2008-05-02, though it wasn't documented at the time.
9339
a3839de2
SM
9340 * vc/ediff-init.el (ediff-toggle-read-only-function):
9341 Use toggle-read-only.
86c60681 9342
cd5495ff
AM
93432011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9344
9345 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9346 of c-parse-state.
9347
00b77525 9348 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9349 correct faulty logical expression.
cd5495ff
AM
9350 (c-parse-state-state, c-record-parse-state-state):
9351 (c-replay-parse-state-state): New defvar/defuns.
9352 (c-debug-parse-state): Use new functions.
9353
42ee24ed
MR
93542011-10-22 Martin Rudalics <rudalics@gmx.at>
9355
9356 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9357 last fix. Use window-in-direction correctly.
42ee24ed 9358
a7dee7e7
CY
93592011-10-21 Chong Yidong <cyd@gnu.org>
9360
9361 * progmodes/idlwave.el (idlwave-mode):
9362 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9363 require-final-newline; that's done in prog-mode.
9364 Suggested by Stefan Monnier.
a7dee7e7 9365
e07b9a6d
MR
93662011-10-21 Martin Rudalics <rudalics@gmx.at>
9367
9368 * mouse.el (mouse-drag-window-above)
9369 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9370 (mouse-drag-mode-line-1, mouse-drag-header-line)
9371 (mouse-drag-vertical-line-rightward-window): Remove.
9372 (mouse-drag-line): New function.
9373 (mouse-drag-mode-line, mouse-drag-header-line)
9374 (mouse-drag-vertical-line): Call mouse-drag-line.
9375 * window.el (window-at-side-p, windows-at-side): New functions.
9376
7e1361d9
UM
93772011-10-21 Ulrich Mueller <ulm@gentoo.org>
9378
9379 * tar-mode.el (tar-grind-file-mode):
9380 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9381
30fcaf3a
CY
93822011-10-21 Chong Yidong <cyd@gnu.org>
9383
9384 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9385 * progmodes/vera-mode.el (vera-mode):
9386 Use mode-require-final-newline.
30fcaf3a 9387
516eddb0
GM
93882011-10-20 Glenn Morris <rgm@gnu.org>
9389
db22a3c2 9390 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9391
10d5f513
CS
93922011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9393
9394 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9395
ac6c8639
CY
93962011-10-20 Chong Yidong <cyd@gnu.org>
9397
9398 * emulation/cua-base.el (cua-mode):
9399 * mail/footnote.el (footnote-mode):
9400 * mail/mailabbrev.el (mail-abbrevs-mode):
9401 * net/xesam.el (xesam-minor-mode):
9402 * progmodes/bug-reference.el (bug-reference-mode):
9403 * progmodes/cap-words.el (capitalized-words-mode):
9404 * progmodes/compile.el (compilation-minor-mode)
9405 (compilation-shell-minor-mode):
9406 * progmodes/gud.el (gud-tooltip-mode):
9407 * progmodes/hideif.el (hide-ifdef-mode):
9408 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9409 * progmodes/subword.el (subword-mode):
9410 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9411 * progmodes/which-func.el (which-function-mode):
9412 * term/tvi970.el (tvi970-set-keypad-mode):
9413 * term/vt100.el (vt100-wide-mode):
9414 * textmodes/flyspell.el (flyspell-mode):
9415 * textmodes/ispell.el (ispell-minor-mode):
9416 * textmodes/nroff-mode.el (nroff-electric-mode):
9417 * textmodes/paragraphs.el (use-hard-newlines):
9418 * textmodes/refill.el (refill-mode):
9419 * textmodes/reftex.el (reftex-mode):
9420 * textmodes/rst.el (rst-minor-mode):
9421 * textmodes/sgml-mode.el (html-autoview-mode)
9422 (sgml-electric-tag-pair-mode):
9423 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9424 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9425 * emulation/crisp.el (crisp-mode):
9426 * emacs-lisp/eldoc.el (eldoc-mode):
9427 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9428 minor mode behavior.
9429
aa42ab43
JL
94302011-10-19 Juri Linkov <juri@jurta.org>
9431
9432 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9433 the list of hard-coded chars with escape-glyph face.
9434
89400f1d
SM
94352011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9436
9437 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9438
305c07f6
MA
94392011-10-19 Michael Albinus <michael.albinus@gmx.de>
9440
9441 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9442 running process.
9443
13754b54
GM
94442011-10-19 Glenn Morris <rgm@gnu.org>
9445
9446 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9447 Ignore ignored files. (Bug#9726)
9448
06e21633
CY
94492011-10-19 Chong Yidong <cyd@gnu.org>
9450
9451 Doc fix for minor modes, stating that an omitted argument enables
9452 the mode unconditionally when called from Lisp.
9453
9454 * abbrev.el (abbrev-mode):
9455 * allout.el (allout-mode):
9456 * autoinsert.el (auto-insert-mode):
9457 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9458 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9459 (global-auto-revert-mode):
9460 * battery.el (display-battery-mode):
9461 * composite.el (global-auto-composition-mode)
9462 (auto-composition-mode):
9463 * delsel.el (delete-selection-mode):
9464 * desktop.el (desktop-save-mode):
9465 * dired-x.el (dired-omit-mode):
9466 * dirtrack.el (dirtrack-mode):
9467 * doc-view.el (doc-view-minor-mode):
9468 * double.el (double-mode):
9469 * electric.el (electric-indent-mode, electric-pair-mode):
9470 * emacs-lock.el (emacs-lock-mode):
9471 * epa-hook.el (auto-encryption-mode):
9472 * follow.el (follow-mode):
9473 * font-core.el (font-lock-mode):
9474 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9475 * help.el (temp-buffer-resize-mode):
9476 * hilit-chg.el (highlight-changes-mode)
9477 (highlight-changes-visible-mode):
9478 * hi-lock.el (hi-lock-mode):
9479 * hl-line.el (hl-line-mode, global-hl-line-mode):
9480 * icomplete.el (icomplete-mode):
9481 * ido.el (ido-everywhere):
9482 * image-file.el (auto-image-file-mode):
9483 * image-mode.el (image-minor-mode):
9484 * iswitchb.el (iswitchb-mode):
9485 * jka-cmpr-hook.el (auto-compression-mode):
9486 * linum.el (linum-mode):
9487 * longlines.el (longlines-mode):
9488 * master.el (master-mode):
9489 * mb-depth.el (minibuffer-depth-indicate-mode):
9490 * menu-bar.el (menu-bar-mode):
9491 * minibuf-eldef.el (minibuffer-electric-default-mode):
9492 * mouse-sel.el (mouse-sel-mode):
9493 * msb.el (msb-mode):
9494 * mwheel.el (mouse-wheel-mode):
9495 * outline.el (outline-minor-mode):
9496 * paren.el (show-paren-mode):
9497 * recentf.el (recentf-mode):
9498 * reveal.el (reveal-mode, global-reveal-mode):
9499 * rfn-eshadow.el (file-name-shadow-mode):
9500 * ruler-mode.el (ruler-mode):
9501 * savehist.el (savehist-mode):
9502 * scroll-all.el (scroll-all-mode):
9503 * scroll-bar.el (scroll-bar-mode):
9504 * server.el (server-mode):
9505 * shell.el (shell-dirtrack-mode):
9506 * simple.el (auto-fill-mode, transient-mark-mode)
9507 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9508 (line-number-mode, column-number-mode, size-indication-mode)
9509 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9510 * strokes.el (strokes-mode):
9511 * time.el (display-time-mode):
9512 * t-mouse.el (gpm-mouse-mode):
9513 * tool-bar.el (tool-bar-mode):
9514 * tooltip.el (tooltip-mode):
9515 * type-break.el (type-break-mode-line-message-mode)
9516 (type-break-query-mode):
9517 * view.el (view-mode):
9518 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9519 (global-whitespace-mode, global-whitespace-newline-mode):
9520 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9521
a3839de2
SM
9522 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9523 Fix autogenerated docstring.
06e21633 9524
5214e501
JL
95252011-10-19 Juri Linkov <juri@jurta.org>
9526
9527 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9528 by checking environment variables "DESKTOP_SESSION" and
9529 "XDG_CURRENT_DESKTOP". (Bug#9779)
9530
195f8db9
JL
95312011-10-19 Juri Linkov <juri@jurta.org>
9532
9533 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9534 (browse-url-chromium-program, browse-url-chromium-arguments):
9535 New defcustoms.
9536 (browse-url-default-browser): Check for `browse-url-chromium' and
9537 call `browse-url-chromium-program'.
9538 (browse-url-chromium): New command. (Bug#9779)
9539
343a34ff
JB
95402011-10-18 Juanma Barranquero <lekktu@gmail.com>
9541
9542 * facemenu.el (list-colors-duplicates): On Windows, detect more
9543 duplicates by assuming that only colors matching "^System" are
9544 special "system colors". (Bug#9722)
9545
6978a151
SM
95462011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9547
9548 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9549 to distinguish the author from the committer.
9550
6a80b297
MA
95512011-10-18 Michael Albinus <michael.albinus@gmx.de>
9552
9553 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9554
b31a5677
JK
95552011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9556
9557 * international/mule.el (sgml-html-meta-auto-coding-function):
9558 Add support for detecting encoding in HTML5 specified only as
9559 <meta charset="UTF-8">. Implementation just makes http-equiv and
9560 content-type parts from HTML4 encoding string optional. (Bug#9716)
9561
80c6d77f
GM
95622011-10-18 Glenn Morris <rgm@gnu.org>
9563
9564 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9565
08b0fee8
CY
95662011-10-18 Chong Yidong <cyd@gnu.org>
9567
9568 * faces.el (cursor): Doc fix.
9569
67e729a5
CY
95702011-10-17 Chong Yidong <cyd@gnu.org>
9571
9572 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9573
343a34ff 95742011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9575
9576 * dirtrack.el (dirtrack): Support shell buffers with path
9577 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9578
0bc06380
TZ
95792011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9580
9581 * json.el: Bump version to 1.3 and note change in History.
9582 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9583
8b79f3e0
SM
95842011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9585
5a7c536b
SM
9586 * comint.el (comint-insert-input, comint-send-input)
9587 (comint-get-old-input-default, comint-backward-matching-input)
9588 (comint-next-prompt): Use nil instead of `input' for field property of
9589 past user input (bug#114).
9590
96a8a0df
SM
9591 * minibuffer.el (completion--replace): Inherit surrounding properties
9592 (bug#114).
9593 (minibuffer-complete-and-exit): Use it.
9594
8b79f3e0
SM
9595 * comint.el (comint--table-subvert): Quote the all-completions output
9596 (bug#9160).
9597
b8f7ff0d
MR
95982011-10-17 Martin Rudalics <rudalics@gmx.at>
9599
8b79f3e0 9600 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9601
b8f7ff0d 9602 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9603 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9604 entries and separate them from frame entries.
9605
c235b555
GM
96062011-10-15 Glenn Morris <rgm@gnu.org>
9607
9608 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9609 Doc fixes.
9610
6bbfa6e1
CY
96112011-10-15 Chong Yidong <cyd@stupidchicken.com>
9612
8b79f3e0
SM
9613 * net/network-stream.el (network-stream-open-starttls):
9614 Improve detection of failure due to lack of TLS support.
ec5c990d 9615
6bbfa6e1
CY
9616 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9617 putting the input text in front and in bold.
9618
98488977
SM
96192011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9620
3d1337be
SM
9621 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9622
ee0b45e4
SM
9623 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9624 empty buffer.
9625
98488977
SM
9626 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9627 unread-command-events rather than pushing yet-another event.
9628
186f4720
EZ
96292011-10-14 Eli Zaretskii <eliz@gnu.org>
9630
9631 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9632 the explanation of the possible choices. Make the options passed
9633 to completing-read shorter.
9634
8b7a997c
AM
96352011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9636
9637 * textmodes/flyspell.el (flyspell-large-region): Make sure
9638 extended character mode is used if defined (Bug#1339).
9639
12587bbb
EZ
96402011-10-13 Eli Zaretskii <eliz@gnu.org>
9641
9642 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9643 character info for LRE, LRO, RLE, and RLO characters by appending
9644 an invisible PDF.
12587bbb 9645
bad41229
SM
96462011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9647
9648 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9649 even in case of error; add debug spec; simplify data flow.
9650 (with-timeout-handler): Remove.
9651
28dbc92f
MA
96522011-10-12 Michael Albinus <michael.albinus@gmx.de>
9653
9654 Fix Bug#6019, Bug#9315.
9655
9656 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9657 complete `buffer-file-name', the local file name part could look
9658 remotely (for example on VMS).
9659
9660 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9661 `tramp-run-real-handler'.
9662 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9663 already quoted by '"'.
9664
9665 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9666 Let `file-name-handler-alist' be nil, the local file name part
9667 could look remotely (for example on VMS).
9668
e1b0b23a
SM
96692011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9670
9671 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9672 from here...
9673 (flyspell-post-command-hook): ...to here.
9674
a120bde9
SM
96752011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9676
9677 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9678 if not needed.
9679 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9680 using completion. Protect against "slow" callers.
9681 Remove the "message hack".
9682
7ce7717b
JL
96832011-10-11 Juri Linkov <juri@jurta.org>
9684
9685 * isearch.el (isearch-lazy-highlight-word): New variable.
9686 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9687 Use it. (Bug#9727)
9688
c02ee9d6
GM
96892011-10-11 Glenn Morris <rgm@gnu.org>
9690
9691 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9692 like f90-previous-statement does.
9693
93e616fd 96942011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9695
1f190e73 9696 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9697 only in interactive use, to avoid error.
9698
af7b6078
SM
96992011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9700
9701 * minibuffer.el (completion-file-name-table): Fix last change,
9702 i.e. ignore normal errors but not the other ones.
9703
0563dae9
MR
97042011-10-10 Martin Rudalics <rudalics@gmx.at>
9705
9706 * window.el (special-display-buffer-names)
9707 (special-display-regexps): Remove some remnants of earlier
9708 changes from doc-strings.
366ca7f3
MR
9709 (quit-windows-on): New function.
9710
9711 * vc/vc.el (vc-revert, vc-rollback):
9712 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9713 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9714 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9715
49677495
MR
97162011-10-09 Martin Rudalics <rudalics@gmx.at>
9717
9718 * window.el (frame-auto-hide-function): Add version tag.
9719 (Bug#9699)
9720
56f2d1e1
MA
97212011-10-09 Michael Albinus <michael.albinus@gmx.de>
9722
9723 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9724 condition.
9725
112a6592
LL
97262011-10-09 Leo Liu <sdl.web@gmail.com>
9727
9728 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9729 (Bug#9701)
9730
0812589b
GM
97312011-10-08 Glenn Morris <rgm@gnu.org>
9732
9733 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9734 before the first code statement zero indent. (Bug#9690)
9735
b2b0776e
CY
97362011-10-08 Chong Yidong <cyd@stupidchicken.com>
9737
9738 * simple.el (count-words-region): Always count in the region.
9739 Report the number of lines and characters too.
9740 (count-words): New command, which counts in the buffer if the
9741 region is inactive, as count-words-region used to.
9742 (count-words--message): New function. Handle plurals.
9743 (count-lines-region): Make it an alias for count-words-region.
9744
9745 * bindings.el (esc-map): Replace count-lines-region with
9746 count-words-region.
9747
c557cd6b
MR
97482011-10-08 Martin Rudalics <rudalics@gmx.at>
9749
9750 * window.el (window--delete): Delete dedicated frame
9751 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9752 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9753
61a57ef4 97542011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9755
3a7d293b 9756 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9757
c3833279
CY
97582011-10-07 Chong Yidong <cyd@stupidchicken.com>
9759
9760 * bindings.el ([M-left],[M-right]): Bind to left-word and
9761 right-word respectively.
9762
21ce8245
GM
97632011-10-07 Glenn Morris <rgm@gnu.org>
9764
9765 * cus-start.el (debug-on-quit): Fix custom type.
9766
6d823bb2
LMI
97672011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9768
0181e193
LMI
9769 * subr.el (define-key-after): Clarify that the function is not
9770 useful for non-menu keymaps.
9771
6d823bb2
LMI
9772 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9773
8e3459ce 97742011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9775
21ce8245 9776 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9777 in current minibuffer (Fix bug with recursive minibuffers).
9778
a1c2d21e
CY
97792011-10-06 Chong Yidong <cyd@stupidchicken.com>
9780
9781 * progmodes/gdb-mi.el (gdb): Doc fix.
9782
5a4cf282
MR
97832011-10-05 Martin Rudalics <rudalics@gmx.at>
9784
9785 * window.el (frame-auto-hide-function): New option replacing
9786 frame-auto-delete. Suggested by Stefan Monnier.
9787 (window--delete): Call frame-auto-hide-function instead of
9788 investigating frame-auto-delete.
c96111ea
MR
9789 (window-point-1, set-window-point-1): New functions.
9790 (window-in-direction, record-window-buffer, window-state-get-1)
9791 (display-buffer-record-window): Use window-point-1 instead of
9792 window-point.
9793 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9794
9854542e
SM
97952011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9796
9797 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9798
8943cfb0
GM
97992011-10-05 Glenn Morris <rgm@gnu.org>
9800
9801 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9802 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9803
647ab967
LL
98042011-10-05 Leo Liu <sdl.web@gmail.com>
9805
9806 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9807 works with buffer object.
9808
3ddfbced
SM
98092011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9810
9811 * mpc.el (mpc-tool-bar-map): Add labels.
9812
bdfa5dd2
GM
98132011-10-04 Glenn Morris <rgm@gnu.org>
9814
9815 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9816
0e2070b5
MR
98172011-10-04 Martin Rudalics <rudalics@gmx.at>
9818
9819 * window.el (window--delete): New function.
9820 (frame-auto-delete): Resuscitate option.
9821 (bury-buffer, replace-buffer-in-windows)
9822 (quit-window): Rewrite using window--delete.
9823 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9824 Pass display-buffer-mark-dedicated to window--display-buffer-2
9825 (Bug#9639).
9826
3dc61a09
SM
98272011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9828
915a9b64
SM
9829 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9830 returns a list (bug#9554). Add remote file name completion.
9831 * comint.el (comint--table-subvert): Curry and get quote&unquote
9832 functions as arguments.
9833 (comint--complete-file-name-data): Adjust call accordingly.
9834 * pcomplete.el (pcomplete--table-subvert): Remove.
9835 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9836
3dc61a09
SM
9837 * minibuffer.el (completion-table-case-fold): Use currying.
9838 (completion--styles-type, completion--cycling-threshold-type):
9839 New constants.
9840 (completion-styles, completion-category-overrides)
9841 (completion-cycle-threshold): Use them.
9842 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9843 completion-table-case-fold.
9844
8ea0a993
SB
98452011-10-03 Stephen Berman <stephen.berman@gmx.net>
9846
9847 * minibuffer.el (completion-category-overrides): Fix type of styles
9848 and add more user friendly tags (bug#9660).
9849
8c24b7f6
SM
98502011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9851
9852 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9853 (mule-input-method-string): New widget.
9854 (default-input-method, language-info-custom-alist): Use it.
9855
428fe61a
SM
98562011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9857
32c1fffd
SM
9858 * pcomplete.el: Require comint.
9859 (pcomplete--common-suffix): Remove.
9860 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9861 (pcomplete--table-subvert): Sync with comint--table-subvert.
9862 (pcomplete--entries): Use comint-completion-file-name-table.
9863 * comint.el (comint-unquote-filename): Simplify.
9864 (comint-completion-file-name-table): New function (bug#9616).
9865 (comint--complete-file-name-data): Use it.
9866
428fe61a
SM
9867 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9868 (pcmpl-gnu-tar-buffer): Remove.
9869 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9870 around. Make sure pcomplete-suffix-list is only changed temporarily.
9871 Don't look inside the tar's file if it's too large.
428fe61a 9872
04c52e2f
CY
98732011-10-01 Chong Yidong <cyd@stupidchicken.com>
9874
ce3cefcc
CY
9875 * cus-edit.el (custom-mode-map):
9876 * epa.el (epa-key-list-mode-map):
9877 * man.el (Man-mode-map):
9878 * startup.el (splash-screen-keymap):
9879 * simple.el (special-mode-map): Use scroll-up-command and
9880 scroll-down-command.
9881
9882 * progmodes/idlw-help.el (idlwave-help-mode-map):
9883 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9884 * net/newst-plainview.el (newsticker-mode-map):
9885 * emulation/ws-mode.el (wordstar-mode-map):
9886 * emulation/vi.el (vi-com-map):
9887 * calc/calc-graph.el (calc-graph-show-dumb):
9888 * term/sun.el (terminal-init-sun):
9889 * term/ns-win.el (global-map):
9890 * progmodes/grep.el (grep-mode-map):
9891 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9892 * mail/rmail.el (rmail-mode-map):
9893 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9894
04c52e2f
CY
9895 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9896 custom-safe-themes as special.
9897
79adf8c8
JD
98982011-10-01 Julien Danjou <julien@danjou.info>
9899
9900 * notifications.el (notifications-notify): Fix docstring.
9901
63bd50d3
PS
99022011-10-01 Per Starbäck <per@starback.se>
9903
9904 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9905
199e4c7e
MR
99062011-09-30 Martin Rudalics <rudalics@gmx.at>
9907
9908 * startup.el (command-line-1): Fix last fix by inserting
9909 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9910 (Bug#9605) and (Bug#9636)
199e4c7e 9911
fe5f08dd
EZ
99122011-09-29 Eli Zaretskii <eliz@gnu.org>
9913
9914 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9915 window is hscrolled, move by logical lines. (Bug#9607)
9916 (line-move-visual): Update the doc string to the above effect.
9917
b5516bbd
MR
99182011-09-29 Martin Rudalics <rudalics@gmx.at>
9919
ccee00c0
MR
9920 * window.el (display-buffer-record-window): When WINDOW is the
9921 selected window use `point' instead of `window-point'. (Bug#9626)
9922
b5516bbd
MR
9923 * startup.el (command-line-1): Use insert-before-markers when
9924 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9925
b5516bbd
MR
9926 * help.el (help-window): Remove variable.
9927
52aa0014
GM
99282011-09-29 Glenn Morris <rgm@gnu.org>
9929
9930 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9931
df9a7357
JB
99322011-09-29 Juanma Barranquero <lekktu@gmail.com>
9933
9934 * descr-text.el (describe-char-categories): Accept category
9935 descriptions more than one line long.
9936
a8406c20
SM
99372011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9938
88d9610c
SM
9939 * simple.el (delete-trailing-whitespace): Fix last change.
9940
a5daf810
SM
9941 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9942 Don't confuse "y => 3" as the beginning of a `y' operation.
9943
a8406c20
SM
9944 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9945 object has more than 4 slots (bug#9613).
9946
a239d4e9
JB
99472011-09-28 Juanma Barranquero <lekktu@gmail.com>
9948
9949 * subr.el (with-output-to-temp-buffer):
9950 * net/quickurl.el (quickurl, quickurl-browse-url):
9951 Fix typos in docstrings.
9952
693fbdb6
EZ
99532011-09-27 Eli Zaretskii <eliz@gnu.org>
9954
9955 * minibuffer.el (completion-styles)
9956 (completion-category-overrides): Cross reference each other in doc
9957 strings.
9958
8b457e28
GM
99592011-09-27 Glenn Morris <rgm@gnu.org>
9960
9961 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9962 to split-string. (Bug#9606)
9963
85a16208
LMI
99642011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9965
9966 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9967 (bug#9615).
9968
502f9ebd
CY
99692011-09-27 Chong Yidong <cyd@stupidchicken.com>
9970
9971 * emacs-lisp/package.el (list-packages): Fix echo area message.
9972
7690bdea
LL
99732011-09-27 Leo Liu <sdl.web@gmail.com>
9974
9975 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9976
e2ee6f30
MA
99772011-09-25 Michael Albinus <michael.albinus@gmx.de>
9978
9979 * net/dbus.el (dbus-unregister-object): Don't release services for
9980 registered signals. (Bug#9581)
9981
f3f98342
TZ
99822011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9983
9984 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9985 function that picks between cfengine 2 and 3 support
9986 automatically. Update docs accordingly.
9987
dd7aa8dd
KH
99882011-09-22 Kenichi Handa <handa@m17n.org>
9989
9990 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9991 ZERO.
9992 (indian-itrans-v5-table-for-tamil): New variable.
9993 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9994
3f2b07f8
KM
99952011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
9996
9997 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
9998 that's true if the current command involved collapsing of text.
9999 It's reset to false at the beginning of the next command.
10000 (allout-post-command-business): Move the cursor to the beginning
10001 of entry if the cursor is hidden and collapsing activity just
10002 happened.
10003
371d6a61
CY
100042011-09-24 Chong Yidong <cyd@stupidchicken.com>
10005
10006 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10007 tracking (Bug#9541).
10008
2ac2721a
UJ
100092011-09-24 Ulf Jasper <ulf.jasper@web.de>
10010
10011 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10012 (newsticker-show-news): Automatically load html rendering package
10013 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10014 because w3m-fill-column is let-bound" and the error "Symbol's value
10015 as variable is void: w3m-fill-column".
2ac2721a 10016
fac7ae53
MA
100172011-09-24 Michael Albinus <michael.albinus@gmx.de>
10018
10019 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10020 Release services only if they are defined. (Bug#9581)
10021
e08b633b
RS
100222011-09-23 Richard Stallman <rms@gnu.org>
10023
e488d29c
RS
10024 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10025 distinguish start of paragraph from start of its text.
10026
19c38752
RS
10027 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10028
e08b633b
RS
10029 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10030 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10031 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10032
0a39f27e
AS
100332011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10034
10035 * international/mule-diag.el (mule-diag): Insert a newline after
10036 each fontset description.
10037
db4e950d
SM
100382011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10039
10040 * simple.el (delete-trailing-whitespace):
10041 Document last change; simplify.
10042
eca3f3ea
PW
100432011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10044
d68e189a
PW
10045 * simple.el (delete-trailing-whitespace): Also delete
10046 extra newlines at the end of the buffer.
10047
eca3f3ea
PW
10048 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10049 (picture-newline): Use forward-line so as to ignore fields.
10050
01c157cc
SM
100512011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10052
10053 * subr.el (with-wrapper-hook): Fix edebug spec.
10054
022de23e
LMI
100552011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10056
10057 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10058 (bug#4538).
10059
91683089
MA
100602011-09-23 Michael Albinus <michael.albinus@gmx.de>
10061
eca3f3ea
PW
10062 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10063 Fix nasty bug using wrong cached values.
91683089 10064
5bdd6fa4
AM
100652011-09-23 Alan Mackenzie <acm@muc.de>
10066
10067 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10068
97adfb97
CY
100692011-09-23 Chong Yidong <cyd@stupidchicken.com>
10070
10071 * window.el (pop-to-buffer): Ensure right window is selected if we
10072 chose another frame.
10073
d4ef2b50
EZ
100742011-09-22 Eli Zaretskii <eliz@gnu.org>
10075
10076 * simple.el (what-cursor-position): Use get-char-property-change
10077 and next-single-char-property-change, to be able to show display
10078 properties that come from overlays as well as text properties.
10079
72258fe5
CY
100802011-09-22 Chong Yidong <cyd@stupidchicken.com>
10081
10082 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10083
10084 * cmuscheme.el (run-scheme, switch-to-scheme):
10085 * cus-edit.el (customize-group, custom-buffer-create)
10086 (customize-browse):
10087 * info.el (info):
10088 * shell.el (shell):
10089 * mail/sendmail.el (mail):
10090 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10091
8f098516
RS
100922011-09-22 Richard Stallman <rms@gnu.org>
10093
10094 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10095 move back only to line beg, don't move back over blank lines.
10096
e74f1bb6
MA
100972011-09-22 Michael Albinus <michael.albinus@gmx.de>
10098
10099 * files.el (copy-directory): Set directory attributes only in case
10100 they could be retrieved from the source directory. (Bug#9565)
10101
bfeef8b6
DK
101022011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10103
10104 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10105 (hs-find-block-beginning, hs-hide-level-recursive):
10106 Ignore strings as well as comments. (Bug#9502)
10107
7e423bb8
AS
101082011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10109
10110 * progmodes/sql.el (sql-comint-postgres):
10111 Convert port number to a string. (Bug#9566)
10112
b4d72fcf
MR
101132011-09-22 Martin Rudalics <rudalics@gmx.at>
10114
10115 * window.el (quit-window): Undedicate window when switching to
10116 previous buffer. Reported by Thierry Volpiatto
10117 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10118 (special-display-popup-frame): When popping up a new frame reset
10119 its previous buffers to nil. Simplify code.
b4d72fcf 10120
a7b88dc6
MA
101212011-09-21 Michael Albinus <michael.albinus@gmx.de>
10122
10123 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10124 and process filter, as done also in `shell-command'.
10125
cf4eacfd
MR
101262011-09-21 Martin Rudalics <rudalics@gmx.at>
10127
eca3f3ea 10128 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10129 Call set-window-start with NOFORCE argument t.
10130 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10131 (quit-window): Reword doc-string. Handle new format of
10132 quit-restore parameter. Don't delete window if it has a
10133 previous buffer we can show instead of the present one.
10134 (display-buffer-record-window): Rewrite using a new format for
10135 the quit-restore window parameter
10136 (special-display-popup-frame, display-buffer-same-window)
10137 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10138 (display-buffer-pop-up-window, display-buffer-use-some-window):
10139 Adapt symbol passed to display-buffer-record-window.
10140 * help.el (help-window-setup): Handle new format of quit-restore
10141 parameter.
10142
8d28cb95
SM
101432011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10144
94ab793f
SM
10145 * faces.el (face-list): Fix docstring (bug#9564).
10146
8d28cb95
SM
10147 * window.el (display-buffer--action-function-custom-type):
10148 Don't include internal functions in the Custom interface.
10149
3820edeb
JL
101502011-09-20 Juri Linkov <juri@jurta.org>
10151
10152 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10153 (Info-forward-node, Info-backward-node, Info-next-preorder)
10154 (Info-last-preorder): Use it. (Bug#9528)
10155
5147931d
JL
101562011-09-20 Juri Linkov <juri@jurta.org>
10157
10158 * info.el (Info-last-preorder): Visit last menu item only when
10159 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10160
cf499a1a
JD
101612011-09-20 Julien Danjou <julien@danjou.info>
10162
10163 * password-cache.el (password-cache-remove): Remove entries even if the
10164 value is nil, so that password with a nil value (negative caching) is
10165 possible to invalidate.
10166
f84e2fe2
LM
101672011-09-20 Lawrence Mitchell <wence@gmx.li>
10168
10169 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10170 all whitespace around breakpoint. (Bug#9553)
10171 (f90-find-breakpoint): Only break at whitespace inside a comment.
10172
78054a46
SM
101732011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10174
10175 * minibuffer.el (completion-file-name-table): Keep track of errors.
10176 (completion-table-with-predicate): Handle the case where pred1 is nil.
10177 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10178
345083b2
SM
101792011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10180
e24e27be
SM
10181 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10182 (debugger-return-value): Signal an error if the debugging context does
10183 not await any return value.
10184
345083b2
SM
10185 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10186 * image-mode.el (image-toggle-display-text)
10187 (image-toggle-display-image): Stay away from evil `intangible'.
10188
08d355e3
LL
101892011-09-19 Leo Liu <sdl.web@gmail.com>
10190
10191 * replace.el (occur-revert-arguments): Make it permanent-local.
10192 (occur-mode): Don't call font-lock-defontify.
10193
f01da43f
CY
101942011-09-19 Chong Yidong <cyd@stupidchicken.com>
10195
10196 * net/ldap.el (ldap-search-internal): Don't push empty search
10197 result (Bug#9508).
10198
b6072fa6
SM
101992011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10200
10201 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10202
443d6696
MA
102032011-09-19 Michael Albinus <michael.albinus@gmx.de>
10204
10205 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10206 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10207
7cc6e154
JL
102082011-09-18 Juri Linkov <juri@jurta.org>
10209
10210 * buff-menu.el (Buffer-menu-mode-map):
10211 * dired.el (dired-mode-map):
10212 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10213 (lisp-interaction-mode-map):
10214 * emacs-lisp/package.el (package-menu-mode-map):
10215 * epa.el (epa-key-list-mode-map):
10216 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10217 (menu-bar-options-menu):
10218 * outline.el (outline-mode-menu-bar-map):
10219 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10220 * vc/vc-dir.el (vc-dir-menu-map):
10221 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10222 Capitalize non-function content words in menu item strings.
10223
10224 * dired.el (dired-mode-map): Add menu item for
10225 `image-dired-dired-toggle-marked-thumbs'.
10226
80302a81
JL
102272011-09-18 Juri Linkov <juri@jurta.org>
10228
10229 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10230 to `isearch-case-fold-search' and restore its original value
10231 after the `isearch-mode' call.
10232
46c5cf66
JL
102332011-09-18 Juri Linkov <juri@jurta.org>
10234
10235 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10236 because `zgrep' returns 1 for successful matches (bug#9226).
10237
d18b513b
JL
102382011-09-18 Juri Linkov <juri@jurta.org>
10239
10240 * info.el (Info-extract-menu-node-name): Check the second match
10241 for empty string (second test-case of bug#9528).
10242 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10243 intermediate nodes to the history (first test-case of bug#9528).
10244
72753f87
JL
102452011-09-18 Juri Linkov <juri@jurta.org>
10246
10247 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10248 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10249
c9384295
JL
102502011-09-18 Juri Linkov <juri@jurta.org>
10251
1154d12e
JB
10252 * info.el (Info-file-supports-index-cookies):
10253 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10254 outputs one more line for long file names (bug#4142).
c9384295 10255
d473dce8
CY
102562011-09-18 Chong Yidong <cyd@stupidchicken.com>
10257
10258 * newcomment.el (comment-normalize-vars): If prompting for
10259 comment-start, set comment-start-skip too (Bug#8424).
10260
2176854d
JB
102612011-09-18 Johan Bockgård <bojohan@gnu.org>
10262
10263 * icomplete.el: Fix previous fix of Bug#5849.
10264 (icomplete-mode): Don't set completion-show-inline-help.
10265 (icomplete-minibuffer-setup): Set completion-show-inline-help
10266 locally during icompletion.
10267
3aace4e4
CY
102682011-09-18 Chong Yidong <cyd@stupidchicken.com>
10269
c940224f
CY
10270 * woman.el (woman2-process-escapes): Don't delete unrecognized
10271 escapes (Bug#7843).
10272
3aace4e4
CY
10273 * files.el (inhibit-first-line-modes-regexps): Add image files.
10274 (hack-local-variables-prop-line): Return nil for malformed
10275 prop-lines (Bug#9044).
10276
710dec63
MA
102772011-09-18 Michael Albinus <michael.albinus@gmx.de>
10278
10279 * net/tramp.el (top): Don't require 'shell.
10280 (tramp-methods): Fix docstring.
10281 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10282 Return complete remote file name. Handle "smb" case.
10283 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10284 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10285
10286 * net/tramp-compat.el (top): Require 'shell.
10287
10288 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10289 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10290 `tramp-current-host'.
10291 (tramp-get-remote-tmpdir): Remove.
10292
10293 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10294 `tramp-tmpdir' entries.
10295 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10296 (tramp-smb-handle-file-attributes): Ignore errors.
10297 (tramp-smb-wait-for-output): Check also for process end.
10298
5d5ac8ec
LMI
102992011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10300
10301 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10302 when sending QUIT (bug#9312).
10303
8c0f49f0
CY
103042011-09-17 Chong Yidong <cyd@stupidchicken.com>
10305
10306 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10307 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10308 occur-mode-display-occurrence.
10309 (occur-edit-mode): Add usage message.
10310 (occur-cease-edit): New command.
10311 (occur-after-change-function): Use text properties to find the
10312 position of the prefix text.
10313 (occur-engine): Set stickiness of prefix text properties.
10314
8f1383f7
GM
103152011-09-17 Glenn Morris <rgm@gnu.org>
10316
10317 * progmodes/etags.el (complete-tag):
10318 Fix call to completion-in-region. (Bug#9526)
10319
744ba0e3
JL
103202011-09-17 Juri Linkov <juri@jurta.org>
10321
10322 * textmodes/ispell.el (ispell-word): Add to the error message
10323 the word, ispell program name and current dictionary (bug#9121).
10324 (ispell-tex-arg-end): Capitalize "error" in the error message.
10325
d9bbf400
AS
103262011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10327
10328 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10329 check. (Bug#4251)
10330
8da11505
JL
103312011-09-17 Juri Linkov <juri@jurta.org>
10332
10333 * window.el (window-safe-min-height, window-safe-min-width):
10334 Fix typos (followup to bug#9522).
10335
a91adc7e
SJ
103362011-09-17 Sven Joachim <svenjoac@gmx.de>
10337
10338 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10339
064f328a
EZ
103402011-09-16 Eli Zaretskii <eliz@gnu.org>
10341
10342 * simple.el (line-move): If goal-column is set, move by logical
10343 lines, not by display lines. (Bug#971)
10344 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10345 to reflect the above change.
10346
e69df516
SM
103472011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10348
10349 * image.el (imagemagick-register-types): Use regexp-opt.
10350
cbb0f9ab
CY
103512011-09-15 Chong Yidong <cyd@stupidchicken.com>
10352
10353 * window.el (display-buffer-base-action): Rename from
10354 display-buffer-default-action. Make default value empty.
10355 (display-buffer-overriding-action): Convert to defvar.
10356 (display-buffer-fallback-action): New var.
10357
25322144
CY
103582011-09-15 Chong Yidong <cyd@stupidchicken.com>
10359
10360 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10361 declaration.
10362 (package--add-to-archive-contents): If there is a duplicate entry
10363 with an older version, remove it.
10364 (package-menu-mark-delete, package-menu-mark-install)
10365 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10366 (package-menu-mark-obsolete-for-deletion):
10367 Use package-menu-get-status instead of a regexp search.
25322144
CY
10368 (package-menu-get-status): Use tabulated-list-entry.
10369 (package-menu-mark-upgrades): New command.
d770725a 10370 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10371 (package-menu-execute): Do installation before deletion.
10372 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10373 instead of checking major-mode.
10374 (package-menu--find-upgrades): New function.
10375
7520339c
LMI
103762011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10377
10378 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10379 passwords in the log buffer.
65a046c4
LMI
10380 (smtpmail-process-filter): Update the process marker so that the
10381 "broken by peer" status message is inserted in the right place.
7520339c 10382
d3c30954
SM
103832011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10384
3fe48822
SM
10385 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10386 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10387 bibtex-completion-at-point-function.
10388 (bibtex-completion-at-point-function): Use them.
10389
1b8b3954
SM
10390 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10391
d3c30954
SM
10392 * mpc.el (mpc-constraints-tag-lookup): New function.
10393 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10394 also to browser "album|playlist".
10395
72779976
JL
103962011-09-14 Juri Linkov <juri@jurta.org>
10397
10398 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10399 (isearch-edit-string): Use length of `isearch-string' when
10400 `isearch-fail-pos' returns nil.
10401 (isearch-message): Remove duplicate code and call
10402 `isearch-fail-pos' with arg `t'.
10403
a0bf2bcd
CY
104042011-09-14 Chong Yidong <cyd@stupidchicken.com>
10405
17bb0a2d
CY
10406 * replace.el (occur-mode-goto-occurrence): Don't force using other
10407 window (Bug#9499).
10408
a0bf2bcd
CY
10409 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10410
f678e0b6
MR
104112011-09-14 Martin Rudalics <rudalics@gmx.at>
10412
10413 * window.el (display-buffer-window): Remove.
10414 (display-buffer-record-window): Use help-setup window parameter
10415 instead of variable display-buffer-window.
10416 (display-buffer-function, special-display-buffer-names)
10417 (special-display-function): Mention help-setup parameter instead
10418 of display-buffer-window in doc-string.
d3c30954
SM
10419 * help.el (help-window-setup): New argument help-window.
10420 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10421 Reword some messages.
10422 (with-help-window): Pass window used for displaying the buffer
10423 to help-window-setup. Don't set display-buffer-window.
10424
8e39b2e8
GM
104252011-09-13 Glenn Morris <rgm@gnu.org>
10426
10427 * emacs-lisp/debug.el (debugger-make-xrefs):
10428 Preserve point. (Bug#9462)
10429
85e9c04b
CY
104302011-09-13 Chong Yidong <cyd@stupidchicken.com>
10431
10432 * window.el (window-deletable-p): Use next-frame.
10433
1b36ed6a
MR
104342011-09-13 Martin Rudalics <rudalics@gmx.at>
10435
10436 * window.el (window-auto-delete): Remove.
10437 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10438 dedication and previous buffers.
1b36ed6a
MR
10439 (switch-to-prev-buffer): Don't delete window.
10440 (delete-windows-on): Delete a window's frame if and only if the
10441 window is dedicated.
10442 (replace-buffer-in-windows): Delete buffer's window or frame if
10443 and only if window is dedicated.
10444 (quit-window): Handle quit-restore as before last change.
4d61f28d 10445 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10446
ef8ef9fb
CY
104472011-09-13 Chong Yidong <cyd@stupidchicken.com>
10448
10449 * window.el (window-deletable-p): Never delete the last frame on a
10450 given terminal.
10451
b2cba41e
GM
104522011-09-13 Glenn Morris <rgm@gnu.org>
10453
10454 * help.el (describe-key-briefly): Copy previous standard-output change.
10455
51553db6 104562011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10457
10458 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10459
b7556719
GM
104602011-09-13 Glenn Morris <rgm@gnu.org>
10461
10462 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10463 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10464
64b51947
CY
104652011-09-12 Chong Yidong <cyd@stupidchicken.com>
10466
10467 * dired-aux.el (dired-mark-read-string): Don't return default
10468 value on empty input (Bug#9361).
10469 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10470 Omit initial minibuffer contents.
10471 (dired-do-chmod): Signal an error on empty input.
10472 (dired-mark-read-string): Don't return default on empty input.
10473
10474 * files.el (file-modes-symbolic-to-number): Doc fix.
10475
393a301e
SM
104762011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10477
10478 * international/mule-cmds.el (ucs-completions): Remove.
10479 (read-char-by-name): Use complete-with-action instead; add metadata.
10480
fa5660f9
CY
104812011-09-11 Chong Yidong <cyd@stupidchicken.com>
10482
10483 * window.el (display-buffer--action-function-custom-type)
10484 (display-buffer--action-custom-type): New vars.
10485 (display-buffer-alist, display-buffer-default-action)
10486 (display-buffer-overriding-action): Add defcustom types.
10487
4a592f66
CY
10488 * frame.el (delete-other-frames): Doc fix (Bug#276).
10489
73d56dbd
LMI
104902011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10491
10492 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10493
37ac18a3
CY
104942011-09-11 Chong Yidong <cyd@stupidchicken.com>
10495
10496 Change modes that used same-window-* vars to use switch-to-buffer.
10497
10498 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10499 Use switch-to-buffer.
10500
10501 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10502 (customize-browse, custom-buffer-create-other-window):
10503 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10504
10505 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10506 (Info-prev, Info-up, Info-speedbar-goto-node)
10507 (info-display-manual): Use switch-to-buffer.
10508 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10509
10510 * mail/sendmail.el (mail): Use switch-to-buffer.
10511 (mail-recover): Use switch-to-buffer-other-window.
10512
10513 * cmuscheme.el (run-scheme, switch-to-scheme):
10514 * ielm.el (ielm):
10515 * shell.el (shell):
10516 * net/rlogin.el (rlogin):
10517 * net/telnet.el (telnet, rsh):
10518 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10519
10195bd6
AS
105202011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10521
10522 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10523
b322f63a
LMI
105242011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10525
39d7fed6
LMI
10526 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10527 so don't mention it (bug#9301).
ba5a81f1 10528 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10529
ee0e9f11
LMI
10530 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10531 match `x', `w32' and `ns', like the manual says (bug#9029).
10532
0b1c89c1 10533 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10534 (process-kill-buffer-query-function): Mention the buffer name in
10535 the query.
0b1c89c1 10536
77549ea8
LMI
10537 * image-mode.el (image-next-line): The line parameter is mandatory
10538 (bug#9258).
10539
803ef892
LMI
10540 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10541 which can be useful (bug#9301).
10542
12980837
LMI
10543 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10544
91054f8f
LMI
10545 * subr.el (match-string): Mention that the current buffer should
10546 be the same as the search was done in (bug#9282).
10547
b322f63a
LMI
10548 * facemenu.el: Disable the remove-* commands if the mark isn't
10549 active (bug#9162).
10550
3199b96f
CY
105512011-09-10 Chong Yidong <cyd@stupidchicken.com>
10552
10553 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10554 of display-buffer.
10555 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10556
10557 * replace.el (occur-mode-goto-occurrence)
10558 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10559 and display-buffer.
10560
10561 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10562 display-buffer.
10563
10564 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10565 special-display and same-window variables.
10566 (mail-other-window): Use switch-to-buffer-other-window.
10567 (mail-other-frame): USe switch-to-buffer-other-frame.
10568
393a301e
SM
10569 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10570 Use display-buffer-other-frame.
3199b96f
CY
10571 (gdb-display-gdb-buffer): Use pop-to-buffer.
10572
10573 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10574
10575 * progmodes/python.el: Don't set same-window-buffer-names.
10576
10577 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10578
10579 * window.el (display-buffer-alist): Add *Python*.
10580
8319e0bf
CY
105812011-09-10 Chong Yidong <cyd@stupidchicken.com>
10582
10583 * window.el (display-buffer-alist): Add entry for buffers
10584 previously handled same-window-*.
10585 (display-buffer-alist, display-buffer-default-action)
10586 (display-buffer-overriding-action): Mark as risky.
10587 (display-buffer-alist): Document action function changes.
10588 (display-buffer--same-window-action)
10589 (display-buffer--other-frame-action): New variables.
10590 (switch-to-buffer, display-buffer-other-frame): Use them.
10591 (display-buffer): Rename reuse-frame entry to reusable-frames.
10592 (display-buffer-reuse-selected-window): Function deleted.
10593 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10594 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10595 (display-buffer-special): New function.
10596 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10597 display-buffer-reuse-or-pop-window. Split off special-display
10598 part into display-buffer-special.
10599 (display-buffer-use-some-window): Don't perform any special
10600 pop-up-frames handling.
10601 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10602 (display-buffer--maybe-same-window): Rename from
0d3ff375 10603 display-buffer-maybe-same-window.
8319e0bf 10604
919a69aa
CY
10605 * info.el: Don't set same-window-regexps.
10606 (info-setup): New function.
10607 (info-other-window, info): Call it.
10608
10609 * cus-edit.el: Don't set same-window-regexps.
10610 (customize-group): New argument.
10611 (customize-group-other-window): Use it.
10612 (customize-face, customize-face-other-window): Likewise.
10613 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10614
8319e0bf
CY
10615 * net/rlogin.el:
10616 * net/telnet.el:
10617 * progmodes/gud.el: Don't set same-window-regexps.
10618
10619 * cmuscheme.el:
10620 * ielm.el:
10621 * shell.el:
10622 * mail/sendmail.el:
10623 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10624
25173000
JL
106252011-09-10 Juri Linkov <juri@jurta.org>
10626
10627 * isearch.el (isearch-edit-string): Remove obsolete mention of
10628 `C-w' (`isearch-yank-word-or-char') from docstring.
10629 (isearch-query-replace): Fix typo in docstring (bug#9466).
10630
056e44ef
JL
106312011-09-10 Juri Linkov <juri@jurta.org>
10632
10633 * paren.el (show-paren-function): Don't show escaped parens.
10634 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10635
c3760c17
EZ
106362011-09-10 Eli Zaretskii <eliz@gnu.org>
10637
10638 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10639 (mm-default-file-encoding): Remove autoload forms, they are
10640 replaced with autoload cookies in mml.el and mm-encode.el.
10641 (mail-add-attachment): New command.
10642 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10643 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10644 the doc string.
10645 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10646
fece895e
RT
106472011-09-10 Reuben Thomas <rrt@sc3d.org>
10648
e69df516
SM
10649 * simple.el (count-words-region): Use buffer if there's no region
10650 (bug#9429).
fece895e 10651
5e68ce4a
JL
106522011-09-09 Juri Linkov <juri@jurta.org>
10653
10654 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10655 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10656 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10657
0a6b9622
AM
106582011-09-09 Alan Mackenzie <acm@muc.de>
10659
10660 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10661 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10662
14a29deb
EZ
106632011-09-09 Eli Zaretskii <eliz@gnu.org>
10664
10665 Fix for Savannah bug#9392.
10666 * simple.el (mail-encode-mml): New defvar.
10667
10668 * mail/rmail.el (mail-encode-mml): Add a defvar.
10669 (rmail-enable-mime-composing): Default to t.
10670 (rmail-forward): Use MIME method of forwarding only if both
10671 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10672 Set mail-encode-mml non-nil if the MIME method was used.
10673
10674 * mail/sendmail.el (mml-to-mime): Add autoload form.
10675 (mail-encode-mml): Add a defvar.
10676 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10677 to nil.
10678 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10679 message through mml-to-mime, and reset mail-encode-mml to nil.
10680
28c45130
GM
106812011-09-09 Glenn Morris <rgm@gnu.org>
10682
10683 * woman.el (woman-if-body): When processing an .el block,
10684 do not delete the next .el block as well. (Bug#9447)
69f4b618 10685 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10686
9b1c252e
MR
106872011-09-08 Martin Rudalics <rudalics@gmx.at>
10688
10689 * window.el (window-deletable-p): Make sure window is live before
10690 invoking window-prev-buffers.
10691
567457e3
LL
106922011-09-08 Leo Liu <sdl.web@gmail.com>
10693
10694 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10695
97f05794
JL
106962011-09-08 Juri Linkov <juri@jurta.org>
10697
10698 * progmodes/compile.el (compilation-environment): Make it
10699 a defcustom (bug#8340).
10700
8b0874b5
MR
107012011-09-08 Martin Rudalics <rudalics@gmx.at>
10702
10703 * window.el (frame-auto-delete): Rename to window-auto-delete.
10704 Make it control auto-deletion of windows and/or frames.
10705 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10706 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10707 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10708 Rewrite handling of case when window/frame can be deleted.
10709 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10710 argument t. (Bug#9456)
8b0874b5 10711
4feb6e73
CY
107122011-09-07 Chong Yidong <cyd@stupidchicken.com>
10713
10714 * help-mode.el (help-mode): Restore autoload.
10715
91ab9c13
JL
107162011-09-07 Juri Linkov <juri@jurta.org>
10717
10718 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10719 `compilation-environment'. Set buffer-local
10720 `compilation-environment' to `thisenv' later after (funcall mode).
10721 (Bug#8340)
10722
10723 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10724 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10725 instead of replacing its value. (Bug#8340)
10726
0527e251
JL
107272011-09-07 Juri Linkov <juri@jurta.org>
10728
10729 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10730 based on text properties put by `grep-filter' instead of matching
10731 escape sequences.
10732 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10733 to the value of `grep-error-screen-columns' (bug#9438).
10734
249f792c
JL
107352011-09-07 Juri Linkov <juri@jurta.org>
10736
10737 * simple.el (next-error-highlight, next-error-highlight-no-select):
10738 Doc fix (bug#9432).
10739
ff7271b9
OT
107402011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10741
10742 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10743 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10744
183fc730
LL
107452011-09-07 Leo Liu <sdl.web@gmail.com>
10746
10747 * net/rcirc.el (rcirc-mode): Conditionally initialize
10748 rcirc-input-ring.
10749
77694924
SM
107502011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10751
10752 * emacs-lisp/find-func.el (find-function-C-source): Only set
10753 find-function-C-source-directory after checking that we found a source
10754 file there (bug#9440).
10755
d809b8eb
AM
107562011-09-06 Alan Mackenzie <acm@muc.de>
10757
10758 * isearch.el (isearch-other-meta-char): Wherever a key list is
10759 unread, "unread" the prefix arg, too. This fixes bug #8901.
10760
453de99f
OG
107612011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10762
10763 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10764
90439906
JL
107652011-09-05 Juri Linkov <juri@jurta.org>
10766
10767 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10768
f62bd846
JL
107692011-09-05 Juri Linkov <juri@jurta.org>
10770
10771 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10772 keeping point where processing of grep matches begins, and
10773 continue to delete remaining escape sequences from the same point.
10774 (grep-filter): Make leading zero optional in "0?1;31m" because
10775 git-grep emits "\033[1;31m" escape sequences unlike expected
10776 "\033[01;31m" as GNU Grep does (bug#9408).
10777 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10778
045820ec
JL
107792011-09-05 Juri Linkov <juri@jurta.org>
10780
10781 * subr.el (y-or-n-p): Capitalize "yes".
10782
f5e29b9b
MA
107832011-09-04 Michael Albinus <michael.albinus@gmx.de>
10784
10785 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10786 `tramp-cache-unload-hook' where appropriate.
10787 (tramp-methods): Rename `tramp-remote-sh' to
10788 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10789 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10790
10791 * net/tramp-sh.el (top): Don't require 'shell.
10792 (tramp-methods): Add `tramp-remote-shell' and
10793 `tramp-remote-shell-args' entries.
10794 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10795 (tramp-sh-handle-shell-command): Remove.
10796 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10797 Use `tramp-remote-shell'.
10798
2784c434
CY
107992011-09-03 Chong Yidong <cyd@stupidchicken.com>
10800
393a301e 10801 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10802 (sendmail-query-once): Save directly to send-mail-function.
10803 Update message-send-mail-function too.
10804
10805 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10806
464cdf56
CS
108072011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10808
10809 * progmodes/python.el (python-mode-map): Use correct function to
10810 start python interpreter from menu-bar (as reported by Geert
10811 Kloosterman).
10812 (inferior-python-mode-map): Fix typo.
393a301e 10813 (python-shell-map): Remove.
464cdf56 10814
d37e5c87
DD
108152011-09-03 Deniz Dogan <deniz@dogan.se>
10816
10817 * net/rcirc.el (rcirc-print): Simplify code for
10818 rcirc-scroll-show-maximum-output. There is no need to walk
10819 through all windows to find the right one.
10820
f3ada0ee
CS
108212011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10822
10823 * help.el (help-return-method): Doc fix.
10824
1f3c99ca
MR
108252011-09-03 Martin Rudalics <rudalics@gmx.at>
10826
10827 * window.el (window-deletable-p): Don't return a non-nil value
10828 when there's a buffer that was shown in the window before.
10829 (Bug#9419)
393a301e
SM
10830 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10831 Set window's previous buffers to nil.
1f3c99ca 10832
a3cf097f
EZ
108332011-09-03 Eli Zaretskii <eliz@gnu.org>
10834
10835 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10836 newline before and after the tag line, so it doesn't interfere
10837 with determining the paragraph direction of bidirectional text.
10838
3d03de90
LL
108392011-09-03 Leo Liu <sdl.web@gmail.com>
10840
10841 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10842
c3313451
CY
108432011-09-02 Chong Yidong <cyd@stupidchicken.com>
10844
393a301e 10845 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10846 (pop-to-buffer): Change interactive spec. Pass second argument
10847 directly to display-buffer.
10848 (display-buffer): Fix interactive spec. Use functionp to
10849 distinguish between a function and a list of functions.
10850
10851 * abbrev.el (edit-abbrevs):
10852 * arc-mode.el (archive-extract):
10853 * autoinsert.el (auto-insert):
10854 * bookmark.el (bookmark-bmenu-list):
10855 * files.el (find-file):
10856 * view.el (view-buffer):
10857 * progmodes/compile.el (compilation-goto-locus):
10858 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10859
89894cd8
CY
108602011-09-02 Chong Yidong <cyd@stupidchicken.com>
10861
10862 * window.el (display-buffer-alist): Doc fix.
10863 (display-buffer): Add docstring. Don't treat
10864 display-buffer-default specially.
10865 (display-buffer-reuse-selected-window)
10866 (display-buffer-same-window, display-buffer-maybe-same-window)
10867 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10868 (display-buffer-pop-up-window)
10869 (display-buffer-reuse-or-pop-window)
10870 (display-buffer-use-some-window): New functions.
10871 (display-buffer-default-action): Use them.
393a301e 10872 (display-buffer-default): Delete.
89894cd8
CY
10873 (pop-to-buffer-1): Fix choice of actions.
10874
ae0bc9fb
SM
108752011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10876
10877 * minibuffer.el (completion--insert-strings): Don't get confused by
10878 completion entries that end with an LF char.
10879
e9d90883
EZ
108802011-09-01 Eli Zaretskii <eliz@gnu.org>
10881
10882 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10883
437014c8
CY
108842011-09-01 Chong Yidong <cyd@stupidchicken.com>
10885
10886 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10887 (display-buffer-same-window, display-buffer-other-window):
10888 New functions.
437014c8
CY
10889 (pop-to-buffer-1): New function. Use the above.
10890 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10891 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10892
10893 * view.el (view-buffer-other-window, view-buffer-other-frame):
10894 Just use pop-to-buffer.
10895
a5e063d5
TV
108962011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10897
10898 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10899
793d32bb
WH
109002011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10901
10902 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10903
d65e4c15
RS
109042011-08-31 Richard Stallman <rms@gnu.org>
10905
10906 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10907 of the separation of rmail-view-buffer from rmail-buffer.
10908 If you say no to "replace original", the decrypt is in the
10909 view buffer. If you say yes, the decrypt goes into the
10910 rmail buffer also.
10911
f818cd2a
MR
109122011-08-31 Martin Rudalics <rudalics@gmx.at>
10913
10914 * window.el (display-buffer-window): Rewrite doc-string.
10915 (display-buffer-record-window): New function.
10916 (display-buffer-macro-specifiers)
10917 (display-buffer-even-window-sizes, display-buffer-set-height)
10918 (display-buffer-set-width, display-buffer-in-window)
10919 (display-buffer-reuse-window, display-buffer-split-specifiers)
10920 (display-buffer-side-specifiers, display-buffer-split-window-1)
10921 (display-buffer-split-window, display-buffer-split-atom-window)
10922 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10923 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10924 (display-buffer-other-window-means-other-frame)
10925 (display-buffer-normalize-special)
10926 (display-buffer-normalize-default)
10927 (display-buffer-normalize-argument)
10928 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10929 (display-buffer-normalize-specifiers, display-buffer-frame)
10930 (display-buffer-same-window, display-buffer-same-frame)
10931 (display-buffer-other-window)
10932 (display-buffer-same-frame-other-window)
10933 (display-buffer-other-frame, pop-to-buffer-same-window)
10934 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10935 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10936 (switch-to-buffer-same-frame)
10937 (switch-to-buffer-other-window-same-frame)
10938 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10939 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10940 (display-buffer-alist-set): Remove.
10941 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10942 (special-display-regexps, special-display-function):
10943 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10944 parameter.
10945 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10946 (special-display-frame-alist, special-display-popup-frame)
10947 (same-window-buffer-names, same-window-regexps, same-window-p)
10948 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10949 (split-window-preferred-function, split-height-threshold)
10950 (split-width-threshold, window-splittable-p)
10951 (split-window-sensibly, window--try-to-split-window)
10952 (window--frame-usable-p, even-window-heights)
10953 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10954 (window--display-buffer-2, display-buffer-other-frame):
10955 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10956 (display-buffer-default, display-buffer-assq-regexp): New functions.
10957 (display-buffer-alist): Rewrite doc-string.
10958 (display-buffer-default-action)
10959 (display-buffer-overriding-action): New variables.
10960 (display-buffer, switch-to-buffer): Rewrite.
10961 (pop-to-buffer): Restore Emacs 23 behavior but use
10962 window-normalize-buffer-to-display.
10963 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10964 Restore Emacs 23 behavior but use
10965 window-normalize-buffer-to-switch-to.
10966 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10967 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10968 Rewrite using Emacs 23 options.
f818cd2a 10969
5bc3b51d
MA
109702011-08-31 Michael Albinus <michael.albinus@gmx.de>
10971
10972 * net/tramp.el (tramp-root-regexp): Remove.
10973 (tramp-completion-file-name-regexp-unified)
10974 (tramp-completion-file-name-regexp-separate)
10975 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10976 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10977 (tramp-drop-volume-letter): Simplify definition.
10978 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10979
b1a4f8e1
SM
109802011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10981
10982 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10983 (bug#9356).
10984
5664fa7b
RT
109852011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10986
b1a4f8e1 10987 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10988
9a45d6c3
JL
109892011-08-29 Juri Linkov <juri@jurta.org>
10990
10991 * isearch.el (isearch-done): Don't display message "Mark saved"
10992 when arg `edit' is non-nil to prevent its flicker in the echo area.
10993
fb87e0fb
CY
109942011-08-28 Chong Yidong <cyd@stupidchicken.com>
10995
10996 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
10997 obsolete packages for deletion.
10998
09ac1c2a
CS
109992011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11000
11001 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11002 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11003 view-mode from help-mode.
11004 (help-xref-override-view-map): Remove.
11005 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11006 view-mode is not used anymore.
11007
7a1ff57f
CY
110082011-08-28 Chong Yidong <cyd@stupidchicken.com>
11009
11010 * server.el (server-port): Doc fix.
11011
b9696605
CY
11012 * cus-theme.el (custom-theme-choose-mode): Inherit from
11013 special-mode (Bug#9124).
11014 (custom-theme-choose-mode-map): Add special-mode to parent.
11015
ef8cdf8c
AM
110162011-08-28 Alan Mackenzie <acm@muc.de>
11017
11018 * progmodes/cc-fonts.el
11019 (c-make-font-lock-BO-decl-search-function): New function.
11020 (c-basic-matchers-after - "Fontify the clauses after various
11021 keywords"): Extract the three keyword lists for the 3 erroneous
11022 constructs from the list of four, and use the new function above
11023 in place of an old one.
11024
27de4e20
DD
110252011-08-28 Deniz Dogan <deniz@dogan.se>
11026
11027 * net/rcirc.el (rcirc-insert-prev-input)
11028 (rcirc-insert-next-input): Remove unused argument.
11029
356a3681
SM
110302011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11031
11032 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11033
3fc9b218
AM
110342011-08-27 Alan Mackenzie <acm@muc.de>
11035
11036 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11037 handle function pointer parameters properly.
11038
538a061c
MR
110392011-08-27 Martin Rudalics <rudalics@gmx.at>
11040
11041 * window.el (display-buffer-reuse-window): Fix case where
11042 selected window was reused with non-nil OTHER-WINDOW argument.
11043 (Bug#9381)
11044
35b1c40c
DD
110452011-08-27 Deniz Dogan <deniz@dogan.se>
11046
11047 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11048 oftc's NickServ messages.
11049
2f6a3e79
GM
110502011-08-27 Glenn Morris <rgm@gnu.org>
11051
11052 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11053
7254299e
CY
110542011-08-26 Chong Yidong <cyd@stupidchicken.com>
11055
11056 * emacs-lisp/package.el (package-install): Call package-initialize
11057 if called interactively.
11058
f8ccf167
LL
110592011-08-26 Leo Liu <sdl.web@gmail.com>
11060
11061 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11062
3e8cd5ce
JL
110632011-08-25 Juri Linkov <juri@jurta.org>
11064
11065 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11066 `search-whitespace-regexp' (bug#9364).
11067
93eb7113
JL
110682011-08-25 Juri Linkov <juri@jurta.org>
11069
11070 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11071 `regexp-search-ring' to their global values to protect from
11072 updating by `read-from-minibuffer' (bug#9185).
11073
f65d1611
JL
110742011-08-25 Juri Linkov <juri@jurta.org>
11075
11076 * textmodes/ispell.el (ispell-command-loop): Add newline
11077 at the end of the "Use option `i'..." line.
11078
f1cf7a31
JL
110792011-08-25 Juri Linkov <juri@jurta.org>
11080
11081 * battery.el (display-battery-mode): If `battery-status-function'
11082 or `battery-mode-line-format' is nil, display the message and set
11083 `display-battery-mode' to nil (bug#9363).
11084
0c95fcf7
EZ
110852011-08-25 Eli Zaretskii <eliz@gnu.org>
11086
11087 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11088 bidi-string-mark-left-to-right; they are unnecessary now.
11089
a2ebe600
DD
110902011-08-25 Deniz Dogan <deniz@dogan.se>
11091
11092 * net/quickurl.el: Documentation typo fixes.
11093
e4ed06f1
CY
110942011-08-25 Chong Yidong <cyd@stupidchicken.com>
11095
11096 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11097
e5f1c99e
GM
110982011-08-25 Glenn Morris <rgm@gnu.org>
11099
b2948976
GM
11100 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11101
e5f1c99e
GM
11102 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11103 (smtpmail-via-smtp): Handle nil response from smtp.
11104
f22f4808
JL
111052011-08-24 Juri Linkov <juri@jurta.org>
11106
11107 * proced.el (proced-marked): Inherit from `error' instead of
11108 `font-lock-warning-face'.
11109
11110 * ibuffer.el (ibuffer-marked-face): Change default face from
11111 `font-lock-warning-face' to `warning'.
11112 (ibuffer-deletion-face): Change default face from
11113 `font-lock-type-face' to `error'.
11114
11115 * battery.el (battery-update): Use the face `error' instead of
11116 `font-lock-warning-face' (bug#6117).
11117
6a93965e
JL
111182011-08-24 Juri Linkov <juri@jurta.org>
11119
11120 * faces.el (success): Change face color from "Green3" to
11121 "ForestGreen" on light background (bug#9353).
11122
1ed43b09
CY
111232011-08-24 Chong Yidong <cyd@stupidchicken.com>
11124
5664fa7b
RT
11125 * window.el (quit-window): Rename from quit-restore-window.
11126 Use same arglist as old quit-window.
1ed43b09
CY
11127 (frame-auto-delete): Doc fix.
11128
11129 * view.el (view-mode-exit): Use quit-window.
11130
11dcdbb2
JL
111312011-08-24 Juri Linkov <juri@jurta.org>
11132
11133 * isearch.el (isearch-ring-adjust1): Start visiting previous
11134 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11135 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11136 for empty search string (when the last search string is reused
11137 automatically) to adjust the isearch ring to the last element and
11138 prepare the correct index for further M-p commands (bug#9185).
11139
de62b4df
KH
111402011-08-24 Kenichi Handa <handa@m17n.org>
11141
11142 * international/ucs-normalize.el: If decomposition property of
11143 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11144 nil.
11145 (nfd, nfkd): Likewise.
11146
963b492b
SM
111472011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11148
11149 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11150 from process filters aren't reliably transmitted to the surrounding
11151 accept-process-output.
11152 (mpc-proc-check): New function.
11153 (mpc-proc-sync): Use it (bug#8293)
11154
93b6b5e1
SM
111552011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11156
11157 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11158 Add compatibility functions (bug#9313).
11159
bca633fb
EZ
111602011-08-23 Eli Zaretskii <eliz@gnu.org>
11161
b177498a
EZ
11162 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11163
6df6ae42 11164 * international/uni-bidi.el: Regenerate.
bca633fb 11165
0902a04e
KH
111662011-08-23 Kenichi Handa <handa@m17n.org>
11167
11168 * international/charprop.el:
11169 * international/uni-bidi.el:
11170 * international/uni-category.el:
11171 * international/uni-combining.el:
11172 * international/uni-comment.el:
11173 * international/uni-decimal.el:
11174 * international/uni-decomposition.el:
11175 * international/uni-digit.el:
11176 * international/uni-lowercase.el:
11177 * international/uni-mirrored.el:
11178 * international/uni-name.el:
11179 * international/uni-numeric.el:
11180 * international/uni-old-name.el:
11181 * international/uni-titlecase.el:
11182 * international/uni-uppercase.el: Regenerate.
11183
3bbf23bc
MR
111842011-08-23 Martin Rudalics <rudalics@gmx.at>
11185
11186 * help.el (help-window-setup): Fix message displayed when other
11187 window is reused. (Bug#9341)
11188
b3fd59bd
SM
111892011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11190
1802e444
SM
11191 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11192 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11193
b3fd59bd
SM
11194 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11195 Mark obsolete.
11196 * shell.el (shell-parse-pcomplete-arguments): New function.
11197 (shell-completion-vars): Use it instead (bug#9160).
11198
4eb61348
SM
111992011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11200
867cab74
SM
11201 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11202 strings and comments (bug#9333).
11203
4eb61348
SM
11204 * emacs-lisp/debug.el (debug-arglist): New function.
11205 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11206 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11207
262a1439
JL
112082011-08-22 Juri Linkov <juri@jurta.org>
11209
56ee679c
JL
11210 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11211 Revert regexp that highlights output switches to its old
11212 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11213
262a1439
JL
11214 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11215 to check for empty output (bug#9226).
11216
f13f86fb
CY
112172011-08-22 Chong Yidong <cyd@stupidchicken.com>
11218
11219 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11220 symbol-constituent as the default, as that stops font-lock from
11221 working properly (Bug#8843).
11222
c65c9622
LMI
112232011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11224
11225 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11226 `coding-system-for-*' around the process open call to avoid
11227 auth-source side effects.
e7f2c178 11228 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11229 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11230 probe hangs.
c65c9622 11231
23a8a5ab
CY
112322011-08-21 Chong Yidong <cyd@stupidchicken.com>
11233
ff98b2dd
CY
11234 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11235
23a8a5ab
CY
11236 * emacs-lisp/find-func.el (find-function-noselect): New arg
11237 lisp-only.
11238
11239 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11240 signal an error for built-in functions (Bug#6664).
11241
f5e3c598
LMI
112422011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11243
11244 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11245 (smtpmail-try-auth-methods): Use it.
11246
a3f2468a
CY
112472011-08-21 Chong Yidong <cyd@stupidchicken.com>
11248
2c34e8da
CY
11249 * font-lock.el (font-lock-fontify-region)
11250 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11251 (font-lock-default-unfontify-buffer)
11252 (font-lock-default-fontify-region)
11253 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11254
b3fd59bd
SM
11255 * progmodes/compile.el (compilation-error-properties):
11256 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11257 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11258 `ant' regexp.
ee31aabc 11259
a3f2468a
CY
11260 * net/browse-url.el (browse-url-firefox): Don't call
11261 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11262
8e999f70
GM
112632011-08-20 Glenn Morris <rgm@gnu.org>
11264
c21a496a
GM
11265 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11266
59ee0542
GM
11267 * tutorial.el (tutorial--default-keys): Update some default bindings.
11268
8e999f70
GM
11269 * files.el (hack-local-variables): Fully ignore case for "mode:".
11270
e3715033
AM
112712011-08-20 Alan Mackenzie <acm@muc.de>
11272
11273 Resolve invalid use of a regexp in regexp-opt.
11274
4d61f28d
JB
11275 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11276 detection for a java annotation.
e3715033 11277
4d61f28d 11278 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11279 detection for a java annotation.
11280
4d61f28d
JB
11281 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11282 handling for java.
e3715033
AM
11283 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11284
04ed2e9c
CY
112852011-08-20 Chong Yidong <cyd@stupidchicken.com>
11286
11287 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11288 (Bug#9274).
11289
826cee64
AM
112902011-08-20 Alan Mackenzie <acm@muc.de>
11291
58179cce 11292 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11293 such a construct. Mainly for when jit-lock etc. starts a chunk
11294 here.
11295
58179cce 11296 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11297 variable.
58179cce 11298 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11299 c-make-font-lock-search-function.
11300 (c-make-font-lock-search-function): Use the above function.
11301 (c-make-font-lock-context-search-function): New function.
11302 (c-cpp-matchers): Enhance the preprocessor expression case with
11303 the above function
11304 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11305 which takes an expression.
11306
11307 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11308
13009bd8
MR
113092011-08-20 Martin Rudalics <rudalics@gmx.at>
11310
11311 * window.el (display-buffer-reuse-window)
11312 (display-buffer-pop-up-window): Don't reuse or split a side
11313 window.
11314
9234ff7f
GM
113152011-08-19 Glenn Morris <rgm@gnu.org>
11316
11317 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11318 Downcase "Mode:". (Bug#9331)
9234ff7f 11319
f635daa1
CY
113202011-08-18 Chong Yidong <cyd@stupidchicken.com>
11321
11322 * international/characters.el: Add L and R categories.
11323
11324 * subr.el (bidi-string-mark-left-to-right): Rename from
11325 string-mark-left-to-right. Use category search.
11326
11327 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11328
bc987f8b
JL
113292011-08-18 Juri Linkov <juri@jurta.org>
11330
11331 * faces.el (error, warning, success): New faces with definitions
11332 copied from old default values of `font-lock-warning-face',
11333 `compilation-warning', `compilation-info' (bug#6117).
11334
11335 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11336
11337 * progmodes/compile.el (compilation-error): Inherit from `error'.
11338 (compilation-warning): Inherit from `warning'.
11339 (compilation-info): Inherit from `success'.
11340
11341 * dired.el (dired-marked): Inherit from `warning'.
11342 (dired-flagged): Inherit from `error'.
11343
57173b96
LMI
113442011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11345
3e79eb87
LMI
11346 * mail/smtpmail.el (auth-source): Require to avoid problems with
11347 binding variables (bug#9298). Also clean up some unused
11348 autoloads.
11349
b3fd59bd
SM
11350 * net/network-stream.el (network-stream-open-starttls):
11351 Support using starttls.el without using gnutls-cli.
57173b96 11352
02b404de
JL
113532011-08-17 Juri Linkov <juri@jurta.org>
11354
11355 * progmodes/grep.el (rgrep): Handle the case when
11356 `grep-find-command' is a cons cell (bug#9278).
11357
8c9177f2
MR
113582011-08-17 Martin Rudalics <rudalics@gmx.at>
11359
11360 * window.el (display-buffer-pop-up-frame): Run frame creation
11361 function with BUFFER current (as special-display-popup-frame
11362 does). Reported by Drew Adams.
11363
3644a0ab
DU
113642011-08-17 Daiki Ueno <ueno@unixuser.org>
11365
11366 * epa-mail.el: Simplify GnuPG group expansion using
11367 epg-expand-group.
11368 (epa-mail-group-alist, epa-mail-group-modtime)
11369 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11370 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11371 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11372 Remove.
11373
5e617bc2 113742011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11375
11376 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11377
9c4aeabf
AM
113782011-08-16 Alan Mackenzie <acm@muc.de>
11379
11380 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11381 Correct, to avoid the inside of macros.
11382
3a99bf64
RS
113832011-08-16 Richard Stallman <rms@gnu.org>
11384
04963aa8
RS
11385 * epa-mail.el: Handle GnuPG group definitions.
11386 (epa-mail-group-alist, epa-mail-group-modtime)
11387 (epa-mail-gnupg-conf-file): New variables.
11388 (epa-mail-parse-groups, epa-mail-sync-groups)
11389 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11390 (epa-mail-expand-recipients): New functions.
11391 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11392
177549d0
RS
11393 * mail/rmail.el (rmail-epa-decrypt): New command.
11394
fe38beef
RS
11395 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11396 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11397 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11398 (epa-decrypt-armor-in-region): Make error message clearer.
11399
934eacb9
SM
114002011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11401
11402 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11403 and "a2b" to "ab" for `prefix'.
11404
d024fb4e
CY
114052011-08-14 Chong Yidong <cyd@stupidchicken.com>
11406
11407 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11408 filter groups.
de148fee
CY
11409 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11410 Fourquet (Bug#8804).
d024fb4e 11411
62f1ca49
JB
114122011-08-12 Juanma Barranquero <lekktu@gmail.com>
11413
11414 * startup.el (argi): Declare as global variable (bug#9275).
11415
9ccaaa4b
CY
114162011-08-12 Chong Yidong <cyd@stupidchicken.com>
11417
11418 * subr.el (string-mark-left-to-right): Search the entire string
11419 for RTL script, not just the terminating character. Doc fix.
11420
a3dae87a
SM
114212011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11422
6cd18349
SM
11423 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11424 New function.
11425 (js--regexp-literal, js-syntax-propertize-function): Remove.
11426 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11427 (js-mode-map): Don't rebind electric keys.
11428 (js-insert-and-indent): Remove.
11429 (js-mode): Setup electric-layout and electric-indent instead.
11430
a3dae87a
SM
11431 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11432
9d5cb631
DU
114332011-08-12 Daiki Ueno <ueno@unixuser.org>
11434
11435 * epa.el (epa-progress-callback-function): Fix the logic of
11436 displaying progress.
11437 * epa-file.el (epa-file-insert-file-contents): Make progress
11438 display more user-friendly.
11439 (epa-file-write-region): Ditto.
11440
3e26a4a2
CY
114412011-08-10 Chong Yidong <cyd@stupidchicken.com>
11442
11443 * subr.el (string-mark-left-to-right): New function.
11444
11445 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11446 Use string-mark-left-to-right.
11447 (list-buffers-noselect): Caller changed.
11448
a3dae87a
SM
11449 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11450 Use string-mark-left-to-right.
3e26a4a2
CY
11451 (tabulated-list-print): Recenter after moving point.
11452
ac8cf6e6
JL
114532011-08-10 Juri Linkov <juri@jurta.org>
11454
11455 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11456 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11457 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11458
8d96c9a4
CY
114592011-08-09 Chong Yidong <cyd@stupidchicken.com>
11460
11461 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11462 (Bug#7554).
11463
7be1c708 114642011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11465
11466 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11467 character. (Bug#6594)
11468
37e11a63
CY
114692011-08-08 Chong Yidong <cyd@stupidchicken.com>
11470
839dde57
CY
11471 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11472 (image-dired--with-db-file): New macro.
11473 (image-dired-write-tags, image-dired-remove-tag)
11474 (image-dired-create-gallery-lists, image-dired-write-comments)
11475 (image-dired-get-comment, image-dired-mark-tagged-files)
11476 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11477 (image-dired-gallery-generate): Use insert-file-contents.
11478
37e11a63
CY
11479 * time.el (display-time-world-list, display-time-world-display):
11480 * time-stamp.el (time-stamp-string):
11481 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11482 set-time-zone-rule (Bug#7337).
11483
0b4946c4
DU
114842011-08-08 Daiki Ueno <ueno@unixuser.org>
11485
11486 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11487 (epg-error-to-string, epg-errors-to-string): New function.
11488 (epg-wait-for-completion): Reverse errors list.
11489 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11490 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11491 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11492 (epg-sign-keys, epg-generate-key-from-file)
11493 (epg-generate-key-from-string): Format errors by using
11494 epg-errors-to-string (bug#9255).
11495 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11496
75bfc667
JL
114972011-08-07 Juri Linkov <juri@jurta.org>
11498
11499 * faces.el (list-faces-display): Remove extra angle bracket
11500 from `help-mode-map'.
11501
11502 * info.el (Info-history-toc-nodes): Doc fix.
11503
11504 * longlines.el (longlines-mode): Doc fix.
11505
673e08bb
SM
115062011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11507
4640dd88
SM
11508 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11509 of statements and in a few more cases (bug#9183).
11510
673e08bb
SM
11511 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11512 New functions.
11513 (cl-transform-lambda): Use them (bug#9239).
11514
89b3f019
MR
115152011-08-05 Martin Rudalics <rudalics@gmx.at>
11516
11517 * window.el (display-buffer-same-window)
11518 (display-buffer-same-frame, display-buffer-other-window)
11519 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11520 (pop-to-buffer-other-window)
11521 (pop-to-buffer-same-frame-other-window)
11522 (pop-to-buffer-other-frame): Make them defuns.
11523 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11524
640c8776
SM
115252011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11526
11527 * subr.el (make-composed-keymap): Move from C. Change calling
11528 convention, and improve docstring to bring attention to a subtle point.
11529 * minibuffer.el (completing-read-default): Adjust accordingly.
11530
63648a95
MA
115312011-08-03 Michael Albinus <michael.albinus@gmx.de>
11532
11533 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11534 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11535
11536 * net/trampver.el: Update release number.
11537
b796c9b7
SM
115382011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11539
11540 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11541 "in" (bug#9190).
11542
2239d7d5
LMI
115432011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11544
e07dd7c3
LMI
11545 * mail/sendmail.el (sendmail-query-once): Restore the current
11546 buffer after querying (bug#9074).
11547
0e6a2bd7
LMI
11548 * dired.el (dired-flagged): Use different faces for marked and
11549 flagged files (bug#6117).
11550
ce887515
LMI
11551 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11552 (bug#4433).
11553
92f2affc
LMI
11554 * ido.el (ido-mode): Switch off the message if called
11555 non-interactively.
11556
57d5aff0
LMI
11557 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11558 before 587, since it appears that that's more likely to work for
11559 more people.
11560
98cd6c18 11561 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11562 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11563 exist.
11564
b96dec83
LMI
11565 * info.el: Remove the `Info-beginning-of-buffer' function
11566 (bug#8325).
11567
b796c9b7
SM
11568 * net/network-stream.el (network-stream-open-starttls):
11569 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11570
d90e2ea0
MR
115712011-08-01 Martin Rudalics <rudalics@gmx.at>
11572
11573 * window.el (display-buffer-in-window): Don't set dedicated status
11574 of window here (Bug#9215).
11575 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11576 (display-buffer-pop-up-side-window)
b796c9b7 11577 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11578
cca09170
SM
115792011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11580
11581 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11582 before binding generated-autoload-file.
11583
027b979c
DD
115842011-08-01 Deniz Dogan <deniz@dogan.se>
11585
11586 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11587
3c7ee4f3
MA
115882011-07-30 Michael Albinus <michael.albinus@gmx.de>
11589
11590 Sync with Tramp 2.2.2.
11591
11592 * net/trampver.el: Update release number.
11593
2cc8e51a
JL
115942011-07-30 Juri Linkov <juri@jurta.org>
11595
11596 * dired-aux.el (dired-touch-initial): Remove function.
11597 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11598 current time, and `default' to the last modification time of the
11599 current marked file (bug#6887).
11600
a514d856
JM
116012011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11602
11603 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11604 numeric argument to read-number (bug#9163).
a514d856 11605
8a7eddd7
MA
116062011-07-27 Michael Albinus <michael.albinus@gmx.de>
11607
11608 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11609 connection process, it could be nil.
11610
1ddd96f5
LL
116112011-07-27 Leo Liu <sdl.web@gmail.com>
11612
11613 Simplify url handling in rcirc-mode.
11614
11615 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11616 (rcirc-browse-url-at-mouse): Remove.
11617 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11618
b248a85d
AM
116192011-07-26 Alan Mackenzie <acm@muc.de>
11620
11621 Fontify bitfield declarations properly.
11622
11623 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11624 (c-symbol-chars): Now exported as a lang variable.
11625 (c-not-primitive-type-keywords): New lang variable.
11626
11627 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11628 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11629 parsed as a bitfield declaration.
b248a85d 11630
b796c9b7
SM
11631 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11632 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11633 (c-punctuation-in): New function.
11634 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11635 declarations properly.
11636
68575ab0
UJ
116372011-07-26 Ulf Jasper <ulf.jasper@web.de>
11638
11639 * calendar/icalendar.el (icalendar--all-events): Take care of
11640 multiple vcalendars in a single file.
b796c9b7 11641 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11642
0f0a88b9
DD
116432011-07-25 Deniz Dogan <deniz@dogan.se>
11644
11645 * image.el (insert-image): Clarifying docstring.
11646
0b3f36df
MA
116472011-07-24 Michael Albinus <michael.albinus@gmx.de>
11648
11649 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11650 `tramp-send-command-and-check' if there is no error.
11651 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11652
a9901f61
AM
116532011-07-22 Alan Mackenzie <acm@muc.de>
11654
11655 Prevent cc-langs.elc being loaded at run time.
11656
11657 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11658 cc-langs.
11659
4d61f28d 11660 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11661 "(require 'cc-langs)". Quote a form so it will evaluate at
11662 (cc-mode's) compilation time.
11663
11d074b2
MA
116642011-07-22 Michael Albinus <michael.albinus@gmx.de>
11665
11666 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11667 loading. (Bug#9114)
11668
938b94c8
MR
116692011-07-21 Martin Rudalics <rudalics@gmx.at>
11670
11671 * window.el (display-buffer-pop-up-window)
11672 (display-buffer-pop-up-side-window)
11673 (display-buffer-in-side-window): Call display-buffer-set-height
11674 and display-buffer-set-width after setting the new window's
b796c9b7 11675 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11676
bfa4f190
SS
116772011-07-20 Sam Steingold <sds@gnu.org>
11678
11679 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11680 (etags-tags-included-tables): Call `convert-standard-filename' on
11681 the file names contained in TAGS so that windows Emacs can handle
11682 TAGS files created by cygwin ctags.
11683
8ca42262
LMI
116842011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11685
11686 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11687 which apparently didn't work.
11688
5db2afd2 116892011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11690
5db2afd2
RW
11691 * proced.el (proced-send-signal): For *Marked Processes* buffer
11692 put point at beginning of buffer.
11693
92e15d10
SB
116942011-07-19 Stephen Berman <stephen.berman@gmx.net>
11695
11696 * proced.el (proced-format): Make header lines align with the text
11697 (bug#1779).
11698
1bfd59e5
LMI
116992011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11700
11701 * view.el (view-buffer): Allow running in `special' modes if we're
11702 visiting a file (bug#8615).
11703
f5aae37c
MR
117042011-07-19 Martin Rudalics <rudalics@gmx.at>
11705
11706 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11707 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11708 New functions.
f5aae37c
MR
11709 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11710 more accurately.
11711
bf2c1571
AM
117122011-07-18 Alan Mackenzie <acm@muc.de>
11713
11714 Fontify declarators properly when, e.g., a jit-lock chunk begins
11715 inside a declaration.
11716
11717 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11718
b796c9b7
SM
11719 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11720 New function.
bf2c1571
AM
11721 (c-complex-decl-matchers): Insert reference to
11722 c-font-lock-enclosing-decls.
11723
11724 * progmodes/cc-engine.el (c-backward-single-comment):
11725 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11726 to nil around calls to (forward-comment -1).
11727
4e190b80
LMI
117282011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11729
12dc863d
LMI
11730 * image.el (put-image): Doc typo fix.
11731
a762e966
LMI
11732 * progmodes/etags.el (tags-search): Doc typo fix.
11733
4e190b80
LMI
11734 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11735 password if we get errors 550 to 554.
11736
f019fb21
LMI
117372011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11738
b796c9b7 11739 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11740
81746738
LMI
11741 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11742 indentation character (bug#6380).
11743
3ee3a1b5
LMI
11744 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11745
c82f64de
LMI
11746 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11747 to clarify what the problem is (bug#4291).
11748
f019fb21
LMI
11749 * simple.el (current-kill): Clarify what
11750 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11751 (auto-fill-mode): Document `auto-fill-function' in relation to
11752 `auto-fill-mode' (bug#2470).
f019fb21 11753
0794775d
LM
117542011-07-16 Lawrence Mitchell <wence@gmx.li>
11755
11756 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11757 method if slot is read-only (bug#9035).
11758
be39b8cc
MR
117592011-07-16 Martin Rudalics <rudalics@gmx.at>
11760
b796c9b7 11761 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11762 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11763 selected before, see discussion of (Bug#8615), (Bug#6954).
11764 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11765
6ccf7859
GM
117662011-07-15 Glenn Morris <rgm@gnu.org>
11767
11768 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11769 Respect help-form.
6ccf7859 11770
87e86684
LM
117712011-07-09 Lawrence Mitchell <wence@gmx.li>
11772
11773 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11774 (gnutls-negotiate): Use it.
11775
d6066239
LMI
117762011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11777
b796c9b7
SM
11778 * net/gnutls.el (gnutls-negotiate):
11779 Upcase `gnutls-algorithm-priority'.
d6066239 11780
bd23ebc0
GM
117812011-07-15 Glenn Morris <rgm@gnu.org>
11782
c65bca65
GM
11783 * jka-compr.el (jka-compr-verbose): Move from here...
11784 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11785 Add missing :version tag.
11786 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11787
478615cc
LMI
117882011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11789
7b41decb
LMI
11790 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11791 (gnutls-negotiate): Use it.
11792
dbc44fcd
LMI
11793 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11794
06789f97
LMI
11795 * info.el (Info-beginning-of-buffer): New command.
11796 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11797 announcing `b' as the key (bug#8325).
ab896c37 11798 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11799
c39da690
LMI
11800 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11801
3aa5f34b
LMI
11802 * international/mule-cmds.el
11803 (describe-specified-language-support): Make the error message
11804 clearer (bug#8905).
11805
4bf0979f
LMI
11806 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11807
478615cc
LMI
11808 * isearch.el (isearch-barrier): Add a doc string, since it's
11809 mentioned in a function doc string (bug#8678).
11810
75c68aa1
MR
118112011-07-15 Martin Rudalics <rudalics@gmx.at>
11812
11813 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11814 buffer argument (Bug#9083) and self-identifying label argument.
11815
a7c33da2
GM
118162011-07-15 Glenn Morris <rgm@gnu.org>
11817
11818 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11819
2f5c6024
LMI
118202011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11821
11822 * man.el (Man-fontify-manpage): Fix message when formatting the
11823 man page (bug#7929).
11824
0bb23927 118252011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11826
11827 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11828 argument LRM; if non-nil, append an invisible LRM character to the
11829 buffer name.
11830 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11831 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11832 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11833 paragraph direction.
cce4b0a7 11834
621ef9ab
LMI
118352011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11836
d1583c48
LMI
11837 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11838 the man page name (bug#7929).
11839
6a57fb5f
LMI
11840 * image.el (put-image): Mention the `put-image' overlay property
11841 (bug#7834).
11842
d7956b14
LMI
11843 * scroll-bar.el (set-scroll-bar-mode): Mention that
11844 `scroll-bar-mode' lists the values (bug#7772).
11845
5b2d4a66
LMI
11846 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11847 command (bug#7729).
11848
7509a874
LMI
11849 * rect.el (apply-on-rectangle): Return the point after the last
11850 operation.
11851 (string-rectangle): Go to the point after the last operation
11852 (bug#7522).
11853
4fe74b19
LMI
11854 * printing.el (pr-toggle-region): Clarify the documentation
11855 slightly (bug#7493).
11856
b796c9b7
SM
11857 * time.el (display-time-update):
11858 Allow `display-time-mail-function' to return nil (bug#7158).
11859 Fix suggested by Detlev Zundel.
ab283561 11860
fc233c9d
LMI
11861 * vc/diff.el (diff): Clarify the order the file names are read
11862 (bug#7111).
11863
43f5740b
LMI
11864 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11865 the doc string (bug#7015).
11866
f2182a76
LMI
11867 * font-lock.el (font-lock-maximum-decoration): Mention what
11868 numeric levels mean (bug#6935).
11869
621ef9ab
LMI
11870 * startup.el (initial-buffer-choice): Don't mention the `none'
11871 selection, which is against policy.
11872
adc47434
MR
118732011-07-14 Martin Rudalics <rudalics@gmx.at>
11874
b796c9b7
SM
11875 * window.el (display-buffer-normalize-special):
11876 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11877
7e5bfb8f
EZ
118782011-07-14 Eli Zaretskii <eliz@gnu.org>
11879
11880 * subr.el (version<, version<=, version=): Mention "-CVS" and
11881 "-12345" alpha version numbers.
11882
27fa387a
CY
118832011-07-14 Chong Yidong <cyd@stupidchicken.com>
11884
11885 * bindings.el: Add advertised binding for set-mark-command
11886 (Bug#5772).
11887
8bdfa064
CY
118882011-07-14 Chong Yidong <cyd@stupidchicken.com>
11889
11890 * bindings.el (mode-line-other-buffer):
11891 * bookmark.el (bookmark-bmenu-2-window):
11892 * bs.el (bs-cycle-next, bs-cycle-previous):
11893 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11894 switch-to-buffer.
11895
11896 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11897 Delete.
8bdfa064 11898
5eba16a3
JB
118992011-07-14 Juanma Barranquero <lekktu@gmail.com>
11900
11901 * follow.el (follow-debug-message, follow-redisplay):
11902 * jka-cmpr-hook.el (with-auto-compression-mode):
11903 Fix typos in docstrings.
11904
15853710
LMI
119052011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11906
a28e4607
LMI
11907 * subr.el (with-silent-modifications): Clarify somewhat what the
11908 macro inhibits (bug#6525).
11909
15853710
LMI
11910 * simple.el (eval-expression): Note what it does if called
11911 interactively (bug#6495).
11912
bee0fcef
CY
119132011-07-13 Chong Yidong <cyd@stupidchicken.com>
11914
b796c9b7
SM
11915 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11916 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11917
11918 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11919 Remove switch-to-buffer.
11920
58274504
LMI
119212011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11922
bd2fcc8d
LMI
11923 * files.el (make-directory): Clarify that an error will be raised
11924 if there's an error (bug#6397).
11925
0f04b32c
LMI
11926 * startup.el (initial-buffer-choice): Add `none' as a choice
11927 (bug#6234).
11928
465c5fc8
LMI
11929 * subr.el (add-hook): Clarify section about buffer-local hooks
11930 (bug#6218).
11931
58274504
LMI
11932 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11933
bead9a43
JB
119342011-07-13 Juanma Barranquero <lekktu@gmail.com>
11935
11936 * tabify.el (untabify): Preserve the current column so that point
11937 doesn't move (bug#6032).
11938
3af98a7b
LMI
119392011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11940
b796c9b7
SM
11941 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11942 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11943
6240145a
GM
119442011-07-13 Glenn Morris <rgm@gnu.org>
11945
11946 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11947 (dired-insert-directory): Give a message the first time
11948 if ls is found not to support --dired.
11949
1d8c2ccc
LMI
119502011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11951
11952 * simple.el (toggle-truncate-lines): Clarify what is toggled
11953 (bug#5580). Text by Drew Adams.
11954
5fc4038e
CY
119552011-07-13 Chong Yidong <cyd@stupidchicken.com>
11956
11957 * simple.el (blink-matching-open): Make the error message from the
11958 last change less verbose.
11959
bf6012e5
DN
119602011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11961
11962 * font-lock.el (font-lock-comment-face): Use the high contrast
11963 "yellow" color for font-lock-comment-face on low color terminals
11964 using a dark background color (bug#4221).
11965
343c3b5a
LMI
119662011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11967
7e9505c5
LMI
11968 * dired.el (dired-insert-set-properties): Make the doc string
11969 reflect what it does now (bug#5325).
11970
c26fdcf5
LMI
11971 * simple.el (blink-matching-open): Say that we were unable to find
11972 the match within the limit, if we're limited (bug#5122).
11973
bb388cc5
LMI
11974 * international/mule-cmds.el (prefer-coding-system): Add an
11975 example (bug#4869).
11976
343c3b5a
LMI
11977 * progmodes/etags.el (tags-search): Document `file-list-form'
11978 (bug#4731).
11979
2a517d45
LM
119802011-07-13 Lawrence Mitchell <wence@gmx.li>
11981
11982 * net/browse-url.el (browse-url-default-browser)
11983 (browse-url-browser-function): Make the default browser choice a
11984 bit more logical (bug#4300). Also clean up the doc string.
11985
b6c78ef2
JB
119862011-07-13 Juanma Barranquero <lekktu@gmail.com>
11987
11988 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11989 binary endings (bug#4440).
11990
1c4dd947
LMI
119912011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11992
a2014063
LMI
11993 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11994 which can be pretty annoying (bug#8971).
11995
9c9c2d88
LMI
11996 * jka-compr.el (jka-compr-verbose): New variable, and use
11997 throughout (bug#8971).
11998
1c4dd947
LMI
11999 * info.el (Info-find-file): Fall back on the installation
12000 directory if we can't find the info node anywhere else.
12001
a1c9f41b
SO
120022011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12003
12004 * vc/vc.el (vc-revert-file):
12005 Don't set file time-stamp in the past. (Bug#5181)
12006
536f3d36
LMI
120072011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12008
7152b011
LMI
12009 * files.el (after-find-file): Give a better error message when
12010 trying to find a symlink that points to a file that doesn't exist
12011 (bug#4398).
12012
536f3d36
LMI
12013 * progmodes/cc-vars.el: Remove (probably) misleading comment
12014 (bug#4396).
12015
460c0fba
JB
120162011-07-12 Johan Bockgård <bojohan@gnu.org>
12017
12018 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12019
7a6bda45
CY
120202011-07-12 Chong Yidong <cyd@stupidchicken.com>
12021
12022 * mouse-sel.el: Hack restoring functionality, while keeping
12023 compatibility with 2010-07-03 changes to mouse selection.
12024 (mouse-sel-primary-overlay): New var.
12025 (mouse-sel-selection-alist): Use it.
12026 (mouse-sel-mode): Doc fix; remove points that are default features
12027 of mouse.el.
12028
c79598ef
JB
120292011-07-12 Johan Bockgård <bojohan@gnu.org>
12030
12031 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12032 Fix previous fix (bug#2490).
12033
ff8be6ef
RW
120342011-07-12 Roland Winkler <winkler@gnu.org>
12035
b796c9b7
SM
12036 * textmodes/bibtex.el (bibtex-initialize):
12037 Use pop-to-buffer-same-window.
ff8be6ef
RW
12038 (bibtex-search-entries): Fix interactive call.
12039
296ba3ee
LMI
120402011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12041
f5242a02 12042 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12043 Fontise bytecomp Error lines more correctly (bug#2490).
12044 Fix suggested by Johan Bockgård.
f5242a02 12045
296ba3ee
LMI
12046 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12047
12048 * dired-x.el (dired-guess-default): Use `delete-dups'.
12049
f69fd0d2
CY
120502011-07-12 Chong Yidong <cyd@stupidchicken.com>
12051
12052 * dired.el (dired-mark-prompt):
12053 * dired-aux.el (dired-read-shell-command): Doc fix.
12054
eab5dc07
LMI
120552011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12056
b796c9b7
SM
12057 * mail/sendmail.el (sendmail-query-once):
12058 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12059 emacs -Q.
12060
12061 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12062
eab5dc07
LMI
12063 * cus-edit.el (custom-file): Take an optional no-error variable.
12064 (customize-save-variable): Set the variable, and give a warning if
12065 running under "emacs -q".
12066
a1e65d42
JB
120672011-07-11 Juanma Barranquero <lekktu@gmail.com>
12068
12069 * loadhist.el (unload-feature-special-hooks):
12070 Add `auto-coding-functions', `fill-nobreak-predicate' and
12071 `find-directory-functions' (bug#5327).
12072
1d52da10
LMI
120732011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12074
be958f1d
LMI
12075 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12076
5bedb26c
LMI
12077 * cus-edit.el (custom-guess-name-alist): -alist variables should
12078 use the `alist' type (bug#3120). Suggested by Drew Adams.
12079
1d52da10
LMI
12080 * printing.el: Add documentation to all the `pr-toggle-' commands.
12081
cd394be1 120822011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12083
12084 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12085 backends where it makes sense (bug#2623).
12086
dcc88d8a
LMI
120872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12088
c3de9feb
LMI
12089 * dired-x.el (dired-guess-default): Remove duplicate shell command
12090 entries (bug#2028).
8a93078b 12091 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12092 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12093
dcc88d8a
LMI
12094 * subr.el (remove-duplicates): New conveniency function.
12095
505e3645
LMI
120962011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12097
12098 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12099 (bug#1526).
12100
121012011-07-10 Martin Rudalics <rudalics@gmx.at>
12102
12103 * window.el (display-buffer-normalize-default): Don't invert
12104 meaning of even-window-heights. Reported by Eli Zaretskii
12105 <eliz@gnu.org>.
12106
455e4fa1
BR
121072011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12108
12109 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12110
8e0bc3e9
CY
121112011-07-10 Chong Yidong <cyd@stupidchicken.com>
12112
12113 * window.el (display-buffer): Fix arguments to
12114 display-buffer-reuse-window in last change.
12115
fa7c3228
CY
12116 * faces.el (link): Use a less saturated blue on light backgrounds.
12117
12118 * startup.el (fancy-startup-text, fancy-about-text)
12119 (fancy-startup-tail): Use font-lock faces, for background safety.
12120
c0a7f300
BN
121212011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12122
b796c9b7
SM
12123 * emulation/viper-cmd.el (viper-change-state-to-vi):
12124 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12125
4dc2a129
MR
121262011-07-09 Martin Rudalics <rudalics@gmx.at>
12127
12128 * window.el (display-buffer-default-specifiers): Remove.
12129 (display-buffer-macro-specifiers): Remove default specifiers.
12130 (display-buffer-alist): Default to nil.
b796c9b7 12131 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12132 (display-buffer-pop-up-window): Allow splitting internal
12133 windows. Check whether a live window was created.
12134 (display-buffer-other-window-means-other-frame)
12135 (display-buffer-normalize-arguments): Rename to
12136 display-buffer-normalize-argument and rewrite. Set the
12137 other-window specifier.
12138 (display-buffer-normalize-special): New function.
12139 (display-buffer-normalize-options): Rename to
12140 display-buffer-normalize-default and rewrite.
12141 (display-buffer-normalize-options-inhibit): Remove.
12142 (display-buffer-normalize-specifiers): Rewrite.
12143 (display-buffer): Process other-window specifier and call
12144 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12145 more faithfully.
b796c9b7 12146 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12147 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12148 (display-buffer-in-window, display-buffer-alist-set):
12149 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12150 <tassilo@member.fsf.org>.
12151
2d43b8c9
LL
121522011-07-09 Leo Liu <sdl.web@gmail.com>
12153
12154 * register.el (insert-register): Restore accidental change on
12155 2011-06-26. (Bug#9028)
12156
7f9b7c53
GM
121572011-07-09 Glenn Morris <rgm@gnu.org>
12158
12159 * subr.el (remq): Handle the empty list. (Bug#9024)
12160
f042cfd8
AS
121612011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12162
12163 * mail/sendmail.el (send-mail-function): No longer delay custom
12164 initialization.
12165 * custom.el (custom-initialize-delay): Doc fix.
12166
856b2f11
SM
121672011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12168
12169 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12170
afae1d68
MA
121712011-07-08 Michael Albinus <michael.albinus@gmx.de>
12172
12173 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12174 human-friendly prompt.
12175
0757af94
SM
121762011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12177
12178 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12179 provided by a particular plugin.
12180
d760b731
LMI
121812011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12182
12183 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12184 save customizations (with "emacs -Q"), just set the variable
12185 instead of erroring out.
12186
12187 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12188
cd79ce90
JL
121892011-07-08 Juri Linkov <juri@jurta.org>
12190
12191 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12192 (archive-zip-update-case): Use 7z if found by `executable-find'.
12193 The order of searching the available programs is the same as in
12194 `archive-zip-extract' (bug#8968).
12195
14cc04aa
CY
121962011-07-07 Chong Yidong <cyd@stupidchicken.com>
12197
12198 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12199 (menu-bar-options-menu): Tweak descriptions.
12200
0a1848ec
LMI
122012011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12202
12203 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12204 menu items into verb phrases (bug#1421). Also refill to fit under
12205 80 columns.
12206
f5bd0689
CY
122072011-07-07 Chong Yidong <cyd@stupidchicken.com>
12208
538e85c6
CY
12209 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12210 (Info-read-node-name): Doc fix (Bug#1084).
12211
f5bd0689
CY
12212 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12213 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12214 (end-of-sexp, beginning-of-sexp)
12215 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12216 (forward-symbol, forward-same-syntax, word-at-point)
12217 (sentence-at-point): Doc fix (Bug#1144).
12218
56ec5115
LMI
122192011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12220
f3f8e37f
LMI
12221 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12222 should cover it (bug#1281).
12223
0757af94 12224 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12225
e9fce1ac 12226 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12227 negotiation fails, then possibly try again with a non-encrypted
12228 connection (bug#9017).
12229
56ec5115
LMI
12230 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12231 be used.
12232
c2f9aec8
RS
122332011-07-07 Richard Stallman <rms@gnu.org>
12234
12235 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12236 property, and handle its changed format.
12237 Look for the correct line number.
12238 Use file's line contents (but not past first =) to find
12239 correct line in message.
12240
ef7b981d 122412011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12242
12243 * international/characters.el (build-unicode-category-table):
12244 Delete it.
0757af94 12245 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12246
0757af94 12247 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12248 to src/chartab.c.
12249 (get-char-code-property): Call unicode-property-table-internal to
12250 load a file. Call get-unicode-property-internal where necessary.
12251 (put-char-code-property): Call unicode-property-table-internal to
12252 load a file. Call put-unicode-property-internal where necessary.
12253 put-unicode-property-internal where necessary.
0757af94
SM
12254 (char-code-property-description):
12255 Call unicode-property-table-internal to load a file.
c805dec0
KH
12256
12257 * international/charprop.el:
12258 * international/uni-bidi.el:
12259 * international/uni-category.el:
12260 * international/uni-combining.el:
12261 * international/uni-comment.el:
12262 * international/uni-decimal.el:
12263 * international/uni-decomposition.el:
12264 * international/uni-digit.el:
12265 * international/uni-lowercase.el:
12266 * international/uni-mirrored.el:
12267 * international/uni-name.el:
12268 * international/uni-numeric.el:
12269 * international/uni-old-name.el:
12270 * international/uni-titlecase.el:
12271 * international/uni-uppercase.el: Regenerate.
12272
12273 * loadup.el: Load international/charprop.el before
12274 international/characters.
12275
e14b388a
CY
122762011-07-07 Chong Yidong <cyd@stupidchicken.com>
12277
12278 * window.el (next-buffer, previous-buffer): Signal an error if
12279 called from a minibuffer window.
12280
12281 * bindings.el: Revert 2011-07-04 change.
12282
354cf0ba
RS
122832011-07-06 Richard Stallman <rms@gnu.org>
12284
12285 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12286 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12287 Treat markers like ints.
12288 (rmail-mime-entity): Doc fix.
12289
a48868a7
LMI
122902011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12291
4906cd3d
LMI
12292 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12293 defcustom again for backwards compatibility.
12294
e0457abe
LMI
12295 * simple.el (shell-command-on-region): Fill.
12296
d67f7e1f
LMI
12297 * dired-aux.el (dired-kill-line): Add a doc string.
12298
fe204702
LMI
12299 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12300 to "\\sw\\|\\s_" (bug#358).
12301
a48868a7
LMI
12302 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12303 (dired-unmark-backward): Ditto.
12304 (dired-flag-backup-files): Ditto.
12305
12306 * dired-x.el (dired-mark-sexp): Ditto.
12307
aa8a705c
RS
123082011-07-06 Richard Stallman <rms@gnu.org>
12309
12310 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12311 (rmail-mime-entity): New arg TRUNCATED.
12312 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12313 New functions.
12314 (rmail-mime-save): Warn if entity is truncated.
12315 (rmail-mime-toggle-hidden): Likewise, for showing.
12316 (rmail-mime-process-multipart): Record when an entity is truncated.
12317
a9a936b9
RS
12318 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12319 if ENTITY is a string.
12320
1f2b92cb
LMI
123212011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12322
f4f73198 12323 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12324 of faces when `M-C-x'-ing their definitions (bug#8378).
12325 Also clean up the code slightly.
f4f73198 12326
12b16734 12327 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12328 because that makes the colors go away.
12b16734 12329
f0691d22
LMI
12330 * mail/sendmail.el (send-mail-function): Change the default to
12331 `sendmail-query-once'.
9e87df06 12332 (sendmail-query-once): Add an autoload cookie.
f0691d22 12333
1f2b92cb
LMI
12334 * net/network-stream.el (network-stream-open-starttls): Try using
12335 a plain connection even if the server offered STARTTLS, and we
12336 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12337 capability. This should make smtpmail.el work in slightly more
12338 configurations.
12339
1cdd2a1b
MA
123402011-07-06 Michael Albinus <michael.albinus@gmx.de>
12341
12342 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12343 New defun.
12344 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12345
fbcc67e2
MM
123462011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12347
12348 * progmodes/sql.el: Version 3.0
0757af94 12349 (sql-product-alist): Add product :completion-object,
fbcc67e2 12350 :completion-column, and :statement attributes.
0757af94 12351 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12352 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12353 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12354 ansi keywords.
12355 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12356 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12357 (sql-oracle-show-reserved-words): New function for development.
12358 (sql-product-font-lock): Simplify for source code buffers.
12359 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12360 New functions.
12361 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12362 (sql-mode-map): Add statement movement functions.
12363 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12364 New variable.
fbcc67e2
MM
12365 (sql-statement-regexp, sql-beginning-of-statement)
12366 (sql-end-of-statement, sql-signum): New functions.
0757af94 12367 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12368 (sql-show-sqli-buffer): Bug fix.
12369 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12370 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12371 with sql-interactive-mode.
12372 (sql-save-connection): Save buffer local settings.
0757af94 12373 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12374 (sql-product-interactive): Bug fix.
12375 (sql-preoutput-hold): New variable.
12376 (sql-interactive-remove-continuation-prompt): Bug fixes.
12377 (sql-debug-redirect): New variable.
12378 (sql-str-literal): New function.
12379 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12380 Redesign.
fbcc67e2
MM
12381 (sql-oracle-save-settings, sql-oracle-restore-settings)
12382 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12383 (sql-completion-object, sql-completion-column)
12384 (sql-completion-sqlbuf): New variables.
12385 (sql-build-completions-1, sql-build-completions)
12386 (sql-try-completion): New functions.
12387 (sql-read-table-name): Use them.
12388 (sql-contains-names): New buffer local variable.
12389 (sql-list-all, sql-list-table): Use it.
12390 (sql-oracle-completion-types): New variable.
12391 (sql-oracle-completion-object, sql-sqlite-completion-object)
12392 (sql-postgres-completion-object): New functions.
12393
d4eaeab1
GM
123942011-07-06 Glenn Morris <rgm@gnu.org>
12395
12396 * window.el (pop-to-buffer): Doc fix.
12397
322b7dab 123982011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12399
12400 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12401
322b7dab 124022011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12403
322b7dab 12404 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12405
322b7dab 12406 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12407
605dd5bf
CY
124082011-07-05 Chong Yidong <cyd@stupidchicken.com>
12409
12410 * button.el (button): Inherit from link face. Suggested by Dan
12411 Nicolaescu.
12412
7dbfa719
SM
124132011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12414
3db614b0
SM
12415 * progmodes/gdb-mi.el: Fit in 80 columns.
12416 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12417 switch-to-buffer.
12418
7dbfa719
SM
12419 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12420 if imenu is simply not configured (bug#8941).
12421
919d884a
KM
124222011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12423
12424 * allout.el (allout-post-undo-hook): New allout outline-change
12425 event hook to signal undo activity.
12426 (allout-post-command-business): Run allout-post-undo-hook if an
12427 undo just occurred.
7dbfa719
SM
12428 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12429 * allout-widgets.el (allout-widgets-after-undo-function):
12430 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12431 in the vicinity of an undo.
12432 (allout-widgets-mode): Include allout-widgets-after-undo-function
12433 on the new allout-post-undo-hook.
12434
450a0f09
SM
124352011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12436
12437 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12438 Let define-derived-mode define it.
12439 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12440 cycles of abbrev-table inheritance (bug#8998).
12441
2de69e00
RW
124422011-07-05 Roland Winkler <winkler@gnu.org>
12443
12444 * textmodes/bibtex.el: Add support for biblatex.
12445 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12446 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12447 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12448 (bibtex-entry-alist, bibtex-field-alist): New variables.
12449 (bibtex-entry-field-alist): Obsolete alias for
12450 bibtex-BibTeX-entry-alist.
12451 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12452 (bibtex-set-dialect): New command.
12453 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12454 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12455 Bind via bibtex-set-dialect.
2de69e00
RW
12456 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12457 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12458 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12459 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12460 Define via bibtex-set-dialect.
450a0f09
SM
12461 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12462 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12463 (bibtex-vec-push, bibtex-vec-incr): New functions.
12464 (bibtex-format-entry, bibtex-field-list)
12465 (bibtex-print-help-message, bibtex-validate)
12466 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12467
2dcdbdd9
SM
124682011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12469
12470 * progmodes/compile.el (compilation-goto-locus):
12471 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12472 * bs.el (bs-cycle-next, bs-cycle-previous):
12473 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12474 * bindings.el (mode-line-other-buffer):
12475 * autoinsert.el (auto-insert):
12476 * arc-mode.el (archive-extract):
12477 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12478
b27640fe
JB
124792011-07-05 Juanma Barranquero <lekktu@gmail.com>
12480
12481 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12482 Fix check of `emacs-lock-unlockable-modes'.
12483 Coerce true values of `emacs-lock--try-unlocking' to t.
12484
53bbe3ad
JB
124852011-07-05 Juanma Barranquero <lekktu@gmail.com>
12486
12487 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12488 * emacs-lock.el: New file.
12489
1d3cdbc7
JD
124902011-07-05 Julien Danjou <julien@danjou.info>
12491
12492 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12493 than `boundp' to check if face is set.
12494
9173deec
JB
124952011-07-05 Juanma Barranquero <lekktu@gmail.com>
12496
12497 * register.el (registerv-make):
12498 * window.el (window-min-height): Fix typos in docstrings.
12499
869795d6
JD
125002011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12501
9173deec 12502 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12503 Update doc string.
12504
b768cdcd
JB
125052011-07-04 Juanma Barranquero <lekktu@gmail.com>
12506
12507 * server.el (server-execute): Catch quit and call
12508 `server-return-error' to pass the error back to emacsclient and
12509 close the connection (bug#8942).
12510
13aa217b
KM
125112011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12512
12513 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12514 insecure exception for current topic. Also note that auto-saves
12515 are handled differently.
12516
5d3385a0 12517 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12518 State variables for tracking auto-save inhibition situation.
12519
12520 (allout-write-contents-hook-handler): Rename from
12521 'allout-write-file-hook-handler', and describe how it depends on
12522 write-contents-functions sensitivity to non-nil value to prevent
12523 file write.
12524
12525 (allout-auto-save-hook-handler): Remove. auto-save does not check
12526 this in individual buffers, only in the starting buffer, so this
12527 is not the right way for us to inhibit auto-save in a buffer
12528 according to its condition.
12529
12530 (allout-mode): Use new allout-write-contents-hook-handler, and
12531 only with write-contents-functions. Remove auto-save provisions -
12532 they're implemented elsewhere.
12533
12534 (allout-before-change-handler): If undo is in progress, note that
12535 for attention of allout-post-command-business.
12536
12537 (allout-post-command-business): If the command we're following was
12538 an undo, check for change in the status of encrypted items and
12539 adjust auto-save inhibitions accordingly.
12540
12541 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12542 according to whether there are or aren't any plain-text topics
12543 pending encryption.
12544
2dcdbdd9 12545 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12546 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12547 if there are plain-text topics pending encryption.
13aa217b
KM
12548
12549 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12550 buffer-saved-size and some allout state to not inhibit auto-saves
12551 if there are no longer any plain-text topics pending encryption.
12552
0757af94
SM
12553 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12554 No longer provide for exemption of the current topic.
13aa217b 12555
ac89b32c
JL
125562011-07-04 Juri Linkov <juri@jurta.org>
12557
12558 Add 7z operations to delete and save changed members (bug#8968).
12559 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12560 New defcustoms.
12561 (archive-7z-write-file-member): New function.
12562 (archive-7z-summarize): Fix the number of dashes in the
12563 listing output.
12564
8fa39615
SM
125652011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12566
12567 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12568 (bug#8958).
12569
2f11b3f1
CY
125702011-07-04 Chong Yidong <cyd@stupidchicken.com>
12571
d66fef2b
CY
12572 * bindings.el: Ignore next-buffer and previous-buffer in
12573 minibuffer-local-map.
12574
2f11b3f1
CY
12575 * font-lock.el (font-lock-builtin-face): Change light background
12576 color to dark slate blue (Bug#6693).
12577
f932a347
WD
125782011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12579
12580 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12581
c8af70e1
SM
125822011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12583
12584 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12585 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12586 Add switch-to-buffer.
12587
f158badc
LMI
125882011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12589
12590 * isearch.el (isearch-search-fun-function): Clarify further the
12591 meaning of the function returned.
12592
6d95bd46
MA
125932011-07-04 Michael Albinus <michael.albinus@gmx.de>
12594
12595 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12596
12597 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12598 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12599 Use it.
12600 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12601 `tramp-default-remote-path' does not exist.
12602 (tramp-send-command-and-read): New optional argument NOERROR.
12603 (tramp-open-connection-setup-interactive-shell)
12604 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12605 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12606 (tramp-process-sentinel): Flush also process' connection property.
12607 (tramp-sh-handle-start-file-process): Do not set process
12608 sentinel. It is done now ...
12609 (tramp-maybe-open-connection): ... here. (Bug#8929)
12610
909e6b67
MK
126112011-07-04 MON KEY <monkey@sandpframing.com>
12612
12613 * play/animate.el (animate-string): Doc fixes and allow changing
12614 the buffer name (bug#5417).
12615
126162011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12617
c8af70e1 12618 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12619
f34755dc
PE
126202011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12621
396cec72
PE
12622 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12623 This is simpler and helps future-proof the code.
12624 (timer-until): Use time-subtract and float-time.
08235028 12625 (timer--time-less-p): Use time-less-p.
f34755dc 12626
56e6cc31
JB
126272011-07-04 Juanma Barranquero <lekktu@gmail.com>
12628
3abb79e5
JB
12629 * type-break.el (timep): Use the value of `float-time' to avoid a
12630 byte-compiler warning.
12631
56e6cc31
JB
12632 * server.el (server-eval-and-print): Return any result, even nil.
12633
7b9430b4
PE
126342011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12635
12636 * type-break.el: Accept time formats that the builtins accept.
12637 (timep, type-break-time-difference): Accept any format that
12638 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12639 This is simpler and helps future-proof the code.
12640 (type-break-time-difference): Round rather than ignoring
12641 subseconds components.
12642
3034e9e7
LMI
126432011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12644
12645 * info.el (Info-apropos-matches): Make non-interactive, since it
12646 doesn't seem to do anything useful as a command (bug#8829).
12647
1485f4c0
CY
126482011-07-03 Chong Yidong <cyd@stupidchicken.com>
12649
12650 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12651 Move from faces.el.
1485f4c0
CY
12652 (frame-default-terminal-background): New function.
12653
12654 * custom.el (custom-push-theme): Don't record faces in `changed'
12655 theme; this doesn't work correctly for per-frame face settings.
12656 (disable-theme): Use face-set-after-frame-default to reset faces.
12657 (custom--frame-color-default): New function.
12658
9fa3dd45
LMI
126592011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12660
c8af70e1 12661 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12662 (bug#8769).
12663
6cbbc20c
KR
126642011-03-29 Kevin Ryde <user42@zip.com.au>
12665
12666 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12667 `perl-Test2' extend to match possible "fail #N" rep count
12668 (bug#8377).
12669
c7f98048
LMI
126702011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12671
65676592
LMI
12672 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12673 `smtpmail-via-smtp' now returns the error instead of nil.
12674
c7f98048
LMI
12675 * isearch.el (isearch-search-fun-function): Clarify the doc string
12676 (bug#8101).
12677
56e6cc31 126782011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12679
12680 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12681 unnecessary spaces (bug#8987).
12682
2b216704
LMI
126832011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12684
12685 * net/network-stream.el (open-network-stream): Use the
12686 :end-of-capability command thoughout.
12687
126882011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12689
12690 * net/network-stream.el (open-network-stream): Add the
12691 :end-of-capability command parameter, used by pop3.el.
12692
36adf6ce
LMI
126932011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12694
1ca0da0e
LMI
12695 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12696
fc00f69c
LMI
12697 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12698 for list)" (bug#6475).
12699
28fd8759 12700 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12701 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12702 an error (bug#6297).
12703
0dd8b6da
LMI
12704 * man.el (Man-reference-regexp): Allow matching possible
12705 word-wrapped references (bug#6289).
12706
ce1438d6
LMI
12707 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12708 for consistency with the other vc buffers (bug#6197).
12709 (vc-checkin): Ditto.
12710
12711 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12712
36adf6ce
LMI
12713 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12714
e83cc1f7
LMI
127152011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12716
8a20ca4c
LMI
12717 * custom.el (defcustom): Clarify that :set is only used in the
12718 Customize user interface (bug#6089).
12719
83319045
LMI
12720 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12721 associated with a file, refuse to run instead of erroring out
12722 (bug#6084).
12723
a8392169
LMI
12724 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12725 the doc string, since it appears that using `fill-column' always
12726 controls the width (bug#7845).
12727
e83cc1f7
LMI
12728 * simple.el (shell-command-on-region): Say where the error output
12729 went if `shell-command-default-error-buffer' is set (bug#6857).
12730
e47ca23b
KM
127312011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12732
12733 * allout.el (allout-yank-processing): Adjust cursor position for
12734 backwards-deleted space.
12735
12736 (allout-rebullet-heading): Register changes with
12737 allout-exposure-changed-hook, so the modified topic is properly
12738 decorated.
12739
5cf56143
LMI
127402011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12741
08549772
LMI
12742 * minibuffer.el (completion-in-region): Document PREDICATE
12743 (bug#7136).
12744
48e96771
LMI
12745 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12746 of keyword/argument pairs (bug#6904).
12747
c8af70e1
SM
12748 * replace.el (multi-occur):
12749 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12750
e17d05e2
LMI
127512011-07-02 Drew Adams <drew.adams@oracle.com>
12752
12753 * dired.el (dired-mark-if): Make the message about whether it's
12754 marking or unmarking clearer (bug#8523).
12755
063b0e45
LMI
127562011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12757
12758 * disp-table.el (display-table-print-array): New function.
12759 (describe-display-table): Use it to print the vectors more pretty
12760 (Bug#8859).
12761
28545e04
MR
127622011-07-02 Martin Rudalics <rudalics@gmx.at>
12763
12764 * window.el (window-state-get-1): Don't assign clone numbers.
12765 Add clone-of item to list of window parameters.
12766 (window-state-put-2): Don't process clone numbers.
12767 (display-buffer-alist): Fix doc-string.
12768
3349e122
SM
127692011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12770
12771 * subr.el (remq): Don't allocate if it's not needed.
12772 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12773 (keymap--merge-bindings): New functions.
12774 (keymap-canonicalize): Use them to refine the canonicalization.
12775 * minibuffer.el (minibuffer-local-completion-map)
12776 (minibuffer-local-must-match-map): Move initialization from C.
12777 (minibuffer-local-filename-completion-map): Move initialization from C;
12778 don't inherit from anything here.
12779 (minibuffer-local-filename-must-match-map): Make obsolete.
12780 (completing-read-default): Use make-composed-keymap to combine
12781 minibuffer-local-filename-completion-map with either
12782 minibuffer-local-must-match-map or
12783 minibuffer-local-filename-completion-map.
12784
d224ac83
GM
127852011-07-01 Glenn Morris <rgm@gnu.org>
12786
3de63bf8
GM
12787 * type-break.el (type-break-time-sum): Use dolist.
12788
d224ac83
GM
12789 * textmodes/flyspell.el (flyspell-word-search-backward):
12790 Replace CL function.
12791
1a1e3f32
SM
127922011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12793
fe3f64d5
SM
12794 * mouse.el (mouse--strip-first-event): New function.
12795 (function-key-map): Use it to map fringe clicks to normal clicks
12796 by default.
12797
eb604e34
SM
12798 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12799 (vc-bzr-revision-completion-table): Add support for annotate and date.
12800
1a1e3f32
SM
12801 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12802 inherit from parent.
12803
5bd35902
LMI
128042011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12805
ace6c69c 12806 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12807 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12808
191e2bed
LMI
12809 * dired.el (dired-mode): Fix up the doc string as suggested by
12810 Drew Adams (bug#8817).
12811
5bd35902
LMI
12812 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12813 cookie, since the manual says that it should be possible to add
12814 this function to `find-file-hook' (bug#8709).
12815
eee8207a
TZ
128162011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12817
12818 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12819 here. Noted Ted Zlatanov as the maintainer.
12820 (cfengine-common-settings, cfengine-common-syntax): New functions
12821 to set up common things between `cfengine-mode' and
12822 `cfengine3-mode'.
12823 (cfengine3-mode): New mode.
12824 (cfengine3-defuns cfengine3-defuns-regex
12825 (cfengine3-class-selector-regex cfengine3-category-regex)
12826 (cfengine3-vartypes cfengine3-font-lock-keywords)
12827 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12828 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12829
36b148cf
MA
128302011-07-01 Michael Albinus <michael.albinus@gmx.de>
12831
12832 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12833
12834 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12835
0bf4ba9a
MR
128362011-07-01 Martin Rudalics <rudalics@gmx.at>
12837
12838 * window.el (same-window-buffer-names, same-window-regexps)
12839 (same-window-p, special-display-frame-alist)
12840 (special-display-popup-frame, special-display-function)
12841 (special-display-buffer-names, special-display-regexps)
12842 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12843 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12844 (split-window-preferred-function, split-height-threshold)
12845 (split-width-threshold, even-window-heights)
12846 (display-buffer-mark-dedicated, window-splittable-p)
12847 (split-window-sensibly, window-safely-shrinkable-p):
12848 Un-obsolete.
12849 (display-buffer): Don't spread args with function specifier
12850 because special-display-popup-frame won't like it.
12851
35837f51
PE
128522011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12853
d0672f86
PE
12854 Time-stamp simplifications and fixes.
12855 These improve accuracy slightly, and future-proof the code
12856 against some potential changes to current-time format.
12857
b9444d97
PE
12858 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12859 by using time-since and float-time.
12860
0ef923dc
PE
12861 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12862 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12863 + NNN microseconds".
12864
2f81380d
PE
12865 * type-break.el (type-break-time-sum): Rewrite using time-add.
12866
845b5c3e
PE
12867 * play/hanoi.el (hanoi-current-time-float): Remove.
12868 All uses replaced by float-time.
12869
ee6f1be0
PE
12870 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12871 This yields a more-accurate answer.
12872 (rng-time-to-float): Remove; no longer needed.
12873
fe955043
PE
12874 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12875
5777162a
PE
12876 * calendar/timeclock.el (timeclock-seconds-to-time):
12877 Defalias to seconds-to-time, since they're the same thing.
12878
3103f8b6 12879 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12880 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12881 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12882
0e61a35f
SM
128832011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12884
12885 * window.el (bury-buffer): Don't iconify the only frame.
12886 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12887 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12888
ddd63a1e
CY
128892011-07-01 Chong Yidong <cyd@stupidchicken.com>
12890
0e61a35f
SM
12891 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12892 Add mouse-yank-primary.
ddd63a1e 12893
055f4923
TZ
128942011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12895
12896 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12897
6a2fb145
SM
128982011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12899
12900 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12901 (find-library-name): Use it to find relative load names when provided
12902 absolute file name (bug#8803).
12903
fd4983f2
LMI
129042011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12905
887d14ad
LMI
12906 * textmodes/flyspell.el (flyspell-word): Consider words that
12907 differ only in case as potential doublons (bug#5687).
12908
c53dc7fc
LMI
12909 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12910 Remove two rather uninteresting debugging-like messages to make
12911 debbugs.el more silent.
12912
fd4983f2
LMI
12913 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12914 a password-like phrase.
12915
7a71b18d 129162011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12917
12918 * progmodes/cc-guess.el: New file.
12919
6a2fb145 12920 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12921
12922 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12923 derived from `c-basic-common-init'.
12924
12925 * progmodes/cc-mode.el (top-level): Require cc-guess.
12926 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12927
1fa280a3
LM
129282011-06-30 Lawrence Mitchell <wence@gmx.li>
12929
12930 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12931
e6597158
AM
129322011-06-30 Alan Mackenzie <acm@muc.de>
12933
1fa280a3
LM
12934 * progmodes/cc-engine.el (c-guess-continued-construct):
12935 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12936 lock is disabled. Name this case as "CASE G".
12937
68ba37fb
KM
129382011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12939
12940 * allout.el (allout-yank-processing): Fix injection of extra space
12941 between bullet and non-whitespace character in first topic when
12942 pasting, ensuring that the actual spacing in the pasted topic
12943 following the bullet char is preserved. This extra space was
12944 causing pasted encrypted topics to get a decrypted status even
12945 when the content was actually still encrypted. Now the decryption
12946 status from before the paste is preserved.
12947
12948 (allout-flag-region): Set all allout overlays so they evaporate
12949 when reduced to zero length (evanescent), to prevent overlay
12950 leakage.
12951
887a0b34
GM
129522011-06-30 Glenn Morris <rgm@gnu.org>
12953
94b9acce
GM
12954 * w32-fns.el (w32-charset-info-alist): Declare.
12955
1d9b46d4
GM
12956 * find-dired.el (find-grep-options): Simplify.
12957
cc232200
GM
12958 * term/ns-win.el (ns-set-resource): Declare.
12959
28e77c46
GM
12960 * ses.el (row, col): Declare dynamic variables honestly.
12961
887a0b34
GM
12962 * textmodes/reftex-parse.el (index-tags): Declare.
12963
658d8eb8
CY
129642011-06-30 Chong Yidong <cyd@stupidchicken.com>
12965
12966 * cus-edit.el (customize-push-and-save): New function.
12967
12968 * files.el (hack-local-variables-confirm): Use it.
12969
1fa280a3
LM
12970 * custom.el (load-theme): New arg NO-CONFIRM.
12971 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12972 (custom-enabled-themes): Doc fix.
12973
12974 * cus-theme.el (customize-create-theme)
12975 (custom-theme-merge-theme): Callers to load-theme changed.
12976
bb617717
LMI
129772011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12978
d61bdd5d
LMI
12979 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12980 short URLs have at least one dot in them (bug #7614).
12981
bb617717
LMI
12982 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12983 nil, because using a pty is apparently too slow (bug #895).
12984
2f31f37a
LMI
129852011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12986
12987 * mail/sendmail.el (sendmail-query-once): New function.
12988 (sendmail-query-once-function): New variable.
12989
3076b24e
GM
129902011-06-29 Glenn Morris <rgm@gnu.org>
12991
faf2a174
GM
12992 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12993
3076b24e
GM
12994 * ses.el (top-level): Require cl when compiling.
12995 (ses-set-localvars): Fix error statement.
12996 Call it at compile time to silence a storm of warnings.
12997
5386012d
MR
129982011-06-29 Martin Rudalics <rudalics@gmx.at>
12999
13000 * window.el (normalize-live-buffer): Rename to
13001 window-normalize-buffer.
13002 (normalize-live-frame): Rename to window-normalize-frame.
13003 (normalize-any-window): Rename to window-normalize-any-window.
13004 (normalize-live-window): Rename to window-normalize-live-window.
13005 (make-window-atom): Rename to window-make-atom.
13006 (window-resize-reset): Rename to window--resize-reset.
13007 (window-resize-reset-1): Rename to window--resize-reset-1.
13008 (resize-mini-window): Rename to window--resize-mini-window.
13009 (resize-subwindows-skip-p): Rename to
13010 window--resize-subwindows-skip-p.
13011 (resize-subwindows-normal): Rename to
13012 window--resize-subwindows-normal.
13013 (resize-subwindows): Rename to window--resize-subwindows.
13014 (resize-other-windows): Rename to window--resize-siblings.
13015 (resize-this-window): Rename to window--resize-this-window.
13016 (resize-root-window): Rename to window--resize-root-window.
13017 (resize-root-window-vertically): Rename to
13018 window--resize-root-window-vertically.
13019 (normalize-buffer-to-display): Rename to
13020 window-normalize-buffer-to-display.
13021 (normalize-buffer-to-switch-to): Rename to
13022 window-normalize-buffer-to-switch-to.
13023 Correspondingly update all callers of the functions listed
13024 above.
13025 (display-buffer-alist, display-buffer-normalize-arguments)
13026 (display-buffer-normalize-options, display-buffer)
13027 (display-buffer-alist-set): Use "function" instead of
13028 "fun-with-args".
13029
1176868d
CY
130302011-06-28 Chong Yidong <cyd@stupidchicken.com>
13031
13032 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13033 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13034 debbugs.gnu.org. Mention acknowledgment email.
13035
20a7a65f
LMI
130362011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13037
13038 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13039 buffer multibyteness, since it shouldn't matter.
13040
5f45cca5
MR
130412011-06-28 Martin Rudalics <rudalics@gmx.at>
13042
13043 * window.el (display-buffer-in-side-window): Handle dedicated
13044 windows as in display-buffer-reuse-window.
13045 (display-buffer-normalize-alist): Use value of override
13046 specifier.
13047 (display-buffer-normalize-specifiers): Use value of
13048 other-window-means-other-frame specifier.
13049 (display-buffer-alist): Rewrite some texts in widgets.
13050 (display-buffer): Spread arguments when calling function
13051 specified by fun-with-args.
13052
ad85fe1f
DD
130532011-06-28 Deniz Dogan <deniz@dogan.se>
13054
1fa280a3
LM
13055 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13056 Unnest `let'.
da68c4c8 13057
ad85fe1f
DD
13058 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13059 selectors (Bug#5732).
ec49bd31 13060 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13061
a08cc025
JA
130622011-06-27 Jari Aalto <jari.aalto@cante.net>
13063
13064 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13065 (eshell-ls-date-format): New defcustom.
13066 (eshell-ls-file): Use it.
13067
e2b551c5
SM
130682011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13069
13070 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13071
8982b231
KY
130722011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13073
13074 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13075 (ange-ftp-make-tmp-name): New arg.
13076 (ange-ftp-file-local-copy): Use it.
13077
36c9fa27
J
130782011-06-27 Jambunathan K <kjambunathan@gmail.com>
13079
13080 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13081 no-conversion (Bug#8870).
13082
d68443dc
MR
130832011-06-27 Martin Rudalics <rudalics@gmx.at>
13084
13085 * window.el (window-right, window-left, window-child)
13086 (window-child-count, window-last-child)
13087 (window-iso-combination-p, walk-window-tree-1)
13088 (window-atom-check-1, window-tree-1, delete-window)
13089 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13090 new naming conventions - window-vchild, window-hchild,
13091 window-next and window-prev are now called window-top-child,
13092 window-left-child, window-next-sibling and window-prev-sibling
13093 respectively.
d615d6d2
MR
13094 (resize-window-reset): Rename to window-resize-reset.
13095 (resize-window-reset-1): Rename to window-resize-reset-1.
13096 (resize-window): Rename to window-resize.
13097 (window-min-height, window-min-width)
13098 (resize-mini-window, resize-this-window, resize-root-window)
13099 (resize-root-window-vertically, adjust-window-trailing-edge)
13100 (enlarge-window, shrink-window, maximize-window)
13101 (minimize-window, delete-window, quit-restore-window)
13102 (split-window, balance-windows, balance-windows-area-adjust)
13103 (balance-windows-area, window-state-put-2)
13104 (display-buffer-even-window-sizes, display-buffer-set-height)
13105 (display-buffer-set-width, set-window-text-height)
13106 (fit-window-to-buffer): Rename all "resize-window" prefixed
13107 calls to use the "window-resize" prefix convention.
13108 (display-buffer-alist): Fix symbol for label specifier.
13109 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13110 corresponding specifier.
13111 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13112
b6458526
VB
131132011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13114
13115 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13116 convention.
13117 (ses-call-printer): Does not pass an empty string to formatter when the
13118 cell is empty to keep from barking printer Calc math-format-value.
13119
d31fd9ac
RS
131202011-06-27 Richard Stallman <rms@gnu.org>
13121
43d5bf84
RS
13122 * battery.el (battery-mode-line-limit): New variable.
13123 (battery-update): Handle it.
13124
d31fd9ac
RS
13125 * mail/rmailmm.el (rmail-mime-process-multipart):
13126 Handle truncated messages.
13127
819a6054
GM
131282011-06-27 Glenn Morris <rgm@gnu.org>
13129
13130 * progmodes/flymake.el (flymake-err-line-patterns):
13131 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13132
cedc73f2
VB
131332011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13134
819a6054 13135 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13136 (ses--clean-!, ses--clean-_): New functions.
13137 (ses-range): Add configurability of readout order, and conversion
13138 to Calc vector.
13139
5e5d49b6
VB
13140 * ses.el (ses-repair-cell-reference-all): New function.
13141 (ses-cell-symbol): Set macro as safe, so that it can be used in
13142 formulas.
13143
56e6cc31 13144 * ses.el: Update cycle detection algorithm.
90ca8b49 13145 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13146 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13147 (ses-set-localvars): New function.
13148 (ses-make-cell): Add property-list as a cell element.
13149 (ses-cell-property-get-fun, ses-cell-property-get)
13150 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13151 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13152 New functions.
90ca8b49
VB
13153 (ses-cell-property-set, ses-cell-property-pop)
13154 (ses-cell-property-get-handle): New macro.
13155 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13156 New aliases, used for code readability.
13157 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13158 cycle detection.
13159 (ses-self-reference-early-detection): New defcustom.
fac916bf 13160 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13161 (ses-mode): Use ses-set-localvars.
13162 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13163 before lauching the update processing.
13164 (ses-initialize-Dijkstra-attempt): New function.
13165 (ses-recalculate-cell): Update for cycle detection based on
13166 Dijkstra algorithm.
13167
2bb63e81
VB
13168 * ses.el: Fix commenting and indenting convention.
13169
c9d29fb8
SM
131702011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13171
13172 * bs.el (bs-cycle-next): Complete last change.
13173
d8e4b68b
JB
131742011-06-27 Drew Adams <drew.adams@oracle.com>
13175
13176 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13177
40098786
LMI
131782011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13179
c9d29fb8
SM
13180 * net/network-stream.el (network-stream-open-starttls):
13181 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13182 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13183
40098786
LMI
13184 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13185 to binary to possibly avoid line encoding issues on Windows (among
13186 other things).
13187
468d09d4
LMI
131882011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13189
13190 * net/network-stream.el (open-network-stream): Return an :error
13191 saying what the problem was, if possible.
13192
13193 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13194 server.
13195
13196 * net/network-stream.el (network-stream-open-starttls): If we
13197 wanted to use STARTTLS, and the server offered it, but we weren't
13198 able to because we had no STARTTLS support, then close the connection.
13199 (open-network-stream): Return an :error element, if present.
13200
16f07dd7
CY
132012011-06-26 Chong Yidong <cyd@stupidchicken.com>
13202
88821ca0
CY
13203 * hl-line.el (hl-line-sticky-flag): Doc fix.
13204 (global-hl-line-sticky-flag): New option (Bug#8323).
13205 (global-hl-line-highlight): Obey it.
13206
16f07dd7
CY
13207 * vc/vc.el (vc-revert-show-diff): Default to t.
13208
6b5ccddf
KM
132092011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13210
c9d29fb8
SM
13211 * allout-widgets.el (allout-widgets-post-command-business):
13212 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13213 undecorated when an isearch is continued past, and isearch
13214 automatically collapses them. This leads to "widget leaks", where
13215 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13216 hidden widgets can slow down cursor travel, substantially.
13217 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13218 so we're doing without this nicety.
13219
13220 (allout-widgets-tally-string): Don't try to do a hash-table-count
13221 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13222 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13223 *Messages* when allout-widgets-maintain-tally is t.
13224
355f2e07
MR
132252011-06-26 Martin Rudalics <rudalics@gmx.at>
13226
13227 * window.el (display-buffer-normalize-argument): Rename to
13228 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13229 LABEL argument. Respect special-display-function when popping up
13230 a new frame. Fix code searching for a window showing the buffer
13231 on another frame.
c9d29fb8
SM
13232 (display-buffer-normalize-specifiers):
13233 Call display-buffer-normalize-arguments.
355f2e07
MR
13234 (display-buffer-in-window): Don't undedicate the window if its
13235 buffer remains the same.
13236 Reported by Drew Adams <drew.adams@oracle.com>.
13237 (display-buffer-alist): Add choice for same-window macro
13238 specfier.
13239 (display-buffer): Mention special meaning of LABEL argument in
13240 doc-string. Fix quoting. Don't pop up a new frame even as
13241 fallback.
13242
7ca8fc42
JB
132432011-06-26 Juanma Barranquero <lekktu@gmail.com>
13244
13245 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13246 avoid deleting the current window in some cases (bug#8911).
13247
bc312254
AS
132482011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13249
13250 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13251 (Bug#8934)
13252
2db18f3f
LMI
132532011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13254
c9d29fb8
SM
13255 * net/network-stream.el (network-stream-open-starttls):
13256 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13257 (network-stream-open-tls): Ditto.
13258
6302e0d3
LL
132592011-06-26 Leo Liu <sdl.web@gmail.com>
13260
13261 * register.el (registerv): New struct.
13262 (registerv-make): New function.
c9d29fb8
SM
13263 (jump-to-register, describe-register-1, insert-register):
13264 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13265 struct. (Bug#8415)
13266
5fdd4046
CY
132672011-06-26 Chong Yidong <cyd@stupidchicken.com>
13268
2afef60a
CY
13269 * vc/vc.el (vc-revert-show-diff): New defcustom.
13270 (vc-diff-internal): New arg specifying diff buffer.
13271 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13272 reuse an existing *vc-diff* buffer (Bug#8927).
13273
5fdd4046
CY
13274 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13275
e93db24a
GM
132762011-06-26 Glenn Morris <rgm@gnu.org>
13277
13278 * progmodes/f90.el (f90-critical-indent): New option.
13279 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13280 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13281 (f90-mode): Doc fix.
13282 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13283 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13284 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13285 (f90-match-end): Handle block, critical.
13286
eefff499
GM
132872011-06-25 Glenn Morris <rgm@gnu.org>
13288
f6ba4cc9
GM
13289 * calendar/diary-lib.el (diary-included-files): Doc fix.
13290 (diary-include-files): New function, extracted from
13291 diary-include-other-diary-files and diary-mark-included-diary-files.
13292 (diary-include-other-diary-files, diary-mark-included-diary-files):
13293 Just call diary-include-files.
13294 (diary-mark-entries): Reset diary-included-files on first call.
13295
16712304
GM
13296 * calendar/diary-lib.el (diary-mark-entries)
13297 (diary-mark-included-diary-files):
13298 Visit included diary-files in temp buffers.
13299
5d8e0d43
GM
13300 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13301 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13302 (f90-start-block-re, f90-imenu-generic-expression)
13303 (f90-looking-at-program-block-start, f90-no-block-limit):
13304 Add support for submodules.
13305
ccf7a5d5
GM
13306 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13307 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13308
11fdef7d 133092011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13310
13311 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13312 buffer-file-type before setting its value, to avoid disastrous
eefff499 13313 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13314
74f53697
JB
133152011-06-25 Juanma Barranquero <lekktu@gmail.com>
13316
13317 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13318
13319 * ses.el (ses-unload-function):
13320 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13321
13322 * proced.el (proced-unload-function):
13323 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13324
18a4ce5e
AR
133252011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13326
13327 * server.el (server-create-window-system-frame): Add parameters arg.
13328 (server-process-filter): Doc fix. Handle frame-parameters.
13329
519d22cc
JB
133302011-06-25 Juanma Barranquero <lekktu@gmail.com>
13331
13332 Fix bug#8730, bug#8781.
13333
13334 * loadhist.el (unload--set-major-mode): New function.
13335 (unload-feature): Use it.
13336
13337 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13338 (python-unload-function): New function.
13339
c206f5b0
SM
133402011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13341
13342 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13343
f9ad64f3
GS
133442011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13345
13346 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13347 the candidates list.
13348
7d0da90e
JB
133492011-06-24 Juanma Barranquero <lekktu@gmail.com>
13350
13351 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13352
14b4e83d
RS
133532011-06-23 Richard Stallman <rms@gnu.org>
13354
13355 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13356 (rmail-variables): Set next-error-move-function.
13357 (rmail-what-message): Take argument POS.
13358 (rmail-next-error-move): New function.
13359
273d2baf
SM
133602011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13361
13362 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13363 messages for adjacent non-terminals.
13364
56c2cc9a
RS
133652011-06-23 Richard Stallman <rms@gnu.org>
13366
13367 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13368 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13369 (rmail-start-mail): Don't specify use of rmail-mail-return;
13370 that's done by mail-bury now.
13371 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13372
d59eb518
MA
133732011-06-23 Michael Albinus <michael.albinus@gmx.de>
13374
13375 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13376 SIZE is a number.
13377
02cfc6d6
MR
133782011-06-23 Martin Rudalics <rudalics@gmx.at>
13379
13380 * window.el (get-lru-window, get-mru-window)
13381 (get-largest-window): Never return a minibuffer window.
13382 (display-buffer-pop-up-window): Fix a bug that could lead to
13383 reusing the minibuffer window.
13384 (display-buffer): Pass original specifier argument to
13385 display-buffer-function instead of the normalized one.
13386 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13387
4e323265
LL
133882011-06-22 Leo Liu <sdl.web@gmail.com>
13389
13390 * minibuffer.el (completing-read-function)
13391 (completing-read-default): Move from minibuf.c
13392
7a70468f
RS
133932011-06-22 Richard Stallman <rms@gnu.org>
13394
50718fc2
RS
13395 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13396 to Rmail even if not started by a special Rmail command.
13397
7a70468f
RS
13398 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13399 Copy the buffer currently showing just one message.
13400
297dde5a
RW
134012011-06-22 Roland Winkler <winkler@gnu.org>
13402
13403 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13404 (bibtex-clean-entry): First delete the old key so that a
13405 customized algorithm for generating the new key does not get
13406 confused by the old key.
13407 (bibtex-url): Obey regexp of first step.
13408 (bibtex-search-entries): Do not use add-to-list with local
13409 list-var.
13410
97bb1093
LMI
134112011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13412
13413 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13414 stored a user name, then query for the password first, instead of
13415 waiting for SMTP to give an error message and the trying again.
13416
1c0f1a19
JD
134172011-06-22 Lawrence Mitchell <wence@gmx.li>
13418
13419 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13420 BUFFER in call-process.
13421
396f7c9d
LMI
134222011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13423
13424 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13425 QUIT twice.
ddb7ffee
LMI
13426 (smtpmail-try-auth-methods): Require user name and password from
13427 auth-source.
396f7c9d 13428
8998d1b3
MR
134292011-06-22 Martin Rudalics <rudalics@gmx.at>
13430
13431 * window.el (display-buffer-default-specifiers)
13432 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13433 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13434 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13435
13436 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13437 (special-display-frame-alist, special-display-popup-frame):
13438 Remove duplicate declarations. These are now in window.el.
13439
4ea31e07
LMI
134402011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13441
c9d29fb8
SM
13442 * mail/smtpmail.el (smtpmail-via-smtp):
13443 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13444 server supports it. SMTP servers that support STARTTLS commonly
13445 require it.
13446
13447 * net/network-stream.el (network-stream-open-starttls): Support
13448 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13449 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13450
95f41d9a
LMI
13451 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13452 upgrades with `open-network-stream', and rely solely on
13453 auth-source for all credentials. Big changes throughout the file,
13454 but in particular:
c9d29fb8
SM
13455 (smtpmail-auth-credentials): Remove.
13456 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13457 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13458 MAIL FROM, too.
95f41d9a 13459
c9d29fb8
SM
13460 * net/network-stream.el (network-stream-open-starttls):
13461 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13462 STARTTLS.
13463 (auth-source): Require.
13464 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13465 (network-stream-certificate): Change cert-cert to cert and
13466 cert-key to key.
4ea31e07 13467
065ec2c7
MA
134682011-06-21 Michael Albinus <michael.albinus@gmx.de>
13469
13470 * net/tramp-cache.el (top): Don't load the persistency file when
13471 "emacs -Q" has been called.
13472
cd93b359
DR
134732011-06-21 Tim Harper <timcharper@gmail.com>
13474
d8e4b68b
JB
13475 * term/ns-win.el (ns-initialize-window-system):
13476 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13477 resource to NO as it is not yet supported by the NS port.
13478
ae9c0411
JB
134792011-06-21 Juanma Barranquero <lekktu@gmail.com>
13480
13481 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13482 (list-dynamic-libraries): ...not here.
13483
7f3f739f
LL
134842011-06-21 Leo Liu <sdl.web@gmail.com>
13485
13486 * subr.el (sha1): Implement sha1 using secure-hash.
13487
327c8fb1
MR
134882011-06-21 Martin Rudalics <rudalics@gmx.at>
13489
13490 * window.el (display-buffer-alist): In default value do not
13491 enforce searching a window on any but the selected frame.
13492 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13493 (display-buffer-select-window): Remove function.
13494 (display-buffer-in-window): When a window on another frame gets
13495 reused, do not select it any more but just raise its frame if
13496 necessary (Bug#8851) and (Bug#8856).
13497 (display-buffer-normalize-options): Handle pop-up-frames related
13498 options more faithfully.
13499 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13500 window if it is on another frame.
c9d29fb8
SM
13501 (display-buffer-alist, display-buffer-default-specifiers):
13502 Don't make new frame unsplittable by default.
9e9de014
MR
13503 (display-buffer-normalize-argument): Fix doc-string typo and use
13504 'same-frame-other-window instead of 'other-window when associating
13505 with display-buffer-macro-specifiers.
327c8fb1 13506
7cf3f556
VB
135072011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13508
13509 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13510 New functions.
13511 (5x5-mode-map, 5x5-mode-menu): Bind them.
13512 (5x5-draw-grid): Tweak the solver's rendering.
13513
60a406cf
SM
135142011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13515
13516 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13517 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13518
d8e4b68b 135192011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13520
13521 * menu-bar.el: Use function variable instead of switch-to-buffer.
13522 (menu-bar-select-buffer-function): New variable.
60a406cf 13523 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13524
478d6f95
SM
135252011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13526
13527 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13528 variable's status.
13529
ca530739
JD
135302011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13531
13532 * x-dnd.el (x-dnd-version-from-flags)
13533 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13534 and long as number (Bug#8899).
13535 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13536
bcd70d97
SM
135372011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13538
60a406cf 13539 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13540 (completion-try-completion, completion-all-completions): Compute the
13541 metadata argument if it's missing; make it optional (bug#8795).
13542
60a406cf 13543 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13544 (widget-complete): Use new :completion-function property.
13545 (widget-completions-at-point): New function.
13546 (default): Use :completion-function instead of :complete.
60a406cf
SM
13547 (widget-default-completions): Rename from widget-default-complete;
13548 Rewrite.
bcd70d97
SM
13549 (widget-string-complete, widget-file-complete, widget-color-complete):
13550 Remove functions.
13551 (file, symbol, function, variable, coding-system, color):
13552 * international/mule-cmds.el (default-input-method, charset)
13553 (language-info-custom-alist):
13554 * cus-edit.el (face): Use new property :completions.
13555
13556 * progmodes/pascal.el (pascal-completions-at-point): New function.
13557 (pascal-mode): Use it.
13558 (pascal-mode-map): Use completion-at-point.
13559 (pascal-toggle-completions): Make obsolete.
13560 (pascal-complete-word, pascal-show-completions):
13561 * progmodes/octave-mod.el (octave-complete-symbol):
13562 Redefine as obsolete alias.
13563 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13564 Signal absence of completion info for old Octave,
13565 (inferior-octave-complete): Redefine as obsolete alias.
13566 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13567 (meta-completions-at-point): Rename from meta-complete-symbol and
13568 adapt it for use on completion-at-point-functions.
13569 (meta-common-mode): Use it.
13570 (meta-looking-at-backward, meta-match-buffer): Remove.
13571 (meta-complete-symbol): Redefine as obsolete alias.
13572 (meta-common-mode-map): Use completion-at-point.
13573 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13574 (makefile-mode-map): Use completion-at-point.
13575 (makefile-completions-at-point): Rename from makefile-complete and
13576 adapt it for use on completion-at-point-functions.
13577 (makefile-mode): Use it.
13578 (makefile-complete): Redefine as obsolete alias.
13579
aebf69c8
DD
135802011-06-20 Deniz Dogan <deniz@dogan.se>
13581
13582 * net/rcirc.el: Delete trailing whitespaces once and for all.
13583
bfbbb27d
DC
135842011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13585
13586 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13587
d264a46b
CY
135882011-06-19 Chong Yidong <cyd@stupidchicken.com>
13589
4ca009e5
CY
13590 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13591
d264a46b
CY
13592 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13593
fbf5b3ce
MR
135942011-06-19 Martin Rudalics <rudalics@gmx.at>
13595
13596 * window.el (display-buffer-other-window-means-other-frame):
13597 Call display-buffer-normalize-alist.
13598 (display-buffer-normalize-specifiers-1): Rename to
13599 display-buffer-normalize-argument. New argument other-frame.
13600 Rewrite.
13601 (display-buffer-normalize-specifiers-2): Rename to
13602 display-buffer-normalize-options.
13603 (display-buffer-normalize-alist-1): New function.
13604 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13605 display-buffer-normalize-alist.
13606 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13607 (display-buffer-normalize-options-inhibit): New variable.
13608 (display-buffer-normalize-specifiers): Rewrite calling
13609 display-buffer-normalize-alist,
13610 display-buffer-normalize-argument, and
13611 display-buffer-normalize-options. Don't call the latter if
13612 display-buffer-normalize-options-inhibit is non-nil.
13613 (frame-auto-delete): New option.
13614 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13615 (window-list-no-nils, window-state-ignored-parameters)
13616 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13617 (window-state-put-1, window-state-put-2, window-state-put):
13618 New functions.
9a028c23
MR
13619 (display-buffer-normalize-options): Move special-display-p group
13620 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13621
6d10d800
CY
136222011-06-18 Chong Yidong <cyd@stupidchicken.com>
13623
6420d28b
CY
13624 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13625 groups (Bug#8776).
13626 (rx-submatch-n): New function.
13627 (rx): Document it.
13628
ddb8b596
CY
13629 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13630 (Bug#8768).
13631
13632 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13633
77080289
CY
13634 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13635
61dfb316
CY
13636 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13637 anytime existing face settings are present (Bug#8889).
13638
6d10d800
CY
13639 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13640 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13641 Remove unused argument.
13642
be3fb2b8
MR
136432011-06-18 Martin Rudalics <rudalics@gmx.at>
13644
bcd70d97
SM
13645 * window.el (display-buffer-default-specifiers):
13646 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13647 pop-up-window-min-width, and another reuse-window specifier
13648 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13649 (display-buffer-normalize-specifiers-2):
13650 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13651 pop-up-windows is unset. Add a reuse-window specifier for the
13652 case popping up a new window fails.
13653 (special-display-popup-frame): Remove double quoting.
28dec25a 13654 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13655
1c6d8c76
SM
136562011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13657
13658 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13659 according to comint-completion-addsuffix.
13660
13661 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13662 (pcomplete-suffix-list): Mark as obsolete.
13663 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13664 pcomplete-seen in the closure.
13665 (pcomplete-comint-setup): Setup completion-at-point as well.
13666 (pcomplete--entries): New function.
13667 (pcomplete--env-regexp): New var.
13668 (pcomplete-entries): Rewrite to work with partial-completion and
13669 without relying on pcomplete-suffix-list.
13670 (pcomplete-pare-list): Remove, unused.
13671
25aef8b8
MR
136722011-06-17 Martin Rudalics <rudalics@gmx.at>
13673
13674 * window.el (display-buffer-alist): Set pop-up-window-min-height
13675 and pop-up-window-min-width in default value. Reported by
13676 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13677 other-window-means-other-frame.
13678 (display-buffer-macro-specifiers): Comment out entry for
13679 other-window specifier.
13680 (display-buffer-other-window-means-other-frame): New function.
13681 (display-buffer-normalize-specifiers-1): New arguments
13682 buffer-name and label. Treat other-window case specially.
13683 (display-buffer-normalize-specifiers-2): Treat other-window case
13684 specially.
13685 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13686 (display-buffer-normalize-specifiers):
13687 Call display-buffer-normalize-specifiers-3.
25aef8b8 13688
dbad4f69
MR
136892011-06-17 Martin Rudalics <rudalics@gmx.at>
13690
13691 * window.el (same-window-p): Fix two typos introduced when
13692 adding with-no-warnings.
d1067961
MR
13693 (display-buffer-normalize-specifiers-1): Don't check
13694 pop-up-frames for 'unset initialization.
13695 (display-buffer-normalize-specifiers-2): Major rewrite using
13696 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13697 (pop-up-frames, display-buffer-reuse-frames)
13698 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13699 Suggested by David Engster <deng@randomsample.de>.
13700 (even-window-heights): Initialize to 'unset.
13701 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13702 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13703 other window case.
dbad4f69 13704
9b9c9e3a
MR
137052011-06-16 Martin Rudalics <rudalics@gmx.at>
13706
bcd70d97
SM
13707 * window.el (display-buffer-normalize-specifiers-1):
13708 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13709 second argument of display-buffer (Bug#8865).
981d5c09
MR
13710 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13711 (switch-to-buffer-other-window-same-frame)
13712 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13713 Adams (Bug#8875).
9c2755e9
MR
13714 (display-buffer): Don't check noninteractive when calling
13715 display-buffer-pop-up-frame.
13716 (display-buffer-pop-up-frame): Never pop up a frame in
13717 noninteractive mode (Bug#8857).
67222e1d
MR
13718 (enlarge-window, shrink-window): Don't report an error when the
13719 window can't be resized as requested (Bug#8862).
9b9c9e3a 13720
2b75be67
SM
137212011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13722
9ffdd3ba
SM
13723 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13724
cb581a67
SM
13725 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13726
2b75be67
SM
13727 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13728
8c0e3589
AM
137292011-06-15 Alan Mackenzie <acm@muc.de>
13730
cb581a67
SM
13731 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13732 for declarators, disable knr checking to speed up for normal files.
13733 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13734
b96e6cde
LMI
137352011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13736
4bba86e6
LMI
13737 * net/network-stream.el (open-network-stream): Add the keyword
13738 :always-query-capabilities for the case where you want to force a
13739 `plain' network connection, but the protocol still requires the
13740 capabilitiy command (i.e., SMTP and EHLO).
13741
2b75be67 13742 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13743 consistency with other `-live-p' functions.
13744
efdcdbf8
SM
137452011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13746
13747 * window.el (same-window-buffer-names, same-window-regexps)
13748 (special-display-frame-alist, special-display-popup-frame)
13749 (special-display-function, special-display-buffer-names)
13750 (special-display-regexps, pop-up-frame-alist)
13751 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13752 (pop-up-windows, split-window-preferred-function)
13753 (split-height-threshold, split-width-threshold, even-window-heights)
13754 (display-buffer-mark-dedicated): Don't encourage the use of
13755 display-buffer-alist from Elisp code.
13756
c5cde042
DN
137572011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13758
13759 * progmodes/python.el (python-mode): Derive from prog-mode.
13760 * progmodes/ps-mode.el (ps-mode):
13761 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13762 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13763 * progmodes/ld-script.el (ld-script-mode): Likewise.
13764
baa1c9ab
MR
137652011-06-15 Martin Rudalics <rudalics@gmx.at>
13766
13767 * window.el (display-buffer-alist): Trim default value to avoid
13768 popping up a new frame (Bug#8857) or reusing an arbitrary window
13769 on another frame.
13770 (display-buffer): Do not fall back on popping up a new frame in
13771 batch mode (Bug#8857).
13772
c5dd5a51
CY
137732011-06-14 Chong Yidong <cyd@stupidchicken.com>
13774
13775 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13776 (custom-theme-summary): New function.
13777 (customize-themes): Use it.
13778
d647b7c4
GM
137792011-06-13 Glenn Morris <rgm@gnu.org>
13780
13781 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13782
9481c002
MR
137832011-06-13 Martin Rudalics <rudalics@gmx.at>
13784
357f93d2
MR
13785 * help.el (help-window): Remove variable.
13786 (help-window-point-marker, temp-buffer-max-height)
13787 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13788 (help-print-return-message): Don't set help-window.
13789 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13790 (help-window-setup-finish): Remove.
13791 (help-window-display-message, help-window-setup)
13792 (with-help-window): Major rewrite based on new
13793 display-buffer-window variable.
13794
13795 * help-mode.el (help-mode-finish): Remove help-window related
13796 code.
13797
13798 * view.el (view-exits-all-viewing-windows): Remove reference to
13799 view-return-to-alist in doc-string.
13800 (view-return-to-alist): Make obsolete.
13801 (view-buffer): Call pop-to-buffer-same-window and remove
13802 undo-window code.
13803 (view-buffer-other-window): Call pop-to-buffer-other-window and
13804 simplify code. Ignore second argument.
13805 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13806 simplify code. Ignore second argument.
13807 (view-return-to-alist-update): Make obsolete.
13808 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13809 Rewrite using quit-restore window parameters.
2b75be67
SM
13810 (view-mode-exit): Rename second argument to EXIT-ONLY.
13811 Rewrite using quit-restore-window.
357f93d2
MR
13812 (View-exit, View-exit-and-edit, View-leave, View-quit)
13813 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13814 appropriate arguments.
13815 (view-end-message): Use quit-restore window parameter.
13816
9481c002
MR
13817 * window.el (display-buffer-function): Rewrite doc-string.
13818 (display-buffer-window, display-buffer-alist): New variables.
13819 (display-buffer-split-specifiers)
13820 (display-buffer-side-specifiers)
13821 (display-buffer-macro-specifiers): New constants.
13822 (display-buffer-even-window-sizes, display-buffer-set-height)
13823 (display-buffer-set-width, display-buffer-select-window)
13824 (display-buffer-in-window, display-buffer-reuse-window)
13825 (display-buffer-split-window-1, display-buffer-split-window)
13826 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13827 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13828 (display-buffer-in-side-window, normalize-buffer-to-display)
13829 (display-buffer-normalize-specifiers-1)
13830 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13831 (display-buffer-normalize-specifiers, display-buffer-frame):
13832 New functions.
9481c002
MR
13833 (display-buffer): Major rewrite.
13834 (display-buffer-other-window, display-buffer-other-frame)
13835 (pop-to-buffer, switch-to-buffer-other-window)
13836 (switch-to-buffer-other-frame): Rewrite.
13837 (display-buffer-same-window, display-buffer-same-frame)
13838 (display-buffer-same-frame-other-window)
13839 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13840 (pop-to-buffer-other-window)
13841 (pop-to-buffer-same-frame-other-window)
13842 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13843 (switch-to-buffer-other-window-same-frame): New functions.
13844 (same-window-p, special-display-p): Rewrite disabling warnings.
13845 Make obsolete.
13846 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13847 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13848 Make obsolete
13849 (same-window-buffer-names, same-window-regexps)
13850 (special-display-frame-alist, special-display-popup-frame)
13851 (special-display-function, special-display-buffer-names)
13852 (special-display-regexps, pop-up-frame-alist)
13853 (pop-up-frame-function, split-window-preferred-function)
13854 (split-height-threshold, split-width-threshold)
13855 (even-window-heights): Make obsolete.
13856
9db51aca
GM
138572011-06-12 Glenn Morris <rgm@gnu.org>
13858
13859 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13860 Misc simplifications.
9db51aca 13861
39cffb44
MR
138622011-06-12 Martin Rudalics <rudalics@gmx.at>
13863
13864 * window.el (window-safely-shrinkable-p): Restore function which
13865 was inadvertently removed in change from 2011-06-11. Declare as
13866 obsolete.
13867
2b75be67
SM
13868 * calendar/calendar.el (calendar-generate-window):
13869 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13870 window-safely-shrinkable-p.
13871
a8955be7
GM
138722011-06-12 Glenn Morris <rgm@gnu.org>
13873
13874 * progmodes/fortran.el (fortran-mode-syntax-table):
13875 * progmodes/f90.el (f90-mode-syntax-table):
13876 Set % to punctuation. (Bug#8820)
13877 (f90-find-tag-default): Remove, no longer needed.
13878
f0d4059d
DC
138792011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13880
13881 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13882
1100a63c
CY
138832011-06-11 Chong Yidong <cyd@stupidchicken.com>
13884
13885 * image.el (image-animated-p): Return animation delay in seconds.
13886 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13887 (image-animate-timeout): Remove DELAY argument. Don't assume
13888 every subimage has the same delay; get it from image-animated-p.
13889 (image-animate): Caller changed.
13890
def722bf
MA
138912011-06-11 Michael Albinus <michael.albinus@gmx.de>
13892
13893 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13894 to ignored backtrace functions.
13895
0a2bb1a9
GM
138962011-06-11 Glenn Morris <rgm@gnu.org>
13897
13898 * calendar/appt.el (appt-disp-window-function): Doc fix.
13899 (appt-check): Handle overlapping appointments. (Bug#8337)
13900
6198ccd0
MR
139012011-06-11 Martin Rudalics <rudalics@gmx.at>
13902
13903 * window.el (window-tree-1, window-tree): New functions, moving
13904 the latter to window.el.
13905 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13906 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13907 (bw-refresh-edges): Remove.
13908 (balance-windows-1, balance-windows-2): New functions.
13909 (balance-windows): Rewrite in terms of window tree functions,
13910 balance-windows-1 and balance-windows-2.
13911 (bw-adjust-window): Remove.
13912 (balance-windows-area-adjust): New function with functionality of
13913 bw-adjust-window but using resize-window.
2b75be67
SM
13914 (set-window-text-height): Rewrite doc-string.
13915 Use normalize-live-window and resize-window.
13916 (enlarge-window-horizontally, shrink-window-horizontally):
13917 Rename argument to DELTA.
6198ccd0
MR
13918 (window-buffer-height): New function.
13919 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13920 Rewrite using new window resize routines.
2b75be67
SM
13921 (kill-buffer-and-window, mouse-autoselect-window-select):
13922 Use ignore-errors instead of condition-case.
6198ccd0
MR
13923 (quit-window): Call delete-frame instead of delete-windows-on
13924 for the only buffer on frame.
13925
9397e56f
MR
139262011-06-10 Martin Rudalics <rudalics@gmx.at>
13927
13928 * loadup.el (top-level): Load window before files for the sake
13929 of replace-buffer-in-windows.
13930
13931 * files.el (read-buffer-to-switch)
13932 (switch-to-buffer-other-window)
2b75be67
SM
13933 (switch-to-buffer-other-frame, display-buffer-other-frame):
13934 Move to window.el.
9397e56f
MR
13935
13936 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13937 (previous-buffer): Move to window.el.
13938
13939 * bindings.el (unbury-buffer): Move to window.el.
13940
13941 * window.el (delete-other-windows-vertically): Move after
13942 definition of delete-other-windows.
13943 (other-window, delete-windows-on, replace-buffer-in-windows):
13944 Move here from window.c.
13945 (record-window-buffer, unrecord-window-buffer)
13946 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13947 (switch-to-next-buffer): New functions.
13948 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13949 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13950 (previous-buffer): Move here from simple.el.
13951 Call switch-to-prev-buffer.
9397e56f
MR
13952 (bury-buffer): Move here from buffer.c. Switch to previous
13953 buffer when window cannot be deleted.
13954 (unbury-buffer): Move here from bindings.el.
13955 (ctl-x-map): Move binding for other-window from window.c to
13956 here.
13957 (read-buffer-to-switch, switch-to-buffer-other-window)
13958 (switch-to-buffer-other-frame): Move here from files.el.
13959 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13960 (switch-to-buffer): Move here from buffer.c.
13961 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13962
562dd5e9
MR
139632011-06-10 Martin Rudalics <rudalics@gmx.at>
13964
13965 * window.el (window-min-height, window-min-width): Move here
13966 from window.c. Add defcustoms and rewrite doc-strings.
13967 (resize-mini-window, resize-window): New functions.
13968 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13969 Move here from window.c.
13970 (maximize-window, minimize-window): New functions.
13971 (delete-window, delete-other-windows, split-window): Move here
13972 from window.c.
13973 (window-split-min-size): New function.
13974 (split-window-keep-point): Mention split-window-above-each-other
13975 instead of split-window-vertically.
2b75be67 13976 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13977 Rename split-window-vertically to split-window-above-each-other
13978 and provide defalias for old definition.
13979 (split-window-side-by-side, split-window-horizontally):
13980 Rename split-window-horizontally to split-window-side-by-side
13981 and provide defalias for the old definition.
562dd5e9
MR
13982 (ctl-x-map): Move bindings for delete-window,
13983 delete-other-windows and enlarge-window here from window.c.
13984 Replace bindings for split-window-vertically and
13985 split-window-horizontally by bindings for
13986 split-window-above-each-other and split-window-side-by-side.
13987
13988 * cus-start.el (all): Remove entries for window-min-height and
13989 window-min-width. Add entries for window-splits and
13990 window-nest.
13991
f0da764a
GM
139922011-06-09 Glenn Morris <rgm@gnu.org>
13993
80675c21
GM
13994 * calendar/appt.el (appt-mode-line): New function.
13995 (appt-check, appt-disp-window): Use it.
13996
f0da764a
GM
13997 * files.el (hack-one-local-variable-eval-safep):
13998 Allow minor-modes with explicit +/-1 arguments.
13999
59f623b7
TZ
140002011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14001
14002 * term/xterm.el (xterm): Add defgroup.
14003 (xterm-extra-capabilities): Add defcustom to supply known xterm
14004 capabilities, skip querying them, or query them (default).
14005 (terminal-init-xterm): Use it.
14006 (terminal-init-xterm-modify-other-keys): New function to set up
14007 modifyOtherKeys support to simplify `terminal-init-xterm'.
14008
9aab8e0d
MR
140092011-06-09 Martin Rudalics <rudalics@gmx.at>
14010
14011 * window.el (resize-window-reset, resize-window-reset-1)
14012 (resize-subwindows-skip-p, resize-subwindows-normal)
14013 (resize-subwindows, resize-other-windows, resize-this-window)
14014 (resize-root-window, resize-root-window-vertically)
14015 (window-deletable-p, window-or-subwindow-p)
14016 (frame-root-window-p): New functions.
14017
e8b08aee
GM
140182011-06-09 Glenn Morris <rgm@gnu.org>
14019
14020 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14021 (ange-ftp-get-files): Use it.
14022
254c37a5
AK
140232011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14024
14025 * mail/sendmail.el (mail-recover-1, mail-recover):
14026 * files.el (recover-file, recover-session):
14027 Handle dired-listing-switches not being just a single short option.
14028
35d7dbd3
GM
140292011-06-09 Glenn Morris <rgm@gnu.org>
14030
14031 * calendar/appt.el (appt-display-message, appt-disp-window):
14032 Handle lists of appointments.
14033
387522b2
MR
140342011-06-08 Martin Rudalics <rudalics@gmx.at>
14035
2b75be67
SM
14036 * window.el (one-window-p): Move down in code.
14037 Rewrite doc-string.
14038 (window-current-scroll-bars): Rewrite doc-string.
14039 Normalize live window argument.
387522b2
MR
14040 (walk-windows, get-window-with-predicate, count-windows):
14041 Rewrite doc-string. Use window-list-1.
14042 (window-in-direction-2, window-in-direction, get-mru-window):
14043 New functions.
14044
d8e4b68b 140452011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14046
14047 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14048 Doc fix (Bug#8713).
14049
140502011-06-08 Chong Yidong <cyd@stupidchicken.com>
14051
14052 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14053
140542011-06-08 Juanma Barranquero <lekktu@gmail.com>
14055
14056 * loadhist.el (unload-feature-special-hooks):
14057 Add `comint-output-filter-functions'.
14058
0de12c52
IK
140592011-06-08 Ivan Kanis <gnu@kanis.fr>
14060
14061 * calendar/appt.el (appt-check): Move some initializations into the let.
14062
f3d1777e
MR
140632011-06-08 Martin Rudalics <rudalics@gmx.at>
14064
14065 * window.el (window-height): Defalias to window-total-height.
14066 (window-width): Defalias to window-body-width.
14067
18af70d0
CY
140682011-06-07 Chong Yidong <cyd@stupidchicken.com>
14069
14070 * image-mode.el (image-toggle-animation): New command.
14071 (image-mode-map): Bind it to RET.
14072 (image-mode): Update message.
14073 (image-toggle-display-image): Avoid a spurious cache flush.
14074 (image-transform-rotation): Doc fix.
14075 (image-transform-properties): Return quickly in the normal case.
14076 (image-animate-loop): Rename from image-animate-max-time.
14077
2b75be67 14078 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14079 (create-animated-image): Remove unnecessary function.
14080 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14081 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14082 (image-animate-timer): Use car-safe.
14083 (image-animate-timeout): Rename argument.
14084
190b47e6
MR
140852011-06-07 Martin Rudalics <rudalics@gmx.at>
14086
14087 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14088 window.c. Rename first argument to ALL-FRAMES.
14089 Rephrase doc-strings.
14090 (get-buffer-window-list): Rewrite using window-list-1.
14091 Rephrase doc-string.
a1511caf
MR
14092 (window-safe-min-height, window-safe-min-width): New constants.
14093 (window-size-ignore, window-min-size, window-min-size-1)
14094 (window-sizable, window-sizable-p, window-size-fixed-1)
14095 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14096 (window-max-delta-1, window-max-delta, window-resizable)
14097 (window-resizable-p, window-total-height, window-total-width)
14098 (window-body-width): New functions.
14099 (window-full-height-p, window-full-width-p): Rewrite using
14100 window-total-size.
14101 (window-body-height): Rewrite using window-body-size.
190b47e6 14102
85cc1f11
MR
141032011-06-06 Martin Rudalics <rudalics@gmx.at>
14104
14105 * window.el (window-right, window-left, window-child)
14106 (window-child-count, window-last-child, window-any-p)
14107 (normalize-live-buffer, normalize-live-frame)
14108 (normalize-any-window, normalize-live-window)
14109 (window-iso-combination-p, window-iso-combined-p)
14110 (window-iso-combinations)
14111 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14112 (windows-with-parameter, window-with-parameter)
14113 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14114 (window-atom-check, window-side-check, window-check):
14115 New functions.
85cc1f11
MR
14116 (ignore-window-parameters, window-sides, window-sides-vertical)
14117 (window-sides-slots): New variables.
14118 (window-size-fixed): Move down in code. Minor doc-string fix.
14119
e7156492
AS
141202011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14121
14122 * comint.el (comint-dynamic-complete-as-filename)
14123 (comint-dynamic-complete-filename): Correctly call
14124 completion-in-region.
14125
7e821d0d
DD
141262011-06-05 Deniz Dogan <deniz@dogan.se>
14127
14128 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14129 in last change.
14130
ac09b8a1
DD
141312011-06-05 Deniz Dogan <deniz@dogan.se>
14132
14133 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14134 (rcirc): Use it to prompt for encryption.
14135
34699b85
RW
141362011-06-05 Roland Winkler <winkler@gnu.org>
14137
14138 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14139 (bibtex-search-entries): New command bound to C-c C-a.
14140 (bibtex-display-entries): New function.
14141
004dedd3
RW
141422011-06-05 Roland Winkler <winkler@gnu.org>
14143
14144 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14145 (bibtex-insert-kill): After yanking insert newline if necessary.
14146 (bibtex-initialize): Call bibtex-string-files-init only once.
14147 (bibtex-mode): Do not call easy-menu-add.
14148 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14149 (bibtex-yank): Set arg properly if nil.
14150
022fe7ce
RW
141512011-06-05 Roland Winkler <winkler@gnu.org>
14152
2b75be67
SM
14153 * textmodes/bibtex.el (bibtex-search-entry-globally):
14154 New variable.
022fe7ce
RW
14155 (bibtex-search-entry): Use it.
14156
b7c3692a
RW
141572011-06-05 Roland Winkler <winkler@gnu.org>
14158
14159 * textmodes/bibtex.el (bibtex-entry-format): New option
14160 sort-fields.
14161 (bibtex-format-entry, bibtex-reformat): Honor this option.
14162 (bibtex-parse-entry): Return fields in proper order.
14163
8eda563d
JB
141642011-06-05 Juanma Barranquero <lekktu@gmail.com>
14165
14166 * doc-view.el (doc-view-remove-if): Move computation of result out
14167 of `dolist' to silence misleading lexical-binding warning.
14168
7dbe3dbc
CY
141692011-06-04 Chong Yidong <cyd@stupidchicken.com>
14170
14171 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14172 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14173
0c33dd17
MA
141742011-06-04 Michael Albinus <michael.albinus@gmx.de>
14175
14176 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14177 "SunOS 5.10".
14178
f8f91c2b
MA
141792011-06-04 Michael Albinus <michael.albinus@gmx.de>
14180
14181 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14182 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14183 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14184 (tramp-parse-putty):
14185 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14186 (tramp-completion-function-alist-ssh)
14187 (tramp-completion-function-alist-telnet)
14188 (tramp-completion-function-alist-su)
14189 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14190 cookie.
14191
14192 * net/tramp-ftp.el:
14193 * net/tramp-sh.el:
14194 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14195 load "tramp.el" `tramp-set-completion-function'.
14196
e17d9003
SM
141972011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14198
14199 * shell.el: Require and use pcomplete.
14200 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14201 (shell-completion-vars): Set pcomplete-default-completion-function.
14202
6c4cab03
DD
142032011-06-04 Deniz Dogan <deniz@dogan.se>
14204
14205 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14206 `memq' (Bug#8799).
14207
ea9fafe0
SM
142082011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14209
14210 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14211
b3e945d3
JB
142122011-06-02 Juanma Barranquero <lekktu@gmail.com>
14213
14214 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14215 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14216 * vc/log-view.el (log-view-beginning-of-defun):
14217 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14218 (smerge-refine-forward, smerge-refine-chopup-region):
14219 Silence warning for unused `dotimes' counter variables.
14220
7d520089
SM
142212011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14222
14223 * net/tramp.el (tramp-with-progress-reporter): Rename from
14224 with-progress-reporter. Use `declare'.
14225 * net/tramp-smb.el:
14226 * net/tramp-sh.el:
14227 * net/tramp-gvfs.el: Update all uses.
14228
a1c2400f
JB
142292011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14230
14231 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14232 buffer isn't killed before making it current.
14233
2403c841
SM
142342011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14235
14236 Silence various byte-compiler warnings.
14237 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14238 `access-type' and new obsolescence format.
14239 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14240 new format.
14241 (byte-compile-check-variable): New `access-type' argument.
14242 Only warn if the access-type is obsolete.
14243 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14244 (byte-compile-variable-set): Adjust callers.
14245 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14246 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14247 setting it as obsolete.
14248 * simple.el (minibuffer-completing-symbol):
14249 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14250 access as obsolete.
14251 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14252 obsolete yet.
14253 * international/quail.el (quail-mouse-choose-completion): Remove unused
14254 code referring to obsolete var.
14255 (quail-choose-completion-string): Remove.
14256 * server.el (server-clients-with, server-kill-buffer-query-function)
14257 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14258 * proced.el (proced-send-signal):
14259 * emacs-lisp/lisp.el (lisp-complete-symbol):
14260 Replace completion-annotate-function with completion-extra-properties.
14261
2462470b
SM
142622011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14263
fb5b2591
SM
14264 * simple.el (goto-line): Use read-number.
14265 (overriding-map-is-bound): Remove.
14266 (saved-overriding-map): Change default.
14267 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14268 Take the map as argument.
14269 (universal-argument, negative-argument, digit-argument): Use it.
14270 (restore-overriding-map): Adjust.
14271 (do-auto-fill): Use fill-forward-paragraph.
14272 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14273
fd6fa53f
SM
14274 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14275 (minibuffer-inactive-mode): New major mode.
14276 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14277 the *Messages* buffer" hack.
14278 (mouse-popup-menubar): Don't burp if the event is a normal key.
14279
2462470b
SM
14280 Miscellaneous tweaks.
14281 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14282 lexical scoping as in subr.el's dolist and dotimes.
14283 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14284 Silence compiler warning.
14285 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14286 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14287 * international/ccl.el (ccl-compile): Trivial simplification.
14288 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14289 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14290 `printflag' argument.
14291 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14292 Purecopy the whole obsolescence data.
14293
108bf785
LL
142942011-06-01 Leo Liu <sdl.web@gmail.com>
14295
14296 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14297 improve doc-string as suggested by Marco Pessotto
14298 <melmothx@gmail.com>.
14299 (rcirc-print): Fix last change.
14300
30a23501
SM
143012011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14302
14303 * minibuffer.el (complete-with-action): Return nil for the metadata and
14304 boundaries of non-functional tables.
14305 (completion-table-dynamic): Return nil for the metadata.
14306 (completion-table-with-terminator): Add default case, using
14307 complete-with-action.
14308 (completion--metadata): New function.
14309 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14310 to try and avoid pathological performance problems.
14311 (completion--embedded-envvar-table): Return `category' metadata.
14312
bcd54f83
LMI
143132011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14314
14315 * subr.el (process-alive-p): New tiny convenience function.
14316
e227544d
SM
143172011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14318
14319 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14320 content but also its previous major mode.
14321
e8296fdc
HE
143222011-05-31 Helmut Eller <eller.helmut@gmail.com>
14323
4d61f28d 14324 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14325 *Backtrace* buffer when we exit with C-M-c.
14326
620c53a6
SM
143272011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14328
14329 * minibuffer.el: Add metadata method to completion tables.
14330 (completion-category-overrides): New defcustom.
14331 (completion-metadata, completion--field-metadata)
14332 (completion-metadata-get, completion--styles)
14333 (completion--cycle-threshold): New functions.
14334 (completion-try-completion, completion-all-completions):
14335 Add `metadata' argument to choose completion-styles.
14336 (completion--do-completion): Use metadata to choose cycling.
14337 (completion-all-sorted-completions): Use metadata for sorting.
14338 Remove :completion-cycle-penalty which is not needed any more.
14339 (completion--try-word-completion): Add `metadata' argument.
14340 (minibuffer-completion-help): Check metadata for annotation function
14341 and sorting.
14342 (completion-file-name-table): Return `category' metadata.
14343 (minibuffer-completing-file-name): Make obsolete.
14344 * simple.el (minibuffer-completing-symbol): Make obsolete.
14345 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14346 completion-try-completion.
14347
1257e755
SM
143482011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14349
14350 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14351
3767e706
LL
143522011-05-30 Leo Liu <sdl.web@gmail.com>
14353
14354 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14355 (rcirc-print): Decode all incoming messages (bug#8744).
14356 (rcirc-decode-coding-system): Allow value nil for automatic coding
14357 system detection.
3767e706 14358
d1a5d56a
GM
143592011-06-01 Glenn Morris <rgm@gnu.org>
14360
14361 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14362
e8cbec34
CY
143632011-05-29 Chong Yidong <cyd@stupidchicken.com>
14364
14365 * image.el (image-animate-max-time): Allow nil and t values.
14366 Default to nil.
14367 (create-animated-image): Doc fix.
14368 (image-animate-start): Remove second arg; just use
14369 image-animate-max-time.
14370 (image-animate-timeout): Doc fix. Args changed.
14371
14372 * image-mode.el (image-toggle-display-image): Ensure that the
14373 image spec passed to the animate timer is the same object as in
58179cce 14374 the buffer's display property (Bug#6981).
e8cbec34
CY
14375 (image-transform-properties): Doc fix.
14376
14377 * image.el (image-animate-max-time): Default to nil.
14378
159daf87
MR
143792011-05-29 Martin Rudalics <rudalics@gmx.at>
14380
14381 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14382 entire buffer list (Bug#8184).
14383
d66c4c7c
CY
143842011-05-29 Chong Yidong <cyd@stupidchicken.com>
14385
14386 * image.el (imagemagick-types-inhibit)
14387 (imagemagick-register-types): Doc fix.
14388
80aec780
DD
143892011-05-29 Deniz Dogan <deniz@dogan.se>
14390
14391 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14392 default.
14393
1dd3c2d9
CY
143942011-05-29 Chong Yidong <cyd@stupidchicken.com>
14395
14396 * select.el: Don't perform clipboard-manager saving in hooks;
14397 leave the hooks empty.
14398
60e56523
LL
143992011-05-28 Leo Liu <sdl.web@gmail.com>
14400
14401 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14402 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14403 (occur-edit-mode): New major mode (Bug#8463).
14404 (occur-after-change-function): New function.
14405 (occur-engine): Give Occur tags a read-only property.
14406
2b1e1a22
KR
144072011-05-28 Kevin Ryde <user42@zip.com.au>
14408
14409 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14410
5d344e88
CY
144112011-05-28 Chong Yidong <cyd@stupidchicken.com>
14412
8e6ca83d
CY
14413 * bindings.el (help-echo): Make the initial non-indicator dash
14414 empty on graphical terminals (Bug#7295).
14415
5d344e88
CY
14416 * files.el (auto-mode-alist): Move config rule after the
14417 in-stripping one (Bug#8547).
14418
bfbbace7
CY
14419 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14420
fbeba6e2
CY
14421 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14422 setting (Bug#8740).
14423
60ed8c72
AA
144242011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14425
4ac619f0
AA
14426 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14427 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14428 (Bug#8539).
60ed8c72 14429
23db196e
CY
144302011-05-28 Chong Yidong <cyd@stupidchicken.com>
14431
14432 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14433
5012f24c
DK
144342011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14435
14436 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14437 (hs-hide-block-at-point, hs-find-block-beginning)
14438 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14439 (Bug#8279).
14440
6a639b16
GM
144412011-05-28 Glenn Morris <rgm@gnu.org>
14442
14443 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14444
d43eaf2c
CY
144452011-05-28 Chong Yidong <cyd@stupidchicken.com>
14446
5199bde1
CY
14447 * help-fns.el (describe-function-1): If the function is a derived
14448 major mode, print the parent mode.
14449
d43eaf2c
CY
14450 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14451 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14452
423428a8
SM
144532011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14454
0ff8e1ba 14455 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14456 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14457 * progmodes/etags.el (tags-completion-at-point-function):
14458 * info-look.el (info-lookup-completions-at-point): Mark as
14459 non-exclusive.
14460 (info-complete): Adjust accordingly.
14461
423428a8
SM
14462 * info-look.el: Convert to lexical-binding and completion-at-point.
14463 (info-lookup-completions-at-point): New function.
14464 (info-complete): Use it and completion-in-region.
14465
b74aa22b
DA
144662011-05-28 Drew Adams <drew.adams@oracle.com>
14467
14468 * isearch.el: Let M-e start with point at the first mismatched char.
14469 (isearch-fail-pos): New function.
14470 (isearch-edit-string): Use it.
14471
66e2e71d
DK
144722011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14473
14474 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14475
b1890b0f 144762011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14477
14478 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14479 traversal functions for avl-trees.
14480 (avl-tree--stack): New struct.
14481 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14482 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14483 (avl-tree--do-enter): Add optional `updatefun' arg.
14484 Change return value.
eb95d01d 14485 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14486 (avl-tree--do-delete): Add `test' and `nilflag' args.
14487 Change return value.
eb95d01d
TC
14488 (avl-tree-member): Add optional `nilflag'
14489 (avl-tree-member-p): New function.
14490 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14491 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14492 (avl-tree-stack-empty-p): New functions.
14493
3769ddcf
TC
14494 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14495 avl-tree--del-balance1 and make it work both ways.
14496 (avl-tree--del-balance2): Remove.
14497 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14498 make it work both ways.
14499 (avl-tree--enter-balance2): Remove.
14500 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14501 New macros.
14502 (avl-tree--mapc, avl-tree-map): Add direction argument.
14503
eb95d01d 145042011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14505
14506 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14507
a9f737ee
CY
145082011-05-27 Chong Yidong <cyd@stupidchicken.com>
14509
14510 * select.el: Support clipboard managers with built-in function
14511 x-clipboard-manager-save, via delete-frame-functions and
14512 kill-emacs-hook.
14513 (xselect-convert-to-targets): Add MULTIPLE target to list.
14514 (xselect-convert-to-save-targets): New function.
14515
c92a1e54
KH
145162011-05-27 Kenichi Handa <handa@m17n.org>
14517
14518 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14519 let-binding rfc2047-encode-encoded-words to nil.
14520
e145f188
GM
145212011-05-27 Glenn Morris <rgm@gnu.org>
14522
5ec8a862
GM
14523 * mail/emacsbug.el: Don't require url-util.
14524
4b29d9fb
GM
14525 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14526
e145f188
GM
14527 * files.el (set-auto-mode):
14528 Also respect mode: entries at the end of the file. (Bug#8586)
14529
7d15102b
GM
145302011-05-26 Glenn Morris <rgm@gnu.org>
14531
98f593b8
GM
14532 * files.el (hack-local-variables-prop-line, hack-local-variables):
14533 Downcase mode names, as seems to be traditional.
27b48e63 14534 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14535
7d15102b
GM
14536 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14537 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14538
51d5b4ec
JD
145392011-05-25 Julien Danjou <julien@danjou.info>
14540
14541 * textmodes/rst.el (rst-define-level-faces): Do not define face
14542 symbol if it is already defined.
14543
91513f63
VB
145442011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14545
14546 * play/5x5.el (5x5-new-game, 5x5-randomize):
14547 Reset 5x5-solver-output to nil when a new grid is cast.
14548 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14549 these debugging traces, as defmacro breaks the compiled code.
14550
4d90d6d0
DK
145512011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14552
14553 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14554
e1b90ef6
LL
145552011-05-24 Leo Liu <sdl.web@gmail.com>
14556
14557 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14558 (vc-bzr-sha1): Adapt.
14559
d8e4b68b 14560 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14561
14562 * bindings.el: Provide sha1 feature.
14563
db0406bb 145642011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14565
14566 * mail/sendmail.el: Require `rfc2047'.
14567 (mail-insert-from-field): Do not perform RFC2047 encoding.
14568 (mail-encode-header): New function.
14569 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14570 buffer to the return value of select-message-coding-system.
14571 Call mail-encode-header.
b8d747b9
KH
14572
14573 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14574
db0406bb 145752011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14576
4d90d6d0
DK
14577 * mail/supercite.el (sc-default-cite-frame):
14578 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14579
eb8a5e9b
GM
145802011-05-24 Glenn Morris <rgm@gnu.org>
14581
f8630703
GM
14582 * progmodes/python.el (brm-menu): Declare.
14583
8831bbed
GM
14584 * emulation/viper.el (viper-set-hooks): Declare.
14585
eb8a5e9b
GM
14586 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14587 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14588 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14589 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14590 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14591 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14592
a2a25d24
SM
145932011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14594
14595 Add an :exit-function for completion-at-point.
14596
14597 * minibuffer.el (completion--done): New fun.
14598 (completion--do-completion): Use it. New arg `expect-exact'.
14599 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14600 since completion--do-completion does it for us now.
14601 (minibuffer-force-complete): Use completion--done and
14602 completion--replace. Handle sole-completion case with more care.
14603 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14604 (completion-extra-properties): New var.
14605 (completion-annotate-function): Make obsolete.
14606 (minibuffer-completion-help): Adjust accordingly.
14607 Use completion-list-insert-choice-function.
14608 (completion-at-point, completion-help-at-point):
14609 Bind completion-extra-properties.
14610 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14611 * simple.el (completion-list-insert-choice-function): New var.
14612 (completion-setup-function): Preserve it.
14613 (choose-completion): Pay attention to it, shuffle the code a bit.
14614 (choose-completion-string): New arg `insert-function'.
14615
14616 * textmodes/bibtex.el: Convert to lexical binding.
14617 (bibtex-mode-map): Use completion-at-point.
14618 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14619 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14620 (bibtex-complete): Define as obsolete alias.
14621 (bibtex-complete-internal): Remove.
14622 (bibtex-format-entry): Remove unused sub-group in regexp.
14623 * shell.el (shell--command-completion-data)
14624 (shell-environment-variable-completion):
14625 * pcomplete.el (pcomplete-completions-at-point):
14626 * comint.el (comint--complete-file-name-data): Use :exit-function
14627 instead of completion-table-with-terminator so it also works for
14628 choose-completion.
14629
e44e373d
SM
146302011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14631
4f91a816
SM
14632 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14633
782fc819
SM
14634 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14635 (bug#8710).
14636
e44e373d
SM
14637 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14638
381987c3
KM
146392011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14640
14641 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14642 customization variable and implement: If non-nil, auto-fill will
14643 be inhibited while on topic's header line.
14644
b776bc70
VB
146452011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14646
14647 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14648 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14649 always have a solution in grid size = 5 cases.
14650 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14651 (5x5-solver-output, 5x5-log-buffer): New vars.
14652 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14653 Make these variables buffer local to achieve 5x5 multi-session-ness.
14654 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14655 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14656 (5x5-solve-suggest): New funs.
14657 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14658 randomize a grid so that we ensure that there is always a solution.
14659 (5x5-make-random-grid): Allow other movement than flipping.
14660
7de88b6e
KR
146612011-05-23 Kevin Ryde <user42@zip.com.au>
14662
14663 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14664 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14665 advice and passes PREDICATE.
14666
b1ef1257
SM
146672011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14668
bbca48fe
SM
14669 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14670 byte-compile-lambda if it's actually a lambda.
14671
b1ef1257
SM
14672 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14673 Fix function quoting. Use backquote better.
14674
92a9cc65
YS
146752011-05-22 Yuanle Song <sylecn@gmail.com>
14676
14677 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14678 matching (Bug#8516).
14679
f0fb8059
JA
146802011-01-22 Jari Aalto <jari.aalto@cante.net>
14681
14682 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14683 different face (Bug#8178).
14684
d5b44c93
CY
146852011-05-22 Chong Yidong <cyd@stupidchicken.com>
14686
14687 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14688 defface (Bug#8144).
14689
79106a44
SM
146902011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14691
9c848d8a
SM
14692 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14693 funcall as well (bug#8712). Warn when performing those conversions.
14694 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14695
79106a44
SM
14696 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14697
88dfa756
GM
146982011-05-22 Glenn Morris <rgm@gnu.org>
14699
14700 * files.el (hack-local-variables-prop-line): Small simplifications.
14701 (hack-local-variables, hack-local-variables-prop-line):
14702 If MODE-ONLY, return the mode, rather than just `t'.
14703
b7cf2c79
SM
147042011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14705
14706 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14707
3f1a8558
GM
147082011-05-21 Glenn Morris <rgm@gnu.org>
14709
7e4ccca3
GM
14710 * files.el (hack-local-variables-prop-line, hack-local-variables):
14711 If only interested in the mode, don't bother doing the other stuff.
14712
637d46ca
GM
14713 * image-mode.el (image-after-revert-hook):
14714 Redraw all frames on which the image is visible. (Bug#8567)
14715
973d955b
GM
14716 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14717
3f1a8558
GM
14718 * wid-edit.el (widget-checklist-match-inline):
14719 Fix 2011-04-19 change. (Bug#8649)
14720
96479927
SM
147212011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14722
1dcf791f
SM
14723 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14724 Also allow singlespace after single-letter capitals followed by a dot.
14725
96479927
SM
14726 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14727 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14728
35fd0881
N
147292011-05-20 Nix <nix@esperi.org.uk>
14730
14731 * files.el (basic-save-buffer-2):
14732 Fix handling of break-hardlink-on-save with non-existent files.
14733
82745640
DD
147342011-05-19 Deniz Dogan <deniz@dogan.se>
14735
14736 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14737 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14738
4a720484
GM
147392011-05-19 Glenn Morris <rgm@gnu.org>
14740
d1f21341
GM
14741 * progmodes/f90.el (f90-type-def-re):
14742 Handle "type, bind(c)". (Bug#8691)
14743
4a720484
GM
14744 * emacs-lisp/autoload.el (batch-update-autoloads):
14745 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14746
2fb0a219
MA
147472011-05-18 Michael Albinus <michael.albinus@gmx.de>
14748
14749 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14750 property for the correct connection in case of multihops.
14751
e565dd37
GM
147522011-05-18 Glenn Morris <rgm@gnu.org>
14753
c2571358 14754 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14755 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14756
e565dd37
GM
14757 Rationalize calendar handling of day and month abbrev-arrays.
14758 * calendar/calendar.el (calendar-customized-p): New function.
14759 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14760 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14761 Add :set function.
14762 (calendar-abbrev-length, calendar-day-abbrev-array)
14763 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14764 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14765 Elements may no longer be nil.
14766 (calendar-day-name, calendar-month-name):
14767 Update for changed nature of abbrev arrays.
14768 * calendar/diary-lib.el (diary-name-pattern):
14769 Update for changed nature of abbrev arrays.
14770 (diary-mark-entries-1): Update calendar-make-alist calls.
14771 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14772 * calendar/cal-html.el (cal-html-day-abbrev-array):
14773 Simply inherit from calendar-day-abbrev-array.
14774
1d99a745
SM
147752011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14776
14777 * progmodes/grep.el (grep-mode): Disable default
14778 compilation-directory-matcher setting (bug#8684).
14779
7c1d9aa0
MA
147802011-05-17 Michael Albinus <michael.albinus@gmx.de>
14781
14782 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14783 instead of "head" and "tail". There were problems with SunOS 5.9,
14784 and it performs better.
14785
3952e9d8
GM
147862011-05-17 Glenn Morris <rgm@gnu.org>
14787
2dd12e7f
GM
14788 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14789
e4157b9c
GM
14790 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14791 Replace obsolete function.
14792
8e249bbd
GM
14793 * shell.el (pcomplete-parse-arguments-function): Declare.
14794
3952e9d8
GM
14795 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14796 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14797 (appt-check): Doc fixes.
14798 (appt-disp-window-function, appt-delete-window-function):
14799 Remove needless special case in custom :type.
14800 (appt-display-count): Default to 0, not nil.
14801 (appt-check): Reset appt-display-count to 0, not nil.
14802
c71a0d48 148032011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14804
c71a0d48
GM
14805 * progmodes/python.el (python-font-lock-keywords):
14806 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14807
31d55be9
SM
148082011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14809
14810 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14811
3bfacb2f
KR
148122011-05-16 Kevin Ryde <user42@zip.com.au>
14813
14814 * info-look.el (makefile-automake-mode): New setups, looking in
14815 automake manual, then makefile-mode.
14816 (makefile-mode): Remove automake manual, have it just in
14817 makefile-automake-mode since there's various things different or
14818 not relevant to plain make.
14819 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14820 believe a hypothetical automake-mode would go to makefile-mode,
14821 not the other way around.
14822
c8e83751
CY
148232011-05-15 Chong Yidong <cyd@stupidchicken.com>
14824
5e9e35cd
CY
14825 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14826 hunk-end tags (Bug#8672).
14827
c8e83751
CY
14828 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14829 vc-annotate-show-diff-revision-at-line (Bug#8671).
14830
50b23e5a
GM
148312011-05-14 Glenn Morris <rgm@gnu.org>
14832
7210a739
GM
14833 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14834 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14835 (change-log-font-lock-keywords): Also handle multiple author lines
14836 with leading tabs. (Bug#8644)
7210a739 14837
4691905a
GM
14838 * calendar/appt.el (appt-check): Rename some local variables.
14839 Some simplification/reordering.
14840
50b23e5a
GM
14841 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14842 (feedmail-sendmail-f-doesnt-sell-me-out)
14843 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14844 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14845 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14846 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14847 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14848 (feedmail-binmail-gnulinuxish-template):
14849 Rename from feedmail-binmail-linuxish-template.
14850 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14851 Use insert-buffer-substring.
14852
215cda7c
BC
148532011-05-14 Bill Carpenter <bill@carpenter.org>
14854
14855 * mail/feedmail.el (feedmail-patch-level): Increase.
14856 (feedmail-debug): New custom group.
14857 (feedmail-confirm-outgoing-timeout)
14858 (feedmail-sendmail-f-doesnt-sell-me-out)
14859 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14860 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14861 (feedmail-sender-line, feedmail-from-line)
14862 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14863 (feedmail-spray-this-address)
215cda7c
BC
14864 (feedmail-spray-address-fiddle-plex-list)
14865 (feedmail-queue-use-send-time-for-date)
14866 (feedmail-queue-use-send-time-for-message-id)
14867 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14868 (feedmail-buffer-eating-function):
14869 Doc fixes.
14870 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14871 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14872 (feedmail-message-action-scroll-down): New functions.
14873 (feedmail-queue-directory, feedmail-queue-draft-directory):
14874 Use expand-file-name.
14875 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14876 Remove C-v help entry.
14877 (feedmail-queue-buffer-file-name): New variable.
14878 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14879 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14880 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14881 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14882 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14883 (feedmail-message-action-toggle-spray)
14884 (feedmail-run-the-queue-no-prompts)
14885 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14886 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14887 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14888 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14889 (feedmail-envelope-deducer, feedmail-fiddle-from)
14890 (feedmail-fiddle-sender, feedmail-default-date-generator)
14891 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14892 (feedmail-fiddle-spray-address)
14893 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14894 (feedmail-fiddle-list-of-fiddle-plexes)
14895 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14896 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14897 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14898 Change default. Doc fix.
14899 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14900 (feedmail-binmail-linuxish-template): New constant.
14901 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14902 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14903 (feedmail-send-it): Add debug call.
14904 Use feedmail-queue-buffer-file-name, and
14905 feedmail-send-it-immediately-wrapper.
14906 (feedmail-message-action-send): Add debug call.
14907 Use feedmail-send-it-immediately-wrapper.
14908 (feedmail-queue-express-to-queue): Add debug call.
14909 Run feedmail-queue-express-hook.
14910 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14911 (feedmail-message-action-help-blat):
14912 Rename from feedmail-queue-send-edit-prompt-help-first.
14913 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14914 Check line-endings. Handle errors better.
14915 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14916 Doc fix. Add debug call.
14917 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14918 Use feedmail-queue-send-edit-prompt-inner.
14919 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14920 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14921 from feedmail-queue-send-edit-prompt.
14922 (feedmail-queue-send-edit-prompt-help)
14923 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14924 (feedmail-tidy-up-slug): Add debug call.
14925 Respect feedmail-queue-slug-suspect-regexp.
14926 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14927 (feedmail-dump-message-to-queue): Add debug call.
14928 Expand queue-directory.
14929 (feedmail-dump-message-to-queue): Change message slightly.
14930 Use feedmail-say-chatter.
14931 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14932 (feedmail-send-it-immediately-wrapper): New function.
14933 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14934 Insert empty string rather than newline. Handle full-frame case.
14935 Use catch/throw. Use feedmail-say-chatter.
14936 (feedmail-fiddle-from): Try mail-host-address.
14937 (feedmail-default-message-id-generator): Doc fix.
14938 Bind system-time-locale. Handle missing end.
14939 (feedmail-fiddle-x-mailer): Add debug call.
14940 Handle feedmail-x-mailer-line being nil.
14941 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14942 Add debug call. Use buffer-substring-no-properties.
14943 (feedmail-say-debug, feedmail-say-chatter): New functions.
14944 (feedmail-find-eoh): Give an explicit error.
14945
42c7e61e
UJ
149462011-05-13 Ulf Jasper <ulf.jasper@web.de>
14947
c2571358 14948 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14949 family from helvetica to sans.
c2571358 14950 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14951 etc/images/newsticker.
14952
c2571358 14953 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14954 family from helvetica to sans.
14955
14956 * net/newst-plainview.el (newsticker-new-item-face)
14957 (newsticker-old-item-face, newsticker-immortal-item-face)
14958 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14959 (newsticker-statistics-face): Change default family from
42c7e61e 14960 helvetica to sans.
c2571358 14961 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14962 etc/images/newsticker.
14963
5d3385a0
JB
14964 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14965 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14966 auto-marking.
14967
8497a297
DV
149682011-05-13 Didier Verna <didier@xemacs.org>
14969
14970 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14971 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14972 TODO entries.
8497a297
DV
14973 (lisp-lambda-list-keyword-parameter-indentation)
14974 (lisp-lambda-list-keyword-parameter-alignment)
14975 (lisp-lambda-list-keyword-alignment): New customizable user options.
14976 (lisp-indent-defun-method): Improve docstring.
14977 (extended-loop-p): Fix comment.
14978 (lisp-indent-lambda-list-keywords-regexp): New variable.
14979 (lisp-indent-lambda-list): New function.
14980 (lisp-indent-259): Use it.
14981 (lisp-indent-defmethod): Support for more than one
14982 method qualifier and properly indent methods lambda-lists.
14983 (defgeneric): Provide a missing common-lisp-indent-function property.
14984
f278f87f
SM
149852011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14986
14987 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14988 bounds for the empty string (bug#8667).
14989
5233edd7
GM
149902011-05-13 Glenn Morris <rgm@gnu.org>
14991
5237a44f
GM
14992 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14993
8340026c 14994 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 14995 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 14996
5233edd7 14997 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 14998 (appt-time-msg-list): Doc fix.
a5464014 14999 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15000
92d10796
AS
150012011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15002
15003 * progmodes/ld-script.el (ld-script-keywords)
15004 (ld-script-builtins): Update keywords list.
15005
914a0ae1
SM
150062011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15007
c89be45f
SM
15008 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15009
914a0ae1
SM
15010 * shell.el (shell-completion-vars): New function.
15011 (shell-mode):
15012 * simple.el (read-shell-command): Use it.
15013 (blink-matching-open): No need for " [...]" in minibuffer-message.
15014
98dc3df3
GM
150152011-05-12 Glenn Morris <rgm@gnu.org>
15016
15017 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15018 (appt-check): Simplify.
15019
d2fc7e3d 150202011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15021
4d61f28d 15022 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15023 literal "/dev/null".
15024
d2fc7e3d 150252011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15026
15027 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15028 Fix typo.
15029
d2fc7e3d 150302011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15031
3f254caa
SM
15032 * progmodes/which-func.el (which-function):
15033 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15034 which might not be defined (Bug#8260).
15035
d45885f7
GM
150362011-05-12 Glenn Morris <rgm@gnu.org>
15037
15038 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15039 Let byte-compile-initial-macro-environment always take precedence.
15040
488086f4
SM
150412011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15042
15043 * net/rcirc.el: Add support for SSL/TLS connections.
15044 (rcirc-server-alist): New field `encryption'.
15045 (rcirc): Check `encryption' settings.
15046 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15047 Merge make-local-variable into `set'.
15048 (rcirc--connection-open-p): New function.
15049 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15050 the process is not a network process (e.g. running gnutls-cli).
15051 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15052 Make rcirc-(en|de)code-coding-system local here.
15053 (rcirc-mode): Merge make-local-variable into `set'.
15054 (rcirc-parent-buffer): Make permanent buffer-local.
15055 (rcirc-multiline-minor-mode): Don't do it here.
15056 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15057 there's no server buffer.
15058
7d3b9d44
GM
150592011-05-11 Glenn Morris <rgm@gnu.org>
15060
f64049c6
GM
15061 * newcomment.el (comment-kill): Prefix "unused" local.
15062
93c9df73
GM
15063 * term/w32console.el (get-screen-color): Declare.
15064
7d3b9d44
GM
15065 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15066 Handle symbol elements of byte-compile-initial-macro-environment.
15067
9e2dd53f
LL
150682011-05-10 Leo Liu <sdl.web@gmail.com>
15069
488086f4
SM
15070 * bookmark.el (bookmark-bmenu-mode-map):
15071 Bind bookmark-bmenu-search to `/'.
8b340240 15072
9e2dd53f 15073 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15074 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15075 (Footnote-unicode): New function.
15076 (footnote-style-alist): Add unicode style to the list.
15077 (footnote-style): Doc fix.
9e2dd53f 15078
79b70037
GM
150792011-05-10 Jim Meyering <meyering@redhat.com>
15080
15081 Fix doubled-word typos.
15082 * international/quail.el (quail-insert-kbd-layout): and and -> and
15083 * kermit.el: and and -> and
15084 * net/ldap.el (ldap-search-internal): to to -> to
15085 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15086 * progmodes/js.el (js-mode): and and -> and
15087 * textmodes/artist.el (artist-move-to-xy): at at -> at
15088 (artist-draw-region-trim-line-endings): if if -> if
15089 And Safetyc -> Safety.
15090 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15091
b8f82dc1 150922011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15093 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15094
15095 * files.el (hack-one-local-variable-eval-safep):
15096 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15097
4f99f44b
GM
150982011-05-10 Glenn Morris <rgm@gnu.org>
15099
15100 * calendar/diary-lib.el (diary-list-entries-hook)
15101 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15102 (diary-nongregorian-marking-hook, diary-list-entries)
15103 (diary-include-other-diary-files, diary-mark-entries)
15104 (diary-mark-included-diary-files): Doc fixes.
15105
84f29e6b
JB
151062011-05-09 Juanma Barranquero <lekktu@gmail.com>
15107
15108 * misc.el: Require tabulated-list.el during compilation.
15109
9bedd73a
CY
151102011-05-09 Chong Yidong <cyd@stupidchicken.com>
15111
488086f4
SM
15112 * progmodes/compile.el (compilation-start):
15113 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15114 (compilation-filter-hook): Doc fix.
15115
797c735c
DD
151162011-05-09 Deniz Dogan <deniz@dogan.se>
15117
15118 * wdired.el: Remove outdated installation comment. Fix usage
15119 comment.
15120
5f4b1dfe
JB
151212011-05-09 Juanma Barranquero <lekktu@gmail.com>
15122
15123 * misc.el: Implement new command `list-dynamic-libraries'.
15124 (list-dynamic-libraries--loaded-only-p): New variable.
15125 (list-dynamic-libraries--refresh): New function.
15126 (list-dynamic-libraries): New command.
15127
4c44026c
CY
151282011-05-09 Chong Yidong <cyd@stupidchicken.com>
15129
488086f4
SM
15130 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15131 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15132 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15133 higher priority to avoid clobbering by gnu.
15134
027f966d
CY
151352011-05-08 Chong Yidong <cyd@stupidchicken.com>
15136
15137 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15138 if the face has existing theme settings (Bug#8454).
15139
085f5d7d
CY
151402011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15141
488086f4
SM
15142 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15143 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15144
2a86a00c
RS
15145 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15146 special file names `.' and `..' (Bug#8259).
15147
d9c54a06
CY
151482011-05-08 Chong Yidong <cyd@stupidchicken.com>
15149
488086f4
SM
15150 * progmodes/grep.el (grep-mode-font-lock-keywords):
15151 Remove buffer-changing entries.
d9c54a06
CY
15152 (grep-filter): New function.
15153 (grep-mode): Add it to compilation-filter-hook.
15154
15155 * progmodes/compile.el (compilation-filter-hook)
15156 (compilation-filter-start): New defvars.
15157 (compilation-filter): Call compilation-filter-hook prior to
15158 updating the process mark.
15159
c4662635
SM
151602011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15161
15162 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15163
b0512a1d
EZ
151642011-05-07 Eli Zaretskii <eliz@gnu.org>
15165
605c9376
EZ
15166 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15167 mailclient-send-it even if window-system is nil. (Bug#8595)
15168
c4662635
SM
15169 * term/w32console.el (terminal-init-w32console):
15170 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15171 background-mode. (Bug#8597)
15172
d1dc2cc2
SM
151732011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15174
15175 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15176 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15177 New functions.
15178 (defgeneric, eieio--defmethod): Use them.
15179 (eieio-defgeneric): Remove.
15180 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15181
915d1300
GM
151822011-05-07 Glenn Morris <rgm@gnu.org>
15183
a3961c3e
GM
15184 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15185 Use let rather than let*.
15186 (timeclock-find-discrep): Remove unused local.
15187
314347b9
GM
15188 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15189
915d1300
GM
15190 * calendar/appt.el (appt-time-msg-list): Doc fix.
15191
275b59b0
NF
151922011-05-06 Noah Friedman <friedman@splode.com>
15193
15194 * apropos.el (apropos-print-doc): Only use
15195 emacs-lisp-docstring-fill-column when it is bound to an integer,
15196 per that variable's documentation.
15197
6c19f744
SM
151982011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15199
15200 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15201 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15202
60f884b2
GM
152032011-05-06 Glenn Morris <rgm@gnu.org>
15204
5006e634
GM
15205 * calendar/appt.el (appt-message-warning-time): Doc fix.
15206 (appt-warning-time-regexp): New option.
15207 (appt-make-list): Respect appt-message-warning-time.
15208
548d0a63
GM
15209 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15210 New options.
15211 (diary-add-to-list): Strip comments from the displayed string.
15212 (diary-mode): Set comment-start and comment-end.
15213
60f884b2
GM
15214 * vc/diff-mode.el (smerge-refine-subst): Declare.
15215 (diff-refine-hunk): Don't require smerge-mode when compiling.
15216
989681bb
JB
152172011-05-06 Juanma Barranquero <lekktu@gmail.com>
15218
15219 * simple.el (list-processes): Return nil as the docstring says.
15220
a6bc05e1
MA
152212011-05-05 Michael Albinus <michael.albinus@gmx.de>
15222
15223 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15224 to "".
15225 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15226 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15227 determining of binary transfer. (Bug#7383)
15228
23c22e9a
MA
152292011-05-05 Michael Albinus <michael.albinus@gmx.de>
15230
c4662635
SM
15231 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15232 Fix port computation bug. (Bug#8618)
23c22e9a 15233
0bff894f
GM
152342011-05-05 Glenn Morris <rgm@gnu.org>
15235
b8296902
GM
15236 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15237
1f522ce8
GM
15238 * simple.el (shell-dynamic-complete-functions)
15239 (comint-dynamic-complete-functions): Declare.
15240
cf5bee67
GM
15241 * net/network-stream.el (gnutls-negotiate):
15242 * simple.el (tabulated-list-print): Fix declarations.
15243
15244 * progmodes/gud.el (syntax-symbol, syntax-point):
15245 Remove unnecessary and incorrect declarations.
15246
0bff894f
GM
15247 * emacs-lisp/check-declare.el (check-declare-scan):
15248 Handle byte-compile-initial-macro-environment in bytecomp.el
15249
9869b3ae
SM
152502011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15251
15252 Fix earlier half-done eieio-defmethod change (bug#8338).
15253 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15254 Streamline and change calling convention.
15255 (defmethod): Adjust accordingly and simplify.
15256 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15257 new eieio--defmethod.
15258 (slot-boundp): Minor CSE simplification.
15259
9c1d5ac5
MZ
152602011-05-05 Milan Zamazal <pdm@zamazal.org>
15261
15262 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15263 (glasses-make-readable): Use glasses-separate-capital-groups.
15264
455c834e
JB
152652011-05-05 Juanma Barranquero <lekktu@gmail.com>
15266
15267 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15268 (warning-series): Doc fix.
15269 (display-warning): Don't try to create the buffer if we just found it.
15270
9ed7c8cb
CY
152712011-05-04 Chong Yidong <cyd@stupidchicken.com>
15272
15273 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15274 (autoload-find-generated-file): New function.
15275 (generate-file-autoloads): Bind generated-autoload-file to
15276 buffer-file-name.
9869b3ae
SM
15277 (update-file-autoloads, update-directory-autoloads):
15278 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15279 output file (Bug#7989).
15280 (batch-update-autoloads): Doc fix.
15281
0898ca10
JB
152822011-05-04 Juanma Barranquero <lekktu@gmail.com>
15283
15284 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15285
31dfb76c
GM
152862011-05-04 Glenn Morris <rgm@gnu.org>
15287
f330b642
GM
15288 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15289 function, so it follows changes in calendar-date-style.
15290 (diary-fancy-date-matcher): New function.
15291 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15292 (diary-fancy-font-lock-fontify-region-function):
15293 Use diary-fancy-date-pattern as a function.
15294
31dfb76c
GM
15295 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15296 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15297
48e79d6a
TZ
152982011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15299
15300 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15301 instead of positional arguments. Allow :keylist and :crlfiles
15302 arguments.
15303 (open-gnutls-stream): Call it.
15304
15305 * net/network-stream.el (network-stream-open-starttls): Adjust to
15306 call `gnutls-negotiate' with :process and :hostname arguments.
15307
dd5a5ee0
SM
153082011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15309
ef80fc09
SM
15310 * minibuffer.el (completion--message): New function.
15311 (completion--do-completion, minibuffer-complete)
15312 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15313 (completion--do-completion): Don't ignore completion-auto-help when in
15314 icomplete-mode.
15315
dd5a5ee0
SM
15316 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15317 internal encoding (e.g. tibetan zero is not whitespace).
15318 (global-whitespace-mode): Prefer save-current-buffer.
15319 (whitespace-trailing-regexp): Remove useless save-match-data.
15320 (whitespace-empty-at-bob-regexp): Minor simplification.
15321
b7d22a83
CY
153222011-05-03 Chong Yidong <cyd@stupidchicken.com>
15323
15324 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15325
5192af46
AM
153262011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15327
15328 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15329 Use `concat' to create string for insertion.
5192af46 15330
5767d190
SM
153312011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15332
15333 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15334 Avoid open-line which runs post-self-insert-hook.
15335 (bibtex-fill-entry): Remove unused `end' var.
15336
bf242939
AM
153372011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15338
5767d190
SM
15339 * textmodes/ispell.el (ispell-add-per-file-word-list):
15340 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15341
25666126
LL
153422011-05-03 Leo Liu <sdl.web@gmail.com>
15343
15344 * isearch.el (isearch-yank-pop): New command.
5767d190 15345 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15346 (isearch-forward): Mention it.
15347
52d3c2d0
SM
153482011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15349
1bcace58
SM
15350 * simple.el (minibuffer-complete-shell-command): Remove.
15351 (minibuffer-local-shell-command-map): Use completion-at-point.
15352 (read-shell-command): Setup completion vars here instead.
15353 (read-expression-map): Bind TAB to symbol completion.
15354
52d3c2d0
SM
15355 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15356 error directly rather via storing it into `results'.
15357
35813471
LL
153582011-05-02 Leo Liu <sdl.web@gmail.com>
15359
15360 * vc/diff.el: Fix description.
15361
e793a940
LMI
153622011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15363
15364 * server.el (server-eval-at): New function.
15365
8de66e05
LMI
153662011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15367
15368 * net/network-stream.el (open-network-stream): Take a :nowait
15369 parameter and pass it on to `make-network-process'.
15370 (network-stream-open-plain): Ditto.
15371
dcb79f20
AS
153722011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15373
15374 * faces.el (face-spec-set-match-display): Don't match toolkit
15375 options on terminal frames.
15376
14a7fbd8
SM
153772011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15378
7eabc1be
SM
15379 * progmodes/pascal.el: Use lexical binding.
15380 (pascal-mode-map): Remove author preferences.
15381
14a7fbd8
SM
15382 * pcomplete.el (pcomplete-std-complete): Don't abuse
15383 completion-at-point.
15384
50f84510
JB
153852011-04-28 Juanma Barranquero <lekktu@gmail.com>
15386
6e087a44
JB
15387 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15388 removing code that has been dead since 1991 or so.
15389
50f84510
JB
15390 * startup.el (command-line): When warning about "_emacs", use a
15391 delayed warning to allow the user to filter it out.
15392
0ba690bd
DD
153932011-04-28 Deniz Dogan <deniz@dogan.se>
15394
15395 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15396 user has not joined.
15397
08abfaad
SM
153982011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15399
15400 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15401 aren't any completions at point.
15402
638f053a
JB
154032011-04-28 Juanma Barranquero <lekktu@gmail.com>
15404
15405 * subr.el (display-delayed-warnings): New function.
15406 (delayed-warnings-hook): New variable.
15407
8fff8daa
SM
154082011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15409
08abfaad
SM
15410 * minibuffer.el (completion-at-point, completion-help-at-point):
15411 Don't presume that a given completion-at-point-function will always
15412 use the same calling convention.
15413
8fff8daa
SM
15414 * pcomplete.el (pcomplete-completions-at-point):
15415 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15416 pcomplete-seen is non-nil.
15417 (pcomplete-comint-setup): Also recognize the new comint/shell
15418 completion functions.
15419 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15420 pcomplete-seen is non-nil.
15421
841a1577 154222011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15423
841a1577 15424 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15425 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15426 the first character in the entry. This allows for code to add its
211ec907
UJ
15427 own uid to the entry.
15428 (icalendar--convert-float-to-ical): Add export of
15429 `diary-float'-entries save for those with the optional DAY
15430 argument.
15431
2a782793
DC
154322011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15433
15434 * subr.el (shell-quote-argument): Use alternate escaping strategy
15435 when we spot a variable reference in a string.
15436
0438ce91
DC
154372011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15438
15439 * cus-start.el (all): Define customization for debug-on-event.
15440
841a1577 154412011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15442
15443 * subr.el (shell-quote-argument): Escape correctly under Windows.
15444
d090ed6c
SM
154452011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15446
15447 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15448
bfd31217
MA
154492011-04-25 Michael Albinus <michael.albinus@gmx.de>
15450
d090ed6c
SM
15451 * net/tramp.el (tramp-process-actions): Add POS argument.
15452 Delete region between POS and (pos).
bfd31217 15453
d090ed6c
SM
15454 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15455 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15456 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15457
15458 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15459 position in `tramp-process-actions' call.
15460
15461 * net/trampver.el: Update release number.
15462
e92f3bd3
SM
154632011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15464
850256b5
SM
15465 * custom.el (defcustom): Obey lexical-binding.
15466
e92f3bd3
SM
15467 Fix octave-inf completion problems reported by Alexander Klimov.
15468 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15469 Inherit from octave-mode-syntax-table.
15470 (inferior-octave-mode): Set info-lookup-mode.
15471 (inferior-octave-completion-at-point): New function.
15472 (inferior-octave-complete): Use it and completion-in-region.
15473 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15474 comint-filename-completion.
15475 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15476 symbol elements which shouldn't be word elements.
15477 (octave-font-lock-keywords, octave-beginning-of-defun)
15478 (octave-function-header-regexp): Adjust regexps accordingly.
15479 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15480
cd22b309
JB
154812011-04-25 Juanma Barranquero <lekktu@gmail.com>
15482
15483 * net/gnutls.el (gnutls-errorp): Declare before first use.
15484
8b492194
TZ
154852011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15486
15487 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15488 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15489 default trustfile exists before going to use it. Add missing
5a5fa834 15490 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15491 Reported by Claudio Bley <claudio.bley@gmail.com>.
15492 (open-gnutls-stream): Add usage example.
15493
15494 * net/network-stream.el (network-stream-open-starttls): Give host
15495 parameter to `gnutls-negotiate'.
15496 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15497 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15498
841a1577 154992011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15500
cd22b309
JB
15501 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15502 Use correct match group (bug#8438).
05842630 15503
3ba7869c
CY
155042011-04-24 Chong Yidong <cyd@stupidchicken.com>
15505
512e3ae1
CY
15506 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15507 (package-menu--generate): New arg specifying packages to show.
15508 (package-menu-refresh, package-menu-execute, list-packages):
15509 Callers changed.
15510 (package-show-package-list): New function, replacing deleted
15511 package--list-packages (renamed because it is non-internal).
15512
15513 * finder.el (finder-list-matches): Use package-show-package-list
15514 instead of deleted package--list-packages.
15515
e92f3bd3
SM
15516 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15517 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15518 (vc-annotate-mode-map): Bind it to RET.
15519
7031be6d
UR
155202011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15521
15522 * progmodes/etags.el (next-file): Don't use set-buffer to change
15523 buffers (Bug#8478).
15524
4ef177aa
CY
155252011-04-24 Chong Yidong <cyd@stupidchicken.com>
15526
c8d173eb
CY
15527 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15528
4ef177aa
CY
15529 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15530 (apropos-accumulator): Doc fix.
15531 (apropos-function, apropos-macro, apropos-command)
15532 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15533 (apropos-plist): Add face property.
15534 (apropos-symbols-internal): Fix indentation.
15535 (apropos-print): Simplify help, and recognize apropos-multi-type.
15536 (apropos-print-doc): Use button-type-get to extract the button's
15537 face property. Fill docstring (Bug#8352).
15538
4ffd0d6b 155392011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15540
15541 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15542
c6c32125 15543 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15544 (mpuz-mode-map): Use mapc.
c6c32125
JB
15545 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15546 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15547 Fix typos in docstrings.
15548
58d468b4
JB
15549 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15550 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15551
6470c3c6
JB
15552 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15553
4ffd0d6b 155542011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15555
15556 * minibuffer.el (completion--do-completion): Avoid the "Next char
15557 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15558
3ad8bad0
CY
15559 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15560 mouse-2 into unread-command-events, it is interpreted correctly.
15561
71d73c9c 15562 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15563 (image-toggle-display): Doc fix.
71d73c9c 15564
841a1577 155652011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15566
4ffd0d6b
GM
15567 * textmodes/page.el (what-page): Use line-number-at-pos to
15568 calculate line number (Bug#6825).
6e1dbaa9 15569
c2fb1b60
JB
155702011-04-22 Juanma Barranquero <lekktu@gmail.com>
15571
15572 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15573 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15574 Pass argument NO-DEFAULT to `find-tag-interactive'.
15575
e02f48d7
JB
155762011-04-22 Juanma Barranquero <lekktu@gmail.com>
15577
15578 Lexical-binding cleanup.
15579
15580 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15581 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15582 * progmodes/ada-prj.el (ada-prj-initialize-values)
15583 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15584 (ada-prj-show-value):
15585 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15586 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15587 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15588 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15589 * progmodes/bug-reference.el (bug-reference-push-button):
15590 * progmodes/fortran.el (fortran-line-length):
15591 * progmodes/glasses.el (glasses-change):
15592 * progmodes/octave-mod.el (octave-fill-paragraph):
15593 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15594 (python-pdbtrack-grub-for-buffer, python-sentinel):
15595 * progmodes/sql.el (sql-save-connection):
15596 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15597 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15598 Mark unused parameters.
15599
15600 * progmodes/compile.el (compilation--flush-directory-cache)
15601 (compilation--flush-parse, compile-internal): Mark unused parameters.
15602 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15603 (compilation-next-error-function): Remove unused variable `timestamp'.
15604
15605 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15606 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15607
15608 * progmodes/dcl-mode.el (dcl-end-of-command):
15609 Remove unused variable `start'.
15610 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15611 (dcl-option-value-basic, dcl-option-value-offset)
15612 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15613 Mark unused parameters.
15614 (dcl-save-local-variable): Remove unused variable `val'.
15615 (mode): Declare.
15616
15617 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15618 Mark unused parameters.
15619 (delphi-ignore-changes): Move before first use.
15620 (delphi-charset-token-at): Remove unused variable `start'.
15621 (delphi-else-start): Remove unused variable `if-count'.
15622 (delphi-comment-block-start, delphi-comment-block-end):
15623 Remove unused variable `kind'.
15624 (delphi-indent-line): Remove unused variable `new-point'.
15625
15626 * progmodes/ebrowse.el (ebrowse-files-list)
15627 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15628 Mark unused parameters. Don't quote `lambda'.
15629 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15630 Don't quote `lambda'.
15631 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15632 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15633 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15634 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15635 Use `ignore-errors'.
15636 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15637 (ebrowse-view/find-file-and-search-pattern)
15638 (ebrowse-view/find-member-declaration/definition):
15639 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15640 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15641 Rename parameter PREFIX-ARG to PREFIX.
15642 (ebrowse-tags-read-name): Remove unused variables `start' and
15643 `member-info'.
15644 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15645 to `tags-file'.
15646
15647 * progmodes/etags.el (local-find-tag-hook): Declare.
15648 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15649 Mark unused parameters.
15650
15651 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15652 (executable-interpret): Mark unused parameter.
15653
15654 * progmodes/flymake.el (flymake-process-sentinel)
15655 (flymake-after-change-function)
15656 (flymake-create-temp-with-folder-structure)
15657 (flymake-get-include-dirs-dot): Mark unused parameters.
15658 (flymake-safe-delete-directory): Remove unused variable `err'.
15659
15660 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15661 (speedbar-timer-fn, speedbar-line-text)
15662 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15663 (speedbar-center-buffer-smartly): Declare functions.
15664 (gdb-find-watch-expression): Remove unused variable `array'.
15665 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15666 (gdb-starting): Mark unused parameters.
15667 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15668 (gdb-table-string): Remove unused variable `res'.
15669 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15670 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15671 (gdb-display-buffer): Remove unused variable `cur-size'.
15672
15673 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15674 allow lexical-binding compilation.
15675 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15676 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15677 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15678 Mark unused parameters.
15679 (gud-gdb-marker-filter): Remove unused variable `match'.
15680 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15681 lambda expressions and funcall them, instead of using `fset'.
15682
15683 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15684 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15685
15686 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15687 variable `header-beg'; use `let'.
15688
15689 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15690 `restart', `last-sexp' and `at-do'.
15691
15692 * progmodes/js.el (js--debug): Mark unused parameter.
15693 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15694 (js--splice-into-items): Remove unused variable `item'.
15695 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15696
15697 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15698 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15699 (makefile-complete): Remove unused variable `try'.
15700 (makefile-fill-paragraph, makefile-match-function-end):
15701 Mark unused parameters.
15702
15703 * progmodes/octave-inf.el (inferior-octave-complete):
15704 Remove unused variable `proc'.
15705 (inferior-octave-output-digest): Mark unused parameter.
15706
15707 * progmodes/perl-mode.el (perl-calculate-indent):
15708 Remove unused variable `err'.
15709
15710 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15711 (prolog-indent-line): Mark unused parameters.
15712 (prolog-indent-line): Remove unused variable `beg'.
15713
15714 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15715 (reporter-dont-compact-list): Declare.
15716
15717 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15718 Remove unused variable `char'.
15719 (sh-debug): Mark unused parameter.
15720 (sh-get-indent-info): Remove unused variable `start'.
15721 (sh-calculate-indent): Remove unused variable `var'.
15722
15723 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15724 (simula-electric-keyword): Remove unused variable `null'.
15725 (simula-search-backward, simula-search-forward): Remove unused
15726 variables `begin' and `end'.
15727
15728 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15729 Remove unused variable `pos'.
15730 (vera-electric-tab, vera-comment-uncomment-region):
15731 Mark unused parameters.
15732 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15733
7ede3b65
CY
157342011-04-22 Chong Yidong <cyd@stupidchicken.com>
15735
15736 * emacs-lisp/package.el (package--builtins, package-alist)
15737 (package-load-descriptor, package-built-in-p, package-activate)
15738 (define-package, package-installed-p)
15739 (package-compute-transaction, package-buffer-info)
15740 (package--push): Doc fix. Distinguish more clearly between
15741 version strings and version lists.
15742
121656e9
JB
157432011-04-21 Juanma Barranquero <lekktu@gmail.com>
15744
15745 Lexical-binding cleanup.
15746
15747 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15748 (5x5-make-mutate-best):
15749 * play/fortune.el (fortune-in-buffer):
15750 * play/gomoku.el (gomoku-init-display):
15751 * play/solitaire.el (solitaire, solitaire-do-check):
15752 * play/tetris.el (tetris-default-update-speed-function):
15753 Mark unused parameters.
15754
15755 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15756 (bubbles--shift): Remove unused variable `char-org'.
15757 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15758 (bubbles--show-images): Remove unused variable `char'.
15759
15760 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15761 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15762 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15763 (decipher-analyze-buffer): Use ?\s.
15764 (decipher-make-checkpoint): Remove unused variable `mapping'.
15765
15766 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15767
15768 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15769 Remove unused variable `result'; use `let'.
15770
15771 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15772 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15773 (gametree-children-shown-p, gametree-compute-reduced-score):
15774 Use `ignore-errors'.
15775
15776 * play/handwrite.el (ps-lpr-switches): Declare.
15777 (handwrite): Remove unused variables `pmin' and `lastp'.
15778
15779 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15780
15781 * play/landmark.el (landmark-init-display)
15782 (landmark-update-naught-weights): Mark unused parameters.
15783 (landmark-y): Remove unused variable `noise'. Simplify.
15784 (landmark-human-plays): Remove unused variable `score'.
15785
15786 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15787 (mpuz-try-proposal): Remove unused variable `game'.
15788
15789 * play/zone.el (life-patterns): Declare.
15790
80f499c7
JB
157912011-04-20 Juanma Barranquero <lekktu@gmail.com>
15792
15793 * vc/vc.el (ediff-vc-internal): Declare function.
15794
024ff170
SM
157952011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15796
c0a193ea
SM
15797 * shell.el: Use lexical-binding and std completion UI.
15798 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15799 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15800 comint-preoutput-filter-functions rather than on
15801 comint-output-filter-functions.
15802 (shell-command-completion, shell--command-completion-data)
15803 (shell-filename-completion, shell-environment-variable-completion)
15804 (shell-c-a-p-replace-by-expanded-directory): New functions.
15805 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15806 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15807 (shell-dynamic-complete-environment-variable): Use them.
15808 (shell-dynamic-complete-as-environment-variable)
15809 (shell-dynamic-complete-as-command): Remove.
15810 (shell-match-partial-variable): Match past point.
15811 * comint.el: Clean up use of completion-at-point-functions.
15812 (comint-completion-at-point): New function.
15813 (comint-mode): Use it completion-at-point-functions.
15814 (comint-dynamic-complete): Make it obsolete.
15815 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15816 (comint-c-a-p-replace-by-expanded-history): New function.
15817 (comint-dynamic-complete-functions)
15818 (comint-replace-by-expanded-history): Use it.
15819 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15820 termination strings. Try harder to avoid second try-completion.
15821 (completion-in-region-mode-map): Disable bindings that don't work yet.
15822
2dbaa080
SM
15823 * comint.el: Use lexical-binding. Require CL.
15824 (comint-dynamic-complete-functions): Use comint-filename-completion.
15825 (comint-completion-addsuffix): Tweak custom type.
15826 (comint-filename-completion, comint--common-suffix)
15827 (comint--common-quoted-suffix, comint--table-subvert)
15828 (comint--complete-file-name-data): New functions.
15829 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15830 (comint-dynamic-list-filename-completions): Use them.
15831 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15832
2dbaa080
SM
15833 * minibuffer.el (completion-in-region-mode):
15834 Keep completion-in-region-mode--predicate global.
15835 (completion-in-region--postch):
15836 Assume completion-in-region-mode--predicate is not null.
15837
c79a6f38
SM
15838 * progmodes/flymake.el (flymake-start-syntax-check-process):
15839 Obey `dir'. Simplify.
15840
024ff170
SM
15841 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15842 we're in VC after all.
15843
1c6c854e
CS
158442011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15845
15846 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15847 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15848 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15849
bed7f140
SM
158502011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15851
332e62ab
SM
15852 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15853 add sanity check.
15854
bed7f140
SM
15855 * obsolete/erc-hecomplete.el: Make obsolete.
15856 * obsolete/: Standardize obsolescence info in the header.
15857
f195c582
GM
158582011-04-20 Glenn Morris <rgm@gnu.org>
15859
15860 * calendar/solar.el (solar-horizontal-coordinates):
15861 Use the longitude argument rather than `calendar-longitude'.
15862 (solar-date-next-longitude): Remove unused locals.
15863
cb79b8c0
VJL
158642011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15865
15866 * whitespace.el: New version 13.2.1.
15867
158682011-04-20 felix <EmacsWiki> (tiny change)
15869
d8e4b68b 15870 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15871 switching between major modes on a file.
15872
602ea69d
SM
158732011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15874
15875 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15876 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15877 multi-line comments as well.
15878
06b60517
JB
158792011-04-19 Juanma Barranquero <lekktu@gmail.com>
15880
15881 Lexical-binding cleanup.
15882
15883 * arc-mode.el (archive-mode-revert):
15884 * cmuscheme.el (scheme-interactively-start-process):
15885 * custom.el (custom-initialize-delay):
15886 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15887 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15888 * emacs-lock.el (emacs-lock-clear-sentinel):
15889 * ezimage.el (defezimage):
15890 * follow.el (follow-avoid-tail-recenter):
15891 * fringe.el (set-fringe-mode-1):
15892 * generic-x.el (bat-generic-mode-compile):
15893 * help-mode.el (help-info-variable, help-do-xref)
15894 (help-mode-revert-buffer):
15895 * help.el (view-emacs-todo):
15896 * iswitchb.el (iswitchb-completion-help):
15897 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15898 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15899 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15900 * locate.el (locate-update):
15901 * longlines.el (longlines-encode-region)
15902 (longlines-after-change-function):
15903 * outline.el (outline-isearch-open-invisible):
15904 * ps-def.el (declare-function, charset-dimension, char-width)
15905 (encode-char):
15906 * ps-mule.el (ps-mule-plot-string):
15907 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15908 (recentf-edit-list-select, recentf-edit-list-validate)
15909 (recentf-open-files-action):
15910 * rect.el (delete-whitespace-rectangle-line)
15911 (rectangle-number-line-callback):
15912 * register.el (window-configuration-to-register)
15913 (frame-configuration-to-register):
15914 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15915 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15916 (xselect-convert-to-targets, xselect-convert-to-delete)
15917 (xselect-convert-to-filename, xselect-convert-to-charpos)
15918 (xselect-convert-to-lineno, xselect-convert-to-colno)
15919 (xselect-convert-to-os, xselect-convert-to-host)
15920 (xselect-convert-to-user, xselect-convert-to-class)
15921 (xselect-convert-to-name, xselect-convert-to-integer)
15922 (xselect-convert-to-atom, xselect-convert-to-identity):
15923 * subr.el (declare, ignore, process-kill-without-query)
15924 (text-clone-maintain):
15925 * terminal.el (te-get-char, te-tic-sentinel):
15926 * tool-bar.el (tool-bar-make-keymap):
15927 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15928 * type-break.el (type-break-mode, type-break-noninteractive-query):
15929 * view.el (View-back-to-mark):
15930 * wid-browse.el (widget-browse-action, widget-browse-widget)
15931 (widget-browse-widgets, widget-browse-sexp):
15932 * widget.el (define-widget-keywords):
15933 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15934 Mark unused parameters.
15935
15936 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15937 (align-areas): Remove unused variable `look'.
15938 (align-region): Remove unused variables `real-end' and `pos-list'.
15939
15940 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15941
15942 * bindings.el (mode-line-modified, mode-line-remote):
15943 Mark unused parameters.
15944 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15945
15946 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15947 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15948
15949 * comint.el (comint-history-isearch-pop-state)
15950 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15951 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15952 (comint-substitute-in-file-name): Doc fix.
15953
15954 * completion.el (cmpl-statistics-block): Mark unused parameter.
15955 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15956 (save-completions-to-file, load-completions-from-file):
15957 Remove unused local variable `e'.
15958
15959 * composite.el (compose-chars): Remove unused variable `len'.
15960 (lgstring-insert-glyph): Remove unused variable `g'.
15961 (compose-glyph-string): Remove unused variables `ascent',
15962 `descent', `lbearing' and `rbearing'.
15963 (compose-glyph-string-relative): Remove unused variables
15964 `lbearing', `rbearing' and `wadjust'.
15965 (compose-gstring-for-graphic): Remove unused variables `header',
15966 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15967 (compose-gstring-for-terminal): Remove unused variables `header'
15968 and `nchars'. Use `let', not `let*'.
15969
15970 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15971 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15972 (Custom-buffer-done, custom-buffer-create-internal)
15973 (custom-browse-visibility-action, custom-browse-group-tag-action)
15974 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15975 (widget-magic-mouse-down-action, custom-toggle-parent)
15976 (custom-add-parent-links, custom-toggle-hide-variable)
15977 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15978 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15979 (custom-face-menu-create, custom-variable-menu-create, get)
15980 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15981 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15982 (customize-apropos): Remove unused variable `tests'.
15983 (custom-group-value-create): Remove unused variable `hidden-p'.
15984 (sort-fold-case): Declare.
15985
15986 * cus-theme.el (custom-reset-standard-faces-list)
15987 (custom-reset-standard-variables-list): Declare.
15988 (customize-create-theme, custom-theme-revert, custom-theme-write)
15989 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15990 Mark unused parameters.
15991
15992 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15993
15994 * delim-col.el (delimit-columns-max): Move defvar before first use.
15995
15996 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 15997 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
15998
15999 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16000 (auto-insert): Declare.
16001 (desktop-restore-file-buffer): Rename desktop-* parameters;
16002 mark unused ones.
16003 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16004 (desktop-buffer): Rename desktop-* parameters.
16005
16006 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16007 (dframe-reposition-frame-xemacs, dframe-help-echo)
16008 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16009 Mark unused parameters.
16010
16011 * dired-aux.el (backup-extract-version-start, overwrite-query)
16012 (overwrite-backup-query, rename-regexp-query)
16013 (rename-non-directory-query): Declare.
16014 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16015 (dired-add-entry): Remove unused variable `orig-file-name'.
16016 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16017 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16018 `dired-copy-preserve-time' directly.
16019 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16020 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16021
16022 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16023 (dired-virtual-revert, dired-make-relative-symlink):
16024 Mark unused parameters.
16025 (manual-program): Declare.
16026 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16027 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16028 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16029
16030 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16031
16032 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16033
16034 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16035 Declare.
16036
16037 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16038
16039 * electric.el (Electric-command-loop): Rename parameter
16040 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16041
16042 * expand.el (expand-in-literal): Remove unused variable `here'.
16043
16044 * facemenu.el (facemenu-add-new-color):
16045 Remove unused variable `docstring'.
16046
16047 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16048 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16049 (face-attr-construct): Mark unused parameter. Doc fix.
16050 (read-color): Remove unused variable `hex-string'.
16051
16052 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16053 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16054 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16055 (display-buffer-other-frame): Remove unused variable `old-window'.
16056 (kill-buffer-hook): Declare.
16057 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16058 Mark unused parameters.
16059 (after-find-file): Pass 1 to `auto-save-mode', not t.
16060
16061 * files-x.el (auto-insert): Declare.
16062 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16063
16064 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16065 variable `buf'. Mark unused parameter.
06b60517
JB
16066 (find-lisp-insert-directory): Mark unused parameter.
16067
16068 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16069 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16070 (format-common-tail): Remove, unused.
16071 (format-deannotate-region): Remove unused variable `loc'.
16072 (format-annotate-region): Remove unused variable `p'.
16073 (format-annotate-single-property-change): Remove unused variables
16074 `default' and `tail'.
16075
16076 * forms.el (read-file-filter): Declare.
16077 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16078
16079 * frame.el (frame-creation-function-alist): Mark unused parameter.
16080 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16081
16082 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16083 Remove unused parameters.
16084 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16085 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16086
16087 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16088 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16089 (hfy-prepare-tag-map): Mark unused parameters.
16090 (htmlfontify-buffer): Use `called-interactively-p'.
16091
16092 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16093 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16094 (ibuffer-do-occur): Mark unused parameters.
16095 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16096 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16097
16098 * ibuffer.el: Don't quote `lambda'.
16099 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16100 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16101 Mark unused parameters.
16102
16103 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16104 (ido-completing-read): Mark unused parameters.
16105 (ido-copy-current-word): Mark unused parameters;
16106 remove unused variable `name'.
16107 (ido-sort-merged-list): Remove unused parameter `dirs'.
16108
16109 * ielm.el (ielm-input-sender): Mark unused parameter.
16110 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16111 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16112 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16113 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16114 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16115
16116 * image-dired.el (image-dired-display-thumbs): Remove unused
16117 variables `curr-file' and `count'.
16118 (image-dired-remove-tag): Remove unused variable `start'.
16119 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16120 variable `curr-file'
16121 (image-dired-rotate-original): Remove unused variable `temp-file'.
16122 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16123 Remove unused variable `file'.
16124 (image-dired-gallery-generate): Remove unused variable `curr'.
16125 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16126
16127 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16128
16129 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16130
16131 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16132
16133 * isearch.el (minibuffer-history-symbol): Declare.
16134 (isearch-edit-string): Remove unused variable `err'.
16135 (isearch-message-prefix, isearch-message-suffix):
16136 Mark unused parameters.
16137
16138 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16139
16140 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16141
16142 * makesum.el (double-column): Remove unused variable `cnt'.
16143
16144 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16145 (ido-ignore-item-temp-list): Declare.
16146
16147 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16148 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16149 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16150 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16151 `mouse-col-delta'.
16152
16153 * mouse-sel.el (mouse-extend-internal):
16154 Remove unused variable `orig-window-frame'.
16155
16156 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16157 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16158 Move declarations before first use.
16159 (pcomplete-opt): Mark unused parameters; doc fix.
16160
16161 * proced.el (proced-revert): Mark unused parameter.
16162 (proced-send-signal): Remove unused variable `err'.
16163
16164 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16165 Rename parameter PREFIX-ARG to ARG.
16166 (ps-basic-plot-string, ps-basic-plot-whitespace):
16167 Mark unused parameters.
16168
16169 * replace.el (replace-count): Define.
16170 (occur-revert-function): Mark unused parameters.
16171 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16172 (isearch-case-fold-search, isearch-string): Declare.
16173 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16174 bind `case-fold-search'. Remove unused variables `beg' and `end',
16175 and simplify.
16176 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16177 COUNT and bind `replace-count'.
16178 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16179 to COUNT.
16180
16181 * savehist.el (print-readably, print-string-length): Declare.
16182
16183 * shadowfile.el (shadow-expand-cluster-in-file-name):
16184 Remove unused variable `cluster'.
16185 (shadow-copy-file): Remove unused variable `i'.
16186 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16187 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16188 (shadow-define-literal-group, shadow-define-regexp-group)
16189 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16190
16191 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16192 (shell): Use `called-interactively-p'.
16193 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16194
16195 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16196 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16197 (delete-backward-char): Remove unused variable `ocol'.
16198 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16199 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16200 (event-apply-hyper-modifier, event-apply-shift-modifier)
16201 (event-apply-control-modifier, event-apply-meta-modifier):
16202 Mark unused parameters.
16203 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16204 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16205
16206 * speedbar.el (speedbar-ignored-directory-expressions)
16207 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16208 (speedbar-find-file, speedbar-dir-follow)
16209 (speedbar-directory-buttons-follow, speedbar-tag-find)
16210 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16211 (speedbar-buffers-line-directory, speedbar-buffer-click):
16212 Mark unused parameters.
16213 (speedbar-tag-file): Remove unused variable `mode'.
16214 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16215
16216 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16217
16218 * talk.el (talk): Remove unused variable `display'.
16219
16220 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16221 (tar-write-region-annotate): Mark unused parameter.
16222
16223 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16224 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16225 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16226 warning by another.
16227
16228 * time-stamp.el (time-stamp-string-preprocess):
16229 Remove unused variable `require-padding'.
16230
16231 * tree-widget.el (widget-glyph-enable): Declare.
16232 (tree-widget-action): Mark unused parameter.
16233
16234 * w32-fns.el (x-get-selection): Mark unused parameter.
16235 (autoload-make-program, generated-autoload-file): Declare.
16236
16237 * wdired.el (wdired-revert): Mark unused parameters.
16238 (wdired-xcase-word): Remove unused variable `err'.
16239
16240 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16241 (whitespace-help-scroll): Remove unused variable `data-help'.
16242
16243 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16244 (widget-image-insert, widget-after-change, default)
16245 (widget-default-format-handler, widget-default-notify)
16246 (widget-default-prompt-value, widget-info-link-action)
16247 (widget-url-link-action, widget-function-link-action)
16248 (widget-variable-link-action, widget-file-link-action)
16249 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16250 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16251 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16252 (widget-insert-button-action, widget-delete-button-action, visibility)
16253 (widget-documentation-link-action, widget-documentation-string-action)
16254 (widget-const-prompt-value, widget-regexp-match, symbol)
16255 (widget-coding-system-prompt-value)
16256 (widget-key-sequence-value-to-external, sexp)
16257 (widget-sexp-value-to-internal, character, vector, cons)
16258 (widget-choice-prompt-value, widget-boolean-prompt-value)
16259 (widget-color--choose-action): Mark unused parameters.
16260 (widget-item-match-inline, widget-choice-match-inline)
16261 (widget-checklist-match, widget-checklist-match-inline)
16262 (widget-group-match): Rename parameter VALUES to VALS.
16263 (widget-field-value-set): Remove unused variable `size'.
16264 (widget-color-action): Remove unused variables `value' and `start'.
16265
16266 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16267 variable `dir'. Doc fix.
06b60517
JB
16268 (windmove-find-other-window): Don't pass it.
16269
16270 * window.el (count-windows): Mark unused parameter.
16271 (bw-adjust-window): Remove unused variable `err'.
16272
16273 * woman.el (woman-file-name): Remove unused variable `default'.
16274 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16275 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16276 (global-font-lock-mode): Declare.
16277 (woman-decode-region): Mark unused parameter.
16278 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16279
16280 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16281 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16282 (x-dnd-handle-moz-url): Remove unused variable `title'.
16283 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16284
16285 * xml.el (xml-parse-tag, xml-parse-attlist):
16286 Remove unused variable `pos'.
16287
bc4f7f3d
GM
162882011-04-19 Glenn Morris <rgm@gnu.org>
16289
16290 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16291 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16292 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16293 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16294 * calendar/cal-html.el (cal-html-insert-minical):
16295 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16296 (calendar-mark-date-pattern):
16297 Prefix "unused" locals.
16298
16299 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16300 optional argument `style'.
16301
16302 * calendar/appt.el (appt-make-list):
16303 * calendar/cal-china.el (calendar-chinese-date-string):
16304 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16305 (diary-hebrew-yahrzeit):
16306 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16307 * calendar/calendar.el (calendar-generate-window):
16308 * calendar/time-date.el (time-to-days):
16309 Remove unused local variables.
16310
16a43933
CY
163112011-04-18 Chong Yidong <cyd@stupidchicken.com>
16312
16313 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16314 glyphless-char-display table.
16315 (tabulated-list-glyphless-char-display): New var.
16316
7eed1860
SS
163172011-04-18 Sam Steingold <sds@gnu.org>
16318
16319 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16320 to acknowledgments.
16321
4d2d1ccd
GM
163222011-04-17 Glenn Morris <rgm@gnu.org>
16323
16324 * calendar/diary-lib.el (diary-sexp-entry):
16325 * calendar/holidays.el (holiday-sexp):
16326 Set debug-on-error rather than the removed stack-trace-on-error.
16327
239da61d
GM
163282011-04-16 Glenn Morris <rgm@gnu.org>
16329
16330 * progmodes/f90.el: Use lexical-binding.
16331 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16332
8b05752a
SM
163332011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16334
daca8ba5
SM
16335 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16336 (mail-mode): Setup mailalias completion here instead.
16337 * mail/mailalias.el: Use lexical-binding.
16338 (pattern, mailalias-done): Declare dynamic.
16339 (mail-completion-at-point-function): New function, from mail-complete.
16340 (mail-complete): Use it.
16341 (mail-completion-expand): New function.
16342 (mail-get-names): Use it.
16343 (mail-directory, mail-directory-process, mail-directory-stream):
16344 Don't use `pattern' for lexically bound arg.
16345
6f542485
SM
16346 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16347
037e7c3f
SM
16348 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16349 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16350 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16351
8b05752a
SM
16352 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16353 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16354 (byte-interactive-p): Define them again, for use when inlining
16355 old code.
16356
49093f60
JB
163572011-04-15 Juanma Barranquero <lekktu@gmail.com>
16358
16359 * loadup.el: Use `string-to-number', not `string-to-int'.
16360
b5b8e7de
SM
163612011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16362
16363 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16364 gud-gdb-complete-command.
16365 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16366 (gud-gdb-completion-at-point): New function.
16367 (gud-gdb-completions): Remove.
16368
f42efeb5
MA
163692011-04-14 Michael Albinus <michael.albinus@gmx.de>
16370
49093f60
JB
16371 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16372 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16373 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16374 whether `executable-find' is bound.
f42efeb5
MA
16375
16376 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16377
e240cc21
SM
163782011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16379
16380 * minibuffer.el (completion-in-region-mode-predicate)
16381 (completion-in-region-mode--predicate): New vars.
16382 (completion-in-region, completion-in-region--postch)
16383 (completion-in-region-mode): Use them.
16384 (completion--capf-wrapper): Also return the hook function.
16385 (completion-at-point, completion-help-at-point):
16386 Adjust and provide a predicate.
c2bd2ab0
SM
16387
16388 Preserve arg names for advice of subr and lexical functions (bug#8457).
16389 * help-fns.el (help-function-arglist): Consolidate the subr and
16390 new-byte-code cases. Add argument `preserve-names' to extract names
16391 from the docstring when needed.
16392 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16393 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16394 (ad-arglist): Use help-function-arglist's new arg.
16395 (ad-definition-type): Use cond.
16396
c183f693
JB
163972011-04-13 Juanma Barranquero <lekktu@gmail.com>
16398
06641a47
JB
16399 * autorevert.el (auto-revert-handler):
16400 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16401 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16402 Don't quote lambda.
16403
c183f693
JB
16404 * image-mode.el (image-transform-set-scale):
16405 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16406
1e3b6001
G
164072011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16408
16409 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16410 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16411 Upgrades via gnutls-cli are too slow to be done opportunistically.
16412
2d6af8dd
JB
164132011-04-12 Juanma Barranquero <lekktu@gmail.com>
16414
16415 * dframe.el (dframe-current-frame): Remove spurious quote.
16416
c0749a51
GM
164172011-04-12 Glenn Morris <rgm@gnu.org>
16418
088d0d61
GM
16419 * calendar/cal-tex.el (cal-tex-end-document):
16420 Try to automatically use latin1 input if needed.
16421
c0749a51
GM
16422 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16423 Don't try to cons a mark onto an empty element.
16424
5c90fde0
LL
164252011-04-11 Leo Liu <sdl.web@gmail.com>
16426
16427 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16428 buffers.
16429 (ido-kill-buffer-at-head): Support killing virtual buffers.
16430
369e974d
CY
164312011-04-10 Chong Yidong <cyd@stupidchicken.com>
16432
16433 * minibuffer.el (completion-show-inline-help): New var.
16434 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16435 (minibuffer-force-complete, minibuffer-complete-word):
16436 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16437
16438 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16439 to avoid interference from inline help (Bug#5849).
16440
37f1c930
LL
164412011-04-10 Leo Liu <sdl.web@gmail.com>
16442
099c39a4
JB
16443 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16444 Fix typo.
37f1c930 16445
a32d4040
CY
164462011-04-09 Chong Yidong <cyd@stupidchicken.com>
16447
16448 * image-mode.el (image-toggle-display-image): Signal an error if
16449 not in Image mode.
16450 (image-transform-mode, image-transform-resize)
16451 (image-transform-set-rotation): Doc fix.
daca8ba5 16452 (image-transform-set-resize): Delete.
a32d4040
CY
16453 (image-transform-set-scale, image-transform-fit-to-height)
16454 (image-transform-fit-to-width): Handle image-toggle-display-image
16455 and image-transform-resize directly.
16456
099c39a4 164572011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16458
16459 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16460 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16461 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16462 (doc-view-mode-map): Add bindings for the new functions.
16463
099c39a4 164642011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16465
4d61f28d 16466 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16467 Fix typo in docstring.
16468
3726838a
EZ
164692011-04-08 Eli Zaretskii <eliz@gnu.org>
16470
04f33f1e
EZ
16471 * files.el (file-size-human-readable): Produce one digit after
16472 decimal, like "ls -lh" does.
16473
16474 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16475 the file size representation.
16476
3726838a
EZ
16477 * simple.el (list-processes): If async subprocesses are not
16478 available, error out with a clear error message.
16479
cbb59342
CY
164802011-04-08 Chong Yidong <cyd@stupidchicken.com>
16481
16482 * help.el (help-form-show): New function, to be called from C.
16483 Put help-form output in a buffer named differently than *Help*.
16484
e3971c44
EZ
164852011-04-08 Eli Zaretskii <eliz@gnu.org>
16486
16487 * files.el (file-size-human-readable): New function.
16488
16489 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16490 computing the representation inline. Don't require `cl'.
16491
12544bbe
GM
164922011-04-08 Glenn Morris <rgm@gnu.org>
16493
a1de6c6a
GM
16494 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16495
3c4671f4
GM
16496 * net/browse-url.el (browse-url-firefox):
16497 Test system-type, not system-configuration.
16498
b605679c
GM
16499 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16500 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16501 Use log-edit-empty-buffer-p. (Bug#7598)
16502
56442f0c
GM
16503 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16504 (rlogin-mode-map): Initialize in the defvar.
16505 (rlogin): Use ignore-errors.
16506
12544bbe
GM
16507 * replace.el (occur-mode-map): Some fixes for menu items.
16508
eb237b0f
AH
165092011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16510
16511 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16512
7d668f2c
CY
165132011-04-06 Chong Yidong <cyd@stupidchicken.com>
16514
e67a13ab
CY
16515 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16516 issuing unused warnings.
16517
16518 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16519 macro directly.
16520
7d668f2c
CY
16521 * simple.el: Lisp reimplement of list-processes. Based on an
16522 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16523 (process-menu-mode): New major mode.
16524 (list-processes--refresh, list-processes):
16525 (process-menu-visit-buffer): New functions.
16526
16527 * files.el (save-buffers-kill-emacs): Don't assume any return
16528 value of list-processes, which is undocumented anyway.
16529
a83ec3c9
CY
165302011-04-06 Chong Yidong <cyd@stupidchicken.com>
16531
16532 * emacs-lisp/tabulated-list.el: New file.
16533
e91a96fe
CY
16534 * emacs-lisp/package.el: Use Tabulated List mode.
16535 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16536 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16537 table format using Tabulated List mode variables.
16538 (package--push): New macro, replacing package-list-maybe-add.
16539 (package-menu--generate): Use package--push. Renamed from
16540 package--generate-package-list.
16541 (package-menu-refresh, list-packages): Use it.
daca8ba5 16542 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16543 Return insertion data instead of inserting it directly.
099c39a4
JB
16544 (package-menu-describe-package, package-menu-execute):
16545 Use tabulated-list-get-id.
e91a96fe
CY
16546 (package-menu-mark-delete, package-menu-mark-install)
16547 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16548 (package-menu-mark-obsolete-for-deletion):
16549 Use tabulated-list-put-tag.
e91a96fe
CY
16550 (package--list-packages, package-menu-revert)
16551 (package-menu-get-package, package-menu-get-version)
16552 (package-menu-sort-by-column): Functions deleted.
16553 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16554 (package-menu--status-predicate, package-menu--version-predicate)
16555 (package-menu--name-predicate)
16556 (package-menu--description-predicate): Handle arguments in the
16557 Tabulated List format.
16558 (package-list-packages-no-fetch): Call list-packages.
16559
3e214b50
JB
165602011-04-06 Juanma Barranquero <lekktu@gmail.com>
16561
16562 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16563 (after-find-file): Don't bind it.
3e214b50
JB
16564 (revert-buffer-in-progress-p): New variable.
16565 (revert-buffer): Bind it.
16566 Pass nil for `after-find-file-from-revert-buffer'.
16567
16568 * saveplace.el (save-place-find-file-hook): Use new variable
16569 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16570
3f0f1700
GM
165712011-04-06 Glenn Morris <rgm@gnu.org>
16572
c0274801
GM
16573 * Makefile.in (AUTOGEN_VCS): New variable.
16574 (autoloads): Use $AUTOGEN_VCS.
16575
3f0f1700
GM
16576 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16577 * calendar/calendar.el (calendar-mode-map):
16578 Check for toolkit scroll bars. (Bug#8305)
16579
41ea9e48
CY
165802011-04-05 Chong Yidong <cyd@stupidchicken.com>
16581
16582 * minibuffer.el (completion-in-region--postch)
16583 (completion-in-region-mode): Remove unnecessary messages.
16584
6194c800
JB
165852011-04-05 Juanma Barranquero <lekktu@gmail.com>
16586
33256f14
JB
16587 * font-lock.el (font-lock-refresh-defaults):
16588 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16589 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16590
6194c800
JB
16591 * info.el (Info-directory-list, Info-read-node-name-2)
16592 (Info-split-parameter-string): Doc fixes.
16593 (Info-virtual-nodes): Reflow docstring.
16594 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16595 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16596 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16597 Fix typos in docstrings.
16598 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16599 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16600 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16601 (Info-restore-desktop-buffer): Mark unused parameters.
16602 (Info-directory-find-file, Info-directory-find-node)
16603 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16604 (Info-virtual-index-find-node, Info-apropos-find-file)
16605 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16606 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16607 (Info-virtual-index): Remove unused local variable `nodename'.
16608
b87a8200 166092011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16610
b87a8200
DD
16611 * net/rcirc.el: Update my e-mail address.
16612 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16613
3b2ff876
CY
166142011-04-05 Chong Yidong <cyd@stupidchicken.com>
16615
16616 * startup.el (command-line): Save the cursor's theme-face
16617 directly, instead of using face-override-spec.
16618
16619 * custom.el (load-theme): Minor optimization in assigning faces.
16620
8d17e7ca
JB
166212011-04-04 Juanma Barranquero <lekktu@gmail.com>
16622
16623 * help-fns.el (describe-variable): Complete all variables having
16624 documentation, including keywords.
16625 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16626
2fbc1934
JB
166272011-04-04 Juanma Barranquero <lekktu@gmail.com>
16628
16629 Convert to lexical-binding.
16630
16631 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16632 (bs--get-marked-string, bs--get-modified-string)
16633 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16634 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16635 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16636
16637 * ehelp.el (electric-help-execute-extended)
16638 (electric-help-ctrl-x-prefix):
16639 * hexl.el (hexl-revert-buffer-function):
16640 * linum.el (linum-after-change, linum-after-scroll):
16641 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16642
16643 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16644
74f50695
DU
166452011-04-04 Daiki Ueno <ueno@unixuser.org>
16646
16647 * epa-dired.el:
16648 * epa-mail.el:
16649 * epa-hook.el:
16650 * epa-file.el:
16651 * epa.el:
16652 * epg.el: Use lexical binding.
16653
c11325f7
CY
166542011-04-03 Chong Yidong <cyd@stupidchicken.com>
16655
0d9e9a12
CY
16656 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16657
c11325f7 16658 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16659 dictionary case for flyspell-mark-duplications-exceptions.
16660 Use regexp matching for languages.
c11325f7
CY
16661 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16662 default dictionary (Bug#7926).
16663
da91b5f2
CY
166642011-04-02 Chong Yidong <cyd@stupidchicken.com>
16665
099c39a4
JB
16666 * emacs-lisp/package.el (package--with-work-buffer):
16667 Recognize https URLs.
da91b5f2 16668
099c39a4
JB
16669 * net/network-stream.el: Move from gnus/proto-stream.el.
16670 Change prefix to network-stream throughout.
da91b5f2
CY
16671 (open-protocol-stream): Merge into open-network-stream, leaving
16672 open-protocol-stream as an alias. Handle nil BUFFER args.
16673
16674 * subr.el (open-network-stream): Move to net/network-stream.el.
16675
afa8e9f6
GM
166762011-04-02 Glenn Morris <rgm@gnu.org>
16677
1d2e369d
GM
16678 * find-dired.el (find-exec-terminator): New option.
16679 (find-ls-option): Test for -ls support.
16680 (find-ls-subdir-switches): Test for -b in find-ls-option.
16681 (find-dired, find-grep-dired): Doc fixes.
16682 (find-dired): Use find-exec-terminator.
16683
8abb7da8 16684 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16685 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16686 (find-name-arg): Remove purecopy.
8abb7da8 16687
f3ca7378
GM
16688 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16689 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16690 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16691 accordingly. Don't add the null-device if not needed.
16692
afa8e9f6
GM
16693 * files.el (save-some-buffers): Doc fix.
16694
35eae264
EZ
166952011-04-02 Eli Zaretskii <eliz@gnu.org>
16696
16697 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16698
26b51db5
JB
166992011-04-01 Juanma Barranquero <lekktu@gmail.com>
16700
16701 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16702 Use `dolist' rather than `mapcar'.
16703
7200d79c
SM
167042011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16705
03408648 16706 Add lexical binding.
7200d79c 16707
03408648
SM
16708 * subr.el (apply-partially): Use new closures rather than CL.
16709 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16710 (dolist, dotimes): Use slightly different expansion for lexical code.
16711 (functionp): Move to C.
16712 (letrec): New macro.
16713 (with-wrapper-hook): Use it and apply-partially instead of CL.
16714 (eval-after-load): Preserve lexical-binding.
16715 (save-window-excursion, with-output-to-temp-buffer): Turn them
16716 into macros.
7200d79c 16717
03408648
SM
16718 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16719
16720 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16721 than the arglist.
16722 (help-add-fundoc-usage): Don't add `Not documented'.
16723 (help-function-arglist): Handle closures, subroutines, and new
16724 byte-code-functions.
16725 (help-make-usage): Remove leading underscores.
16726 (describe-function-1): Handle closures.
16727 (describe-variable): Use special-variable-p for completion.
16728
16729 * files.el (lexical-binding): Declare safe.
f488fb65 16730
03408648
SM
16731 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16732 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16733 (pcase): Add `let' pattern.
16734 Change memoization so it actually works.
16735 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16736 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16737 <let>: New case.
f488fb65 16738
03408648
SM
16739 * emacs-lisp/macroexp.el: Use lexical binding.
16740 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16741 Don't convert ' to #' without checking that it's indeed quoting
16742 a lambda.
16743
16744 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16745 Use eval-sexp-add-defvars.
03408648
SM
16746 (eval-sexp-add-defvars): New fun.
16747
16748 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16749
16750 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16751 Don't autoload.
16752 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16753 than the internal `byte-compile-lambda'.
16754 (defmethod): Don't hide code under quotes.
16755 (eieio-defmethod): New `code' argument.
16756
16757 * emacs-lisp/eieio-comp.el: Remove.
16758
16759 * emacs-lisp/edebug.el (edebug-eval-defun)
16760 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16761 (edebug-toggle): Avoid `eval'.
16762
16763 * emacs-lisp/disass.el (disassemble-internal): Handle new
16764 `closure' objects.
16765 (disassemble-1): Handle new byte codes.
16766
16767 * emacs-lisp/cl.el (pushnew): Silence warning.
16768
16769 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16770 (cl-byte-compile-throw): Remove.
16771 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16772
16773 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16774 closures.
16775
16776 * emacs-lisp/cconv.el: New file.
16777
16778 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16779 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16780 (byte-compile-initial-macro-environment):
16781 Handle declare-function here.
16782 (byte-compile--lexical-environment): New var.
16783 (byte-stack-ref, byte-stack-set, byte-discardN)
16784 (byte-discardN-preserve-tos): New lap codes.
16785 (byte-interactive-p): Don't use any more.
16786 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16787 New macros.
16788 (byte-compile-lapcode): Use them and handle new lap codes.
16789 (byte-compile-obsolete): Remove.
16790 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16791 (byte-compile-arglist-warn): Check late def of inlinable funs.
16792 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16793 since they should have been expanded by now.
16794 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16795 (byte-compile-from-buffer): Remove unused second arg.
16796 (byte-compile-preprocess): New function.
16797 (byte-compile-toplevel-file-form): New function to distinguish
16798 file-form calls from outside from file-form calls from hunk-handlers.
16799 (byte-compile-file-form): Simplify.
16800 (byte-compile-file-form-defsubst): Remove.
16801 (byte-compile-file-form-defmumble): Simplify now that
16802 byte-compile-lambda always returns a byte-code-function.
16803 (byte-compile): Preprocess.
16804 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16805 Remove, not used any more.
16806 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16807 (byte-compile-make-args-desc): New funs.
16808 (byte-compile-lambda): Handle lexical functions. Always return
16809 a byte-code-function.
16810 (byte-compile-reserved-constants): New var, to make up room for
16811 closed-over variables.
16812 (byte-compile-constants-vector): Obey it.
16813 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16814 (byte-compile-macroexpand-declare-function): New function.
16815 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16816 byte-code-functions.
16817 (byte-compile-form): Check obsolescence here.
16818 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16819 (byte-compile-variable-ref): Remove.
16820 (byte-compile-dynamic-variable-op): New fun.
16821 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16822 (byte-compile-variable-set): New funs.
16823 (byte-compile-discard): Add 2 args.
16824 (byte-compile-stack-ref, byte-compile-stack-set)
16825 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16826 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16827 macroexpand-all instead.
16828 (byte-compile-quote-form): Remove.
16829 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16830 (byte-compile-bind, byte-compile-unbind): New funs.
16831 (byte-compile-let): Handle let* and lexical binding.
16832 (byte-compile-let*): Remove.
16833 (byte-compile-catch, byte-compile-unwind-protect)
16834 (byte-compile-track-mouse, byte-compile-condition-case):
16835 Handle a new :fun-body form, used for lexical scoping.
16836 (byte-compile-save-window-excursion)
16837 (byte-compile-with-output-to-temp-buffer): Remove.
16838 (byte-compile-defun): Simplify.
16839 (byte-compile-stack-adjustment): New fun.
16840 (byte-compile-out): Use it.
16841 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16842
16843 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16844 handler any more.
16845
16846 * emacs-lisp/byte-opt.el: Use lexical binding.
16847 (byte-inline-lapcode): Remove (to bytecomp).
16848 (byte-compile-inline-expand): Pay attention to inlining to/from
16849 lexically bound code.
16850 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16851 any more.
16852 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16853 any more and don't call compiler-macros.
16854 (byte-compile-splice-in-already-compiled-code): Remove.
16855 (byte-code): Don't inline any more.
16856 (disassemble-offset): Receive `bytes' as argument rather than via
16857 dynamic scoping.
16858 (byte-compile-tag-number): Declare before first use.
16859 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16860 `return' even if make-spliceable.
16861 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16862 obsolete interactive-p.
16863 (byte-optimize-lapcode): Optimize new lap-codes.
16864 Don't trip up on new form of `byte-constant' lap code.
16865
16866 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16867
16868 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16869
16870 * custom.el (custom-initialize-default, custom-declare-variable):
16871 Use `defvar'.
16872
16873 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16874 New variables.
16875 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16876 (COMPILE_FIRST): Add macroexp and cconv.
16877 * makefile.w32-in: Mirror changes in Makefile.in.
16878
16879 * vc/cvs-status.el:
16880 * vc/diff-mode.el:
16881 * vc/log-edit.el:
16882 * vc/log-view.el:
16883 * vc/smerge-mode.el:
16884 * textmodes/bibtex-style.el:
090bd7cb 16885 * textmodes/css-mode.el:
03408648
SM
16886 * startup.el:
16887 * uniquify.el:
da91b5f2
CY
16888 * minibuffer.el:
16889 * newcomment.el:
16890 * reveal.el:
16891 * server.el:
16892 * mpc.el:
16893 * emacs-lisp/smie.el:
16894 * doc-view.el:
16895 * dired.el:
03408648
SM
16896 * abbrev.el: Use lexical binding.
16897
0f0c1f27
EZ
168982011-04-01 Eli Zaretskii <eliz@gnu.org>
16899
16900 * info.el (info-display-manual): New function.
16901
c82b2579
SM
169022011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16903
16904 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16905
221ddf68
TH
169062011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16907
16908 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16909 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16910
cba6e77e
GM
169112011-03-31 Glenn Morris <rgm@gnu.org>
16912
e040639f
GM
16913 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16914
cba6e77e
GM
16915 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16916
6d0f1c9e
CS
169172011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16918
16919 * progmodes/python.el (python-default-interpreter)
16920 (python-python-command-args, python-jython-command-args)
16921 (python-which-shell, python-which-args, python-which-bufname)
16922 (python-file-queue, python-comint-output-filter-function)
16923 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16924 variables and functions.
16925
3e2d70fd
SM
169262011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16927
16928 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16929 (completion-in-region-mode): New minor mode.
16930 (completion-in-region): Use it.
16931 (completion-in-region--data, completion-in-region-mode-map): New vars.
16932 (completion-in-region--postch): New function.
16933 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16934 New vars.
16935 (completion--capf-wrapper): New function.
16936 (completion-at-point): Use it to track well-behavedness of
16937 hook functions.
16938 (completion-help-at-point): New command.
16939
f3e4086c
JM
169402011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16941
16942 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16943 syntax class to search for whitespace on a single line
16944 (Message-ID: <4D938140.4030905@redhat.com>).
16945
eb7ffc14
LL
169462011-03-30 Leo Liu <sdl.web@gmail.com>
16947
16948 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16949 New commands.
16950 (edit-abbrevs-map): Bind them here.
16951 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16952
d806ab68
KM
169532011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16954
16955 * allout.el (allout-hide-by-annotation, allout-flag-region):
16956 Reduce possibility of overlay leakage by making them volatile.
16957
16958 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16959 hash is not shared between buffers. Mode initialization is
16960 responsible for giving it a useful starting value.
16961 (allout-item-span): Reduce possibility of overlay leakage by
16962 making them volatile.
16963 (allout-widgets-count-buttons-in-region): Add diagnostic function
16964 for tracking down button overlay leaks.
16965
ea622834
LL
169662011-03-29 Leo Liu <sdl.web@gmail.com>
16967
16968 * ido.el (ido-read-internal): Use the default history var
16969 minibuffer-history if no HISTORY is specified.
16970
b62f8267
G
169712011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16972
03408648
SM
16973 * net/imap.el (imap-shell-open, imap-process-connection-type):
16974 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16975 Kerberos, SSL, other subprocesses.
16976
947b6566
LL
169772011-03-28 Leo Liu <sdl.web@gmail.com>
16978
16979 * abbrev.el (abbrev-table-empty-p): New function.
16980 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16981 nonempty ones. (Bug#5937)
16982
5ffb62aa
JD
169832011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16984
16985 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16986
7a097943
LL
169872011-03-27 Leo Liu <sdl.web@gmail.com>
16988
16989 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16990 for foreground and background colors.
16991 (ansi-color-make-color-map): Adapt.
16992
c5b40130
LL
169932011-03-25 Leo Liu <sdl.web@gmail.com>
16994
1f48f7d2
LL
16995 * midnight.el (midnight-time-float): Remove. Note it calculates
16996 the microsecond component incorrectly and seconds-to-time does the
16997 same job.
625897ec 16998 Remove redundant (require 'timer).
1f48f7d2 16999
c5b40130
LL
17000 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17001 (ido-completions): Remove unused arguments. (Bug#8329)
17002
d86d2721
SM
170032011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17004
17005 * minibuffer.el (completion--flush-all-sorted-completions):
17006 Remove itself from hook.
17007 (completion-at-point): Let the functions perform the completion
17008 immediately and return nil or t.
17009 * comint.el (comint-dynamic-complete-functions): Now identical to
17010 completion-at-point-functions.
17011 (comint-dynamic-list-input-ring): Remove unused var `index'.
17012 (comint--match-partial-filename, comint--unquote&expand-filename):
17013 New funs, split from comint-match-partial-filename.
17014 (comint-dynamic-complete): Use completion-at-point.
17015 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17016
e8974c48
DA
170172011-03-24 Drew Adams <drew.adams@oracle.com>
17018
17019 * thingatpt.el: Support `defun'.
17020
def71b5e
LL
170212011-03-23 Leo Liu <sdl.web@gmail.com>
17022
cb5af48e
LL
17023 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17024
def71b5e
LL
17025 * help-mode.el (help-mode-finish): Tweak regexp.
17026
927c53e7
GM
170272011-03-23 Glenn Morris <rgm@gnu.org>
17028
18d05bed
GM
17029 * eshell/esh-opt.el (eshell-eval-using-options):
17030 Do not bind unused local variable `eshell-option-stub'.
17031
927c53e7
GM
17032 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17033
9d0da923
JB
170342011-03-22 Juanma Barranquero <lekktu@gmail.com>
17035
17036 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17037 keymap variable in `with-no-warnings' to avoid a warning when the
17038 keymap has been already `defconst'ed.
17039
4b978a67
LL
170402011-03-22 Leo Liu <sdl.web@gmail.com>
17041
17042 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17043 encode all chars in abbrevs; otherwise use emacs-mule or
17044 utf-8-emacs. (Bug#8308)
17045
5fd62452
JB
170462011-03-22 Juanma Barranquero <lekktu@gmail.com>
17047
0b1596c6
JB
17048 * simple.el (backward-delete-char-untabify):
17049 Avoid warning about using `delete-backward-char'.
17050
5fd62452
JB
17051 * image.el (image-type-file-name-regexps): Make it variable.
17052 `imagemagick-register-types' modifies it, and the user may want
17053 to add new extensions for known image types.
17054 (imagemagick-register-types): Throw error if not using ImageMagick.
17055
0b4e93f1
LL
170562011-03-22 Leo Liu <sdl.web@gmail.com>
17057
17058 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17059 located before rcirc-prompt-end-marker.
17060 (rcirc-complete): Error if point is not after rcirc prompt.
17061 Handle the case when table is nil.
9882e214 17062 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17063
fccee4ab
CY
170642011-03-22 Chong Yidong <cyd@stupidchicken.com>
17065
17066 * custom.el (custom--inhibit-theme-enable): Make it affect only
17067 custom-theme-set-variables and custom-theme-set-faces.
17068 (provide-theme): Ignore custom--inhibit-theme-enable.
17069 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17070 (custom-enabling-themes): Delete variable.
d86d2721
SM
17071 (enable-theme): Accept only loaded themes as arguments.
17072 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17073 (custom-enabled-themes): Forbid themes from setting this.
17074 Eliminate use of custom-enabling-themes.
17075 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17076
af896da6
LL
170772011-03-21 Leo Liu <sdl.web@gmail.com>
17078
17079 * ido.el (ido-read-internal): Add ido-selected to history instead
17080 of user input.
17081
78f64af0
SM
170822011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17083
17084 * subr.el (deferred-action-list, deferred-action-function):
17085 Mark obsolete.
17086
b16ac1ec
LL
170872011-03-21 Leo Liu <sdl.web@gmail.com>
17088
810f7698
LL
17089 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17090 change on 2011-02-13 (bug#8309).
17091
b16ac1ec
LL
17092 * minibuffer.el (read-file-name-function): Change default value.
17093 (read-file-name--defaults): Rename from read-file-name-defaults.
17094 (read-file-name-default): Rename from read-file-name.
17095 (read-file-name): Call read-file-name-function.
17096
4e05e67e
GM
170972011-03-21 Glenn Morris <rgm@gnu.org>
17098
17099 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17100 Doc fixes.
17101
4359915b
CY
171022011-03-21 Chong Yidong <cyd@stupidchicken.com>
17103
17104 * cus-theme.el: Add missing provide statement.
17105 (customize-create-theme): Extract theme value correctly.
17106 (custom-theme-visit-theme): Autoload.
17107 (customize-create-theme): Prompt before inserting default faces.
17108
1fe275ee
JB
171092011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17110
17111 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17112 units and musical notes.
17113
cd394be1 171142011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17115
17116 * ido.el (ido-read-internal): Use completing-read-default.
17117 (ido-completing-read): Fix compatibility with completing-read.
17118
7d476bde
CO
171192011-03-20 Christian Ohler <ohler@gnu.org>
17120
17121 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17122 (ert-delete-all-tests): Use `called-interactively-p' rather than
17123 `interactive-p'.
17124 (ert--make-xrefs-region): Respect END.
17125
fe0fb33e
CY
171262011-03-19 Chong Yidong <cyd@stupidchicken.com>
17127
ff854b0b
CY
17128 * dired-aux.el (dired-create-directory): Signal an error if the
17129 directory already exists (Bug#8246).
17130
fe0fb33e
CY
17131 * facemenu.el (list-colors-display): Call list-faces-display
17132 inside with-help-window.
17133 (list-colors-print): Use display property to align the final
17134 column, instead of checking window-width.
17135
576bce32
EZ
171362011-03-19 Eli Zaretskii <eliz@gnu.org>
17137
4d61f28d 17138 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17139 windows-nt systems.
17140 (emerge-protect-metachars): Quote correctly for ms-dos and
17141 windows-nt systems.
17142
89c41d68 171432011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17144
17145 * info.el (info-initialize): Replace all uses of `:' with
17146 path-separator for compatibility with non-Unix systems.
17147 Cache quoting of path-separator. (Bug#8258)
17148
b14e3e21 171492011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17150
17151 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17152 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17153 (mouse-avoidance-mode): Fix typos in docstrings.
17154
4525ce3e
CY
171552011-03-19 Chong Yidong <cyd@stupidchicken.com>
17156
17157 * startup.el (package-subdirectory-regexp): Move from package.el.
17158 Omit \\` and \\', and let callers add them.
17159
17160 * emacs-lisp/package.el (package-strip-version)
17161 (package-load-all-descriptors): Add \\` and \\' to
17162 package-subdirectory-regexp before using it.
17163 (package-untar-buffer): New arg DIR; ensure that file untars only
17164 into this expected directory. Remove superfluous delete-region.
17165 (package-unpack): Caller changed.
17166 (package-tar-file-info): Use package-subdirectory-regexp.
17167
a904a09a 171682011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17169
a904a09a
SM
17170 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17171 diff-mode-shared-map (bug#8284).
17172 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17173
171742011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17175
17176 * calendar/time-date.el (format-seconds): Use assoc instead of
17177 assoc-string, since assoc-string doesn't exist in XEmacs.
17178
171fc304
JB
171792011-03-17 Juanma Barranquero <lekktu@gmail.com>
17180
17181 * custom.el (custom-known-themes): Reflow docstring.
17182 (custom-theme-load-path): Fix typo in docstring.
17183 (load-theme): Fix typo in error message.
17184 (custom-available-themes, custom-variable-theme-value):
17185 Use `let', not `let*'.
17186
d71990a1
JB
171872011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17188
17189 * calc/README: Mention inclusion of musical notes.
17190
17191 * calc/calc-units.el (calc-lu-quant): Rename from
17192 `calc-logunits-quantity'.
17193 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17194 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17195 (calc-db): Rename from `calc-dblevel'.
17196 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17197 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17198 (calc-np): Rename from `calc-nplevel'.
17199 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17200 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17201 (calc-lu-plus): Rename from `calc-logunits-add'.
17202 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17203 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17204 (calc-lu-minus): Rename from `calc-logunits-sub'.
17205 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17206 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17207 (calc-lu-times): Rename from `calc-logunits-mul'.
17208 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17209 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17210 (calc-lu-divide): Rename from `calc-logunits-div'.
17211 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17212 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17213
17214 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17215 functions being autoloaded.
17216
17217 * calc/calc.el (calc-lu-power-reference): Rename from
17218 `calc-logunits-power-reference'.
17219 (calc-lu-field-reference): Rename from
17220 `calc-logunits-field-reference'.
17221
7a71b18d
GM
17222 * calc/calc-help.el (calc-l-prefix-help):
17223 Mention musical note functions.
d71990a1 17224
40c2934b
SM
172252011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17226
17227 * minibuffer.el (completion-all-sorted-completions):
17228 Use :completion-cycle-penalty text property if present.
17229
b0911414
KM
172302011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17231
17232 * allout.el (allout-yank-processing): Adjust for new rebulleting
17233 regime so bullet being yanked is used without prompting the user
17234 for a choice.
17235
8a05b668
JB
172362011-03-16 Juanma Barranquero <lekktu@gmail.com>
17237
17238 * startup.el (command-line): Warn the user that _emacs is deprecated.
17239
5ba5fb81
JB
172402011-03-16 Juanma Barranquero <lekktu@gmail.com>
17241
17242 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17243 (delphi-verbose, delphi-comment-face, delphi-string-face)
17244 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17245 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17246 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17247 (delphi-new-comment-line, delphi-font-lock-defaults)
17248 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17249 Fix typos in docstrings.
17250
2dab465b
KM
172512011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17252
5ba5fb81 17253 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17254 Invert the roles of character and string values for INSTEAD, so a
17255 string is used for the more common case of a defaulting prompt.
17256
0adf5618
SM
172572011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17258
17259 * progmodes/ruby-mode.el (ruby-backward-sexp):
17260 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17261 * play/gamegrid.el (gamegrid-make-face):
17262 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17263 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17264 * notifications.el (notifications-notify):
17265 * net/xesam.el (xesam-search-engines):
17266 * net/quickurl.el (quickurl-list-insert):
17267 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17268
d72700e5
CY
172692011-03-15 Chong Yidong <cyd@stupidchicken.com>
17270
17271 * startup.el (command-line): Update package subdirectory regexp.
17272
49c5410a
SM
172732011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17274
c6eee9aa
SM
17275 * allout.el (allout-abbreviate-flattened-numbering)
17276 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17277
49c5410a
SM
17278 * subr.el (read-char-choice): Only show the cursor after the prompt,
17279 not after the answer.
17280
047b2bb9
KR
172812011-03-15 Kevin Ryde <user42@zip.com.au>
17282
17283 * help-fns.el (variable-at-point): Skip leading quotes, if any
17284 (bug#8253).
17285
0a57d256
SM
172862011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17287
17288 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17289 warning message.
17290
77c992bc
MA
172912011-03-14 Michael Albinus <michael.albinus@gmx.de>
17292
17293 * shell.el (shell): When called interactively, offer to change the
17294 shell file name on remote hosts.
17295
eebc475d
TZ
172962011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17297
17298 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17299 integration for LDAP parameters. The host, base, user or binddn,
17300 and secret tokens can be specified in a netrc file, for instance.
17301 This is optional because an `auth-source' parameter must be
17302 specified in the search attributes.
17303
9d05d1ba
JB
173042011-03-13 Juanma Barranquero <lekktu@gmail.com>
17305
17306 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17307
09d9db2c
GM
173082011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17309
17310 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17311 into declaration. Remove redundant and harmful binding.
17312
173132011-03-12 Eli Zaretskii <eliz@gnu.org>
17314
17315 * files.el (file-ownership-preserved-p): Pass `integer' as an
17316 explicit 2nd argument to `file-attributes'. If the file's owner
17317 is the Administrators group on Windows, and the current user is
17318 Administrator, consider that a match.
17319
17320 * server.el (server-ensure-safe-dir): Consider server directory
17321 safe on MS-Windows if its owner is the Administrators group while
17322 the current Emacs user is Administrator. Use `=' to compare
17323 numerical UIDs, since they could be integers or floats.
17324
219bd536
JB
173252011-03-12 Juanma Barranquero <lekktu@gmail.com>
17326
17327 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17328
f3afd36b
MA
173292011-03-12 Michael Albinus <michael.albinus@gmx.de>
17330
17331 Sync with Tramp 2.2.1.
17332
17333 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17334
17335 * net/trampver.el: Update release number.
17336
3aaaa6f1
SM
173372011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17338
94642599
SM
17339 * progmodes/compile.el (compilation--previous-directory): Fix up
17340 various nil/dead-marker mismatches (bug#8014).
17341 (compilation-directory-properties, compilation-error-properties):
17342 Don't call it at a position past the one we're about to change.
17343
3aaaa6f1
SM
17344 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17345 Disable obsolescence warnings in the file that declares it.
17346
14239447
KM
173472011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17348
099c39a4
JB
17349 * allout-widgets.el (allout-widgets-tally):
17350 Initialize allout-widgets-tally as a hash table rather than nil to
17351 prevent mode-line redisplay warnings. Also, clarify the module
17352 description and fix a comment typo.
14239447 17353
135e287c
JB
173542011-03-11 Juanma Barranquero <lekktu@gmail.com>
17355
17356 * help-fns.el (describe-variable): Don't complete keywords.
17357 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17358
ffbf300e
CY
173592011-03-10 Chong Yidong <cyd@stupidchicken.com>
17360
ba08b241
CY
17361 * emacs-lisp/package.el (package-version-join): Impose a standard
17362 string representation for pre/alpha/beta version lists.
17363 (package-unpack-single): Standardize the directory name by passing
17364 it through package-version-join.
17365 (package-strip-rcs-id): Accept any version string that does not
17366 signal an error in version-to-list.
ffbf300e 17367
f346fd6b
MA
173682011-03-10 Michael Albinus <michael.albinus@gmx.de>
17369
17370 * simple.el (delete-trailing-whitespace): Return nil for the
17371 benefit of `write-file-functions'.
17372
ccb55d27
GM
173732011-03-10 Glenn Morris <rgm@gnu.org>
17374
5ceaac0c
GM
17375 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17376
02da65ff
GM
17377 * vc/vc-git.el (vc-git-program): New option.
17378 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17379 (vc-git--call): Use it.
17380
b2f603cc
GM
17381 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17382
5772caab
GM
17383 * cus-edit.el (Custom-newline): If no button at point, look
17384 for a subgroup button at start-of-line. (Bug#2298)
17385
ccb55d27
GM
17386 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17387
ec6ecaed
JD
173882011-03-10 Julien Danjou <julien@danjou.info>
17389
17390 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17391 `cursor-type' is nil.
17392
9d5aa01d
JB
173932011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17394
17395 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17396
b6a5875b
KM
173972011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17398
7a71b18d 17399 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17400 preserves the existing header prefix, rebulleting it if necessary,
17401 rather than replacing it. This is necessary for proper operation
17402 of cooperative addons like allout-widgets.
1154d12e
JB
17403 (allout-make-topic-prefix, allout-rebullet-heading):
17404 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17405 value as alternate bullet to be used, instead of prompting the user
17406 for a bullet character.
b6a5875b 17407
ee545c35
MA
174082011-03-09 Michael Albinus <michael.albinus@gmx.de>
17409
d86d2721
SM
17410 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17411 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17412 `tramp-default-port'.
17413
c47971d7
DD
174142011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17415
17416 * net/rcirc.el (rcirc-handler-001): Remove useless
17417 with-rcirc-process-buffer.
17418 (rcirc-check-auth-status): Swap arguments to string-match.
17419
13522cb4
GM
174202011-03-09 Glenn Morris <rgm@gnu.org>
17421
0be6f4f1
GM
17422 * shell.el (shell-mode):
17423 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17424
13522cb4
GM
17425 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17426 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17427
515de2e3
CY
174282011-03-08 Chong Yidong <cyd@stupidchicken.com>
17429
17430 * emacs-lisp/package.el (package-refresh-contents)
17431 (package-menu-execute): Use condition-case-no-debug.
17432
b511b994
MA
174332011-03-08 Michael Albinus <michael.albinus@gmx.de>
17434
17435 * simple.el (shell-command-to-string): Use `process-file'.
17436
17437 * emacs-lisp/package.el (package-tar-file-info): Handle also
17438 remote files.
17439
d86d2721
SM
17440 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17441 Use `equal' for upload base check.
b511b994 17442
25bbfb31
AM
174432011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17444
17445 * textmodes/texinfo.el (texinfo-environments):
17446 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17447
be996521
GM
174482011-03-08 Glenn Morris <rgm@gnu.org>
17449
e9c8529f
GM
17450 * cus-start.el (cursor-in-non-selected-windows):
17451 Fix :set quoting oddness. (Bug#8192)
17452
be996521
GM
17453 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17454 in some setf expressions. (Bug#2159)
17455
2bb5649e
CY
174562011-03-08 Chong Yidong <cyd@stupidchicken.com>
17457
17458 * custom.el (custom-available-themes): Return themes in
17459 alphabetical order.
17460
33383987 17461See ChangeLog.15 for earlier changes.
e3d51b27
MR
17462
17463;; Local Variables:
17464;; coding: utf-8
e3d51b27
MR
17465;; End:
17466
acaf905b 17467 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17468
17469 This file is part of GNU Emacs.
17470
17471 GNU Emacs is free software: you can redistribute it and/or modify
17472 it under the terms of the GNU General Public License as published by
17473 the Free Software Foundation, either version 3 of the License, or
17474 (at your option) any later version.
17475
17476 GNU Emacs is distributed in the hope that it will be useful,
17477 but WITHOUT ANY WARRANTY; without even the implied warranty of
17478 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17479 GNU General Public License for more details.
17480
17481 You should have received a copy of the GNU General Public License
17482 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.