* descr-text.el (describe-char): Put the overlays over the
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
9229c658
AS
12012-08-12 Andreas Schwab <schwab@linux-m68k.org>
2
3 * descr-text.el (describe-char): Put the overlays over the
4 "displayed as" character.
5
0fd09128
JB
62012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
7
8 * calc/calc-units.el (math-default-units-table): Give an
9 initial value.
10 (math-put-default-units): Add options to put composite units and
11 unit systems in the default units table.
12 (calc-convert-units): Send composite units to
13 `math-put-default-units' when appropriate.
14
9ff9402d 152012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 16
fbb5e336
GM
17 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
18
7aacaf15
GM
19 * tutorial.el (help-with-tutorial):
20 * emacs-lisp/copyright.el (copyright-update-directory):
21 * emacs-lisp/autoload.el (autoload-find-generated-file)
22 (autoload-find-file): Disable local eval: (for insurance).
23
f40b9f10
GM
24 * files.el (hack-local-variables-filter): If an eval: form is not
25 known to be safe, and enable-local-variables is :safe, then ignore
26 the form totally, as is done for non-eval forms. (Bug#12155)
27
daa9f1a6
SM
282012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
29
30 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
31 (rx-form): Simplify.
32
9cd80478
DG
332012-08-09 Dmitry Gutov <dgutov@yandex.ru>
34
35 Merge stuff from upsteam ruby-mode, part 1 (bug#12169).
36 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
37 binding (use `M-;' instead).
38 (ruby-expr-beg, ruby-parse-partial): ?, _, and : are symbol
39 constituents, ! is not (but kinda should be).
40 (ruby-singleton-class-p): New function.
41 (ruby-expr-beg, ruby-in-here-doc-p)
42 (ruby-syntax-propertize-heredoc): Use it.
43 (ruby-syntax-propertize-function): Adjust for changes in
44 `ruby-syntax-propertize-heredoc'.
45
d301b413
SM
462012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
47
48 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
49
1530c98e
CY
502012-08-10 Chong Yidong <cyd@gnu.org>
51
52 * progmodes/python.el (python-shell-get-process-name): Don't mess
53 with same-window-buffer-names.
54
55 * eshell/eshell.el (eshell-add-to-window-buffer-names)
56 (eshell-remove-from-window-buffer-names): Make obsolete.
57 (eshell-buffer-name, eshell-unload-hook): Don't use them.
58 (eshell): Just use pop-to-buffer-same-window instead.
59
e1293765
CY
602012-08-10 Chong Yidong <cyd@gnu.org>
61
62 * bindings.el: Bind M-= back to count-words-region.
63
64 * simple.el (count-words-region): Accept a prefix arg for acting
65 on the entire buffer.
66 (count-words--buffer-message): New helper function.
67
e1894109
SM
682012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
69
70 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
71 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
72 (event-start, event-end): Use posn-at-point to return a more
73 informative posn.
74 (posnp): New function.
75 * mouse.el (popup-menu-normalize-position): Use it.
76
c69f56a2
MY
772012-08-10 Masatake YAMATO <yamato@redhat.com>
78
79 * mouse.el (popup-menu-normalize-position): New function.
80 (popup-menu): Use `popup-menu-normalize-position' to normalize
81 the form for POSITION argument.
82
83 * term/x-win.el (x-menu-bar-open):
84 Use the value returend from (posn-at-point) as position
85 passed to `popup-menu'.
86
31673780
JB
872012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
88
89 * calc/calccomp.el (math-compose-expr): Add extra argument
90 indicating that parentheses should be put around products in
91 denominators. Give multiplication precedence over division during
92 composition.
93
dab7711b
CY
942012-08-09 Chong Yidong <cyd@gnu.org>
95
dee4ef93
CY
96 * man.el (Man-switches, Man-sed-command, Man-awk-command)
97 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
98 (Man-untabify-command, manual-program): Convert to defcustom
99 (Bug#10429).
100
73e2bbc5
CY
101 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
102
3e861c8a
CY
103 * descr-text.el (describe-char): Don't insert extra newlines
104 (Bug#10127).
105
a9f5a649
CY
106 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
107 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
108
dab7711b
CY
109 * align.el (align-region): Delete temporary markers (Bug#10047).
110 Plus some code cleanups.
111
e0cc4efa
FEG
1122012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
113
114 * progmodes/python.el (python-pdbtrack-tracked-buffer)
115 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
116 (python-shell-internal-last-output): Use make-local-variable
117 instead of make-variable-buffer-local.
118
489af14f
FEG
1192012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
120
121 * progmodes/python.el: Enhancements to forward-sexp.
122 (python-nav-forward-sexp): Rename from
123 python-nav-forward-sexp-function.
c69f56a2
MY
124 (python-nav--forward-sexp, python-nav--backward-sexp):
125 New functions.
489af14f 126
0fc50303
JB
1272012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
128
129 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
130 modes and simplification modes.
131
5d65606a
SM
1322012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
133
134 * delsel.el (delete-selection-pre-hook): Don't propagate the
135 file-supersession signals (bug#12161).
136
4250fdf5
SM
1372012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
138
139 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
140 (cl-map-extents): Add compatibility aliases (bug#12135).
141
d9f9b465
MA
1422012-08-08 Michael Albinus <michael.albinus@gmx.de>
143
144 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
145 tests by `ignore-error'.
146 (tramp-find-shell): Open also a new shell, when cache is already
147 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
148
ce0fcefa
JL
1492012-08-08 Juri Linkov <juri@jurta.org>
150
151 * bookmark.el: Add `defaults' property to the bookmark record.
152 (bookmark-current-buffer): Doc fix.
153 (bookmark-make-record): Add `defaults' property with default values
154 to the bookmark record.
155 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
156 with `bookmark-insert-current-bookmark'.
157 (bookmark-set): Get `defaults' property from the bookmark record
158 and use it in `read-from-minibuffer'.
159 (bookmark-insert-current-bookmark): Remove function.
160
161 * info.el (Info-bookmark-make-record): Add `defaults' property
162 with values of canonical Info node name, the current Info file
163 name and the current Info node name. (Bug#12107)
164
53fa8652
JL
1652012-08-08 Juri Linkov <juri@jurta.org>
166
167 * files.el (basic-save-buffer): Use `buffer-name' as the default
168 of `read-file-name' when buffer is not visiting a file (bug#12128).
169
242c0a95
JL
1702012-08-08 Juri Linkov <juri@jurta.org>
171
172 * info.el (Info-isearch-search): Doc fix.
173 (Info-search): Change search-failed message from "initial node" to
174 "end of node" (bug#12078).
175 (Info-isearch-search): Change `isearch-string-state' to
176 `isearch--state-string'.
177
32ac3a6b
GM
1782012-08-08 Glenn Morris <rgm@gnu.org>
179
180 * language/persian.el: Remove file.
f8c1afd5 181 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
182 * loadup.el: Remove language/persian.
183
2c2d9c9c
OF
1842012-08-08 Óscar Fuentes <ofv@wanadoo.es>
185
186 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
187
2d79ec42
FEG
1882012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
189
190 * progmodes/python.el Fixed defsubst warning.
191 (python-syntax-context) Rename from python-info-ppss-context.
192 (python-syntax-context-type): Rename from
193 python-info-ppss-context-type.
194 (python-syntax-comment-or-string-p): Rename from
195 python-info-ppss-comment-or-string-p.
196
2bd255dd
JB
1972012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
198
199 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
200
c395097f
AS
2012012-08-07 Andreas Schwab <schwab@linux-m68k.org>
202
6125983e
AS
203 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
204 a defcustom that is quoted with backquote.
205
4250fdf5
SM
206 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
207 Fix handling of interactive spec when the body uses return.
651eaf36
AS
208 (math-do-arg-check, math-define-function-body): Use backquote forms.
209 * calc/calc-ext.el (math-defcache): Likewise.
210 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
211 * allout.el (allout-new-exposure): Likewise.
212 * calc/calcalg2.el (math-tracing-integral): Likewise.
213 * info.el (Info-last-menu-item): Likewise.
214 * emulation/vip.el (vip-loop): Likewise.
215 * textmodes/artist.el (artist-funcall): Likewise.
216 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
217 Construct menu-item directly.
218
4250fdf5
SM
219 * progmodes/autoconf.el (font-lock-syntactic-keywords):
220 Don't declare.
c395097f 221
5fb50dd3
CY
2222012-08-07 Chong Yidong <cyd@gnu.org>
223
224 * simple.el (deactivate-mark): Preserve text properties when
225 saving the primary selection (Bug#8384).
226
54eea618
KR
2272012-08-07 Kevin Ryde <user42@zip.com.au>
228
229 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
230 (woman-parse-numeric-value): On a bad .IP line, issue a warning
231 and continue processing (Bug#12110).
232
638eaeb9
SM
2332012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
234
235 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
236 syntax-propertize-function (bug#10095).
237
ea376861
SM
2382012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
239
f91b35be
SM
240 * help-fns.el (help-fns--key-bindings, help-fns--signature)
241 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
242 describe-function-1.
243 (describe-function-1): Use them. Move compiler macro after sig.
244 (help-fns--compiler-macro): Use function-get. Assume we're already in
245 standard-output. Adjust layout to new call order.
246
ea376861
SM
247 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
248 re-binding a symbol that has a symbol-macro (bug#12119).
249
d5be7bd0
MB
2502012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
251
252 * language/persian.el: New file. (Bug#11812)
253 * loadup.el: Add language/persian.el.
254
90749b53
CY
2552012-08-06 Chong Yidong <cyd@gnu.org>
256
257 * window.el (window--maybe-raise-frame): New function.
258 (window--display-buffer): Split off from here.
259 (display-buffer-reuse-window, display-buffer-pop-up-frame)
260 (display-buffer-pop-up-window, display-buffer-use-some-window):
261 Obey an inhibit-switch-frame action alist entry.
262 (display-buffer): Update doc.
263
264 * replace.el (occur-after-change-function): Avoid losing focus by
265 using the inhibit-switch-frame display parameter (Bug#12139).
266
ba7b0154
FEG
2672012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
268
269 Make internal shell process buffer names start with space.
270 * progmodes/python.el (python-shell-make-comint): Add optional
271 argument INTERNAL.
272 (run-python-internal): Use it.
273 (python-shell-internal-get-or-create-process): Check for new
274 internal buffer names.
275
5eaeacb5
GM
2762012-08-06 Glenn Morris <rgm@gnu.org>
277
e296d94b 278 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
279 Do less getting and setting of environment variables.
280
b7ccbdc2
CY
2812012-08-05 Chong Yidong <cyd@gnu.org>
282
777fe95e
CY
283 * proced.el (proced): Add substitution string to docstring to
284 trigger autoloading of the proced library on C-h f (Bug#1768).
285
4250fdf5
SM
286 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
287 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
288
289 * imenu.el (imenu-generic-expression): Move documentation here
290 from imenu--generic-function.
291 (imenu--generic-function): Refer to imenu-generic-expression.
292
9e3b7800 2932012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
294
295 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
296 indentation declaration.
297 (viper-loop): Add indentation declaration (Bug#7025).
298
e5d9c0d1
CY
2992012-08-05 Chong Yidong <cyd@gnu.org>
300
f0422feb
CY
301 * help-fns.el (describe-variable): Add hyperlink for
302 directory-local variables files. Improve buffer-local and
303 permanent-local reporting; suggested by MON KEY (Bug#6644).
304
305 * help-mode.el (help-dir-local-var-def): New button type.
306
e5d9c0d1
CY
307 * files.el (kill-buffer-hook): Provide a defvar.
308
a4f2deaa
GM
3092012-08-05 Glenn Morris <rgm@gnu.org>
310
311 * eshell/esh-ext.el (eshell/addpath):
312 Also update eshell-path-env. (Bug#12013)
313
a9dd5754
CY
3142012-08-05 Chong Yidong <cyd@gnu.org>
315
a4f2deaa 316 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 317
d014c740
CY
318 * fringe.el (fringe-styles): Add docstring.
319 (fringe--check-mode): New function.
320 (set-fringe-mode, set-fringe-style): Use it.
321 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
322
a9dd5754
CY
323 * files.el (set-auto-mode): Fix invalid setq call.
324
7c2dc8bd
SM
3252012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
326
327 * isearch.el: Misc simplification; use defstruct.
328 (isearch-mode-map): Dense maps now work like sparse ones.
329 (isearch--state): New defstruct.
330 (isearch-string-state, isearch-message-state, isearch-point-state)
331 (isearch-success-state, isearch-forward-state)
332 (isearch-other-end-state, isearch-word-state, isearch-error-state)
333 (isearch-wrapped-state, isearch-barrier-state)
334 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
335 replaced by defstruct's accessors.
336 (isearch--set-state): Rename from isearch-top-state and change
337 calling convention.
338 (isearch-push-state): Use new isearch--get-state.
339 (isearch-toggle-word): Disable regexp when enabling word.
340 (isearch-message-prefix): Remove unused arg _c-q-hack.
341 (isearch-message-suffix): Remove unused arg _ellipsis.
342
7fcc0070
AS
3432012-08-04 Andreas Schwab <schwab@linux-m68k.org>
344
345 * simple.el (list-processes--refresh): For a server use :host or
346 :local as the address.
97ad0769 347 (list-processes): Doc fix.
7fcc0070 348
00340faf
MN
3492012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
350
351 * lisp/mpc.el: Support password in host argument.
352 (mpc--proc-connect): Parse and use new password element.
353 Set mpc-proc variable instead of returning process.
354 (mpc-proc): Adjust accordingly.
355
6dad7178
EZ
3562012-08-03 Eli Zaretskii <eliz@gnu.org>
357
18949c2f
EZ
358 * whitespace.el (whitespace-display-mappings): Use Unicode
359 codepoints, instead of emacs-mule codepoints. See
360 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
361 for the details.
362
6dad7178
EZ
363 * files.el (file-truename): Don't skip symlink-chasing part on
364 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
365 Windows into the loop that recursively chases symlinks.
366 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
367 MS-DOS.
368
385b0198
CY
3692012-08-03 Chong Yidong <cyd@gnu.org>
370
6200f3c4
CY
371 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
372
385b0198
CY
373 * sort.el (sort-regexp-fields): Doc fix.
374
b9e74744
TH
3752012-08-03 Tassilo Horn <tsdh@gnu.org>
376
377 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
378 labels regex position point at the expected place.
379
41013cb4
MK
3802012-08-03 MON KEY <monkey@sandpframing.com>
381
382 * net/imap.el (imap-interactive-login, imap-authenticate)
383 (imap-mailbox-lsub, imap-mailbox-list)
384 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
385 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
386 (imap-parse-response): Doc fix.
387
0ffee616
JT
3882012-08-03 João Távora <joaotavora@gmail.com>
389
390 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
391 if sexp scanning does not move point (Bug#5734).
392
cfcc9cc8
TH
3932012-08-02 Tassilo Horn <tsdh@gnu.org>
394
395 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
396 Add listings, minted, and ctable packages.
397 (reftex-label-alist-builtin): Move listings, minted, and ctable
398 entries before LaTeX.
a01bbb84 399 (reftex-label-alist): Docfix.
cfcc9cc8 400
66ec2442
BG
4012012-08-02 Bastien Guerry <bzg@gnu.org>
402
403 * replace.el (occur): Fix docstring (bug#12122).
404
837b365b
GM
4052012-08-02 Glenn Morris <rgm@gnu.org>
406
407 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
408
e098de97
PE
4092012-08-02 Paul Eggert <eggert@cs.ucla.edu>
410
411 Obsolete alias inactivate-current-input-method-function (Bug#10150).
412 * international/mule-cmds.el: Create
413 inactivate-current-input-method-function as an obsolete alias for
414 deactivate-current-input-method-function. See Katsumi Yamaoka in
415 <http://bugs.gnu.org/10150#46>.
416
a0f95636
JB
4172012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
418
419 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
420 of nested `if's.
421
0d26d7c4
GM
4222012-08-01 Glenn Morris <rgm@gnu.org>
423
424 * progmodes/autoconf.el (autoconf-definition-regexp):
425 Add AH_TEMPLATE, adjust submatch numbering.
426 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
427 (autoconf-current-defun-function): Update for above change.
428 (autoconf-current-defun-function): First skip to end of current word.
429
b686ba06
RS
4302012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
431
432 * calendar/cal-html.el (cal-html-insert-agenda-days):
433 Fix typo. (Bug#12018)
434
0d49da68
FEG
4352012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
436
437 Shell processes: enhancements to startup and CEDET compatibility.
438 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
439 (python-shell-make-comint): accept-process-output at startup.
440 (run-python-internal): Set inferior-python-mode-hook to nil.
441 (python-shell-internal-get-or-create-process): call sit-for.
442 (python-preoutput-result): Add obsolete alias.
443 (python-shell-internal-send-string): Use it.
444 (python-shell-send-setup-code): Remove call to
445 accept-process-output.
446
f1a71c6e
AS
4472012-07-31 Andreas Schwab <schwab@linux-m68k.org>
448
449 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
450 (Bug#12108)
451
d2605269
JB
4522012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
453
454 * calc-mode.el (calc-basic-simplification-mode): Rename from
455 `calc-limited-simplification-mode'.
456 (calc-alg-simplification-mode): New function.
d66060f8 457 (calc-set-simplify-mode): Adjust message.
f1a71c6e 458
d2605269
JB
459 * calc.el (calc-set-mode-line): Adjust mode line display for
460 basic simplification mode.
461
462 * calc-help.el (calc-m-prefix-help): Update help message.
463
464 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
465 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
466
a3827a43
BG
4672012-07-31 Bastien Guerry <bzg@gnu.org>
468
469 * man.el (man): Fix comment. (bug#12101)
470
502e3f89
MR
4712012-07-31 Martin Rudalics <rudalics@gmx.at>
472
473 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
474 Don't return a non-nil value when no suitable buffer was found.
475
d7714961
FEG
4762012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
477
478 * progmodes/python.el (run-python-internal): Disable font lock for
479 internal shells.
480
1f45e27e
SM
4812012-07-30 Stefan Merten <smerten@oekonux.de>
482
483 * rst.el: Silence `checkdoc-ispell'.
484 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
485 (rst-official-version, rst-official-cvs-rev)
486 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
487 (rst-mode-map): New key binding.
488
0aee6912
PE
4892012-07-30 Paul Eggert <eggert@cs.ucla.edu>
490
491 Update .PHONY listings in makefiles.
492 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
493 autoloads, update-subdirs, updates, bzr-update, update-authors,
494 compile-onefile, compile-calc, backup-compiled-files,
495 compile-after-backup, compile-one-process, mh-autoloads,
496 bootstrap-clean, distclean, maintainer-clean.
497
9052f9f0
JB
4982012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
499
1823ac5a
JB
500 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
501 (calc-set-mode-line): Don't display "AlgSimp ".
502
503 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
504 (calc-lim-simplify-mode): New function.
505 (calc-set-simplify-mode): Default to 'alg.
506 (calc-default-simplify-mode): Make algebraic simplifications
507 the default.
508
509 * calc/calc-ext.el (calc-init-extensions): Remove binding for
510 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
511
8d7c7eed 512 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
513 indicate new simplification modes.
514
1823ac5a
JB
515 * calc/README: Mention new default simplification mode.
516
9052f9f0
JB
517 * calc/calc.el (math-normalize-error): New variable.
518 (math-normalize): Set `math-normalize-error' to t
519 when there's an error.
520
521 * calc/calc-alg.el (math-simplify): Don't simplify when
522 `math-normalize' returns an error.
523
20ba0cb4
EZ
5242012-07-29 Eli Zaretskii <eliz@gnu.org>
525
526 * international/mule-cmds.el (set-locale-environment): Revert last
527 change, since display-graphic-p returns nil when this function is
528 called during startup. Instead...
529
530 * term/w32console.el (terminal-init-w32console): ...setup the
531 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
532
a5dcc929
JL
5332012-07-29 Juri Linkov <juri@jurta.org>
534
535 * simple.el (goto-line): Don't display default line number in the
536 prompt because it should be displayed by `read-number' (bug#9952).
537 Add the current line number to the defaults of `goto-line' to
538 allow its easier modification by users with `M-n' (bug#9201).
539
540 * subr.el (read-number): Support multiple default values like in
541 other minibuffer reading functions. Replace `read' with
542 `string-to-number' for consistency with `number-to-string'.
543
72b255c7
PE
5442012-07-29 Paul Eggert <eggert@cs.ucla.edu>
545
546 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
547 * emulation/viper-init.el (viper-deactivate-input-method-action):
548 Rename from viper-inactivate-input-method-action.
549 (viper-deactivate-input-method):
550 Rename from viper-inactivate-input-method.
551 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
552 * international/mule-cmds.el (deactivate-input-method):
553 Rename from inactivate-input-method.
554 Also run input-method-deactivate-hook.
555 (deactivate-current-input-method-function):
556 Rename from inactivate-current-input-method-function.
557 (input-method-deactivate-hook): New hook.
558 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
559 (inactivate-input-method): Mark obsolete.
560
72b255c7
PE
561 * international/quail.el (quail-activate):
562 Also run quail-deactivate-hook.
563 (quail-deactivate): Rename from quail-inactivate.
564 * international/robin.el (robin-activate):
565 Also run robin-deactivate-hook.
566 (robin-deactivate): Rename from robin-inactivate.
567
2549c068
CY
5682012-07-29 Chong Yidong <cyd@gnu.org>
569
570 * simple.el (indicate-copied-region): New function.
571 (kill-ring-save): Split off from here.
572
573 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
574 (kill-rectangle): Set deactivate-mark to t on read-only error.
575
576 * register.el (copy-to-register, copy-rectangle-to-register):
577 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
578 (append-to-register, prepend-to-register):
579 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
580
581 * simple.el (async-shell-command-buffer): New defcustom.
582 (shell-command): Use it. (Bug#4719)
583
01bd1b0d
EZ
5842012-07-28 Eli Zaretskii <eliz@gnu.org>
585
586 * international/mule-cmds.el (set-locale-environment): In a
587 console session on MS-Windows, set up keyboard and terminal
588 encoding from the OEM codepage, not the ANSI codepage.
589 (Bug#12055)
590
a55739d3
CY
5912012-07-28 Chong Yidong <cyd@gnu.org>
592
593 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
594 gdb-get-location.
595
0e1a094f 5962012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
597
598 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
599 the alist (bug#12029).
600
20329d73
EZ
6012012-07-28 Eli Zaretskii <eliz@gnu.org>
602
603 * makefile.w32-in (custom-deps, finder-data, updates, compile)
604 (compile-always, compile-first)
605 ($(lisp)/calendar/cal-loaddefs.el)
606 ($(lisp)/calendar/diary-loaddefs.el)
607 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
608 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
609 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
610 instead of on update-subdirs.
611 (bootstrap-clean): Delete $(lisp)/subdirs.el.
612
345a2258
CY
6132012-07-28 Chong Yidong <cyd@gnu.org>
614
1eee6341
CY
615 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
616 directory if vc-deduce-backend returns nil (Bug#7350).
617
345a2258
CY
618 * simple.el (delete-trailing-lines): New option.
619 (delete-trailing-whitespace): Obey it (Bug#11879).
620
049a0936
DE
6212012-07-28 David Engster <deng@randomsample.de>
622
623 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
624 Explanation of new 'symbol-qnames feature in doc-strings.
625 (xml-maybe-do-ns): Return expanded names as plain symbols if
626 'symbol-qnames was provided in XML-NS argument (Bug#11916).
627 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
628
aa81af71
FEG
6292012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
630
631 Consistent completion in inferior python with emacs -nw.
632 * progmodes/python.el (inferior-python-mode): replace "<tab>"
633 binding in inferior-python-mode-map with "\t".
634 (python-shell-completion-complete-at-point)
635 (python-completion-complete-at-point): Remove interactive spec.
636
e827b1eb
JB
6372012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
638
639 * calc/calccomp.el (math-compose-expr): Undo previous change.
640
a90dfb95
FEG
6412012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
642
4250fdf5 643 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
644 run-python.
645 (python-shell-make-comint): Fix pop-to-buffer call.
646 (run-python): Autoload. New arg SHOW.
647 (python-shell-get-or-create-process): Do not pop python process
648 buffer.
649
32770973 6502012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
651
652 * notifications.el (notifications-on-action-signal)
653 (notifications-on-closed-signal): Use also the bus address for the map.
654 (notifications-notify, notifications-close-notification)
655 (notifications-get-capabilities): Add optional argument BUS.
656
86332df2
TH
6572012-07-27 Tassilo Horn <tsdh@gnu.org>
658
4250fdf5
SM
659 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
660 Add support for the lstlisting and minted environments, and for the
86332df2
TH
661 ctable macro.
662 * textmodes/reftex.el (reftex-compile-variables): Also recognize
663 labels written in keyvals syntax.
664
ca1302a4
JB
6652012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
666
667 * calc/calccomp.el (math-compose-expr): Use parentheses when
668 there is a product in the denominator of a fraction.
669
f8b91036
EZ
6702012-07-26 Eli Zaretskii <eliz@gnu.org>
671
672 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
673 ($(lisp)/calendar/diary-loaddefs.el)
674 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
675 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
676 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
677 rewritten while the autoload files are built at the same time,
678 which needs to load subdirs.el.
679
c8e5a42c
MR
6802012-07-26 Martin Rudalics <rudalics@gmx.at>
681
682 * mouse.el (popup-menu): Fix doc-string and re-indent code.
683 (mouse-drag-line): Don't exit tracking when a switch-frame or
684 switch-window event occurs (Bug#12006).
685
670d85ea
SM
6862012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
687
688 * mouse.el (popup-menu): Fix last change.
689
7abaf5cc
SM
6902012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
691
692 Autoload from Lisp with more care. Follow aliases when looking for
693 function properties.
694 * subr.el (autoloadp): New function.
695 (symbol-file): Use it.
696 (function-get): New function.
697 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
698 autoload-do-load.
699 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
700 (lisp-indent-function):
701 * emacs-lisp/gv.el (gv-get):
702 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
703 * emacs-lisp/byte-opt.el (byte-optimize-form):
704 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
705 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
706 Use function-get.
707 * emacs-lisp/cl.el: Don't propagate function properties any more.
708
709 * speedbar.el (speedbar-add-localized-speedbar-support):
710 * emacs-lisp/disass.el (disassemble-internal):
711 * desktop.el (desktop-load-file):
712 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
713 (describe-function-1):
714 * emacs-lisp/find-func.el (find-function-noselect):
715 * emacs-lisp/elp.el (elp-instrument-function):
716 * emacs-lisp/advice.el (ad-has-proper-definition):
717 * apropos.el (apropos-safe-documentation, apropos-macrop):
718 * emacs-lisp/debug.el (debug-on-entry):
719 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
720 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
721 * calc/calc.el (name): Use autoloadp & autoload-do-load.
722
b1364986
AA
7232012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
724
725 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
726 function, not an obsolete variable (Bug#12046).
727
67ada220
AS
7282012-07-25 Andreas Schwab <schwab@linux-m68k.org>
729
730 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
731
f08088e3
CS
7322012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
733
734 * emacs-lisp/pp.el (pp-display-expression): Select old selected
735 window only if it is still live (Bug#12034).
736
8137e7b3
MR
7372012-07-25 Martin Rudalics <rudalics@gmx.at>
738
739 * subr.el (redirect-frame-focus): Add advertised calling
740 convention (Bug#12030).
741
09ae5da1
PE
7422012-07-25 Paul Eggert <eggert@cs.ucla.edu>
743
744 Prefer typical American spelling for "acknowledgment".
745 * vc/add-log.el (change-log-acknowledgment): Rename from
746 change-log-acknowledgement, with an alias for the old name.
747
3cc5a3a8
JB
7482012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
749
750 * calc-alg.el (math-simplify-divide): Don't cross multiply
751 in an equation when the lhs is a variable.
752
b7af7f62
JD
7532012-07-24 Julien Danjou <julien@danjou.info>
754
755 * net/netrc.el (netrc-find-service-number, netrc-store-data):
756 Remove, unused.
757
ec1b09b1
EZ
7582012-07-23 Eli Zaretskii <eliz@gnu.org>
759
760 * startup.el (command-line): Don't display an empty user name in
761 the error message about non-existent home directory, when
762 init-file-user was set to an empty string. See
763 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
764 for the details and context.
765
b525fd8a
VB
7662012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
767
768 * ses.el (ses-cell-formula-aset): New macro.
769 (ses-cell-references-aset): New macro.
770 (ses-cell-p): New function.
771 (ses-rename-cell): Do no longer rely on complex operations like
772 ses-cell-set-formula or ses-set-cell to change the cell and handle
773 the undo at the same time, but rather use lower level new macros
774 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
775 the undo directly. Refresh the mode line.
776
2c73e345
LL
7772012-07-21 Leo Liu <sdl.web@gmail.com>
778
670d85ea
SM
779 * progmodes/cc-cmds.el (c-defun-name):
780 Use match-string-no-properties instead for consistency.
2c73e345 781
542dfbde
LL
7822012-07-20 Leo Liu <sdl.web@gmail.com>
783
3646bcd6
LL
784 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
785 (Bug#7879)
786
542dfbde
LL
787 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
788
25721031
CY
7892012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
790
791 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
792 * progmodes/bug-reference.el, misearch.el: Provide themselves
793 (bug#11915).
794
795 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
796 of narrowed buffer (bug#11966).
797
316e68a7
VB
7982012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
799
800 * ses.el (ses-rename-cell): Set new name also in reference list of
801 cells of which the renamed cell depends.
802
bbf0e7d9
MY
8032012-07-20 Masatake YAMATO <yamato@redhat.com>
804
805 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
806 to check whether menu-bar is shown or not. If not shown,
807 show the menu-bar as a popup menu instead of using tmm.
808 * mouse.el (popup-menu): Accept `point' as `position' argument.
809
c28662a8
DG
8102012-07-20 Dmitry Gutov <dgutov@yandex.ru>
811
812 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
813 up inside string symbol literal (bug#11923).
814
87ab808f
EZ
8152012-07-20 Eli Zaretskii <eliz@gnu.org>
816
817 * startup.el (fancy-startup-text): Read the whole tutorial, not
818 just its first 256 bytes. Prevents gibberish in display of the
819 tutorial title.
820
89dea803
DA
8212012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
822
823 Drop idle buffer compaction due to an absence of the
824 proved efficiency.
825 * compact.el: Remove.
826
8a4e6db8
SS
8272012-07-19 Sam Steingold <sds@gnu.org>
828
829 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
830 vc-bzr-pull & vc-bzr-merge-branch.
831 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
832 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
833 for consistency with compilation-error-regexp-alist.
834 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
835 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
836 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
837 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
838
5db81e33
SM
8392012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
840
841 * emacs-lisp/chart.el: Use lexical-binding.
842 (chart-emacs-storage): Don't hardcode the list of entries.
843
5b835e1d
DA
8442012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
845
846 Next round of tweaks caused by Fgarbage_collect changes.
847 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
848
9cd47b72
DA
8492012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
850
851 Compact buffers when idle.
852 * compact.el: New file.
853
1d6fc0df
SM
8542012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
855
856 * subr.el (eventp): Presume that if it looks vaguely like an event,
857 it's an event (bug#10190).
858
1d29cc7d
FEG
8592012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
860
861 Enhancements to ppss related code (thanks Stefan).
862 * progmodes/python.el (python-indent-context)
863 (python-indent-calculate-indentation, python-indent-dedent-line)
864 (python-indent-electric-colon, python-nav-forward-block)
865 (python-mode-abbrev-table)
1d6fc0df 866 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
867 for ppss context.
868 (python-info-continuation-line-p): Cleanup.
869 (python-info-ppss-context): Do not catch 'quote.
870 (python-info-ppss-context-type)
871 (python-info-ppss-comment-or-string-p): Simplify.
872
d583cbe6
FEG
8732012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
874
875 * progmodes/python.el: Enhancements to eldoc support.
876 (python-info-current-symbol): New function.
877 (python-eldoc-at-point): Use python-info-current-symbol.
878 (python-info-current-defun): Fix cornercase on first defun scan.
879 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
880 and signal error when no inferior python process is available.
881
eceb6feb
DG
8822012-07-18 Dmitry Gutov <dgutov@yandex.ru>
883
884 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
885 assume it's always t.
886 (vc-git-registered): Remove caching, the function is only called
887 once.
888 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
889
4c8ff0fe
CY
8902012-07-18 Chong Yidong <cyd@gnu.org>
891
19fb7186
CY
892 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
893
9587c688
CY
894 * simple.el (count-words): Report on narrowing (Bug#9959).
895
0fe776a1
CY
896 * bindings.el: Bind M-= to count-words.
897
4c8ff0fe
CY
898 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
899
7f5331cc
MY
9002012-07-18 Masatake YAMATO <yamato@redhat.com>
901
902 * progmodes/sh-script.el (sh-imenu-generic-expression):
903 Capture a function with `function' keyword and without parentheses
904 like "function FOO" (bug#11856).
905
2dc2a609
TH
9062012-07-18 Tassilo Horn <tassilo@member.fsf.org>
907
908 * window.el (split-window-sensibly): Make WINDOW argument
909 optional.
910
439f7677
CY
9112012-07-18 Chong Yidong <cyd@gnu.org>
912
9aeb25a6
CY
913 * subr.el (keyboard-translate): Doc fix (Bug#7261).
914
439f7677
CY
915 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
916 and make C-x 8 RET exit isearch (Bug#11439).
917
918 * international/iso-transl.el: Move isearch-mode-map key
919 definitions to isearch.el.
920
12999ea8
SM
9212012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
922
923 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
924 (eieio-defclass): Use gv-define-setter when possible.
925
3ab6e069
DA
9262012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
927
928 Reflect recent changes in Fgarbage_collect.
929 * emacs-lisp/chart.el (chart-emacs-storage): Change to
930 reflect new format of data returned by Fgarbage_collect.
931
0a60bc10
FEG
9322012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
933
934 New utility functions + python-info-ppss-context fix (Bug#11910).
935 * progmodes/python.el (python-info-beginning-of-block-statement-p)
936 (python-info-ppss-comment-or-string-p): New functions.
937 (python-info-ppss-context): Small fix for string check.
938
6dafa0d5
JL
9392012-07-17 Juri Linkov <juri@jurta.org>
940
941 * dired-aux.el (dired-do-async-shell-command): Doc fix.
942 (dired-do-async-shell-command): Don't add `*' at the end of the
943 command (Bug#11815).
944 (dired-do-shell-command): Doc fix.
945 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
946 Join the individual commands using either "&" or ";" as the
947 separator depending on the values of these trailing characters.
948 At the end re-add the trailing "&". (Bug#10598)
949
950 * simple.el (async-shell-command): Sync the interactive spec with
951 `shell-command'. Doc fix.
952 (shell-command): Doc fix.
953
b19dd9d1
JL
9542012-07-17 Juri Linkov <juri@jurta.org>
955
956 * descr-text.el (describe-char): Fix format args. (Bug#10129)
957
bcdc27d7 9582012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 959
bcdc27d7 960 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
961 * progmodes/python.el (python-nav-beginning-of-statement):
962 Rename from python-nav-statement-start.
bcdc27d7
FEG
963 (python-nav-end-of-statement): Rename from
964 python-nav-statement-end.
965 (python-nav-beginning-of-block): Rename from
966 python-nav-block-start.
967 (python-nav-end-of-block): Rename from python-nav-block-end.
968
191da00e
FEG
9692012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
970
7f5331cc
MY
971 * progmodes/python.el (python-shell-send-string-no-output):
972 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
973 future interactions (Bug#11868).
974
4dc7c8d5 9752012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 976
88ecaf8f
SM
977 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
978
ef501ef0
SM
979 * emacs-lisp/elint.el (elint-find-args-in-code):
980 Use help-function-arglist, so as to handle lexical byte-code.
981
aa7aaf8f
SM
982 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
983 change (bug#11826).
984
45fd731c
SM
9852012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
986
2143fa32
SM
987 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
988 Avoid spuriously marking the buffer as modified because of c-is-sws.
989
efc26dbe
SM
990 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
991 as not-a-comment (bug#11946).
992
f5695c9a
SM
993 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
994 for uninterned vars.
995
996 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
997 Use read-event since we don't really want to read chars but bytes.
998
45fd731c
SM
999 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1000 $$..$$ but also $..$ using regexps (bug#11953).
1001 Use tex-verbatim for \url and \path.
1002 (tex-font-lock-keywords): Define as defconst like the others.
1003 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1004
ddfc8813
RK
10052012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1006
1007 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1008 alias for insert-char.
1009
758e556a
FEG
10102012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1011
1012 * progmodes/python.el: Simplified imenu implementation.
1013 (python-nav-jump-to-defun): Remove command.
1014 (python-mode-map): Use `imenu' instead.
1015 (python-nav-list-defun-positions-cache)
1016 (python-imenu-include-defun-type, python-imenu-make-tree)
1017 (python-imenu-subtree-root-label, python-imenu-index-alist):
1018 Remove vars.
1019 (python-nav-list-defun-positions, python-nav-read-defun)
1020 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1021 (python-imenu-make-tree, python-imenu-create-index):
1022 Remove functions.
758e556a
FEG
1023 (python-mode): Update to interact with imenu by setting
1024 `imenu-extract-index-name-function' only.
1025
032d23ab
FEG
10262012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1027
1028 * progmodes/python.el: Enhancements to navigation commands.
1029 (python-nav-backward-sentence)
1030 (python-nav-forward-sentence): Remove.
1031 (python-nav-backward-statement, python-nav-forward-statement)
1032 (python-nav-statement-start, python-nav-statement-end)
1033 (python-nav-backward-block, python-nav-forward-block)
1034 (python-nav-block-start, python-nav-block-end)
1035 (python-nav-forward-sexp-function)
1036 (python-info-current-line-comment-p)
1037 (python-info-current-line-empty-p): New functions.
1038 (python-indent-context): Use `python-nav-statement-start'.
1039
01795a1b
MA
10402012-07-16 Michael Albinus <michael.albinus@gmx.de>
1041
9328d9aa
MA
1042 * eshell/em-ls.el (eshell/ls): Use `apply'.
1043
1044 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1045 multi-hops, instead of Tramp internals.
1046
01795a1b
MA
1047 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1048
1049 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1050 when F1 and F2 are located on different hosts.
1051
63408057
CY
10522012-07-14 Chong Yidong <cyd@gnu.org>
1053
1054 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1055 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1056 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1057 (xterm-mouse--read-event-sequence-1000)
1058 (xterm-mouse--read-event-sequence-1006): New functions. For old
1059 mouse protocol, handle M-mouse-X events correctly.
1060 (xterm-mouse-event): New arg specifying mouse protocol.
1061 (turn-on-xterm-mouse-tracking-on-terminal)
1062 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1063 sequence to toggle extended coordinates on newer XTerms.
1064 This appears to be harmless on terminals which do not support this.
63408057 1065
cd276f6e
LL
10662012-07-14 Leo Liu <sdl.web@gmail.com>
1067
28ca98ac
LL
1068 Add fringe bitmap indicators for flymake. (Bug#11253)
1069 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1070 (flymake-make-overlay): New arg BITMAP.
1071 (flymake-error-bitmap, flymake-warning-bitmap)
1072 (flymake-fringe-indicator-position): New user variables.
1073
cd276f6e
LL
1074 * fringe.el: New bitmap exclamation-mark.
1075
04408072
JD
10762012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1077
1078 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1079 also (Bug#7879).
1080
b5cf7fc4
CY
10812012-07-14 Chong Yidong <cyd@gnu.org>
1082
1083 * electric.el (electric-pair-post-self-insert-function): Fix pair
1084 insertion in empty-region case (Bug#11520).
1085
be755c79
RT
10862012-07-14 Chong Yidong <cyd@gnu.org>
1087
45fd731c
SM
1088 * bindings.el: Consolidate ctl-x-r-map bindings.
1089 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1090
1091 * rect.el, register.el: Move bindings to bindings.el.
1092
10932012-07-14 Reuben Thomas <rrt@sc3d.org>
1094
1095 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1096
7f5b3198
AS
10972012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1098
1099 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1100
97662200
JB
11012012-07-13 Juanma Barranquero <lekktu@gmail.com>
1102
80185fed
JB
1103 * bindings.el (top): Use `mapc' instead of `mapcar'.
1104
97662200
JB
1105 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1106
2bb1ae55
MA
11072012-07-13 Michael Albinus <michael.albinus@gmx.de>
1108
1109 * progmodes/sql.el (sql-comint): Suppress the check for program on
1110 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1111 (Bug#11908)
1112
dea31bd3
CY
11132012-07-13 Chong Yidong <cyd@gnu.org>
1114
1115 * bindings.el: Assign a non-nil permanent-local property to
1116 per-buffer variables which lack a default value (Bug#11930).
1117
1118 * help-fns.el (describe-variable): In the "automatically becomes
1119 local" notice, take note of permanent-local variables.
1120
b68b3337
CY
11212012-07-13 Chong Yidong <cyd@gnu.org>
1122
1123 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1124 to allow printing the message when called from Lisp.
1125
1126 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1127 Remove toggle-read-only.
1128
1129 * bs.el (bs-toggle-readonly):
45fd731c
SM
1130 * buff-menu.el (Buffer-menu-toggle-read-only):
1131 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1132
1133 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1134 Remove with-no-warnings around toggle-read-only.
1135 (ffap-read-only, ffap-read-only-other-window)
1136 (ffap-read-only-other-frame): Callers changed.
1137
1138 * help-mode.el: Don't require view package.
1139 (help-mode-finish): Set buffer-read-only instead of calling
1140 toggle-read-only.
1141
1142 * bindings.el (mode-line-toggle-read-only):
1143 * dired.el (dired-toggle-read-only):
1144 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1145 with non-nil second arg.
1146
1147 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1148 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1149 directly.
1150
56bc1586
EZ
11512012-07-12 Eli Zaretskii <eliz@gnu.org>
1152
1153 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1154 not incf.
1155
a464a6c7
SM
11562012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1157
1158 More CL cleanups and reduction of use of cl.el.
1159 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1160 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1161 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1162 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1163 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1164 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1165 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1166 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1167 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1168 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1169 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1170 * eshell/em-cmpl.el, eshell/em-banner.el:
1171 * calendar/parse-time.el: Use cl-lib.
1172 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1173 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1174 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1175 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1176 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1177 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1178 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1179 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1180 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1181 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1182 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1183 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1184 `lambda' rather than with `quote'.
1185 (eshell-do-opt): Adjust accordingly.
1186 (eshell-process-option): Simplify.
1187 * eshell/esh-var.el:
1188 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1189 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1190 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1191 to `pcase--dontcare'.
1192 * emacs-lisp/cl.el (labels): Mark obsolete.
1193 (cl--letf, letf): Move to cl-lib.
1194 (cl--letf*, letf*): Remove.
1195 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1196 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1197 (cl-progv): Rewrite.
1198 (cl--letf, cl-letf): Move from cl.el.
1199 (cl-letf*): New macro.
1200 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1201
7ad4afe1
MA
12022012-07-11 Michael Albinus <michael.albinus@gmx.de>
1203
1204 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1205
9af57756
CY
12062012-07-11 Chong Yidong <cyd@gnu.org>
1207
1208 * vc/log-edit.el (log-edit-vc-backend): New variable.
1209 (log-edit): Doc fix.
1210
1211 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1212 argument of log-edit to set up all local variables.
1213 (vc-start-logentry): New optional arg specifying VC backend.
1214
1215 * vc/vc.el (vc-checkin): Use it.
1216 (vc-deduce-fileset): Handle Log Edit buffers.
1217 (vc-diff): Make first argument optional too.
1218
1219 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1220
8477cc7a
MA
12212012-07-10 Michael Albinus <michael.albinus@gmx.de>
1222
1223 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1224 command, just in case. The function is not needed anymore.
1225 (eshell-external-command): Do not call `eshell-remote-command'.
1226
19faa8e8
SM
12272012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1228
f58e0fd5
SM
1229 Reduce use of (require 'cl).
1230 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1231 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1232 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1233 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1234 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1235 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1236 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1237 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1238 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1239 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1240 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1241 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1242 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1243 (byte-compile-unfold-bcf, byte-compile-check-variable):
1244 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1245 (byte-compile-nilconstp):
1246 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1247 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1248
2519d43a
SM
1249 * emacs-lisp/gv.el (cond): Make it a valid place.
1250 (if): Simplify slightly.
1251
19faa8e8
SM
1252 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1253 (pcase--self-quoting-p): New function.
1254 (pcase--u1): Use it.
1255
c4907a5e
GM
12562012-07-10 Glenn Morris <rgm@gnu.org>
1257
1258 * emacs-lisp/authors.el (authors-fixed-entries):
1259 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1260
c4444d16
PE
12612012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1262
1263 Rename configure.in to configure.ac (Bug#11603).
1264 * emacs-lisp/authors.el (authors-canonical-file-name):
1265 * progmodes/autoconf.el (autoconf-mode):
1266 Prefer configure.ac to configure.in.
1267
d75be97d
CY
12682012-07-08 Chong Yidong <cyd@gnu.org>
1269
01ac65bd
CY
1270 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1271 Implement the mouse-1-click-follows-link handling properly.
1272
1273 * info.el (Info-link-keymap): Use follow-link mechanism for
1274 header-line links (Bug#374).
1275
d75be97d
CY
1276 * simple.el (deactivate-mark): Do not set the primary selection
1277 if another program has acquired it (Bug#11772).
1278
87a92845 12792012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1280
1281 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1282 (woman-decode-region): Replace escaped-escapes without destroying
1283 bold or underline (Bug#11552).
87a92845 1284 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1285
621b9d6c
CY
12862012-07-07 Chong Yidong <cyd@gnu.org>
1287
1288 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1289 (interprogram-cut-function, interprogram-paste-function):
1290 Mention that we typically mean the clipboard.
621b9d6c 1291
133a11fc
GM
12922012-07-06 Glenn Morris <rgm@gnu.org>
1293
0d27a45e
GM
1294 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1295
133a11fc
GM
1296 * files.el (toggle-read-only): Restrict message to interactive use.
1297
07b151f1
MA
12982012-07-06 Michael Albinus <michael.albinus@gmx.de>
1299
1300 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1301
1302 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1303
211b896b
GM
13042012-07-06 Glenn Morris <rgm@gnu.org>
1305
50394322
GM
1306 * Makefile.in (compile-one-process): Rename from "recompile".
1307
211b896b
GM
1308 * Makefile.in (bzr-update): "compile" is the same as "recompile
1309 autoloads", but parallelizable, so use that instead.
1310
4737eec9
DG
13112012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1312
1313 * window.el (quit-window): Always restore window height when
8137e7b3 1314 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1315
226c3633 13162012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1317
1318 * simple.el (kill-whole-line): Doc tweak.
1319
226c3633 13202012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1321
1322 * files.el (file-relative-name): Compare file names
1323 case-insensitively if on MS-Windows or MS-DOS, or if
1324 read-file-name-completion-ignore-case is non-nil. Don't use
1325 case-fold-search for this purpose. (Bug#11827)
1326
4dc7c8d5
SM
13272012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1328
1329 * calendar/cal-dst.el (calendar-current-time-zone):
1330 Return calendar-current-time-zone-cache if non-nil.
1331
13322012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 13332012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1334
19faa8e8
SM
1335 * calendar/cal-dst.el (calendar-current-time-zone):
1336 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1337
60198fc9
GM
13382012-07-06 Glenn Morris <rgm@gnu.org>
1339
1340 * Makefile.in (cvs-update): Remove old alias.
1341
957b3189
MA
13422012-07-05 Michael Albinus <michael.albinus@gmx.de>
1343
1344 Sync with Tramp 2.2.6-pre.
1345
1346 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1347 compatible declaration.
1348
19faa8e8
SM
1349 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1350 Protect `list-load-path-shadows' call.
957b3189
MA
1351
1352 * net/tramp-compat.el (top): Require packages, which aren't
1353 autoloaded anymore for XEmacs. Protect call of
1354 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1355 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1356 it hurts at least for SXEmacs.
1357 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1358 standard-value for `temporary-file-directory'.
1359
1360 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1361 Redirect stderr to /dev/null.
1362 (tramp-sh-handle-write-region): uid and gid can be floats.
1363 Reported by Russell Sim <russell.sim@gmail.com>.
1364 (tramp-sh-handle-vc-registered): Hide errors.
1365 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1366 and `start-file-process'.
1367 (tramp-maybe-open-connection): Check also whether `non-essential'
1368 is bound.
1369
566df3fc
CY
13702012-07-04 Chong Yidong <cyd@gnu.org>
1371
1372 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1373 (xml-parse-tag): Likewise, and avoid changing entity tables.
1374 (xml-syntax-table): Define from scratch, making sure not to give
1375 x2000 and other Unicode spaces whitespace syntax, since those are
1376 not spaces in XML.
1377 (xml-parse-fragment): Delete unused function.
1378 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1379 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1380 (xml-entity-ref, xml-pe-reference-re)
1381 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1382 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1383 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1384 (xml-entity-value-re): Use syntax references in regexps where
1385 possible; no need to define inside a let-binding.
1386 (xml-parse-dtd): Use xml-pe-reference-re.
1387 (xml-entity-or-char-ref-re): New defconst.
1388 (xml-parse-string, xml-substitute-special): Use it.
1389
30eabd7a
SM
13902012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1391
0781098a
SM
1392 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1393 (find-file--read-only): New function.
1394 (find-file-read-only, find-file-read-only-other-window)
1395 (find-file-read-only-other-frame): Use it.
1396 (insert-file-contents-literally): Don't `fset'.
1397 (get-free-disk-space): Use locate-dominating-file.
1398
b5771c0d
SM
1399 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1400 function is already compiled.
1401
30eabd7a
SM
1402 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1403
b4886f6e
MA
14042012-07-03 Michael Albinus <michael.albinus@gmx.de>
1405
1406 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1407 files on the same host.
1408
b9d82339
AS
14092012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1410
1411 * help-fns.el (describe-function-1): Only call
1412 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1413
a76e6535
CY
14142012-07-03 Chong Yidong <cyd@gnu.org>
1415
1416 * xml.el: Protect parser against XML bombs.
1417 (xml-entity-expansion-limit): New variable.
1418 (xml-parse-string, xml-substitute-special): Use it.
1419 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1420
b544fef2
GM
14212012-07-03 Glenn Morris <rgm@gnu.org>
1422
1423 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1424 Allow linking to specific messages in debbugs reports (eg 123#5).
1425
a7aef6f5
CY
14262012-07-02 Chong Yidong <cyd@gnu.org>
1427
1428 * xml.el: Fix entity and character reference expansion, allowing
1429 them to expand into markup as per XML spec.
1430 (xml-default-ns): New variable.
1431 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1432 (xml-parse-region): Make first two arguments optional.
1433 Discard text properties.
1434 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1435 All callers changed.
a7aef6f5
CY
1436 (xml-parse-tag): Call xml-parse-tag-1. For backward
1437 compatibility, this function should not modify buffer contents.
1438 (xml-parse-tag-1): Fix opening-tag regexp.
1439 (xml-parse-string): Rewrite, handling entity and character
1440 references properly.
1441 (xml--entity-replacement-text): Signal an error if a parameter
1442 entity is undefined.
1443
3df31c9f
SM
14442012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1445
2b5208f1
SM
1446 * comint.el (comint-output-filter): Filter out repeated prompts.
1447
3df31c9f
SM
1448 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1449 and file-name-absolute-p.
1450 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1451 internal calls.
1452
e3ac1281
PE
14532012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1454
1455 Spelling fixes.
1456 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1457 Rename from byte-compile--refiy-function. All uses changed.
1458
fbf2e7ad
CY
14592012-07-01 Chong Yidong <cyd@gnu.org>
1460
1461 * xml.el (xml--parse-buffer): New function. Move most of
1462 xml-parse-region here.
1463 (xml-parse-region): Copy region into a temporary buffer, since
1464 parameter entity substitution requires changing buffer contents.
1465 Use xml--parse-buffer.
1466 (xml-parse-file): Use xml--parse-buffer.
1467 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1468 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1469
9bf0aa15
GM
14702012-06-30 Glenn Morris <rgm@gnu.org>
1471
bbce2853
GM
1472 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1473
9bf0aa15
GM
1474 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1475 Remove outdated and unnecessary dbus declarations.
1476
0d23c240
EZ
14772012-06-30 Eli Zaretskii <eliz@gnu.org>
1478
1479 * emacs-lisp/timer.el (timer-until): Subtract results of
1480 float-time, instead of taking float-time of the result of
1481 time-subtract, since float-time signals an error for negative time
1482 arguments.
1483
b3218de1
CY
14842012-06-30 Chong Yidong <cyd@gnu.org>
1485
1486 * xml.el (xml-*-re): Convert defvars into defconsts, and
1487 eval-and-compile them so eval-and-compile works on derivatives.
1488 (xml--entity-replacement-text): Use eval-and-comple.
1489
a40c87a0
MA
14902012-06-30 Michael Albinus <michael.albinus@gmx.de>
1491
1492 * vc/vc-git.el (vc-git-registered): Use cache property
1493 `git-registered'.
1494 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1495 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1496 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1497
ac87de97
DG
14982012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1499
1500 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1501 removed (likely outside Emacs). (Bug#11757)
ac87de97 1502
ac10fe06
SM
15032012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1504
3df31c9f 1505 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1506
7f3fbd5d
CY
15072012-06-30 Chong Yidong <cyd@gnu.org>
1508
1509 * xml.el: Implement XML parameter entities.
1510 (xml-parameter-entity-alist): New variable.
1511 (xml-parse-region, xml-parse-fragment): Preserve previous values
1512 of xml-entity-alist and xml-parameter-entity-alist, so that
1513 repeated calls on different documents do not change them.
1514 (xml-parse-tag): Fix doctype regexp.
1515 (xml--entity-replacement-text): New function.
1516 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1517 properly requires url retrieval which is unimplemented.
1518 (xml-escape-string): Doc fix.
1519
3cfbebba
SM
15202012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1521
1522 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1523
2af3565e
DA
15242012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1525
1526 * fringe.el (fringe-mode): Doc fix.
1527
929df0e7
MA
15282012-06-29 Michael Albinus <michael.albinus@gmx.de>
1529
1530 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1531 is non-nil.
1532 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1533 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1534
c8d3a25c 15352012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1536
c8d3a25c
GM
1537 * calendar/cal-dst.el (calendar-current-time-zone):
1538 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1539
c8d3a25c 15402012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1541
1542 * progmodes/which-func.el (which-func-format):
1543 Add mouse-face. (Bug#11698)
1544
c8d3a25c
GM
15452012-06-29 Leo Liu <sdl.web@gmail.com>
1546
1547 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1548
15492012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1550
1551 * minibuffer.el (minibuffer-confirm-exit-commands):
1552 Add completion-at-point (bug#11725).
1553
15542012-06-29 Glenn Morris <rgm@gnu.org>
1555
1556 * progmodes/f90.el (f90-font-lock-keywords-2):
1557 Add some preprocessor elements. (Bug#10499)
1558
15592012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1560
1561 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1562 Use syntax-propertize (bug#11739).
1563
2badeec4
JB
15642012-06-28 Juanma Barranquero <lekktu@gmail.com>
1565
1566 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1567
ae4969c2
JD
15682012-06-28 Julien Danjou <julien@danjou.info>
1569
1570 * term.el (term-handle-colors-array): Use a set of new faces to
1571 color the terminal. Also uses :inverse-video property.
1572 (term-default-fg-color): Set to nil by default, deprecate in favor
1573 of `term-face'.
1574 (term-default-bg-color): Set to nil by default, deprecate in favor
1575 of `term-face'.
1576 (term-current-face): Use `term-face' by default.
1577 (term-bold-attribute): Variable deleted.
1578
1c9bd870
GM
15792012-06-28 Glenn Morris <rgm@gnu.org>
1580
1581 * simple.el (completion-list-mode-finish):
1582 Don't use toggle-read-only. (Since completion-list-mode has
1583 a special mode-class, it wasn't doing anything extra anyway.)
1584
c207708c
SM
15852012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1586
1587 Make inlining of other-mode interpreted functions work (bug#11799).
1588 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1589 (byte-compile): Use it to fix compilation of lexical-binding closures.
1590 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1591 function, if needed.
1592
3fd56834
SM
15932012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1594
04901786
SM
1595 * help-mode.el (help-make-xrefs): Don't just withstand
1596 cyclic-variable-indirection but any error in documentation-property.
1597
1ec4b7b2
SM
1598 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1599 memory use.
1600 * bindings.el (bindings--define-key): New function.
1601 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1602 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1603 * bindings.el: Use it to purecopy define-key bindings.
1604
e309e2a5
SM
1605 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1606
d5c6faf9
SM
1607 * emacs-lisp/cl.el (flet): Mark obsolete.
1608 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1609 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1610 * progmodes/js.el (js-c-fill-paragraph):
1611 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1612 (ebrowse-switch-member-buffer-to-derived-class):
1613 * play/5x5.el (5x5-solver): Use cl-flet.
1614
6e9590e2
SM
1615 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1616 (cl--symbol-function): New macro.
1617 (cl--letf, cl--letf*): Use it.
1618
3fd56834
SM
1619 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1620 Strip "toggle-" if any.
1621
35ff222c
GM
16222012-06-27 Glenn Morris <rgm@gnu.org>
1623
1ba6038a
GM
1624 * info.el (Info-default-directory-list): Move here from paths.el.
1625 * paths.el: Remove file, which is now empty.
1626 * loadup.el: No longer load "paths".
1627
0ea0e51b
GM
1628 * custom.el (custom-initialize-delay): Doc fix.
1629
35ff222c
GM
1630 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1631 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1632 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1633 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1634 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1635 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1636 * eshell/eshell.el (eshell-defgroup): Remove alias.
1637
c89926a5
CY
16382012-06-27 Chong Yidong <cyd@gnu.org>
1639
1640 * help.el (help-enable-auto-load): New variable.
1641
1642 * help-fns.el (help-fns--autoloaded-p): New function.
1643 (describe-function-1): Refer to a function as "autoloaded" if it
1644 was autoloaded at any time in the past. Perform autoloading if
1645 help-enable-auto-load is non-nil.
1646
cc06e7e7
EZ
16472012-06-26 Eli Zaretskii <eliz@gnu.org>
1648
1649 * makefile.w32-in (compile, compile-always): Depend on
1650 update-subdirs, not on subdirs.el. Otherwise, several different
1651 sub-targets of 'bootstrap' running in parallel could
1652 simultaneously write to subdirs.el, producing a garbled file.
1653
d2c32364
SS
16542012-06-26 Sam Steingold <sds@gnu.org>
1655
1656 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1657 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1658 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1659 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1660 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1661 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1662 * textmodes/tex-mode.el: Use it.
1663 Did not touch cedet and org because they are maintained elsewhere.
1664
5cf983b2
MR
16652012-06-26 Martin Rudalics <rudalics@gmx.at>
1666
1667 * calendar/calendar.el (calendar-exit): Don't try to delete or
1668 iconify last frame. See:
1669 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1670
8c4f2952
JD
16712012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1672
1673 * server.el (server-process-filter): Remember dir in the
1674 process's `server-client-directory' properties.
1675
772b2e2c
CY
16762012-06-24 Chong Yidong <cyd@gnu.org>
1677
1678 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1679 non-tag text.
1680
711b11e1
JB
16812012-06-23 Juanma Barranquero <lekktu@gmail.com>
1682
1683 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1684
dc5d230c
SM
16852012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1686
1687 * help-fns.el (describe-variable): Don't croak when doc is not found.
1688 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1689 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1690 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1691 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1692 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1693 ((lambda ..) ..).
1694 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1695
136e1c1d
CY
16962012-06-23 Chong Yidong <cyd@gnu.org>
1697
e8c1cabf
CY
1698 * info.el (Info-mouse-follow-link): Accept symbol values of
1699 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1700 (Info-fontify-node): Use Info-link-keymap for all navigation
1701 buttons, with link-args property to perform the desired action.
1702 (Info-link-keymap): Doc fix.
1703 (Info-next-link-keymap, Info-prev-link-keymap)
1704 (Info-up-link-keymap): Delete now-unused keymaps.
1705
0e9e6c6a
CY
17062012-06-23 Chong Yidong <cyd@gnu.org>
1707
05e89fea
CY
1708 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1709
0e9e6c6a
CY
1710 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1711 system abbrevs.
1712
1713 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1714
e33c6771
SM
17152012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1716
b68581e2
SM
1717 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1718 (bug#11719).
1719
e33c6771
SM
1720 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1721 the requote function doesn't work properly (bug#11714).
1722
7117e105
GM
17232012-06-23 Glenn Morris <rgm@gnu.org>
1724
1725 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1726
36cec983
SM
17272012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1728
1729 Further GV/CL cleanups.
1730 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1731 gv-expander.
1732 (gv--defun-declaration): New function.
1733 (defun-declarations-alist): Use it.
1734 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1735 (gv-place): Autoload.
1736 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1737 original definition of dotimes and dolist.
1738 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1739 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1740 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1741 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1742 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1743 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1744 to the function's definition.
1745 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1746 * window.el:
1747 * files.el:
1748 * faces.el:
1749 * env.el: Don't use CL.
1750
d35af63c
PE
17512012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1752
1753 Support higher-resolution time stamps (Bug#9000).
1754
1755 * calendar/time-date.el (with-decoded-time-value): New arg
1756 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1757 (encode-time-value): New optional arg PICO. New type 3.
1758 (time-to-seconds) [!float-time]: Support the new picoseconds
1759 component if it's used.
1760 (seconds-to-time, time-subtract, time-add):
1761 Support ps-resolution time stamps as well.
1762
1763 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1764 (timerp): Timer vectors now have length 9, not 8.
1765 (timer--time): Support new-style (4-part) time stamps.
1766 (timer-next-integral-multiple-of-time): Time stamps now have
1767 picosecond resolution, so take a bit more care about rounding.
1768 (timer-relative-time, timer-inc-time): New optional arg psecs.
1769 (timer-set-time-with-usecs): Set psecs to 0.
1770 (timer--activate): Check psecs component, too.
1771
1772 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1773
ac77b21a
SM
17742012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1775
f143bfe3
SM
1776 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1777 Move the non-essential binding to the post/pre-command-hook where it is
1778 more obviously correct.
1779
ac77b21a
SM
1780 * subr.el (read-passwd): Don't use a history at all.
1781 * savehist.el (savehist-save): Remove password saved accidentally
1782 because of the above bug.
1783
76386c5a
BG
17842012-06-22 Bastien Guerry <bzg@gnu.org>
1785
1786 * files.el (toggle-read-only): Display a message telling whether
1787 the buffer is read-only or not (bug#11726).
1788
2ee3d7f0
SM
17892012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1790
1791 * emacs-lisp/gv.el: New file.
1792 * subr.el (push, pop): Extend to generalized variables.
1793 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1794 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1795 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1796 gv-define-simple-setter, and gv-define-expander.
1797 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1798 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1799 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1800 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1801 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1802 gv-letplace.
1803 (cl-defstruct): Don't define setf-method any more.
1804 * emacs-lisp/cl.el (flet): Don't autoload.
1805 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1806 (define-setf-expander, defsetf, define-modify-macro)
1807 (cl-struct-setf-expander): Move from cl-lib.el.
1808 * emacs-lisp/syntax.el:
1809 * emacs-lisp/ewoc.el:
1810 * emacs-lisp/smie.el:
1811 * emacs-lisp/cconv.el:
1812 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1813 (timer--time): Use gv-define-simple-setter.
1814 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1815 to avoid coding-system problems in subr.el. Adjust all users.
1816 (macroexp--maxsize, macroexp-small-p): New functions.
1817 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1818 * scroll-bar.el (scroll-bar-mode):
1819 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1820 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1821 * winner.el (winner-configuration, winner-make-point-alist)
1822 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1823 * files.el (locate-file-completion-table): Avoid list*.
1824
c5695d1d
CY
18252012-06-22 Chong Yidong <cyd@gnu.org>
1826
1827 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1828 (dired-create-files): Doc fix (Bug#11329).
1829 (dired-do-copy): Doc fix (Bug#11334).
1830 (dired-mark-read-string): Doc fix (Bug#11553).
1831
2ee3d7f0
SM
1832 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1833 Doc fix (Bug#11326).
c5695d1d
CY
1834 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1835 (dired-dwim-target): Doc fix.
1836
1837 * wdired.el (wdired-mode): Doc fix.
1838
89b5595a
GM
18392012-06-22 Glenn Morris <rgm@gnu.org>
1840
575db3f1
GM
1841 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1842 (pcmpl-rpm-cache-stamp-file): New constant.
1843 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1844 (pcmpl-rpm-packages): Optionally cache list of packages.
1845
a4c8dd51
GM
1846 * pcmpl-rpm.el (pcmpl-rpm): New group.
1847 (pcmpl-rpm-query-options): New option.
1848 (pcmpl-rpm-packages): No need to inline it.
1849 Use pcmpl-rpm-query-options.
1850
89b5595a
GM
1851 * calendar/calendar.el (calendar-in-read-only-buffer):
1852 Avoid some needless mode changes.
1853
e76f0800
CY
18542012-06-21 Chong Yidong <cyd@gnu.org>
1855
1856 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1857 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1858 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1859
297a8f1d
CY
18602012-06-20 Chong Yidong <cyd@gnu.org>
1861
1862 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1863
d34c18b1
DR
18642012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1865
1866 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1867 (bug#11201).
1868
32f7f28e
CY
18692012-06-20 Chong Yidong <cyd@gnu.org>
1870
1871 * term.el (term-window-width): Handle the case of a missing right
1872 fringe (Bug#8837).
1873 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1874 (term-mode): Use define-derived-mode. Minor cleanups.
1875 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1876 (term-move-columns, term-insert-char, term-emulate-terminal)
1877 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1878
493c6688
MA
18792012-06-20 Michael Albinus <michael.albinus@gmx.de>
1880
d34c18b1
DR
1881 * net/ange-ftp.el (ange-ftp-get-passwd):
1882 Bind `enable-recursive-minibuffers'.
493c6688
MA
1883 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1884
3f06ecf4
DR
18852012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1886
1887 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1888
68f12411
GM
18892012-06-19 Glenn Morris <rgm@gnu.org>
1890
1891 * progmodes/python.el (python-mode): Derive from prog-mode.
1892
b3820318
KG
18932012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1894
1895 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1896 (edt-user-menu-bar-update-buffers): New functions.
1897 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1898
c6bf3022
CY
18992012-06-19 Chong Yidong <cyd@gnu.org>
1900
1901 * subr.el (with-selected-window): Preserve the selected window's
1902 terminal's top-frame (Bug#4702).
1903
1904 * window.el (save-selected-window): Likewise.
1905
25f09295
SM
19062012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1907
1908 * progmodes/python.el (python-rx-constituents): Move backquote.
1909 (python-skeleton-define, python-define-auxiliary-skeleton):
1910 Use `declare'.
1911
6b11952a
MA
19122012-06-18 Michael Albinus <michael.albinus@gmx.de>
1913
1914 * minibuffer.el (read-file-name-default): Revert the patch from
1915 2012-06-17.
1916
ee4b1330
SM
19172012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1918
1919 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1920 (pcase--u1, pcase--q1): Don't use apply-partially.
1921
35647f79
GM
19222012-06-18 Glenn Morris <rgm@gnu.org>
1923
1924 * progmodes/python.el (python-proc, python-buffer)
1925 (python-send-receive, python-send-string): Fix obsolete versions.
1926
24b0cff0
MR
19272012-06-18 Martin Rudalics <rudalics@gmx.at>
1928
1929 * window.el (special-display-p): Completely remove stringp
1930 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1931
29855149
MA
19322012-06-17 Michael Albinus <michael.albinus@gmx.de>
1933
1934 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1935
1936 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1937
1938 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1939 * net/tramp-sh.el (tramp-maybe-open-connection):
1940 Throw if `non-essential' is non-nil.
1941
07463363
MR
19422012-06-17 Martin Rudalics <rudalics@gmx.at>
1943
1944 * window.el (special-display-p): Signal an error if BUFFER-NAME
1945 is not a string (Bug#11713).
1946
48d1354e
PE
19472012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1948
1949 * progmodes/python.el (python-info-beginning-of-backslash):
1950 Rename from python-info-beginning-of-backlash, as a spelling fix.
1951
eb4a8a9a
CY
19522012-06-17 Chong Yidong <cyd@gnu.org>
1953
1954 * term.el (term-emulate-terminal): If term-check-size is called,
1955 move point to the process mark without resetting point (Bug#4635).
1956
ddfbf826 19572012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1958
1959 * international/mule-cmds.el (mule-menu-keymap)
1960 (set-language-environment, set-locale-environment): Doc tweaks.
1961
9b0e3eba
AA
19622012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1963
1964 * cus-face.el (custom-face-attributes): Add wave-style underline
1965 attribute.
1966 * faces.el (set-face-attribute): Update docstring to describe
1967 wave-style underline attribute.
1968
771e3eae
CY
19692012-06-16 Chong Yidong <cyd@gnu.org>
1970
1971 * term/xterm.el (terminal-init-xterm): Discard input before
1972 querying background mode (Bug#10959).
1973
7ae2ea10
SM
19742012-06-16 Stefan Merten <smerten@oekonux.de>
1975
1976 * textmodes/rst.el: Added and corrected some comments.
1977 (rst-re-alist-def): Improve symbol syntax.
1978 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
1979 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
1980 (rst-official-version, rst-official-cvs-rev): Update version
1981 information.
7ae2ea10 1982
b6974efa
JB
19832012-06-15 Juanma Barranquero <lekktu@gmail.com>
1984
1985 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
1986 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
1987
8826d473
GM
19882012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
1989
1990 * progmodes/python.el: New python.el merge.
1991 (python-guess-indent): Obsolete var.
1992 (python-indent-guess-indent-offset): New defcustom.
1993 (python-indent): Obsolete var.
1994 (python-indent-offset): New defcustom.
1995 (python-python-command, python-jython-command): Delete var.
1996 (python-shell-interpreter): New defcustom.
1997 (python-pdbtrack-do-tracking-p): Delete var.
1998 (python-pdbtrack-activate): New defcustom.
1999 (python-use-skeletons): Obsolete var.
2000 (python-skeleton-autoinsert): New defcustom.
2001 (inferior-python-filter-regexp, python-continuation-offset)
2002 (python-honour-comment-indentation, python-indent-string-contents)
2003 (python-jython-packages, python-mode-hook)
2004 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2005 (python-shell-prompt-alist)
2006 (python-source-modes): Delete defcustoms.
2007 (python-check-buffer-name, python-eldoc-setup-code)
2008 (python-eldoc-string-code, python-ffap-setup-code)
2009 (python-ffap-string-code, python-fill-comment-function)
2010 (python-fill-decorator-function, python-fill-paren-function)
2011 (python-fill-string-function, python-imenu-include-defun-type)
2012 (python-imenu-make-tree, python-imenu-subtree-root-label)
2013 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2014 (python-shell-compilation-regexp-alist)
2015 (python-shell-completion-module-string-code)
2016 (python-shell-completion-pdb-string-code)
2017 (python-shell-completion-setup-code)
2018 (python-shell-completion-string-code)
2019 (python-shell-enable-font-lock, python-shell-exec-path)
2020 (python-shell-extra-pythonpaths)
2021 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2022 (python-shell-process-environment)
2023 (python-shell-prompt-block-regexp)
2024 (python-shell-prompt-output-regexp)
2025 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2026 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2027 (python-shell-virtualenv-path): New defcustoms.
2028 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2029 (inferior-python-mode-syntax-table, python--prompt-regexp)
2030 (python-buffer, python-command python-python-command)
2031 (python-default-template, python-imports, python-indent-index)
2032 (python-indent-list, python-indent-list-length)
2033 (python-mode-running, python-pdbtrack-is-tracking-p)
2034 (python-preoutput-continuation, python-preoutput-leftover)
2035 (python-preoutput-result, python-preoutput-skip-next-prompt)
2036 (python-prev-dir/file, python-recursing)
2037 (python-saved-check-command, python-version-checked)
2038 (python-which-func-length-limit)
2039 (view-return-to-alist): Delete vars.
2040 (python-check-custom-command, python-dotty-syntax-table)
2041 (python-imenu-index-alist, python-indent-current-level)
2042 (python-indent-dedenters, python-indent-levels)
2043 (python-nav-beginning-of-defun-regexp)
2044 (python-nav-list-defun-positions-cache)
2045 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2046 (python-shell-internal-buffer)
2047 (python-skeleton-available): New vars.
2048 (def-python-skeleton): Delete macro.
2049 (python-skeleton-define): New macro.
2050 (python-define-auxiliary-skeleton, python-rx): New macros.
2051 (python-insert-class): Delete command.
2052 (python-skeleton-class): New command.
2053 (python-insert-def): Delete command.
2054 (python-skeleton-def): New command.
2055 (python-insert-for): Delete command.
2056 (python-skeleton-for): New command.
2057 (python-insert-if): Delete command.
2058 (python-skeleton-if): New command.
2059 (python-insert-try/except, python-insert-try/finally): Delete commands.
2060 (python-skeleton-try): New command.
2061 (python-insert-while): Delete command.
2062 (python-skeleton-while): New command.
2063 (python-backspace): Delete command.
2064 (python-indent-dedent-line-backspace): New command.
2065 (python-electric-colon): Delete command.
2066 (python-indent-electric-colon): New command.
2067 (python-guess-indent): Delete command.
2068 (python-indent-guess-indent-offset): New command.
2069 (python-shift-left): Delete command.
2070 (python-indent-shift-left): New command.
2071 (python-shift-right): Delete command.
2072 (python-indent-shift-right): New command.
2073 (python-find-function): Delete command.
2074 (python-nav-jump-to-defun): New command.
2075 (python-next-statement): Delete command.
2076 (python-nav-forward-sentence): New command.
2077 (python-previous-statement): Delete command.
2078 (python-nav-backward-sentence): New command.
2079 (python-fill-paragraph): Delete command.
2080 (python-fill-paragraph-function): New command.
2081 (python-send-buffer): Delete command.
2082 (python-shell-send-buffer): New command.
2083 (python-send-defun): Delete command.
2084 (python-shell-send-defun): New command.
2085 (python-send-region, python-send-region-and-go): Delete commands.
2086 (python-shell-send-region)
2087 (python-shell-switch-to-shell): New commands.
2088 (python-send-string): Delete command.
2089 (python-shell-send-string): New command.
2090 (python-switch-to-python): Delete command.
2091 (python-shell-switch-to-shell): New command.
2092 (python-describe-symbol): Delete command.
2093 (python-eldoc-at-point): New command.
2094 (python--set-prompt-regexp, python-args-to-list)
2095 (python-after-info-look, python-check-version)
2096 (python-check-comint-prompt, python-find-imports)
2097 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2098 (python-unload-function, python-expand-template)
2099 (python-maybe-jython, python-preoutput-filter)
2100 (python-pdbtrack-get-source-buffer)
2101 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2102 (python-pdbtrack-toggle-stack-tracking)
2103 (python-pdbtrack-track-stack-file, python-initial-text)
2104 (python-first-word, python-comment-line-p, python-send-command)
2105 (python-setup-brm, python-sentinel, python-set-proc)
2106 (python-skip-out, python-input-filter, python-outdent-p)
2107 (python-outline-level, python-backslash-continuation-line-p)
2108 (python-end-of-block, python-end-of-statement, python-mark-block)
2109 (python-beginning-of-block, python-beginning-of-statement)
2110 (python-blank-line-p, python-beginning-of-string)
2111 (python-open-block-statement-p): Delete functions.
2112 (python-indent-line, python-indent-line-1): Delete functions.
2113 (python-indent-line): New function.
2114 (python-indentation-levels): Delete function.
2115 (python-indent-calculate-levels): New function.
2116 (python-proc): Delete function.
2117 (python-shell-get-process): New function.
2118 (python-send-receive): Delete function.
2119 (python-shell-send-string-no-output): New function.
2120 (python-module-path): Delete function.
2121 (python-ffap-module-path): New function.
2122 (python-completion-at-point)
2123 (python-symbol-completions): Delete functions.
2124 (python-completion-complete-at-point): New function.
2125 (python-load-file): Delete function.
2126 (python-shell-send-file): New function.
2127 (python-calculate-indentation): Delete function.
2128 (python-indent-calculate-indentation): New function.
2129 (python-skip-comments/blanks): Delete function.
2130 (python-util-forward-comment): New function.
2131 (python-continuation-line-p): Delete function.
2132 (python-info-continuation-line-p): New function.
2133 (python-which-func, python-current-defun): Delete function.
2134 (python-info-current-defun): New function.
2135 (python-beginning-of-defun): Delete function.
2136 (python-nav-beginning-of-defun): New function.
2137 (python-close-block-statement-p)
2138 (python-block-end-p): Delete function.
2139 (python-info-closing-block): New function.
2140 (python-comint-output-filter-function)
2141 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2142 (python-fill-comment, python-fill-decorator, python-fill-paren)
2143 (python-fill-string, python-imenu-make-element-tree)
2144 (python-imenu-make-tree, python-imenu-tree-assoc)
2145 (python-indent-context, python-indent-dedent-line)
2146 (python-indent-line-function)
2147 (python-indent-post-self-insert-function)
2148 (python-indent-toggle-levels)
2149 (python-info-assignment-continuation-line-p)
2150 (python-info-beginning-of-backlash)
2151 (python-info-block-continuation-line-p)
2152 (python-info-closing-block-message)
2153 (python-info-line-ends-backslash-p)
2154 (python-info-looking-at-beginning-of-defun)
2155 (python-info-ppss-context, python-info-ppss-context-type)
2156 (python-nav-list-defun-positions, python-nav-read-defun)
2157 (python-nav-sentence-end, python-nav-sentence-start)
2158 (python-pdbtrack-comint-output-filter-function)
2159 (python-pdbtrack-set-tracked-buffer)
2160 (python-shell-calculate-exec-path)
2161 (python-shell-calculate-process-environment)
2162 (python-shell-completion--do-completion-at-point)
2163 (python-shell-completion--get-completions)
2164 (python-shell-completion-complete-at-point)
2165 (python-shell-completion-complete-or-indent)
2166 (python-shell-get-or-create-process)
2167 (python-shell-get-process-name)
2168 (python-shell-internal-get-or-create-process)
2169 (python-shell-internal-get-process-name)
2170 (python-shell-internal-send-string, python-shell-make-comint)
2171 (python-shell-parse-command, python-shell-send-setup-code)
2172 (python-skeleton-add-menu-items)
2173 (python-util-clone-local-variables, python-util-position)
2174 (run-python-internal, python-indentation-levels)
2175 (python-nav-beginning-of-defun)
2176 (python-completion-complete-at-point): New functions.
2177 (run-python): Change arguments. New API requirements.
2178
4302f5ba
SM
21792012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2180
f38ea36d
SM
2181 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2182 (bug#11649).
2183
2184 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2185 (macroexp--expand-all): Use it.
2186
4302f5ba
SM
2187 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2188 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2189 Use `cl-function' instead.
2190
33377562
JB
21912012-06-14 Juanma Barranquero <lekktu@gmail.com>
2192
2193 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2194 Suggested by Stefan Monnier while discussing bug#11657.
2195
54c5ba1a
SS
21962012-06-14 Sam Steingold <sds@gnu.org>
2197
2198 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2199
f9f1b1fe
AS
22002012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2201
2202 * play/doctor.el (doctor-doc): Remove parameter and use
2203 doctor-sent instead of sent.
2204 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2205
a81068ba
SM
22062012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2207
5a315f9c
SM
2208 * files.el: Require cl-lib.
2209 (file-name-non-special): Replace case -> cl-case.
2210
2211 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2212
a81068ba
SM
2213 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2214 mapping from #' to function*.
2215
8cca9703
CY
22162012-06-13 Chong Yidong <cyd@gnu.org>
2217
2218 * mouse.el (mouse-drag-track): Do not set the mark if the user
2219 releases the mouse without selecting anything (Bug#11588).
2220
a12ac9d7
SM
22212012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2222
ccf1dc18
SM
2223 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2224 as well (bug#11646).
2225
ef62b23d
SM
2226 * loadup.el: Count byte-code functions as well.
2227
c4c8444a
SM
2228 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2229 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2230
a12ac9d7
SM
2231 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2232 (bug#11649). Add cl-defun and cl-defmacro.
2233
87e6e64f
DA
22342012-06-13 Drew Adams <drew.adams@oracle.com>
2235
2236 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2237 Fix last change.
2238
682cefaf
MA
22392012-06-13 Michael Albinus <michael.albinus@gmx.de>
2240
2241 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2242 Otherwise, it blocks in batch mode.
2243
773e1f08
JB
22442012-06-13 Juanma Barranquero <lekktu@gmail.com>
2245
2246 * help-mode.el (bookmark-make-record-default): Declare.
2247
60057926
CY
22482012-06-13 Chong Yidong <cyd@gnu.org>
2249
2250 * emacs-lisp/package.el (list-packages): Compute a list of
2251 packages that are newly-available since the last list-packages
2252 invocation.
2253 (package-menu--new-package-list): New var.
2254 (package-menu--generate, package-menu--print-info)
2255 (package-menu--status-predicate, package-menu-mark-install):
2256 Handle new status label "new".
2257
ad4d226c
SM
22582012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2259
2260 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2261 conversion to backquotes.
2262
f1a4e679
CY
22632012-06-12 Chong Yidong <cyd@gnu.org>
2264
2265 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2266 Rename from gud-inhibit-global-bindings.
2267
2268 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2269
2270 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2271 hook from nxml-glyph-set-hook.
2272
2273 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2274 declaration.
2275
2276 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2277
2278 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2279 Convert to defcustom.
2280
0c9e42b5
DA
22812012-06-12 Drew Adams <drew.adams@oracle.com>
2282
2283 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2284 New functions.
2285 (help-mode): Use them.
2286
09e06855
GM
22872012-06-11 Glenn Morris <rgm@gnu.org>
2288
2289 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2290 Use preprocessor face for directives.
2291 (fortran-directive-re): Doc fix.
2292
71adb94b
SM
22932012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2294
2eb87922
SM
2295 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2296 conversion to backquotes (bug#11652).
2297
71adb94b
SM
2298 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2299 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2300 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2301 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2302 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2303 (cl-ninth, cl-tenth): Mark them as inlinable.
2304 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2305 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2306 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2307 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2308 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2309 (cl-list*, cl-adjoin): Don't put an autoload manually.
2310 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2311 (cl--compiler-macro-list*): Add autoload cookie.
2312 (cl--compiler-macro-cXXr): New function.
2eb87922 2313
71adb94b
SM
2314 * help-fns.el (help-fns--compiler-macro): New function extracted from
2315 describe-function-1; follow aliases and use `compiler-macro' property.
2316 (describe-function-1): Use it.
2317
a6674402
CY
23182012-06-11 Chong Yidong <cyd@gnu.org>
2319
2320 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2321 is uninstalled, if imagemagick is installed.
2322
bb3faf5b
SM
23232012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2324
2325 * emacs-lisp/cl-lib.el: Use lexical-binding.
2326 (cl-map-extents, cl-maclisp-member): Remove.
2327 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2328 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2329 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2330 * emacs-lisp/cl-extra.el: Use lexical-binding.
2331 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2332 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2333 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2334 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2335 * emacs-lisp/cl-seq.el: Use lexical-binding.
2336 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2337 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2338 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2339 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2340 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2341 CL's internals.
2342
2fe4b125
MA
23432012-06-11 Michael Albinus <michael.albinus@gmx.de>
2344
2345 Sync with Tramp 2.2.6-pre.
2346
2347 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2348 `print-length' and `print-level' to nil, in order to avoid
2349 truncation. Reported by Christopher Schmidt
2350 <christopher@ristopher.com>.
2351
2352 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2353
2354 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2355 New defmacro.
2356 (tramp-compat-copy-directory): Add optional argument
2357 COPY-CONTENTS. It is not handled yet.
2358
2359 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2360 (tramp-ftp-file-name-p): Simplify.
2361
2362 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2363 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2364 connection vector.
2365
2366 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2367 (tramp-methods): Do not use `tramp-password-end-of-line'.
2368 (tramp-completion-function-alist-putty): Handle UNIX case.
2369 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2370 (tramp-do-file-attributes-with-stat)
2371 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2372 gid as real numbers. They could run out of integer range on cygwin.
2373 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2374 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2375 (tramp-open-connection-setup-interactive-shell):
2376 Use `tramp-cleanup'. Move check for busyboxes ...
2377 (tramp-find-shell): ... here. Simplify implementation.
2378 Set "remote-shell" property also for alternative shells.
2379 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2380 If failing, a regular file would be written otherwise.
2381 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2382 (tramp-find-inline-encoding): Cache the coding commands in the
2383 process cache. Apply test command on the remote side, if defined.
2384 (tramp-find-inline-compress): Cache the compress commands in the
2385 process cache.
2386 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2387 when requested. Handle hops.
2388 (tramp-current-connection): New defvar.
87e6e64f
DA
2389 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2390 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2391 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2392 (tramp-get-inline-compress, tramp-get-inline-coding):
2393 Read connection properties from the process cache.
2fe4b125
MA
2394
2395 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2396 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2397 New defconsts.
2fe4b125
MA
2398 (tramp-smb-prompt): Extend for powershell prompt.
2399 (tramp-smb-file-name-handler-alist): Add handlers for
2400 `process-file', `shell-command' and `start-file-process'.
2401 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2402 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2403 (tramp-smb-file-name-p): Simplify.
2404 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2405 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2406 (tramp-smb-shell-quote-argument): New defuns.
2407 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2408 Implement using "tar". By this, time-stamps are preserved.
2409 (tramp-smb-handle-copy-file): Handle also the case of directories.
2410 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2411 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2412 Use `tramp-get-connection-buffer').
2fe4b125
MA
2413 (tramp-smb-handle-rename-file): Use "rename", when source and
2414 target are on the same share.
87e6e64f
DA
2415 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2416 Use `tramp-smb-server-version'.
2fe4b125
MA
2417 (tramp-smb-wait-for-output): Remove prompt.
2418
2419 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2420 (tramp-methods, tramp-rsh-end-of-line):
2421 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2422 (tramp-save-ad-hoc-proxies): New defcustom.
2423 (tramp-completion-function-alist): Adapt docstring.
2424 (tramp-default-password-end-of-line): Remove defcustom.
2425 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2426 (tramp-user-regexp, tramp-file-name-regexp-unified)
2427 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2428 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2429 (tramp-remote-file-name-spec-regexp): New defconst.
2430 (tramp-file-name-structure): Extend structure for hops.
2431 (tramp-get-method-parameter): Move up.
2432 (tramp-file-name-p, tramp-dissect-file-name)
2433 (with-parsed-tramp-file-name): Handle hops.
2434 (tramp-file-name-hop): New defun.
2435 (tramp-make-tramp-file-name): New optional arg HOP.
2436 (tramp-message-show-progress-reporter-message): New defvar.
2437 (tramp-with-progress-reporter): Use it. We cannot use
2438 `tramp-message-show-message' here, because this suppresses also
2439 error buffers.
2440 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2441 `tramp-message-show-message' is nil.
2442 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2443 (tramp-cleanup): New defun.
2444 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2445 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2446 an error unchanged.
2447 (tramp-completion-handle-file-name-all-completions): Handle hops.
2448 Fix an error when called from ido.
2449 (tramp-completion-dissect-file-name): Use better local variable
2450 name. Add hop to the vector.
2451 (tramp-handle-insert-file-contents): Use progress-reporter for the
2452 whole scenario.
2453 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2454 to `t'.
2455 (tramp-check-for-regexp): Simplify search.
2456 (tramp-enter-password): Remove it. Move implementation ...
2457 (tramp-action-password): ... here.
2458 (tramp-mode-string-to-int, tramp-local-host-p)
2459 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2460 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2461 Set tramp-autoload cookie.
2fe4b125
MA
2462
2463 * net/trampver.el: Update release number.
2464
24652012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2466 Michael Albinus <michael.albinus@gmx.de>
2467
2468 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2469 (tramp-parse-group, tramp-parse-file)
2470 (tramp-parse-shostkeys-sknownhosts): New defuns.
2471 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2472 (tramp-parse-shosts-group, tramp-parse-sconfig)
2473 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2474 (tramp-parse-sknownhosts, tramp-parse-hosts)
2475 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2476 Use them.
2477 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2478 (tramp-parse-putty-group): Don't narrow.
2479 (tramp-parse-putty): Make a loop.
2480 (tramp-file-name-handler): Catch the `suppress' signal.
2481
72834e10
CY
24822012-06-11 Chong Yidong <cyd@gnu.org>
2483
2484 * image.el (imagemagick-register-types): Put the ImageMagick entry
2485 at the end of image-type-file-name-regexps.
2486
a4712e11
JB
24872012-06-11 Johan Bockgård <bojohan@gnu.org>
2488
2489 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2490 (pcase, pcase-let*, pcase-dolist): Use them.
2491
82ad98e3
SM
24922012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2493
2494 * emacs-lisp/pcase.el (pcase--let*): New function.
2495 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2496 (pcase--expand): Use macroexp-let².
2497
f80efb86
SM
24982012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2499
2500 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2501 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2502 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2503 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2504 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2505 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2506
31ca4639 25072012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2508
31ca4639
CY
2509 * mail/rmail.el (rmail-yank-current-message): Leave point at
2510 correct position. (Bug#11660)
94f0aa34 2511
31ca4639 25122012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2513
31ca4639 2514 * allout-widgets.el: Fix code header.
9e1b8ec4 2515
31ca4639 25162012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2517
f80efb86
SM
2518 * cus-edit.el (customize-changed-options-previous-release):
2519 Bump to 24.1.
31ca4639 2520
642b6d30
AS
25212012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2522
2523 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2524
4f5d2ba1
CY
25252012-06-09 Chong Yidong <cyd@gnu.org>
2526
2527 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2528
e75852fd
MR
25292012-06-09 Martin Rudalics <rudalics@gmx.at>
2530
2531 * window.el (special-display-popup-frame): Don't use
2532 window--display-buffer (Bug#11651).
2533
1e48e282
EZ
25342012-06-09 Eli Zaretskii <eliz@gnu.org>
2535
8a26b487
EZ
2536 Fix parallel builds: make sure loaddefs.el is not being written
2537 while Lisp files are compiled.
2538 (compile): Don't depend on 'mh-autoloads'.
2539 (compile-CMD, compile-SH): Depend on 'autoloads'.
2540 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2541
1e48e282
EZ
2542 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2543
6175e34b
CY
25442012-06-09 Chong Yidong <cyd@gnu.org>
2545
2546 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2547 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2548 Doc fixes (Bug#11225).
2549
d9857e53
SM
25502012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2551
2552 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2553 a function if there's a clear indication that it has a compiler-macro.
2554 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2555 (macro-declarations-alist): Add arglist to declaration functions.
2556 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2557 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2558 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2559 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2560 Also add autoload to find the compiler macro.
2561 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2562 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2563 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2564 (cl--compiler-macro-get): New functions, replacing calls to
2565 cl-define-compiler-macro.
2566 (cl-typep) [compiler-macro]: Use macroexp-let².
2567
f81298f8 25682012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2569
2570 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2571 string properly, fixes Bug#11473.
2572
4b56d0fe
CY
25732012-06-08 Chong Yidong <cyd@gnu.org>
2574
2575 * faces.el (set-face-attribute): Doc fix.
2576 (modify-face): Don't use :bold and :italic.
2577 (error, warning, success): Tweak definitions.
2578
2579 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2580 (custom-modified, custom-set, custom-changed, custom-themed)
2581 (custom-saved, custom-button, custom-button-mouse)
2582 (custom-button-pressed, custom-state, custom-comment-tag)
2583 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2584 (custom-group-subtitle): Use new-style face specs.
2585 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2586 (custom-set-face, custom-changed-face, custom-saved-face)
2587 (custom-button-face, custom-button-pressed-face)
2588 (custom-documentation-face, custom-state-face)
2589 (custom-comment-face, custom-comment-tag-face)
2590 (custom-variable-tag-face, custom-variable-button-face)
2591 (custom-face-tag-face, custom-group-tag-face-1)
2592 (custom-group-tag-face): Remove obsolete face alias.
2593
2594 * epa.el (epa-validity-high, epa-validity-medium)
2595 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2596 (epa-field-name, epa-field-body):
2597 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2598 (font-lock-keyword-face, font-lock-builtin-face)
2599 (font-lock-function-name-face, font-lock-variable-name-face)
2600 (font-lock-type-face, font-lock-constant-face):
2601 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2602 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2603 * speedbar.el (speedbar-button-face, speedbar-file-face)
2604 (speedbar-directory-face, speedbar-tag-face)
2605 (speedbar-selected-face, speedbar-highlight-face)
2606 (speedbar-separator-face):
2607 * whitespace.el (whitespace-newline, whitespace-space)
2608 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2609 (whitespace-line, whitespace-space-before-tab)
2610 (whitespace-space-after-tab, whitespace-indentation)
2611 (whitespace-empty):
2612 * emulation/cua-base.el (cua-global-mark):
2613 * eshell/em-prompt.el (eshell-prompt):
2614 * net/newst-plainview.el (newsticker-new-item-face)
2615 (newsticker-old-item-face, newsticker-immortal-item-face)
2616 (newsticker-obsolete-item-face, newsticker-date-face)
2617 (newsticker-statistics-face, newsticker-default-face):
2618 * net/newst-reader.el (newsticker-feed-face)
2619 (newsticker-extra-face, newsticker-enclosure-face):
2620 * net/newst-treeview.el (newsticker-treeview-face)
2621 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2622 (newsticker-treeview-immortal-face)
2623 (newsticker-treeview-obsolete-face)
2624 (newsticker-treeview-selection-face):
2625 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2626 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2627 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2628 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2629 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2630 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2631 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2632 (mpuz-text):
2633 * progmodes/vera-mode.el (vera-font-lock-number)
2634 (vera-font-lock-function, vera-font-lock-interface):
2635 * textmodes/table.el (table-cell): Use new-style face specs, and
2636 don't use the old :bold and :italic attributes.
2637
2638 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2639 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2640 (ebrowse-member-class, ebrowse-progress): Likewise.
2641 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2642 (ebrowse-file-name-face, ebrowse-default-face)
2643 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2644 (ebrowse-progress-face): Remove obsolete faces.
2645
2646 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2647 Inherit from error and warning faces respectively.
2648
2649 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2650 Likewise.
f80efb86
SM
2651 (flyspell-incorrect-face, flyspell-duplicate-face):
2652 Remove obsolete aliases.
4b56d0fe 2653
03310646
MA
26542012-06-08 Michael Albinus <michael.albinus@gmx.de>
2655
2656 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2657 Avoid infloop.
2658
513749ee
SM
26592012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2660
2661 * startup.el (argv, argi): Make lexically scoped.
2662 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2663 * emacs-lisp/cl-macs.el: Use lexical-binding.
2664 Rename cl-bind-* to cl--bind-*.
2665 * files.el: Don't require `cl' since it doesn't use it.
2666 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2667
595ef4ad
JB
26682012-06-08 Juanma Barranquero <lekktu@gmail.com>
2669
2670 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2671 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2672 instead of calling external sort utility.
2673 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2674
e9f66fcb
EZ
26752012-06-08 Eli Zaretskii <eliz@gnu.org>
2676
2677 * descr-text.el (describe-char): Mention how to insert the
2678 character, if the current input method doesn't support it.
2679 See the discussion in this thread for the details:
2680 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2681
3d10db47
SS
26822012-06-08 Sam Steingold <sds@gnu.org>
2683
2684 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2685 XF86Back to previous-buffer.
2686 (minibuffer-local-map): Bind them to next-history-element and
2687 previous-history-element respectively.
2688 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2689 help-go-back respectively.
2690 * info.el (Info-mode-map): Bind them to Info-history-forward and
2691 Info-history-back respectively.
2692 These are the keys next to Up on the ThinkPad keyboard.
2693
de7e2b36
SM
26942012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2695
2696 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2697 * emacs-lisp/cl-macs.el: Provide itself.
2698 (cl--labels-convert-cache): New var.
2699 (cl--labels-convert): New function.
2700 (cl-flet, cl-labels): New implementation with new semantics, relying on
2701 lexical-binding.
2702 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2703 (cl-closure-vars, cl--function-convert-cache)
2704 (cl--function-convert): Move from cl-macs.el.
2705 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2706 rename by removing the "cl-" prefix.
2707 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2708
6fa6c4ae
SM
27092012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2710
2711 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2712 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2713 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2714 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2715 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2716 (cl-hash-table-count): Add old compatibility aliases.
2717
2718 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2719 Use macroexpand-all-environment instead.
2720 (cl--old-macroexpand): New var.
2721 (cl--sm-macroexpand): New function.
2722 (cl-symbol-macrolet): Use it during macro expansion.
2723 (cl--function-convert-cache): New var.
2724 (cl--function-convert): New function, extracted from
2725 cl-macroexpand-all.
2726 (cl-lexical-let): Use it.
2727
2728 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2729 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2730 (cl-member): Remove old alias.
2731
2732 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2733 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2734 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2735 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2736 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2737 (cl-macroexpand-cmacs): Remove var.
2738 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2739 Use macroexpand-all instead.
2740
4dd1c416
SM
27412012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2742
2743 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2744 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2745 (macroexp-copyable-p): New functions and macros.
2746 * emacs-lisp/edebug.el (edebug-unwrap):
2747 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2748 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2749 (pcase--let*): Remove.
2750 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2751 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2752 macroexp-const-p instead.
2753 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2754
2755 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2756 instead of "cl-" for internal definitions. Use macroexp-const-p.
2757 (cl-old-bc-file-form): Remove var.
2758 (cl-const-exprs-p): Remove fun.
2759 (cl-labels, cl-macrolet): Use backquote.
2760 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2761 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2762 (cl-define-setf-expander): Rename from cl-define-setf-method.
2763 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2764
2765 * international/mule-cmds.el: Don't require CL.
2766 (view-hello-file): Don't use `letf'.
2767
ed8bd4d7
SM
27682012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2769
7287f2f3
SM
2770 * tmm.el (tmm-prompt): Use string-prefix-p.
2771 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2772 (tmm-add-prompt): Use minibuffer-completion-help.
2773 (tmm-delete-map): Remove.
2774
ed8bd4d7
SM
2775 * subr.el (kbd): Make it its own function.
2776
7b4cdbf4
SM
27772012-06-07 Stefan Merten <smerten@oekonux.de>
2778
2779 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2780 Silence compiler warnings. Fix versions.
ed8bd4d7 2781 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2782 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2783 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2784 (rst-package-emacs-version-alist): Correct Emacs version to
2785 represent major merge with upstream.
ed8bd4d7 2786 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2787
2b48d721
GM
27882012-06-06 Glenn Morris <rgm@gnu.org>
2789
2790 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2791 Only print environment variables if set.
2792
fa779ab0
SM
27932012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2794
2795 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2796 (macroexp--cons): Rename from maybe-cons.
2797 (macroexp--accumulate): Rename from macroexp-accumulate.
2798 (macroexp--all-forms): Rename from macroexpand-all-forms.
2799 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2800 (macroexp--expand-all): Rename from macroexpand-all-1.
2801
628299e0
SS
28022012-06-06 Sam Steingold <sds@gnu.org>
2803
2804 * calendar/calendar.el (calendar-in-read-only-buffer):
2805 Call `special-mode' to enable the standard read-only keybindings.
2806
b7bb5838
SM
28072012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2808
2809 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2810 with "loading" messages (bug#11635).
2811
dfb308ba
MA
28122012-06-06 Michael Albinus <michael.albinus@gmx.de>
2813
2814 * files.el (enable-remote-dir-locals): New option.
2815 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2816
0372ee92
MA
2817 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2818 Ensure, that the temp directory is local.
2819
2820 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2821 `temporary-file-directory'.
2822
eed0bb91
MA
2823 * progmodes/python.el (python-send-region): Ensure, that the
2824 temporary file is created also in the remote case.
2825
7a58f64d
GM
28262012-06-06 Glenn Morris <rgm@gnu.org>
2827
f7dd4e98
GM
2828 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2829 (vc-rcs-update-changelog): Use it.
2830
090bd7cb 2831 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2832
7a58f64d
GM
2833 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2834 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2835 (vc-sccs-diff): Replace use of the external vcdiff script.
2836
daed4003
GM
28372012-06-05 Glenn Morris <rgm@gnu.org>
2838
2839 * ledit.el: Move to obsolete/.
2840
48c455c7
SS
28412012-06-05 Sam Steingold <sds@gnu.org>
2842
ed9265fc 2843 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2844 patch (Bug#11140).
2845
57a7d507
SM
28462012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2847
090bd7cb 2848 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2849
53aacf21
SM
2850 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2851 compiler-macro expansion.
2852
57a7d507
SM
2853 Add native compiler-macro support.
2854 * emacs-lisp/macroexp.el (macroexpand-all-1):
2855 Support compiler-macros directly. Properly follow aliases and apply
2856 the compiler macros more thoroughly.
2857 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2858 macroexpand now properly follows aliases.
2859 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2860 (cl-compiler-macroexpand): Use new prop.
2861 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2862
2863 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2864
51a5f9d8
MR
28652012-06-05 Martin Rudalics <rudalics@gmx.at>
2866
2867 * window.el (get-lru-window, get-mru-window, get-largest-window):
2868 New argument NOT-SELECTED to avoid picking the selected window.
2869 (window--display-buffer-1, window--display-buffer-2): Replace by
2870 new function window--display-buffer
2871 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2872 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2873 Use window--display-buffer.
51a5f9d8
MR
2874 (display-buffer-use-some-window): Remove temporary dedication
2875 hack by calling get-lru-window and get-largest-window with
2876 NOT-SELECTED argument non-nil. Call window--display-buffer.
2877
08f9f738
GM
28782012-06-05 Glenn Morris <rgm@gnu.org>
2879
2880 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2881 Replace external vcdiff script.
2882
e364a2b7
SM
28832012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2884
2885 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2886
041df390
CY
28872012-06-04 Chong Yidong <cyd@gnu.org>
2888
e364a2b7
SM
2889 * image.el (imagemagick-types-inhibit): Revert last change.
2890 Add INFO and M.
47b36b94 2891 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2892
7c1898a7
SM
28932012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2894
2895 * emacs-lisp/cl-lib.el: Rename from cl.el.
2896 * emacs-lisp/cl.el: New compatibility file.
2897 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2898 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2899 to obey the "cl-" prefix.
2900 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2901
0c3461de
GM
29022012-06-03 Glenn Morris <rgm@gnu.org>
2903
1e266c88
GM
2904 * emacs-lisp/authors.el (authors-aliases): Addition.
2905
0c3461de
GM
2906 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2907 Fix :version.
2908
d8a52e15
SM
29092012-06-03 Stefan Merten <smerten@oekonux.de>
2910
2911 * textmodes/rst.el: Add comments.
2912 (rst-transition, rst-adornment): New faces.
2913 (rst-adornment-faces-alist): Make default safe to reevaluate.
2914 Fixes
2915 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2916 Improve customization tags.
2917 (rst-define-level-faces): Clarify meaning.
2918
5205d6f6
CY
29192012-06-03 Chong Yidong <cyd@gnu.org>
2920
2921 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2922 (compilation-mode-line-run, compilation-mode-line-exit):
2923 New faces.
5205d6f6
CY
2924 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2925
757ee657
JD
29262012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2927
7c1898a7
SM
2928 * progmodes/which-func.el (which-func-update-ediff-windows):
2929 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2930
5f2c76c6
CY
29312012-06-03 Chong Yidong <cyd@gnu.org>
2932
2933 * bindings.el: Remove explicit help text from format-mode-line.
2934 It is now supplied by mode-line-default-help-echo.
2935 (mode-line-front-space, mode-line-end-spaces)
2936 (mode-line-misc-info): New variables.
2937 (mode-line-modes, mode-line-position): Move the default value to
2938 the variable definition.
2939 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2940 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2941 (mode-line-modified-help-echo): New functions.
2942 (mode-line-mule-info, mode-line-modified): Use them.
2943 (mode-line-eol-desc, propertized-buffer-identification):
2944 Consistency fixes for help text.
cbe46e5f
CY
2945 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2946 set-buffer-file-coding-system (Bug#289).
2947 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2948
f2d6a3df
SM
29492012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2950
2951 * simple.el (execute-extended-command): Set real-this-command
2952 (bug#11506).
2953
37269466
CY
29542012-06-02 Chong Yidong <cyd@gnu.org>
2955
2956 Remove incorrect uses of "modeline" in comments, docstrings, and
2957 function/variable names (Bug#10329).
2958
2959 * cus-edit.el (mode-line):
2960 * dframe.el (dframe-mouse-hscroll):
2961 * emacs-lisp/re-builder.el:
2962 * emacs-lisp/easy-mmode.el (define-minor-mode):
2963 * frame.el (set-frame-name):
2964 * help.el (lookup-minor-mode-from-indicator):
2965 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2966 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2967 (c-toggle-hungry-state):
2968 * progmodes/antlr-mode.el (antlr-language-alist):
2969 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2970 * progmodes/vhdl-mode.el (vhdl-mode):
2971 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2972 * term/ns-win.el (ns-face-at-pos):
2973 * term/sup-mouse.el (sup-mouse-report):
2974 * textmodes/flyspell.el (flyspell-mode-line-string):
2975 * textmodes/ispell.el (ispell-highlight-face):
2976 * textmodes/reftex-global.el:
2977 * vc/vc-arch.el (vc-arch-mode-line-string):
2978 * vc/vc-cvs.el (vc-cvs-mode-line-string):
2979 * vc/vc-git.el (vc-git-mode-line-string):
2980 * vc/vc-hooks.el (vc-display-status)
2981 (vc-default-mode-line-string):
2982 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
2983
2984 * ansi-color.el (ansi-color-faces-vector): Change default faces.
2985
2986 * dired.el (dired-sort-set-mode-line): Rename from
2987 dired-sort-set-modeline. All callers changed.
2988
2989 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
2990 eshell-status-in-modeline.
2991
2992 * foldout.el (foldout-mode-line-string): Rename from
2993 foldout-modeline-string. All callers changed.
2994 (foldout-update-mode-line): Rename from foldout-update-modeline.
2995
2996 * subr.el (redraw-modeline): Make into obsolete alias.
2997
2998 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
2999 timeclock-modeline-display. Make old name an alias.
3000 (timeclock-update-mode-line): Likewise. All callers changed.
3001 (timeclock-mode-line-display): No need to check before using
3002 add-hook.
3003 (timeclock-relative, timeclock-day-over-hook)
3004 (timeclock-use-elapsed, timeclock-mode-string)
3005 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3006
3007 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3008 crisp-mode-modeline-string.
3009
3010 * play/solitaire.el (solitaire-build-mode-line): Rename from
3011 solitaire-build-modeline. All callers changed.
3012
3013 * play/zone.el (zone-hiding-mode-line): Rename from
3014 zone-hiding-modeline. All callers changed.
3015 (zone): Remove unusued `modeline-hidden-level' property.
3016
3017 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3018 xscheme-modeline-initialize. All callers changed.
3019
3020 * strokes.el (strokes-lighter): Rename from
3021 strokes-modeline-string.
3022
3023 * textmodes/sgml-mode.el (html-face-tag-alist)
3024 (html-tag-face-alist): Use mode-line face instead of obsolete
3025 alias modeline.
3026
42152ee4
SM
30272012-06-02 Stefan Merten <smerten@oekonux.de>
3028
3029 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3030 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3031
95f520b5
CY
30322012-06-02 Chong Yidong <cyd@gnu.org>
3033
3034 * image.el (imagemagick-enabled-types): Rename from
3035 imagemagick-types-enable. Add many more types.
3036 (imagemagick-types-inhibit): Change default to nil.
3037 (imagemagick-filter-types): Caller changed.
3038
4a5f187a
SM
30392012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3040
03fef3e6
SM
3041 * emacs-lisp/cl-macs.el: Use backquotes.
3042 (cl-transform-function-property): Use eval-and-compile rather than
3043 abusing `require'.
3044 (defstruct): Use declare-function instead of with-no-warnings.
3045
4a5f187a
SM
3046 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3047 (byte-compile-output-docform): Re-add the print-circle bindings.
3048 (byte-compile-fix-header): Use #$ just because it's shorter.
3049 (byte-compile-output-file-form): Remove defun/defmacro.
3050
bd56924f
MR
30512012-06-01 Martin Rudalics <rudalics@gmx.at>
3052
3053 * simple.el (choose-completion): Remove now obsolete binding for
3054 owindow.
3055
046e38ce
MA
30562012-06-01 Michael Albinus <michael.albinus@gmx.de>
3057
3058 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3059 in order to avoid "Stack overflow in regexp matcher".
3060
32d72c2f
GM
30612012-05-31 Glenn Morris <rgm@gnu.org>
3062
3063 * image.el: For clarity, call imagemagick-register-types at
3064 top-level, rather than relying on a custom :initialize.
3065 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3066 (imagemagick-filter-types): New function. (Bug#7406)
3067 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3068 If disabling support, remove elements altogether rather
3069 than using an impossible regexp.
3070 (imagemagick-types-inhibit): Give it the default init function.
3071
dd41169b
SM
30722012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3073
4a5f187a
SM
3074 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3075 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3076
efc00ab1 30772012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3078
3079 * desktop.el (desktop-read): Clear previous and next buffers for
3080 all windows and bury *Messages* buffer (bug#11556).
3081
500fcedc
SM
30822012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3083
3084 Add `declare' for `defun'. Align `defmacro's with it.
3085 * emacs-lisp/easy-mmode.el (define-minor-mode)
3086 (define-globalized-minor-mode): Don't autoload the var definitions.
3087 * emacs-lisp/byte-run.el: Use lexical-binding.
3088 (defun-declarations-alist, macro-declarations-alist): New vars.
3089 (defmacro, defun): Use them.
3090 (make-obsolete, define-obsolete-function-alias)
3091 (make-obsolete-variable, define-obsolete-variable-alias):
3092 Use `declare'.
3093 (macro-declaration-function): Mark obsolete.
3094 * emacs-lisp/autoload.el: Use lexical-binding.
3095 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3096
6e8a1786
AM
30972012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3098
3099 * textmodes/ispell.el (ispell-with-no-warnings):
3100 Define as a macro.
500fcedc
SM
3101 (ispell-kill-ispell, ispell-change-dictionary):
3102 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3103 `interactive-p'.
3104
61b108cc
SM
31052012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3106
3107 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3108 (macro-declaration-function): Move var from C code.
3109 (macro-declaration-function): Define function with defalias.
3110 * emacs-lisp/macroexp.el (macroexpand-all-1):
3111 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3112 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3113 defun/defmacro any more.
3114 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3115 Provide fallback for unknown arglist.
3116 (byte-compile-arglist-warn): Change calling convention.
3117 (byte-compile-output-file-form): Move print-vars binding.
3118 (byte-compile-output-docform): Simplify accordingly.
3119 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3120 (byte-compile-defmacro-declaration): Remove.
3121 (byte-compile-file-form-defmumble): Generalize to defalias.
3122 (byte-compile-output-as-comment): Return byte-positions.
3123 Simplify callers accordingly.
3124 (byte-compile-lambda): Use `assert'.
3125 (byte-compile-defun, byte-compile-defmacro): Remove.
3126 (byte-compile-file-form-defalias):
3127 Use byte-compile-file-form-defmumble.
3128 (byte-compile-defalias-warn): Remove.
3129
6d3f7c2f
SM
31302012-05-29 Stefan Merten <smerten@oekonux.de>
3131
3132 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3133 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3134
3135 (rst-mode-abbrev-table): Merge definition.
3136 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3137 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3138
6dbaa1c7
UJ
31392012-05-29 Ulf Jasper <ulf.jasper@web.de>
3140
3141 * calendar/icalendar.el
3142 (icalendar-export-region): Export UID properly.
3143
d209e2fb 31442012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3145 * calendar/icalendar.el (icalendar-import-format):
3146 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3147 (icalendar-import-format-uid): New.
3148 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3149 Export UID.
3150
6876a58d
SM
31512012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3152
3153 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3154 different alternative patterns.
3155 (pcase-codegen): Be more careful to preserve identity.
3156 (pcase--u1): Don't forget to mark vars as used.
3157
3158 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3159 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3160 (byte-compile-from-buffer): ...rather than here.
3161
3162 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3163 functions from byte-compile-function-environment.
3164
46b7967e
TN
31652012-05-29 Troels Nielsen <bn.troels@gmail.com>
3166
3167 * window.el (window-deletable-p): Avoid deleting the root window
3168 of a frame with an active minibuffer.
3169
69d565e2
MR
31702012-05-29 Martin Rudalics <rudalics@gmx.at>
3171
3172 * simple.el (choose-completion): Use quit-window (Bug#11567).
3173
a149fa51
CY
31742012-05-29 Chong Yidong <cyd@gnu.org>
3175
3176 * whitespace.el (whitespace-cleanup): Fix usage of
3177 whitespace-empty-at-bob-regexp (Bug#11492).
3178
2b311310
AH
31792012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3180
3181 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3182 revert (Bug#11488).
3183
b9cb2387
JL
31842012-05-29 Juri Linkov <juri@jurta.org>
3185
3186 * isearch.el (isearch-mode-map): Bind `M-s _' to
3187 `isearch-toggle-symbol'. Bind `M-s c' to
3188 `isearch-toggle-case-fold'.
3189 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3190 (isearch-forward): Add `M-s _' to the docstring.
3191 (isearch-forward-symbol, isearch-toggle-case-fold)
3192 (isearch-symbol-regexp): New functions. (Bug#11381)
3193
d5e61c1c
JL
31942012-05-29 Juri Linkov <juri@jurta.org>
3195
3196 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3197 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3198 a function, call it to get the regexp.
3199 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3200 property `isearch-message-prefix' instead of the string "word ".
3201 (isearch-search-fun-default): For the case of `isearch-word',
3202 return a lambda that calls re-search-forward/re-search-backward
3203 with a regexp returned by `word-search-regexp' or by the function
3204 in `isearch-word'.
3205
8cbd80f7
JL
32062012-05-29 Juri Linkov <juri@jurta.org>
3207
3208 * isearch.el (isearch-search-fun-default): New function.
3209 (isearch-search-fun): Move default part to the new function
3210 `isearch-search-fun-default'.
3211 (isearch-search-fun-function): Set the default value to
3212 `isearch-search-fun-default'. (Bug#11381)
3213
3214 * comint.el (comint-history-isearch-end):
3215 Use `isearch-search-fun-default'.
3216 (comint-history-isearch-search): Use `isearch-search-fun-default'
3217 and remove spacial case for `isearch-word'.
3218 (comint-history-isearch-wrap): Remove spacial case for
3219 `isearch-word'.
3220
3221 * hexl.el (hexl-isearch-search-function):
3222 Use `isearch-search-fun-default'.
3223
3224 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3225 Use `word-search-regexp' for `isearch-word'.
3226
3227 * misearch.el (multi-isearch-search-fun):
3228 Use `isearch-search-fun-default'.
3229
3230 * simple.el (minibuffer-history-isearch-search):
3231 Use `isearch-search-fun-default' and remove spacial case for
3232 `isearch-word'.
3233 (minibuffer-history-isearch-wrap): Remove spacial case for
3234 `isearch-word'.
3235
3236 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3237 Remove spacial case for `isearch-word'.
3238 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3239
85c8c5b6
AM
32402012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3241
3242 Decrease XEmacs incompatibilities.
3243 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3244 Use `string-match'.
3245 (flyspell-delete-region-overlays): Use alternative definition for
3246 XEmacs.
3247 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3248 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3249 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3250 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3251 `define-obsolete-face-alias' under XEmacs, but old method.
3252
3253 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3254 `with-no-warnings' definition or Emacs alias.
3255 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3256 (ispell-word): Do not use `region-p' if XEmacs.
3257
8cab9efc
AM
32582012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3259
3260 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3261 Check for `ispell-dictionary-base-alist' instead of full
3262 `ispell-dictionary-alist'.
3263 (ispell-init-process): Show spellchecker when starting new Ispell
3264 process.
3265
fda91268
RZ
32662012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3267
3268 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3269 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3270
694ea8e3
JB
32712012-05-27 Juanma Barranquero <lekktu@gmail.com>
3272
3273 * version.el (motif-version-string, gtk-version-string)
3274 (ns-version-string): Declare.
3275
e4d4f539
JL
32762012-05-27 Juri Linkov <juri@jurta.org>
3277
3278 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3279 after the `eval-defun-1' specialcaseing
3280 like in `edebug-eval-defun' (bug#10181).
3281
3282 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3283 like in `eval-defun-1'.
3284
33017faf 32852012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3286
fda91268
RZ
3287 * mail/sendmail.el (mail-yank-region):
3288 Recognize rmail-yank-current-message in addition to insert-buffer.
3289 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3290 a *mail* buffer created through rmail-start-mail with sendmail as
3291 mail-user-agent.
3292
33017faf
GM
32932012-05-27 Chong Yidong <cyd@gnu.org>
3294
3295 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3296 Default to 256 (Bug#11267).
3297
3298 * help.el (describe-mode): Doc fix.
3299
04188bb9
GM
33002012-05-26 Glenn Morris <rgm@gnu.org>
3301
38264cc9
GM
3302 * w32-fns.el (w32-init-info): Remove.
3303 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3304
eb7afdad
GM
3305 * info.el (info-initialize): For self-contained NS builds, put the
3306 included info/ directory at the front. (Bug#2791)
3307
04188bb9
GM
3308 * paths.el (Info-default-directory-list): Make it a defcustom,
3309 mainly so that we can use custom-initialize-delay.
3310
a179e3f7
SM
33112012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3312
43416392
SM
3313 * subr.el (buffer-has-markers-at): Mark obsolete.
3314
a179e3f7 3315 * subr.el (lambda): Use declare.
43416392 3316
a179e3f7
SM
3317 * emacs-lisp/lisp-mode.el (lambda):
3318 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3319
34a008d9
AH
33202012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3321
3322 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3323
0a3b289f
GM
33242012-05-26 Glenn Morris <rgm@gnu.org>
3325
3326 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3327
758c81e8
GM
33282012-05-25 Glenn Morris <rgm@gnu.org>
3329
f9f334f0
GM
3330 * paths.el: Remove no-byte-compile.
3331 * loadup.el: No need to load paths.el uncompiled.
3332
87eb79c2
GM
3333 * image.el (imagemagick-types-inhibit): Doc fix.
3334
758c81e8
GM
3335 * version.el: Remove no-byte-compile and associated formatting.
3336 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3337 is ancient code from when there was an "inc-vers.el".
3338
e7e85dc0
SM
33392012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3340
3341 * progmodes/gdb-mi.el: Minor style changes.
3342 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3343 Turn into minor modes.
3344 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3345 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3346 (gdb-shell): Remove unneeded let-binding.
3347 (gdb-get-many-fields): Eliminate O(n²) behavior.
3348
f31237a4
EZ
33492012-05-25 Eli Zaretskii <eliz@gnu.org>
3350
3351 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3352 platforms that don't link in fontset.c.
3353
bc1b21bb
JL
33542012-05-25 Juri Linkov <juri@jurta.org>
3355
3356 Use the same diff color scheme as in modern VCSes (bug#10181).
3357
3358 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3359 to avoid confusion with `diff-added' that now uses green colors.
3360 (diff-removed): Use shades of red.
3361 (diff-added): Use shades of green.
3362 (diff-changed): Leave just the yellow color.
3363 (diff-use-changed-face): New variable.
3364 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3365 how to highlight context diff changes.
3366 (diff-refine-change): Use shades of yellow.
3367 (diff-refine-removed): New face that uses shades of red.
3368 (diff-refine-added): New face that uses shades of green.
3369 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3370 `diff-refine-removed' in the call to `smerge-refine-subst'
3371 depending on the value of `diff-use-changed-face'.
3372
3373 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3374 (smerge-other): Use shades of green.
3375 (smerge-base): Use shades of yellow.
3376 (smerge-refined-change): Empty face.
3377 (smerge-refined-removed): New face that uses shades of red.
3378 (smerge-refined-added): New face that uses shades of green.
3379 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3380 args `props-r' and `props-a', and use them. Doc fix.
3381 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3382 on its value use different faces `smerge-refined-change',
3383 `smerge-refined-removed', `smerge-refined-added' in the call to
3384 `smerge-refine-subst'.
3385
3386 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3387 Add face condition `min-colors 88' with shades of red.
3388 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3389 `min-colors 88' with shades of green.
3390 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3391 `min-colors 88' with shades of yellow.
3392
6df9112c
GM
33932012-05-24 Glenn Morris <rgm@gnu.org>
3394
ead5edc0
GM
3395 * paths.el (prune-directory-list, remote-shell-program): Move to...
3396 * files.el (prune-directory-list, remote-shell-program): ...here.
3397 For the latter, delay initialization, prefer ssh, just search PATH.
3398
f18b81e6
GM
3399 * paths.el (term-file-prefix): Move to faces.el (the only user).
3400 * faces.el (term-file-prefix): Move here, make it a defcustom.
3401
ee2f89a6
GM
3402 * paths.el (news-directory, news-path, news-inews-program):
3403 Move to gnus/nnspool.el.
61a583ca 3404
f8815e4c
GM
3405 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3406
c8f3b42c
GM
3407 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3408 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3409 Make the latter a defcustom, with a delayed initialization.
3410
6df9112c
GM
3411 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3412 These were deleted from Gnus itself late 2010.
3413
5dadff36
JB
34142012-05-22 Juanma Barranquero <lekktu@gmail.com>
3415
9e1701c6
JB
3416 * progmodes/which-func.el (which-func-ff-hook):
3417 Check against user-error, not error.
3418
bd7239f5 3419 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3420 cl-specs.el, which no longer exists.
3421
3290526d
GM
34222012-05-22 Glenn Morris <rgm@gnu.org>
3423
3424 * info.el (info-emacs-bug): New command.
3425 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3426 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3427
ff0c3cfb
GM
34282012-05-21 Glenn Morris <rgm@gnu.org>
3429
3430 * makefile.w32-in (update-subdirs-SH):
3431 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3432
5814f126
SM
34332012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3434
a52c0aa0
SM
3435 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3436
5814f126
SM
3437 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3438 Simplify Maven regexp, and make sure the file can't start with a space
3439 (bug#11517).
3440
b847032c
GM
34412012-05-21 Glenn Morris <rgm@gnu.org>
3442
3443 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3444 Scrap superfluous subshells.
3445
3858bfe7
SM
34462012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3447
3448 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3449 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3450
d14b0029
JB
34512012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3452
3453 * calc/calc.el (calc-ensure-consistent-units): New variable.
3454
a52c0aa0
SM
3455 * calc/calc-units.el (math-consistent-units-p)
3456 (math-check-unit-consistency): New functions.
3457 (calc-quick-units, calc-convert-units):
3458 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3459 is non-nil.
d14b0029
JB
3460 (calc-extract-units): Fix typo.
3461
60c4db3a
SM
34622012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3463
77f3b62e
SM
3464 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3465
60c4db3a
SM
3466 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3467 (flyspell-default-deplacement-commands): Don't spell check after
3468 repeated window/frame switches (e.g. triggered by mouse-movement).
3469 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3470 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3471 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3472 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3473 Remove unused vars.
3474 (flyspell-get-casechars, flyspell-get-not-casechars):
3475 Simplify; Don't bother removing a ] just to add it back.
3476 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3477
d209e2fb 34782012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3479
3480 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3481 New functions.
bd7239f5 3482 (math-function-table): Add support for more C functions.
b1a10716 3483
3f1b25b5
AM
34842012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3485
090bd7cb
JB
3486 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3487 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3488 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3489
b581bb5c
SM
34902012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3491
3492 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3493 their respective macro declarations.
3494 * skeleton.el (define-skeleton):
3495 * progmodes/compile.el (define-compilation-mode):
3496 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3497 (define-ibuffer-filter):
3498 * emacs-lisp/generic.el (define-generic-mode):
3499 * emacs-lisp/easy-mmode.el (define-minor-mode)
3500 (define-globalized-minor-mode):
3501 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3502 * emacs-lisp/byte-run.el (defsubst):
3503 * custom.el (deftheme): Add doc-string metadata.
3504
70b8ef8f
SM
35052012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3506
3507 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3508
b1198e17
SM
35092012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3510
9abdc45d
SM
3511 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3512
b1198e17
SM
3513 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3514 * emacs-lisp/cl-macs.el: Idem.
3515 * emacs-lisp/cl-specs.el: Remove.
3516
4735906a
SM
35172012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 Minor renaming of internal CL functions and variables.
3520 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3521 (cl--position): Rename from cl-position.
3522 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3523 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3524 (cl--random-state): Rename from *random-state*.
3525
ac348012
SM
35262012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3527
3528 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3529 parens around the arg list (bug#11499).
3530
a0a79cde
JL
35312012-05-17 Juri Linkov <juri@jurta.org>
3532
3533 * isearch.el (word-search-regexp, word-search-backward)
3534 (word-search-forward, word-search-backward-lax)
3535 (word-search-forward-lax): Move functions from search.c
3536 (bug#10145, bug#11381).
3537
65034a51
AM
35382012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3539
090bd7cb
JB
3540 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3541 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3542 Delay for otherchars as for normal word components.
65034a51 3543
1a72a195
SM
35442012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 * minibuffer.el (completion--sifn-requote): Fix last change.
3547 (minibuffer-local-must-match-filename-map):
3548 Move define-obsolete-variable-alias before its var.
3549
fdb058c2
SM
35502012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3551
c41045e6
SM
3552 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3553
036dfb8b
SM
3554 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3555 behavior.
3556 (completion--string-equal-p): New function.
3557 (completion--twq-all): Use it to get better assertion failure data.
3558
2473256d
SM
3559 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3560 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3561 (shell--requote-argument): New functions.
3562 (shell-completion-vars): Use them.
3563 (shell--parse-pcomplete-arguments): Rename from
3564 shell-parse-pcomplete-arguments.
3565 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3566 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3567 Obey comint-file-name-quote-list.
3568
fdb058c2
SM
3569 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3570 (smie-indent-keyword): Use it.
3571
51fa99f1
SM
35722012-05-14 Stefan Merten <smerten@oekonux.de>
3573
3574 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3575
e18afed7 35762012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3577
3578 * net/rlogin.el (rlogin-mode-map): Fix last change.
3579
e18afed7 35802012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3581
3582 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3583 the following \r\n using a single `process-send-string', since the
3584 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3585 with two `process-send-string's (Bug#11444).
8633b1f4 3586
e18afed7 35872012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3588
fdb058c2
SM
3589 * shell.el (shell-parse-pcomplete-arguments):
3590 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3591
2d21d7f6
WJ
35922012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3593
e18afed7 3594 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3595 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3596 (image-transform-width, image-transform-fit-width): New functions.
3597 (image-transform-properties): Use them.
3598 (image-transform-check-size): New function.
3599 (image-toggle-display-image): Use it (for testing).
3600 (image-transform-set-rotation): Reduce angle mod 360.
3601 Delete obsolete comment.
3602
7102e6d0
WJ
36032012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3604
3605 * image-mode.el: Fix scaling (bug#11399).
3606 (image-transform-resize): Doc fix.
3607 (image-transform-properties): Default scale is 1 and height should
3608 be an integer.
3609
06bc5e6e
SM
36102012-05-13 Johan Bockgård <bojohan@gnu.org>
3611
3612 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3613 than hard-coding `car', to fix misbehavior when moving forward.
3614
0ae03b6a
CY
36152012-05-13 Chong Yidong <cyd@gnu.org>
3616
3617 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3618 (tabulated-list-entries, tabulated-list-padding)
3619 (tabulated-list-sort-key): Make permanent-local.
3620
3621 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3622 (electric-buffer-list): Put electric buffer menu
3623 command descriptions in this docstring, instead of the docstring
3624 of electric-buffer-menu-mode. Code cleanups.
3625 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3626 Electric-buffer-menu-mode.
3627 (electric-buffer-update-highlight): Minor code cleanup.
3628
205a7391
MA
36292012-05-13 Michael Albinus <michael.albinus@gmx.de>
3630
3631 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3632 (Bug#11447)
3633
e5bd0a28
SM
36342012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3635
3636 Move define-obsolete-variable-alias before the var's definition.
3637 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3638 * tooltip.el (tooltip-hook):
3639 * textmodes/reftex-toc.el (reftex-toc-map):
3640 * textmodes/reftex-sel.el (reftex-select-label-map)
3641 (reftex-select-bib-map):
3642 * textmodes/reftex-index.el (reftex-index-map)
3643 (reftex-index-phrases-map):
3644 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3645 * progmodes/meta-mode.el (meta-mode-map):
3646 * novice.el (disabled-command-hook):
3647 * loadhist.el (unload-hook-features-list):
3648 * frame.el (blink-cursor):
3649 * files.el (find-file-not-found-hooks, write-file-hooks)
3650 (write-contents-hooks):
3651 * emulation/tpu-edt.el (GOLD-map):
3652 * emacs-lock.el (emacs-lock-from-exiting):
3653 * emacs-lisp/generic.el (generic-font-lock-defaults):
3654 * emacs-lisp/chart.el (chart-map):
3655 * dos-fns.el (register-name-alist):
3656 * dired-x.el (dired-omit-files-p):
3657 * desktop.el (desktop-enable):
3658 * cus-edit.el (custom-mode-hook):
3659 * buff-menu.el (buffer-menu-mode-hook):
3660 * bookmark.el (bookmark-read-annotation-text-func)
3661 (bookmark-exit-hooks):
3662 * allout.el (allout-mode-deactivate-hook)
3663 (allout-exposure-change-hook, allout-structure-added-hook)
3664 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3665 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3666 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3667 comes before the corresponding variable's definition.
3668
ac59c2f6
CY
36692012-05-12 Chong Yidong <cyd@gnu.org>
3670
3671 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3672 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3673 (Buffer-menu-mode-map): Bind it.
3674 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3675
dee6c9a3
SM
36762012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3677
2171cea5
SM
3678 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3679 (prolog-upper-case-string, prolog-lower-case-string)
3680 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3681 (prolog-use-smie, prolog-smie-grammar): New vars.
3682 (prolog-smie-forward-token, prolog-smie-backward-token)
3683 (prolog-smie-rules): New funs.
3684 (prolog-comment-indent): Remove.
3685 (prolog-mode-variables): Use default comment indentation instead.
3686 Setup SMIE.
3687 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3688 (prolog-mode): Don't call them any more.
3689 (prolog-electric-colon, prolog-electric-dash)
3690 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3691
aa0382bd
SM
3692 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3693
dbacb4bd
SM
3694 * minibuffer.el (completion--twq-all): Again, allow case differences.
3695
13bdd94c
SM
3696 * term.el: Move keymap initialization code to be more idiomatic.
3697 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3698 (term-terminal-menu): Move initialization into declaration.
3699 (term-escape-char): Let the user set it in her .emacs.
3700
ff46c759
SM
3701 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3702 Provide SMIE-based indentation (not enabled by default yet).
3703 (sh-mode-map): Don't bind electric keys.
3704 Use electric-pair-mode instead of skeleton-pair.
3705 (sh-assignment-regexp): Fit within 80 columns.
3706 (sh-indent-supported): Specify actual shell name instead of boolean.
3707 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3708 (sh-maybe-here-document): Use it. Make obsolete.
3709 (sh-electric-here-document-mode) New minor mode.
3710 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3711 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3712 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3713 (sh-smie-rc-grammar, sh-use-smie): New vars.
3714 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3715 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3716 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3717 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3718 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3719 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3720 (sh-set-shell): Use smie-setup if requested.
3721
dee6c9a3
SM
3722 * term.el (term-set-escape-char): Properly set term-escape-char.
3723 See http://stackoverflow.com/questions/10524656.
3724
9f9aa044
CY
37252012-05-10 Chong Yidong <cyd@gnu.org>
3726
3727 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3728 Use url-generic-parse-url, and handle host names and Windows
3729 filenames properly.
3730 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3731 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3732 URL schemes to work on.
3733 (ffap--toggle-read-only): New function.
3734 (ffap-read-only, ffap-read-only-other-window)
3735 (ffap-read-only-other-frame): Use it.
3736 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3737 necessary for ffap-url-unwrap-remote.
3738
836d29b3
DA
37392012-05-10 Dave Abrahams <dave@boostpro.com>
3740
3741 * cus-start.el (create-lockfiles): Add it.
3742
00fd78ed
CY
37432012-05-09 Chong Yidong <cyd@gnu.org>
3744
3745 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3746 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3747
666b903b 37482012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3749
3750 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3751
666b903b 37522012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3753
3754 * ansi-color.el (ansi-color-process-output): Check for validity of
3755 comint-last-output-start before using it. This avoids a bad
3756 interaction with gdb-mi's input/output buffer.
3757
666b903b 37582012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3759
3760 * files.el (dir-locals-read-from-file):
3761 Mention dir-locals in any error message.
3762
666b903b 37632012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3764
3765 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3766 package (Bug#11410).
3767
f677562b
CY
3768 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3769 variables into description.
3770
666b903b 37712012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3772
3773 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3774 shell-delimiter-argument-list (bug#11348).
3775 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3776
b499d8d0
JB
37772012-05-09 Juanma Barranquero <lekktu@gmail.com>
3778
8f6b6da8
JB
3779 * textmodes/rst.el: Silence byte-compiler warnings.
3780 (rst-re-alist, rst-reset-section-caches): Move around.
3781 (rst-re): Use `characterp', not `char-valid-p'.
3782 (font-lock-beg, font-lock-end): Declare.
3783
4824146a
JB
3784 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3785 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3786
b499d8d0
JB
3787 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3788
ad89bb83
GM
37892012-05-08 Glenn Morris <rgm@gnu.org>
3790
3791 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3792
8bba5a75
SM
37932012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3794
49ed9c8e
SM
3795 * vc/log-edit.el: Add GNU coding standards highlighting.
3796 (log-edit-font-lock-gnu-style)
3797 (log-edit-font-lock-gnu-keywords): New vars.
3798 (log-edit-font-lock-keywords): New fun.
3799 (log-edit-mode): Don't fold case in font-lock.
3800 (log-edit-font-lock-keywords): Do not assume case-folding.
3801
07d00b56
SM
3802 * imenu.el: Misc cleanup. Make docstrings out of comments.
3803 Use lexical-binding.
3804 (imenu--index-alist, imenu--last-menubar-index-alist)
3805 (imenu-menubar-modified-tick): Use defvar-local.
3806 (imenu--split-menu): Remove unused var.
3807 (imenu--cleanup-seen): Declare as global.
3808 (imenu--cleanup): Use dolist.
3809
8bba5a75
SM
3810 * subr.el (defvar-local): Add debug spec and doc-string position.
3811
5075bdb5
GM
38122012-05-08 Glenn Morris <rgm@gnu.org>
3813
090bd7cb 3814 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3815 * language/english.el, language/georgian.el, language/greek.el:
3816 * language/japanese.el, language/khmer.el, language/korean.el:
3817 * language/lao.el, language/misc-lang.el, language/romanian.el:
3818 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3819 * language/thai.el, language/utf-8-lang.el:
3820 Remove no-byte-compile setting.
3821
5075bdb5
GM
3822 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3823
06f679a7
AH
38242012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3825
3826 * progmodes/make-mode.el (makefile-browse):
3827 Remove unnecessary interactive. (Bug#11324)
3828
03794570
GM
38292012-05-07 Glenn Morris <rgm@gnu.org>
3830
af8630f4
GM
3831 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3832
03794570
GM
3833 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3834
f0809a9d
SM
38352012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3836
28be5ce7
SM
3837 * loadup.el: Preload newcomment.el.
3838 * newcomment.el: Move autoload-only code to toplevel.
3839
f0809a9d
SM
3840 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3841 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3842 Handle new :right-align column property.
3843 (tabulated-list-print-col): Idem, plus use `display' text-property to
3844 try and preserve alignment for variable pitch fonts.
3845
1241b724
CY
38462012-05-07 Chong Yidong <cyd@gnu.org>
3847
3848 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3849 (tabulated-list-use-header-line): New var.
3850 (tabulated-list-init-header): Use it.
3851 (tabulated-list-print-fake-header): New function.
3852 (tabulated-list-print): Use it.
3853 (tabulated-list-sort-button-map): Add non-header-line commands.
3854 (tabulated-list-init-header): Add column name property to basic
3855 labels as well.
3856 (tabulated-list-col-sort): Handle non-header-line button case.
3857 (tabulated-list--sort-by-column-name): Fix a corner case.
3858
f0809a9d
SM
3859 * buff-menu.el (list-buffers--refresh):
3860 Handle Buffer-menu-use-header-line.
1241b724 3861
e5f9458f
CY
38622012-05-06 Chong Yidong <cyd@gnu.org>
3863
3864 * buff-menu.el: Convert to Tabulated List mode.
3865 (Buffer-menu-buffer+size-width): Make obsolete.
3866 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3867 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3868 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3869 documentation into docstring of buffer-menu.
3870 (Buffer-menu-toggle-files-only): Add an informative message.
3871 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3872 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3873 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3874 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3875 (Buffer-menu-execute, Buffer-menu-select)
3876 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3877 (Buffer-menu-bury): Use Tabulated List machinery.
3878 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3879 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3880 Delete.
e5f9458f
CY
3881 (list-buffers--refresh): New function.
3882 (list-buffers-noselect): Use it.
3883 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3884 (Buffer-menu--pretty-file-name): New helper functions.
3885
3886 * loadup.el: Preload tabulated-list.
3887
3888 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3889 tabulated-list-sort-column.
3890 (tabulated-list-init-header): Add the initial aligning space even
3891 if tabulated-list-padding is zero.
3892
e129292c
CS
38932012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3894
3895 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3896 whose cdr is not a cons cell correctly (bug#11038).
3897
6632d361
CY
38982012-05-06 Chong Yidong <cyd@gnu.org>
3899
e129292c
CS
3900 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3901 Accept additional plist in column descriptors.
6632d361
CY
3902 (tabulated-list-init-header): Obey it.
3903 (tabulated-list-get-entry): New function.
3904 (tabulated-list-put-tag): Use it. Use string-width instead of
3905 length.
3906 (tabulated-list--column-number): New function.
3907 (tabulated-list-print): Use it.
e129292c
CS
3908 (tabulated-list-print-col): New function.
3909 Set `tabulated-list-column-name' property on each column's text.
6632d361 3910 (tabulated-list-print-entry): Use it.
e129292c
CS
3911 (tabulated-list-delete-entry, tabulated-list-set-col):
3912 New functions.
6632d361
CY
3913 (tabulated-list-sort-column): New command (Bug#11337).
3914
3cc99f68
CY
3915 * buff-menu.el (list-buffers): Move C-x C-b binding from
3916 buff-menu.el to bindings.el.
3917
3918 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3919 :advertised-binding feature.
3920
52b61776
TN
39212012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3922
3923 * progmodes/compile.el (compilation-internal-error-properties):
3924 Calculate start position correctly when end-col is set but
3925 end-line is not (Bug#11382).
3926
ebfe2597
WJ
39272012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3928
3929 * man.el (Man-unindent): Use text-property-default-nonsticky to
3930 prevent untabify from inheriting face properties (Bug#11408).
3931
6d3f7c2f
SM
39322012-05-05 Stefan Merten <smerten@oekonux.de>
3933
3934 * textmodes/rst.el: Major merge with upstream development up to
3935 Docutils SVN r7399 / rst.el V1.2.1.
3936
3937 Clarify maintainership and authors.
3938
3939 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3940 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3941 (rst-official-version, rst-official-cvs-rev, rst-version)
3942 (rst-package-emacs-version-alist): New functions and variables
3943 for version information.
3944
3945 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3946 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3947 (rst-mode-syntax-table, rst-mode): New and corrected functions
3948 and variables representing reStructuredText features.
3949
3950 (rst-re): New function for reStructuredText regexes. Use in
3951 many places.
3952
3953 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3954 (rst-mode-map): Rebind keys.
3955
3956 (rst-mode-lazy, rst-font-lock-keywords)
3957 (rst-font-lock-extend-region)
3958 (rst-font-lock-extend-region-internal)
3959 (rst-font-lock-extend-region-extend)
3960 (rst-font-lock-find-unindented-line-limit)
3961 (rst-font-lock-find-unindented-line-match)
3962 (rst-adornment-level, rst-font-lock-adornment-level)
3963 (rst-font-lock-adornment-match)
3964 (rst-font-lock-handle-adornment-pre-match-form)
3965 (rst-font-lock-handle-adornment-matcher): Major revision of
3966 font-locking. Integrate with other code. Use `jit-lock-mode'.
3967
3968 (rst-preferred-adornments, rst-adjust-hook)
3969 (rst-new-adornment-down, rst-preferred-bullets)
3970 (rst-preferred-bullets, rst-indent, rst-indent-width)
3971 (rst-indent-field, rst-indent-literal-normal)
3972 (rst-indent-literal-minimized, rst-indent-comment): Change,
3973 extend and improve customization.
3974
3975 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
3976 (rst-normalize-cursor-position, rst-get-decoration)
3977 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
3978 (rst-rstrip, rst-toc-insert-find-delete-contents)
3979 (rst-shift-fill-region, rst-compute-bullet-tabs)
3980 (rst-debug-print-tabs, rst-debug-mark-found)
3981 (rst-shift-region-guts, rst-shift-region-right)
3982 (rst-shift-region-left, rst-use-char-classes)
3983 (rst-font-lock-keywords-function)
3984 (rst-font-lock-indentation-point)
3985 (rst-font-lock-find-unindented-line-begin)
3986 (rst-font-lock-find-unindented-line-end)
3987 (rst-font-lock-find-unindented-line)
3988 (rst-font-lock-adornment-point, rst-font-lock-level)
3989 (rst-adornment-level-alist): Remove functions and variables.
3990
3991 (rst-compare-adornments, rst-get-adornment-match)
3992 (rst-suggest-new-adornment, rst-get-adornments-around)
3993 (rst-adornment-complete-p, rst-get-next-adornment)
3994 (rst-adjust-adornment, rst-display-adornments-hierarchy)
3995 (rst-straighten-adornments): Standardize function names to
3996 use "adornment" instead of "decoration". Correct callers.
3997 Similar standardizing in many places.
3998
3999 (rst-update-section, rst-adjust, rst-promote-region)
4000 (rst-enumerate-region, rst-bullet-list-region)
4001 (rst-repeat-last-character): Correct use of `interactive'.
4002
4003 (rst-classify-adornment, rst-find-all-adornments)
4004 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4005 (rst-find-leftmost-column, rst-repeat-last-character):
4006 Refactor functions.
4007
4008 (rst-find-title-line, rst-reset-section-caches)
4009 (rst-get-adornments-around, rst-adjust-adornment-work)
4010 (rst-arabic-to-roman, rst-roman-to-arabic)
4011 (rst-insert-list-pos, rst-insert-list-new-item)
4012 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4013 New functions.
4014
4015 (rst-all-sections, rst-section-hierarchy)
4016 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4017 New variables.
4018
4019 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4020 configuration instead of only buffer. Change where necessary.
4021
4022 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4023 (rst-shift-region, rst-adaptive-fill): New functions for
4024 indentation and filling.
4025
4026 (rst-comment-line-break, rst-comment-indent)
4027 (rst-comment-insert-comment, rst-comment-region)
4028 (rst-uncomment-region): New functions for handling comments.
4029
4030 (rst-compile): Quote shell arguments.
4031
4032 (rst-compile-pdf-preview, rst-compile-slides-preview):
4033 Delete temporary files after use.
4034
a43f98b3
GM
40352012-05-05 Glenn Morris <rgm@gnu.org>
4036
48176e8b
GM
4037 * calendar/cal-html.el: Optionally include holidays in the output.
4038 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4039 (cal-html-holidays): New option.
4040 (cal-html-css-default): Add holiday entry.
4041 (holiday-in-range): Autoload it.
4042 (cal-html-htmlify-entry): Add optional class argument.
4043 (cal-html-htmlify-list): Add optional holidays argument.
4044 (cal-html-insert-agenda-days): Include holidays in the output.
4045 (cal-html-one-month): Maybe include holidays.
4046
a43f98b3
GM
4047 * calendar/holidays.el (holiday-in-range):
4048 Move here from cal-tex-list-holidays.
4049 * calendar/cal-tex.el (cal-tex-list-holidays):
4050 Make it an obsolete alias for holiday-in-range. Update all callers.
4051
fef9d149 40522012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4053
4054 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4055 Nextstep.
4056
248da2f4
RW
40572012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4058
4059 * files.el (file-auto-mode-skip): New var.
4060 (set-auto-mode-1): Use it.
4061
f95e9344
SM
40622012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4063
df96ab1e
SM
4064 * repeat.el: Use lexical-binding.
4065 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4066 (repeat-undo-count): Remove.
4067 (repeat):
4068 * progmodes/octave-mod.el (octave-abbrev-start):
4069 * progmodes/f90.el (f90-abbrev-start):
4070 * face-remap.el (text-scale-adjust):
4071 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4072
5342bb06
SM
4073 * emacs-lisp/pcase.el (pcase--let*): New function.
4074 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4075 a bit more.
4076 (pcase--split-pred): Be more clever about ruling out overlap between
4077 a predicate and some constant pattern.
4078 (pcase--q1): Use `null' instead of (eq foo nil).
4079
f95e9344
SM
4080 * subr.el (setq-local, defvar-local): New macros.
4081 (kbd): Redefine as an alias.
4082 (with-selected-window): Leave unrelated frames alone.
4083 (set-temporary-overlay-map): New function.
4084
71873e2b
SM
40852012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4086
4087 * subr.el (user-error): New function.
4088 * window.el (switch-to-buffer):
4089 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4090 (smerge-match-conflict):
4091 * simple.el (previous-matching-history-element)
4092 (next-matching-history-element, goto-history-element, undo-more)
4093 (undo-start):
4094 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4095 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4096 (next-file, tags-loop-scan, list-tags, complete-tag):
4097 * progmodes/compile.el (compilation-loop):
4098 * mouse.el (mouse-minibuffer-check):
4099 * man.el (Man-bgproc-sentinel, Man-goto-page):
4100 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4101 (Info-history-forward, Info-follow-reference, Info-menu)
4102 (Info-extract-menu-item, Info-extract-menu-counting)
4103 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4104 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4105 (Info-next-reference, Info-prev-reference, Info-index)
4106 (Info-index-next, Info-follow-nearest-node)
4107 (Info-copy-current-node-name):
4108 * imenu.el (imenu--make-index-alist)
4109 (imenu-default-create-index-function, imenu-add-to-menubar):
4110 * files.el (basic-save-buffer, recover-file):
4111 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4112 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4113 (checkdoc-message-text, checkdoc-defun):
4114 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4115 * cus-edit.el (customize-changed-options, customize-rogue)
4116 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4117 (custom-variable-mark-to-reset-standard)
4118 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4119 (custom-file):
4120 * completion.el (check-completion-length):
4121 * comint.el (comint-search-arg)
4122 (comint-previous-matching-input-string-position)
4123 (comint-previous-matching-input)
4124 (comint-replace-by-expanded-history-before-point, comint-send-input)
4125 (comint-copy-old-input, comint-backward-matching-input)
4126 (comint-goto-process-mark, comint-set-process-mark):
4127 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4128 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4129
8a61ee22
SM
41302012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4131
66408d1e
SM
4132 * dabbrev.el (dabbrev--ignore-case-p): New function.
4133 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4134 Use it.
4135
8a61ee22
SM
4136 * files.el (automount-dir-prefix): Mark as obsolete.
4137
3c74813a
GM
41382012-05-04 Glenn Morris <rgm@gnu.org>
4139
4140 * patcomp.el, play/bruce.el: Move to obsolete/.
4141
0bfcf5c5
PE
41422012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4143
4144 Fix minor Y10k bugs.
4145 * arc-mode.el (archive-unixdate):
4146 * autoinsert.el (auto-insert-alist):
4147 * calc/calc-forms.el (math-this-year):
4148 * emacs-lisp/copyright.el (copyright-current-year)
4149 (copyright-update-year, copyright):
4150 * tar-mode.el (tar-clip-time-string):
4151 * time.el (display-time-update):
4152 Don't assume years have 4 digits.
4153
78f3273a
CY
41542012-05-04 Chong Yidong <cyd@gnu.org>
4155
4156 * dos-w32.el (file-name-buffer-file-type-alist)
4157 (direct-print-region-use-command-dot-com):
4158 * ffap.el (ffap-menu-regexp):
4159 * find-file.el (ff-special-constructs):
4160 * follow.el (follow-debug):
4161 * forms.el (forms--debug):
4162 * iswitchb.el (iswitchb-all-frames):
4163 * ido.el (ido-all-frames):
4164 * emacs-lisp/timer.el (timer-max-repeats):
4165 * mail/feedmail.el (feedmail-mail-send-hook)
4166 (feedmail-mail-send-hook-queued):
4167 * mail/footnote.el (footnote-signature-separator):
4168 * mail/mailabbrev.el (mail-alias-separator-string)
4169 (mail-abbrev-mode-regexp):
4170 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4171 * progmodes/idlwave.el (idlwave-libinfo-file)
4172 (idlwave-default-completion-case-is-down)
4173 (idlwave-library-routines): Convert defvars to defcustoms.
4174
4175 * mail/rmail.el (rmail-decode-mime-charset):
4176 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4177 (idlwave-shell-fix-inserted-breaks)
4178 (idlwave-shell-activate-alt-keybindings)
4179 (idlwave-shell-use-breakpoint-glyph):
4180 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4181
f7ae6719
SM
41822012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4183
4184 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4185
47086495
WS
41862012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4187
4188 * progmodes/verilog-mode.el (font-lock-keywords):
4189 Fix mis-highligting auto. Reported by Craig Barner.
4190 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4191 defines from global name space. Reported by Dan Dever.
4192 (verilog-auto-reset, verilog-auto-reset-widths)
4193 (verilog-auto-tieoff): Support using unbased numbers for
4194 AUTORESET and AUTOTIEOFF.
4195 (verilog-submit-bug-report): Update variable list.
4196 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4197 parenthesis from not matching. Reported by Michael Rytting.
4198 (verilog-auto-template-lint): Fix hash error when linting modules
4199 with no used templates.
4200 (verilog-warn, verilog-warn-error)
4201 (verilog-warn-fatal): When non-interactive report multiple
4202 warnings before exiting. Suggested by Brad Dobbie.
4203 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4204 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4205 to report unused template errors. Reported by Brad Dobbie.
4206 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4207 nets, bug438. Reported by Vns Blore.
4208 (verilog-auto-inout-module, verilog-auto-reg)
4209 (verilog-read-decls, verilog-read-sub-decls-sig)
4210 (verilog-signals-edit-wire-reg, verilog-signals-with):
4211 Fix passing of Verilog data types in ANSI input/output ports
4212 such as "output logic" into the AUTOs. Special case "wire" and
4213 "reg" for backwards compatibility presuming Verilog 2001.
4214 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4215 (verilog-preprocess): Fix replication of preprocess output.
4216 Reported by Brad Dobbie.
4217 (verilog-auto-inst-interfaced-ports):
4218 Create verilog-auto-inst-interfaced-ports, bug429.
4219 Reported by Julian Gorfajn.
4220 (verilog-after-save-font-hook)
4221 (verilog-before-save-font-hook): New variable.
4222 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4223 (verilog-save-font-mods): Wrap disabling fontification, reported
4224 by David Rogoff.
4225 (verilog-do-indent, verilog-pretty-declarations-auto)
4226 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4227 Reported by Pierre-David Pfister.
4228 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4229 of class declarations, bug292. Reported by Kevin Heilman.
4230 (verilog-read-decls): Fix 'parameter type' not appearing in
4231 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4232 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4233 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4234 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4235 Reported by David Kravitz.
4236
42372012-05-03 Michael McNamara <mac@mail.brushroad.com>
4238
4239 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4240 assignment with tests in ifs and for loops.
4241 (verilog-extended-complete-re, verilog-complete-reg): Change so
4242 that DPI inport functions don't look like fuction declarations.
4243 (verilog-pretty-expr): Don't line up assignment
4244 operations to the test and increment in if and for loops
4245 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4246 that DPI inport functions don't look like fuction declarations.
47086495 4247
2e51d4b5
KH
42482012-05-03 Kenichi Handa <handa@m17n.org>
4249
4250 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4251 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4252 (Bug#11282).
4253
2bd785a2
SM
42542012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4255
4256 * emacs-lisp/bytecomp.el
4257 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4258 since cconv.el might have introduced :fun-body, internal-make-closure,
4259 and friends for bytecomp to handle (bug#11391).
4260 * custom.el (defcustom): Avoid ((λ ..) ..).
4261
99d27583
SM
42622012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4263
4264 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4265
55a71479
JB
42662012-05-02 Juanma Barranquero <lekktu@gmail.com>
4267
4268 * notifications.el (dbus-debug):
4269 * term/linux.el (gpm-mouse-enable):
4270 * term/screen.el (xterm-register-default-colors): Declare.
4271
7b97c764
CY
42722012-05-02 Chong Yidong <cyd@gnu.org>
4273
2bc356d7
CY
4274 * cus-start.el (gc-cons-percentage, exec-suffixes)
4275 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4276 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4277 (make-cursor-line-fully-visible, void-text-area-pointer)
4278 (font-list-limit): Add customization data.
4279
7b97c764
CY
4280 * allout.el (allout-exposure-change-functions)
4281 (allout-structure-added-functions)
4282 (allout-structure-deleted-functions)
4283 (allout-structure-shifted-functions): Rename abnormal hooks from
4284 *-hook, and convert to defcustoms.
5d3385a0
JB
4285 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4286 Convert to defcustoms.
7b97c764
CY
4287 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4288
4289 * allout-widgets.el: Hook callers changed.
4290
90207a15 42912012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4292
4293 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4294 the yanked message in preference to the default value of
4295 buffer-file-coding-system.
4296
90207a15 42972012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4298
5d3385a0
JB
4299 * window.el (display-buffer--action-function-custom-type):
4300 Fix entry.
d9558cad 4301
90207a15 43022012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4303
4304 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4305
d80ac57b
GM
43062012-05-01 Glenn Morris <rgm@gnu.org>
4307
976f7668
GM
4308 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4309
beb83b5a
GM
4310 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4311
d80ac57b
GM
4312 * cus-edit.el (custom-variable-documentation): Simplify with format.
4313
b593d6a9 43142012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4315 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4316
4317 * simple.el (suggest-key-bindings, execute-extended-command):
4318 Move from keyboard.c.
4319
782fbf2a
CY
43202012-05-01 Chong Yidong <cyd@gnu.org>
4321
4322 * follow.el: Eliminate advice.
4323 (set-process-filter, process-filter, sit-for): Advice deleted.
4324 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4325 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4326 Vars deleted.
782fbf2a
CY
4327 (follow-auto): Use a :set function.
4328 (follow-mode): Rewritten. Don't advise process filters.
4329 (follow-switch-to-current-buffer-all, follow-scroll-up)
4330 (follow-scroll-down): Assume follow-mode is bound.
4331 (follow-comint-scroll-to-bottom)
4332 (follow-align-compilation-windows): New functions.
4333 (follow--window-sorter): New function.
4334 (follow-all-followers): Use it to explicitly sort windows by their
4335 positions; don't make assumptions about next-window order.
4336 (follow-windows-start-end, follow-delete-other-windows-and-split)
4337 (follow-calc-win-start): Doc fix.
4338 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4339 vertical-motion unnecessarily.
4340 (follow-adjust-window): New function.
4341 (follow-post-command-hook): Use it.
4342 (follow-call-set-process-filter, follow-call-process-filter)
4343 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4344 (follow-stop-intercept-process-output, follow-generic-filter):
4345 Functions deleted.
4346 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4347 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4348 New functions, replacing advice on scroll-bar-* commands.
87233a14 4349 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4350
4351 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4352 (comint-postoutput-scroll-to-bottom): Use it.
4353 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4354
290af740
GM
43552012-05-01 Glenn Morris <rgm@gnu.org>
4356
4357 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4358 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4359 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4360 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4361 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4362 Remove no-byte-compile setting.
4363
6eac8dc9
SM
43642012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4365
4366 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4367 all-completions code to not return a number in the last cdr.
4368
9cc7819c
LL
43692012-04-30 Leo Liu <sdl.web@gmail.com>
4370
4371 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4372 read-only error.
4373
c93b886f
CY
43742012-04-29 Chong Yidong <cyd@gnu.org>
4375
4376 * follow.el (follow-calc-win-end): Rewrite to handle partial
4377 screen lines correctly (Bug#8390).
4378 (follow-avoid-tail-recenter): Minor cleanup.
4379
8b6c19f4
SM
43802012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4381
4382 Avoid the obsolete `assoc' package.
4383 * speedbar.el (speedbar-refresh): Avoid adelete.
4384 (speedbar-file-lists): Simplify and avoid aput.
4385 * man.el (Man--sections, Man--refpages): New vars, replacing
4386 Man-sections-alist and Man-refpages-alist.
4387 (Man-build-section-alist, Man-build-references-alist):
4388 Use them; avoid aput.
4389 (Man--last-section, Man--last-refpage): New vars.
4390 (Man-follow-manual-reference): Use them.
4391 Use the `default' arg of completing-read.
4392 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4393
c5bb7569
CY
43942012-04-27 Chong Yidong <cyd@gnu.org>
4395
d1d2e2e8
CY
4396 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4397
15cd8efd
CY
4398 * startup.el (x-apply-session-resources): New function.
4399
4400 * term/ns-win.el (ns-initialize-window-system):
4401 * term/w32-win.el (w32-initialize-window-system):
4402 * term/x-win.el (x-initialize-window-system): Use it to properly
4403 set menu-bar-mode and other vars from X resources, even if the
4404 initial frame is not a window-system frame (Bug#2299).
4405
c5bb7569
CY
4406 * subr.el (read-key): Avoid running filter function when setting
4407 up temporary tool bar entries (Bug#9922).
4408
a8e7d6d7 44092012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4410
4411 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4412 (Bug#11344)
4413
a8e7d6d7 44142012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4415
4416 * select.el (xselect--encode-string): New function, split from
4417 xselect-convert-to-string.
4418 (xselect-convert-to-string): Use it.
4419 (xselect-convert-to-filename, xselect-convert-to-os)
4420 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4421 returned strings are properly encoded (Bug#11315).
4422
a8e7d6d7 44232012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4424
4425 * simple.el (delete-active-region): Move to killing custom group.
4426
a8e7d6d7 44272012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4428
4429 * progmodes/which-func.el (which-func-current): Quote %
4430 characters for mode-line processing.
4431
578c1d4b 44322012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4433
4434 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4435 reaching eob (Bug#11286).
4436
a8e7d6d7 44372012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4438
4439 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4440 (gdb): Make it buffer-local and init to zero.
4441 (gdb-control-commands-regexp): New variable.
4442 (gdb-send): Don't wrap in "-interpreter-exec console" if
4443 gdb-control-level is positive. Increment gdb-control-level
4444 whenever the command matches gdb-control-commands-regexp, and
4445 decrement it each time the command is "end". (Bug#11279)
4446
a8e7d6d7 44472012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4448
4449 * window.el (adjust-window-trailing-edge, enlarge-window)
4450 (shrink-window, window-resize):
4451 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4452 windows (Bug#11276).
4453
b3608390
CY
44542012-04-27 Chong Yidong <cyd@gnu.org>
4455
4456 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4457 fix "missing prefix" warning. All callers changed.
b3608390 4458
797e6e88
SM
44592012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4460
4461 * emacs-lisp/assoc.el: Move to obsolete/.
4462
e95a67dc
SM
44632012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4464
657c21e4 4465 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4466
4467 * term/ns-win.el (ns-define-service):
4468 * progmodes/pascal.el (pascal-goto-defun):
4469 * progmodes/js.el (js--read-tab):
4470 * progmodes/etags.el (tags-lazy-completion-table):
4471 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4472 * emacs-lisp/ewoc.el (ewoc--wrap):
4473 * emacs-lisp/assoc.el (aput, adelete, amake):
4474 * doc-view.el (doc-view-convert-current-doc):
4475 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4476
cb3e7ae0
CY
44772012-04-26 Chong Yidong <cyd@gnu.org>
4478
dce04f7f
CY
4479 * image.el (image-type-from-buffer): Only return supported image
4480 type (Bug#9045).
4481
cb3e7ae0
CY
4482 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4483 value, for symmetry with diff-end-of-hunk.
4484 (diff-split-hunk, diff-find-source-location)
4485 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4486 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4487 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4488 compute the relevant hunk or file properly (Bug#6005).
4489 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4490
0d42eb3e
SM
44912012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4492
4493 * vc/vc-mtn.el:
4494 * vc/vc-hg.el:
4495 * vc/vc-git.el:
4496 * vc/vc-dir.el:
4497 * vc/vc-cvs.el:
4498 * vc/vc-bzr.el:
4499 * vc/vc-arch.el:
4500 * vc/vc.el: Replace lexical-let by lexical-binding.
4501 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4502 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4503 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4504
f08ae1c9
CY
45052012-04-26 Chong Yidong <cyd@gnu.org>
4506
8b71081d
CY
4507 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4508 (diff-mode-shared-map): Bind it to / and [remap undo].
4509
f08ae1c9
CY
4510 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4511 (ediff-window-setup-function): Use it as the default, to set up
4512 windows based on whether the current frame is graphical (Bug#2138).
4513 (ediff-choose-window-setup-function-automatically): Make obsolete.
4514
4515 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4516
ef24141c
SM
45172012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4518
cc356a5d
SM
4519 * ffap.el: Remove old code for obsolete package.
4520 (ffap-complete-as-file-p): Remove.
4521
b4ff4f1f
SM
4522 Use completion-table-with-quoting for comint and pcomplete.
4523 * comint.el (comint--unquote&requote-argument)
4524 (comint--unquote-argument, comint--requote-argument): New functions.
4525 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4526 (comint-quote-filename): Use regexp-opt-charset.
4527 (comint--common-suffix, comint--common-quoted-suffix)
4528 (comint--table-subvert): Remove.
4529 (comint-unquote-function, comint-requote-function): New vars.
4530 (comint--complete-file-name-data): Use them with
4531 completion-table-with-quoting.
4532 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4533 * pcomplete.el (pcomplete-arg-quote-list)
4534 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4535 (pcomplete-unquote-argument-function): Default to non-nil.
4536 (pcomplete-unquote-argument): Simplify.
4537 (pcomplete--common-quoted-suffix): Remove.
4538 (pcomplete-requote-argument-function): New var.
4539 (pcomplete--common-suffix): New function.
4540 (pcomplete-completions-at-point): Use completion-table-with-quoting
4541 and completion-table-subvert.
4542
79c4eeb4
SM
4543 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4544 (minibuffer--double-dollars): Preserve properties.
4545 (completion--sifn-requote): New function.
4546 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4547
ef24141c
SM
4548 * minibuffer.el: Add support for completion of quoted/escaped data.
4549 (completion-table-with-quoting, completion-table-subvert): New funs.
4550 (completion--twq-try, completion--twq-all): New functions.
4551 (completion--nth-completion): New function.
4552 (completion-try-completion, completion-all-completions): Use it.
4553
784e7d6e
LL
45542012-04-25 Leo Liu <sdl.web@gmail.com>
4555
dd2ac746
SM
4556 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4557 Use compilation-message if available to find real filename.
784e7d6e 4558
07875ee7
CY
45592012-04-25 Chong Yidong <cyd@gnu.org>
4560
4561 * vc/diff-mode.el (diff-setup-whitespace): New function.
4562 (diff-mode): Use it.
4563
4564 * vc/diff.el (diff-sentinel):
4565 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4566 Whitespace mode variables based on diff style (Bug#8612).
4567
5055880d
LL
45682012-04-25 Leo Liu <sdl.web@gmail.com>
4569
daf75653
LL
4570 * progmodes/python.el (python-send-region): Add suffix .py to the
4571 temp file.
4572
5055880d
LL
4573 * files.el (auto-mode-alist): Use javascript-mode instead.
4574
db9b177b
AH
45752012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4576
ef24141c 4577 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4578
090bd7cb 4579 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4580 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4581 references, see Bug#9.
ef24141c 4582 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4583 when receiving a fault reply.
ef24141c 4584 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4585
090bd7cb 4586 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4587 (soap-inspect-simple-type): New function.
db9b177b 4588
090bd7cb 4589 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4590 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4591 (soap-decode-basic-type, soap-encode-basic-type):
4592 support unsignedInt and double basic types.
db9b177b 4593 (soap-resolve-references-for-simple-type)
ef24141c
SM
4594 (soap-parse-simple-type, soap-encode-simple-type): New function.
4595 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4596
090bd7cb 4597 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4598 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4599 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4600 the local name of "soapenc:Array".
4601 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4602 decoding integer, byte and anyURI xsd types.
4603
1fc6097b
CY
46042012-04-25 Chong Yidong <cyd@gnu.org>
4605
4606 * cus-edit.el (custom-buffer-create-internal): Update header text.
4607
afc6df87
EZ
46082012-04-25 Eli Zaretskii <eliz@gnu.org>
4609
4610 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4611 settings on 'system-type', not on 'window-system'. On MS-Windows,
4612 set interactive-mode on in GDB.
4613
dfbd787f
SM
46142012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4615
4616 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4617 (ruby-syntax-propertize-regexp): Remove.
4618 (ruby-syntax-propertize-function): Split regexp into chunks.
4619 Match following code directly.
4620
85222d44
DG
46212012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4622
51a8ea2a
DG
4623 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4624 (ruby-syntax-propertize-regexp): New function.
4625 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4626 by a special keyword.
4627
85222d44
DG
4628 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4629 (ruby-syntax-general-delimiters-goto-beg)
4630 (ruby-syntax-propertize-general-delimiters): New functions.
4631 (ruby-syntax-propertize-function): Use them to handle GDL.
4632 (ruby-font-lock-keywords): Move old handling of GDL...
4633 (ruby-font-lock-syntactic-keywords): .. to here.
4634 (ruby-calculate-indent): Adjust indentation for GDL.
4635
b613912b
MA
46362012-04-24 Michael Albinus <michael.albinus@gmx.de>
4637
b5380639
MA
4638 * notifications.el (top): Remove unneeded declarations.
4639 (notifications-specification-version): Change to "1.2".
e43042fe 4640 (notifications-interface, notifications-notify-method)
b613912b
MA
4641 (notifications-close-notification-method): Fix docstring.
4642 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4643 (notifications-notify): Add :action-items, :resident and
4644 :transient hints. Change "image_data" to "image-data" and
4645 "image_path" to "image-path".
b613912b
MA
4646 (notifications-get-capabilities): New defun.
4647
257440aa
LL
46482012-04-24 Leo Liu <sdl.web@gmail.com>
4649
4650 * progmodes/python.el: Move hideshow setup to the end.
4651
b1bac16e
MR
46522012-04-24 Martin Rudalics <rudalics@gmx.at>
4653
4654 * window.el (handle-select-window): Clear echo area since this is
4655 no more done by read_char (Bug#11304).
4656
d81bd059
SM
46572012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4658
4659 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4660 and `/ M' to filter-derived-mode.
4661 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4662 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4663 (ibuffer-mark-by-mode): Use default rather than initial-input.
4664 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4665
c4cf6d91
IA
46662012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4667
4668 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4669 (ibuffer-filter-by-derived-mode): New filter.
4670 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4671
7511ded8
CY
46722012-04-23 Andreas Politz <politza@fh-trier.de>
4673
4674 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4675
775c916b
CY
46762012-04-23 Chong Yidong <cyd@gnu.org>
4677
4678 * cus-edit.el (customize-apropos, customize-apropos-options):
4679 Disable matching of non-option variables (Bug#11176).
4680 (customize-option, customize-option-other-window)
4681 (customize-changed-options): Doc fix.
4682 (customize-apropos-options, customize-apropos-faces)
4683 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4684
4685 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4686 Fix word list splitting (Bug#11132).
46c71e23
CY
4687 (apropos-symbol, apropos-keybinding, apropos-label)
4688 (apropos-property, apropos-function-button)
4689 (apropos-variable-button, apropos-misc-button): New faces.
4690 (apropos-symbol-face, apropos-keybinding-face)
4691 (apropos-label-face, apropos-property-face, apropos-match-face):
4692 Variables removed (Bug#8396).
4693 (apropos-library-button, apropos-format-plist, apropos-print)
4694 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4695
2df41f9c
MA
46962012-04-23 Michael Albinus <michael.albinus@gmx.de>
4697
4698 * net/xesam.el (xesam-mode-map): Use let-bound map in
4699 initialization. (Bug#11292)
4700
da00640a
AM
47012012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4702
4703 Preserve ispell session localwords when switching back to
4704 original buffer.
4705
090bd7cb
JB
4706 * textmodes/ispell.el (ispell-buffer-session-localwords):
4707 New buffer-local variable to hold buffer session localwords.
ed9265fc 4708 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4709 localwords.
4710 (ispell-command-loop, ispell-change-dictionary)
4711 (ispell-buffer-local-words): Preserve session localwords when
4712 needed.
4713
090bd7cb
JB
4714 * textmodes/flyspell.el (flyspell-process-localwords)
4715 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4716
f621ccf5
AM
47172012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4718
090bd7cb
JB
4719 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4720 using obsolete `translation-table-for-input'.
ef24141c
SM
4721 (ispell-word, ispell-process-line, ispell-complete-word):
4722 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4723
c2d1019e
CY
47242012-04-22 Chong Yidong <cyd@gnu.org>
4725
4726 * cus-edit.el (custom-variable-menu)
4727 (custom-variable-reset-saved, custom-face-menu)
4728 (custom-face-reset-saved): If there is no saved value, make the
4729 "reset-saved" operation bring back the default (Bug#9509).
4730 (custom-face-state): Properly detect themed faces.
4731
eeddc531
CY
4732 * faces.el (face-spec-set): Stop supporting deprecated form of
4733 third arg.
4734
dcbf5805
MA
47352012-04-22 Michael Albinus <michael.albinus@gmx.de>
4736
4737 Move functions from C to Lisp. Make non-blocking method calls
4738 the default. Implement further D-Bus standard interfaces.
4739
ef24141c
SM
4740 * net/dbus.el (dbus-message-internal): Declare function.
4741 Remove unneeded function declarations.
dcbf5805
MA
4742 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4743 (dbus-message-type-method-return, dbus-message-type-error)
4744 (dbus-message-type-signal): Declare variables. Remove local
4745 definitions.
4746 (dbus-interface-dbus, dbus-interface-peer)
4747 (dbus-interface-introspectable, dbus-interface-properties)
4748 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4749 Adapt docstring.
4750 (dbus-interface-objectmanager): New defconst.
4751 (dbus-call-method, dbus-call-method-asynchronously)
4752 (dbus-send-signal, dbus-method-return-internal)
4753 (dbus-method-error-internal, dbus-register-service)
4754 (dbus-register-signal, dbus-register-method): New defuns, moved
4755 from dbusbind.c
4756 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4757 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4758 New defuns.
dcbf5805
MA
4759 (dbus-call-method-non-blocking): Make it an obsolete function.
4760 (dbus-unregister-object, dbus-unregister-service)
4761 (dbus-handle-event, dbus-register-property)
4762 (dbus-property-handler): Obey the new structure of
4763 `bus-registered-objects'.
4764 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4765 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4766 Use `dbus-call-method'.
4767
cf20dee0
CY
47682012-04-22 Chong Yidong <cyd@gnu.org>
4769
4770 * cus-edit.el (custom-commands, custom-reset-menu)
4771 (Custom-reset-standard): Tweak labels.
4772 (custom-reset-button-menu): Change default to t.
4773 (custom-buffer-create-internal): For the custom-reset-button-menu
4774 case, put the revert button first.
4775 (custom-group-subtitle): New face.
4776 (custom-group-value-create): Align docstring to a specific column.
4777
4778 * wid-edit.el (widget-documentation-link-add): Don't handle
4779 indentation in this function.
4780 (widget-documentation-string-indent-to): New function.
4781 (widget-documentation-string-value-create): Use it.
4782
4783 * autorevert.el (auto-revert):
4784 * epg-config.el (epg):
4785 * ibuffer.el (ibuffer):
4786 * mpc.el (mpc):
4787 * ses.el (ses):
4788 * eshell/eshell.el (eshell):
4789 * net/ange-ftp.el (ange-ftp):
4790 * progmodes/ebnf2ps.el (postscript):
4791 * progmodes/flymake.el (flymake):
4792 * progmodes/prolog.el (prolog):
4793 * progmodes/verilog-mode.el (verilog-mode):
4794 * progmodes/which-func.el (which-func):
4795 * term/xterm.el (xterm):
4796 * textmodes/picture.el (picture):
4797 * textmodes/tildify.el (tildify):
4798 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4799 customization buffers.
4800
583e23bd
AM
48012012-04-22 Alan Mackenzie <acm@muc.de>
4802
4803 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4804 Adding a ) can hide the resulting (..) from searches. Fix it.
4805 Bound the backward search to the position of the existing (.
4806
7dd51bf1
JB
48072012-04-21 Juanma Barranquero <lekktu@gmail.com>
4808
4809 * progmodes/verilog-mode.el (verilog-mode): Check whether
4810 which-func-modes is t before adding verilog-mode.
4811 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4812
d64a438f
LL
48132012-04-21 Leo Liu <sdl.web@gmail.com>
4814
7dd51bf1 4815 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4816
081e8d65
MV
48172012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4818
4819 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4820 filling of the last column of a table (Bug#5635).
4821 (woman-find-next-control-line): New arg, specifying an additional
4822 regexp component for the control line.
4823 (woman2-roff-buffer): Use it.
4824 (woman-break-table): New function.
4825 (woman2-TS): Use it.
4826
48272012-04-21 Chong Yidong <cyd@gnu.org>
4828
4829 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4830 (woman-horizontal-escapes, woman-negative-vertical-space)
4831 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4832 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4833
ed571ccb
SM
48342012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4835
4836 * minibuffer.el (completion-file-name-table): Complete user names.
4837
39773899
LL
48382012-04-20 Leo Liu <sdl.web@gmail.com>
4839
4840 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4841 and pcase-let*.
4842
de6ff46d
CY
48432012-04-20 Chong Yidong <cyd@gnu.org>
4844
4845 * server.el (server-execute): Respect initial-buffer-choice if it
4846 is a string and there are no files to open (Bug#2825).
4847 (server-create-window-system-frame, server-create-tty-frame):
4848 Don't switch buffers here.
2d0e8e61
CY
4849 (server-process-filter): Only try to open a window system frame if
4850 compiled with graphical support (Bug#8314).
de6ff46d 4851
54071013
DN
48522012-04-20 Dan Nicolaescu <dann@gnu.org>
4853
4854 * battery.el (battery-echo-area-format): Display remaining time
4855 for sysfs backend too (Bug#11269).
4856 (battery-linux-sysfs): Fix conditional for the charge.
4857
f30d612a
CY
48582012-04-20 Chong Yidong <cyd@gnu.org>
4859
c07a4c0b 4860 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4861 (gdb-inferior-io--init-proc): New function.
4862 (gdb-init-1): Use it.
4863 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4864 responsible for allocating a new pty and hooking it to gdb when
4865 the old pty gets an EIO due to process exit.
4866 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4867 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4868 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4869
2116e93c
EZ
48702012-04-20 Eli Zaretskii <eliz@gnu.org>
4871
4872 * window.el (window-min-size, window-sizable, window-min-delta)
4873 (window-max-delta, window--resizable, window-resizable)
4874 (window-total-size, window-full-height-p, window-full-width-p)
4875 (window-in-direction, window--resize-mini-window, window-resize)
4876 (window--resize-child-windows-normal)
4877 (window--resize-child-windows, window--resize-siblings)
4878 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4879 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4880
c07a4c0b 48812012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4882
ef24141c
SM
4883 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4884 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4885 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4886 pty process (Bug#11273).
4887 (gdb-update): New arg to suppress talking to the gdb process.
4888 (gdb-done-or-error): Use it.
4889 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4890 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4891 sentinel not being called.
4892
4893 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4894
d02766ab
CY
4895 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4896
c07a4c0b 48972012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4898
4899 * net/network-stream.el (open-network-stream): Doc fix.
4900
c07a4c0b 49012012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4902
4903 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4904
c07a4c0b 49052012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4906
4907 Ensure searching for keywords is case sensitive.
4908
4909 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4910 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4911 (c-defun-name, c-mark-function, c-cpp-define-name)
4912 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4913 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4914
ef24141c
SM
4915 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4916 Bind case-fold-search to nil.
f0f6bc35 4917
c07a4c0b 49182012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4919
4920 * mail/sendmail.el (mail-bury): Call return action with the right
4921 Rmail buffer (Bug#11242).
4922
9a864fa2
CY
4923 * server.el (server-process-filter): Handle corner case where both
4924 tty and nowait options are present (Bug#11102).
4925
539aa513
EZ
49262012-04-20 Eli Zaretskii <eliz@gnu.org>
4927
4928 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4929 (top level): Put into the executable the ident-style '$Id:' tag on
4930 windows-nt as well.
539aa513 4931
cfc7d5da
SM
49322012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4933
4934 * electric.el (electric-indent-post-self-insert-function): Check that
4935 electric-indent-mode is enabled in current buffer.
4936
5b01685c
JB
49372012-04-19 Juanma Barranquero <lekktu@gmail.com>
4938
4939 * imenu.el (imenu-progress-message): Restore; it is "used" in
4940 erc/erc-imenu.el and net/snmp-mode.el.
4941
4d6769e1
JB
49422012-04-19 Juanma Barranquero <lekktu@gmail.com>
4943
4944 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4945 (mouse-avoidance-nudge-mouse): Remove unused binding.
4946
4947 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4948
4949 * descr-text.el (describe-char):
4950 * progmodes/python.el (python-describe-symbol):
4951 Don't call `toggle-read-only', set `buffer-read-only'.
4952
4953 * imenu.el (imenu-default-goto-function): Mark unused args.
4954 (imenu-progress-message): Remove obsolete macro; all callers changed.
4955
4956 * subr.el (keymap-canonicalize): Remove unused binding.
4957 (read-passwd): Mark unused arg.
4958
4959 * tutorial.el (tutorial--display-changes): Remove unused binding.
4960 (tutorial--save-tutorial-to): Remove unused variable.
4961
4962 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4963 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4964 (package-generate-autoloads, package-menu--generate)
4965 (package-menu--find-upgrades): Remove unused bindings.
4966
4967 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4968 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4969 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4970 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4971 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4972 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
4973 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
4974 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
4975 (cua-delete-char-rectangle): Mark unused args.
4976 (cua-align-rectangle): Remove unused binding.
4977
4978 * mail/rmail.el (compilation--message->loc)
4979 (epa--find-coding-system-for-mime-charset): Declare.
4980
4981 * net/dbus.el (dbus-register-service): Declare.
4982 (dbus-name-owner-changed-handler): Remove unused binding.
4983
4984 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
4985 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
4986 (nxml-scan-backward-within): Mark unused arg.
4987 (nxml-dynamic-markup-word): Remove unused binding.
4988
4989 * mouse.el (mouse-menu-major-mode-map):
4990 * emacs-lisp/authors.el (authors-scan-change-log)
4991 (authors-add-to-author-list):
4992 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
4993 * emacs-lisp/smie.el (smie-auto-fill):
4994 * mail/sendmail.el (mail-bury):
4995 * mail/unrmail.el (unrmail):
4996 * net/tls.el (open-tls-stream):
4997 * textmodes/picture.el (picture-mouse-set-point):
4998 Remove unused bindings.
4999
8c8fc5df
MA
50002012-04-19 Michael Albinus <michael.albinus@gmx.de>
5001
5002 * net/tramp.el (tramp-action-password): Let-bind
5003 `enable-recursive-minibuffers' to t.
5004
a77b0ac9
SS
50052012-04-18 Sam Steingold <sds@gnu.org>
5006
5007 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5008 instead of 'string to accommodate values like [f11].
5009 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5010 * progmodes/gdb-mi.el: Likewise.
5011
12a106a9
LL
50122012-04-18 Leo Liu <sdl.web@gmail.com>
5013
5014 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5015 current buffer.
5016 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5017 LOCAL is nil.
5018
bc6494ef
CY
50192012-04-18 Chong Yidong <cyd@gnu.org>
5020
5021 * simple.el (line-move): Use forward-line if in batch mode
5022 (Bug#11053).
5023
c09c46b2
CS
50242012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5025
5026 * files.el (after-find-file): Do not try to add a final newline if
5027 the buffer is read-only (Bug#11156).
5028
5f6530ea
RS
50292012-04-17 Richard Stallman <rms@gnu.org>
5030
5031 * mail/rmail.el (rmail-start-mail):
5032 Pass (rmail-mail-return...) for the return-action.
5033 Pass (rmail-yank-current-message...) for the yank-action.
5034 (rmail-yank-current-message): New function.
5035 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5036 (rmail-reply): Likewise.
5037 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5038
5039 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5040 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5041 buffer, not newbuf.
5042
197b6f3c
JB
50432012-04-17 Juanma Barranquero <lekktu@gmail.com>
5044
5045 * server.el (server-ensure-safe-dir): Simplify.
5046
2311d8e5 50472012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5048
2311d8e5
GM
5049 * emacs-lisp/smie.el: Provide smarter auto-filling.
5050 (smie-auto-fill): New function.
5051 (smie-setup): Use it.
98fb480e 5052
2311d8e5
GM
5053 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5054
50552012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5056
5057 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5058 (comment-indent): Use it.
5059
2311d8e5 50602012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5061
5062 * ses.el: The overall change is to add cell renaming, that is
5063 setting fancy names for cell symbols other than name matching
5064 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5065 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5066 (ses-create-cell-variable): New defun.
2311d8e5 5067 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5068 (ses-relocate-formula): Relocate formulas only for cells the
5069 symbols of which are not renamed, i.e. symbols whose names do not
5070 match regexp "\\`[A-Z]+[0-9]+\\'".
5071 (ses-relocate-all): Relocate values only for cells the symbols of
5072 which are not renamed.
5073 (ses-load): Create cells variables as the (ses-cell ...) are read,
5074 in order to check row col consistency with cell symbol name only
5075 for cells that are not renamed.
5076 (ses-replace-name-in-formula): New defun.
5077 (ses-rename-cell): New defun.
4bdf2ad2 5078
fc72b15c
PO
50792012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5080
5081 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5082 New option (bug#11118).
5083 (perl-calculate-indent): Respect it.
5084
12e10e61
GM
50852012-04-17 Glenn Morris <rgm@gnu.org>
5086
5087 * dired-aux.el (dired-mark-read-string): Doc fix.
5088
30009afd
DA
50892012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5090
5091 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5092 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5093
41f03f4d
GM
50942012-04-17 Glenn Morris <rgm@gnu.org>
5095
5096 * mouse.el (mouse-drag-track):
5097 * speedbar.el (speedbar-frame-mode):
5098 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5099
f45f90f3
LL
51002012-04-16 Leo Liu <sdl.web@gmail.com>
5101
5102 * progmodes/python.el: Trivial cleanup.
5103
94ee8db5
GM
51042012-04-16 Glenn Morris <rgm@gnu.org>
5105
121b8917
GM
5106 * vc/vc.el (vc-string-prefix-p):
5107 * vc/pcvs-util.el (cvs-string-prefix-p):
5108 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5109 * mpc.el (mpc-string-prefix-p):
5110 Make all of these into obsolete aliases for string-prefix-p.
5111 Update callers.
5112 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5113
1197ecfa
GM
5114 * textmodes/two-column.el: Move custom options to the start.
5115 (frame-width): Remove compat definition.
5116 (2C-associate-buffer, 2C-dissociate):
5117 Use with-current-buffer rather than save-excursion.
5118 (2C-dissociate): Force a mode-line update.
5119 (2C-autoscroll): Use ignore-errors.
5120
099e7202
GM
5121 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5122 Autoload trivia.
5123
bf350d6a
GM
5124 * emacs-lisp/cl-extra.el (*random-state*):
5125 Remove unnecessary declaration.
5126
0e829eab
GM
5127 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5128
e3ad7552
GM
5129 * play/cookie1.el (cookie-snarf):
5130 Give an explicit error if input file cannot be read.
5131
68892d27
GM
5132 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5133
20f0c46d
GM
5134 * progmodes/perl-mode.el (c-macro-expand):
5135 Remove unnecessary autoload (it is in loaddefs.el).
5136
5a0978ce
GM
5137 * textmodes/picture.el (picture-desired-column)
5138 (picture-update-desired-column): Convert comments to doc-strings.
5139 (picture-substitute): Remove function.
5140 (picture-mode-map): Initialize in the defvar.
5141
6b955486
GM
5142 * woman.el: Remove eval-after-load for tar-mode.
5143 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5144 (woman-tar-extract-file): Autoload it.
5145
94ee8db5
GM
5146 * frame.el (automatic-hscrolling): Make this alias obsolete.
5147
177eca34
AM
51482012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5149
090bd7cb 5150 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5151 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5152 (ispell-dictionary-base-alist): Revert to original XEmacs
5153 friendly version for default. [:alpha:] will be added in
090bd7cb 5154 `ispell-set-spellchecker-params' if needed.
177eca34 5155
c505aaeb
CY
51562012-04-16 Chong Yidong <cyd@gnu.org>
5157
b19dd9d1 5158 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5159 (imagemagick-register-types): Use it.
5160 (imagemagick-types-inhibit): Add :set function. Allow new value
5161 of t to inhibit all types.
5162
5163 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5164 so we can preload it.
5165
5166 * loadup.el (fboundp): Preload regexp-opt, needed by
5167 imagemagick-register-types.
5168
60efac0f
CY
51692012-04-15 Chong Yidong <cyd@gnu.org>
5170
5171 * frame.el (scrolling): Remove nearly unused customization group.
5172
5173 * scroll-all.el (scroll-all-mode): Move to windows group.
5174
5dd1713e
CY
51752012-04-15 Chong Yidong <cyd@gnu.org>
5176
5177 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5178
e6fd457e
CY
51792012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5180
5181 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5182 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5183
e153c136
GM
51842012-04-15 Glenn Morris <rgm@gnu.org>
5185
5186 * simple.el (process-file-side-effects): Doc fix.
5187
e6fd457e 51882012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5189
5190 * international/mule-cmds.el (set-language-environment): Doc fix.
5191
3603c3b1
JB
51922012-04-14 Juanma Barranquero <lekktu@gmail.com>
5193
5194 * server.el (server-auth-key, server-generate-key): Doc fixes.
5195 (server-get-auth-key): Doc fix. Use `string-match-p'.
5196 (server-start): Reflow docstring.
5197
e6de100c
LI
51982012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5199
5200 * server.el (server-generate-key): `called-interactively-p'
5201 requires a parameter.
5202
29734c21
MN
52032012-04-14 Michal Nazarewicz <mina86@mina86.com>
5204
5205 * server.el (server-auth-key): New variable.
75f1671a 5206 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5207 (server-start): Use the new variable and functions to allow
5208 setting a permanent server key (bug#9423).
5209
d65c9521
LL
52102012-04-14 Leo Liu <sdl.web@gmail.com>
5211
5212 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5213
5ae255c7
PE
52142012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5215
5216 Spelling fixes.
5217 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5218 Emacs uses American spelling.
5219
d5e6342e
JB
52202012-04-14 Juanma Barranquero <lekktu@gmail.com>
5221
5222 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5223 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5224 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5225 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5226
ab036cd7
SM
52272012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5228
5229 * progmodes/which-func.el (which-func-modes): Change default.
5230
35dc09a1 52312012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5232
5233 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5234 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5235
35dc09a1 52362012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5237
5238 * custom.el (custom-theme-set-variables): Doc fix.
5239
35dc09a1 52402012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5241
5242 * international/mule.el (set-auto-coding-for-load): Doc fix.
5243
35dc09a1 52442012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5245
35dc09a1
GM
5246 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5247 imenu work again for Objective C Mode. Correct the *-index values,
5248 these having been disturbed by a previous change in 2011-08.
57f845ee 5249
0de3da9f
AM
5250 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5251 Correct two search limits.
5252
35dc09a1 52532012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5254
5255 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5256
35dc09a1 52572012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5258
5259 * international/characters.el: Fix sorting.
5260
35dc09a1 52612012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5262
5263 * international/characters.el: Add more missing Latin case pairs.
5264
35dc09a1 52652012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5266
5267 * files.el (dir-locals-set-class-variables): Doc fix.
5268
35dc09a1 52692012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5270
3f1b5bf8
EZ
5271 * international/characters.el: Add set-case-syntax-pair call for
5272 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5273 counterpart. (Bug#11209)
5274
9f847f41
EZ
5275 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5276
35dc09a1 52772012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5278
5279 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5280
35dc09a1 52812012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5282
35dc09a1
GM
5283 * textmodes/ispell.el (ispell-dictionary-base-alist):
5284 Add data for Hebrew.
e2627d21 5285
35dc09a1 52862012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5287
35dc09a1
GM
5288 * net/rcirc.el (rcirc-cmd-quit):
5289 Revert 2012-03-18 change (Bug#11192).
5c14e333 5290
35dc09a1 52912012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5292
5293 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5294
35dc09a1 52952012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5296
4517fe3a
SM
5297 * minibuffer.el (completion-in-region-mode-map):
5298 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5299
b472a594
VD
53002012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5301
5302 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5303
09b95ce3
MY
53042012-04-13 Masatake YAMATO <yamato@redhat.com>
5305
5306 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5307 to allow `C-M-f' and `C-M-b' to move to the nearest path
5308 separator (bug#9511).
5309
4b63a9ca
LI
53102012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5311
5312 * avoid.el: Require cl when compiling. And also move the
5313 `provide' to the end.
5314
7b55b8bf
TV
53152012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5316
5317 * avoid.el (mouse-avoidance-banish-position): New variable.
5318 (mouse-avoidance-banish-destination): Use it (bug#10165).
5319
adedaa1f
LL
53202012-04-13 Leo Liu <sdl.web@gmail.com>
5321
5322 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5323
70e74021
KB
53242012-04-13 Ken Brown <kbrown@cornell.edu>
5325
5326 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5327 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5328 (browse-url-filename-alist): For the same reason, don't modify
5329 file:// URLs on Cygwin.
5330
e75e89ba
SM
53312012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5332
5333 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5334 the region on shift if the binding is already shifted (bug#11221).
5335
82f289a4
GM
53362012-04-12 Glenn Morris <rgm@gnu.org>
5337
5338 * mail/mailpost.el: Move to obsolete/.
5339
d333dc4c
DA
53402012-04-12 Drew Adams <drew.adams@oracle.com>
5341
5342 * imenu.el (imenu--generic-function): Ignore invisible definitions
5343 (bug#10123).
5344
0d15b5ba
VD
53452012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5346
5347 * hexl.el (hexl-bits): New variable.
5348 (hexl-options): Mention the variable in the doc string.
75f1671a 5349 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5350 (hexl-mode): Mention the new variable.
75f1671a
JB
5351 (hexl-mode, hexl-current-address, hexl-current-address):
5352 Use the displen.
0d15b5ba
VD
5353 (hexl-ascii-start-column): New function.
5354 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5355 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5356
64a440db
AM
53572012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5358
5359 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5360 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5361 the encoding, as expected by hunspell.
5362
6decb6c2
SM
53632012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5364
5365 * battery.el (battery--linux-sysfs-regexp): New const.
5366 (battery-status-function): Use it. Remove yeeloong special case.
5367 (battery-yeeloong-sysfs): Remove.
5368 (battery-echo-area-format): Remove yeeloong special case.
5369
088be6fb
SM
53702012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5371
6622e416
SM
5372 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5373 Reported by Noah Friedman.
5374
088be6fb
SM
5375 * subr.el (read-passwd): Use read-string.
5376
b49f886e
LMI
53772012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5378
5379 * vcursor.el (vcursor-move): Increase the priority of the overlay
5380 (bug#9663).
5381
a63067fc
DD
53822012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5383
5384 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5385 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5386
ac3cf14a
WS
53872012-04-11 William Stevenson <yhvh2000@gmail.com>
5388
5389 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5390 define-minor-mode (bug#10760).
5391
c4fc691b 53922012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5393
4d6769e1 5394 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5395 that directories matching `grep-find-ignored-files' won't be
5396 pruned (bug#10351).
5397
af23e2e5
CY
53982012-04-11 Chong Yidong <cyd@gnu.org>
5399
5400 * startup.el (command-line): Remove support for long-obsolete
5401 variable font-lock-face-attributes.
5402
ab7ce8c1
GM
54032012-04-11 Glenn Morris <rgm@gnu.org>
5404
5405 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5406
de8c03dc
SM
54072012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5408
5409 * window.el (window--state-get-1): Obey window-point-insertion-type.
5410
050cc68b
LB
54112012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5412
5413 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5414 to previous function when point is on the first character of a
75f1671a 5415 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5416
a38c310c
GM
54172012-04-11 Glenn Morris <rgm@gnu.org>
5418
effed0c2
GM
5419 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5420 not just file-errors.
5421
a38c310c
GM
5422 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5423 (vc-bzr-sha1): Use internal sha1.
5424
0221e323
SM
54252012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5426
5427 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5428
43956923
SG
54292012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5430
5431 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5432 that start in the middle of the line (bug#10496).
5433
6a8c9eaf
DN
54342012-04-10 Dan Nicolaescu <dann@gnu.org>
5435
5436 * battery.el (battery-linux-proc-acpi): Only one battery is
5437 discharged at a time, but that seems to confuse battery.el when
5438 computing `rate-type' for the battery not being discharged
5439 (bug#10332).
5440
1930bf5d
SM
54412012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5442
2a718f6f
SM
5443 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5444
599430d0
SM
5445 * international/quail.el: Use dolist and simplify.
5446 (quail-define-package, quail-update-keyboard-layout)
5447 (quail-define-rules): Use dolist.
5448 (quail-insert-kbd-layout, quail-get-translation): CSE.
5449
a2754b6c
SM
5450 * tmm.el: Use dolist, remove left over hook.
5451 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5452 Use dolist.
5453 (calendar-load-hook): Don't mess with it.
5454
1930bf5d
SM
5455 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5456 Use derived-mode-p. Run the diff asynchronously.
5457
9f67961c
LMI
54582012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5459
5460 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5461
2a8ce227
JB
54622012-04-10 Juanma Barranquero <lekktu@gmail.com>
5463
5464 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5465 (list-dynamic-libraries--loaded): New function.
5466 (list-dynamic-libraries--refresh): Use it.
5467
8f33b5f8
NW
54682012-04-10 Nathan Weizenbaum <nweiz@google.com>
5469
1930bf5d
SM
5470 * progmodes/python.el (python-fill-paragraph):
5471 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5472 disabled (bug#7018).
5473
b12f0439
L
54742012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5475
1930bf5d 5476 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5477 DOS/MS Windows for the Baltic languages. There are still plenty
5478 of texts written in this encoding/codepage (bug#6519).
b12f0439 5479
57c3bd01
GM
54802012-04-10 Glenn Morris <rgm@gnu.org>
5481
5482 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5483 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5484
6c3eab30
FA
54852012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5486
1930bf5d 5487 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5488 next-line "n" and previous-line "p" in order to make recentf more
5489 consistent with ibuffer, dired or org-mode (bug#9387).
5490
24d78a88
LMI
54912012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5492
bc72b5d9
LMI
5493 * image.el (put-image): Return the overlay created instead of the
5494 optional input string (bug#7834). Note that this may break code
5495 that is (for some reason or other) depending on `put-image'
5496 returning the string.
5497
bd2dba5a
LMI
5498 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5499
74beb59f
LMI
5500 * simple.el (zap-to-char): Allow zapping using input methods
5501 (bug#1580).
5502
24d78a88
LMI
5503 * textmodes/fill.el (fill-region): Leave point and mark where they
5504 were before filling (bug#5399).
5505
263f20cd
GM
55062012-04-09 Glenn Morris <rgm@gnu.org>
5507
5508 * version.el (emacs-bzr-get-version):
5509 Handle lightweight checkouts of local branches.
5510
58d1f797
AS
55112012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5512
263f20cd 5513 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5514
b4d3bc10
CY
55152012-04-09 Chong Yidong <cyd@gnu.org>
5516
5517 * custom.el (custom-variable-p): Return nil for non-symbol
5518 arguments instead of signaling an error.
5519 (user-variable-p): Obsolete alias for custom-variable-p.
5520
5521 * apropos.el (apropos-variable):
5522 * files-x.el (read-file-local-variable):
5523 * simple.el (set-variable):
5524 * woman.el (woman-mini-help):
5525 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5526
fd06db5d
GM
55272012-04-09 Glenn Morris <rgm@gnu.org>
5528
e5fcdb5e
GM
5529 * startup.el (normal-top-level): Don't look for leim-list.el
5530 in places where it will not be found. (Bug#910)
5531
fd06db5d
GM
5532 * international/mule-cmds.el (set-default-coding-systems):
5533 * files.el (normal-mode):
5534 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5535 This function was removed with ucs-tables.el in 2008.
5536
b39bb7e1
EZ
55372012-04-08 Eli Zaretskii <eliz@gnu.org>
5538
5539 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5540 ispell-encoding8-command to "-i", without a trailing space.
5541 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5542 separate command-line arguments, to specify the encoding, since
5543 that's how hunspell expects it.
5544
5c5b8e23
GM
55452012-04-08 Glenn Morris <rgm@gnu.org>
5546
5547 * loadup.el: Load bindings before cus-start.
5548 This reduces somewhat the number of "rogue" settings in emacs -Q.
5549
a1ed8b05
GM
55502012-04-07 Glenn Morris <rgm@gnu.org>
5551
5552 * version.el (emacs-bzr-get-version): New function.
dfae128a 5553 (emacs-bzr-version): New variable.
a1ed8b05
GM
5554 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5555 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5556
b142f158
EZ
55572012-04-07 Eli Zaretskii <eliz@gnu.org>
5558
dfae128a
GM
5559 * international/uni-bidi.el, international/uni-category.el:
5560 * international/uni-combining.el, international/uni-decimal.el:
5561 * international/uni-decomposition.el, international/uni-digit.el:
5562 * international/uni-lowercase.el, international/uni-mirrored.el:
5563 * international/uni-name.el, international/uni-numeric.el:
5564 * international/uni-titlecase.el, international/uni-uppercase.el:
5565 Update for Unicode 6.1.
b142f158 5566
9078ead6
EZ
55672012-04-07 Eli Zaretskii <eliz@gnu.org>
5568
5569 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5570
f23d2c7d
LMI
55712012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5572
5573 * window.el (shrink-window): Mention the `window-min-height'
5574 variable in the doc string.
5575
0a0a3573
BG
55762012-04-05 Bastien Guerry <bzg@altern.org>
5577
5578 * color.el (color-lighten-name): Fix typo.
5579
e5248ac9
SM
55802012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5581
5582 * server.el (server--on-display-p): New function.
5583 (server--on-display-p): Use it.
5584
b4243e22
GV
55852012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5586
5587 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5588 (bug#11145).
5589
305d9f44
SM
55902012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5591
5592 * comint.el (comint--common-quoted-suffix): Check string boundary
5593 before comparing (bug#11158).
5594 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5595
3d439cd1
CY
55962012-04-04 Chong Yidong <cyd@gnu.org>
5597
321cc491
CY
5598 * minibuffer.el (completion-extra-properties): Doc fix.
5599
3d439cd1
CY
5600 * subr.el (delayed-warnings-hook): Doc fix.
5601
2d562c0f
DU
56022012-04-04 Daiki Ueno <ueno@unixuser.org>
5603
5604 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5605 selection (Bug#11159).
5606 (epa-insert-keys): Inform that the default public key will be
5607 exported if no key is selected.
5608
4443f204
RS
56092012-04-04 Richard Stallman <rms@gnu.org>
5610
5611 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5612
529c06b6
CY
56132012-04-03 Chong Yidong <cyd@gnu.org>
5614
5615 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5616 mail-insert-file, not its obsolete alias mail-attach-file.
5617
66b907dc
MA
56182012-04-03 Michael Albinus <michael.albinus@gmx.de>
5619
5620 * notifications.el (notifications-notify): Fix docstring.
5621
c0ea195d
GM
56222012-04-02 Glenn Morris <rgm@gnu.org>
5623
5624 * emacs-lisp/authors.el (authors-aliases): Another addition.
5625
5ca64e00
MA
56262012-04-02 Michael Albinus <michael.albinus@gmx.de>
5627
5628 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5629 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5630 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5631
42ee526b
CY
56322012-04-01 Chong Yidong <cyd@gnu.org>
5633
5634 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5635 Handle root directory properly.
5636 (copy-directory): Caller changed.
5637
5638 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5639 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5640
0b021094
GM
56412012-03-31 Glenn Morris <rgm@gnu.org>
5642
40f86458
GM
5643 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5644
7019c177
GM
5645 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5646
a1daddd6
GM
5647 * calendar/calendar.el (calendar-window-list)
5648 (calendar-hide-window): Restore. (Bug#11140)
5649 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5650
0b021094
GM
5651 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5652
40311efc
TV
56532012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5654
5655 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5656 Check if file is a symlink (Bug#10489).
5657
5658 * files.el (copy-directory): Likewise.
5659
5319014e
CY
56602012-03-30 Chong Yidong <cyd@gnu.org>
5661
5662 * image.el (imagemagick-types-inhibit)
5663 (imagemagick-register-types): Doc fix.
5664
935d1290
AM
56652012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5666
090bd7cb 5667 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5668 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5669 and treats ~word as ordinary words in pipe mode.
935d1290 5670
61c6e8fd
GM
56712012-03-30 Glenn Morris <rgm@gnu.org>
5672
5673 * tutorial.el (help-with-tutorial): Ensure local variables don't
5674 happen to make the buffer read-only. (Bug#11127)
5675
81fdff00
SM
56762012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5677
5678 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5679 (perl-calculate-indent): Return `noindent' in strings.
5680
6e7a6ec0
SS
56812012-03-28 Sam Steingold <sds@gnu.org>
5682
5683 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5684 instead of the broken adhockery which does not prevent calendar
5685 buffers from being displayed at random after exit.
5686 (calendar-window-list, calendar-hide-window): Remove the broken
5687 adhockery.
5688
fee88ca0
GM
56892012-03-28 Glenn Morris <rgm@gnu.org>
5690
5691 * replace.el (query-replace-map): Doc fix.
5692
38de3354
AS
56932012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5694
5695 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5696 contents. (Bug#11109)
5697
b973155e
SM
56982012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5699
5700 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5701 (bug#11077).
5702 (avl-tree--check, avl-tree--check-node): New funs.
5703
dcb6e7b3
MR
57042012-03-27 Martin Rudalics <rudalics@gmx.at>
5705
5706 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5707 (switch-to-prev-buffer, switch-to-next-buffer):
5708 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5709 showing a buffer already is done on the same frame.
5710
b4fa35fa
GM
57112012-03-27 Glenn Morris <rgm@gnu.org>
5712
5713 * startup.el (mail-host-address): Doc fix.
5714
f9210e18
SM
57152012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5716
5717 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5718 than 197 variables.
5719
c0bf7753
AF
57202012-03-26 Ami Fischman <ami@fischman.org>
5721
5722 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5723
33da7b16
GM
57242012-03-26 Glenn Morris <rgm@gnu.org>
5725
02243d9d
GM
5726 * files.el (save-buffers-kill-emacs): Doc fix.
5727
33da7b16
GM
5728 * startup.el (normal-top-level, command-line, command-line-1):
5729 Give them doc strings.
5730
e5a69fd0
EZ
57312012-03-25 Eli Zaretskii <eliz@gnu.org>
5732
5733 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5734 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5735
9a69676a
CY
57362012-03-25 Chong Yidong <cyd@gnu.org>
5737
4125cb8b
CY
5738 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5739 theme if it was previously enabled before (Bug#11031).
5740
dd470960
CY
5741 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5742 spec with custom-face-get-current-spec if its :shown-value is not
5743 determined yet (Bug#9337).
4125cb8b 5744 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5745
9a69676a
CY
5746 * button.el (button-at): Minor addition to docstring.
5747
6e7e90fa
SL
57482012-03-24 Simon Leinen <simon.leinen@gmail.com>
5749
5750 * vc/vc.el (vc-merge): Fix a prompt.
5751
f06e2758
CY
57522012-03-24 Chong Yidong <cyd@gnu.org>
5753
5754 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5755 point (Bug#9623).
5756
6e7e90fa
SL
5757 * button.el (button-at): Minor addition to docstring.
5758
b9d0879b
SM
57592012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5760
5761 * newcomment.el (comment-choose-indent): No space after BOL.
5762
e71cebb3
SS
57632012-03-22 Sam Steingold <sds@gnu.org>
5764
5765 * window.el (switch-to-prev-buffer): Revert last patch because the
5766 bug turned out to be an advertised feature (Elisp manual 28.14).
5767
335aff35
GM
57682012-03-22 Glenn Morris <rgm@gnu.org>
5769
5770 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5771 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5772
c676576a
LMI
57732012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5774
5775 * net/network-stream.el (network-stream-open-starttls): Make error
5776 message under Windows be less misleading.
5777
126f3d39
LW
57782012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5779
5780 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5781 understands (bug#9942).
5782
64fee311
CY
57832012-03-22 Chong Yidong <cyd@gnu.org>
5784
5785 * simple.el (end-of-visible-line): Handle return value of
5786 next-single-property-change properly (Bug#9371).
5787
a640d29a
KH
57882012-03-22 Kenichi Handa <handa@m17n.org>
5789
5790 * international/quail.el (quail-insert-kbd-layout): Fix previous
5791 change. To avoid unwanted bidi reordering, use
5792 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5793
39675016
DG
57942012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5795
5796 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5797 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5798 (ruby-beginning-of-indent): Be more careful with the difference
5799 between word-boundary and symbol boundary.
5800 (ruby-mode-syntax-table): Make : a symbol constituent.
5801
0a6934fc 58022012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5803
3d008e4f
SM
5804 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5805
0a6934fc
SM
58062012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5807
af67c9d7
SM
5808 * progmodes/etags.el (tags-completion-at-point-function):
5809 Improve last fix.
5810
1acad97c
SM
5811 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5812
e298b5da
SS
58132012-03-21 Sam Steingold <sds@gnu.org>
5814
5815 * progmodes/etags.el (tags-completion-at-point-function):
5816 Avoid the error when point is inside the pattern.
5817
91d82a70
JY
58182012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5819
5820 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5821 line (Bug#10855).
5822
69188b79
CY
58232012-03-21 Drew Adams <drew.adams@oracle.com>
5824
5825 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5826
99fc91fe
AK
58272012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5828
5829 * ido.el (ido-set-current-directory, ido-read-internal)
5830 (ido-choose-completion-string, ido-completion-help): Handle nil
5831 value of ido-completion-buffer (Bug#11008).
5832
087bbb4c
SS
58332012-03-21 Sam Steingold <sds@gnu.org>
5834
5835 * window.el (switch-to-prev-buffer): Do not switch to a visible
5836 window previous buffer, just like with the frame previous buffers.
5837
fb5b8aca
CY
58382012-03-21 Chong Yidong <cyd@gnu.org>
5839
5840 * faces.el (make-face, make-empty-face, copy-face):
5841 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5842 Doc fixes.
5843
dc9924b8
SM
58442012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5845
5846 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5847 (widget-complete): Remove broken use of it.
5848
f0bcceb9
CY
58492012-03-20 Chong Yidong <cyd@gnu.org>
5850
dc9924b8
SM
5851 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5852 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5853 characters.
5854
ee52ebf3
TH
58552012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5856
5857 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5858 to draw rectangles, not squares. (Regression introduced by revno
5859 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5860
4c5779ab
CY
58612012-03-18 Chong Yidong <cyd@gnu.org>
5862
5863 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5864 it is not yet defined (for temacs).
5865
15360934
LL
58662012-03-18 Leo Liu <sdl.web@gmail.com>
5867
dc9924b8 5868 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5869
d9a8eb66
EZ
58702012-03-17 Eli Zaretskii <eliz@gnu.org>
5871
5872 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5873 (ispell-choices-win-default-height, ispell-silently-savep)
5874 (ispell-dictionary-alist, ispell-encoding8-command)
5875 (ispell-check-version, ispell-aspell-find-dictionary)
5876 (ispell-valid-dictionary-list, ispell-words-keyword)
5877 (ispell-get-word, ispell-internal-change-dictionary)
5878 (ispell-region, ispell-skip-region-list)
5879 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5880 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5881 (ispell-message-text-end, ispell-message)
5882 (ispell-buffer-local-parsing): Doc fix.
5883
f02ff80d
J
58842012-03-13 Jambunathan K <kjambunathan@gmail.com>
5885
5886 * htmlfontify.el: Add support for code block fontification for ODT
5887 export (Bug #9914).
5888 (hfy-optimisations): Define new option
5889 `body-text-only'
5890 (hfy-fontify-buffer): Honor above setting.
5891 (hfy-begin-span, hfy-end-span): New routines factored out form
5892 `hfy-fontify-buffer'.
5893 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5894 that permit insertion of custom tags.
5895 (hfy-fontify-buffer): Use above handlers.
5896 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5897 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5898 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5899 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5900 bind a special variable `hfy-user-sheet-assoc'.
5901 (htmlfontify-string): New defun.
5902 (hfy-compile-face-map): Make sure that the last char in the
5903 buffer is correctly fontified.
5904 (hfy-face-resolve-face): Whitespace only change.
5905
9ac7a13f
EZ
59062012-03-17 Eli Zaretskii <eliz@gnu.org>
5907
5908 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5909 message more clear.
5910
e2b5bdd7
LL
59112012-03-16 Leo Liu <sdl.web@gmail.com>
5912
5913 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5914
2e492df3
AM
59152012-03-16 Alan Mackenzie <acm@muc.de>
5916
5917 Further optimise the handling of large macros.
5918
5919 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5920 limit to a call of `c-literal-limits'.
5921 (c-determine-+ve-limit): New function.
dc9924b8
SM
5922 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5923 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5924 In CASE 5B, restrict a search limit to 500.
5925 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5926
5927 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5928 Restrict macro bounds to +-500 from after-change's BEG END.
5929
50e94f0c
LL
59302012-03-16 Leo Liu <sdl.web@gmail.com>
5931
5932 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5933
6f09f6ed
AH
59342012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5935
5936 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5937 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5938
c7e73d51
GM
59392012-03-16 Glenn Morris <rgm@gnu.org>
5940
da986230
GM
5941 * view.el (view-buffer, view-buffer-other-window)
5942 (view-buffer-other-frame): Doc fixes re special mode-class.
5943
0835f01e
GM
5944 * subr.el (eval-after-load): If named feature is provided not from
5945 a file, run after-load forms. (Bug#10946)
5946
c7e73d51
GM
5947 * calendar/calendar.el (calendar-insert-at-column):
5948 Handle non-unit-width characters a bit better. (Bug#10978)
5949
3f2eafd1
CY
59502012-03-15 Chong Yidong <cyd@gnu.org>
5951
5952 * emacs-lisp/ring.el (ring-extend): New function.
5953 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5954
5955 * comint.el (comint-read-input-ring)
5956 (comint-add-to-input-history): Grow comint-input-ring lazily.
5957
103af3fe
SM
59582012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5959
663b1677
SM
5960 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5961 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5962
103af3fe
SM
5963 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5964 (imenu-add-to-menubar): Don't add a redundant index.
5965 (imenu-update-menubar): Handle a dynamically composed keymap.
5966
899cb7cb
KY
59672012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5968
5969 * mail/sendmail.el (mail-encode-header):
5970 Bind rfc2047-encode-encoded-words to nil.
5971
3809f91d
GM
59722012-03-13 Glenn Morris <rgm@gnu.org>
5973
5974 * calendar/calendar.el (calendar-string-spread):
5975 Handle non-unit-width characters a bit better. (Bug#10978)
5976
9e345a01
LL
59772012-03-13 Leo Liu <sdl.web@gmail.com>
5978
5979 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
5980 directory and file as argument (Bug#10822).
5981
4a07df36
KS
59822012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
5983
5984 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
5985 For dynamically generated code, follow $PC.
5986 (gdb-disassembly-handler-custom): Handle no function name case.
5987
4aaa9356
TL
59882012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
5989
5990 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
5991 * emulation/ws-mode.el (ws-query-replace):
5992 * sort.el (sort-regexp-fields):
5993 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
5994
225979da
SM
59952012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
5996
5997 * dabbrev.el: Fix cycle completion order (bug#10963).
5998 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
5999 (dabbrev-completion): Don't use an obarray; provide
6000 a cycle-sort-function.
6001
e2f1fdab
LL
60022012-03-12 Leo Liu <sdl.web@gmail.com>
6003
dc9924b8 6004 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6005 (kill-do-not-save-duplicates): Doc fix.
6006
b19490ed
SM
60072012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6008
6009 * dabbrev.el: Fix cycle completion (bug#10963).
6010 Use lexical binding and wrap to 80 columns.
6011 (dabbrev-completion): Delay computing the list of completions.
6012
4b05d722
KH
60132012-03-12 Kenichi Handa <handa@m17n.org>
6014
6015 * international/quail.el (quail-insert-kbd-layout): Surround each
6016 row by LRO and PDF instead of inserting many LRMs. Pad the left
6017 and right of each non-spacing marks. Insert invisible space
6018 between lower and upper characters to prevent composition.
6019
dbbc2e69
SM
60202012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6021
6022 * minibuffer.el (minibuffer-complete): Don't get confused when the
6023 function is run twice via different commands (bug#10958).
6024 (complete-with-action): Fix docstring.
6025
292112ed
CY
60262012-03-12 Chong Yidong <cyd@gnu.org>
6027
5d1ac394
CY
6028 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6029 (nxml-completion-at-point-function): New function.
6030 (nxml-mode): Use it.
6031 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6032
292112ed
CY
6033 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6034 Load generated autoloads file before byte compiling (Bug#10970).
6035 (package--make-autoloads-and-compile): New helper fun.
6036
4098f8f7
CS
60372012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6038
6039 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6040
8f754691
MA
60412012-03-11 Michael Albinus <michael.albinus@gmx.de>
6042
6043 * autorevert.el (auto-revert-handler): Ensure, that
6044 file-readable-p is applied only for local files or in
6045 auto-revert-tail-mode.
6046
e29ab36b
AS
60472012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6048
dbbc2e69
SM
6049 * server.el (server-eval-at): Handle non-tcp connections.
6050 Decode result string.
ad0bf5b6 6051
e29ab36b
AS
6052 * server.el (server-msg-size): New constant.
6053 (server-reply-print): New function.
6054 (server-eval-and-print): Use it.
6055 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6056 Handle -print-nonl.
6057
de5939ba
CS
60582012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6059
6060 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6061 (Bug#10987).
6062
0c93eabf
CY
60632012-03-11 Chong Yidong <cyd@gnu.org>
6064
397a688f
CY
6065 * simple.el (goto-line): Doc fix (Bug#9938).
6066
2cc775f9
CY
6067 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6068
0c93eabf
CY
6069 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6070 when finished (Bug#10963).
6071
c491fa41
MR
60722012-03-11 Martin Rudalics <rudalics@gmx.at>
6073
6074 * window.el (split-window-below): Fix bug in case where
6075 split-window-keep-point is nil (Bug#10971).
6076
300e8fa5
JL
60772012-03-11 Juri Linkov <juri@jurta.org>
6078
6079 * replace.el (replace-highlight): Set isearch-word to nil
6080 unconditionally. (Bug#10887)
6081
dbf6c5a1
EZ
60822012-03-10 Eli Zaretskii <eliz@gnu.org>
6083
6084 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6085 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6086 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6087 (mairix-widget-create-query): Add usage information about mairix
6088 search forms: negating words, searching for substrings, etc.
6089
b9e501de
JP
60902012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6091
6092 * international/fontset.el (font-encoding-alist): Add an entry for
6093 ksx1001 (Bug#5667).
6094
92795c91
RS
60952012-03-10 Richard Stallman <rms@gnu.org>
6096
1694e6c1
RS
6097 * mail/sendmail.el (mail-encode-header):
6098 Set rfc2047-encode-encoded-words.
6099
607e8555
RS
6100 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6101
de3bc99a
RS
6102 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6103 view buffer means not swapped.
6104 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6105 (rmail-write-region-annotate): Error if real text has disappeared.
6106
92795c91
RS
6107 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6108
699bd04e
CY
61092012-03-10 Chong Yidong <cyd@gnu.org>
6110
6111 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6112 * emulation/cua-base.el (cua--init-keymaps):
6113 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6114
570a1714
MR
61152012-03-10 Martin Rudalics <rudalics@gmx.at>
6116
dbbc2e69
SM
6117 * speedbar.el (speedbar-unhighlight-one-tag-line):
6118 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6119
82dcf4e4
CY
61202012-03-10 Chong Yidong <cyd@gnu.org>
6121
7a2c7ca7
CY
6122 * minibuffer.el (completion-in-region, completion-help-at-point):
6123 Give the completion field overlay a high priority (Bug#6830).
6124
82dcf4e4
CY
6125 * dired.el (dired-goto-file): Recognize absolute file name
6126 listings (Bug#7126).
6127 (dired-goto-file-1): New helper function.
6128 (dired-toggle-read-only): Inhibit warnings.
6129
052e28ac
MA
61302012-03-09 Michael Albinus <michael.albinus@gmx.de>
6131
75f1671a 6132 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6133 there are no properties.
6134
95d5e396
LL
61352012-03-09 Leo Liu <sdl.web@gmail.com>
6136
6137 * savehist.el (savehist-printable): Stricter check for string
6138 value (Bug#10937).
6139
3f018d6d
EZ
61402012-03-09 Eli Zaretskii <eliz@gnu.org>
6141
dbbc2e69
SM
6142 * mail/smtpmail.el (smtpmail-send-it):
6143 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6144 valid mbox format.
6145
f7fd3d79
GM
61462012-03-09 Glenn Morris <rgm@gnu.org>
6147
6148 * files.el (dir-locals-find-file):
6149 Don't check result is regular, readable.
6150 (dir-locals-read-from-file): Demote errors.
6151
6ff6e72f
EZ
61522012-03-08 Eli Zaretskii <eliz@gnu.org>
6153
dbbc2e69
SM
6154 * international/quail.el (quail-insert-kbd-layout):
6155 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6156 layout cell, to prevent their reordering by bidi display engine.
6157 For details, see the discussion in
6158 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6159
9cec7834
AM
61602012-03-08 Alan Mackenzie <acm@muc.de>
6161
6162 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6163 the starting position; make it extend the marked region when
6164 invoked repeatedly - all under appropriate circumstances.
6165 Fixes bugs #5525, #10906.
6166
9a40b8d4
GM
61672012-03-08 Glenn Morris <rgm@gnu.org>
6168
6169 * files.el (locate-dominating-file, dir-locals-find-file):
6170 Undo 2012-03-06 change.
6171
7a08ed35
EZ
61722012-03-07 Eli Zaretskii <eliz@gnu.org>
6173
dbbc2e69
SM
6174 * international/quail.el (quail-help):
6175 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6176 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6177 for the reason.
6178
5aca4f71 61792012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6180
6181 Avoid superfluous registering of signals. (Bug#10807)
6182
6183 * notifications.el (notifications-on-action-object)
6184 (notifications-on-close-object): New defvars.
6185 (notifications-on-action-signal, notifications-on-closed-signal):
6186 Unregister the signal if not needed any longer.
6187 (notifications-notify): Register `notifications-action-signal' or
6188 `notifications-closed-signal', if :on-action or :on-close has been
6189 passed as argument.
6190
78e8b10a
CY
61912012-03-07 Chong Yidong <cyd@gnu.org>
6192
6193 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6194 non-X platforms.
6195
69481eb8
GM
61962012-03-06 Glenn Morris <rgm@gnu.org>
6197
6198 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6199 (x-disown-selection-internal, x-get-selection-internal):
6200 Doc fix (add arglist signatures). (Bug#10783)
6201
133b8e11
KS
62022012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6203
6204 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6205 Handle breakpoints with no "type".
6206
99a83064
GM
62072012-03-06 Glenn Morris <rgm@gnu.org>
6208
6209 * files.el (locate-dominating-file): Add optional predicate argument.
6210 (dir-locals-find-file): Make use of above change.
6211
17798e78
TTN
62122012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6213
6214 * info.el (Info-insert-dir): Also try "dir.gz".
6215
eb182446
GM
62162012-03-06 Glenn Morris <rgm@gnu.org>
6217
8f2114ee
GM
6218 * files.el (dir-locals-find-file):
6219 Ignore non-readable or non-regular files. (Bug#10928)
6220
eb182446
GM
6221 * files.el (locate-dominating-file): Doc fix.
6222
24679323
AS
62232012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6224
6225 * calendar/calendar.el (calendar-set-mode-line):
6226 `getenv' returns a string. (Bug#10951)
6227
01d972a9
LL
62282012-03-05 Leo Liu <sdl.web@gmail.com>
6229
109aa8a9
LL
6230 * simple.el (backward-delete-char-untabify): Constrain point to
6231 field (Bug#10939).
6232
01d972a9
LL
6233 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6234
10607bea
CY
62352012-03-05 Chong Yidong <cyd@gnu.org>
6236
6237 * simple.el (count-words): If called from Lisp, return the word
6238 count, for symmetry with `count-lines'. Arglist changed.
6239 (count-words--message): Args changed. Consolidate counting code
6240 from count-words and count-words-region.
6241 (count-words-region): Caller changed.
6242 (count-lines-region): Make it an obsolete alias.
6243
5dd11cfe
TH
62442012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6245
6246 * saveplace.el (save-place-to-alist)
6247 (save-place-ignore-files-regexp): Allow value nil to disable this
6248 feature.
6249
c349f4e6
CY
62502012-03-04 Chong Yidong <cyd@gnu.org>
6251
6252 * faces.el (face-spec-reset-face): For the default face, reset the
6253 attributes to default values (Bug#10748).
6254
e627be4c
LMI
62552012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6256
6257 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6258 previous patch: Check `message-send-mail-function', and not the
6259 default function (bug#10897).
6260
ebeabff4
MA
62612012-03-04 Michael Albinus <michael.albinus@gmx.de>
6262
a41a6cf4
MA
6263 * notifications.el (notifications-on-action-signal)
6264 (notifications-on-closed-signal): Check for unique service name of
6265 incoming event. Fix error in removing entry.
ebeabff4 6266 (top): Register for signals with wildcard service name.
a41a6cf4 6267 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6268
c1ca42b4
CY
62692012-03-04 Chong Yidong <cyd@gnu.org>
6270
dc9924b8 6271 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6272
ea16568d
GM
62732012-03-04 Glenn Morris <rgm@gnu.org>
6274
6275 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6276 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6277 (expand-abbrev, define-abbrev-table): Doc fixes.
6278
fbae4637
LMI
62792012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6280
6281 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6282 `message-default-send-mail-function' and not `send-mail-function'
6283 when doing the prompting for `sendmail-query-once' before sending
6284 in Message buffers (bug#10897).
6285
a1e7225c
LMI
6286 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6287 This is inconsistent with all the other stream functions, which leave
6288 the setting up to the higher levels (if so wanted) (bug#10931).
6289
56d093a9
AM
62902012-03-02 Alan Mackenzie <acm@muc.de>
6291
6292 Depessimize the handling of very large macros.
6293
6294 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6295 (c-macro-cache-syntactic): New variables to implement a one
6296 element macro cache.
6297 (c-invalidate-macro-cache): New function.
6298 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6299 Adapt to use the new cache.
6300 (c-state-safe-place): Use better the cache of safe positions.
6301 (c-state-semi-nonlit-pos-cache)
6302 (c-state-semi-nonlit-pos-cache-limit):
6303 New variables for...
6304 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6305 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6306 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6307 Use c-state-semi-safe-place.
56d093a9 6308
dbbc2e69
SM
6309 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6310 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6311
817e5c3d
MA
63122012-03-02 Michael Albinus <michael.albinus@gmx.de>
6313
dbbc2e69
SM
6314 * jka-compr.el (jka-compr-call-process):
6315 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6316 not remote.
6317
a032a702
MA
63182012-03-01 Michael Albinus <michael.albinus@gmx.de>
6319
6320 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6321 access of FILE2, if FILE1 does not exist.
6322
99a54f21
MA
6323 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6324 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6325
6326 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6327 Add "PAGER=" to `process-environment'.
6328
f6561e1f
MM
63292012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6330
6331 * progmodes/sql.el: Bug fix
6332 (sql-get-login-ext): Save login values in globals.
6333 (sql-get-login): Use new version of `sql-get-login-ext'.
6334 (sql-interactive-mode): Set global `sql-connection' to nil.
6335 (sql-connect): Set global values for connection.
6336 (sql-product-interactive): Save global values as buffer local.
6337
2d44d9cc
LL
63382012-02-29 Leo Liu <sdl.web@gmail.com>
6339
6340 * abbrev.el (define-abbrevs): Reset sys to nil.
6341
96b49301 63422012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6343
bf7f9bc5
JB
6344 * files.el (file-equal-p): Rename from `files-equal-p'.
6345 Return nil when one or both files don't exist.
96b49301 6346 (file-subdir-of-p): Now only top directory must exists,
6347 return nil if it doesn't.
bf7f9bc5
JB
6348 (copy-directory): No need to test with `file-subdir-of-p' after
6349 creating dir.
6350 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6351 to `file-equal-p'.
96b49301 6352
44e97401
GM
63532012-02-28 Glenn Morris <rgm@gnu.org>
6354
6355 * shell.el (shell-mode):
6356 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6357 * play/landmark.el (landmark-font-lock-face-O):
6358 * play/handwrite.el (handwrite):
6359 * play/gomoku.el (gomoku-O):
6360 * net/browse-url.el (browse-url-browser-display):
6361 * international/mule.el (define-charset):
6362 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6363 * filesets.el (filesets-find-file-delay):
6364 * eshell/em-xtra.el (eshell-xtra):
6365 * eshell/em-unix.el (eshell-grep):
6366 * emulation/viper.el (viper-mode):
6367 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6368 * emacs-lisp/easymenu.el (easy-menu-define):
6369 * calendar/timeclock.el (timeclock-use-display-time):
6370 * bs.el (bs-mode):
6371 * bookmark.el (bookmark-save-flag):
6372 Doc fix (standardize possessive apostrophe usage).
6373
c98c6276
CY
63742012-02-27 Chong Yidong <cyd@gnu.org>
6375
bf7f9bc5
JB
6376 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6377 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6378
c98c6276
CY
6379 * font-lock.el (font-lock-specified-p): Rename from
6380 font-lock-spec-present. Callers changed.
6381
9c62cd04 63822012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6383
bf7f9bc5
JB
6384 * emacs-lisp/package.el (package-compute-transaction):
6385 Handle holding a package version to t in package-load-list.
8ac9e529 6386
530739c9
MA
63872012-02-26 Michael Albinus <michael.albinus@gmx.de>
6388
6389 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6390 (tramp-get-inode, tramp-get-device): Use cached values.
6391
487915d7
AM
63922012-02-26 Alan Mackenzie <acm@muc.de>
6393
6394 Check there is a font-lock specification before doing initial
6395 fontification.
6396
6397 * font-core.el (font-lock-mode): Move the conditional from
6398 :after-hook to font-lock-initial-fontify.
6399 (font-lock-default-function): Move the check for a specification
6400 to font-lock-spec-present.
6401
dc9924b8 6402 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6403 (font-lock-spec-present): New function.
6404
4fd96557
JB
64052012-02-26 Jim Blandy <jimb@red-bean.com>
6406
6407 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6408 (gdb-send): Apply it to the operand of the '-interpreter-exec
6409 console' command, so that we can pass arguments with (say) quotes
6410 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6411
9a4888c0
CY
64122012-02-26 Chong Yidong <cyd@gnu.org>
6413
07498861
CY
6414 * help-fns.el (describe-function-1): Clarify description of
6415 remapping (Bug#10844).
6416
9a4888c0
CY
6417 * files.el (files-equal-p): Doc fix.
6418 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6419 and quit the loop once a mismatch is found.
6420
ea8fb88d
JB
64212012-02-25 Juanma Barranquero <lekktu@gmail.com>
6422
6423 * bs.el (bs--show-with-configuration): Don't throw an error
6424 if the window cannot be split; otherwise, subsequent calls to
6425 bs-show fail, restoring a stale window config. (Bug#10882)
6426
525795c1
JD
64272012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6428
6429 * term/ns-win.el (global-map): Bind ns-drag-file to
6430 ns-find-file (Bug#5855, Bug#10050).
6431
f008086f
AS
64322012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6433
6434 * calendar/parse-time.el (parse-time-string): Allow extractor to
6435 return nil.
6436
a3fcfa99
MA
64372012-02-25 Michael Albinus <michael.albinus@gmx.de>
6438
91027d08
JB
6439 * net/tramp.el (tramp-file-name-for-operation):
6440 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6441
6442 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6443 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6444 Add COPY-CONTENTS argument.
a3fcfa99 6445
67b0de11
CY
64462012-02-25 Chong Yidong <cyd@gnu.org>
6447
6448 Add custom groups for VC backends, for consistency with vc-bzr.
6449
6450 * vc/vc-arch.el (vc-arch):
6451 * vc/vc-cvs.el (vc-cvs):
6452 * vc/vc-git.el (vc-git):
6453 * vc/vc-hg.el (vc-hg):
6454 * vc/vc-mtn.el (vc-mtn):
6455 * vc/vc-rcs.el (vc-rcs):
6456 * vc/vc-sccs.el (vc-sccs):
6457 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6458 All relevant defcustoms reassigned.
6459
3c9dfce6
CY
64602012-02-25 Chong Yidong <cyd@gnu.org>
6461
1339bf43
CY
6462 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6463
3c9dfce6
CY
6464 * term/x-win.el (x-initialize-window-system): Reduce default for
6465 x-selection-timeout to 5 seconds (Bug#8869).
6466
25b2e303 64672012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6468
ec70a47d
GM
6469 * files.el (files-equal-p, file-subdir-of-p): New functions.
6470 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6471 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6472 * dired-aux.el (dired-copy-file-recursive): Same.
6473 (dired-create-files): Modify destination when source is equal to
6474 dest when copying files.
53a46cd0 6475 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6476
914260cd
MA
64772012-02-24 Michael Albinus <michael.albinus@gmx.de>
6478
6479 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6480 (Bug#10874)
6481
2cb228f7
AM
64822012-02-23 Alan Mackenzie <acm@muc.de>
6483
6484 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6485 parameter "after-hook:" to allow the expansion to run code after
6486 the execution of the mode hooks.
6487
6488 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6489 from font-lock-mode-internal.
2cb228f7 6490
91027d08 6491 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6492 :after-hook.
6493
8f0fde21
SM
64942012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6495
3e88618b
SM
6496 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6497 (completion--cache-all-sorted-completions): New function.
6498 (completion-all-sorted-completions): Use it.
6499 (completion--do-completion, minibuffer-force-complete):
6500 Use it to re-instate the flush hook.
6501
8f0fde21
SM
6502 * icomplete.el (icomplete-completions): Replace last fix with a better
6503 one (bug#10850).
6504
8e911f6f
DG
65052012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6506
6507 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6508 when it might call us back infinitely (bug#10797).
6509
49fe4321
GM
65102012-02-23 Glenn Morris <rgm@gnu.org>
6511
6512 * minibuffer.el (completion-category-overrides): Doc fix.
6513
b291b572
SM
65142012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6515
6516 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6517 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6518
31a9ef2e
GM
65192012-02-23 Glenn Morris <rgm@gnu.org>
6520
5e6e6794 6521 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6522 (authors-obsolete-files-regexps, authors-ignored-files)
6523 (authors-ambiguous-files, authors-renamed-files-alist):
6524 Add more entries.
6525
0bd1e074
JL
65262012-02-23 Juri Linkov <juri@jurta.org>
6527
6528 * isearch.el (isearch-occur): Sync interactive spec with occur's
6529 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6530
b617673c
JL
6531 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6532
19e9789e
JL
65332012-02-22 Juri Linkov <juri@jurta.org>
6534
6535 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6536 (ucs-insert): Doc fix. Check for hex digits in the string.
6537 Don't display `nil' in the error message. (Bug#10857)
6538
f41ce09d
AM
65392012-02-22 Alan Mackenzie <acm@muc.de>
6540
7a71b18d 6541 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6542
ac2eceee
GM
65432012-02-22 Glenn Morris <rgm@gnu.org>
6544
6545 * ffap.el (ffap-c-path):
6546 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6547
abd1f678
CY
65482012-02-22 Chong Yidong <cyd@gnu.org>
6549
6550 * custom.el (load-theme): Doc fix.
6551
f25aef2e
GM
65522012-02-22 Glenn Morris <rgm@gnu.org>
6553
6554 * dired-x.el (dired-guess-shell-alist-default):
6555 Remove escape sequences from nroff output. (Bug#172)
6556
5f8dc2ca
GM
65572012-02-21 Glenn Morris <rgm@gnu.org>
6558
6ff86ec4
GM
6559 * vc/emerge.el (emerge-defvar-local):
6560 Set `permanent-local' property rather than unused `preserved'.
6561
be3223a3 6562 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6563 (picture-mode-map): Use it. (Bug#10860)
6564 (picture-mode): Doc fix.
6565
3fe58f4f
JB
65662012-02-21 Juanma Barranquero <lekktu@gmail.com>
6567
6568 * newcomment.el (uncomment-region-default): Remove unused binding.
6569
f9a998c3
GM
65702012-02-21 Glenn Morris <rgm@gnu.org>
6571
6572 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6573 (picture-self-insert, picture-tab-chars): Doc fix.
6574 (picture-mode-map): Fix C-a, C-e.
6575
c6029348
GM
65762012-02-20 Glenn Morris <rgm@gnu.org>
6577
6578 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6579
ab1ce9d7
LL
65802012-02-20 Leo Liu <sdl.web@gmail.com>
6581
6582 * icomplete.el (icomplete-completions): Check FROM arg before
6583 passing to substring (Bug#10850).
6584
0fd40f89
CY
65852012-02-19 Chong Yidong <cyd@gnu.org>
6586
6587 * comint.el: Require ansi-color.
6588 (comint-output-filter-functions): Add ansi-color-process-output.
6589
6590 * ansi-color.el: Don't set comint-output-filter-functions; it is
6591 now in the initial value defined in comint.el.
6592 (ansi-color-apply-face-function): New variable.
6593 (ansi-color-apply-on-region): Use it.
6594 (ansi-color-apply-overlay-face): New function.
6595
6596 * shell.el (shell): No need to require ansi-color.
6597 (shell-mode): Use ansi-color-apply-face-function to highlight
6598 color escapes using font-lock-face property (Bug#10835).
6599
20af2394
CY
66002012-02-19 Chong Yidong <cyd@gnu.org>
6601
6602 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6603 mode-line formats (Bug#10839).
6604
e23a3fbe
GM
66052012-02-18 Glenn Morris <rgm@gnu.org>
6606
b474519e
GM
6607 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6608
6609 * mail/undigest.el (unforward-rmail-message): Doc fix.
6610
e23a3fbe
GM
6611 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6612
57939ff4
EZ
66132012-02-18 Eli Zaretskii <eliz@gnu.org>
6614
6615 * international/characters.el (script-list): Sync with the latest
6616 Unicode Character Database.
6617
0c23686e
AS
66182012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6619
6620 * international/titdic-cnv.el: Remove duplicate coding tag.
6621 * language/cham.el: Likewise.
6622 * language/tai-viet.el: Likewise.
6623
6818b449
GM
66242012-02-18 Glenn Morris <rgm@gnu.org>
6625
6626 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6627 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6628 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6629 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6630 * calendar/holidays.el (holiday-bahai-holidays)
6631 (calendar-holidays, list-holidays):
6632 Use utf-8 Bahá'í in doc-strings, menus, etc.
6633
0311a3fc
TH
66342012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6635
6636 * saveplace.el (save-place-ignore-files-regexp): New variable
6637 allowing for excluding files from saving their location of point.
6638 The default value matches the temporary commit message editing
6639 files from Git, SVN, Bazaar, and Mercurial.
6640 (save-place-to-alist): Use it.
6641
d209e2fb 66422012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6643 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6644
6645 * newcomment.el (uncomment-region-default): Don't leave extra space
6646 when an arg is provided (bug#8150).
6647
ee0ce425
TZ
66482012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6649
eb864a71 6650 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6651
95ddf442
GM
66522012-02-17 Glenn Morris <rgm@gnu.org>
6653
6654 * net/socks.el: Require network-stream. (Bug#10599)
6655
48dd1e39 66562012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6657
6658 * international/charprop.el:
6659 * international/uni-name.el:
6660 * international/uni-old-name.el:
6661 * international/uni-comment.el: Regenerate.
6662
d68cd087
GM
66632012-02-16 Glenn Morris <rgm@gnu.org>
6664
6665 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6666 Interactively in calendar buffer, give an error if not on a date.
6667
13932042
GM
66682012-02-15 Glenn Morris <rgm@gnu.org>
6669
6670 * shell.el (shell-delimiter-argument-list):
6671 Revert 2011-02-17 change. (Bug#8027)
6672
c3a70e2b
CY
66732012-02-15 Chong Yidong <cyd@gnu.org>
6674
60236b0d
CY
6675 * minibuffer.el (completion-at-point-functions): Doc fix.
6676
c3a70e2b
CY
6677 * custom.el (defcustom): Doc fix; note use of defvar.
6678
9f26dc24
GM
66792012-02-15 Glenn Morris <rgm@gnu.org>
6680
6681 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6682 Doc fixes.
6683
6546b134
GM
66842012-02-14 Glenn Morris <rgm@gnu.org>
6685
6686 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6687
d29b2b4c
LI
66882012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6689
6690 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6691 way the ports list is computed.
835bdcba
LI
6692 (smtpmail-query-smtp-server): Prompt the user for a port number if
6693 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6694
08dcdbc9
TZ
66952012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6696
6697 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6698
2605051a
GM
66992012-02-13 Glenn Morris <rgm@gnu.org>
6700
6701 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6702
7ee99f32
TZ
67032012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6704
6705 * net/gnutls.el (gnutls-trustfiles): New variable.
6706 (gnutls-negotiate): Use it.
6707
5f0af64f
LI
67082012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6709
6710 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6711 does its stuff if Gnus is running.
6712
c14fcc95
AM
67132012-02-13 Alan Mackenzie <acm@muc.de>
6714
6715 Fix a loop in c-set-fl-decl-start.
6716
7a71b18d 6717 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6718 c-backward-syntactic-ws actually moves backwards.
6719
142b4d90
LL
67202012-02-13 Leo Liu <sdl.web@gmail.com>
6721
6722 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6723 beginning so that all \C-o chars are removed.
6724
fa9958a6
TZ
67252012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6726
dc9924b8 6727 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6728
0bc5886a
AM
67292012-02-12 Alan Mackenzie <acm@muc.de>
6730
6731 Fix infinite loop with long macros.
4d6769e1 6732 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6733
d4bd55e7
CY
67342012-02-12 Chong Yidong <cyd@gnu.org>
6735
6736 * window.el (display-buffer): Doc fix (Bug#10785).
6737
66f3fe22
GM
67382012-02-12 Glenn Morris <rgm@gnu.org>
6739
bd7da63e
GM
6740 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6741 (x-disown-selection-internal, x-get-selection-internal):
6742 Sync docs with the xselect.c versions.
6743
66f3fe22
GM
6744 * allout-widgets.el: Add missing license notice.
6745
3e0d2fa7
GM
67462012-02-11 Glenn Morris <rgm@gnu.org>
6747
cfecdf09
GM
6748 * select.el (x-get-selection-internal, x-own-selection-internal)
6749 (x-disown-selection-internal):
6750 * x-dnd.el (x-get-selection-internal): Update declarations.
6751
6d216d7f
GM
6752 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6753
2bed3f04
GM
6754 * window.el (window-sides-slots):
6755 * tool-bar.el (tool-bar-position):
6756 * term/xterm.el (xterm-extra-capabilities):
6757 * ses.el (ses-self-reference-early-detection):
6758 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6759 (verilog-auto-wire-type)
6760 (verilog-auto-delete-trailing-whitespace)
6761 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6762 (verilog-auto-tieoff-declaration):
6763 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6764 (sql-oracle-statement-starters, sql-oracle-scan-on):
6765 * progmodes/prolog.el (prolog-align-comments-flag)
6766 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6767 (prolog-left-indent-regexp, prolog-paren-indent-p)
6768 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6769 (prolog-types, prolog-mode-specificators)
6770 (prolog-determinism-specificators, prolog-directives)
6771 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6772 (prolog-electric-dot-flag)
6773 (prolog-electric-dot-full-predicate-template)
6774 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6775 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6776 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6777 (prolog-program-switches, prolog-prompt-regexp)
6778 (prolog-debug-on-string, prolog-debug-off-string)
6779 (prolog-trace-on-string, prolog-trace-off-string)
6780 (prolog-zip-on-string, prolog-zip-off-string)
6781 (prolog-use-standard-consult-compile-method-flag)
6782 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6783 (prolog-imenu-max-lines, prolog-info-predicate-index)
6784 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6785 (prolog-char-quote-workaround):
6786 * progmodes/cc-vars.el (c-defun-tactic):
6787 * net/tramp.el (tramp-encoding-command-interactive)
6788 (tramp-local-end-of-line):
6789 * net/soap-client.el (soap-client):
6790 * net/netrc.el (netrc-file):
6791 * net/gnutls.el (gnutls):
6792 * minibuffer.el (completion-category-overrides)
6793 (completion-cycle-threshold)
6794 (completion-pcm-complete-word-inserts-delimiters):
6795 * man.el (Man-name-local-regexp):
6796 * mail/feedmail.el (feedmail-display-full-frame):
6797 * international/characters.el (glyphless-char-display-control):
6798 * eshell/em-ls.el (eshell-ls-date-format):
6799 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6800 (lisp-lambda-list-keyword-parameter-indentation)
6801 (lisp-lambda-list-keyword-parameter-alignment):
6802 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6803 * dired-x.el (dired-omit-verbose):
6804 * cus-theme.el (custom-theme-allow-multiple-selections):
6805 * calc/calc.el (calc-highlight-selections-with-faces)
6806 (calc-lu-field-reference, calc-lu-power-reference)
6807 (calc-note-threshold):
6808 * battery.el (battery-mode-line-limit):
6809 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6810 (archive-7z-update):
6811 * allout.el (allout-prefixed-keybindings)
6812 (allout-unprefixed-keybindings)
6813 (allout-inhibit-auto-fill-on-headline)
6814 (allout-flattened-numbering-abbreviation):
6815 * allout-widgets.el (allout-widgets-auto-activation)
6816 (allout-widgets-icons-dark-subdir)
6817 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6818 (allout-widgets-theme-dark-background)
6819 (allout-widgets-theme-light-background)
6820 (allout-widgets-item-image-properties-emacs)
6821 (allout-widgets-item-image-properties-xemacs)
6822 (allout-widgets-run-unit-tests-on-load)
6823 (allout-widgets-time-decoration-activity)
6824 (allout-widgets-hook-error-post-time)
6825 (allout-widgets-track-decoration):
6826 Add missing :version tags to new defcustoms and defgroups.
6827
5fec1b8e
GM
6828 * progmodes/sql.el (sql-ansi-statement-starters)
6829 (sql-oracle-statement-starters): Add custom type.
6830
3e0d2fa7
GM
6831 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6832 (prolog-system-version): Give it a type.
6833
90b671e2
EZ
68342012-02-11 Eli Zaretskii <eliz@gnu.org>
6835
6836 * term/pc-win.el (x-select-text, x-selection-owner-p)
6837 (x-own-selection-internal, x-disown-selection-internal)
6838 (x-get-selection-internal): Sync doc strings and argument lists
6839 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6840
5eac0c02
LL
68412012-02-11 Leo Liu <sdl.web@gmail.com>
6842
6843 * progmodes/python.el (python-end-of-statement): Fix infinite
6844 loop. (Bug#10788)
6845
f82cb659
GM
68462012-02-10 Glenn Morris <rgm@gnu.org>
6847
6848 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6849 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6850
cc26d239
LI
68512012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6852
6853 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6854 about SMTP before checking the From header.
6855
91027d08 6856 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6857 into own function for reuse by emacsbug.el.
6858
1be3ca5a
LL
68592012-02-10 Leo Liu <sdl.web@gmail.com>
6860
6861 * subr.el (condition-case-unless-debug): Rename from
6862 condition-case-no-debug. All callers changed.
6863 (with-demoted-errors): Fix caller.
6864
6865 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6866 * nxml/rng-valid.el (rng-do-some-validation):
6867 * emacs-lisp/package.el (package-refresh-contents)
6868 (package-menu-execute):
6869 * desktop.el (desktop-create-buffer):
91027d08 6870 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6871
b011fbfe
GM
68722012-02-10 Glenn Morris <rgm@gnu.org>
6873
b2096d72
GM
6874 * textmodes/bibtex.el:
6875 Add missing :version tags for new/changed defcustoms.
6876
b011fbfe
GM
6877 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6878
4c7e65bf
LI
68792012-02-09 Lars Ingebrigtsen <larsi@rusty>
6880
6881 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6882 (smtpmail-via-smtp): Use it, or fall back on the From address.
6883 (smtpmail-send-it): Ditto.
6884
f3934f6f
SM
68852012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6886
6887 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6888 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6889 (byte-compile-tmp-var): New const.
6890 (byte-compile-defvar): Use it to minimize .elc size.
6891 Just use `defvar' rather than simulate it (bug#10761).
6892
a075a2c5
GM
68932012-02-09 Glenn Morris <rgm@gnu.org>
6894
cf3aa21b
GM
6895 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6896
354998cd
GM
6897 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6898 Add :version tags.
6899
dc9924b8
SM
6900 * progmodes/compile.el (compilation-error-screen-columns)
6901 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6902
dab3703d
GM
6903 * vc/log-view.el (log-view-toggle-entry-display):
6904 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6905
3f88cd72
GM
6906 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6907 (report-emacs-bug-can-use-xdg-email):
6908 (report-emacs-bug-insert-to-mailer): Doc fixes.
6909 (report-emacs-bug): Message fix.
6910
d95b247d
GM
6911 * net/browse-url.el (browse-url-can-use-xdg-open)
6912 (browse-url-xdg-open): Doc fixes.
6913
a075a2c5
GM
6914 * electric.el (electric-indent-mode, electric-pair-mode)
6915 (electric-layout-rules, electric-layout-mode): Doc fixes.
6916 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6917
ffb6157e
MR
69182012-02-08 Martin Rudalics <rudalics@gmx.at>
6919
6920 * server.el (server-unselect-display): Don't inadvertently kill
6921 the current buffer. (Bug#10729)
6922
e1ac4066
GM
69232012-02-08 Glenn Morris <rgm@gnu.org>
6924
34e8a2da
GM
6925 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6926 (sql-list-table): Doc fixes.
6927
b4ac6e8c
GM
6928 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6929 Comment out (does nothing).
6930
e1ac4066
GM
6931 * completion.el (dynamic-completion-mode):
6932 * dirtrack.el (dirtrack-debug-mode):
6933 * electric.el (electric-layout-mode):
6934 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6935 * face-remap.el (text-scale-mode, buffer-face-mode):
6936 * iimage.el (iimage-mode):
6937 * image-mode.el (image-transform-mode):
6938 * minibuffer.el (completion-in-region-mode):
6939 * scroll-lock.el (scroll-lock-mode):
6940 * simple.el (next-error-follow-minor-mode):
6941 * tar-mode.el (tar-subfile-mode):
6942 * tooltip.el (tooltip-mode):
6943 * vcursor.el (vcursor-use-vcursor-map):
6944 * wid-browse.el (widget-minor-mode):
6945 * emulation/tpu-edt.el (tpu-edt-mode):
6946 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6947 * international/iso-ascii.el (iso-ascii-mode):
6948 * language/thai-util.el (thai-word-mode):
6949 * mail/supercite.el (sc-minor-mode):
6950 * net/goto-addr.el (goto-address-mode):
6951 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6952 * progmodes/cwarn.el (cwarn-mode):
6953 * progmodes/flymake.el (flymake-mode):
6954 * progmodes/glasses.el (glasses-mode):
6955 * progmodes/hideshow.el (hs-minor-mode):
6956 * progmodes/pascal.el (pascal-outline-mode):
6957 * textmodes/enriched.el (enriched-mode):
6958 * vc/smerge-mode.el (smerge-mode):
6959 Doc fixes (minor mode argument).
6960
5e0d957f
EZ
69612012-02-07 Eli Zaretskii <eliz@gnu.org>
6962
6963 * ls-lisp.el (ls-lisp-sanitize): New function.
6964 (ls-lisp-insert-directory): Use it to fix or remove any elements
6965 in file-alist with missing attributes. (Bug#4673)
6966
98d7371e
AM
69672012-02-07 Alan Mackenzie <acm@muc.de>
6968
6969 Fix spurious recognition of c-in-knr-argdecl.
6970
6971 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6972 putative K&R region.
6973
667ced3a
AM
69742012-02-07 Alan Mackenzie <acm@muc.de>
6975
eb864a71
LM
6976 * progmodes/cc-engine.el (c-forward-objc-directive):
6977 Prevent looping in "#pragma mark @implementation".
667ced3a 6978
5b77774d
MA
69792012-02-07 Michael Albinus <michael.albinus@gmx.de>
6980
6981 * notifications.el (notifications-on-closed-signal): Make `reason'
6982 optional. (Bug#10744)
6983
af008560
GM
69842012-02-07 Glenn Morris <rgm@gnu.org>
6985
60d47423
GM
6986 * emacs-lisp/easy-mmode.el (define-minor-mode):
6987 Doc fixes for the macro and the mode it defines.
6988
dd605cc4
GM
6989 * image.el (imagemagick-types-inhibit): Doc fix.
6990
af008560
GM
6991 * cus-start.el (imagemagick-render-type): Add it.
6992
5cc59a37
LI
69932012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
6994
4d6769e1
JB
6995 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
6996 Set the default at load time, too, so that `font-lock-fontify-buffer'
6997 can be called without setting up the entire mode first. This fixes
6998 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 6999
9a6dd747
CY
70002012-02-06 Chong Yidong <cyd@gnu.org>
7001
2d16b285
CY
7002 * simple.el (list-processes--refresh): Delete exited processes
7003 (Bug#8094).
7004
171e9b6e
CY
7005 * comint.el (comint-next-prompt): next-single-char-property-change
7006 and prev-single-char-property-change never return nil (Bug#8657).
7007
9a6dd747
CY
7008 * custom.el (defcustom): Doc fix (Bug#9711).
7009
aa4589a7
CY
70102012-02-05 Chong Yidong <cyd@gnu.org>
7011
5c2a252f
CY
7012 * cus-edit.el (custom-variable-reset-backup): Quote the value
7013 before storing it in the customized-value property (Bug#6712).
4aab9006 7014 (custom-display): Add a customization type tag.
983b9602 7015 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7016
aa4589a7
CY
7017 * wid-edit.el (widget-field-value-get): New optional arg to
7018 suppress trailing whitespace truncation.
7019 (character): Use it (Bug#2689).
7020
1ff980ae
AS
70212012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7022
7023 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7024 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7025
03988c98
CY
70262012-02-05 Chong Yidong <cyd@gnu.org>
7027
eeb6cc88
CY
7028 * cus-edit.el (custom-variable-value-create): For mismatched
7029 types, show the current value (Bug#7600).
7030
03988c98
CY
7031 * custom.el (defcustom): Doc fix.
7032
f8cdeef0
GM
70332012-02-05 Glenn Morris <rgm@gnu.org>
7034
7035 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7036
0696d255
JB
70372012-02-05 Juanma Barranquero <lekktu@gmail.com>
7038
7039 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7040 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7041 (pp-last-sexp): Use `looking-at-p'.
7042
34c99998
GM
70432012-02-04 Glenn Morris <rgm@gnu.org>
7044
8f05da42
GM
7045 * files.el (revert-buffer):
7046 Doc fix (mention revert-buffer-in-progress-p).
7047
f160676e
GM
7048 * emacs-lisp/ert-x.el (ert-simulate-command):
7049 Check deferred-action-list (which is obsolete) is bound.
7050
c7291ad9
GM
7051 * subr.el (with-wrapper-hook): Doc fixes.
7052
34c99998
GM
7053 * simple.el (filter-buffer-substring-functions)
7054 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7055
6283a7d3
LL
70562012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7057
7058 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7059 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7060
e96e3013
LL
70612012-02-04 Leo Liu <sdl.web@gmail.com>
7062
7063 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7064
8ded50f2
GM
70652012-02-04 Glenn Morris <rgm@gnu.org>
7066
82ff1d13
GM
7067 * image.el (image-extension-data): Add obsolete alias.
7068
987a0a16
GM
7069 * isearch.el (isearch-update): Doc fix.
7070
ea32ef46
GM
7071 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7072
8ded50f2
GM
7073 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7074
eea14f31
GM
70752012-02-03 Glenn Morris <rgm@gnu.org>
7076
7077 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7078 (image-animate-timeout): Doc fix.
7079
7080 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7081
12f381b7
GM
70822012-02-02 Glenn Morris <rgm@gnu.org>
7083
953cebf5
GM
7084 * server.el (server-auth-dir): Doc fix.
7085 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7086
12f381b7
GM
7087 * subr.el (run-mode-hooks): Doc fix.
7088
953a8c3b
JL
70892012-02-02 Juri Linkov <juri@jurta.org>
7090
7091 * image-mode.el (image-toggle-display-image): Remove tautological
7092 `major-mode' from the `derived-mode-p' test.
7093
c5d3843c
KH
70942012-02-02 Kenichi Handa <handa@m17n.org>
7095
9f6e692e 7096 * composite.el (compose-region): Cancel previous change.
c5d3843c 7097
159462d4 70982012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7099
7100 * composite.el (compose-region, compose-string): Signal error for
7101 a null string component (Bug#6988).
7102
9f562668
CY
71032012-02-01 Chong Yidong <cyd@gnu.org>
7104
e2cef717
CY
7105 * view.el (view-buffer-other-window, view-buffer-other-frame):
7106 Handle special modes like view-buffer (Bug#10650).
7107 (view-buffer): Simplify.
7108
9f562668
CY
7109 * frame.el (set-frame-font): Tweak meaning of third argument.
7110
9f6e692e
JB
7111 * dynamic-setting.el (font-setting-change-default-font):
7112 Use set-frame-font (Bug#9982).
9f562668 7113
781acb9f
GM
71142012-02-01 Glenn Morris <rgm@gnu.org>
7115
6035be52
GM
7116 * progmodes/compile.el (compilation-internal-error-properties):
7117 Respect compilation-first-column in the "*compilation*" buffer.
7118
781acb9f
GM
7119 * emacs-lisp/easy-mmode.el (define-minor-mode):
7120 Relax :variable's test for a named function.
7121
abbceb00
AM
71222012-01-31 Alan Mackenzie <acm@muc.de>
7123
7124 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7125 off by one error.
7126
fce3fdeb
CY
71272012-01-31 Chong Yidong <cyd@gnu.org>
7128
7129 * frame.el (set-frame-font): New arg ALL-FRAMES.
7130
7131 * menu-bar.el (menu-set-font): Use set-frame-font.
7132
7133 * faces.el (face-spec-reset-face): Don't apply unspecified
7134 attribute values to the default face.
7135
47893581
JB
71362012-01-31 Juanma Barranquero <lekktu@gmail.com>
7137
7138 * progmodes/cwarn.el (cwarn): Remove dead link.
7139 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7140 Remove * from defcustom docstrings.
7141 (turn-on-cwarn-mode): Make obsolete.
7142 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7143 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7144
e58e988a
GM
71452012-01-31 Glenn Morris <rgm@gnu.org>
7146
60dc2671 7147 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7148 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7149 Allow named functions to be used as the cdr of :variable.
e58e988a 7150
7a3f511d
GM
71512012-01-30 Glenn Morris <rgm@gnu.org>
7152
7153 * emacs-lisp/authors.el (authors-fixed-entries):
7154 Remove reference to deleted file rnewspost.el.
7155
cb882333
JB
71562012-01-29 Juanma Barranquero <lekktu@gmail.com>
7157
7158 * window.el (window-with-parameter): Remove unused variable `windows'.
7159 (window--side-check): Remove unused variable `code'.
7160 (window--resize-siblings): Remove unused variable `first'.
7161 (adjust-window-trailing-edge): Remove unused variable `failed'.
7162 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7163 Use `let', not `let*'.
7164 (balance-windows-2): Remove unused variable `found'.
7165 (window--state-put-2): Remove unused variable `splits'.
7166 (window-state-put): Remove unused variable `selected'.
7167 (same-window-p): Use `string-match-p'.
7168 (display-buffer-assq-regexp): Remove unused variable `value'.
7169 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7170 Mark argument ALIST as ignored.
7171 (pop-to-buffer): Remove unused variable `old-window'.
7172
907201af
EZ
71732012-01-29 Eli Zaretskii <eliz@gnu.org>
7174
7175 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7176 and .lzma compressed files.
7177
ea162670
CY
71782012-01-29 Chong Yidong <cyd@gnu.org>
7179
5b95ee8a
CY
7180 * frame.el (window-system-default-frame-alist): Doc fix.
7181
ea162670
CY
7182 * dynamic-setting.el (font-setting-change-default-font): Don't
7183 change the default face if SET-FONT argument is non-nil (Bug#9982).
7184
d6e6f4b1
SB
71852012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7186
7187 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7188
0f29fa41 71892012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7190
7191 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7192 breakpoints in files outside current directory (Bug#6098).
7193
db174434
CY
71942012-01-29 Chong Yidong <cyd@gnu.org>
7195
6b25e4e2
SE
7196 * progmodes/python.el: Require ansi-color at top-level.
7197
6df6ae42
JB
7198 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7199 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7200 (lisp-mode-abbrev-table): Add doc.
7201 (lisp-mode-variables): Don't set local-abbrev-table.
7202 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7203
e70ee681
RW
72042012-01-28 Roland Winkler <winkler@gnu.org>
7205
7206 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7207
ace88aa2
RW
72082012-01-28 Roland Winkler <winkler@gnu.org>
7209
7210 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7211 (bibtex-set-dialect): Use it. Either set global values of
7212 dialect-dependent variables or bind these variables buffer-locally
7213 (Bug#10254).
7214 (bibtex-mode): Call bibtex-set-dialect via
7215 hack-local-variables-hook.
eb864a71
LM
7216 (bibtex-dialect): Update docstring.
7217 Add safe-local-variable predicate.
ace88aa2
RW
7218 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7219 bibtex-set-dialect.
7220 (bibtex-mode-map): Define menu for each dialect.
7221 (bibtex-entry): Fix docstring.
7222
93376c5b
CY
72232012-01-28 Chong Yidong <cyd@gnu.org>
7224
7225 * eshell/esh-arg.el (eshell-quote-argument): New function.
7226
7227 * eshell/esh-ext.el (eshell-invoke-batch-file):
7228 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7229 first arg to eshell-parse-command (Bug#10523).
7230
4372494f
DA
72312012-01-28 Drew Adams <drew.adams@oracle.com>
7232
7233 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7234 `default-directory' is non-nil.
7235
4d4ec1f8
EZ
72362012-01-28 Eli Zaretskii <eliz@gnu.org>
7237
7238 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7239 line that displays system-configuration-options. (Bug#9924)
7240
7c188927
DA
72412012-01-28 Drew Adams <drew.adams@oracle.com>
7242
7243 * descr-text.el (describe-char): Show information about POS, in
7244 addition to information about the character at POS. Improve and
7245 update the doc string. Change "code point" to "code point in
7246 charset", to avoid confusion with the character's Unicode code
7247 point shown above that. (Bug#10129)
7248
e0da685a
EZ
72492012-01-28 Eli Zaretskii <eliz@gnu.org>
7250
7251 * descr-text.el (describe-char): Show the raw character, not only
7252 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7253 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7254 for the reasons.
7255
70550acf
PH
72562012-01-28 Phil Hagelberg <phil@hagelb.org>
7257
eb864a71
LM
7258 * emacs-lisp/package.el (package-install):
7259 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7260
0ce8e868
CY
72612012-01-28 Chong Yidong <cyd@gnu.org>
7262
cb882333
JB
7263 * emacs-lisp/package.el (package-maybe-load-descriptor):
7264 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7265 (package-maybe-load-descriptor): Use it.
7266 (package-download-transaction): Fully load required packages
7267 inside the loop, so that `require' calls work (Bug#10593).
7268 (package-install): No need to call package-initialize now.
7269
2e7f3bea
CY
72702012-01-28 Chong Yidong <cyd@gnu.org>
7271
6e9bad14
CY
7272 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7273
f823b8ca
CY
7274 * tooltip.el (tooltip-mode): Doc fix.
7275 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7276
2680c309
CY
7277 * frame.el (set-cursor-color): Doc fix (Bug#352).
7278
d7a9e63b
CY
7279 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7280 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7281
2e7f3bea
CY
7282 * cus-edit.el (custom-buffer-create-internal): Fix search button
7283 action (Bug#10542).
2ae01800 7284 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7285
fc4f7a23
EW
72862012-01-27 Eduard Wiebe <usenet@pusto.de>
7287
7288 * dired.el (dired-mark-files-regexp):
7289 Include any subdirectory components. (Bug#10445)
7290
7dd37071
ML
72912012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7292
7293 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7294 Handle [host]:port syntax. (Bug#10533)
7295
a268160b
AH
72962012-01-27 Alex Harsanyi <harsanyi@mac.com>
7297
7298 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7299
e43273ef
GM
73002012-01-26 Glenn Morris <rgm@gnu.org>
7301
7302 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7303 * term.el (term-raw-escape-map): Use Control-X-prefix.
7304 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7305
1edf595d
MR
73062012-01-25 Martin Rudalics <rudalics@gmx.at>
7307
7308 * window.el (window-state-get, window--state-get-1): Don't deal
7309 with fixed-sizeness of windows. Simplify code.
7310
fa8eafef
JC
73112012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7312
6df6ae42
JB
7313 * window.el (window--state-get-1, window--state-put-2):
7314 Don't save and restore the mark.
fa8eafef 7315
0b21c100
CY
73162012-01-25 Chong Yidong <cyd@gnu.org>
7317
7318 * custom.el (custom-variable-p): Doc fix.
7319
5ae1a6c8
GM
73202012-01-25 Glenn Morris <rgm@gnu.org>
7321
40047858
GM
7322 * dired.el (dired-goto-file): Handle some of the more common
7323 characters that `ls -b' escapes. (Bug#10596)
7324
5ddce96c
GM
7325 * progmodes/compile.el (compilation-next-error-function):
7326 Respect compilation-first-column in the "*compilation*" buffer.
7327 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7328
5ae1a6c8
GM
7329 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7330
b559f1a9
GM
73312012-01-24 Glenn Morris <rgm@gnu.org>
7332
7333 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7334
6725d21a
JD
73352012-01-24 Julien Danjou <julien@danjou.info>
7336
7337 * color.el (color-rgb-to-hsl): Fix value computing.
7338 (color-hue-to-rgb): New function.
7339 (color-hsl-to-rgb): New function.
7340 (color-clamp, color-saturate-hsl, color-saturate-name)
7341 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7342 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7343
70df4bbe
GM
73442012-01-24 Glenn Morris <rgm@gnu.org>
7345
7346 * vc/vc-rcs.el (vc-rcs-create-tag):
7347 * vc/vc-sccs.el (vc-sccs-create-tag):
7348 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7349
802a2ae2
ML
73502012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7351
7352 * eshell/esh-util.el (eshell-read-hosts-file):
7353 Skip comment lines. (Bug#10549)
7354
d7128bb1
ML
7355 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7356
d1a5c3b4
JB
73572012-01-23 Juanma Barranquero <lekktu@gmail.com>
7358
2724d9c7
JB
7359 * subr.el (display-delayed-warnings): Doc fix.
7360 (collapse-delayed-warnings): New function to collapse identical
7361 adjacent warnings.
7362 (delayed-warnings-hook): Add it.
d1a5c3b4 7363
a5509865
MA
73642012-01-22 Michael Albinus <michael.albinus@gmx.de>
7365
7366 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7367
a5509865
MA
7368 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7369 (tramp-default-user-alist): Don't add "pscp".
7370 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7371 property "login-as", if set. (Bug#10530)
7372
cc6d5805
MA
73732012-01-21 Michael Albinus <michael.albinus@gmx.de>
7374
7375 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7376 "plink1" and "psftp". (Bug#10530)
7377
73782012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7379
7380 * international/mule-cmds.el (prefer-coding-system): Show a
7381 warning message if the default value of file-name-coding-system
7382 was not changed.
7383
f0960428
JC
73842012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7385
cb882333
JB
7386 * windmove.el (windmove-reference-loc):
7387 Fix windmove-reference-loc miscalculation.
f0960428 7388
dd6f2a63
JB
73892012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7390
7391 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7392 default unit.
7393
7b447e9b
GM
73942012-01-21 Glenn Morris <rgm@gnu.org>
7395
117a9ea1
GM
7396 * international/mule.el (auto-coding-alist): Add .tbz.
7397
7b447e9b
GM
7398 * files.el (local-enable-local-variables): Doc fix.
7399 (inhibit-local-variables-regexps): Rename from
7400 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7401 Doc fix. Add some extensions from auto-coding-alist.
7402 (inhibit-local-variables-suffixes):
7403 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7404 (inhibit-local-variables-p):
7405 New function, extracted from set-auto-mode-1.
7406 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7407 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7408 (hack-local-variables): Doc fix. Make the mode-only case
7409 respect enable-local-variables and friends.
7410 Respect inhibit-local-variables-regexps for file-locals, but
7411 not for directory-locals.
7412 (set-visited-file-name):
7413 Take account of inhibit-local-variables-regexps.
7414 Whether it applies may change as the file name is changed.
7415 * jka-cmpr-hook.el (jka-compr-install):
7416 * jka-compr.el (jka-compr-uninstall):
7417 Update for inhibit-first-line-modes-suffixes name change.
7418
dd6e3cdd
MR
74192012-01-20 Martin Rudalics <rudalics@gmx.at>
7420
7421 * help-macro.el (make-help-screen): Temporarily restore original
7422 binding for minor-mode-map-alist (Bug#10454).
7423
0d0deb38
JD
74242012-01-19 Julien Danjou <julien@danjou.info>
7425
7426 * color.el (color-name-to-rgb): Use the white color to find the max
7427 color component value and return correctly computed values.
7428 (color-name-to-rgb): Add missing float conversion for max value.
7429
34a02f46
MR
74302012-01-19 Martin Rudalics <rudalics@gmx.at>
7431
7432 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7433 special state value for window-persistent-parameters.
7434 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7435 (window--state-put-2): Reset all window parameters to nil before
7436 assigning values of persistent parameters.
7437
606c44c4
AM
74382012-01-18 Alan Mackenzie <acm@muc.de>
7439
7440 Eliminate sluggishness and hangs in fontification of "semicolon
7441 deserts".
7442
cb882333
JB
7443 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7444 Change value 10000 -> 3000.
606c44c4
AM
7445 (c-state-safe-place): Reformulate so it doesn't stack up an
7446 infinite number of wrong entries in c-state-nonlit-pos-cache.
7447 (c-determine-limit-get-base, c-determine-limit): New functions to
7448 determine backward search limits disregarding literals.
7449 (c-find-decl-spots): Amend commenting.
7450 (c-cheap-inside-bracelist-p): New function which detects "={".
7451
7452 * progmodes/cc-fonts.el
7453 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7454 backward search.
7455 (c-font-lock-declarations): Fix an occurrence of point being
7456 undefined. Check additionally for point being in a bracelist or
7457 near a macro invocation without a semicolon so as to avoid a
7458 fruitless time consuming search for a declarator. Give a more
7459 precise search limit for declarators using the new
7460 c-determine-limit.
7461
f3860cea
GM
74622012-01-18 Glenn Morris <rgm@gnu.org>
7463
7464 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7465 (set-auto-mode): Doc fixes.
7466
1db03b16
GM
74672012-01-17 Glenn Morris <rgm@gnu.org>
7468
0e6038be
GM
7469 * isearch.el (search-nonincremental-instead): Fix doc typo.
7470
1db03b16
GM
7471 * dired.el (dired-insert-directory): Handle newlines in directory name.
7472 (dired-build-subdir-alist): Unescape newlines in directory name.
7473
4cb0aa75
MA
74742012-01-17 Michael Albinus <michael.albinus@gmx.de>
7475
7476 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7477 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7478 (tramp-action-terminal): Use it. (Bug#10530)
7479
1d00653d
SM
74802012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7481
7482 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7483
6a6ee00d
MR
74842012-01-16 Martin Rudalics <rudalics@gmx.at>
7485
7486 * window.el (window-state-ignored-parameters): Remove variable.
7487 (window--state-get-1): Rename argument MARKERS to IGNORE.
7488 Handle persistent window parameters. Make copy of clone-of
7489 parameter only if requested. (Bug#10348)
7490 (window--state-put-2): Install a window parameter only if it has
7491 a non-nil value or an existing parameter shall be overwritten.
7492
97912def
MA
74932012-01-15 Michael Albinus <michael.albinus@gmx.de>
7494
7495 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7496
688070a5
EZ
74972012-01-14 Eli Zaretskii <eliz@gnu.org>
7498
7499 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7500 don't pass the (nil) value of `upnode' to string-match.
7501
301afadc
CY
75022012-01-14 Chong Yidong <cyd@gnu.org>
7503
7504 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7505 Fix values recognized by the cursorBlink resource.
301afadc 7506
9e5788aa
PE
75072012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7508
7509 * epg.el (epg--make-temp-file): Avoid permission race condition
7510 when running on old Emacs versions (bug#10403).
7511
3cdb7f5a
GM
75122012-01-14 Glenn Morris <rgm@gnu.org>
7513
7514 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7515
8c82b1b4
AM
75162012-01-13 Alan Mackenzie <acm@muc.de>
7517
7518 Fix filling for when filladapt mode is enabled.
7519
7520 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7521 c-mask-paragraph, pass in `fill-paragraph' rather than
7522 `fill-region-as-paragraph'. (This is a reversion of a previous
7523 change.)
eb864a71
LM
7524 * progmodes/cc-mode.el (c-basic-common-init):
7525 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7526
e517eda4
GM
75272012-01-13 Glenn Morris <rgm@gnu.org>
7528
1498536e
GM
7529 * dired.el (dired-switches-escape-p): New function.
7530 (dired-insert-directory): Use dired-switches-escape-p.
7531 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7532
e517eda4
GM
7533 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7534
328f984d
GM
75352012-01-12 Glenn Morris <rgm@gnu.org>
7536
7537 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7538 changes in adaptive-fill-regexp. (Bug#10276)
7539
2cc769a8
AM
75402012-01-11 Alan Mackenzie <acm@muc.de>
7541
7542 Fix Emacs bug #10463 - put `widen's around the critical spots.
7543
1d00653d 7544 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7545 widen around each invocation of c-state-pp-to-literal. Remove an
7546 unused let variable.
7547
e52c37fa
GM
75482012-01-11 Glenn Morris <rgm@gnu.org>
7549
7550 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7551 Doc fix.
e52c37fa 7552
96f8741e
CY
75532012-01-10 Chong Yidong <cyd@gnu.org>
7554
1d00653d
SM
7555 * net/network-stream.el (network-stream-open-starttls):
7556 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7557 response to the capability command.
7558
b09a806e
GM
75592012-01-10 Glenn Morris <rgm@gnu.org>
7560
7561 * mail/unrmail.el (unrmail): Tweak previous change.
7562
7655cb66
CY
75632012-01-09 Chong Yidong <cyd@gnu.org>
7564
7565 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7566
9d5a8f0b
AM
75672012-01-08 Alan Mackenzie <acm@muc.de>
7568
7569 Optimise font locking in long enum definitions.
7570
7571 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7572 arm to a cond form to handle enums.
7573 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7574 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7575
9a0115ab 75762012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7577
7578 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7579 (Bug#10401)
6bb72cbd 7580
f186bb95
LMI
75812012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7582
29232a68
LMI
7583 * faces.el (set-face-attribute): Clarify the meaning of the nil
7584 frame (bug#10294).
7585
4e5d086d
LMI
7586 * subr.el (with-selected-frame): Mention that the selected frame
7587 is restored (bug#9980).
7588
8e66aebe
LMI
7589 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7590 (bug#9759).
7591
cd394be1 7592 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7593 (password-read): Don't autoload unused function.
7594
adf4e762
JB
75952012-01-07 Juanma Barranquero <lekktu@gmail.com>
7596
7597 * progmodes/which-func.el (which-func-mode): Turn into a
7598 non-interactive function and mark as obsolete (bug#10428).
7599
89bd9ccd
CY
76002012-01-06 Chong Yidong <cyd@gnu.org>
7601
7602 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7603 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7604 functions, along with 1 and -1.
7605
4afee9d5
EZ
76062012-01-06 Eli Zaretskii <eliz@gnu.org>
7607
7608 * time.el (display-time-load-average)
7609 (display-time-default-load-average): Doc fixes. See the thread
7610 starting at
7611 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7612 for the details.
7613
536aea70
GM
76142012-01-06 Glenn Morris <rgm@gnu.org>
7615
665ae865
GM
7616 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7617 has no messages. (Bug#10377)
7618
c869783d
GM
7619 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7620 than Info-edit. (Bug#10385)
7621
2bb4227e
GM
7622 * time.el (display-time-load-average, display-time-next-load-average):
7623 Doc fixes.
7624
7d5944b9
GM
7625 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7626 local setting of buffer-read-only to the input buffer. (Bug#10419)
7627
536aea70
GM
7628 * calendar/calendar.el (calendar-mode):
7629 Locally set scroll-margin to 0. (Bug#10379)
7630
7dccca16
UM
76312012-01-06 Ulrich Mueller <ulm@gentoo.org>
7632
7633 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7634
afbb7930
GM
76352012-01-05 Glenn Morris <rgm@gnu.org>
7636
7637 * eshell/em-unix.el (diff-no-select): Autoload it.
7638 (eshell/diff): Use diff-no-select. (Bug#10420)
7639
04482335
CY
76402012-01-05 Chong Yidong <cyd@gnu.org>
7641
7baca3bc
CY
7642 * shell.el (shell-dynamic-complete-functions): Revert last change.
7643 (shell-command-completion-function): New function.
7644 (shell-completion-vars): Use it to implement
7645 shell-completion-execonly (Bug#10417).
7646
04482335
CY
7647 * custom.el (enable-theme): Don't set custom-safe-themes.
7648
1d00653d
SM
7649 * cus-theme.el (custom-theme-merge-theme):
7650 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7651
bb5aa5d6
MM
76522012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7653
7654 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7655 first prompt in `sql-interacive-mode'.
7656 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7657 keywords.
6df6ae42 7658 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7659 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7660 context of original buffer. Invoke `sql-login-hook'.
7661
a7183d7c
EZ
76622012-01-04 Eli Zaretskii <eliz@gnu.org>
7663
7664 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7665 letters in cite-prefix.
7666
a1eacd1e
LMI
76672012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7668
7669 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7670
787cdb34
CY
76712012-01-03 Chong Yidong <cyd@gnu.org>
7672
1d00653d
SM
7673 * shell.el (shell-dynamic-complete-functions):
7674 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7675 comint-filename-completion first (Bug#10417).
7676
30710442
RS
76772012-01-02 Richard Stallman <rms@gnu.org>
7678
7679 * battery.el (battery-status-function):
7680 Detect when to use battery-yeeloong-sysfs.
7681 (battery-echo-area-format): Add string for Yeeloong.
7682 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7683 (battery-yeeloong-sysfs): New function.
7684
f75bfc33
CY
76852012-01-02 Chong Yidong <cyd@gnu.org>
7686
7687 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7688 (dirtrack): Merge code for handling relative filenames in prompt
7689 from shell-dir-cookie-watcher.
7690 (dirtrack-debug-message): New arg to avoid excess format calls.
7691
7692 * shell.el (shell-dir-cookie-re): Variable deleted.
7693 (shell-dir-cookie-watcher): Function deleted.
7694 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7695 with dirtrack-mode.
7696
651e947e
EZ
76972012-01-01 Eli Zaretskii <eliz@gnu.org>
7698
1d00653d
SM
7699 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7700 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7701 libgnutls-26.dll.
7702
94d4c7dc
AS
77032011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7704
7705 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7706
8d43f3cd
EZ
77072011-12-31 Eli Zaretskii <eliz@gnu.org>
7708
7709 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7710 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7711
98c8795a
MA
77122011-12-29 Michael Albinus <michael.albinus@gmx.de>
7713
7714 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7715 also for alternative shells.
7716 (tramp-open-connection-setup-interactive-shell): Check, whether
7717 the shell is a busybox.
7718 (tramp-send-command): Don't suppress multiple prompts for
7719 busyboxes, it hurts.
7720
51281b32
CY
77212011-12-28 Chong Yidong <cyd@gnu.org>
7722
7723 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7724 (gdb-get-source-file): Move mode line update to
7725 gdb-get-source-file (Bug#10087).
7726
2170cb53
CY
77272011-12-25 Chong Yidong <cyd@gnu.org>
7728
7729 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7730 gud-gdb-marker-filter without taking it as an argument.
7731 (gud-gdb-run-command-fetch-lines): Caller changed.
7732 (gud-gdb-completion-function): New variable.
7733 (gud-gdb-completion-at-point): Use it.
7734 (gud-gdb-completions-1): Split from gud-gdb-completions.
7735
7736 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7737 function as separate arguments.
7738 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7739 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7740 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7741 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7742 (gdb-stopped, def-gdb-auto-update-trigger)
7743 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7744 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7745 Callers changed.
2170cb53
CY
7746 (gud-gdbmi-completions): New function.
7747 (gdb): Use it for generating the completion table.
7748
be8b11bb
AM
77492011-12-24 Alan Mackenzie <acm@muc.de>
7750
7751 Introduce a mechanism to widen the region used in context font
1d00653d 7752 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7753
1d00653d
SM
7754 * progmodes/cc-langs.el (c-before-font-lock-functions):
7755 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7756 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7757 functions to be run just before context (etc.) font locking.
7758
7759 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7760 New, functionality extracted from
be8b11bb 7761 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7762 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7763 (c-after-change): Set c-in-after-change-fontification.
7764 (c-set-fl-decl-start): Rejig its interface, so it can be called
7765 from both after-change and context fontifying.
b81d40f0
JB
7766 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7767 New functions.
7768 (c-standard-font-lock-fontify-region-function): New variable.
7769 (c-font-lock-fontify-region): New function.
be8b11bb 7770
341cf6ac
JL
77712011-12-24 Juri Linkov <juri@jurta.org>
7772
7773 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7774 (Bug#10348)
7775
bffcee0a
MA
77762011-12-23 Michael Albinus <michael.albinus@gmx.de>
7777
7778 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7779 existence of source file. (Bug#10325)
7780
cb5e207c
AM
77812011-12-23 Alan Mackenzie <acm@muc.de>
7782
7783 Fix unstable fontification inside templates.
7784
b81d40f0
JB
7785 * progmodes/cc-langs.el (c-before-font-lock-functions):
7786 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7787 additionally has c-set-fl-decl-start. The other languages (apart
7788 from AWK) have that as a single entry.
7789
b81d40f0
JB
7790 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7791 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7792 c-set-fl-decl-start.
7793
b81d40f0
JB
7794 * progmodes/cc-mode.el (c-common-init, c-after-change):
7795 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7796 (c-set-fl-decl-start): New function, extracted from
7797 c-font-lock-enclosing-decls and enhanced.
7798
60ff536c
JB
77992011-12-23 Juanma Barranquero <lekktu@gmail.com>
7800
7801 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7802
1c4757d6
JL
78032011-12-22 Juri Linkov <juri@jurta.org>
7804
7805 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7806
d031f2c7
CY
78072011-12-22 Chong Yidong <cyd@gnu.org>
7808
7809 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7810
bace743a
DA
78112011-12-21 Drew Adams <drew.adams@oracle.com>
7812
7813 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7814
728a1f2b
JC
78152011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7816
7817 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7818
0d373f73
TZ
78192011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7820
fec0aaa4
TZ
7821 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7822 highlighting and support. Fix up comments for capitalization.
7823 (cfengine-mode-debug): New var.
7824 (cfengine3-mode): Change the modeline indicator to "CFE3".
7825 (cfengine3-font-lock-keywords): Improve defun highlighting.
7826 (cfengine2-actions): Rename from `cfengine-actions'.
7827 (cfengine2-font-lock-keywords): Rename from
7828 `cfengine-font-lock-keywords'.
7829 (cfengine2-imenu-expression): Rename from
7830 `cfengine-imenu-expression'.
7831 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7832 (cfengine2-beginning-of-defun): Rename from
7833 `cfengine-beginning-of-defun'.
7834 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7835 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7836 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7837 modeline indicator to "CFE2".
7838 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7839 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7840
bc86f573
CY
78412011-12-21 Chong Yidong <cyd@gnu.org>
7842
7843 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7844 filename argument.
7845
d45ba96b
MR
78462011-12-20 Martin Rudalics <rudalics@gmx.at>
7847
7848 * window.el (window-normalize-buffer-to-display): Remove.
7849 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7850
a6198c90
CY
78512011-12-19 Chong Yidong <cyd@gnu.org>
7852
7853 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7854 Don't signal an error in a predicate function; return non-nil.
7855 (vc-dir-mark-file): Move the error here.
7856 (vc-dir-mark-unmark): If acting on the region, keep going if one
7857 of the entries cannot be marked/unmarked.
7858 (vc-dir-mark-all-files): If current entry is a directory, mark
7859 only child files, as documented.
7860
34c5fb55
VB
78612011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7862
7863 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7864 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7865 addition.
7866
c803b2b7
JD
78672011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7868
7869 * term/ns-win.el (ns-get-selection-internal)
7870 (ns-store-selection-internal): Declare.
1154d12e
JB
7871 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7872 Declare as obsolete.
7873 (ns-get-pasteboard, ns-paste-secondary):
7874 Use ns-get-selection-internal.
7875 (ns-set-pasteboard, ns-copy-including-secondary):
7876 Use ns-store-selection-internal.
c803b2b7 7877
9cff91f8 78782011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7879
7880 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7881 (vc-deduce-fileset): Doc fix.
99a289d9 7882
f16c898a
AS
78832011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7884
7885 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7886
763237c4
SS
78872011-12-13 Sam Steingold <sds@gnu.org>
7888
7889 * man.el (Man-getpage-in-background): When running under a
7890 window-system, ignore $MANWIDTH and $COLUMNS.
7891
5fc1c122
KH
78922011-12-15 Kenichi Handa <handa@m17n.org>
7893
7894 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7895 (setup-ethiopic-environment-internal): Comment out key-binding for
7896 ethio-toggle-punctuation.
7897
13d49cbb
AM
78982011-12-13 Alan Mackenzie <acm@muc.de>
7899
898169a2
AM
7900 Add the switch statement to AWK Mode.
7901
7a71b18d 7902 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7903 "default" to the keywords regexp.
7904
7a71b18d 7905 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7906 expression as the rest.
1d00653d
SM
7907 (c-nonlabel-token-key): Allow string literals for AWK.
7908 Refactor for the other modes.
898169a2 7909
13d49cbb 7910 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7911 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7912 routines. Limit backward searching in c-font-lock-enclosing.decl.
7913
7914 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7915 pp-state and literal type in addition to the limits.
1d00653d 7916 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7917 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7918 (c-slow-in-literal, c-fast-in-literal): Remove.
7919 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7920
7921 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7922 being in a literal. Add a limit for backward searching.
7923
7924 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7925 c-slow-in-literal.
7926
15e0efc7
SM
79272011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7928
7929 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7930
454592a6
MR
79312011-12-13 Martin Rudalics <rudalics@gmx.at>
7932
7933 * window.el (delete-other-windows): Use correct frame in call to
7934 window-with-parameter.
7935
87393f26
DP
79362011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7937
7938 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7939 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7940 (makefile-gmake-statements, makefile-makepp-statements):
7941 Use it and add new makepp keywords.
7942 (makefile-makepp-font-lock-keywords): Add new patterns.
7943 (makefile-match-function-end): Match new [...] and [[...]].
7944
11636b22
JB
79452011-12-11 Juanma Barranquero <lekktu@gmail.com>
7946
7947 * ses.el (ses-call-printer-return, ses-cell-property-get)
7948 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7949 (ses-create-cell-variable, ses-reset-header-string)
7950 (ses-cell-set-formula, ses-repair-cell-reference-all)
7951 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7952 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7953 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7954 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7955 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7956 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7957 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7958 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7959 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7960 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7961 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7962 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7963
cf018193
VB
79642011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7965
7966 * ses.el: The overall change is to add cell renaming, that is
7967 setting fancy names for cell symbols other than name matching
7968 "\\`[A-Z]+[0-9]+\\'" regexp .
7969 (ses-create-cell-variable): New defun.
7970 (ses-relocate-formula): Relocate formulas only for cells the
7971 symbols of which are not renamed, i.e. symbols whose names do not
7972 match regexp "\\`[A-Z]+[0-9]+\\'".
7973 (ses-relocate-all): Relocate values only for cells the symbols of
7974 which are not renamed.
7975 (ses-load): Create cells variables as the (ses-cell ...) are read,
7976 in order to check row col consistency with cell symbol name only
7977 for cells that are not renamed.
7978 (ses-replace-name-in-formula): New defun.
7979 (ses-rename-cell): New defun.
7980
ee957461
CY
79812011-12-11 Chong Yidong <cyd@gnu.org>
7982
7983 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
7984 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
7985
9a9e9ef0
MR
79862011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
7987
7988 * window.el (other-window): Fix docstring.
7989
92a8eba5
EZ
79902011-12-10 Eli Zaretskii <eliz@gnu.org>
7991
7992 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
7993 `from' or `to' address before taking its substring.
7994 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
7995 encoded name is chopped in the middle of the encoded string, and
7996 thus displayed encoded.
7997
e152e577
JB
79982011-12-10 Juanma Barranquero <lekktu@gmail.com>
7999
8000 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8001
e5d84bfe
EZ
80022011-12-10 Eli Zaretskii <eliz@gnu.org>
8003
8004 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8005 to use texinfo-update-node and commands that call it if the
8006 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8007 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8008 (texinfo-all-menus-update, texinfo-master-menu)
8009 (texinfo-update-node, texinfo-every-node-update)
8010 (texinfo-multiple-files-update): Doc fix. Warn against updating
8011 all the @node lines.
8012 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8013 argument is numeric. Explain better in the doc string what the
8014 function really does.
8015 (texinfo-insert-master-menu-list): Improve the error message
8016 displayed if there's no menu in the Top node.
8017 (Bug#2975) See also this thread:
e5d84bfe
EZ
8018 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8019
1d84e9bb
MG
80202011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8021
8022 * speedbar.el (speedbar-supported-extension-expressions):
8023 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8024
382c953b
JB
80252011-12-09 Juanma Barranquero <lekktu@gmail.com>
8026
8027 * printing.el (pr-mode-alist):
8028 * simple.el (filter-buffer-substring-functions)
8029 (completion-list-insert-choice-function):
8030 * window.el (window-with-parameter, window-atom-root)
8031 (window-sides-slots, window-size-fixed, window-min-delta)
8032 (window-max-delta, window--resize-mini-window)
8033 (window--resize-child-windows-normal, window-tree)
8034 (delete-other-windows, quit-window, split-window)
8035 (display-buffer-record-window, special-display-buffer-names)
8036 (special-display-regexps, special-display-popup-frame)
8037 (same-window-p, split-window-sensibly)
8038 (display-buffer-overriding-action, display-buffer-alist)
8039 (display-buffer-base-action, display-buffer, switch-to-buffer)
8040 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8041 (fit-window-to-buffer, recenter-positions)
8042 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8043 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8044 and remove unneeded backslashes in docstrings.
8045
39c9faef
SM
80462011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8047
98449af8
SM
8048 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8049
39c9faef
SM
8050 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8051 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8052 end in ".mk".
8053 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8054 when reading the makefile (bug#10116).
8055
86ed9fdc
SM
80562011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8057
8058 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8059 (bug#10116).
8060
5580f89d
GM
80612011-12-06 Glenn Morris <rgm@gnu.org>
8062
8063 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8064
28d3917c
CY
80652011-12-06 Chong Yidong <cyd@gnu.org>
8066
8067 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8068
a98edce9
JB
80692011-12-06 Juanma Barranquero <lekktu@gmail.com>
8070
8071 * textmodes/table.el (table-shorten-cell): Fix typo.
8072
e65adfac
CG
80732011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8074
8075 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8076
71cc0b74
EZ
80772011-12-05 Eli Zaretskii <eliz@gnu.org>
8078
8079 * descr-text.el (describe-char): Fix display of strong
8080 right-to-left characters and directional embeddings and overrides.
8081
8082 * simple.el (what-cursor-position): Fix display of codepoints of
8083 strong right-to-left characters.
8084
315bc30d
CY
80852011-12-05 Chong Yidong <cyd@gnu.org>
8086
8087 * faces.el (read-color): Doc fix.
8088
58a70b94
GM
80892011-12-05 Glenn Morris <rgm@gnu.org>
8090
8091 * align.el (align--set-marker): Add doc-string.
8092 Don't try to move something that is not a marker. (Bug#10216)
8093
5158face
GM
80942011-12-04 Glenn Morris <rgm@gnu.org>
8095
8096 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8097 overly zealous deletion of trailing whitespace.
8098
520fca41
JB
80992011-12-04 Juanma Barranquero <lekktu@gmail.com>
8100
8101 * server.el (server-delete-client): On Windows, do not try to delete
8102 the only terminal.
8103 (server-process-filter): On Windows, treat requests for a tty frame as
8104 if they were for a GUI frame if the running server is in GUI mode.
8105
5e605a2e
GM
81062011-12-03 Glenn Morris <rgm@gnu.org>
8107
8108 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8109
5c3fe83f
SM
81102011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8111
6f5e57e7
SM
8112 * electric.el: Streamline electric-indent's hook.
8113 (electric-indent-chars): Revert to simple list.
8114 (electric-indent-functions): New var.
8115 (electric-indent-post-self-insert-function): Use it.
8116
5c3fe83f
SM
8117 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8118 there's no inferior buffer (bug#10196).
8119 (prolog-consult-compile): Don't use toggle-read-only.
8120
6bdac736
MA
81212011-12-02 Michael Albinus <michael.albinus@gmx.de>
8122
8123 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8124 interrupt. (Bug#10187)
8125
6131ba7f
SM
81262011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8127
99c79fee
SM
8128 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8129 (bug#9160).
8130
6131ba7f
SM
8131 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8132 (bug#10191).
8133
cb0a02ea
JL
81342011-12-02 Juri Linkov <juri@jurta.org>
8135
8136 * info.el (Info-search): Display "end of manual" when Isearch
8137 reaches the end of single-file Info manual. (Bug#9918)
8138
66e0570c
EZ
81392011-12-02 Eli Zaretskii <eliz@gnu.org>
8140
8141 * isearch.el (isearch-message-prefix): Run the input method part
8142 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8143
02b16839
JL
81442011-12-02 Juri Linkov <juri@jurta.org>
8145
8146 * isearch.el (isearch-occur): Use `word-search-regexp' for
8147 `isearch-word'.
8148 (isearch-search-and-update): Add condition for `isearch-word' and
8149 call `word-search-regexp'. (Bug#10145)
8150
0b950688
GM
81512011-12-01 Glenn Morris <rgm@gnu.org>
8152
8153 * eshell/em-hist.el (eshell-hist-initialize):
8154 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8155 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8156
9505c3c7
SM
81572011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8158
8159 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8160
1bbe96b2 81612011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8162
a1beca85
SM
8163 * progmodes/verilog-mode.el (verilog-pretty-expr):
8164 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8165 verilog, such as += *= and the like.
8166 (verilog-assignment-operator-re): Regular expression to find the
8167 assigment operator in a verilog assignment.
8168 (verilog-assignment-operation-re): Regular expression to find an
8169 assignment statement for pretty-expr.
8170 (verilog-in-attribute-p): Query returns true if point is in an
8171 attribute context; used to skip these for expression line up from
8172 pretty-expr.
8173 (verilog-in-parameter-p): Query returns true if point is in an
8174 parameter definition context; used to skip these for expression
8175 line up from pretty-expr.
8176 (verilog-in-parenthesis-p): Query returns true if point is in a
8177 parenthetical expression, specifically ( ) but not [ ] or { };
8178 used by pretty-expr.
8179 (verilog-just-one-space): If there is no space, don't add one.
8180 (verilog-get-lineup-indent-2): Specifically skip just attribute
8181 contexts for expression lineup, rather than skipping all
8182 parenthetical expressions.
8183 (verilog-calculate-indent): Fix comment, and fix indent.
8184 (verilog-do-indent): Indent declarations in lists (suggested by
8185 Joachim Lechner).
8186 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8187 skeleton items.
8188 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8189 by Alain Mellan).
8190
1bbe96b2 81912011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8192
8193 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8194 parameters with embedded comments. Reported by Ray Stevens.
8195 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8196 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8197 Reported by Tim Holt.
8198 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8199 instantiated by upper module causing wrong expansion until AUTOed a
8200 second time. Reported by K C Buckenmaier.
8201 (verilog-diff-auto): Fix showing .* as a difference when
8202 `verilog-auto-star-save' off. Reported by Dan Dever.
8203 (verilog-auto-reset, verilog-read-always-signals)
8204 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8205 temporary signals in reset list if
8206 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8207 style to each signal's assignment type, bug381.
8208 Reported by Thomas Esposito.
6288f0ca
WS
8209 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8210 (verilog-uvm-statement-re): Support UVM indentation and
8211 highlighting, with old OVM keywords only.
a1beca85 8212 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8213 Support AUTOTIEOFF creating non-wire data types.
8214 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8215 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8216 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8217 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8218 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8219 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8220 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8221 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8222 non-numeric vector width. Reported by Alex Reed.
8223 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8224 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8225 (verilog-auto-delete-trailing-whitespace):
8226 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8227 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8228 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8229 Fix verilog-scan-cache corruption when running user AUTO expansion
8230 hooks that call indentation routines.
8231 (verilog-simplify-range-expression): Fix typo ignoring lower case
8232 identifiers.
8233 (verilog-delete-auto): Fix delete-autos to also remove user created
8234 automatics, as long as they start with AUTO.
8235 (verilog-batch-diff-auto, verilog-diff-auto)
8236 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8237 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8238 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8239 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8240 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8241 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8242 is disabled and its cache will get corrupt, causing AUTOS not to
8243 expand. Instead use only -quick functions.
8244 (verilog-scan-region): Fix scanning over escaped quotes.
8245 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8246 (verilog-re-search-backward-quick)
8247 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8248 related functions now ignore strings, to fix misparsing of strings
8249 with magic comments embedded in them.
a1beca85
SM
8250 (verilog-read-auto-template):
8251 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8252 Reported by Brad Dobbie.
8253 (verilog-read-auto-template):
8254 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8255 Reported by Brad Dobbie.
6288f0ca
WS
8256 (verilog-auto-inst, verilog-auto-inst-param)
8257 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8258 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8259 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8260 debugging templates without merge conflicts, bug357.
8261 Reported by Brad Dobbie.
8262 (verilog-read-auto-template):
8263 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8264 Reported by Brad Dobbie.
8265 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8266 abbrevs so user won't be asked to save.
8267 (verilog-read-auto-lisp-present): Fix to start at beginning of
8268 buffer in case called outside of verilog-auto.
8269 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8270 to "X-2". Reported by Matthew Myers.
8271 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8272 all inputs from module templates. Reported by Leith Johnson.
8273 (verilog-module-inside-filename-p): Fix locating programs as with
8274 modules.
8275 (verilog-auto-inst-port): Fix vl-width expressions when using
8276 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8277 (verilog-decls-get-regs, verilog-decls-get-signals,
8278 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8279 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8280 verilog-read-decls): Combine reg and wire structures into one var
8281 structure to represent SystemVerilog concepts.
8282 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8283 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8284 (verilog-auto-wire-type, verilog-insert-definition):
8285 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8286 SystemVerilog "logic" keyword instead of "wire"/"reg".
8287 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8288 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8289 ifdef or generate if so there's not a driver conflict).
8290 Reported by Matthew Myers.
8291 (verilog-auto-declare-nettype, verilog-insert-definition):
8292 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8293 `default_nettype none. Reported by Julian Gorfajn.
8294 (verilog-read-always-signals-recurse, verilog-read-decls)
8295 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8296 malformed end statement, bug325. Reported by Joshua Wise and
8297 Andrew Drake.
8298 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8299 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8300 when expanding .* in interfaces, bug320.
8301 Reported by Pierre-David Pfister.
6288f0ca 8302 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8303 name and open parenthesis, bug317.
8304 Reported by Pierre-David Pfister.
6288f0ca
WS
8305 (verilog-simplify-range-expression): Fix simplification of
8306 multiplications inside AUTOWIRE connections, bug303.
8307 (verilog-auto-inst-port): Support parameter expansion in
8308 multidimensional arrays.
8309 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8310 after "assert property". Reported by Julian Gorfajn.
8311 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8312 with multiplication, bug303.
8313 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8314 Reported by Jan Frode Lonnum.
8315
1bbe96b2
GM
83162011-11-30 Juanma Barranquero <lekktu@gmail.com>
8317
8318 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8319 (hfy-shell-file-name, hfy-shell):
8320 * international/fontset.el (x-decompose-font-name): Fix typos.
8321
83222011-11-29 Ken Brown <kbrown@cornell.edu>
8323
8324 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8325 (gdb-version): Remove defvar.
8326 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8327 (gdb-gud-context-command, gdb-non-stop-handler)
8328 (gdb-current-context-command, gdb-stopped): Use it.
8329 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8330 (gdb-non-stop-handler): Don't enable pretty-printing here.
8331 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8332 non-stop mode. Use the following.
8333 (gdb-check-target-async): New defun.
8334 (gud-watch, gdb-stopped): Fix whitespace.
8335 (gdb-get-source-file): Don't try to display the source file if
8336 `gdb-main-file' is nil.
8337
83382011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8339
8340 * align.el: Try to generate fewer markers (bug#10047).
8341 (align--set-marker): New macro.
8342 (align-region): Use it.
8343
c935221f
SM
83442011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8345
8346 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8347
e70b5064
CY
83482011-11-29 Chong Yidong <cyd@gnu.org>
8349
8350 * indent.el (indent-for-tab-command, indent-according-to-mode):
8351 Doc fix.
8352 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8353
f3af92b7
MA
83542011-11-29 Michael Albinus <michael.albinus@gmx.de>
8355
8356 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8357 aware of remote file names. (Bug#10124)
8358
ed472be9
CY
83592011-11-29 Chong Yidong <cyd@gnu.org>
8360
8361 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8362
24510c22
SM
83632011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8364
8365 * files.el (find-file): Don't use force-same-window (bug#10144).
8366 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8367 use pop-to-buffer if the selected window can't be used.
8368 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8369
c60c3703
EZ
83702011-11-28 Eli Zaretskii <eliz@gnu.org>
8371
8372 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8373 special-mode-map.
8374
e95def75
CY
83752011-11-28 Chong Yidong <cyd@gnu.org>
8376
8377 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8378
c3f1c606
NR
83792011-11-27 Nick Roberts <nickrob@snap.net.nz>
8380
8381 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8382 gdb-get-source-file-list on gdb-create-source-file-list.
8383
00db469c
EZ
83842011-11-26 Eli Zaretskii <eliz@gnu.org>
8385
8386 * whitespace.el (whitespace-newline): Use a different foreground
8387 color for 16-color light-background displays.
8388
4ad3bc2a
CY
83892011-11-24 Chong Yidong <cyd@gnu.org>
8390
8391 * window.el (display-buffer--special-action): Doc fix.
8392
e9fce1ac
JB
83932011-11-25 Juanma Barranquero <lekktu@gmail.com>
8394
8395 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8396 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8397 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8398 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8399 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8400 (avl-tree-stack-first):
8401 * emacs-lisp/cconv.el (cconv--analyse-use):
8402 * net/gnutls.el (gnutls-negotiate): Fix typos.
8403
cb825e5d
GM
84042011-11-24 Glenn Morris <rgm@gnu.org>
8405
3adbe224
GM
8406 * lpr.el (lpr-windows-system, lpr-lp-system):
8407 * mail/binhex.el (binhex-begin-line):
8408 * progmodes/grep.el (grep-history, grep-find-history):
8409 * textmodes/flyspell.el:
8410 * vc/pcvs-defs.el (cvs-global-menu):
8411 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8412 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8413 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8414
321decc8
GM
8415 * net/tls.el: Fix case of "GnuTLS".
8416
420b63ad
GM
8417 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8418
cb825e5d
GM
8419 * version.el (emacs-build-system): Give it a doc-string.
8420
a0649f08
JL
84212011-11-24 Juri Linkov <juri@jurta.org>
8422
8423 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8424
c0bc0fd4
GM
84252011-11-24 Glenn Morris <rgm@gnu.org>
8426
8427 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8428 if called on a non-mime message just toggle the headers. (Bug#8006)
8429
20db1522
JB
84302011-11-24 Juanma Barranquero <lekktu@gmail.com>
8431
8432 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8433 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8434 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8435 (allout-rebullet-heading, allout-open-sibtopic)
8436 (allout-toggle-current-subtree-encryption)
8437 (allout-toggle-subtree-encryption, allout-encrypt-string)
8438 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8439 (allout-distinctive-bullets-string, allout-auto-activation):
8440 * window.el (window-normalize-buffer-to-display):
8441 * progmodes/verilog-mode.el (verilog-batch-indent):
8442 * textmodes/bibtex.el (bibtex-field-braces-opt)
8443 (bibtex-field-strings-opt):
8444 * vc/cvs-status.el (cvs-tree-merge):
8445 Fix typos.
8446
7262a87c
MA
84472011-11-23 Michael Albinus <michael.albinus@gmx.de>
8448
8449 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8450 `non-essential' to t, in order to avoid remote connections.
8451
283430a1
EZ
84522011-11-23 Eli Zaretskii <eliz@gnu.org>
8453
a1beca85
SM
8454 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8455 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8456 case-insensitively.
8457
d2992a38
ML
84582011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8459
8460 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8461
50419064
GM
84622011-11-23 Glenn Morris <rgm@gnu.org>
8463
da94eca1
GM
8464 * paths.el (rmail-file-name): Reformat the doc-string so that it
8465 is picked up.
8466
9aac4de2
GM
8467 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8468 (rmail-auto-file): Ignore case in the "special" field names,
8469 as mail-fetch-field does for all others.
8470
8038d2d2
GM
8471 * mail/rmail.el (rmail-forward):
8472 * mail/rmailkwd.el (rmail-set-label):
8473 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8474 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8475
f3fe222a
GM
8476 * mail/rmail.el (rmail-current-message): Doc fix.
8477
50419064
GM
8478 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8479
28109f49
SM
84802011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8481
8482 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8483
394c65f1
GM
84842011-11-22 Glenn Morris <rgm@gnu.org>
8485
8486 * mail/rmailmm.el (test-rmail-mime-handler)
8487 (test-rmail-mime-bulk-handler)
8488 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8489
f2a0aa3a
JL
84902011-11-21 Juri Linkov <juri@jurta.org>
8491
1154d12e
JB
8492 * calc/calc.el (calc-read-key-sequence):
8493 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8494
9c34a344
LMI
84952011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8496
8497 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8498 Tell the caller that the next line needs recomputation, even
8499 though it doesn't start a sexp (bug#10094).
8500
f04a3be9
SM
85012011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8502
8503 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8504
7978747f
SM
85052011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8506
f04a3be9
SM
8507 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8508 Use force-same-window.
7978747f 8509
fe7a3057
JB
85102011-11-20 Juanma Barranquero <lekktu@gmail.com>
8511
8512 * descr-text.el (describe-char-unicode-data):
8513 * json.el (json-string-escape):
8514 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8515 (Footnote-unicode, Footnote-style-p):
8516 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8517
24901d61
CY
85182011-11-20 Chong Yidong <cyd@gnu.org>
8519
8520 * window.el (replace-buffer-in-windows): Restore interactive spec.
8521
bac7ff22
SM
85222011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8523
24f3d7b9
SM
8524 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8525
bac7ff22
SM
8526 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8527 (byte-compile-global-not-obsolete-vars): New var.
8528 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8529 Use it.
8530 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8531
cd1181db
JB
85322011-11-20 Juanma Barranquero <lekktu@gmail.com>
8533
8534 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8535 * progmodes/pascal.el (electric-pascal-equal):
8536 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8537 * xml.el (xml-substitute-special): Fix typos.
8538
7fb18e9e
GM
85392011-11-20 Glenn Morris <rgm@gnu.org>
8540
8541 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8542 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8543 Doc fixes.
8544 (rmail-decode-mime-charset): Mark as obsolete.
8545
8546 * mail/rmailsum.el (rmail-message-regexp-p-1):
8547 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8548 Before using mime functions, check they are set. (Bug#10077)
8549
d5a6b3ba
JL
85502011-11-19 Juri Linkov <juri@jurta.org>
8551
8552 * info.el (Info-finder-find-node): Use `package--builtins' instead
8553 of `package-alist'. Use node names formed by the pattern "Keyword "
8554 and the keyword name.
8555
e981b61f
AS
85562011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8557
1d00653d 8558 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8559
3ffbc301
JL
85602011-11-19 Juri Linkov <juri@jurta.org>
8561
8562 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8563 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8564 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8565 `old-history', `old-history-forward'. Add let-binding
8566 `window-selected'. Remove calls to `kill-buffer',
8567 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8568 before calling `Info-find-node', so `Info-find-node-2' will reread
8569 the Info file. Restore window positions only when `window-selected'
8570 is non-nil.
8571
30c62133
JL
85722011-11-19 Juri Linkov <juri@jurta.org>
8573
8574 * isearch.el (isearch-lazy-highlight-new-loop):
8575 Remove condition `(not isearch-error)'. (Bug#9918)
8576
8577 * misearch.el (multi-isearch-search-fun): Add condition
8578 `(not bound)' to ignore lazy-highlighting search.
8579 Add the search-failed message "end of multi" when the end of
8580 multi-sequence is reached. Uncapitalize the search-failed
8581 message "Repeat for next buffer".
8582
8583 * info.el (Info-search): Add the search-failed message
8584 "end of the manual" when the end of the manual is reached
8585 in Isearch mode.
8586
645ca9cf
JL
85872011-11-19 Juri Linkov <juri@jurta.org>
8588
8589 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8590 Use non-destructive `remove' instead of `delete' because
8591 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8592 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8593
df754f66
JL
85942011-11-19 Juri Linkov <juri@jurta.org>
8595
8596 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8597 to nil instead of binding `search-ring' and `regexp-search-ring'.
8598 (Bug#9185)
8599
0e23d96a
EZ
86002011-11-19 Eli Zaretskii <eliz@gnu.org>
8601
8602 * simple.el (line-move): Force movement by logical lines for any
8603 hscrolled window, not only when auto-hscroll-mode is on.
8604 (line-move-visual): Update doc string to that effect. (Bug#10076)
8605
8a6ccb66
AS
86062011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8607
8608 * language/european.el (macintosh): Define as alias for mac-roman.
8609
49ae5b39
EZ
86102011-11-19 Eli Zaretskii <eliz@gnu.org>
8611
8612 * mail/rmailmm.el (rmail-mime-display-header)
8613 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8614 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8615 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8616 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8617 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8618 of a raw aref.
8619 (rmail-mime-entity-segment): To get past the tagline, move forward
8620 2 more lines, to account for the 2 empty lines that precede and
8621 follow the line with the buttons.
8622 (rmail-mime-update-tagline): Move one more line, to get past the
8623 empty line that follows the buttons in the tagline. (Bug#9520)
8624
c56cad4a
MR
86252011-11-19 Martin Rudalics <rudalics@gmx.at>
8626
8627 * window.el (window-max-delta-1, window-min-delta-1)
8628 (window-min-size-1, window-state-get-1, window-state-put-1)
8629 (window-state-put-2): Use "window--" prefix.
8630
cbe71af3
SM
86312011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8632
2ad52c60
SM
8633 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8634 (smie-warning-count): New var.
8635 (smie-set-prec2tab): Use it.
8636 (smie-bnf->prec2): Improve warnings. Add docstring.
8637 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8638 (smie-bnf--set-class): New function.
8639 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8640 corner case.
8641
6944dbc1
SM
8642 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8643 (compilation-error-properties, compilation-move-to-column):
8644 Handle compilation-first-column while in the target buffer.
8645
c400c4d7
SM
8646 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8647 Don't hardcode point-min==1.
8648
6dbe3e96
SM
8649 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8650 (eshell-rewrite-for-command): Remove workaround.
8651 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8652 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8653 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8654
cbe71af3
SM
8655 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8656
a8e1496d
GM
86572011-11-17 Glenn Morris <rgm@gnu.org>
8658
8659 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8660 Ignore buffer-local generated-autoload-file if it is the same
8661 as the global value. (Bug#10049)
8662
df85d315
JB
86632011-11-17 Juanma Barranquero <lekktu@gmail.com>
8664
8665 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8666 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8667 (reftex-toc-previous-heading, reftex-toc-max-level)
8668 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8669 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8670 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8671 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8672 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8673 (reftex-toc-rename-label, reftex-toc-visit-location)
8674 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8675 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8676 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8677 leaving "*toc*" only for references to the buffer.
8678
a0c2d0ae
MR
86792011-11-17 Martin Rudalics <rudalics@gmx.at>
8680
8681 * window.el (window-resize, delete-window, split-window):
8682 Replace window-splits by window-combination-resize.
1d00653d 8683 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8684
35c0bac8
GM
86852011-11-17 Glenn Morris <rgm@gnu.org>
8686
8687 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8688 Make bash entry derive from sh entry, not shell entry.
8689
d0c8fc8a
MA
86902011-11-16 Michael Albinus <michael.albinus@gmx.de>
8691
7262a87c
MA
8692 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8693 local file name.
8694
7877f373
JB
86952011-11-16 Juanma Barranquero <lekktu@gmail.com>
8696
8697 * menu-bar.el (menu-bar-file-menu):
8698 * printing.el (pr-ps-utility):
8699 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8700 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8701 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8702 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8703 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8704 (icalendar--convert-cyclic-to-ical)
8705 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8706 (icalendar--convert-ical-to-diary)
8707 (icalendar--convert-recurring-to-diary)
8708 (icalendar--convert-non-recurring-all-day-to-diary)
8709 (icalendar-import-format-sample):
8710 * progmodes/idlw-shell.el (idlwave-shell-mode):
8711 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8712 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8713 (vhdl-ps-print-init): Fix typos.
8714
10649b82
KM
87152011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8716
9d0cfcd6
GM
8717 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8718 FSF and collapse date sequence, obscure author/maintainer email address
8719 better, remove extra version line, track relocation of author's webpage.
10649b82 8720
9d0cfcd6
GM
8721 * progmodes/python.el (python-pdbtrack-input-prompt)
8722 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8723 regular python pdb prompts. Adjustments shamelessly taken exactly as
8724 suggested in EmacsWiki page (tiny change):
8725 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8726
58179cce
JB
87272011-11-16 Juanma Barranquero <lekktu@gmail.com>
8728
8729 * expand.el (expand-pos, expand-index, expand-point):
8730 Remove redundant info from docstring.
8731 (expand-add-abbrevs): Doc fix.
8732 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8733 (expand-sample-perl-mode-expand-list): Fix typos.
8734
8735 * net/dbus.el (dbus-event-member-name):
8736 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8737 * term/pc-win.el (msdos-create-frame-with-faces):
8738 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8739
b6f67890
MR
87402011-11-16 Martin Rudalics <rudalics@gmx.at>
8741
8742 * window.el (split-window, window-state-get-1)
8743 (window-state-put-1, window-state-put-2): Rename occurrences of
8744 window-nest to window-combination-limit.
1d00653d 8745 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8746
ce7ddba0
CY
87472011-11-16 Chong Yidong <cyd@gnu.org>
8748
8749 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8750 regexp (Bug#10033).
8751
3ae704f4
SM
87522011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8753
8754 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8755 `completing-read' will remove *Completions* and will preserve
8756 current-buffer for us.
8757 (tmm-add-prompt): Users of *Completions* will always (re)set its
8758 major mode.
8759 (tmm-old-comp-map): Remove.
8760
6ad1cdde
GM
87612011-11-16 Glenn Morris <rgm@gnu.org>
8762
8763 * mail/rmailedit.el: Require rmailmm when compiling.
8764 (rmail-old-mime-state): New declaration.
8765 (rmail-edit-current-message): If editing a mime message,
8766 edit the "raw" message from the mbox buffer.
8767 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8768
d20faa20
GM
87692011-11-15 Glenn Morris <rgm@gnu.org>
8770
8771 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8772 which wasn't being used. Add optional arg to force given state.
8773 (rmail-mime): Add optional arg to force given state.
8774
c7015153
JB
87752011-11-15 Juanma Barranquero <lekktu@gmail.com>
8776
8777 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8778 * frame.el (display-mm-dimensions-alist):
8779 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8780 (outline-move-subtree-down):
8781 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8782 (newsticker--treeview-do-get-node):
8783 * net/quickurl.el (quickurl-list-buffer-name):
8784 * progmodes/dcl-mode.el (dcl-mode):
8785 * progmodes/gdb-mi.el (gdb-mapcar*):
8786 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8787
45261b50
GM
87882011-11-15 Glenn Morris <rgm@gnu.org>
8789
8790 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8791 in a boolean sense, so just make it a boolean, and fix the doc.
8792 (rmail-show-mime-function, rmail-mime-feature)
8793 (rmail-require-mime-maybe): Doc fixes.
8794 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8795
8796 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8797
0d26e0b6
JB
87982011-11-15 Juanma Barranquero <lekktu@gmail.com>
8799
8800 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8801 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8802 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8803 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8804
447f30f6
GM
88052011-11-15 Glenn Morris <rgm@gnu.org>
8806
672b871d
GM
8807 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8808 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8809 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8810 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8811 (rmail-mime, rmail-show-mime): Doc fixes.
8812
f6aa5bb1
GM
8813 * term/ns-win.el (mode-line-frame-identification):
8814 Leave it alone. (Bug#10051)
8815
947cd66b
GM
8816 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8817
447f30f6
GM
8818 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8819 Handle empty buffers. (Bug#9978)
8820
0b381c7e
JB
88212011-11-14 Juanma Barranquero <lekktu@gmail.com>
8822
8823 * international/mule.el (define-charset):
8824 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8825 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8826 * progmodes/verilog-mode.el (verilog-backward-token):
8827 * textmodes/ispell.el (lookup-words):
8828 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8829
71e027ac
GM
88302011-11-14 Glenn Morris <rgm@gnu.org>
8831
56632ce4
GM
8832 * progmodes/executable.el
8833 (executable-make-buffer-file-executable-if-script-p):
8834 Handle file-modes returning nil.
8835
40500957
GM
8836 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8837 message - not necessary, and causes problems. (Bug#9831)
8838
071c2340
GM
8839 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8840
d3cfca60
GM
8841 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8842
71e027ac
GM
8843 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8844 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8845 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8846
89d61221
MR
88472011-11-12 Martin Rudalics <rudalics@gmx.at>
8848
8849 * window.el (window-resize, delete-window): Use window-splits
8850 variable instead of function.
8851 (window-state-get-1, window-state-put-2, window-state-put):
8852 Don't deal with windows' splits status.
8853
98282f6f
GM
88542011-11-12 Glenn Morris <rgm@gnu.org>
8855
8856 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8857 (apropos-documentation): Doc fixes.
8858
40a8bdf6
JB
88592011-11-11 Juanma Barranquero <lekktu@gmail.com>
8860
8861 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8862 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8863
65bd19ff
SM
88642011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8865
8866 * electric.el (electric-indent-post-self-insert-function): Make it
8867 possible for a char to only indent in some circumstances.
8868 (electric-indent-mode): Simplify.
8869
54f9154c
MR
88702011-11-11 Martin Rudalics <rudalics@gmx.at>
8871
8872 * window.el (windows-with-parameter): Remove unused function.
8873 (windows-at-side): Rename to window-at-side-list.
8874 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8875 (window-side-check, window-size-ignore, window-size-fixed-1)
8876 (window-in-direction-2): Prefix with "window--".
8877 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8878
68cbc58b
GM
88792011-11-11 Glenn Morris <rgm@gnu.org>
8880
8881 * subr.el (eval-after-load): If FILE is already loaded,
8882 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8883
b2621720
GM
88842011-11-10 Glenn Morris <rgm@gnu.org>
8885
9a4de110
GM
8886 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8887 Call svn via vc-svn-command rather than vc-do-command.
8888 (vc-svn-command): Add --non-interactive. (Bug#9993)
8889 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8890
b2621720
GM
8891 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8892 Add toggle-read-only. (Bug#7292)
8893 * files.el (toggle-read-only): Mention that it should only
8894 be used interactively. (Bug#10006)
8895
1dce7193
SM
88962011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8897
d9ac1a1e
SM
8898 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8899 Adjust regexp for OCaml warnings.
8900
0c325082
SM
8901 * electric.el (electric-pair-post-self-insert-function): Let user
8902 turn it off buffer-locally (bug#9932).
8903
90132c14
SM
8904 * progmodes/python.el (python-beginning-of-statement):
8905 Rewrite (bug#2703).
8906
1dce7193
SM
8907 * progmodes/compile.el: Better handle TABs (bug#9749).
8908 (compilation-internal-error-properties)
8909 (compilation-next-error-function): Obey the target buffer's
8910 compilation-error-screen-columns.
8911
c4e7c63a
JB
89122011-11-09 Juanma Barranquero <lekktu@gmail.com>
8913
8914 * progmodes/meta-mode.el: Remove obsolete comments.
8915 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8916 Fix typos in docstrings.
8917
2cffd681
MR
89182011-11-09 Martin Rudalics <rudalics@gmx.at>
8919
8920 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8921 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8922 (window--resizable): New function. Make all callers of
8923 window-resizable call window--resizable instead.
8924 (window-resizable): Rewrite in terms of window--resizable.
8925
0edcba87
GM
89262011-11-08 Glenn Morris <rgm@gnu.org>
8927
8928 * progmodes/delphi.el (delphi-mode-syntax-table):
8929 Let define-derived-mode define a proper syntax table. (Bug#9994)
8930
4b0d61e3
SM
89312011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8932
8933 * window.el: Stay away from defsubst.
8934 (window-list-no-nils): Remove.
8935 (window-state-get-1, window-state-get): Use backquote instead.
8936
cd394be1 89372011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8938
4b0d61e3 8939 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8940 Fix incorrect use of default argument in `completing-read'.
8941
e1c2c6f2
MR
89422011-11-08 Martin Rudalics <rudalics@gmx.at>
8943
8944 * window.el (display-buffer-function, special-display-function):
8945 Mention display-buffer-record-window but do not mention
8946 help-setup parameter in doc-strings.
b3f4a882 8947 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8948
105216ed
CY
89492011-11-08 Chong Yidong <cyd@gnu.org>
8950
8951 * window.el (window-total-height, window-total-width): Doc fix.
8952 (window-body-size): Move from C.
8953 (window-body-height, window-body-width): Move to C.
8954
0a9f9ab5
SM
89552011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8956
8957 * window.el: Make special-display like display-buffer-alist (bug#9532).
8958 (display-buffer--special-action): New function, morphed
8959 from display-buffer--special.
8960 (display-buffer): Use it to handle special-display-buffers at higher
8961 priority (just after display-buffer-alist).
8962 (display-buffer-fallback-action, display-buffer--other-frame-action)
8963 (pop-to-buffer-same-window): Remove display-buffer--special.
8964
a769dd15
GM
89652011-11-07 Glenn Morris <rgm@gnu.org>
8966
8967 * calendar/cal-menu.el (cal-menu-set-date-title):
8968 Do nothing if not in a calendar. (Bug#9976)
8969
05a61ee3
SM
89702011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8971
8972 * files.el (find-file): Always use selected-window.
8973
be7f5545
MR
89742011-11-07 Martin Rudalics <rudalics@gmx.at>
8975
8976 * window.el (window-combinations): Make WINDOW argument
8977 mandatory. Rewrite doc-string.
8978 (walk-window-subtree, window-atom-check, window-min-delta)
8979 (window-max-delta, window--resize-this-window)
8980 (window--resize-root-window-vertically, window-tree)
8981 (balance-windows, window-state-put): Rewrite doc-strings as to
8982 not mention the term "subwindow".
8983 (window--resize-subwindows-skip-p): Rename to
8984 window--resize-child-windows-skip-p.
8985 (window--resize-subwindows-normal): Rename to
8986 window--resize-child-windows-normal.
8987 (window--resize-subwindows): Rename to
8988 window--resize-child-windows.
8989 (window-or-subwindow-p): Rename to window--in-subtree-p.
8990
3c6702ef
ML
89912011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8992
8993 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
8994 Ensure that mbox format messages end in two newlines (Bug#9974).
8995
49745b39
CY
89962011-11-06 Chong Yidong <cyd@gnu.org>
8997
8998 * window.el (window-combination-p): Function deleted; its
8999 side-effect is not used in any existing code.
9000 (window-combinations, window-combined-p): Call window-*-child
9001 directly.
9002
24300f5f
CY
90032011-11-05 Chong Yidong <cyd@gnu.org>
9004
9005 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9006 (window-size-ignore, window-state-get): Callers changed.
9007 (window-normalize-window): Rename from window-normalize-any-window.
9008 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9009 (window-normalize-live-window): Delete.
447f16b8
CY
9010 (window-combination-p, window-combined-p, window-combinations)
9011 (walk-window-subtree, window-atom-root, window-min-size)
9012 (window-sizable, window-sizable-p, window-size-fixed-p)
9013 (window-min-delta, window-max-delta, window-resizable)
9014 (window-resizable-p, window-full-height-p, window-full-width-p)
9015 (window-current-scroll-bars, window-point-1, set-window-point-1)
9016 (window-at-side-p, window-in-direction, window-resize)
9017 (adjust-window-trailing-edge, maximize-window, minimize-window)
9018 (window-deletable-p, delete-window, delete-other-windows)
9019 (record-window-buffer, unrecord-window-buffer)
9020 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9021 (quit-window, split-window, window-state-put)
9022 (set-window-text-height, fit-window-to-buffer)
9023 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9024
89bd5ee1
EZ
90252011-11-04 Eli Zaretskii <eliz@gnu.org>
9026
53479029
EZ
9027 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9028 rfc2047-decode-string.
9029 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9030 warnings.
9031
89bd5ee1
EZ
9032 * window.el (window-body-height, window-body-width): Mention in
9033 the doc string that the return values are in frame's canonical
9034 units. (Bug#9949)
9035
bd17fdee
AM
90362011-11-03 Alan Mackenzie <acm@muc.de>
9037
9038 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9039 change in cc-engine.el.
9040
acc825c5
SM
90412011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9042
9043 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9044
1885e5b8
MR
90452011-11-02 Martin Rudalics <rudalics@gmx.at>
9046
9047 * window.el (quit-window): Call unrecord-window-buffer after
9048 showing another buffer in the window. (Bug#9937)
acc825c5 9049 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9050
ebe06da9
JB
90512011-11-02 Juanma Barranquero <lekktu@gmail.com>
9052
9053 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9054 Accept status with more than 9 shelves. (Bug#9935)
9055 Reported by Colin D Bennett <colin@gibibit.com>.
9056
4ee88440
MR
90572011-11-01 Martin Rudalics <rudalics@gmx.at>
9058
9059 * help.el (with-help-window): Don't reference
9060 temp-buffer-show-specifiers in doc-string.
9061
08e1d82c
AS
90622011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9063
9064 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9065 menu-item.
9066
84bd6e9e
VJL
90672011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9068
9069 * whitespace.el: New version 13.2.2.
9070 (whitespace-newline-mode): Disable properly. Reported by Sarah
9071 <EmacsWiki>.
9072
dba0634a
UJ
90732011-10-30 Ulf Jasper <ulf.jasper@web.de>
9074
9075 * net/newst-treeview.el: Remove "Time-stamp".
9076 (newsticker--group-manage-orphan-feeds): Do not call
9077 newsticker--treeview-tree-update.
db22a3c2
JB
9078 (newsticker-treeview-update, newsticker-treeview):
9079 Call newsticker--treeview-tree-update if necessary.
dba0634a 9080
3d8daefe
MR
90812011-10-30 Martin Rudalics <rudalics@gmx.at>
9082
9083 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9084 (window-iso-combinations): Remove "iso-" infix.
9085 Suggested by Chong Yidong.
3d8daefe
MR
9086 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9087 (window-max-delta-1, window-resize, window--resize-siblings)
9088 (window--resize-this-window, adjust-window-trailing-edge)
9089 (split-window, balance-windows-1)
9090 (shrink-window-if-larger-than-buffer):
9091 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9092 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9093
1bc4c3ae
SM
90942011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9095
9096 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9097 in place (bug#9907).
9098 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9099 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9100 (eshell-structure-basic-command, eshell-rewrite-while-command)
9101 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9102 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9103 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9104 (eshell-do-pipelines-synchronously, eshell-eval-command):
9105 Use backquotes and prefer setq to set.
9106 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9107 (eshell-macrop): Use functionp.
c1e2f5fa 9108 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9109
30b65d9c
CY
91102011-10-30 Chong Yidong <cyd@gnu.org>
9111
9112 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9113 instead of set-mark (Bug#9810).
9114
2d197ffb
CY
91152011-10-30 Chong Yidong <cyd@gnu.org>
9116
9117 * window.el (split-window-below, split-window-right): Rename from
9118 split-window-above-each-other and split-window-side-by-side
9119 respectively. All callers changed.
9120 (split-window-sensibly, split-window-sensibly): Use them.
9121 (split-window-keep-point): Doc fix.
9122
9123 * isearch.el: Add isearch-scroll property to split-window-below
9124 and split-window-right.
9125
9126 * follow.el (follow-mode):
9127 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9128 * progmodes/ada-xref.el (ada-gdb-application):
9129 * emulation/vip.el (vip-buffer-in-two-windows):
9130 * image-dired.el (image-dired-dired-with-window-configuration):
9131 * dired-x.el (dired-do-find-marked-files):
9132 * dired.el (dired-pop-to-buffer):
9133 * bs.el (bs--show-with-configuration):
9134 * vc/emerge.el (emerge-setup-windows):
9135 * textmodes/two-column.el (2C-two-columns):
9136 * textmodes/reftex-toc.el (reftex-toc):
9137 * progmodes/gdb-mi.el (gdb-setup-windows):
9138 * progmodes/fortran.el (fortran-window-create):
9139 * net/newst-treeview.el (newsticker--treeview-window-init):
9140 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9141 * emulation/tpu-edt.el (tpu-gold-map):
9142 * emulation/crisp.el (crisp-mode-map):
9143 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9144
38bb2ca8
CY
91452011-10-29 Chong Yidong <cyd@gnu.org>
9146
aa4de341
CY
9147 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9148
e1eb5385
CY
9149 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9150
5d2ece3c
CY
9151 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9152 forged Ispell output (Bug#7904).
9153
38bb2ca8
CY
9154 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9155
d0af9f77
SM
91562011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9157
9158 * doc-view.el: Avoid ugly errors about not finding nil.
9159 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9160 (doc-view-dvipdf-program, doc-view-unoconv-program)
9161 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9162 Avoid nil or absolute file name as default value.
9163 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9164
52bedd34
AM
91652011-10-28 Alan Mackenzie <acm@muc.de>
9166
db22a3c2 9167 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9168
7e43cfa5
AM
91692011-10-28 Alan Mackenzie <acm@muc.de>
9170
9171 Amend the handling of c-beginning/end-of-defun in nested declaration
9172 scopes.
9173
52bedd34
AM
9174 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9175 cc-langs.el. Change it to a defcustom.
7e43cfa5 9176
52bedd34
AM
9177 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9178 cc-vars.el.
7e43cfa5 9179
d0af9f77
SM
9180 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9181 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9182
52bedd34 9183 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9184 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9185 (c-widen-to-enclosing-decl-scope): New function.
9186 (c-while-widening-to-decl-block): New macro.
9187 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9188 outward for defun boundaries, and correspondingly change symbol
9189 `respect-enclosure' to `go-outward'.
9190 (c-declaration-limits): Change algorithm to report only the "innermost"
9191 defun's boundaries.
9192
1a2ce9ee
DD
91932011-10-28 Deniz Dogan <deniz@dogan.se>
9194
9195 * net/rcirc.el (rcirc-mode): Use hard newlines.
9196
bc97a826
AM
91972011-10-28 Alan Mackenzie <acm@muc.de>
9198
9199 Amend to indent and fontify macros "which include their own semicolon"
9200 correctly, using the "virtual semicolon" mechanism.
9201
52bedd34 9202 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9203
d0af9f77 9204 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9205 Recode to scan one line at a time rather than having \n and \r
58179cce 9206 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9207 (c-forward-label): Amend for virtual semicolons.
58179cce 9208 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9209
52bedd34
AM
9210 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9211 of the new C macros.
bc97a826 9212
52bedd34 9213 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9214 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9215 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9216 (c-opt-cpp-macro-define): Make into a full language variable.
9217 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9218 AWK Mode (including \n, \r) removed, no longer needed.
9219
d0af9f77
SM
9220 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9221 Invoke c-make-macro-with-semi-re.
bc97a826 9222
52bedd34
AM
9223 * progmodes/cc-vars.el (c-macro-with-semi-re):
9224 (c-macro-names-with-semicolon): New variables.
58179cce 9225 (c-make-macro-with-semi-re): New function.
bc97a826 9226
7a6c0941
SM
92272011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9228
9229 * vc/log-edit.el: Fill empty field rather than adding new one.
9230 (log-edit-add-field): New function.
9231 (log-edit-insert-changelog): Use it.
9232
b0c4cdcf
ML
92332011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9234
9235 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9236
ee1f1da9
SM
92372011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9238
9239 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9240 (gdb--check-interpreter): New function.
9241 (gdb): Use it.
9242
51bc5f8b
GM
92432011-10-27 Glenn Morris <rgm@gnu.org>
9244
416a2c45
GM
9245 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9246 (least-positive-float, least-negative-float)
9247 (least-positive-normalized-float, least-negative-normalized-float)
9248 (float-epsilon, float-negative-epsilon):
9249 Remove unnecessary declarations.
9250
9251 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9252 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9253 (least-positive-float, least-negative-float)
9254 (least-positive-normalized-float, least-negative-normalized-float)
9255 (float-epsilon, float-negative-epsilon): Add doc-strings,
9256 based on those in cl.texi.
9257
51bc5f8b
GM
9258 * files.el (set-visited-file-name): If the major-mode changed,
9259 reload the local variables. (Bug#9796)
9260
15de15c6
CY
92612011-10-27 Chong Yidong <cyd@gnu.org>
9262
9263 * subr.el (change-major-mode-after-body-hook): New hook.
9264 (run-mode-hooks): Run it.
9265
ee1f1da9
SM
9266 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9267 Use change-major-mode-before-body-hook.
15de15c6
CY
9268
9269 * simple.el (fundamental-mode):
9270 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9271 change introducing fundamental-mode-hook.
9272
5430d399
JB
92732011-10-26 Juanma Barranquero <lekktu@gmail.com>
9274
acc825c5 9275 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9276
ad74a69e
MA
92772011-10-26 Michael Albinus <michael.albinus@gmx.de>
9278
9279 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9280 tramp.el explicitly. (Bug#7583)
ad74a69e 9281
71d4c2a5
SM
92822011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9283
9284 * progmodes/octave-mod.el:
9285 * progmodes/octave-inf.el: Update maintainer.
9286
b1f6fa26
CY
92872011-10-26 Chong Yidong <cyd@gnu.org>
9288
9289 * subr.el (with-wrapper-hook): Rewrite doc.
9290
3f04efd6
MA
92912011-10-25 Michael Albinus <michael.albinus@gmx.de>
9292
9293 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9294 filenames "/method:foo:". (Bug#9793)
3f04efd6 9295
410488d3
SM
92962011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9297
9298 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9299 (bug#9865).
9300
c1ebb47e
GM
93012011-10-24 Glenn Morris <rgm@gnu.org>
9302
9303 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9304
7f5c46c7
MA
93052011-10-24 Michael Albinus <michael.albinus@gmx.de>
9306
9307 * notifications.el: Add the requirement of a running D-Bus session
9308 bus to the Commentary.
9309
db2440b6
JL
93102011-10-24 Juri Linkov <juri@jurta.org>
9311
9312 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9313 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9314 (Bug#9364)
9315
feecf435
JL
93162011-10-24 Juri Linkov <juri@jurta.org>
9317
9318 * info.el (Info-following-node-name-re): Add newline to the list
9319 of allowed characters for leading space. (Bug#9824)
9320
a3839de2
SM
93212011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9322
acc825c5
SM
9323 * progmodes/octave-inf.el (inferior-octave-mode-map):
9324 Fix C-c C-h binding.
a3839de2
SM
9325 * progmodes/octave-mod.el (octave-help): Remove.
9326
09388e76
MA
93272011-10-23 Michael Albinus <michael.albinus@gmx.de>
9328
9329 Sync with Tramp 2.2.3.
9330
9331 * net/tramp-cache.el (top): Pacify byte-compiler using
9332 `init-file-user' and `site-run-file'.
9333
9334 * net/trampver.el: Update release number.
9335
86c60681
CY
93362011-10-23 Chong Yidong <cyd@gnu.org>
9337
9338 * files.el (toggle-read-only): Remove obsolete comment about
9339 version control.
9340
9341 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9342 for toggle-read-only. Note that this hasn't called vc-next-action
9343 since 2008-05-02, though it wasn't documented at the time.
9344
a3839de2
SM
9345 * vc/ediff-init.el (ediff-toggle-read-only-function):
9346 Use toggle-read-only.
86c60681 9347
cd5495ff
AM
93482011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9349
9350 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9351 of c-parse-state.
9352
00b77525 9353 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9354 correct faulty logical expression.
cd5495ff
AM
9355 (c-parse-state-state, c-record-parse-state-state):
9356 (c-replay-parse-state-state): New defvar/defuns.
9357 (c-debug-parse-state): Use new functions.
9358
42ee24ed
MR
93592011-10-22 Martin Rudalics <rudalics@gmx.at>
9360
9361 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9362 last fix. Use window-in-direction correctly.
42ee24ed 9363
a7dee7e7
CY
93642011-10-21 Chong Yidong <cyd@gnu.org>
9365
9366 * progmodes/idlwave.el (idlwave-mode):
9367 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9368 require-final-newline; that's done in prog-mode.
9369 Suggested by Stefan Monnier.
a7dee7e7 9370
e07b9a6d
MR
93712011-10-21 Martin Rudalics <rudalics@gmx.at>
9372
9373 * mouse.el (mouse-drag-window-above)
9374 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9375 (mouse-drag-mode-line-1, mouse-drag-header-line)
9376 (mouse-drag-vertical-line-rightward-window): Remove.
9377 (mouse-drag-line): New function.
9378 (mouse-drag-mode-line, mouse-drag-header-line)
9379 (mouse-drag-vertical-line): Call mouse-drag-line.
9380 * window.el (window-at-side-p, windows-at-side): New functions.
9381
7e1361d9
UM
93822011-10-21 Ulrich Mueller <ulm@gentoo.org>
9383
9384 * tar-mode.el (tar-grind-file-mode):
9385 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9386
30fcaf3a
CY
93872011-10-21 Chong Yidong <cyd@gnu.org>
9388
9389 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9390 * progmodes/vera-mode.el (vera-mode):
9391 Use mode-require-final-newline.
30fcaf3a 9392
516eddb0
GM
93932011-10-20 Glenn Morris <rgm@gnu.org>
9394
db22a3c2 9395 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9396
10d5f513
CS
93972011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9398
9399 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9400
ac6c8639
CY
94012011-10-20 Chong Yidong <cyd@gnu.org>
9402
9403 * emulation/cua-base.el (cua-mode):
9404 * mail/footnote.el (footnote-mode):
9405 * mail/mailabbrev.el (mail-abbrevs-mode):
9406 * net/xesam.el (xesam-minor-mode):
9407 * progmodes/bug-reference.el (bug-reference-mode):
9408 * progmodes/cap-words.el (capitalized-words-mode):
9409 * progmodes/compile.el (compilation-minor-mode)
9410 (compilation-shell-minor-mode):
9411 * progmodes/gud.el (gud-tooltip-mode):
9412 * progmodes/hideif.el (hide-ifdef-mode):
9413 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9414 * progmodes/subword.el (subword-mode):
9415 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9416 * progmodes/which-func.el (which-function-mode):
9417 * term/tvi970.el (tvi970-set-keypad-mode):
9418 * term/vt100.el (vt100-wide-mode):
9419 * textmodes/flyspell.el (flyspell-mode):
9420 * textmodes/ispell.el (ispell-minor-mode):
9421 * textmodes/nroff-mode.el (nroff-electric-mode):
9422 * textmodes/paragraphs.el (use-hard-newlines):
9423 * textmodes/refill.el (refill-mode):
9424 * textmodes/reftex.el (reftex-mode):
9425 * textmodes/rst.el (rst-minor-mode):
9426 * textmodes/sgml-mode.el (html-autoview-mode)
9427 (sgml-electric-tag-pair-mode):
9428 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9429 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9430 * emulation/crisp.el (crisp-mode):
9431 * emacs-lisp/eldoc.el (eldoc-mode):
9432 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9433 minor mode behavior.
9434
aa42ab43
JL
94352011-10-19 Juri Linkov <juri@jurta.org>
9436
9437 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9438 the list of hard-coded chars with escape-glyph face.
9439
89400f1d
SM
94402011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9441
9442 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9443
305c07f6
MA
94442011-10-19 Michael Albinus <michael.albinus@gmx.de>
9445
9446 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9447 running process.
9448
13754b54
GM
94492011-10-19 Glenn Morris <rgm@gnu.org>
9450
9451 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9452 Ignore ignored files. (Bug#9726)
9453
06e21633
CY
94542011-10-19 Chong Yidong <cyd@gnu.org>
9455
9456 Doc fix for minor modes, stating that an omitted argument enables
9457 the mode unconditionally when called from Lisp.
9458
9459 * abbrev.el (abbrev-mode):
9460 * allout.el (allout-mode):
9461 * autoinsert.el (auto-insert-mode):
9462 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9463 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9464 (global-auto-revert-mode):
9465 * battery.el (display-battery-mode):
9466 * composite.el (global-auto-composition-mode)
9467 (auto-composition-mode):
9468 * delsel.el (delete-selection-mode):
9469 * desktop.el (desktop-save-mode):
9470 * dired-x.el (dired-omit-mode):
9471 * dirtrack.el (dirtrack-mode):
9472 * doc-view.el (doc-view-minor-mode):
9473 * double.el (double-mode):
9474 * electric.el (electric-indent-mode, electric-pair-mode):
9475 * emacs-lock.el (emacs-lock-mode):
9476 * epa-hook.el (auto-encryption-mode):
9477 * follow.el (follow-mode):
9478 * font-core.el (font-lock-mode):
9479 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9480 * help.el (temp-buffer-resize-mode):
9481 * hilit-chg.el (highlight-changes-mode)
9482 (highlight-changes-visible-mode):
9483 * hi-lock.el (hi-lock-mode):
9484 * hl-line.el (hl-line-mode, global-hl-line-mode):
9485 * icomplete.el (icomplete-mode):
9486 * ido.el (ido-everywhere):
9487 * image-file.el (auto-image-file-mode):
9488 * image-mode.el (image-minor-mode):
9489 * iswitchb.el (iswitchb-mode):
9490 * jka-cmpr-hook.el (auto-compression-mode):
9491 * linum.el (linum-mode):
9492 * longlines.el (longlines-mode):
9493 * master.el (master-mode):
9494 * mb-depth.el (minibuffer-depth-indicate-mode):
9495 * menu-bar.el (menu-bar-mode):
9496 * minibuf-eldef.el (minibuffer-electric-default-mode):
9497 * mouse-sel.el (mouse-sel-mode):
9498 * msb.el (msb-mode):
9499 * mwheel.el (mouse-wheel-mode):
9500 * outline.el (outline-minor-mode):
9501 * paren.el (show-paren-mode):
9502 * recentf.el (recentf-mode):
9503 * reveal.el (reveal-mode, global-reveal-mode):
9504 * rfn-eshadow.el (file-name-shadow-mode):
9505 * ruler-mode.el (ruler-mode):
9506 * savehist.el (savehist-mode):
9507 * scroll-all.el (scroll-all-mode):
9508 * scroll-bar.el (scroll-bar-mode):
9509 * server.el (server-mode):
9510 * shell.el (shell-dirtrack-mode):
9511 * simple.el (auto-fill-mode, transient-mark-mode)
9512 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9513 (line-number-mode, column-number-mode, size-indication-mode)
9514 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9515 * strokes.el (strokes-mode):
9516 * time.el (display-time-mode):
9517 * t-mouse.el (gpm-mouse-mode):
9518 * tool-bar.el (tool-bar-mode):
9519 * tooltip.el (tooltip-mode):
9520 * type-break.el (type-break-mode-line-message-mode)
9521 (type-break-query-mode):
9522 * view.el (view-mode):
9523 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9524 (global-whitespace-mode, global-whitespace-newline-mode):
9525 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9526
a3839de2
SM
9527 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9528 Fix autogenerated docstring.
06e21633 9529
5214e501
JL
95302011-10-19 Juri Linkov <juri@jurta.org>
9531
9532 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9533 by checking environment variables "DESKTOP_SESSION" and
9534 "XDG_CURRENT_DESKTOP". (Bug#9779)
9535
195f8db9
JL
95362011-10-19 Juri Linkov <juri@jurta.org>
9537
9538 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9539 (browse-url-chromium-program, browse-url-chromium-arguments):
9540 New defcustoms.
9541 (browse-url-default-browser): Check for `browse-url-chromium' and
9542 call `browse-url-chromium-program'.
9543 (browse-url-chromium): New command. (Bug#9779)
9544
343a34ff
JB
95452011-10-18 Juanma Barranquero <lekktu@gmail.com>
9546
9547 * facemenu.el (list-colors-duplicates): On Windows, detect more
9548 duplicates by assuming that only colors matching "^System" are
9549 special "system colors". (Bug#9722)
9550
6978a151
SM
95512011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9552
9553 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9554 to distinguish the author from the committer.
9555
6a80b297
MA
95562011-10-18 Michael Albinus <michael.albinus@gmx.de>
9557
9558 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9559
b31a5677
JK
95602011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9561
9562 * international/mule.el (sgml-html-meta-auto-coding-function):
9563 Add support for detecting encoding in HTML5 specified only as
9564 <meta charset="UTF-8">. Implementation just makes http-equiv and
9565 content-type parts from HTML4 encoding string optional. (Bug#9716)
9566
80c6d77f
GM
95672011-10-18 Glenn Morris <rgm@gnu.org>
9568
9569 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9570
08b0fee8
CY
95712011-10-18 Chong Yidong <cyd@gnu.org>
9572
9573 * faces.el (cursor): Doc fix.
9574
67e729a5
CY
95752011-10-17 Chong Yidong <cyd@gnu.org>
9576
9577 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9578
343a34ff 95792011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9580
9581 * dirtrack.el (dirtrack): Support shell buffers with path
9582 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9583
0bc06380
TZ
95842011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9585
9586 * json.el: Bump version to 1.3 and note change in History.
9587 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9588
8b79f3e0
SM
95892011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9590
5a7c536b
SM
9591 * comint.el (comint-insert-input, comint-send-input)
9592 (comint-get-old-input-default, comint-backward-matching-input)
9593 (comint-next-prompt): Use nil instead of `input' for field property of
9594 past user input (bug#114).
9595
96a8a0df
SM
9596 * minibuffer.el (completion--replace): Inherit surrounding properties
9597 (bug#114).
9598 (minibuffer-complete-and-exit): Use it.
9599
8b79f3e0
SM
9600 * comint.el (comint--table-subvert): Quote the all-completions output
9601 (bug#9160).
9602
b8f7ff0d
MR
96032011-10-17 Martin Rudalics <rudalics@gmx.at>
9604
8b79f3e0 9605 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9606
b8f7ff0d 9607 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9608 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9609 entries and separate them from frame entries.
9610
c235b555
GM
96112011-10-15 Glenn Morris <rgm@gnu.org>
9612
9613 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9614 Doc fixes.
9615
6bbfa6e1
CY
96162011-10-15 Chong Yidong <cyd@stupidchicken.com>
9617
8b79f3e0
SM
9618 * net/network-stream.el (network-stream-open-starttls):
9619 Improve detection of failure due to lack of TLS support.
ec5c990d 9620
6bbfa6e1
CY
9621 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9622 putting the input text in front and in bold.
9623
98488977
SM
96242011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9625
3d1337be
SM
9626 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9627
ee0b45e4
SM
9628 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9629 empty buffer.
9630
98488977
SM
9631 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9632 unread-command-events rather than pushing yet-another event.
9633
186f4720
EZ
96342011-10-14 Eli Zaretskii <eliz@gnu.org>
9635
9636 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9637 the explanation of the possible choices. Make the options passed
9638 to completing-read shorter.
9639
8b7a997c
AM
96402011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9641
9642 * textmodes/flyspell.el (flyspell-large-region): Make sure
9643 extended character mode is used if defined (Bug#1339).
9644
12587bbb
EZ
96452011-10-13 Eli Zaretskii <eliz@gnu.org>
9646
9647 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9648 character info for LRE, LRO, RLE, and RLO characters by appending
9649 an invisible PDF.
12587bbb 9650
bad41229
SM
96512011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9652
9653 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9654 even in case of error; add debug spec; simplify data flow.
9655 (with-timeout-handler): Remove.
9656
28dbc92f
MA
96572011-10-12 Michael Albinus <michael.albinus@gmx.de>
9658
9659 Fix Bug#6019, Bug#9315.
9660
9661 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9662 complete `buffer-file-name', the local file name part could look
9663 remotely (for example on VMS).
9664
9665 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9666 `tramp-run-real-handler'.
9667 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9668 already quoted by '"'.
9669
9670 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9671 Let `file-name-handler-alist' be nil, the local file name part
9672 could look remotely (for example on VMS).
9673
e1b0b23a
SM
96742011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9675
9676 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9677 from here...
9678 (flyspell-post-command-hook): ...to here.
9679
a120bde9
SM
96802011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9681
9682 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9683 if not needed.
9684 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9685 using completion. Protect against "slow" callers.
9686 Remove the "message hack".
9687
7ce7717b
JL
96882011-10-11 Juri Linkov <juri@jurta.org>
9689
9690 * isearch.el (isearch-lazy-highlight-word): New variable.
9691 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9692 Use it. (Bug#9727)
9693
c02ee9d6
GM
96942011-10-11 Glenn Morris <rgm@gnu.org>
9695
9696 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9697 like f90-previous-statement does.
9698
93e616fd 96992011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9700
1f190e73 9701 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9702 only in interactive use, to avoid error.
9703
af7b6078
SM
97042011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9705
9706 * minibuffer.el (completion-file-name-table): Fix last change,
9707 i.e. ignore normal errors but not the other ones.
9708
0563dae9
MR
97092011-10-10 Martin Rudalics <rudalics@gmx.at>
9710
9711 * window.el (special-display-buffer-names)
9712 (special-display-regexps): Remove some remnants of earlier
9713 changes from doc-strings.
366ca7f3
MR
9714 (quit-windows-on): New function.
9715
9716 * vc/vc.el (vc-revert, vc-rollback):
9717 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9718 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9719 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9720
49677495
MR
97212011-10-09 Martin Rudalics <rudalics@gmx.at>
9722
9723 * window.el (frame-auto-hide-function): Add version tag.
9724 (Bug#9699)
9725
56f2d1e1
MA
97262011-10-09 Michael Albinus <michael.albinus@gmx.de>
9727
9728 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9729 condition.
9730
112a6592
LL
97312011-10-09 Leo Liu <sdl.web@gmail.com>
9732
9733 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9734 (Bug#9701)
9735
0812589b
GM
97362011-10-08 Glenn Morris <rgm@gnu.org>
9737
9738 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9739 before the first code statement zero indent. (Bug#9690)
9740
b2b0776e
CY
97412011-10-08 Chong Yidong <cyd@stupidchicken.com>
9742
9743 * simple.el (count-words-region): Always count in the region.
9744 Report the number of lines and characters too.
9745 (count-words): New command, which counts in the buffer if the
9746 region is inactive, as count-words-region used to.
9747 (count-words--message): New function. Handle plurals.
9748 (count-lines-region): Make it an alias for count-words-region.
9749
9750 * bindings.el (esc-map): Replace count-lines-region with
9751 count-words-region.
9752
c557cd6b
MR
97532011-10-08 Martin Rudalics <rudalics@gmx.at>
9754
9755 * window.el (window--delete): Delete dedicated frame
9756 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9757 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9758
61a57ef4 97592011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9760
3a7d293b 9761 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9762
c3833279
CY
97632011-10-07 Chong Yidong <cyd@stupidchicken.com>
9764
9765 * bindings.el ([M-left],[M-right]): Bind to left-word and
9766 right-word respectively.
9767
21ce8245
GM
97682011-10-07 Glenn Morris <rgm@gnu.org>
9769
9770 * cus-start.el (debug-on-quit): Fix custom type.
9771
6d823bb2
LMI
97722011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9773
0181e193
LMI
9774 * subr.el (define-key-after): Clarify that the function is not
9775 useful for non-menu keymaps.
9776
6d823bb2
LMI
9777 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9778
8e3459ce 97792011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9780
21ce8245 9781 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9782 in current minibuffer (Fix bug with recursive minibuffers).
9783
a1c2d21e
CY
97842011-10-06 Chong Yidong <cyd@stupidchicken.com>
9785
9786 * progmodes/gdb-mi.el (gdb): Doc fix.
9787
5a4cf282
MR
97882011-10-05 Martin Rudalics <rudalics@gmx.at>
9789
9790 * window.el (frame-auto-hide-function): New option replacing
9791 frame-auto-delete. Suggested by Stefan Monnier.
9792 (window--delete): Call frame-auto-hide-function instead of
9793 investigating frame-auto-delete.
c96111ea
MR
9794 (window-point-1, set-window-point-1): New functions.
9795 (window-in-direction, record-window-buffer, window-state-get-1)
9796 (display-buffer-record-window): Use window-point-1 instead of
9797 window-point.
9798 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9799
9854542e
SM
98002011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9801
9802 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9803
8943cfb0
GM
98042011-10-05 Glenn Morris <rgm@gnu.org>
9805
9806 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9807 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9808
647ab967
LL
98092011-10-05 Leo Liu <sdl.web@gmail.com>
9810
9811 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9812 works with buffer object.
9813
3ddfbced
SM
98142011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9815
9816 * mpc.el (mpc-tool-bar-map): Add labels.
9817
bdfa5dd2
GM
98182011-10-04 Glenn Morris <rgm@gnu.org>
9819
9820 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9821
0e2070b5
MR
98222011-10-04 Martin Rudalics <rudalics@gmx.at>
9823
9824 * window.el (window--delete): New function.
9825 (frame-auto-delete): Resuscitate option.
9826 (bury-buffer, replace-buffer-in-windows)
9827 (quit-window): Rewrite using window--delete.
9828 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9829 Pass display-buffer-mark-dedicated to window--display-buffer-2
9830 (Bug#9639).
9831
3dc61a09
SM
98322011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9833
915a9b64
SM
9834 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9835 returns a list (bug#9554). Add remote file name completion.
9836 * comint.el (comint--table-subvert): Curry and get quote&unquote
9837 functions as arguments.
9838 (comint--complete-file-name-data): Adjust call accordingly.
9839 * pcomplete.el (pcomplete--table-subvert): Remove.
9840 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9841
3dc61a09
SM
9842 * minibuffer.el (completion-table-case-fold): Use currying.
9843 (completion--styles-type, completion--cycling-threshold-type):
9844 New constants.
9845 (completion-styles, completion-category-overrides)
9846 (completion-cycle-threshold): Use them.
9847 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9848 completion-table-case-fold.
9849
8ea0a993
SB
98502011-10-03 Stephen Berman <stephen.berman@gmx.net>
9851
9852 * minibuffer.el (completion-category-overrides): Fix type of styles
9853 and add more user friendly tags (bug#9660).
9854
8c24b7f6
SM
98552011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9856
9857 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9858 (mule-input-method-string): New widget.
9859 (default-input-method, language-info-custom-alist): Use it.
9860
428fe61a
SM
98612011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9862
32c1fffd
SM
9863 * pcomplete.el: Require comint.
9864 (pcomplete--common-suffix): Remove.
9865 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9866 (pcomplete--table-subvert): Sync with comint--table-subvert.
9867 (pcomplete--entries): Use comint-completion-file-name-table.
9868 * comint.el (comint-unquote-filename): Simplify.
9869 (comint-completion-file-name-table): New function (bug#9616).
9870 (comint--complete-file-name-data): Use it.
9871
428fe61a
SM
9872 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9873 (pcmpl-gnu-tar-buffer): Remove.
9874 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9875 around. Make sure pcomplete-suffix-list is only changed temporarily.
9876 Don't look inside the tar's file if it's too large.
428fe61a 9877
04c52e2f
CY
98782011-10-01 Chong Yidong <cyd@stupidchicken.com>
9879
ce3cefcc
CY
9880 * cus-edit.el (custom-mode-map):
9881 * epa.el (epa-key-list-mode-map):
9882 * man.el (Man-mode-map):
9883 * startup.el (splash-screen-keymap):
9884 * simple.el (special-mode-map): Use scroll-up-command and
9885 scroll-down-command.
9886
9887 * progmodes/idlw-help.el (idlwave-help-mode-map):
9888 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9889 * net/newst-plainview.el (newsticker-mode-map):
9890 * emulation/ws-mode.el (wordstar-mode-map):
9891 * emulation/vi.el (vi-com-map):
9892 * calc/calc-graph.el (calc-graph-show-dumb):
9893 * term/sun.el (terminal-init-sun):
9894 * term/ns-win.el (global-map):
9895 * progmodes/grep.el (grep-mode-map):
9896 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9897 * mail/rmail.el (rmail-mode-map):
9898 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9899
04c52e2f
CY
9900 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9901 custom-safe-themes as special.
9902
79adf8c8
JD
99032011-10-01 Julien Danjou <julien@danjou.info>
9904
9905 * notifications.el (notifications-notify): Fix docstring.
9906
63bd50d3
PS
99072011-10-01 Per Starbäck <per@starback.se>
9908
9909 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9910
199e4c7e
MR
99112011-09-30 Martin Rudalics <rudalics@gmx.at>
9912
9913 * startup.el (command-line-1): Fix last fix by inserting
9914 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9915 (Bug#9605) and (Bug#9636)
199e4c7e 9916
fe5f08dd
EZ
99172011-09-29 Eli Zaretskii <eliz@gnu.org>
9918
9919 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9920 window is hscrolled, move by logical lines. (Bug#9607)
9921 (line-move-visual): Update the doc string to the above effect.
9922
b5516bbd
MR
99232011-09-29 Martin Rudalics <rudalics@gmx.at>
9924
ccee00c0
MR
9925 * window.el (display-buffer-record-window): When WINDOW is the
9926 selected window use `point' instead of `window-point'. (Bug#9626)
9927
b5516bbd
MR
9928 * startup.el (command-line-1): Use insert-before-markers when
9929 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9930
b5516bbd
MR
9931 * help.el (help-window): Remove variable.
9932
52aa0014
GM
99332011-09-29 Glenn Morris <rgm@gnu.org>
9934
9935 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9936
df9a7357
JB
99372011-09-29 Juanma Barranquero <lekktu@gmail.com>
9938
9939 * descr-text.el (describe-char-categories): Accept category
9940 descriptions more than one line long.
9941
a8406c20
SM
99422011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9943
88d9610c
SM
9944 * simple.el (delete-trailing-whitespace): Fix last change.
9945
a5daf810
SM
9946 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9947 Don't confuse "y => 3" as the beginning of a `y' operation.
9948
a8406c20
SM
9949 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9950 object has more than 4 slots (bug#9613).
9951
a239d4e9
JB
99522011-09-28 Juanma Barranquero <lekktu@gmail.com>
9953
9954 * subr.el (with-output-to-temp-buffer):
9955 * net/quickurl.el (quickurl, quickurl-browse-url):
9956 Fix typos in docstrings.
9957
693fbdb6
EZ
99582011-09-27 Eli Zaretskii <eliz@gnu.org>
9959
9960 * minibuffer.el (completion-styles)
9961 (completion-category-overrides): Cross reference each other in doc
9962 strings.
9963
8b457e28
GM
99642011-09-27 Glenn Morris <rgm@gnu.org>
9965
9966 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9967 to split-string. (Bug#9606)
9968
85a16208
LMI
99692011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9970
9971 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9972 (bug#9615).
9973
502f9ebd
CY
99742011-09-27 Chong Yidong <cyd@stupidchicken.com>
9975
9976 * emacs-lisp/package.el (list-packages): Fix echo area message.
9977
7690bdea
LL
99782011-09-27 Leo Liu <sdl.web@gmail.com>
9979
9980 * ido.el (ido-read-internal): Accept cons cell HIST arg.
9981
e2ee6f30
MA
99822011-09-25 Michael Albinus <michael.albinus@gmx.de>
9983
9984 * net/dbus.el (dbus-unregister-object): Don't release services for
9985 registered signals. (Bug#9581)
9986
f3f98342
TZ
99872011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
9988
9989 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
9990 function that picks between cfengine 2 and 3 support
9991 automatically. Update docs accordingly.
9992
dd7aa8dd
KH
99932011-09-22 Kenichi Handa <handa@m17n.org>
9994
9995 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
9996 ZERO.
9997 (indian-itrans-v5-table-for-tamil): New variable.
9998 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
9999
3f2b07f8
KM
100002011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10001
10002 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10003 that's true if the current command involved collapsing of text.
10004 It's reset to false at the beginning of the next command.
10005 (allout-post-command-business): Move the cursor to the beginning
10006 of entry if the cursor is hidden and collapsing activity just
10007 happened.
10008
371d6a61
CY
100092011-09-24 Chong Yidong <cyd@stupidchicken.com>
10010
10011 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10012 tracking (Bug#9541).
10013
2ac2721a
UJ
100142011-09-24 Ulf Jasper <ulf.jasper@web.de>
10015
10016 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10017 (newsticker-show-news): Automatically load html rendering package
10018 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10019 because w3m-fill-column is let-bound" and the error "Symbol's value
10020 as variable is void: w3m-fill-column".
2ac2721a 10021
fac7ae53
MA
100222011-09-24 Michael Albinus <michael.albinus@gmx.de>
10023
10024 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10025 Release services only if they are defined. (Bug#9581)
10026
e08b633b
RS
100272011-09-23 Richard Stallman <rms@gnu.org>
10028
e488d29c
RS
10029 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10030 distinguish start of paragraph from start of its text.
10031
19c38752
RS
10032 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10033
e08b633b
RS
10034 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10035 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10036 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10037
0a39f27e
AS
100382011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10039
10040 * international/mule-diag.el (mule-diag): Insert a newline after
10041 each fontset description.
10042
db4e950d
SM
100432011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10044
10045 * simple.el (delete-trailing-whitespace):
10046 Document last change; simplify.
10047
eca3f3ea
PW
100482011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10049
d68e189a
PW
10050 * simple.el (delete-trailing-whitespace): Also delete
10051 extra newlines at the end of the buffer.
10052
eca3f3ea
PW
10053 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10054 (picture-newline): Use forward-line so as to ignore fields.
10055
01c157cc
SM
100562011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10057
10058 * subr.el (with-wrapper-hook): Fix edebug spec.
10059
022de23e
LMI
100602011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10061
10062 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10063 (bug#4538).
10064
91683089
MA
100652011-09-23 Michael Albinus <michael.albinus@gmx.de>
10066
eca3f3ea
PW
10067 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10068 Fix nasty bug using wrong cached values.
91683089 10069
5bdd6fa4
AM
100702011-09-23 Alan Mackenzie <acm@muc.de>
10071
10072 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10073
97adfb97
CY
100742011-09-23 Chong Yidong <cyd@stupidchicken.com>
10075
10076 * window.el (pop-to-buffer): Ensure right window is selected if we
10077 chose another frame.
10078
d4ef2b50
EZ
100792011-09-22 Eli Zaretskii <eliz@gnu.org>
10080
10081 * simple.el (what-cursor-position): Use get-char-property-change
10082 and next-single-char-property-change, to be able to show display
10083 properties that come from overlays as well as text properties.
10084
72258fe5
CY
100852011-09-22 Chong Yidong <cyd@stupidchicken.com>
10086
10087 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10088
10089 * cmuscheme.el (run-scheme, switch-to-scheme):
10090 * cus-edit.el (customize-group, custom-buffer-create)
10091 (customize-browse):
10092 * info.el (info):
10093 * shell.el (shell):
10094 * mail/sendmail.el (mail):
10095 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10096
8f098516
RS
100972011-09-22 Richard Stallman <rms@gnu.org>
10098
10099 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10100 move back only to line beg, don't move back over blank lines.
10101
e74f1bb6
MA
101022011-09-22 Michael Albinus <michael.albinus@gmx.de>
10103
10104 * files.el (copy-directory): Set directory attributes only in case
10105 they could be retrieved from the source directory. (Bug#9565)
10106
bfeef8b6
DK
101072011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10108
10109 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10110 (hs-find-block-beginning, hs-hide-level-recursive):
10111 Ignore strings as well as comments. (Bug#9502)
10112
7e423bb8
AS
101132011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10114
10115 * progmodes/sql.el (sql-comint-postgres):
10116 Convert port number to a string. (Bug#9566)
10117
b4d72fcf
MR
101182011-09-22 Martin Rudalics <rudalics@gmx.at>
10119
10120 * window.el (quit-window): Undedicate window when switching to
10121 previous buffer. Reported by Thierry Volpiatto
10122 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10123 (special-display-popup-frame): When popping up a new frame reset
10124 its previous buffers to nil. Simplify code.
b4d72fcf 10125
a7b88dc6
MA
101262011-09-21 Michael Albinus <michael.albinus@gmx.de>
10127
10128 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10129 and process filter, as done also in `shell-command'.
10130
cf4eacfd
MR
101312011-09-21 Martin Rudalics <rudalics@gmx.at>
10132
eca3f3ea 10133 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10134 Call set-window-start with NOFORCE argument t.
10135 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10136 (quit-window): Reword doc-string. Handle new format of
10137 quit-restore parameter. Don't delete window if it has a
10138 previous buffer we can show instead of the present one.
10139 (display-buffer-record-window): Rewrite using a new format for
10140 the quit-restore window parameter
10141 (special-display-popup-frame, display-buffer-same-window)
10142 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10143 (display-buffer-pop-up-window, display-buffer-use-some-window):
10144 Adapt symbol passed to display-buffer-record-window.
10145 * help.el (help-window-setup): Handle new format of quit-restore
10146 parameter.
10147
8d28cb95
SM
101482011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10149
94ab793f
SM
10150 * faces.el (face-list): Fix docstring (bug#9564).
10151
8d28cb95
SM
10152 * window.el (display-buffer--action-function-custom-type):
10153 Don't include internal functions in the Custom interface.
10154
3820edeb
JL
101552011-09-20 Juri Linkov <juri@jurta.org>
10156
10157 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10158 (Info-forward-node, Info-backward-node, Info-next-preorder)
10159 (Info-last-preorder): Use it. (Bug#9528)
10160
5147931d
JL
101612011-09-20 Juri Linkov <juri@jurta.org>
10162
10163 * info.el (Info-last-preorder): Visit last menu item only when
10164 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10165
cf499a1a
JD
101662011-09-20 Julien Danjou <julien@danjou.info>
10167
10168 * password-cache.el (password-cache-remove): Remove entries even if the
10169 value is nil, so that password with a nil value (negative caching) is
10170 possible to invalidate.
10171
f84e2fe2
LM
101722011-09-20 Lawrence Mitchell <wence@gmx.li>
10173
10174 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10175 all whitespace around breakpoint. (Bug#9553)
10176 (f90-find-breakpoint): Only break at whitespace inside a comment.
10177
78054a46
SM
101782011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10179
10180 * minibuffer.el (completion-file-name-table): Keep track of errors.
10181 (completion-table-with-predicate): Handle the case where pred1 is nil.
10182 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10183
345083b2
SM
101842011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10185
e24e27be
SM
10186 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10187 (debugger-return-value): Signal an error if the debugging context does
10188 not await any return value.
10189
345083b2
SM
10190 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10191 * image-mode.el (image-toggle-display-text)
10192 (image-toggle-display-image): Stay away from evil `intangible'.
10193
08d355e3
LL
101942011-09-19 Leo Liu <sdl.web@gmail.com>
10195
10196 * replace.el (occur-revert-arguments): Make it permanent-local.
10197 (occur-mode): Don't call font-lock-defontify.
10198
f01da43f
CY
101992011-09-19 Chong Yidong <cyd@stupidchicken.com>
10200
10201 * net/ldap.el (ldap-search-internal): Don't push empty search
10202 result (Bug#9508).
10203
b6072fa6
SM
102042011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10205
10206 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10207
443d6696
MA
102082011-09-19 Michael Albinus <michael.albinus@gmx.de>
10209
10210 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10211 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10212
7cc6e154
JL
102132011-09-18 Juri Linkov <juri@jurta.org>
10214
10215 * buff-menu.el (Buffer-menu-mode-map):
10216 * dired.el (dired-mode-map):
10217 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10218 (lisp-interaction-mode-map):
10219 * emacs-lisp/package.el (package-menu-mode-map):
10220 * epa.el (epa-key-list-mode-map):
10221 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10222 (menu-bar-options-menu):
10223 * outline.el (outline-mode-menu-bar-map):
10224 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10225 * vc/vc-dir.el (vc-dir-menu-map):
10226 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10227 Capitalize non-function content words in menu item strings.
10228
10229 * dired.el (dired-mode-map): Add menu item for
10230 `image-dired-dired-toggle-marked-thumbs'.
10231
80302a81
JL
102322011-09-18 Juri Linkov <juri@jurta.org>
10233
10234 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10235 to `isearch-case-fold-search' and restore its original value
10236 after the `isearch-mode' call.
10237
46c5cf66
JL
102382011-09-18 Juri Linkov <juri@jurta.org>
10239
10240 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10241 because `zgrep' returns 1 for successful matches (bug#9226).
10242
d18b513b
JL
102432011-09-18 Juri Linkov <juri@jurta.org>
10244
10245 * info.el (Info-extract-menu-node-name): Check the second match
10246 for empty string (second test-case of bug#9528).
10247 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10248 intermediate nodes to the history (first test-case of bug#9528).
10249
72753f87
JL
102502011-09-18 Juri Linkov <juri@jurta.org>
10251
10252 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10253 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10254
c9384295
JL
102552011-09-18 Juri Linkov <juri@jurta.org>
10256
1154d12e
JB
10257 * info.el (Info-file-supports-index-cookies):
10258 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10259 outputs one more line for long file names (bug#4142).
c9384295 10260
d473dce8
CY
102612011-09-18 Chong Yidong <cyd@stupidchicken.com>
10262
10263 * newcomment.el (comment-normalize-vars): If prompting for
10264 comment-start, set comment-start-skip too (Bug#8424).
10265
2176854d
JB
102662011-09-18 Johan Bockgård <bojohan@gnu.org>
10267
10268 * icomplete.el: Fix previous fix of Bug#5849.
10269 (icomplete-mode): Don't set completion-show-inline-help.
10270 (icomplete-minibuffer-setup): Set completion-show-inline-help
10271 locally during icompletion.
10272
3aace4e4
CY
102732011-09-18 Chong Yidong <cyd@stupidchicken.com>
10274
c940224f
CY
10275 * woman.el (woman2-process-escapes): Don't delete unrecognized
10276 escapes (Bug#7843).
10277
3aace4e4
CY
10278 * files.el (inhibit-first-line-modes-regexps): Add image files.
10279 (hack-local-variables-prop-line): Return nil for malformed
10280 prop-lines (Bug#9044).
10281
710dec63
MA
102822011-09-18 Michael Albinus <michael.albinus@gmx.de>
10283
10284 * net/tramp.el (top): Don't require 'shell.
10285 (tramp-methods): Fix docstring.
10286 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10287 Return complete remote file name. Handle "smb" case.
10288 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10289 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10290
10291 * net/tramp-compat.el (top): Require 'shell.
10292
10293 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10294 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10295 `tramp-current-host'.
10296 (tramp-get-remote-tmpdir): Remove.
10297
10298 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10299 `tramp-tmpdir' entries.
10300 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10301 (tramp-smb-handle-file-attributes): Ignore errors.
10302 (tramp-smb-wait-for-output): Check also for process end.
10303
5d5ac8ec
LMI
103042011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10305
10306 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10307 when sending QUIT (bug#9312).
10308
8c0f49f0
CY
103092011-09-17 Chong Yidong <cyd@stupidchicken.com>
10310
10311 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10312 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10313 occur-mode-display-occurrence.
10314 (occur-edit-mode): Add usage message.
10315 (occur-cease-edit): New command.
10316 (occur-after-change-function): Use text properties to find the
10317 position of the prefix text.
10318 (occur-engine): Set stickiness of prefix text properties.
10319
8f1383f7
GM
103202011-09-17 Glenn Morris <rgm@gnu.org>
10321
10322 * progmodes/etags.el (complete-tag):
10323 Fix call to completion-in-region. (Bug#9526)
10324
744ba0e3
JL
103252011-09-17 Juri Linkov <juri@jurta.org>
10326
10327 * textmodes/ispell.el (ispell-word): Add to the error message
10328 the word, ispell program name and current dictionary (bug#9121).
10329 (ispell-tex-arg-end): Capitalize "error" in the error message.
10330
d9bbf400
AS
103312011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10332
10333 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10334 check. (Bug#4251)
10335
8da11505
JL
103362011-09-17 Juri Linkov <juri@jurta.org>
10337
10338 * window.el (window-safe-min-height, window-safe-min-width):
10339 Fix typos (followup to bug#9522).
10340
a91adc7e
SJ
103412011-09-17 Sven Joachim <svenjoac@gmx.de>
10342
10343 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10344
064f328a
EZ
103452011-09-16 Eli Zaretskii <eliz@gnu.org>
10346
10347 * simple.el (line-move): If goal-column is set, move by logical
10348 lines, not by display lines. (Bug#971)
10349 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10350 to reflect the above change.
10351
e69df516
SM
103522011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10353
10354 * image.el (imagemagick-register-types): Use regexp-opt.
10355
cbb0f9ab
CY
103562011-09-15 Chong Yidong <cyd@stupidchicken.com>
10357
10358 * window.el (display-buffer-base-action): Rename from
10359 display-buffer-default-action. Make default value empty.
10360 (display-buffer-overriding-action): Convert to defvar.
10361 (display-buffer-fallback-action): New var.
10362
25322144
CY
103632011-09-15 Chong Yidong <cyd@stupidchicken.com>
10364
10365 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10366 declaration.
10367 (package--add-to-archive-contents): If there is a duplicate entry
10368 with an older version, remove it.
10369 (package-menu-mark-delete, package-menu-mark-install)
10370 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10371 (package-menu-mark-obsolete-for-deletion):
10372 Use package-menu-get-status instead of a regexp search.
25322144
CY
10373 (package-menu-get-status): Use tabulated-list-entry.
10374 (package-menu-mark-upgrades): New command.
d770725a 10375 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10376 (package-menu-execute): Do installation before deletion.
10377 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10378 instead of checking major-mode.
10379 (package-menu--find-upgrades): New function.
10380
7520339c
LMI
103812011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10382
10383 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10384 passwords in the log buffer.
65a046c4
LMI
10385 (smtpmail-process-filter): Update the process marker so that the
10386 "broken by peer" status message is inserted in the right place.
7520339c 10387
d3c30954
SM
103882011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10389
3fe48822
SM
10390 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10391 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10392 bibtex-completion-at-point-function.
10393 (bibtex-completion-at-point-function): Use them.
10394
1b8b3954
SM
10395 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10396
d3c30954
SM
10397 * mpc.el (mpc-constraints-tag-lookup): New function.
10398 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10399 also to browser "album|playlist".
10400
72779976
JL
104012011-09-14 Juri Linkov <juri@jurta.org>
10402
10403 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10404 (isearch-edit-string): Use length of `isearch-string' when
10405 `isearch-fail-pos' returns nil.
10406 (isearch-message): Remove duplicate code and call
10407 `isearch-fail-pos' with arg `t'.
10408
a0bf2bcd
CY
104092011-09-14 Chong Yidong <cyd@stupidchicken.com>
10410
17bb0a2d
CY
10411 * replace.el (occur-mode-goto-occurrence): Don't force using other
10412 window (Bug#9499).
10413
a0bf2bcd
CY
10414 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10415
f678e0b6
MR
104162011-09-14 Martin Rudalics <rudalics@gmx.at>
10417
10418 * window.el (display-buffer-window): Remove.
10419 (display-buffer-record-window): Use help-setup window parameter
10420 instead of variable display-buffer-window.
10421 (display-buffer-function, special-display-buffer-names)
10422 (special-display-function): Mention help-setup parameter instead
10423 of display-buffer-window in doc-string.
d3c30954
SM
10424 * help.el (help-window-setup): New argument help-window.
10425 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10426 Reword some messages.
10427 (with-help-window): Pass window used for displaying the buffer
10428 to help-window-setup. Don't set display-buffer-window.
10429
8e39b2e8
GM
104302011-09-13 Glenn Morris <rgm@gnu.org>
10431
10432 * emacs-lisp/debug.el (debugger-make-xrefs):
10433 Preserve point. (Bug#9462)
10434
85e9c04b
CY
104352011-09-13 Chong Yidong <cyd@stupidchicken.com>
10436
10437 * window.el (window-deletable-p): Use next-frame.
10438
1b36ed6a
MR
104392011-09-13 Martin Rudalics <rudalics@gmx.at>
10440
10441 * window.el (window-auto-delete): Remove.
10442 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10443 dedication and previous buffers.
1b36ed6a
MR
10444 (switch-to-prev-buffer): Don't delete window.
10445 (delete-windows-on): Delete a window's frame if and only if the
10446 window is dedicated.
10447 (replace-buffer-in-windows): Delete buffer's window or frame if
10448 and only if window is dedicated.
10449 (quit-window): Handle quit-restore as before last change.
4d61f28d 10450 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10451
ef8ef9fb
CY
104522011-09-13 Chong Yidong <cyd@stupidchicken.com>
10453
10454 * window.el (window-deletable-p): Never delete the last frame on a
10455 given terminal.
10456
b2cba41e
GM
104572011-09-13 Glenn Morris <rgm@gnu.org>
10458
10459 * help.el (describe-key-briefly): Copy previous standard-output change.
10460
51553db6 104612011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10462
10463 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10464
b7556719
GM
104652011-09-13 Glenn Morris <rgm@gnu.org>
10466
10467 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10468 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10469
64b51947
CY
104702011-09-12 Chong Yidong <cyd@stupidchicken.com>
10471
10472 * dired-aux.el (dired-mark-read-string): Don't return default
10473 value on empty input (Bug#9361).
10474 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10475 Omit initial minibuffer contents.
10476 (dired-do-chmod): Signal an error on empty input.
10477 (dired-mark-read-string): Don't return default on empty input.
10478
10479 * files.el (file-modes-symbolic-to-number): Doc fix.
10480
393a301e
SM
104812011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10482
10483 * international/mule-cmds.el (ucs-completions): Remove.
10484 (read-char-by-name): Use complete-with-action instead; add metadata.
10485
fa5660f9
CY
104862011-09-11 Chong Yidong <cyd@stupidchicken.com>
10487
10488 * window.el (display-buffer--action-function-custom-type)
10489 (display-buffer--action-custom-type): New vars.
10490 (display-buffer-alist, display-buffer-default-action)
10491 (display-buffer-overriding-action): Add defcustom types.
10492
4a592f66
CY
10493 * frame.el (delete-other-frames): Doc fix (Bug#276).
10494
73d56dbd
LMI
104952011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10496
10497 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10498
37ac18a3
CY
104992011-09-11 Chong Yidong <cyd@stupidchicken.com>
10500
10501 Change modes that used same-window-* vars to use switch-to-buffer.
10502
10503 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10504 Use switch-to-buffer.
10505
10506 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10507 (customize-browse, custom-buffer-create-other-window):
10508 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10509
10510 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10511 (Info-prev, Info-up, Info-speedbar-goto-node)
10512 (info-display-manual): Use switch-to-buffer.
10513 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10514
10515 * mail/sendmail.el (mail): Use switch-to-buffer.
10516 (mail-recover): Use switch-to-buffer-other-window.
10517
10518 * cmuscheme.el (run-scheme, switch-to-scheme):
10519 * ielm.el (ielm):
10520 * shell.el (shell):
10521 * net/rlogin.el (rlogin):
10522 * net/telnet.el (telnet, rsh):
10523 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10524
10195bd6
AS
105252011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10526
10527 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10528
b322f63a
LMI
105292011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10530
39d7fed6
LMI
10531 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10532 so don't mention it (bug#9301).
ba5a81f1 10533 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10534
ee0e9f11
LMI
10535 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10536 match `x', `w32' and `ns', like the manual says (bug#9029).
10537
0b1c89c1 10538 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10539 (process-kill-buffer-query-function): Mention the buffer name in
10540 the query.
0b1c89c1 10541
77549ea8
LMI
10542 * image-mode.el (image-next-line): The line parameter is mandatory
10543 (bug#9258).
10544
803ef892
LMI
10545 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10546 which can be useful (bug#9301).
10547
12980837
LMI
10548 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10549
91054f8f
LMI
10550 * subr.el (match-string): Mention that the current buffer should
10551 be the same as the search was done in (bug#9282).
10552
b322f63a
LMI
10553 * facemenu.el: Disable the remove-* commands if the mark isn't
10554 active (bug#9162).
10555
3199b96f
CY
105562011-09-10 Chong Yidong <cyd@stupidchicken.com>
10557
10558 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10559 of display-buffer.
10560 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10561
10562 * replace.el (occur-mode-goto-occurrence)
10563 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10564 and display-buffer.
10565
10566 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10567 display-buffer.
10568
10569 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10570 special-display and same-window variables.
10571 (mail-other-window): Use switch-to-buffer-other-window.
10572 (mail-other-frame): USe switch-to-buffer-other-frame.
10573
393a301e
SM
10574 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10575 Use display-buffer-other-frame.
3199b96f
CY
10576 (gdb-display-gdb-buffer): Use pop-to-buffer.
10577
10578 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10579
10580 * progmodes/python.el: Don't set same-window-buffer-names.
10581
10582 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10583
10584 * window.el (display-buffer-alist): Add *Python*.
10585
8319e0bf
CY
105862011-09-10 Chong Yidong <cyd@stupidchicken.com>
10587
10588 * window.el (display-buffer-alist): Add entry for buffers
10589 previously handled same-window-*.
10590 (display-buffer-alist, display-buffer-default-action)
10591 (display-buffer-overriding-action): Mark as risky.
10592 (display-buffer-alist): Document action function changes.
10593 (display-buffer--same-window-action)
10594 (display-buffer--other-frame-action): New variables.
10595 (switch-to-buffer, display-buffer-other-frame): Use them.
10596 (display-buffer): Rename reuse-frame entry to reusable-frames.
10597 (display-buffer-reuse-selected-window): Function deleted.
10598 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10599 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10600 (display-buffer-special): New function.
10601 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10602 display-buffer-reuse-or-pop-window. Split off special-display
10603 part into display-buffer-special.
10604 (display-buffer-use-some-window): Don't perform any special
10605 pop-up-frames handling.
10606 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10607 (display-buffer--maybe-same-window): Rename from
0d3ff375 10608 display-buffer-maybe-same-window.
8319e0bf 10609
919a69aa
CY
10610 * info.el: Don't set same-window-regexps.
10611 (info-setup): New function.
10612 (info-other-window, info): Call it.
10613
10614 * cus-edit.el: Don't set same-window-regexps.
10615 (customize-group): New argument.
10616 (customize-group-other-window): Use it.
10617 (customize-face, customize-face-other-window): Likewise.
10618 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10619
8319e0bf
CY
10620 * net/rlogin.el:
10621 * net/telnet.el:
10622 * progmodes/gud.el: Don't set same-window-regexps.
10623
10624 * cmuscheme.el:
10625 * ielm.el:
10626 * shell.el:
10627 * mail/sendmail.el:
10628 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10629
25173000
JL
106302011-09-10 Juri Linkov <juri@jurta.org>
10631
10632 * isearch.el (isearch-edit-string): Remove obsolete mention of
10633 `C-w' (`isearch-yank-word-or-char') from docstring.
10634 (isearch-query-replace): Fix typo in docstring (bug#9466).
10635
056e44ef
JL
106362011-09-10 Juri Linkov <juri@jurta.org>
10637
10638 * paren.el (show-paren-function): Don't show escaped parens.
10639 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10640
c3760c17
EZ
106412011-09-10 Eli Zaretskii <eliz@gnu.org>
10642
10643 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10644 (mm-default-file-encoding): Remove autoload forms, they are
10645 replaced with autoload cookies in mml.el and mm-encode.el.
10646 (mail-add-attachment): New command.
10647 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10648 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10649 the doc string.
10650 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10651
fece895e
RT
106522011-09-10 Reuben Thomas <rrt@sc3d.org>
10653
e69df516
SM
10654 * simple.el (count-words-region): Use buffer if there's no region
10655 (bug#9429).
fece895e 10656
5e68ce4a
JL
106572011-09-09 Juri Linkov <juri@jurta.org>
10658
10659 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10660 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10661 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10662
0a6b9622
AM
106632011-09-09 Alan Mackenzie <acm@muc.de>
10664
10665 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10666 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10667
14a29deb
EZ
106682011-09-09 Eli Zaretskii <eliz@gnu.org>
10669
10670 Fix for Savannah bug#9392.
10671 * simple.el (mail-encode-mml): New defvar.
10672
10673 * mail/rmail.el (mail-encode-mml): Add a defvar.
10674 (rmail-enable-mime-composing): Default to t.
10675 (rmail-forward): Use MIME method of forwarding only if both
10676 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10677 Set mail-encode-mml non-nil if the MIME method was used.
10678
10679 * mail/sendmail.el (mml-to-mime): Add autoload form.
10680 (mail-encode-mml): Add a defvar.
10681 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10682 to nil.
10683 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10684 message through mml-to-mime, and reset mail-encode-mml to nil.
10685
28c45130
GM
106862011-09-09 Glenn Morris <rgm@gnu.org>
10687
10688 * woman.el (woman-if-body): When processing an .el block,
10689 do not delete the next .el block as well. (Bug#9447)
69f4b618 10690 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10691
9b1c252e
MR
106922011-09-08 Martin Rudalics <rudalics@gmx.at>
10693
10694 * window.el (window-deletable-p): Make sure window is live before
10695 invoking window-prev-buffers.
10696
567457e3
LL
106972011-09-08 Leo Liu <sdl.web@gmail.com>
10698
10699 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10700
97f05794
JL
107012011-09-08 Juri Linkov <juri@jurta.org>
10702
10703 * progmodes/compile.el (compilation-environment): Make it
10704 a defcustom (bug#8340).
10705
8b0874b5
MR
107062011-09-08 Martin Rudalics <rudalics@gmx.at>
10707
10708 * window.el (frame-auto-delete): Rename to window-auto-delete.
10709 Make it control auto-deletion of windows and/or frames.
10710 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10711 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10712 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10713 Rewrite handling of case when window/frame can be deleted.
10714 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10715 argument t. (Bug#9456)
8b0874b5 10716
4feb6e73
CY
107172011-09-07 Chong Yidong <cyd@stupidchicken.com>
10718
10719 * help-mode.el (help-mode): Restore autoload.
10720
91ab9c13
JL
107212011-09-07 Juri Linkov <juri@jurta.org>
10722
10723 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10724 `compilation-environment'. Set buffer-local
10725 `compilation-environment' to `thisenv' later after (funcall mode).
10726 (Bug#8340)
10727
10728 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10729 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10730 instead of replacing its value. (Bug#8340)
10731
0527e251
JL
107322011-09-07 Juri Linkov <juri@jurta.org>
10733
10734 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10735 based on text properties put by `grep-filter' instead of matching
10736 escape sequences.
10737 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10738 to the value of `grep-error-screen-columns' (bug#9438).
10739
249f792c
JL
107402011-09-07 Juri Linkov <juri@jurta.org>
10741
10742 * simple.el (next-error-highlight, next-error-highlight-no-select):
10743 Doc fix (bug#9432).
10744
ff7271b9
OT
107452011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10746
10747 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10748 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10749
183fc730
LL
107502011-09-07 Leo Liu <sdl.web@gmail.com>
10751
10752 * net/rcirc.el (rcirc-mode): Conditionally initialize
10753 rcirc-input-ring.
10754
77694924
SM
107552011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10756
10757 * emacs-lisp/find-func.el (find-function-C-source): Only set
10758 find-function-C-source-directory after checking that we found a source
10759 file there (bug#9440).
10760
d809b8eb
AM
107612011-09-06 Alan Mackenzie <acm@muc.de>
10762
10763 * isearch.el (isearch-other-meta-char): Wherever a key list is
10764 unread, "unread" the prefix arg, too. This fixes bug #8901.
10765
453de99f
OG
107662011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10767
10768 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10769
90439906
JL
107702011-09-05 Juri Linkov <juri@jurta.org>
10771
10772 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10773
f62bd846
JL
107742011-09-05 Juri Linkov <juri@jurta.org>
10775
10776 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10777 keeping point where processing of grep matches begins, and
10778 continue to delete remaining escape sequences from the same point.
10779 (grep-filter): Make leading zero optional in "0?1;31m" because
10780 git-grep emits "\033[1;31m" escape sequences unlike expected
10781 "\033[01;31m" as GNU Grep does (bug#9408).
10782 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10783
045820ec
JL
107842011-09-05 Juri Linkov <juri@jurta.org>
10785
10786 * subr.el (y-or-n-p): Capitalize "yes".
10787
f5e29b9b
MA
107882011-09-04 Michael Albinus <michael.albinus@gmx.de>
10789
10790 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10791 `tramp-cache-unload-hook' where appropriate.
10792 (tramp-methods): Rename `tramp-remote-sh' to
10793 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10794 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10795
10796 * net/tramp-sh.el (top): Don't require 'shell.
10797 (tramp-methods): Add `tramp-remote-shell' and
10798 `tramp-remote-shell-args' entries.
10799 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10800 (tramp-sh-handle-shell-command): Remove.
10801 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10802 Use `tramp-remote-shell'.
10803
2784c434
CY
108042011-09-03 Chong Yidong <cyd@stupidchicken.com>
10805
393a301e 10806 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10807 (sendmail-query-once): Save directly to send-mail-function.
10808 Update message-send-mail-function too.
10809
10810 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10811
464cdf56
CS
108122011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10813
10814 * progmodes/python.el (python-mode-map): Use correct function to
10815 start python interpreter from menu-bar (as reported by Geert
10816 Kloosterman).
10817 (inferior-python-mode-map): Fix typo.
393a301e 10818 (python-shell-map): Remove.
464cdf56 10819
d37e5c87
DD
108202011-09-03 Deniz Dogan <deniz@dogan.se>
10821
10822 * net/rcirc.el (rcirc-print): Simplify code for
10823 rcirc-scroll-show-maximum-output. There is no need to walk
10824 through all windows to find the right one.
10825
f3ada0ee
CS
108262011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10827
10828 * help.el (help-return-method): Doc fix.
10829
1f3c99ca
MR
108302011-09-03 Martin Rudalics <rudalics@gmx.at>
10831
10832 * window.el (window-deletable-p): Don't return a non-nil value
10833 when there's a buffer that was shown in the window before.
10834 (Bug#9419)
393a301e
SM
10835 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10836 Set window's previous buffers to nil.
1f3c99ca 10837
a3cf097f
EZ
108382011-09-03 Eli Zaretskii <eliz@gnu.org>
10839
10840 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10841 newline before and after the tag line, so it doesn't interfere
10842 with determining the paragraph direction of bidirectional text.
10843
3d03de90
LL
108442011-09-03 Leo Liu <sdl.web@gmail.com>
10845
10846 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10847
c3313451
CY
108482011-09-02 Chong Yidong <cyd@stupidchicken.com>
10849
393a301e 10850 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10851 (pop-to-buffer): Change interactive spec. Pass second argument
10852 directly to display-buffer.
10853 (display-buffer): Fix interactive spec. Use functionp to
10854 distinguish between a function and a list of functions.
10855
10856 * abbrev.el (edit-abbrevs):
10857 * arc-mode.el (archive-extract):
10858 * autoinsert.el (auto-insert):
10859 * bookmark.el (bookmark-bmenu-list):
10860 * files.el (find-file):
10861 * view.el (view-buffer):
10862 * progmodes/compile.el (compilation-goto-locus):
10863 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10864
89894cd8
CY
108652011-09-02 Chong Yidong <cyd@stupidchicken.com>
10866
10867 * window.el (display-buffer-alist): Doc fix.
10868 (display-buffer): Add docstring. Don't treat
10869 display-buffer-default specially.
10870 (display-buffer-reuse-selected-window)
10871 (display-buffer-same-window, display-buffer-maybe-same-window)
10872 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10873 (display-buffer-pop-up-window)
10874 (display-buffer-reuse-or-pop-window)
10875 (display-buffer-use-some-window): New functions.
10876 (display-buffer-default-action): Use them.
393a301e 10877 (display-buffer-default): Delete.
89894cd8
CY
10878 (pop-to-buffer-1): Fix choice of actions.
10879
ae0bc9fb
SM
108802011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10881
10882 * minibuffer.el (completion--insert-strings): Don't get confused by
10883 completion entries that end with an LF char.
10884
e9d90883
EZ
108852011-09-01 Eli Zaretskii <eliz@gnu.org>
10886
10887 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10888
437014c8
CY
108892011-09-01 Chong Yidong <cyd@stupidchicken.com>
10890
10891 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10892 (display-buffer-same-window, display-buffer-other-window):
10893 New functions.
437014c8
CY
10894 (pop-to-buffer-1): New function. Use the above.
10895 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10896 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10897
10898 * view.el (view-buffer-other-window, view-buffer-other-frame):
10899 Just use pop-to-buffer.
10900
a5e063d5
TV
109012011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10902
10903 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10904
793d32bb
WH
109052011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10906
10907 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10908
d65e4c15
RS
109092011-08-31 Richard Stallman <rms@gnu.org>
10910
10911 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10912 of the separation of rmail-view-buffer from rmail-buffer.
10913 If you say no to "replace original", the decrypt is in the
10914 view buffer. If you say yes, the decrypt goes into the
10915 rmail buffer also.
10916
f818cd2a
MR
109172011-08-31 Martin Rudalics <rudalics@gmx.at>
10918
10919 * window.el (display-buffer-window): Rewrite doc-string.
10920 (display-buffer-record-window): New function.
10921 (display-buffer-macro-specifiers)
10922 (display-buffer-even-window-sizes, display-buffer-set-height)
10923 (display-buffer-set-width, display-buffer-in-window)
10924 (display-buffer-reuse-window, display-buffer-split-specifiers)
10925 (display-buffer-side-specifiers, display-buffer-split-window-1)
10926 (display-buffer-split-window, display-buffer-split-atom-window)
10927 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10928 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10929 (display-buffer-other-window-means-other-frame)
10930 (display-buffer-normalize-special)
10931 (display-buffer-normalize-default)
10932 (display-buffer-normalize-argument)
10933 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10934 (display-buffer-normalize-specifiers, display-buffer-frame)
10935 (display-buffer-same-window, display-buffer-same-frame)
10936 (display-buffer-other-window)
10937 (display-buffer-same-frame-other-window)
10938 (display-buffer-other-frame, pop-to-buffer-same-window)
10939 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10940 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10941 (switch-to-buffer-same-frame)
10942 (switch-to-buffer-other-window-same-frame)
10943 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10944 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10945 (display-buffer-alist-set): Remove.
10946 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10947 (special-display-regexps, special-display-function):
10948 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10949 parameter.
10950 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10951 (special-display-frame-alist, special-display-popup-frame)
10952 (same-window-buffer-names, same-window-regexps, same-window-p)
10953 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10954 (split-window-preferred-function, split-height-threshold)
10955 (split-width-threshold, window-splittable-p)
10956 (split-window-sensibly, window--try-to-split-window)
10957 (window--frame-usable-p, even-window-heights)
10958 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10959 (window--display-buffer-2, display-buffer-other-frame):
10960 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10961 (display-buffer-default, display-buffer-assq-regexp): New functions.
10962 (display-buffer-alist): Rewrite doc-string.
10963 (display-buffer-default-action)
10964 (display-buffer-overriding-action): New variables.
10965 (display-buffer, switch-to-buffer): Rewrite.
10966 (pop-to-buffer): Restore Emacs 23 behavior but use
10967 window-normalize-buffer-to-display.
10968 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10969 Restore Emacs 23 behavior but use
10970 window-normalize-buffer-to-switch-to.
10971 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10972 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
10973 Rewrite using Emacs 23 options.
f818cd2a 10974
5bc3b51d
MA
109752011-08-31 Michael Albinus <michael.albinus@gmx.de>
10976
10977 * net/tramp.el (tramp-root-regexp): Remove.
10978 (tramp-completion-file-name-regexp-unified)
10979 (tramp-completion-file-name-regexp-separate)
10980 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 10981 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
10982 (tramp-drop-volume-letter): Simplify definition.
10983 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 10984
b1a4f8e1
SM
109852011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
10986
10987 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
10988 (bug#9356).
10989
5664fa7b
RT
109902011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
10991
b1a4f8e1 10992 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 10993
9a45d6c3
JL
109942011-08-29 Juri Linkov <juri@jurta.org>
10995
10996 * isearch.el (isearch-done): Don't display message "Mark saved"
10997 when arg `edit' is non-nil to prevent its flicker in the echo area.
10998
fb87e0fb
CY
109992011-08-28 Chong Yidong <cyd@stupidchicken.com>
11000
11001 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11002 obsolete packages for deletion.
11003
09ac1c2a
CS
110042011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11005
11006 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11007 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11008 view-mode from help-mode.
11009 (help-xref-override-view-map): Remove.
11010 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11011 view-mode is not used anymore.
11012
7a1ff57f
CY
110132011-08-28 Chong Yidong <cyd@stupidchicken.com>
11014
11015 * server.el (server-port): Doc fix.
11016
b9696605
CY
11017 * cus-theme.el (custom-theme-choose-mode): Inherit from
11018 special-mode (Bug#9124).
11019 (custom-theme-choose-mode-map): Add special-mode to parent.
11020
ef8cdf8c
AM
110212011-08-28 Alan Mackenzie <acm@muc.de>
11022
11023 * progmodes/cc-fonts.el
11024 (c-make-font-lock-BO-decl-search-function): New function.
11025 (c-basic-matchers-after - "Fontify the clauses after various
11026 keywords"): Extract the three keyword lists for the 3 erroneous
11027 constructs from the list of four, and use the new function above
11028 in place of an old one.
11029
27de4e20
DD
110302011-08-28 Deniz Dogan <deniz@dogan.se>
11031
11032 * net/rcirc.el (rcirc-insert-prev-input)
11033 (rcirc-insert-next-input): Remove unused argument.
11034
356a3681
SM
110352011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11036
11037 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11038
3fc9b218
AM
110392011-08-27 Alan Mackenzie <acm@muc.de>
11040
11041 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11042 handle function pointer parameters properly.
11043
538a061c
MR
110442011-08-27 Martin Rudalics <rudalics@gmx.at>
11045
11046 * window.el (display-buffer-reuse-window): Fix case where
11047 selected window was reused with non-nil OTHER-WINDOW argument.
11048 (Bug#9381)
11049
35b1c40c
DD
110502011-08-27 Deniz Dogan <deniz@dogan.se>
11051
11052 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11053 oftc's NickServ messages.
11054
2f6a3e79
GM
110552011-08-27 Glenn Morris <rgm@gnu.org>
11056
11057 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11058
7254299e
CY
110592011-08-26 Chong Yidong <cyd@stupidchicken.com>
11060
11061 * emacs-lisp/package.el (package-install): Call package-initialize
11062 if called interactively.
11063
f8ccf167
LL
110642011-08-26 Leo Liu <sdl.web@gmail.com>
11065
11066 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11067
3e8cd5ce
JL
110682011-08-25 Juri Linkov <juri@jurta.org>
11069
11070 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11071 `search-whitespace-regexp' (bug#9364).
11072
93eb7113
JL
110732011-08-25 Juri Linkov <juri@jurta.org>
11074
11075 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11076 `regexp-search-ring' to their global values to protect from
11077 updating by `read-from-minibuffer' (bug#9185).
11078
f65d1611
JL
110792011-08-25 Juri Linkov <juri@jurta.org>
11080
11081 * textmodes/ispell.el (ispell-command-loop): Add newline
11082 at the end of the "Use option `i'..." line.
11083
f1cf7a31
JL
110842011-08-25 Juri Linkov <juri@jurta.org>
11085
11086 * battery.el (display-battery-mode): If `battery-status-function'
11087 or `battery-mode-line-format' is nil, display the message and set
11088 `display-battery-mode' to nil (bug#9363).
11089
0c95fcf7
EZ
110902011-08-25 Eli Zaretskii <eliz@gnu.org>
11091
11092 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11093 bidi-string-mark-left-to-right; they are unnecessary now.
11094
a2ebe600
DD
110952011-08-25 Deniz Dogan <deniz@dogan.se>
11096
11097 * net/quickurl.el: Documentation typo fixes.
11098
e4ed06f1
CY
110992011-08-25 Chong Yidong <cyd@stupidchicken.com>
11100
11101 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11102
e5f1c99e
GM
111032011-08-25 Glenn Morris <rgm@gnu.org>
11104
b2948976
GM
11105 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11106
e5f1c99e
GM
11107 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11108 (smtpmail-via-smtp): Handle nil response from smtp.
11109
f22f4808
JL
111102011-08-24 Juri Linkov <juri@jurta.org>
11111
11112 * proced.el (proced-marked): Inherit from `error' instead of
11113 `font-lock-warning-face'.
11114
11115 * ibuffer.el (ibuffer-marked-face): Change default face from
11116 `font-lock-warning-face' to `warning'.
11117 (ibuffer-deletion-face): Change default face from
11118 `font-lock-type-face' to `error'.
11119
11120 * battery.el (battery-update): Use the face `error' instead of
11121 `font-lock-warning-face' (bug#6117).
11122
6a93965e
JL
111232011-08-24 Juri Linkov <juri@jurta.org>
11124
11125 * faces.el (success): Change face color from "Green3" to
11126 "ForestGreen" on light background (bug#9353).
11127
1ed43b09
CY
111282011-08-24 Chong Yidong <cyd@stupidchicken.com>
11129
5664fa7b
RT
11130 * window.el (quit-window): Rename from quit-restore-window.
11131 Use same arglist as old quit-window.
1ed43b09
CY
11132 (frame-auto-delete): Doc fix.
11133
11134 * view.el (view-mode-exit): Use quit-window.
11135
11dcdbb2
JL
111362011-08-24 Juri Linkov <juri@jurta.org>
11137
11138 * isearch.el (isearch-ring-adjust1): Start visiting previous
11139 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11140 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11141 for empty search string (when the last search string is reused
11142 automatically) to adjust the isearch ring to the last element and
11143 prepare the correct index for further M-p commands (bug#9185).
11144
de62b4df
KH
111452011-08-24 Kenichi Handa <handa@m17n.org>
11146
11147 * international/ucs-normalize.el: If decomposition property of
11148 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11149 nil.
11150 (nfd, nfkd): Likewise.
11151
963b492b
SM
111522011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11153
11154 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11155 from process filters aren't reliably transmitted to the surrounding
11156 accept-process-output.
11157 (mpc-proc-check): New function.
11158 (mpc-proc-sync): Use it (bug#8293)
11159
93b6b5e1
SM
111602011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11161
11162 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11163 Add compatibility functions (bug#9313).
11164
bca633fb
EZ
111652011-08-23 Eli Zaretskii <eliz@gnu.org>
11166
b177498a
EZ
11167 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11168
6df6ae42 11169 * international/uni-bidi.el: Regenerate.
bca633fb 11170
0902a04e
KH
111712011-08-23 Kenichi Handa <handa@m17n.org>
11172
11173 * international/charprop.el:
11174 * international/uni-bidi.el:
11175 * international/uni-category.el:
11176 * international/uni-combining.el:
11177 * international/uni-comment.el:
11178 * international/uni-decimal.el:
11179 * international/uni-decomposition.el:
11180 * international/uni-digit.el:
11181 * international/uni-lowercase.el:
11182 * international/uni-mirrored.el:
11183 * international/uni-name.el:
11184 * international/uni-numeric.el:
11185 * international/uni-old-name.el:
11186 * international/uni-titlecase.el:
11187 * international/uni-uppercase.el: Regenerate.
11188
3bbf23bc
MR
111892011-08-23 Martin Rudalics <rudalics@gmx.at>
11190
11191 * help.el (help-window-setup): Fix message displayed when other
11192 window is reused. (Bug#9341)
11193
b3fd59bd
SM
111942011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11195
1802e444
SM
11196 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11197 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11198
b3fd59bd
SM
11199 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11200 Mark obsolete.
11201 * shell.el (shell-parse-pcomplete-arguments): New function.
11202 (shell-completion-vars): Use it instead (bug#9160).
11203
4eb61348
SM
112042011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11205
867cab74
SM
11206 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11207 strings and comments (bug#9333).
11208
4eb61348
SM
11209 * emacs-lisp/debug.el (debug-arglist): New function.
11210 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11211 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11212
262a1439
JL
112132011-08-22 Juri Linkov <juri@jurta.org>
11214
56ee679c
JL
11215 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11216 Revert regexp that highlights output switches to its old
11217 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11218
262a1439
JL
11219 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11220 to check for empty output (bug#9226).
11221
f13f86fb
CY
112222011-08-22 Chong Yidong <cyd@stupidchicken.com>
11223
11224 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11225 symbol-constituent as the default, as that stops font-lock from
11226 working properly (Bug#8843).
11227
c65c9622
LMI
112282011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11229
11230 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11231 `coding-system-for-*' around the process open call to avoid
11232 auth-source side effects.
e7f2c178 11233 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11234 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11235 probe hangs.
c65c9622 11236
23a8a5ab
CY
112372011-08-21 Chong Yidong <cyd@stupidchicken.com>
11238
ff98b2dd
CY
11239 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11240
23a8a5ab
CY
11241 * emacs-lisp/find-func.el (find-function-noselect): New arg
11242 lisp-only.
11243
11244 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11245 signal an error for built-in functions (Bug#6664).
11246
f5e3c598
LMI
112472011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11248
11249 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11250 (smtpmail-try-auth-methods): Use it.
11251
a3f2468a
CY
112522011-08-21 Chong Yidong <cyd@stupidchicken.com>
11253
2c34e8da
CY
11254 * font-lock.el (font-lock-fontify-region)
11255 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11256 (font-lock-default-unfontify-buffer)
11257 (font-lock-default-fontify-region)
11258 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11259
b3fd59bd
SM
11260 * progmodes/compile.el (compilation-error-properties):
11261 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11262 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11263 `ant' regexp.
ee31aabc 11264
a3f2468a
CY
11265 * net/browse-url.el (browse-url-firefox): Don't call
11266 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11267
8e999f70
GM
112682011-08-20 Glenn Morris <rgm@gnu.org>
11269
c21a496a
GM
11270 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11271
59ee0542
GM
11272 * tutorial.el (tutorial--default-keys): Update some default bindings.
11273
8e999f70
GM
11274 * files.el (hack-local-variables): Fully ignore case for "mode:".
11275
e3715033
AM
112762011-08-20 Alan Mackenzie <acm@muc.de>
11277
11278 Resolve invalid use of a regexp in regexp-opt.
11279
4d61f28d
JB
11280 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11281 detection for a java annotation.
e3715033 11282
4d61f28d 11283 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11284 detection for a java annotation.
11285
4d61f28d
JB
11286 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11287 handling for java.
e3715033
AM
11288 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11289
04ed2e9c
CY
112902011-08-20 Chong Yidong <cyd@stupidchicken.com>
11291
11292 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11293 (Bug#9274).
11294
826cee64
AM
112952011-08-20 Alan Mackenzie <acm@muc.de>
11296
58179cce 11297 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11298 such a construct. Mainly for when jit-lock etc. starts a chunk
11299 here.
11300
58179cce 11301 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11302 variable.
58179cce 11303 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11304 c-make-font-lock-search-function.
11305 (c-make-font-lock-search-function): Use the above function.
11306 (c-make-font-lock-context-search-function): New function.
11307 (c-cpp-matchers): Enhance the preprocessor expression case with
11308 the above function
11309 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11310 which takes an expression.
11311
11312 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11313
13009bd8
MR
113142011-08-20 Martin Rudalics <rudalics@gmx.at>
11315
11316 * window.el (display-buffer-reuse-window)
11317 (display-buffer-pop-up-window): Don't reuse or split a side
11318 window.
11319
9234ff7f
GM
113202011-08-19 Glenn Morris <rgm@gnu.org>
11321
11322 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11323 Downcase "Mode:". (Bug#9331)
9234ff7f 11324
f635daa1
CY
113252011-08-18 Chong Yidong <cyd@stupidchicken.com>
11326
11327 * international/characters.el: Add L and R categories.
11328
11329 * subr.el (bidi-string-mark-left-to-right): Rename from
11330 string-mark-left-to-right. Use category search.
11331
11332 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11333
bc987f8b
JL
113342011-08-18 Juri Linkov <juri@jurta.org>
11335
11336 * faces.el (error, warning, success): New faces with definitions
11337 copied from old default values of `font-lock-warning-face',
11338 `compilation-warning', `compilation-info' (bug#6117).
11339
11340 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11341
11342 * progmodes/compile.el (compilation-error): Inherit from `error'.
11343 (compilation-warning): Inherit from `warning'.
11344 (compilation-info): Inherit from `success'.
11345
11346 * dired.el (dired-marked): Inherit from `warning'.
11347 (dired-flagged): Inherit from `error'.
11348
57173b96
LMI
113492011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11350
3e79eb87
LMI
11351 * mail/smtpmail.el (auth-source): Require to avoid problems with
11352 binding variables (bug#9298). Also clean up some unused
11353 autoloads.
11354
b3fd59bd
SM
11355 * net/network-stream.el (network-stream-open-starttls):
11356 Support using starttls.el without using gnutls-cli.
57173b96 11357
02b404de
JL
113582011-08-17 Juri Linkov <juri@jurta.org>
11359
11360 * progmodes/grep.el (rgrep): Handle the case when
11361 `grep-find-command' is a cons cell (bug#9278).
11362
8c9177f2
MR
113632011-08-17 Martin Rudalics <rudalics@gmx.at>
11364
11365 * window.el (display-buffer-pop-up-frame): Run frame creation
11366 function with BUFFER current (as special-display-popup-frame
11367 does). Reported by Drew Adams.
11368
3644a0ab
DU
113692011-08-17 Daiki Ueno <ueno@unixuser.org>
11370
11371 * epa-mail.el: Simplify GnuPG group expansion using
11372 epg-expand-group.
11373 (epa-mail-group-alist, epa-mail-group-modtime)
11374 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11375 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11376 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11377 Remove.
11378
5e617bc2 113792011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11380
11381 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11382
9c4aeabf
AM
113832011-08-16 Alan Mackenzie <acm@muc.de>
11384
11385 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11386 Correct, to avoid the inside of macros.
11387
3a99bf64
RS
113882011-08-16 Richard Stallman <rms@gnu.org>
11389
04963aa8
RS
11390 * epa-mail.el: Handle GnuPG group definitions.
11391 (epa-mail-group-alist, epa-mail-group-modtime)
11392 (epa-mail-gnupg-conf-file): New variables.
11393 (epa-mail-parse-groups, epa-mail-sync-groups)
11394 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11395 (epa-mail-expand-recipients): New functions.
11396 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11397
177549d0
RS
11398 * mail/rmail.el (rmail-epa-decrypt): New command.
11399
fe38beef
RS
11400 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11401 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11402 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11403 (epa-decrypt-armor-in-region): Make error message clearer.
11404
934eacb9
SM
114052011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11406
11407 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11408 and "a2b" to "ab" for `prefix'.
11409
d024fb4e
CY
114102011-08-14 Chong Yidong <cyd@stupidchicken.com>
11411
11412 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11413 filter groups.
de148fee
CY
11414 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11415 Fourquet (Bug#8804).
d024fb4e 11416
62f1ca49
JB
114172011-08-12 Juanma Barranquero <lekktu@gmail.com>
11418
11419 * startup.el (argi): Declare as global variable (bug#9275).
11420
9ccaaa4b
CY
114212011-08-12 Chong Yidong <cyd@stupidchicken.com>
11422
11423 * subr.el (string-mark-left-to-right): Search the entire string
11424 for RTL script, not just the terminating character. Doc fix.
11425
a3dae87a
SM
114262011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11427
6cd18349
SM
11428 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11429 New function.
11430 (js--regexp-literal, js-syntax-propertize-function): Remove.
11431 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11432 (js-mode-map): Don't rebind electric keys.
11433 (js-insert-and-indent): Remove.
11434 (js-mode): Setup electric-layout and electric-indent instead.
11435
a3dae87a
SM
11436 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11437
9d5cb631
DU
114382011-08-12 Daiki Ueno <ueno@unixuser.org>
11439
11440 * epa.el (epa-progress-callback-function): Fix the logic of
11441 displaying progress.
11442 * epa-file.el (epa-file-insert-file-contents): Make progress
11443 display more user-friendly.
11444 (epa-file-write-region): Ditto.
11445
3e26a4a2
CY
114462011-08-10 Chong Yidong <cyd@stupidchicken.com>
11447
11448 * subr.el (string-mark-left-to-right): New function.
11449
11450 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11451 Use string-mark-left-to-right.
11452 (list-buffers-noselect): Caller changed.
11453
a3dae87a
SM
11454 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11455 Use string-mark-left-to-right.
3e26a4a2
CY
11456 (tabulated-list-print): Recenter after moving point.
11457
ac8cf6e6
JL
114582011-08-10 Juri Linkov <juri@jurta.org>
11459
11460 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11461 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11462 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11463
8d96c9a4
CY
114642011-08-09 Chong Yidong <cyd@stupidchicken.com>
11465
11466 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11467 (Bug#7554).
11468
7be1c708 114692011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11470
11471 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11472 character. (Bug#6594)
11473
37e11a63
CY
114742011-08-08 Chong Yidong <cyd@stupidchicken.com>
11475
839dde57
CY
11476 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11477 (image-dired--with-db-file): New macro.
11478 (image-dired-write-tags, image-dired-remove-tag)
11479 (image-dired-create-gallery-lists, image-dired-write-comments)
11480 (image-dired-get-comment, image-dired-mark-tagged-files)
11481 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11482 (image-dired-gallery-generate): Use insert-file-contents.
11483
37e11a63
CY
11484 * time.el (display-time-world-list, display-time-world-display):
11485 * time-stamp.el (time-stamp-string):
11486 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11487 set-time-zone-rule (Bug#7337).
11488
0b4946c4
DU
114892011-08-08 Daiki Ueno <ueno@unixuser.org>
11490
11491 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11492 (epg-error-to-string, epg-errors-to-string): New function.
11493 (epg-wait-for-completion): Reverse errors list.
11494 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11495 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11496 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11497 (epg-sign-keys, epg-generate-key-from-file)
11498 (epg-generate-key-from-string): Format errors by using
11499 epg-errors-to-string (bug#9255).
11500 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11501
75bfc667
JL
115022011-08-07 Juri Linkov <juri@jurta.org>
11503
11504 * faces.el (list-faces-display): Remove extra angle bracket
11505 from `help-mode-map'.
11506
11507 * info.el (Info-history-toc-nodes): Doc fix.
11508
11509 * longlines.el (longlines-mode): Doc fix.
11510
673e08bb
SM
115112011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11512
4640dd88
SM
11513 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11514 of statements and in a few more cases (bug#9183).
11515
673e08bb
SM
11516 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11517 New functions.
11518 (cl-transform-lambda): Use them (bug#9239).
11519
89b3f019
MR
115202011-08-05 Martin Rudalics <rudalics@gmx.at>
11521
11522 * window.el (display-buffer-same-window)
11523 (display-buffer-same-frame, display-buffer-other-window)
11524 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11525 (pop-to-buffer-other-window)
11526 (pop-to-buffer-same-frame-other-window)
11527 (pop-to-buffer-other-frame): Make them defuns.
11528 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11529
640c8776
SM
115302011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11531
11532 * subr.el (make-composed-keymap): Move from C. Change calling
11533 convention, and improve docstring to bring attention to a subtle point.
11534 * minibuffer.el (completing-read-default): Adjust accordingly.
11535
63648a95
MA
115362011-08-03 Michael Albinus <michael.albinus@gmx.de>
11537
11538 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11539 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11540
11541 * net/trampver.el: Update release number.
11542
b796c9b7
SM
115432011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11544
11545 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11546 "in" (bug#9190).
11547
2239d7d5
LMI
115482011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11549
e07dd7c3
LMI
11550 * mail/sendmail.el (sendmail-query-once): Restore the current
11551 buffer after querying (bug#9074).
11552
0e6a2bd7
LMI
11553 * dired.el (dired-flagged): Use different faces for marked and
11554 flagged files (bug#6117).
11555
ce887515
LMI
11556 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11557 (bug#4433).
11558
92f2affc
LMI
11559 * ido.el (ido-mode): Switch off the message if called
11560 non-interactively.
11561
57d5aff0
LMI
11562 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11563 before 587, since it appears that that's more likely to work for
11564 more people.
11565
98cd6c18 11566 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11567 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11568 exist.
11569
b96dec83
LMI
11570 * info.el: Remove the `Info-beginning-of-buffer' function
11571 (bug#8325).
11572
b796c9b7
SM
11573 * net/network-stream.el (network-stream-open-starttls):
11574 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11575
d90e2ea0
MR
115762011-08-01 Martin Rudalics <rudalics@gmx.at>
11577
11578 * window.el (display-buffer-in-window): Don't set dedicated status
11579 of window here (Bug#9215).
11580 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11581 (display-buffer-pop-up-side-window)
b796c9b7 11582 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11583
cca09170
SM
115842011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11585
11586 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11587 before binding generated-autoload-file.
11588
027b979c
DD
115892011-08-01 Deniz Dogan <deniz@dogan.se>
11590
11591 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11592
3c7ee4f3
MA
115932011-07-30 Michael Albinus <michael.albinus@gmx.de>
11594
11595 Sync with Tramp 2.2.2.
11596
11597 * net/trampver.el: Update release number.
11598
2cc8e51a
JL
115992011-07-30 Juri Linkov <juri@jurta.org>
11600
11601 * dired-aux.el (dired-touch-initial): Remove function.
11602 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11603 current time, and `default' to the last modification time of the
11604 current marked file (bug#6887).
11605
a514d856
JM
116062011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11607
11608 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11609 numeric argument to read-number (bug#9163).
a514d856 11610
8a7eddd7
MA
116112011-07-27 Michael Albinus <michael.albinus@gmx.de>
11612
11613 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11614 connection process, it could be nil.
11615
1ddd96f5
LL
116162011-07-27 Leo Liu <sdl.web@gmail.com>
11617
11618 Simplify url handling in rcirc-mode.
11619
11620 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11621 (rcirc-browse-url-at-mouse): Remove.
11622 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11623
b248a85d
AM
116242011-07-26 Alan Mackenzie <acm@muc.de>
11625
11626 Fontify bitfield declarations properly.
11627
11628 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11629 (c-symbol-chars): Now exported as a lang variable.
11630 (c-not-primitive-type-keywords): New lang variable.
11631
11632 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11633 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11634 parsed as a bitfield declaration.
b248a85d 11635
b796c9b7
SM
11636 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11637 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11638 (c-punctuation-in): New function.
11639 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11640 declarations properly.
11641
68575ab0
UJ
116422011-07-26 Ulf Jasper <ulf.jasper@web.de>
11643
11644 * calendar/icalendar.el (icalendar--all-events): Take care of
11645 multiple vcalendars in a single file.
b796c9b7 11646 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11647
0f0a88b9
DD
116482011-07-25 Deniz Dogan <deniz@dogan.se>
11649
11650 * image.el (insert-image): Clarifying docstring.
11651
0b3f36df
MA
116522011-07-24 Michael Albinus <michael.albinus@gmx.de>
11653
11654 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11655 `tramp-send-command-and-check' if there is no error.
11656 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11657
a9901f61
AM
116582011-07-22 Alan Mackenzie <acm@muc.de>
11659
11660 Prevent cc-langs.elc being loaded at run time.
11661
11662 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11663 cc-langs.
11664
4d61f28d 11665 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11666 "(require 'cc-langs)". Quote a form so it will evaluate at
11667 (cc-mode's) compilation time.
11668
11d074b2
MA
116692011-07-22 Michael Albinus <michael.albinus@gmx.de>
11670
11671 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11672 loading. (Bug#9114)
11673
938b94c8
MR
116742011-07-21 Martin Rudalics <rudalics@gmx.at>
11675
11676 * window.el (display-buffer-pop-up-window)
11677 (display-buffer-pop-up-side-window)
11678 (display-buffer-in-side-window): Call display-buffer-set-height
11679 and display-buffer-set-width after setting the new window's
b796c9b7 11680 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11681
bfa4f190
SS
116822011-07-20 Sam Steingold <sds@gnu.org>
11683
11684 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11685 (etags-tags-included-tables): Call `convert-standard-filename' on
11686 the file names contained in TAGS so that windows Emacs can handle
11687 TAGS files created by cygwin ctags.
11688
8ca42262
LMI
116892011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11690
11691 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11692 which apparently didn't work.
11693
5db2afd2 116942011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11695
5db2afd2
RW
11696 * proced.el (proced-send-signal): For *Marked Processes* buffer
11697 put point at beginning of buffer.
11698
92e15d10
SB
116992011-07-19 Stephen Berman <stephen.berman@gmx.net>
11700
11701 * proced.el (proced-format): Make header lines align with the text
11702 (bug#1779).
11703
1bfd59e5
LMI
117042011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11705
11706 * view.el (view-buffer): Allow running in `special' modes if we're
11707 visiting a file (bug#8615).
11708
f5aae37c
MR
117092011-07-19 Martin Rudalics <rudalics@gmx.at>
11710
11711 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11712 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11713 New functions.
f5aae37c
MR
11714 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11715 more accurately.
11716
bf2c1571
AM
117172011-07-18 Alan Mackenzie <acm@muc.de>
11718
11719 Fontify declarators properly when, e.g., a jit-lock chunk begins
11720 inside a declaration.
11721
11722 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11723
b796c9b7
SM
11724 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11725 New function.
bf2c1571
AM
11726 (c-complex-decl-matchers): Insert reference to
11727 c-font-lock-enclosing-decls.
11728
11729 * progmodes/cc-engine.el (c-backward-single-comment):
11730 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11731 to nil around calls to (forward-comment -1).
11732
4e190b80
LMI
117332011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11734
12dc863d
LMI
11735 * image.el (put-image): Doc typo fix.
11736
a762e966
LMI
11737 * progmodes/etags.el (tags-search): Doc typo fix.
11738
4e190b80
LMI
11739 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11740 password if we get errors 550 to 554.
11741
f019fb21
LMI
117422011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11743
b796c9b7 11744 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11745
81746738
LMI
11746 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11747 indentation character (bug#6380).
11748
3ee3a1b5
LMI
11749 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11750
c82f64de
LMI
11751 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11752 to clarify what the problem is (bug#4291).
11753
f019fb21
LMI
11754 * simple.el (current-kill): Clarify what
11755 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11756 (auto-fill-mode): Document `auto-fill-function' in relation to
11757 `auto-fill-mode' (bug#2470).
f019fb21 11758
0794775d
LM
117592011-07-16 Lawrence Mitchell <wence@gmx.li>
11760
11761 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11762 method if slot is read-only (bug#9035).
11763
be39b8cc
MR
117642011-07-16 Martin Rudalics <rudalics@gmx.at>
11765
b796c9b7 11766 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11767 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11768 selected before, see discussion of (Bug#8615), (Bug#6954).
11769 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11770
6ccf7859
GM
117712011-07-15 Glenn Morris <rgm@gnu.org>
11772
11773 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11774 Respect help-form.
6ccf7859 11775
87e86684
LM
117762011-07-09 Lawrence Mitchell <wence@gmx.li>
11777
11778 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11779 (gnutls-negotiate): Use it.
11780
d6066239
LMI
117812011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11782
b796c9b7
SM
11783 * net/gnutls.el (gnutls-negotiate):
11784 Upcase `gnutls-algorithm-priority'.
d6066239 11785
bd23ebc0
GM
117862011-07-15 Glenn Morris <rgm@gnu.org>
11787
c65bca65
GM
11788 * jka-compr.el (jka-compr-verbose): Move from here...
11789 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11790 Add missing :version tag.
11791 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11792
478615cc
LMI
117932011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11794
7b41decb
LMI
11795 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11796 (gnutls-negotiate): Use it.
11797
dbc44fcd
LMI
11798 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11799
06789f97
LMI
11800 * info.el (Info-beginning-of-buffer): New command.
11801 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11802 announcing `b' as the key (bug#8325).
ab896c37 11803 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11804
c39da690
LMI
11805 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11806
3aa5f34b
LMI
11807 * international/mule-cmds.el
11808 (describe-specified-language-support): Make the error message
11809 clearer (bug#8905).
11810
4bf0979f
LMI
11811 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11812
478615cc
LMI
11813 * isearch.el (isearch-barrier): Add a doc string, since it's
11814 mentioned in a function doc string (bug#8678).
11815
75c68aa1
MR
118162011-07-15 Martin Rudalics <rudalics@gmx.at>
11817
11818 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11819 buffer argument (Bug#9083) and self-identifying label argument.
11820
a7c33da2
GM
118212011-07-15 Glenn Morris <rgm@gnu.org>
11822
11823 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11824
2f5c6024
LMI
118252011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11826
11827 * man.el (Man-fontify-manpage): Fix message when formatting the
11828 man page (bug#7929).
11829
0bb23927 118302011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11831
11832 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11833 argument LRM; if non-nil, append an invisible LRM character to the
11834 buffer name.
11835 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11836 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11837 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11838 paragraph direction.
cce4b0a7 11839
621ef9ab
LMI
118402011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11841
d1583c48
LMI
11842 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11843 the man page name (bug#7929).
11844
6a57fb5f
LMI
11845 * image.el (put-image): Mention the `put-image' overlay property
11846 (bug#7834).
11847
d7956b14
LMI
11848 * scroll-bar.el (set-scroll-bar-mode): Mention that
11849 `scroll-bar-mode' lists the values (bug#7772).
11850
5b2d4a66
LMI
11851 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11852 command (bug#7729).
11853
7509a874
LMI
11854 * rect.el (apply-on-rectangle): Return the point after the last
11855 operation.
11856 (string-rectangle): Go to the point after the last operation
11857 (bug#7522).
11858
4fe74b19
LMI
11859 * printing.el (pr-toggle-region): Clarify the documentation
11860 slightly (bug#7493).
11861
b796c9b7
SM
11862 * time.el (display-time-update):
11863 Allow `display-time-mail-function' to return nil (bug#7158).
11864 Fix suggested by Detlev Zundel.
ab283561 11865
fc233c9d
LMI
11866 * vc/diff.el (diff): Clarify the order the file names are read
11867 (bug#7111).
11868
43f5740b
LMI
11869 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11870 the doc string (bug#7015).
11871
f2182a76
LMI
11872 * font-lock.el (font-lock-maximum-decoration): Mention what
11873 numeric levels mean (bug#6935).
11874
621ef9ab
LMI
11875 * startup.el (initial-buffer-choice): Don't mention the `none'
11876 selection, which is against policy.
11877
adc47434
MR
118782011-07-14 Martin Rudalics <rudalics@gmx.at>
11879
b796c9b7
SM
11880 * window.el (display-buffer-normalize-special):
11881 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11882
7e5bfb8f
EZ
118832011-07-14 Eli Zaretskii <eliz@gnu.org>
11884
11885 * subr.el (version<, version<=, version=): Mention "-CVS" and
11886 "-12345" alpha version numbers.
11887
27fa387a
CY
118882011-07-14 Chong Yidong <cyd@stupidchicken.com>
11889
11890 * bindings.el: Add advertised binding for set-mark-command
11891 (Bug#5772).
11892
8bdfa064
CY
118932011-07-14 Chong Yidong <cyd@stupidchicken.com>
11894
11895 * bindings.el (mode-line-other-buffer):
11896 * bookmark.el (bookmark-bmenu-2-window):
11897 * bs.el (bs-cycle-next, bs-cycle-previous):
11898 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11899 switch-to-buffer.
11900
11901 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11902 Delete.
8bdfa064 11903
5eba16a3
JB
119042011-07-14 Juanma Barranquero <lekktu@gmail.com>
11905
11906 * follow.el (follow-debug-message, follow-redisplay):
11907 * jka-cmpr-hook.el (with-auto-compression-mode):
11908 Fix typos in docstrings.
11909
15853710
LMI
119102011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11911
a28e4607
LMI
11912 * subr.el (with-silent-modifications): Clarify somewhat what the
11913 macro inhibits (bug#6525).
11914
15853710
LMI
11915 * simple.el (eval-expression): Note what it does if called
11916 interactively (bug#6495).
11917
bee0fcef
CY
119182011-07-13 Chong Yidong <cyd@stupidchicken.com>
11919
b796c9b7
SM
11920 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11921 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11922
11923 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11924 Remove switch-to-buffer.
11925
58274504
LMI
119262011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11927
bd2fcc8d
LMI
11928 * files.el (make-directory): Clarify that an error will be raised
11929 if there's an error (bug#6397).
11930
0f04b32c
LMI
11931 * startup.el (initial-buffer-choice): Add `none' as a choice
11932 (bug#6234).
11933
465c5fc8
LMI
11934 * subr.el (add-hook): Clarify section about buffer-local hooks
11935 (bug#6218).
11936
58274504
LMI
11937 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11938
bead9a43
JB
119392011-07-13 Juanma Barranquero <lekktu@gmail.com>
11940
11941 * tabify.el (untabify): Preserve the current column so that point
11942 doesn't move (bug#6032).
11943
3af98a7b
LMI
119442011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11945
b796c9b7
SM
11946 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11947 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11948
6240145a
GM
119492011-07-13 Glenn Morris <rgm@gnu.org>
11950
11951 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11952 (dired-insert-directory): Give a message the first time
11953 if ls is found not to support --dired.
11954
1d8c2ccc
LMI
119552011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11956
11957 * simple.el (toggle-truncate-lines): Clarify what is toggled
11958 (bug#5580). Text by Drew Adams.
11959
5fc4038e
CY
119602011-07-13 Chong Yidong <cyd@stupidchicken.com>
11961
11962 * simple.el (blink-matching-open): Make the error message from the
11963 last change less verbose.
11964
bf6012e5
DN
119652011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11966
11967 * font-lock.el (font-lock-comment-face): Use the high contrast
11968 "yellow" color for font-lock-comment-face on low color terminals
11969 using a dark background color (bug#4221).
11970
343c3b5a
LMI
119712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11972
7e9505c5
LMI
11973 * dired.el (dired-insert-set-properties): Make the doc string
11974 reflect what it does now (bug#5325).
11975
c26fdcf5
LMI
11976 * simple.el (blink-matching-open): Say that we were unable to find
11977 the match within the limit, if we're limited (bug#5122).
11978
bb388cc5
LMI
11979 * international/mule-cmds.el (prefer-coding-system): Add an
11980 example (bug#4869).
11981
343c3b5a
LMI
11982 * progmodes/etags.el (tags-search): Document `file-list-form'
11983 (bug#4731).
11984
2a517d45
LM
119852011-07-13 Lawrence Mitchell <wence@gmx.li>
11986
11987 * net/browse-url.el (browse-url-default-browser)
11988 (browse-url-browser-function): Make the default browser choice a
11989 bit more logical (bug#4300). Also clean up the doc string.
11990
b6c78ef2
JB
119912011-07-13 Juanma Barranquero <lekktu@gmail.com>
11992
11993 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
11994 binary endings (bug#4440).
11995
1c4dd947
LMI
119962011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11997
a2014063
LMI
11998 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
11999 which can be pretty annoying (bug#8971).
12000
9c9c2d88
LMI
12001 * jka-compr.el (jka-compr-verbose): New variable, and use
12002 throughout (bug#8971).
12003
1c4dd947
LMI
12004 * info.el (Info-find-file): Fall back on the installation
12005 directory if we can't find the info node anywhere else.
12006
a1c9f41b
SO
120072011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12008
12009 * vc/vc.el (vc-revert-file):
12010 Don't set file time-stamp in the past. (Bug#5181)
12011
536f3d36
LMI
120122011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12013
7152b011
LMI
12014 * files.el (after-find-file): Give a better error message when
12015 trying to find a symlink that points to a file that doesn't exist
12016 (bug#4398).
12017
536f3d36
LMI
12018 * progmodes/cc-vars.el: Remove (probably) misleading comment
12019 (bug#4396).
12020
460c0fba
JB
120212011-07-12 Johan Bockgård <bojohan@gnu.org>
12022
12023 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12024
7a6bda45
CY
120252011-07-12 Chong Yidong <cyd@stupidchicken.com>
12026
12027 * mouse-sel.el: Hack restoring functionality, while keeping
12028 compatibility with 2010-07-03 changes to mouse selection.
12029 (mouse-sel-primary-overlay): New var.
12030 (mouse-sel-selection-alist): Use it.
12031 (mouse-sel-mode): Doc fix; remove points that are default features
12032 of mouse.el.
12033
c79598ef
JB
120342011-07-12 Johan Bockgård <bojohan@gnu.org>
12035
12036 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12037 Fix previous fix (bug#2490).
12038
ff8be6ef
RW
120392011-07-12 Roland Winkler <winkler@gnu.org>
12040
b796c9b7
SM
12041 * textmodes/bibtex.el (bibtex-initialize):
12042 Use pop-to-buffer-same-window.
ff8be6ef
RW
12043 (bibtex-search-entries): Fix interactive call.
12044
296ba3ee
LMI
120452011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12046
f5242a02 12047 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12048 Fontise bytecomp Error lines more correctly (bug#2490).
12049 Fix suggested by Johan Bockgård.
f5242a02 12050
296ba3ee
LMI
12051 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12052
12053 * dired-x.el (dired-guess-default): Use `delete-dups'.
12054
f69fd0d2
CY
120552011-07-12 Chong Yidong <cyd@stupidchicken.com>
12056
12057 * dired.el (dired-mark-prompt):
12058 * dired-aux.el (dired-read-shell-command): Doc fix.
12059
eab5dc07
LMI
120602011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12061
b796c9b7
SM
12062 * mail/sendmail.el (sendmail-query-once):
12063 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12064 emacs -Q.
12065
12066 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12067
eab5dc07
LMI
12068 * cus-edit.el (custom-file): Take an optional no-error variable.
12069 (customize-save-variable): Set the variable, and give a warning if
12070 running under "emacs -q".
12071
a1e65d42
JB
120722011-07-11 Juanma Barranquero <lekktu@gmail.com>
12073
12074 * loadhist.el (unload-feature-special-hooks):
12075 Add `auto-coding-functions', `fill-nobreak-predicate' and
12076 `find-directory-functions' (bug#5327).
12077
1d52da10
LMI
120782011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12079
be958f1d
LMI
12080 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12081
5bedb26c
LMI
12082 * cus-edit.el (custom-guess-name-alist): -alist variables should
12083 use the `alist' type (bug#3120). Suggested by Drew Adams.
12084
1d52da10
LMI
12085 * printing.el: Add documentation to all the `pr-toggle-' commands.
12086
cd394be1 120872011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12088
12089 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12090 backends where it makes sense (bug#2623).
12091
dcc88d8a
LMI
120922011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12093
c3de9feb
LMI
12094 * dired-x.el (dired-guess-default): Remove duplicate shell command
12095 entries (bug#2028).
8a93078b 12096 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12097 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12098
dcc88d8a
LMI
12099 * subr.el (remove-duplicates): New conveniency function.
12100
505e3645
LMI
121012011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12102
12103 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12104 (bug#1526).
12105
121062011-07-10 Martin Rudalics <rudalics@gmx.at>
12107
12108 * window.el (display-buffer-normalize-default): Don't invert
12109 meaning of even-window-heights. Reported by Eli Zaretskii
12110 <eliz@gnu.org>.
12111
455e4fa1
BR
121122011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12113
12114 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12115
8e0bc3e9
CY
121162011-07-10 Chong Yidong <cyd@stupidchicken.com>
12117
12118 * window.el (display-buffer): Fix arguments to
12119 display-buffer-reuse-window in last change.
12120
fa7c3228
CY
12121 * faces.el (link): Use a less saturated blue on light backgrounds.
12122
12123 * startup.el (fancy-startup-text, fancy-about-text)
12124 (fancy-startup-tail): Use font-lock faces, for background safety.
12125
c0a7f300
BN
121262011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12127
b796c9b7
SM
12128 * emulation/viper-cmd.el (viper-change-state-to-vi):
12129 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12130
4dc2a129
MR
121312011-07-09 Martin Rudalics <rudalics@gmx.at>
12132
12133 * window.el (display-buffer-default-specifiers): Remove.
12134 (display-buffer-macro-specifiers): Remove default specifiers.
12135 (display-buffer-alist): Default to nil.
b796c9b7 12136 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12137 (display-buffer-pop-up-window): Allow splitting internal
12138 windows. Check whether a live window was created.
12139 (display-buffer-other-window-means-other-frame)
12140 (display-buffer-normalize-arguments): Rename to
12141 display-buffer-normalize-argument and rewrite. Set the
12142 other-window specifier.
12143 (display-buffer-normalize-special): New function.
12144 (display-buffer-normalize-options): Rename to
12145 display-buffer-normalize-default and rewrite.
12146 (display-buffer-normalize-options-inhibit): Remove.
12147 (display-buffer-normalize-specifiers): Rewrite.
12148 (display-buffer): Process other-window specifier and call
12149 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12150 more faithfully.
b796c9b7 12151 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12152 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12153 (display-buffer-in-window, display-buffer-alist-set):
12154 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12155 <tassilo@member.fsf.org>.
12156
2d43b8c9
LL
121572011-07-09 Leo Liu <sdl.web@gmail.com>
12158
12159 * register.el (insert-register): Restore accidental change on
12160 2011-06-26. (Bug#9028)
12161
7f9b7c53
GM
121622011-07-09 Glenn Morris <rgm@gnu.org>
12163
12164 * subr.el (remq): Handle the empty list. (Bug#9024)
12165
f042cfd8
AS
121662011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12167
12168 * mail/sendmail.el (send-mail-function): No longer delay custom
12169 initialization.
12170 * custom.el (custom-initialize-delay): Doc fix.
12171
856b2f11
SM
121722011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12173
12174 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12175
afae1d68
MA
121762011-07-08 Michael Albinus <michael.albinus@gmx.de>
12177
12178 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12179 human-friendly prompt.
12180
0757af94
SM
121812011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12182
12183 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12184 provided by a particular plugin.
12185
d760b731
LMI
121862011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12187
12188 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12189 save customizations (with "emacs -Q"), just set the variable
12190 instead of erroring out.
12191
12192 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12193
cd79ce90
JL
121942011-07-08 Juri Linkov <juri@jurta.org>
12195
12196 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12197 (archive-zip-update-case): Use 7z if found by `executable-find'.
12198 The order of searching the available programs is the same as in
12199 `archive-zip-extract' (bug#8968).
12200
14cc04aa
CY
122012011-07-07 Chong Yidong <cyd@stupidchicken.com>
12202
12203 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12204 (menu-bar-options-menu): Tweak descriptions.
12205
0a1848ec
LMI
122062011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12207
12208 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12209 menu items into verb phrases (bug#1421). Also refill to fit under
12210 80 columns.
12211
f5bd0689
CY
122122011-07-07 Chong Yidong <cyd@stupidchicken.com>
12213
538e85c6
CY
12214 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12215 (Info-read-node-name): Doc fix (Bug#1084).
12216
f5bd0689
CY
12217 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12218 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12219 (end-of-sexp, beginning-of-sexp)
12220 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12221 (forward-symbol, forward-same-syntax, word-at-point)
12222 (sentence-at-point): Doc fix (Bug#1144).
12223
56ec5115
LMI
122242011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12225
f3f8e37f
LMI
12226 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12227 should cover it (bug#1281).
12228
0757af94 12229 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12230
e9fce1ac 12231 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12232 negotiation fails, then possibly try again with a non-encrypted
12233 connection (bug#9017).
12234
56ec5115
LMI
12235 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12236 be used.
12237
c2f9aec8
RS
122382011-07-07 Richard Stallman <rms@gnu.org>
12239
12240 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12241 property, and handle its changed format.
12242 Look for the correct line number.
12243 Use file's line contents (but not past first =) to find
12244 correct line in message.
12245
ef7b981d 122462011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12247
12248 * international/characters.el (build-unicode-category-table):
12249 Delete it.
0757af94 12250 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12251
0757af94 12252 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12253 to src/chartab.c.
12254 (get-char-code-property): Call unicode-property-table-internal to
12255 load a file. Call get-unicode-property-internal where necessary.
12256 (put-char-code-property): Call unicode-property-table-internal to
12257 load a file. Call put-unicode-property-internal where necessary.
12258 put-unicode-property-internal where necessary.
0757af94
SM
12259 (char-code-property-description):
12260 Call unicode-property-table-internal to load a file.
c805dec0
KH
12261
12262 * international/charprop.el:
12263 * international/uni-bidi.el:
12264 * international/uni-category.el:
12265 * international/uni-combining.el:
12266 * international/uni-comment.el:
12267 * international/uni-decimal.el:
12268 * international/uni-decomposition.el:
12269 * international/uni-digit.el:
12270 * international/uni-lowercase.el:
12271 * international/uni-mirrored.el:
12272 * international/uni-name.el:
12273 * international/uni-numeric.el:
12274 * international/uni-old-name.el:
12275 * international/uni-titlecase.el:
12276 * international/uni-uppercase.el: Regenerate.
12277
12278 * loadup.el: Load international/charprop.el before
12279 international/characters.
12280
e14b388a
CY
122812011-07-07 Chong Yidong <cyd@stupidchicken.com>
12282
12283 * window.el (next-buffer, previous-buffer): Signal an error if
12284 called from a minibuffer window.
12285
12286 * bindings.el: Revert 2011-07-04 change.
12287
354cf0ba
RS
122882011-07-06 Richard Stallman <rms@gnu.org>
12289
12290 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12291 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12292 Treat markers like ints.
12293 (rmail-mime-entity): Doc fix.
12294
a48868a7
LMI
122952011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12296
4906cd3d
LMI
12297 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12298 defcustom again for backwards compatibility.
12299
e0457abe
LMI
12300 * simple.el (shell-command-on-region): Fill.
12301
d67f7e1f
LMI
12302 * dired-aux.el (dired-kill-line): Add a doc string.
12303
fe204702
LMI
12304 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12305 to "\\sw\\|\\s_" (bug#358).
12306
a48868a7
LMI
12307 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12308 (dired-unmark-backward): Ditto.
12309 (dired-flag-backup-files): Ditto.
12310
12311 * dired-x.el (dired-mark-sexp): Ditto.
12312
aa8a705c
RS
123132011-07-06 Richard Stallman <rms@gnu.org>
12314
12315 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12316 (rmail-mime-entity): New arg TRUNCATED.
12317 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12318 New functions.
12319 (rmail-mime-save): Warn if entity is truncated.
12320 (rmail-mime-toggle-hidden): Likewise, for showing.
12321 (rmail-mime-process-multipart): Record when an entity is truncated.
12322
a9a936b9
RS
12323 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12324 if ENTITY is a string.
12325
1f2b92cb
LMI
123262011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12327
f4f73198 12328 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12329 of faces when `M-C-x'-ing their definitions (bug#8378).
12330 Also clean up the code slightly.
f4f73198 12331
12b16734 12332 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12333 because that makes the colors go away.
12b16734 12334
f0691d22
LMI
12335 * mail/sendmail.el (send-mail-function): Change the default to
12336 `sendmail-query-once'.
9e87df06 12337 (sendmail-query-once): Add an autoload cookie.
f0691d22 12338
1f2b92cb
LMI
12339 * net/network-stream.el (network-stream-open-starttls): Try using
12340 a plain connection even if the server offered STARTTLS, and we
12341 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12342 capability. This should make smtpmail.el work in slightly more
12343 configurations.
12344
1cdd2a1b
MA
123452011-07-06 Michael Albinus <michael.albinus@gmx.de>
12346
12347 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12348 New defun.
12349 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12350
fbcc67e2
MM
123512011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12352
12353 * progmodes/sql.el: Version 3.0
0757af94 12354 (sql-product-alist): Add product :completion-object,
fbcc67e2 12355 :completion-column, and :statement attributes.
0757af94 12356 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12357 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12358 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12359 ansi keywords.
12360 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12361 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12362 (sql-oracle-show-reserved-words): New function for development.
12363 (sql-product-font-lock): Simplify for source code buffers.
12364 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12365 New functions.
12366 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12367 (sql-mode-map): Add statement movement functions.
12368 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12369 New variable.
fbcc67e2
MM
12370 (sql-statement-regexp, sql-beginning-of-statement)
12371 (sql-end-of-statement, sql-signum): New functions.
0757af94 12372 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12373 (sql-show-sqli-buffer): Bug fix.
12374 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12375 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12376 with sql-interactive-mode.
12377 (sql-save-connection): Save buffer local settings.
0757af94 12378 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12379 (sql-product-interactive): Bug fix.
12380 (sql-preoutput-hold): New variable.
12381 (sql-interactive-remove-continuation-prompt): Bug fixes.
12382 (sql-debug-redirect): New variable.
12383 (sql-str-literal): New function.
12384 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12385 Redesign.
fbcc67e2
MM
12386 (sql-oracle-save-settings, sql-oracle-restore-settings)
12387 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12388 (sql-completion-object, sql-completion-column)
12389 (sql-completion-sqlbuf): New variables.
12390 (sql-build-completions-1, sql-build-completions)
12391 (sql-try-completion): New functions.
12392 (sql-read-table-name): Use them.
12393 (sql-contains-names): New buffer local variable.
12394 (sql-list-all, sql-list-table): Use it.
12395 (sql-oracle-completion-types): New variable.
12396 (sql-oracle-completion-object, sql-sqlite-completion-object)
12397 (sql-postgres-completion-object): New functions.
12398
d4eaeab1
GM
123992011-07-06 Glenn Morris <rgm@gnu.org>
12400
12401 * window.el (pop-to-buffer): Doc fix.
12402
322b7dab 124032011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12404
12405 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12406
322b7dab 124072011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12408
322b7dab 12409 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12410
322b7dab 12411 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12412
605dd5bf
CY
124132011-07-05 Chong Yidong <cyd@stupidchicken.com>
12414
12415 * button.el (button): Inherit from link face. Suggested by Dan
12416 Nicolaescu.
12417
7dbfa719
SM
124182011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12419
3db614b0
SM
12420 * progmodes/gdb-mi.el: Fit in 80 columns.
12421 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12422 switch-to-buffer.
12423
7dbfa719
SM
12424 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12425 if imenu is simply not configured (bug#8941).
12426
919d884a
KM
124272011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12428
12429 * allout.el (allout-post-undo-hook): New allout outline-change
12430 event hook to signal undo activity.
12431 (allout-post-command-business): Run allout-post-undo-hook if an
12432 undo just occurred.
7dbfa719
SM
12433 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12434 * allout-widgets.el (allout-widgets-after-undo-function):
12435 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12436 in the vicinity of an undo.
12437 (allout-widgets-mode): Include allout-widgets-after-undo-function
12438 on the new allout-post-undo-hook.
12439
450a0f09
SM
124402011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12441
12442 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12443 Let define-derived-mode define it.
12444 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12445 cycles of abbrev-table inheritance (bug#8998).
12446
2de69e00
RW
124472011-07-05 Roland Winkler <winkler@gnu.org>
12448
12449 * textmodes/bibtex.el: Add support for biblatex.
12450 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12451 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12452 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12453 (bibtex-entry-alist, bibtex-field-alist): New variables.
12454 (bibtex-entry-field-alist): Obsolete alias for
12455 bibtex-BibTeX-entry-alist.
12456 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12457 (bibtex-set-dialect): New command.
12458 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12459 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12460 Bind via bibtex-set-dialect.
2de69e00
RW
12461 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12462 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12463 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12464 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12465 Define via bibtex-set-dialect.
450a0f09
SM
12466 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12467 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12468 (bibtex-vec-push, bibtex-vec-incr): New functions.
12469 (bibtex-format-entry, bibtex-field-list)
12470 (bibtex-print-help-message, bibtex-validate)
12471 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12472
2dcdbdd9
SM
124732011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12474
12475 * progmodes/compile.el (compilation-goto-locus):
12476 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12477 * bs.el (bs-cycle-next, bs-cycle-previous):
12478 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12479 * bindings.el (mode-line-other-buffer):
12480 * autoinsert.el (auto-insert):
12481 * arc-mode.el (archive-extract):
12482 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12483
b27640fe
JB
124842011-07-05 Juanma Barranquero <lekktu@gmail.com>
12485
12486 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12487 Fix check of `emacs-lock-unlockable-modes'.
12488 Coerce true values of `emacs-lock--try-unlocking' to t.
12489
53bbe3ad
JB
124902011-07-05 Juanma Barranquero <lekktu@gmail.com>
12491
12492 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12493 * emacs-lock.el: New file.
12494
1d3cdbc7
JD
124952011-07-05 Julien Danjou <julien@danjou.info>
12496
12497 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12498 than `boundp' to check if face is set.
12499
9173deec
JB
125002011-07-05 Juanma Barranquero <lekktu@gmail.com>
12501
12502 * register.el (registerv-make):
12503 * window.el (window-min-height): Fix typos in docstrings.
12504
869795d6
JD
125052011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12506
9173deec 12507 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12508 Update doc string.
12509
b768cdcd
JB
125102011-07-04 Juanma Barranquero <lekktu@gmail.com>
12511
12512 * server.el (server-execute): Catch quit and call
12513 `server-return-error' to pass the error back to emacsclient and
12514 close the connection (bug#8942).
12515
13aa217b
KM
125162011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12517
12518 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12519 insecure exception for current topic. Also note that auto-saves
12520 are handled differently.
12521
5d3385a0 12522 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12523 State variables for tracking auto-save inhibition situation.
12524
12525 (allout-write-contents-hook-handler): Rename from
12526 'allout-write-file-hook-handler', and describe how it depends on
12527 write-contents-functions sensitivity to non-nil value to prevent
12528 file write.
12529
12530 (allout-auto-save-hook-handler): Remove. auto-save does not check
12531 this in individual buffers, only in the starting buffer, so this
12532 is not the right way for us to inhibit auto-save in a buffer
12533 according to its condition.
12534
12535 (allout-mode): Use new allout-write-contents-hook-handler, and
12536 only with write-contents-functions. Remove auto-save provisions -
12537 they're implemented elsewhere.
12538
12539 (allout-before-change-handler): If undo is in progress, note that
12540 for attention of allout-post-command-business.
12541
12542 (allout-post-command-business): If the command we're following was
12543 an undo, check for change in the status of encrypted items and
12544 adjust auto-save inhibitions accordingly.
12545
12546 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12547 according to whether there are or aren't any plain-text topics
12548 pending encryption.
12549
2dcdbdd9 12550 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12551 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12552 if there are plain-text topics pending encryption.
13aa217b
KM
12553
12554 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12555 buffer-saved-size and some allout state to not inhibit auto-saves
12556 if there are no longer any plain-text topics pending encryption.
12557
0757af94
SM
12558 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12559 No longer provide for exemption of the current topic.
13aa217b 12560
ac89b32c
JL
125612011-07-04 Juri Linkov <juri@jurta.org>
12562
12563 Add 7z operations to delete and save changed members (bug#8968).
12564 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12565 New defcustoms.
12566 (archive-7z-write-file-member): New function.
12567 (archive-7z-summarize): Fix the number of dashes in the
12568 listing output.
12569
8fa39615
SM
125702011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12571
12572 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12573 (bug#8958).
12574
2f11b3f1
CY
125752011-07-04 Chong Yidong <cyd@stupidchicken.com>
12576
d66fef2b
CY
12577 * bindings.el: Ignore next-buffer and previous-buffer in
12578 minibuffer-local-map.
12579
2f11b3f1
CY
12580 * font-lock.el (font-lock-builtin-face): Change light background
12581 color to dark slate blue (Bug#6693).
12582
f932a347
WD
125832011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12584
12585 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12586
c8af70e1
SM
125872011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12588
12589 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12590 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12591 Add switch-to-buffer.
12592
f158badc
LMI
125932011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12594
12595 * isearch.el (isearch-search-fun-function): Clarify further the
12596 meaning of the function returned.
12597
6d95bd46
MA
125982011-07-04 Michael Albinus <michael.albinus@gmx.de>
12599
12600 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12601
12602 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12603 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12604 Use it.
12605 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12606 `tramp-default-remote-path' does not exist.
12607 (tramp-send-command-and-read): New optional argument NOERROR.
12608 (tramp-open-connection-setup-interactive-shell)
12609 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12610 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12611 (tramp-process-sentinel): Flush also process' connection property.
12612 (tramp-sh-handle-start-file-process): Do not set process
12613 sentinel. It is done now ...
12614 (tramp-maybe-open-connection): ... here. (Bug#8929)
12615
909e6b67
MK
126162011-07-04 MON KEY <monkey@sandpframing.com>
12617
12618 * play/animate.el (animate-string): Doc fixes and allow changing
12619 the buffer name (bug#5417).
12620
126212011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12622
c8af70e1 12623 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12624
f34755dc
PE
126252011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12626
396cec72
PE
12627 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12628 This is simpler and helps future-proof the code.
12629 (timer-until): Use time-subtract and float-time.
08235028 12630 (timer--time-less-p): Use time-less-p.
f34755dc 12631
56e6cc31
JB
126322011-07-04 Juanma Barranquero <lekktu@gmail.com>
12633
3abb79e5
JB
12634 * type-break.el (timep): Use the value of `float-time' to avoid a
12635 byte-compiler warning.
12636
56e6cc31
JB
12637 * server.el (server-eval-and-print): Return any result, even nil.
12638
7b9430b4
PE
126392011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12640
12641 * type-break.el: Accept time formats that the builtins accept.
12642 (timep, type-break-time-difference): Accept any format that
12643 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12644 This is simpler and helps future-proof the code.
12645 (type-break-time-difference): Round rather than ignoring
12646 subseconds components.
12647
3034e9e7
LMI
126482011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
12650 * info.el (Info-apropos-matches): Make non-interactive, since it
12651 doesn't seem to do anything useful as a command (bug#8829).
12652
1485f4c0
CY
126532011-07-03 Chong Yidong <cyd@stupidchicken.com>
12654
12655 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12656 Move from faces.el.
1485f4c0
CY
12657 (frame-default-terminal-background): New function.
12658
12659 * custom.el (custom-push-theme): Don't record faces in `changed'
12660 theme; this doesn't work correctly for per-frame face settings.
12661 (disable-theme): Use face-set-after-frame-default to reset faces.
12662 (custom--frame-color-default): New function.
12663
9fa3dd45
LMI
126642011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12665
c8af70e1 12666 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12667 (bug#8769).
12668
6cbbc20c
KR
126692011-03-29 Kevin Ryde <user42@zip.com.au>
12670
12671 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12672 `perl-Test2' extend to match possible "fail #N" rep count
12673 (bug#8377).
12674
c7f98048
LMI
126752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12676
65676592
LMI
12677 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12678 `smtpmail-via-smtp' now returns the error instead of nil.
12679
c7f98048
LMI
12680 * isearch.el (isearch-search-fun-function): Clarify the doc string
12681 (bug#8101).
12682
56e6cc31 126832011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12684
12685 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12686 unnecessary spaces (bug#8987).
12687
2b216704
LMI
126882011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12689
12690 * net/network-stream.el (open-network-stream): Use the
12691 :end-of-capability command thoughout.
12692
126932011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12694
12695 * net/network-stream.el (open-network-stream): Add the
12696 :end-of-capability command parameter, used by pop3.el.
12697
36adf6ce
LMI
126982011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12699
1ca0da0e
LMI
12700 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12701
fc00f69c
LMI
12702 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12703 for list)" (bug#6475).
12704
28fd8759 12705 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12706 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12707 an error (bug#6297).
12708
0dd8b6da
LMI
12709 * man.el (Man-reference-regexp): Allow matching possible
12710 word-wrapped references (bug#6289).
12711
ce1438d6
LMI
12712 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12713 for consistency with the other vc buffers (bug#6197).
12714 (vc-checkin): Ditto.
12715
12716 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12717
36adf6ce
LMI
12718 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12719
e83cc1f7
LMI
127202011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12721
8a20ca4c
LMI
12722 * custom.el (defcustom): Clarify that :set is only used in the
12723 Customize user interface (bug#6089).
12724
83319045
LMI
12725 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12726 associated with a file, refuse to run instead of erroring out
12727 (bug#6084).
12728
a8392169
LMI
12729 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12730 the doc string, since it appears that using `fill-column' always
12731 controls the width (bug#7845).
12732
e83cc1f7
LMI
12733 * simple.el (shell-command-on-region): Say where the error output
12734 went if `shell-command-default-error-buffer' is set (bug#6857).
12735
e47ca23b
KM
127362011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12737
12738 * allout.el (allout-yank-processing): Adjust cursor position for
12739 backwards-deleted space.
12740
12741 (allout-rebullet-heading): Register changes with
12742 allout-exposure-changed-hook, so the modified topic is properly
12743 decorated.
12744
5cf56143
LMI
127452011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12746
08549772
LMI
12747 * minibuffer.el (completion-in-region): Document PREDICATE
12748 (bug#7136).
12749
48e96771
LMI
12750 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12751 of keyword/argument pairs (bug#6904).
12752
c8af70e1
SM
12753 * replace.el (multi-occur):
12754 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12755
e17d05e2
LMI
127562011-07-02 Drew Adams <drew.adams@oracle.com>
12757
12758 * dired.el (dired-mark-if): Make the message about whether it's
12759 marking or unmarking clearer (bug#8523).
12760
063b0e45
LMI
127612011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12762
12763 * disp-table.el (display-table-print-array): New function.
12764 (describe-display-table): Use it to print the vectors more pretty
12765 (Bug#8859).
12766
28545e04
MR
127672011-07-02 Martin Rudalics <rudalics@gmx.at>
12768
12769 * window.el (window-state-get-1): Don't assign clone numbers.
12770 Add clone-of item to list of window parameters.
12771 (window-state-put-2): Don't process clone numbers.
12772 (display-buffer-alist): Fix doc-string.
12773
3349e122
SM
127742011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12775
12776 * subr.el (remq): Don't allocate if it's not needed.
12777 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12778 (keymap--merge-bindings): New functions.
12779 (keymap-canonicalize): Use them to refine the canonicalization.
12780 * minibuffer.el (minibuffer-local-completion-map)
12781 (minibuffer-local-must-match-map): Move initialization from C.
12782 (minibuffer-local-filename-completion-map): Move initialization from C;
12783 don't inherit from anything here.
12784 (minibuffer-local-filename-must-match-map): Make obsolete.
12785 (completing-read-default): Use make-composed-keymap to combine
12786 minibuffer-local-filename-completion-map with either
12787 minibuffer-local-must-match-map or
12788 minibuffer-local-filename-completion-map.
12789
d224ac83
GM
127902011-07-01 Glenn Morris <rgm@gnu.org>
12791
3de63bf8
GM
12792 * type-break.el (type-break-time-sum): Use dolist.
12793
d224ac83
GM
12794 * textmodes/flyspell.el (flyspell-word-search-backward):
12795 Replace CL function.
12796
1a1e3f32
SM
127972011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12798
fe3f64d5
SM
12799 * mouse.el (mouse--strip-first-event): New function.
12800 (function-key-map): Use it to map fringe clicks to normal clicks
12801 by default.
12802
eb604e34
SM
12803 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12804 (vc-bzr-revision-completion-table): Add support for annotate and date.
12805
1a1e3f32
SM
12806 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12807 inherit from parent.
12808
5bd35902
LMI
128092011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12810
ace6c69c 12811 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12812 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12813
191e2bed
LMI
12814 * dired.el (dired-mode): Fix up the doc string as suggested by
12815 Drew Adams (bug#8817).
12816
5bd35902
LMI
12817 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12818 cookie, since the manual says that it should be possible to add
12819 this function to `find-file-hook' (bug#8709).
12820
eee8207a
TZ
128212011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12822
12823 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12824 here. Noted Ted Zlatanov as the maintainer.
12825 (cfengine-common-settings, cfengine-common-syntax): New functions
12826 to set up common things between `cfengine-mode' and
12827 `cfengine3-mode'.
12828 (cfengine3-mode): New mode.
12829 (cfengine3-defuns cfengine3-defuns-regex
12830 (cfengine3-class-selector-regex cfengine3-category-regex)
12831 (cfengine3-vartypes cfengine3-font-lock-keywords)
12832 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12833 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12834
36b148cf
MA
128352011-07-01 Michael Albinus <michael.albinus@gmx.de>
12836
12837 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12838
12839 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12840
0bf4ba9a
MR
128412011-07-01 Martin Rudalics <rudalics@gmx.at>
12842
12843 * window.el (same-window-buffer-names, same-window-regexps)
12844 (same-window-p, special-display-frame-alist)
12845 (special-display-popup-frame, special-display-function)
12846 (special-display-buffer-names, special-display-regexps)
12847 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12848 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12849 (split-window-preferred-function, split-height-threshold)
12850 (split-width-threshold, even-window-heights)
12851 (display-buffer-mark-dedicated, window-splittable-p)
12852 (split-window-sensibly, window-safely-shrinkable-p):
12853 Un-obsolete.
12854 (display-buffer): Don't spread args with function specifier
12855 because special-display-popup-frame won't like it.
12856
35837f51
PE
128572011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12858
d0672f86
PE
12859 Time-stamp simplifications and fixes.
12860 These improve accuracy slightly, and future-proof the code
12861 against some potential changes to current-time format.
12862
b9444d97
PE
12863 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12864 by using time-since and float-time.
12865
0ef923dc
PE
12866 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12867 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12868 + NNN microseconds".
12869
2f81380d
PE
12870 * type-break.el (type-break-time-sum): Rewrite using time-add.
12871
845b5c3e
PE
12872 * play/hanoi.el (hanoi-current-time-float): Remove.
12873 All uses replaced by float-time.
12874
ee6f1be0
PE
12875 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12876 This yields a more-accurate answer.
12877 (rng-time-to-float): Remove; no longer needed.
12878
fe955043
PE
12879 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12880
5777162a
PE
12881 * calendar/timeclock.el (timeclock-seconds-to-time):
12882 Defalias to seconds-to-time, since they're the same thing.
12883
3103f8b6 12884 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12885 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12886 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12887
0e61a35f
SM
128882011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12889
12890 * window.el (bury-buffer): Don't iconify the only frame.
12891 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12892 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12893
ddd63a1e
CY
128942011-07-01 Chong Yidong <cyd@stupidchicken.com>
12895
0e61a35f
SM
12896 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12897 Add mouse-yank-primary.
ddd63a1e 12898
055f4923
TZ
128992011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12900
12901 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12902
6a2fb145
SM
129032011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12904
12905 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12906 (find-library-name): Use it to find relative load names when provided
12907 absolute file name (bug#8803).
12908
fd4983f2
LMI
129092011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12910
887d14ad
LMI
12911 * textmodes/flyspell.el (flyspell-word): Consider words that
12912 differ only in case as potential doublons (bug#5687).
12913
c53dc7fc
LMI
12914 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12915 Remove two rather uninteresting debugging-like messages to make
12916 debbugs.el more silent.
12917
fd4983f2
LMI
12918 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12919 a password-like phrase.
12920
7a71b18d 129212011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12922
12923 * progmodes/cc-guess.el: New file.
12924
6a2fb145 12925 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12926
12927 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12928 derived from `c-basic-common-init'.
12929
12930 * progmodes/cc-mode.el (top-level): Require cc-guess.
12931 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12932
1fa280a3
LM
129332011-06-30 Lawrence Mitchell <wence@gmx.li>
12934
12935 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12936
e6597158
AM
129372011-06-30 Alan Mackenzie <acm@muc.de>
12938
1fa280a3
LM
12939 * progmodes/cc-engine.el (c-guess-continued-construct):
12940 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12941 lock is disabled. Name this case as "CASE G".
12942
68ba37fb
KM
129432011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12944
12945 * allout.el (allout-yank-processing): Fix injection of extra space
12946 between bullet and non-whitespace character in first topic when
12947 pasting, ensuring that the actual spacing in the pasted topic
12948 following the bullet char is preserved. This extra space was
12949 causing pasted encrypted topics to get a decrypted status even
12950 when the content was actually still encrypted. Now the decryption
12951 status from before the paste is preserved.
12952
12953 (allout-flag-region): Set all allout overlays so they evaporate
12954 when reduced to zero length (evanescent), to prevent overlay
12955 leakage.
12956
887a0b34
GM
129572011-06-30 Glenn Morris <rgm@gnu.org>
12958
94b9acce
GM
12959 * w32-fns.el (w32-charset-info-alist): Declare.
12960
1d9b46d4
GM
12961 * find-dired.el (find-grep-options): Simplify.
12962
cc232200
GM
12963 * term/ns-win.el (ns-set-resource): Declare.
12964
28e77c46
GM
12965 * ses.el (row, col): Declare dynamic variables honestly.
12966
887a0b34
GM
12967 * textmodes/reftex-parse.el (index-tags): Declare.
12968
658d8eb8
CY
129692011-06-30 Chong Yidong <cyd@stupidchicken.com>
12970
12971 * cus-edit.el (customize-push-and-save): New function.
12972
12973 * files.el (hack-local-variables-confirm): Use it.
12974
1fa280a3
LM
12975 * custom.el (load-theme): New arg NO-CONFIRM.
12976 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
12977 (custom-enabled-themes): Doc fix.
12978
12979 * cus-theme.el (customize-create-theme)
12980 (custom-theme-merge-theme): Callers to load-theme changed.
12981
bb617717
LMI
129822011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12983
d61bdd5d
LMI
12984 * thingatpt.el (thing-at-point-short-url-regexp): Require that
12985 short URLs have at least one dot in them (bug #7614).
12986
bb617717
LMI
12987 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
12988 nil, because using a pty is apparently too slow (bug #895).
12989
2f31f37a
LMI
129902011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
12991
12992 * mail/sendmail.el (sendmail-query-once): New function.
12993 (sendmail-query-once-function): New variable.
12994
3076b24e
GM
129952011-06-29 Glenn Morris <rgm@gnu.org>
12996
faf2a174
GM
12997 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
12998
3076b24e
GM
12999 * ses.el (top-level): Require cl when compiling.
13000 (ses-set-localvars): Fix error statement.
13001 Call it at compile time to silence a storm of warnings.
13002
5386012d
MR
130032011-06-29 Martin Rudalics <rudalics@gmx.at>
13004
13005 * window.el (normalize-live-buffer): Rename to
13006 window-normalize-buffer.
13007 (normalize-live-frame): Rename to window-normalize-frame.
13008 (normalize-any-window): Rename to window-normalize-any-window.
13009 (normalize-live-window): Rename to window-normalize-live-window.
13010 (make-window-atom): Rename to window-make-atom.
13011 (window-resize-reset): Rename to window--resize-reset.
13012 (window-resize-reset-1): Rename to window--resize-reset-1.
13013 (resize-mini-window): Rename to window--resize-mini-window.
13014 (resize-subwindows-skip-p): Rename to
13015 window--resize-subwindows-skip-p.
13016 (resize-subwindows-normal): Rename to
13017 window--resize-subwindows-normal.
13018 (resize-subwindows): Rename to window--resize-subwindows.
13019 (resize-other-windows): Rename to window--resize-siblings.
13020 (resize-this-window): Rename to window--resize-this-window.
13021 (resize-root-window): Rename to window--resize-root-window.
13022 (resize-root-window-vertically): Rename to
13023 window--resize-root-window-vertically.
13024 (normalize-buffer-to-display): Rename to
13025 window-normalize-buffer-to-display.
13026 (normalize-buffer-to-switch-to): Rename to
13027 window-normalize-buffer-to-switch-to.
13028 Correspondingly update all callers of the functions listed
13029 above.
13030 (display-buffer-alist, display-buffer-normalize-arguments)
13031 (display-buffer-normalize-options, display-buffer)
13032 (display-buffer-alist-set): Use "function" instead of
13033 "fun-with-args".
13034
1176868d
CY
130352011-06-28 Chong Yidong <cyd@stupidchicken.com>
13036
13037 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13038 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13039 debbugs.gnu.org. Mention acknowledgment email.
13040
20a7a65f
LMI
130412011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13042
13043 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13044 buffer multibyteness, since it shouldn't matter.
13045
5f45cca5
MR
130462011-06-28 Martin Rudalics <rudalics@gmx.at>
13047
13048 * window.el (display-buffer-in-side-window): Handle dedicated
13049 windows as in display-buffer-reuse-window.
13050 (display-buffer-normalize-alist): Use value of override
13051 specifier.
13052 (display-buffer-normalize-specifiers): Use value of
13053 other-window-means-other-frame specifier.
13054 (display-buffer-alist): Rewrite some texts in widgets.
13055 (display-buffer): Spread arguments when calling function
13056 specified by fun-with-args.
13057
ad85fe1f
DD
130582011-06-28 Deniz Dogan <deniz@dogan.se>
13059
1fa280a3
LM
13060 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13061 Unnest `let'.
da68c4c8 13062
ad85fe1f
DD
13063 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13064 selectors (Bug#5732).
ec49bd31 13065 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13066
a08cc025
JA
130672011-06-27 Jari Aalto <jari.aalto@cante.net>
13068
13069 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13070 (eshell-ls-date-format): New defcustom.
13071 (eshell-ls-file): Use it.
13072
e2b551c5
SM
130732011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13074
13075 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13076
8982b231
KY
130772011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13078
13079 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13080 (ange-ftp-make-tmp-name): New arg.
13081 (ange-ftp-file-local-copy): Use it.
13082
36c9fa27
J
130832011-06-27 Jambunathan K <kjambunathan@gmail.com>
13084
13085 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13086 no-conversion (Bug#8870).
13087
d68443dc
MR
130882011-06-27 Martin Rudalics <rudalics@gmx.at>
13089
13090 * window.el (window-right, window-left, window-child)
13091 (window-child-count, window-last-child)
13092 (window-iso-combination-p, walk-window-tree-1)
13093 (window-atom-check-1, window-tree-1, delete-window)
13094 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13095 new naming conventions - window-vchild, window-hchild,
13096 window-next and window-prev are now called window-top-child,
13097 window-left-child, window-next-sibling and window-prev-sibling
13098 respectively.
d615d6d2
MR
13099 (resize-window-reset): Rename to window-resize-reset.
13100 (resize-window-reset-1): Rename to window-resize-reset-1.
13101 (resize-window): Rename to window-resize.
13102 (window-min-height, window-min-width)
13103 (resize-mini-window, resize-this-window, resize-root-window)
13104 (resize-root-window-vertically, adjust-window-trailing-edge)
13105 (enlarge-window, shrink-window, maximize-window)
13106 (minimize-window, delete-window, quit-restore-window)
13107 (split-window, balance-windows, balance-windows-area-adjust)
13108 (balance-windows-area, window-state-put-2)
13109 (display-buffer-even-window-sizes, display-buffer-set-height)
13110 (display-buffer-set-width, set-window-text-height)
13111 (fit-window-to-buffer): Rename all "resize-window" prefixed
13112 calls to use the "window-resize" prefix convention.
13113 (display-buffer-alist): Fix symbol for label specifier.
13114 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13115 corresponding specifier.
13116 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13117
b6458526
VB
131182011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13119
13120 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13121 convention.
13122 (ses-call-printer): Does not pass an empty string to formatter when the
13123 cell is empty to keep from barking printer Calc math-format-value.
13124
d31fd9ac
RS
131252011-06-27 Richard Stallman <rms@gnu.org>
13126
43d5bf84
RS
13127 * battery.el (battery-mode-line-limit): New variable.
13128 (battery-update): Handle it.
13129
d31fd9ac
RS
13130 * mail/rmailmm.el (rmail-mime-process-multipart):
13131 Handle truncated messages.
13132
819a6054
GM
131332011-06-27 Glenn Morris <rgm@gnu.org>
13134
13135 * progmodes/flymake.el (flymake-err-line-patterns):
13136 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13137
cedc73f2
VB
131382011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13139
819a6054 13140 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13141 (ses--clean-!, ses--clean-_): New functions.
13142 (ses-range): Add configurability of readout order, and conversion
13143 to Calc vector.
13144
5e5d49b6
VB
13145 * ses.el (ses-repair-cell-reference-all): New function.
13146 (ses-cell-symbol): Set macro as safe, so that it can be used in
13147 formulas.
13148
56e6cc31 13149 * ses.el: Update cycle detection algorithm.
90ca8b49 13150 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13151 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13152 (ses-set-localvars): New function.
13153 (ses-make-cell): Add property-list as a cell element.
13154 (ses-cell-property-get-fun, ses-cell-property-get)
13155 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13156 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13157 New functions.
90ca8b49
VB
13158 (ses-cell-property-set, ses-cell-property-pop)
13159 (ses-cell-property-get-handle): New macro.
13160 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13161 New aliases, used for code readability.
13162 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13163 cycle detection.
13164 (ses-self-reference-early-detection): New defcustom.
fac916bf 13165 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13166 (ses-mode): Use ses-set-localvars.
13167 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13168 before lauching the update processing.
13169 (ses-initialize-Dijkstra-attempt): New function.
13170 (ses-recalculate-cell): Update for cycle detection based on
13171 Dijkstra algorithm.
13172
2bb63e81
VB
13173 * ses.el: Fix commenting and indenting convention.
13174
c9d29fb8
SM
131752011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13176
13177 * bs.el (bs-cycle-next): Complete last change.
13178
d8e4b68b
JB
131792011-06-27 Drew Adams <drew.adams@oracle.com>
13180
13181 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13182
40098786
LMI
131832011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13184
c9d29fb8
SM
13185 * net/network-stream.el (network-stream-open-starttls):
13186 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13187 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13188
40098786
LMI
13189 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13190 to binary to possibly avoid line encoding issues on Windows (among
13191 other things).
13192
468d09d4
LMI
131932011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13194
13195 * net/network-stream.el (open-network-stream): Return an :error
13196 saying what the problem was, if possible.
13197
13198 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13199 server.
13200
13201 * net/network-stream.el (network-stream-open-starttls): If we
13202 wanted to use STARTTLS, and the server offered it, but we weren't
13203 able to because we had no STARTTLS support, then close the connection.
13204 (open-network-stream): Return an :error element, if present.
13205
16f07dd7
CY
132062011-06-26 Chong Yidong <cyd@stupidchicken.com>
13207
88821ca0
CY
13208 * hl-line.el (hl-line-sticky-flag): Doc fix.
13209 (global-hl-line-sticky-flag): New option (Bug#8323).
13210 (global-hl-line-highlight): Obey it.
13211
16f07dd7
CY
13212 * vc/vc.el (vc-revert-show-diff): Default to t.
13213
6b5ccddf
KM
132142011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13215
c9d29fb8
SM
13216 * allout-widgets.el (allout-widgets-post-command-business):
13217 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13218 undecorated when an isearch is continued past, and isearch
13219 automatically collapses them. This leads to "widget leaks", where
13220 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13221 hidden widgets can slow down cursor travel, substantially.
13222 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13223 so we're doing without this nicety.
13224
13225 (allout-widgets-tally-string): Don't try to do a hash-table-count
13226 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13227 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13228 *Messages* when allout-widgets-maintain-tally is t.
13229
355f2e07
MR
132302011-06-26 Martin Rudalics <rudalics@gmx.at>
13231
13232 * window.el (display-buffer-normalize-argument): Rename to
13233 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13234 LABEL argument. Respect special-display-function when popping up
13235 a new frame. Fix code searching for a window showing the buffer
13236 on another frame.
c9d29fb8
SM
13237 (display-buffer-normalize-specifiers):
13238 Call display-buffer-normalize-arguments.
355f2e07
MR
13239 (display-buffer-in-window): Don't undedicate the window if its
13240 buffer remains the same.
13241 Reported by Drew Adams <drew.adams@oracle.com>.
13242 (display-buffer-alist): Add choice for same-window macro
13243 specfier.
13244 (display-buffer): Mention special meaning of LABEL argument in
13245 doc-string. Fix quoting. Don't pop up a new frame even as
13246 fallback.
13247
7ca8fc42
JB
132482011-06-26 Juanma Barranquero <lekktu@gmail.com>
13249
13250 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13251 avoid deleting the current window in some cases (bug#8911).
13252
bc312254
AS
132532011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13254
13255 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13256 (Bug#8934)
13257
2db18f3f
LMI
132582011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13259
c9d29fb8
SM
13260 * net/network-stream.el (network-stream-open-starttls):
13261 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13262 (network-stream-open-tls): Ditto.
13263
6302e0d3
LL
132642011-06-26 Leo Liu <sdl.web@gmail.com>
13265
13266 * register.el (registerv): New struct.
13267 (registerv-make): New function.
c9d29fb8
SM
13268 (jump-to-register, describe-register-1, insert-register):
13269 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13270 struct. (Bug#8415)
13271
5fdd4046
CY
132722011-06-26 Chong Yidong <cyd@stupidchicken.com>
13273
2afef60a
CY
13274 * vc/vc.el (vc-revert-show-diff): New defcustom.
13275 (vc-diff-internal): New arg specifying diff buffer.
13276 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13277 reuse an existing *vc-diff* buffer (Bug#8927).
13278
5fdd4046
CY
13279 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13280
e93db24a
GM
132812011-06-26 Glenn Morris <rgm@gnu.org>
13282
13283 * progmodes/f90.el (f90-critical-indent): New option.
13284 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13285 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13286 (f90-mode): Doc fix.
13287 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13288 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13289 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13290 (f90-match-end): Handle block, critical.
13291
eefff499
GM
132922011-06-25 Glenn Morris <rgm@gnu.org>
13293
f6ba4cc9
GM
13294 * calendar/diary-lib.el (diary-included-files): Doc fix.
13295 (diary-include-files): New function, extracted from
13296 diary-include-other-diary-files and diary-mark-included-diary-files.
13297 (diary-include-other-diary-files, diary-mark-included-diary-files):
13298 Just call diary-include-files.
13299 (diary-mark-entries): Reset diary-included-files on first call.
13300
16712304
GM
13301 * calendar/diary-lib.el (diary-mark-entries)
13302 (diary-mark-included-diary-files):
13303 Visit included diary-files in temp buffers.
13304
5d8e0d43
GM
13305 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13306 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13307 (f90-start-block-re, f90-imenu-generic-expression)
13308 (f90-looking-at-program-block-start, f90-no-block-limit):
13309 Add support for submodules.
13310
ccf7a5d5
GM
13311 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13312 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13313
11fdef7d 133142011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13315
13316 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13317 buffer-file-type before setting its value, to avoid disastrous
eefff499 13318 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13319
74f53697
JB
133202011-06-25 Juanma Barranquero <lekktu@gmail.com>
13321
13322 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13323
13324 * ses.el (ses-unload-function):
13325 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13326
13327 * proced.el (proced-unload-function):
13328 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13329
18a4ce5e
AR
133302011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13331
13332 * server.el (server-create-window-system-frame): Add parameters arg.
13333 (server-process-filter): Doc fix. Handle frame-parameters.
13334
519d22cc
JB
133352011-06-25 Juanma Barranquero <lekktu@gmail.com>
13336
13337 Fix bug#8730, bug#8781.
13338
13339 * loadhist.el (unload--set-major-mode): New function.
13340 (unload-feature): Use it.
13341
13342 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13343 (python-unload-function): New function.
13344
c206f5b0
SM
133452011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13346
13347 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13348
f9ad64f3
GS
133492011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13350
13351 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13352 the candidates list.
13353
7d0da90e
JB
133542011-06-24 Juanma Barranquero <lekktu@gmail.com>
13355
13356 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13357
14b4e83d
RS
133582011-06-23 Richard Stallman <rms@gnu.org>
13359
13360 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13361 (rmail-variables): Set next-error-move-function.
13362 (rmail-what-message): Take argument POS.
13363 (rmail-next-error-move): New function.
13364
273d2baf
SM
133652011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13366
13367 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13368 messages for adjacent non-terminals.
13369
56c2cc9a
RS
133702011-06-23 Richard Stallman <rms@gnu.org>
13371
13372 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13373 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13374 (rmail-start-mail): Don't specify use of rmail-mail-return;
13375 that's done by mail-bury now.
13376 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13377
d59eb518
MA
133782011-06-23 Michael Albinus <michael.albinus@gmx.de>
13379
13380 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13381 SIZE is a number.
13382
02cfc6d6
MR
133832011-06-23 Martin Rudalics <rudalics@gmx.at>
13384
13385 * window.el (get-lru-window, get-mru-window)
13386 (get-largest-window): Never return a minibuffer window.
13387 (display-buffer-pop-up-window): Fix a bug that could lead to
13388 reusing the minibuffer window.
13389 (display-buffer): Pass original specifier argument to
13390 display-buffer-function instead of the normalized one.
13391 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13392
4e323265
LL
133932011-06-22 Leo Liu <sdl.web@gmail.com>
13394
13395 * minibuffer.el (completing-read-function)
13396 (completing-read-default): Move from minibuf.c
13397
7a70468f
RS
133982011-06-22 Richard Stallman <rms@gnu.org>
13399
50718fc2
RS
13400 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13401 to Rmail even if not started by a special Rmail command.
13402
7a70468f
RS
13403 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13404 Copy the buffer currently showing just one message.
13405
297dde5a
RW
134062011-06-22 Roland Winkler <winkler@gnu.org>
13407
13408 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13409 (bibtex-clean-entry): First delete the old key so that a
13410 customized algorithm for generating the new key does not get
13411 confused by the old key.
13412 (bibtex-url): Obey regexp of first step.
13413 (bibtex-search-entries): Do not use add-to-list with local
13414 list-var.
13415
97bb1093
LMI
134162011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13417
13418 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13419 stored a user name, then query for the password first, instead of
13420 waiting for SMTP to give an error message and the trying again.
13421
1c0f1a19
JD
134222011-06-22 Lawrence Mitchell <wence@gmx.li>
13423
13424 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13425 BUFFER in call-process.
13426
396f7c9d
LMI
134272011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13428
13429 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13430 QUIT twice.
ddb7ffee
LMI
13431 (smtpmail-try-auth-methods): Require user name and password from
13432 auth-source.
396f7c9d 13433
8998d1b3
MR
134342011-06-22 Martin Rudalics <rudalics@gmx.at>
13435
13436 * window.el (display-buffer-default-specifiers)
13437 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13438 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13439 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13440
13441 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13442 (special-display-frame-alist, special-display-popup-frame):
13443 Remove duplicate declarations. These are now in window.el.
13444
4ea31e07
LMI
134452011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13446
c9d29fb8
SM
13447 * mail/smtpmail.el (smtpmail-via-smtp):
13448 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13449 server supports it. SMTP servers that support STARTTLS commonly
13450 require it.
13451
13452 * net/network-stream.el (network-stream-open-starttls): Support
13453 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13454 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13455
95f41d9a
LMI
13456 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13457 upgrades with `open-network-stream', and rely solely on
13458 auth-source for all credentials. Big changes throughout the file,
13459 but in particular:
c9d29fb8
SM
13460 (smtpmail-auth-credentials): Remove.
13461 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13462 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13463 MAIL FROM, too.
95f41d9a 13464
c9d29fb8
SM
13465 * net/network-stream.el (network-stream-open-starttls):
13466 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13467 STARTTLS.
13468 (auth-source): Require.
13469 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13470 (network-stream-certificate): Change cert-cert to cert and
13471 cert-key to key.
4ea31e07 13472
065ec2c7
MA
134732011-06-21 Michael Albinus <michael.albinus@gmx.de>
13474
13475 * net/tramp-cache.el (top): Don't load the persistency file when
13476 "emacs -Q" has been called.
13477
cd93b359
DR
134782011-06-21 Tim Harper <timcharper@gmail.com>
13479
d8e4b68b
JB
13480 * term/ns-win.el (ns-initialize-window-system):
13481 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13482 resource to NO as it is not yet supported by the NS port.
13483
ae9c0411
JB
134842011-06-21 Juanma Barranquero <lekktu@gmail.com>
13485
13486 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13487 (list-dynamic-libraries): ...not here.
13488
7f3f739f
LL
134892011-06-21 Leo Liu <sdl.web@gmail.com>
13490
13491 * subr.el (sha1): Implement sha1 using secure-hash.
13492
327c8fb1
MR
134932011-06-21 Martin Rudalics <rudalics@gmx.at>
13494
13495 * window.el (display-buffer-alist): In default value do not
13496 enforce searching a window on any but the selected frame.
13497 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13498 (display-buffer-select-window): Remove function.
13499 (display-buffer-in-window): When a window on another frame gets
13500 reused, do not select it any more but just raise its frame if
13501 necessary (Bug#8851) and (Bug#8856).
13502 (display-buffer-normalize-options): Handle pop-up-frames related
13503 options more faithfully.
13504 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13505 window if it is on another frame.
c9d29fb8
SM
13506 (display-buffer-alist, display-buffer-default-specifiers):
13507 Don't make new frame unsplittable by default.
9e9de014
MR
13508 (display-buffer-normalize-argument): Fix doc-string typo and use
13509 'same-frame-other-window instead of 'other-window when associating
13510 with display-buffer-macro-specifiers.
327c8fb1 13511
7cf3f556
VB
135122011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13513
13514 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13515 New functions.
13516 (5x5-mode-map, 5x5-mode-menu): Bind them.
13517 (5x5-draw-grid): Tweak the solver's rendering.
13518
60a406cf
SM
135192011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13520
13521 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13522 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13523
d8e4b68b 135242011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13525
13526 * menu-bar.el: Use function variable instead of switch-to-buffer.
13527 (menu-bar-select-buffer-function): New variable.
60a406cf 13528 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13529
478d6f95
SM
135302011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13531
13532 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13533 variable's status.
13534
ca530739
JD
135352011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13536
13537 * x-dnd.el (x-dnd-version-from-flags)
13538 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13539 and long as number (Bug#8899).
13540 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13541
bcd70d97
SM
135422011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13543
60a406cf 13544 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13545 (completion-try-completion, completion-all-completions): Compute the
13546 metadata argument if it's missing; make it optional (bug#8795).
13547
60a406cf 13548 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13549 (widget-complete): Use new :completion-function property.
13550 (widget-completions-at-point): New function.
13551 (default): Use :completion-function instead of :complete.
60a406cf
SM
13552 (widget-default-completions): Rename from widget-default-complete;
13553 Rewrite.
bcd70d97
SM
13554 (widget-string-complete, widget-file-complete, widget-color-complete):
13555 Remove functions.
13556 (file, symbol, function, variable, coding-system, color):
13557 * international/mule-cmds.el (default-input-method, charset)
13558 (language-info-custom-alist):
13559 * cus-edit.el (face): Use new property :completions.
13560
13561 * progmodes/pascal.el (pascal-completions-at-point): New function.
13562 (pascal-mode): Use it.
13563 (pascal-mode-map): Use completion-at-point.
13564 (pascal-toggle-completions): Make obsolete.
13565 (pascal-complete-word, pascal-show-completions):
13566 * progmodes/octave-mod.el (octave-complete-symbol):
13567 Redefine as obsolete alias.
13568 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13569 Signal absence of completion info for old Octave,
13570 (inferior-octave-complete): Redefine as obsolete alias.
13571 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13572 (meta-completions-at-point): Rename from meta-complete-symbol and
13573 adapt it for use on completion-at-point-functions.
13574 (meta-common-mode): Use it.
13575 (meta-looking-at-backward, meta-match-buffer): Remove.
13576 (meta-complete-symbol): Redefine as obsolete alias.
13577 (meta-common-mode-map): Use completion-at-point.
13578 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13579 (makefile-mode-map): Use completion-at-point.
13580 (makefile-completions-at-point): Rename from makefile-complete and
13581 adapt it for use on completion-at-point-functions.
13582 (makefile-mode): Use it.
13583 (makefile-complete): Redefine as obsolete alias.
13584
aebf69c8
DD
135852011-06-20 Deniz Dogan <deniz@dogan.se>
13586
13587 * net/rcirc.el: Delete trailing whitespaces once and for all.
13588
bfbbb27d
DC
135892011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13590
13591 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13592
d264a46b
CY
135932011-06-19 Chong Yidong <cyd@stupidchicken.com>
13594
4ca009e5
CY
13595 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13596
d264a46b
CY
13597 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13598
fbf5b3ce
MR
135992011-06-19 Martin Rudalics <rudalics@gmx.at>
13600
13601 * window.el (display-buffer-other-window-means-other-frame):
13602 Call display-buffer-normalize-alist.
13603 (display-buffer-normalize-specifiers-1): Rename to
13604 display-buffer-normalize-argument. New argument other-frame.
13605 Rewrite.
13606 (display-buffer-normalize-specifiers-2): Rename to
13607 display-buffer-normalize-options.
13608 (display-buffer-normalize-alist-1): New function.
13609 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13610 display-buffer-normalize-alist.
13611 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13612 (display-buffer-normalize-options-inhibit): New variable.
13613 (display-buffer-normalize-specifiers): Rewrite calling
13614 display-buffer-normalize-alist,
13615 display-buffer-normalize-argument, and
13616 display-buffer-normalize-options. Don't call the latter if
13617 display-buffer-normalize-options-inhibit is non-nil.
13618 (frame-auto-delete): New option.
13619 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13620 (window-list-no-nils, window-state-ignored-parameters)
13621 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13622 (window-state-put-1, window-state-put-2, window-state-put):
13623 New functions.
9a028c23
MR
13624 (display-buffer-normalize-options): Move special-display-p group
13625 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13626
6d10d800
CY
136272011-06-18 Chong Yidong <cyd@stupidchicken.com>
13628
6420d28b
CY
13629 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13630 groups (Bug#8776).
13631 (rx-submatch-n): New function.
13632 (rx): Document it.
13633
ddb8b596
CY
13634 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13635 (Bug#8768).
13636
13637 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13638
77080289
CY
13639 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13640
61dfb316
CY
13641 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13642 anytime existing face settings are present (Bug#8889).
13643
6d10d800
CY
13644 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13645 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13646 Remove unused argument.
13647
be3fb2b8
MR
136482011-06-18 Martin Rudalics <rudalics@gmx.at>
13649
bcd70d97
SM
13650 * window.el (display-buffer-default-specifiers):
13651 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13652 pop-up-window-min-width, and another reuse-window specifier
13653 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13654 (display-buffer-normalize-specifiers-2):
13655 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13656 pop-up-windows is unset. Add a reuse-window specifier for the
13657 case popping up a new window fails.
13658 (special-display-popup-frame): Remove double quoting.
28dec25a 13659 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13660
1c6d8c76
SM
136612011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13662
13663 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13664 according to comint-completion-addsuffix.
13665
13666 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13667 (pcomplete-suffix-list): Mark as obsolete.
13668 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13669 pcomplete-seen in the closure.
13670 (pcomplete-comint-setup): Setup completion-at-point as well.
13671 (pcomplete--entries): New function.
13672 (pcomplete--env-regexp): New var.
13673 (pcomplete-entries): Rewrite to work with partial-completion and
13674 without relying on pcomplete-suffix-list.
13675 (pcomplete-pare-list): Remove, unused.
13676
25aef8b8
MR
136772011-06-17 Martin Rudalics <rudalics@gmx.at>
13678
13679 * window.el (display-buffer-alist): Set pop-up-window-min-height
13680 and pop-up-window-min-width in default value. Reported by
13681 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13682 other-window-means-other-frame.
13683 (display-buffer-macro-specifiers): Comment out entry for
13684 other-window specifier.
13685 (display-buffer-other-window-means-other-frame): New function.
13686 (display-buffer-normalize-specifiers-1): New arguments
13687 buffer-name and label. Treat other-window case specially.
13688 (display-buffer-normalize-specifiers-2): Treat other-window case
13689 specially.
13690 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13691 (display-buffer-normalize-specifiers):
13692 Call display-buffer-normalize-specifiers-3.
25aef8b8 13693
dbad4f69
MR
136942011-06-17 Martin Rudalics <rudalics@gmx.at>
13695
13696 * window.el (same-window-p): Fix two typos introduced when
13697 adding with-no-warnings.
d1067961
MR
13698 (display-buffer-normalize-specifiers-1): Don't check
13699 pop-up-frames for 'unset initialization.
13700 (display-buffer-normalize-specifiers-2): Major rewrite using
13701 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13702 (pop-up-frames, display-buffer-reuse-frames)
13703 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13704 Suggested by David Engster <deng@randomsample.de>.
13705 (even-window-heights): Initialize to 'unset.
13706 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13707 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13708 other window case.
dbad4f69 13709
9b9c9e3a
MR
137102011-06-16 Martin Rudalics <rudalics@gmx.at>
13711
bcd70d97
SM
13712 * window.el (display-buffer-normalize-specifiers-1):
13713 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13714 second argument of display-buffer (Bug#8865).
981d5c09
MR
13715 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13716 (switch-to-buffer-other-window-same-frame)
13717 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13718 Adams (Bug#8875).
9c2755e9
MR
13719 (display-buffer): Don't check noninteractive when calling
13720 display-buffer-pop-up-frame.
13721 (display-buffer-pop-up-frame): Never pop up a frame in
13722 noninteractive mode (Bug#8857).
67222e1d
MR
13723 (enlarge-window, shrink-window): Don't report an error when the
13724 window can't be resized as requested (Bug#8862).
9b9c9e3a 13725
2b75be67
SM
137262011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13727
9ffdd3ba
SM
13728 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13729
cb581a67
SM
13730 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13731
2b75be67
SM
13732 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13733
8c0e3589
AM
137342011-06-15 Alan Mackenzie <acm@muc.de>
13735
cb581a67
SM
13736 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13737 for declarators, disable knr checking to speed up for normal files.
13738 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13739
b96e6cde
LMI
137402011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13741
4bba86e6
LMI
13742 * net/network-stream.el (open-network-stream): Add the keyword
13743 :always-query-capabilities for the case where you want to force a
13744 `plain' network connection, but the protocol still requires the
13745 capabilitiy command (i.e., SMTP and EHLO).
13746
2b75be67 13747 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13748 consistency with other `-live-p' functions.
13749
efdcdbf8
SM
137502011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13751
13752 * window.el (same-window-buffer-names, same-window-regexps)
13753 (special-display-frame-alist, special-display-popup-frame)
13754 (special-display-function, special-display-buffer-names)
13755 (special-display-regexps, pop-up-frame-alist)
13756 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13757 (pop-up-windows, split-window-preferred-function)
13758 (split-height-threshold, split-width-threshold, even-window-heights)
13759 (display-buffer-mark-dedicated): Don't encourage the use of
13760 display-buffer-alist from Elisp code.
13761
c5cde042
DN
137622011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13763
13764 * progmodes/python.el (python-mode): Derive from prog-mode.
13765 * progmodes/ps-mode.el (ps-mode):
13766 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13767 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13768 * progmodes/ld-script.el (ld-script-mode): Likewise.
13769
baa1c9ab
MR
137702011-06-15 Martin Rudalics <rudalics@gmx.at>
13771
13772 * window.el (display-buffer-alist): Trim default value to avoid
13773 popping up a new frame (Bug#8857) or reusing an arbitrary window
13774 on another frame.
13775 (display-buffer): Do not fall back on popping up a new frame in
13776 batch mode (Bug#8857).
13777
c5dd5a51
CY
137782011-06-14 Chong Yidong <cyd@stupidchicken.com>
13779
13780 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13781 (custom-theme-summary): New function.
13782 (customize-themes): Use it.
13783
d647b7c4
GM
137842011-06-13 Glenn Morris <rgm@gnu.org>
13785
13786 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13787
9481c002
MR
137882011-06-13 Martin Rudalics <rudalics@gmx.at>
13789
357f93d2
MR
13790 * help.el (help-window): Remove variable.
13791 (help-window-point-marker, temp-buffer-max-height)
13792 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13793 (help-print-return-message): Don't set help-window.
13794 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13795 (help-window-setup-finish): Remove.
13796 (help-window-display-message, help-window-setup)
13797 (with-help-window): Major rewrite based on new
13798 display-buffer-window variable.
13799
13800 * help-mode.el (help-mode-finish): Remove help-window related
13801 code.
13802
13803 * view.el (view-exits-all-viewing-windows): Remove reference to
13804 view-return-to-alist in doc-string.
13805 (view-return-to-alist): Make obsolete.
13806 (view-buffer): Call pop-to-buffer-same-window and remove
13807 undo-window code.
13808 (view-buffer-other-window): Call pop-to-buffer-other-window and
13809 simplify code. Ignore second argument.
13810 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13811 simplify code. Ignore second argument.
13812 (view-return-to-alist-update): Make obsolete.
13813 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13814 Rewrite using quit-restore window parameters.
2b75be67
SM
13815 (view-mode-exit): Rename second argument to EXIT-ONLY.
13816 Rewrite using quit-restore-window.
357f93d2
MR
13817 (View-exit, View-exit-and-edit, View-leave, View-quit)
13818 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13819 appropriate arguments.
13820 (view-end-message): Use quit-restore window parameter.
13821
9481c002
MR
13822 * window.el (display-buffer-function): Rewrite doc-string.
13823 (display-buffer-window, display-buffer-alist): New variables.
13824 (display-buffer-split-specifiers)
13825 (display-buffer-side-specifiers)
13826 (display-buffer-macro-specifiers): New constants.
13827 (display-buffer-even-window-sizes, display-buffer-set-height)
13828 (display-buffer-set-width, display-buffer-select-window)
13829 (display-buffer-in-window, display-buffer-reuse-window)
13830 (display-buffer-split-window-1, display-buffer-split-window)
13831 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13832 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13833 (display-buffer-in-side-window, normalize-buffer-to-display)
13834 (display-buffer-normalize-specifiers-1)
13835 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13836 (display-buffer-normalize-specifiers, display-buffer-frame):
13837 New functions.
9481c002
MR
13838 (display-buffer): Major rewrite.
13839 (display-buffer-other-window, display-buffer-other-frame)
13840 (pop-to-buffer, switch-to-buffer-other-window)
13841 (switch-to-buffer-other-frame): Rewrite.
13842 (display-buffer-same-window, display-buffer-same-frame)
13843 (display-buffer-same-frame-other-window)
13844 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13845 (pop-to-buffer-other-window)
13846 (pop-to-buffer-same-frame-other-window)
13847 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13848 (switch-to-buffer-other-window-same-frame): New functions.
13849 (same-window-p, special-display-p): Rewrite disabling warnings.
13850 Make obsolete.
13851 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13852 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13853 Make obsolete
13854 (same-window-buffer-names, same-window-regexps)
13855 (special-display-frame-alist, special-display-popup-frame)
13856 (special-display-function, special-display-buffer-names)
13857 (special-display-regexps, pop-up-frame-alist)
13858 (pop-up-frame-function, split-window-preferred-function)
13859 (split-height-threshold, split-width-threshold)
13860 (even-window-heights): Make obsolete.
13861
9db51aca
GM
138622011-06-12 Glenn Morris <rgm@gnu.org>
13863
13864 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13865 Misc simplifications.
9db51aca 13866
39cffb44
MR
138672011-06-12 Martin Rudalics <rudalics@gmx.at>
13868
13869 * window.el (window-safely-shrinkable-p): Restore function which
13870 was inadvertently removed in change from 2011-06-11. Declare as
13871 obsolete.
13872
2b75be67
SM
13873 * calendar/calendar.el (calendar-generate-window):
13874 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13875 window-safely-shrinkable-p.
13876
a8955be7
GM
138772011-06-12 Glenn Morris <rgm@gnu.org>
13878
13879 * progmodes/fortran.el (fortran-mode-syntax-table):
13880 * progmodes/f90.el (f90-mode-syntax-table):
13881 Set % to punctuation. (Bug#8820)
13882 (f90-find-tag-default): Remove, no longer needed.
13883
f0d4059d
DC
138842011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13885
13886 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13887
1100a63c
CY
138882011-06-11 Chong Yidong <cyd@stupidchicken.com>
13889
13890 * image.el (image-animated-p): Return animation delay in seconds.
13891 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13892 (image-animate-timeout): Remove DELAY argument. Don't assume
13893 every subimage has the same delay; get it from image-animated-p.
13894 (image-animate): Caller changed.
13895
def722bf
MA
138962011-06-11 Michael Albinus <michael.albinus@gmx.de>
13897
13898 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13899 to ignored backtrace functions.
13900
0a2bb1a9
GM
139012011-06-11 Glenn Morris <rgm@gnu.org>
13902
13903 * calendar/appt.el (appt-disp-window-function): Doc fix.
13904 (appt-check): Handle overlapping appointments. (Bug#8337)
13905
6198ccd0
MR
139062011-06-11 Martin Rudalics <rudalics@gmx.at>
13907
13908 * window.el (window-tree-1, window-tree): New functions, moving
13909 the latter to window.el.
13910 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13911 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13912 (bw-refresh-edges): Remove.
13913 (balance-windows-1, balance-windows-2): New functions.
13914 (balance-windows): Rewrite in terms of window tree functions,
13915 balance-windows-1 and balance-windows-2.
13916 (bw-adjust-window): Remove.
13917 (balance-windows-area-adjust): New function with functionality of
13918 bw-adjust-window but using resize-window.
2b75be67
SM
13919 (set-window-text-height): Rewrite doc-string.
13920 Use normalize-live-window and resize-window.
13921 (enlarge-window-horizontally, shrink-window-horizontally):
13922 Rename argument to DELTA.
6198ccd0
MR
13923 (window-buffer-height): New function.
13924 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13925 Rewrite using new window resize routines.
2b75be67
SM
13926 (kill-buffer-and-window, mouse-autoselect-window-select):
13927 Use ignore-errors instead of condition-case.
6198ccd0
MR
13928 (quit-window): Call delete-frame instead of delete-windows-on
13929 for the only buffer on frame.
13930
9397e56f
MR
139312011-06-10 Martin Rudalics <rudalics@gmx.at>
13932
13933 * loadup.el (top-level): Load window before files for the sake
13934 of replace-buffer-in-windows.
13935
13936 * files.el (read-buffer-to-switch)
13937 (switch-to-buffer-other-window)
2b75be67
SM
13938 (switch-to-buffer-other-frame, display-buffer-other-frame):
13939 Move to window.el.
9397e56f
MR
13940
13941 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13942 (previous-buffer): Move to window.el.
13943
13944 * bindings.el (unbury-buffer): Move to window.el.
13945
13946 * window.el (delete-other-windows-vertically): Move after
13947 definition of delete-other-windows.
13948 (other-window, delete-windows-on, replace-buffer-in-windows):
13949 Move here from window.c.
13950 (record-window-buffer, unrecord-window-buffer)
13951 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13952 (switch-to-next-buffer): New functions.
13953 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13954 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13955 (previous-buffer): Move here from simple.el.
13956 Call switch-to-prev-buffer.
9397e56f
MR
13957 (bury-buffer): Move here from buffer.c. Switch to previous
13958 buffer when window cannot be deleted.
13959 (unbury-buffer): Move here from bindings.el.
13960 (ctl-x-map): Move binding for other-window from window.c to
13961 here.
13962 (read-buffer-to-switch, switch-to-buffer-other-window)
13963 (switch-to-buffer-other-frame): Move here from files.el.
13964 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13965 (switch-to-buffer): Move here from buffer.c.
13966 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13967
562dd5e9
MR
139682011-06-10 Martin Rudalics <rudalics@gmx.at>
13969
13970 * window.el (window-min-height, window-min-width): Move here
13971 from window.c. Add defcustoms and rewrite doc-strings.
13972 (resize-mini-window, resize-window): New functions.
13973 (adjust-window-trailing-edge, enlarge-window, shrink-window):
13974 Move here from window.c.
13975 (maximize-window, minimize-window): New functions.
13976 (delete-window, delete-other-windows, split-window): Move here
13977 from window.c.
13978 (window-split-min-size): New function.
13979 (split-window-keep-point): Mention split-window-above-each-other
13980 instead of split-window-vertically.
2b75be67 13981 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
13982 Rename split-window-vertically to split-window-above-each-other
13983 and provide defalias for old definition.
13984 (split-window-side-by-side, split-window-horizontally):
13985 Rename split-window-horizontally to split-window-side-by-side
13986 and provide defalias for the old definition.
562dd5e9
MR
13987 (ctl-x-map): Move bindings for delete-window,
13988 delete-other-windows and enlarge-window here from window.c.
13989 Replace bindings for split-window-vertically and
13990 split-window-horizontally by bindings for
13991 split-window-above-each-other and split-window-side-by-side.
13992
13993 * cus-start.el (all): Remove entries for window-min-height and
13994 window-min-width. Add entries for window-splits and
13995 window-nest.
13996
f0da764a
GM
139972011-06-09 Glenn Morris <rgm@gnu.org>
13998
80675c21
GM
13999 * calendar/appt.el (appt-mode-line): New function.
14000 (appt-check, appt-disp-window): Use it.
14001
f0da764a
GM
14002 * files.el (hack-one-local-variable-eval-safep):
14003 Allow minor-modes with explicit +/-1 arguments.
14004
59f623b7
TZ
140052011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14006
14007 * term/xterm.el (xterm): Add defgroup.
14008 (xterm-extra-capabilities): Add defcustom to supply known xterm
14009 capabilities, skip querying them, or query them (default).
14010 (terminal-init-xterm): Use it.
14011 (terminal-init-xterm-modify-other-keys): New function to set up
14012 modifyOtherKeys support to simplify `terminal-init-xterm'.
14013
9aab8e0d
MR
140142011-06-09 Martin Rudalics <rudalics@gmx.at>
14015
14016 * window.el (resize-window-reset, resize-window-reset-1)
14017 (resize-subwindows-skip-p, resize-subwindows-normal)
14018 (resize-subwindows, resize-other-windows, resize-this-window)
14019 (resize-root-window, resize-root-window-vertically)
14020 (window-deletable-p, window-or-subwindow-p)
14021 (frame-root-window-p): New functions.
14022
e8b08aee
GM
140232011-06-09 Glenn Morris <rgm@gnu.org>
14024
14025 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14026 (ange-ftp-get-files): Use it.
14027
254c37a5
AK
140282011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14029
14030 * mail/sendmail.el (mail-recover-1, mail-recover):
14031 * files.el (recover-file, recover-session):
14032 Handle dired-listing-switches not being just a single short option.
14033
35d7dbd3
GM
140342011-06-09 Glenn Morris <rgm@gnu.org>
14035
14036 * calendar/appt.el (appt-display-message, appt-disp-window):
14037 Handle lists of appointments.
14038
387522b2
MR
140392011-06-08 Martin Rudalics <rudalics@gmx.at>
14040
2b75be67
SM
14041 * window.el (one-window-p): Move down in code.
14042 Rewrite doc-string.
14043 (window-current-scroll-bars): Rewrite doc-string.
14044 Normalize live window argument.
387522b2
MR
14045 (walk-windows, get-window-with-predicate, count-windows):
14046 Rewrite doc-string. Use window-list-1.
14047 (window-in-direction-2, window-in-direction, get-mru-window):
14048 New functions.
14049
d8e4b68b 140502011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14051
14052 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14053 Doc fix (Bug#8713).
14054
140552011-06-08 Chong Yidong <cyd@stupidchicken.com>
14056
14057 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14058
140592011-06-08 Juanma Barranquero <lekktu@gmail.com>
14060
14061 * loadhist.el (unload-feature-special-hooks):
14062 Add `comint-output-filter-functions'.
14063
0de12c52
IK
140642011-06-08 Ivan Kanis <gnu@kanis.fr>
14065
14066 * calendar/appt.el (appt-check): Move some initializations into the let.
14067
f3d1777e
MR
140682011-06-08 Martin Rudalics <rudalics@gmx.at>
14069
14070 * window.el (window-height): Defalias to window-total-height.
14071 (window-width): Defalias to window-body-width.
14072
18af70d0
CY
140732011-06-07 Chong Yidong <cyd@stupidchicken.com>
14074
14075 * image-mode.el (image-toggle-animation): New command.
14076 (image-mode-map): Bind it to RET.
14077 (image-mode): Update message.
14078 (image-toggle-display-image): Avoid a spurious cache flush.
14079 (image-transform-rotation): Doc fix.
14080 (image-transform-properties): Return quickly in the normal case.
14081 (image-animate-loop): Rename from image-animate-max-time.
14082
2b75be67 14083 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14084 (create-animated-image): Remove unnecessary function.
14085 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14086 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14087 (image-animate-timer): Use car-safe.
14088 (image-animate-timeout): Rename argument.
14089
190b47e6
MR
140902011-06-07 Martin Rudalics <rudalics@gmx.at>
14091
14092 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14093 window.c. Rename first argument to ALL-FRAMES.
14094 Rephrase doc-strings.
14095 (get-buffer-window-list): Rewrite using window-list-1.
14096 Rephrase doc-string.
a1511caf
MR
14097 (window-safe-min-height, window-safe-min-width): New constants.
14098 (window-size-ignore, window-min-size, window-min-size-1)
14099 (window-sizable, window-sizable-p, window-size-fixed-1)
14100 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14101 (window-max-delta-1, window-max-delta, window-resizable)
14102 (window-resizable-p, window-total-height, window-total-width)
14103 (window-body-width): New functions.
14104 (window-full-height-p, window-full-width-p): Rewrite using
14105 window-total-size.
14106 (window-body-height): Rewrite using window-body-size.
190b47e6 14107
85cc1f11
MR
141082011-06-06 Martin Rudalics <rudalics@gmx.at>
14109
14110 * window.el (window-right, window-left, window-child)
14111 (window-child-count, window-last-child, window-any-p)
14112 (normalize-live-buffer, normalize-live-frame)
14113 (normalize-any-window, normalize-live-window)
14114 (window-iso-combination-p, window-iso-combined-p)
14115 (window-iso-combinations)
14116 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14117 (windows-with-parameter, window-with-parameter)
14118 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14119 (window-atom-check, window-side-check, window-check):
14120 New functions.
85cc1f11
MR
14121 (ignore-window-parameters, window-sides, window-sides-vertical)
14122 (window-sides-slots): New variables.
14123 (window-size-fixed): Move down in code. Minor doc-string fix.
14124
e7156492
AS
141252011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14126
14127 * comint.el (comint-dynamic-complete-as-filename)
14128 (comint-dynamic-complete-filename): Correctly call
14129 completion-in-region.
14130
7e821d0d
DD
141312011-06-05 Deniz Dogan <deniz@dogan.se>
14132
14133 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14134 in last change.
14135
ac09b8a1
DD
141362011-06-05 Deniz Dogan <deniz@dogan.se>
14137
14138 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14139 (rcirc): Use it to prompt for encryption.
14140
34699b85
RW
141412011-06-05 Roland Winkler <winkler@gnu.org>
14142
14143 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14144 (bibtex-search-entries): New command bound to C-c C-a.
14145 (bibtex-display-entries): New function.
14146
004dedd3
RW
141472011-06-05 Roland Winkler <winkler@gnu.org>
14148
14149 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14150 (bibtex-insert-kill): After yanking insert newline if necessary.
14151 (bibtex-initialize): Call bibtex-string-files-init only once.
14152 (bibtex-mode): Do not call easy-menu-add.
14153 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14154 (bibtex-yank): Set arg properly if nil.
14155
022fe7ce
RW
141562011-06-05 Roland Winkler <winkler@gnu.org>
14157
2b75be67
SM
14158 * textmodes/bibtex.el (bibtex-search-entry-globally):
14159 New variable.
022fe7ce
RW
14160 (bibtex-search-entry): Use it.
14161
b7c3692a
RW
141622011-06-05 Roland Winkler <winkler@gnu.org>
14163
14164 * textmodes/bibtex.el (bibtex-entry-format): New option
14165 sort-fields.
14166 (bibtex-format-entry, bibtex-reformat): Honor this option.
14167 (bibtex-parse-entry): Return fields in proper order.
14168
8eda563d
JB
141692011-06-05 Juanma Barranquero <lekktu@gmail.com>
14170
14171 * doc-view.el (doc-view-remove-if): Move computation of result out
14172 of `dolist' to silence misleading lexical-binding warning.
14173
7dbe3dbc
CY
141742011-06-04 Chong Yidong <cyd@stupidchicken.com>
14175
14176 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14177 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14178
0c33dd17
MA
141792011-06-04 Michael Albinus <michael.albinus@gmx.de>
14180
14181 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14182 "SunOS 5.10".
14183
f8f91c2b
MA
141842011-06-04 Michael Albinus <michael.albinus@gmx.de>
14185
14186 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14187 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14188 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14189 (tramp-parse-putty):
14190 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14191 (tramp-completion-function-alist-ssh)
14192 (tramp-completion-function-alist-telnet)
14193 (tramp-completion-function-alist-su)
14194 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14195 cookie.
14196
14197 * net/tramp-ftp.el:
14198 * net/tramp-sh.el:
14199 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14200 load "tramp.el" `tramp-set-completion-function'.
14201
e17d9003
SM
142022011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14203
14204 * shell.el: Require and use pcomplete.
14205 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14206 (shell-completion-vars): Set pcomplete-default-completion-function.
14207
6c4cab03
DD
142082011-06-04 Deniz Dogan <deniz@dogan.se>
14209
14210 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14211 `memq' (Bug#8799).
14212
ea9fafe0
SM
142132011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14214
14215 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14216
b3e945d3
JB
142172011-06-02 Juanma Barranquero <lekktu@gmail.com>
14218
14219 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14220 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14221 * vc/log-view.el (log-view-beginning-of-defun):
14222 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14223 (smerge-refine-forward, smerge-refine-chopup-region):
14224 Silence warning for unused `dotimes' counter variables.
14225
7d520089
SM
142262011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14227
14228 * net/tramp.el (tramp-with-progress-reporter): Rename from
14229 with-progress-reporter. Use `declare'.
14230 * net/tramp-smb.el:
14231 * net/tramp-sh.el:
14232 * net/tramp-gvfs.el: Update all uses.
14233
a1c2400f
JB
142342011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14235
14236 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14237 buffer isn't killed before making it current.
14238
2403c841
SM
142392011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14240
14241 Silence various byte-compiler warnings.
14242 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14243 `access-type' and new obsolescence format.
14244 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14245 new format.
14246 (byte-compile-check-variable): New `access-type' argument.
14247 Only warn if the access-type is obsolete.
14248 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14249 (byte-compile-variable-set): Adjust callers.
14250 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14251 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14252 setting it as obsolete.
14253 * simple.el (minibuffer-completing-symbol):
14254 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14255 access as obsolete.
14256 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14257 obsolete yet.
14258 * international/quail.el (quail-mouse-choose-completion): Remove unused
14259 code referring to obsolete var.
14260 (quail-choose-completion-string): Remove.
14261 * server.el (server-clients-with, server-kill-buffer-query-function)
14262 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14263 * proced.el (proced-send-signal):
14264 * emacs-lisp/lisp.el (lisp-complete-symbol):
14265 Replace completion-annotate-function with completion-extra-properties.
14266
2462470b
SM
142672011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14268
fb5b2591
SM
14269 * simple.el (goto-line): Use read-number.
14270 (overriding-map-is-bound): Remove.
14271 (saved-overriding-map): Change default.
14272 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14273 Take the map as argument.
14274 (universal-argument, negative-argument, digit-argument): Use it.
14275 (restore-overriding-map): Adjust.
14276 (do-auto-fill): Use fill-forward-paragraph.
14277 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14278
fd6fa53f
SM
14279 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14280 (minibuffer-inactive-mode): New major mode.
14281 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14282 the *Messages* buffer" hack.
14283 (mouse-popup-menubar): Don't burp if the event is a normal key.
14284
2462470b
SM
14285 Miscellaneous tweaks.
14286 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14287 lexical scoping as in subr.el's dolist and dotimes.
14288 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14289 Silence compiler warning.
14290 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14291 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14292 * international/ccl.el (ccl-compile): Trivial simplification.
14293 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14294 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14295 `printflag' argument.
14296 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14297 Purecopy the whole obsolescence data.
14298
108bf785
LL
142992011-06-01 Leo Liu <sdl.web@gmail.com>
14300
14301 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14302 improve doc-string as suggested by Marco Pessotto
14303 <melmothx@gmail.com>.
14304 (rcirc-print): Fix last change.
14305
30a23501
SM
143062011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14307
14308 * minibuffer.el (complete-with-action): Return nil for the metadata and
14309 boundaries of non-functional tables.
14310 (completion-table-dynamic): Return nil for the metadata.
14311 (completion-table-with-terminator): Add default case, using
14312 complete-with-action.
14313 (completion--metadata): New function.
14314 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14315 to try and avoid pathological performance problems.
14316 (completion--embedded-envvar-table): Return `category' metadata.
14317
bcd54f83
LMI
143182011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14319
14320 * subr.el (process-alive-p): New tiny convenience function.
14321
e227544d
SM
143222011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14323
14324 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14325 content but also its previous major mode.
14326
e8296fdc
HE
143272011-05-31 Helmut Eller <eller.helmut@gmail.com>
14328
4d61f28d 14329 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14330 *Backtrace* buffer when we exit with C-M-c.
14331
620c53a6
SM
143322011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14333
14334 * minibuffer.el: Add metadata method to completion tables.
14335 (completion-category-overrides): New defcustom.
14336 (completion-metadata, completion--field-metadata)
14337 (completion-metadata-get, completion--styles)
14338 (completion--cycle-threshold): New functions.
14339 (completion-try-completion, completion-all-completions):
14340 Add `metadata' argument to choose completion-styles.
14341 (completion--do-completion): Use metadata to choose cycling.
14342 (completion-all-sorted-completions): Use metadata for sorting.
14343 Remove :completion-cycle-penalty which is not needed any more.
14344 (completion--try-word-completion): Add `metadata' argument.
14345 (minibuffer-completion-help): Check metadata for annotation function
14346 and sorting.
14347 (completion-file-name-table): Return `category' metadata.
14348 (minibuffer-completing-file-name): Make obsolete.
14349 * simple.el (minibuffer-completing-symbol): Make obsolete.
14350 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14351 completion-try-completion.
14352
1257e755
SM
143532011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14354
14355 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14356
3767e706
LL
143572011-05-30 Leo Liu <sdl.web@gmail.com>
14358
14359 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14360 (rcirc-print): Decode all incoming messages (bug#8744).
14361 (rcirc-decode-coding-system): Allow value nil for automatic coding
14362 system detection.
3767e706 14363
d1a5d56a
GM
143642011-06-01 Glenn Morris <rgm@gnu.org>
14365
14366 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14367
e8cbec34
CY
143682011-05-29 Chong Yidong <cyd@stupidchicken.com>
14369
14370 * image.el (image-animate-max-time): Allow nil and t values.
14371 Default to nil.
14372 (create-animated-image): Doc fix.
14373 (image-animate-start): Remove second arg; just use
14374 image-animate-max-time.
14375 (image-animate-timeout): Doc fix. Args changed.
14376
14377 * image-mode.el (image-toggle-display-image): Ensure that the
14378 image spec passed to the animate timer is the same object as in
58179cce 14379 the buffer's display property (Bug#6981).
e8cbec34
CY
14380 (image-transform-properties): Doc fix.
14381
14382 * image.el (image-animate-max-time): Default to nil.
14383
159daf87
MR
143842011-05-29 Martin Rudalics <rudalics@gmx.at>
14385
14386 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14387 entire buffer list (Bug#8184).
14388
d66c4c7c
CY
143892011-05-29 Chong Yidong <cyd@stupidchicken.com>
14390
14391 * image.el (imagemagick-types-inhibit)
14392 (imagemagick-register-types): Doc fix.
14393
80aec780
DD
143942011-05-29 Deniz Dogan <deniz@dogan.se>
14395
14396 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14397 default.
14398
1dd3c2d9
CY
143992011-05-29 Chong Yidong <cyd@stupidchicken.com>
14400
14401 * select.el: Don't perform clipboard-manager saving in hooks;
14402 leave the hooks empty.
14403
60e56523
LL
144042011-05-28 Leo Liu <sdl.web@gmail.com>
14405
14406 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14407 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14408 (occur-edit-mode): New major mode (Bug#8463).
14409 (occur-after-change-function): New function.
14410 (occur-engine): Give Occur tags a read-only property.
14411
2b1e1a22
KR
144122011-05-28 Kevin Ryde <user42@zip.com.au>
14413
14414 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14415
5d344e88
CY
144162011-05-28 Chong Yidong <cyd@stupidchicken.com>
14417
8e6ca83d
CY
14418 * bindings.el (help-echo): Make the initial non-indicator dash
14419 empty on graphical terminals (Bug#7295).
14420
5d344e88
CY
14421 * files.el (auto-mode-alist): Move config rule after the
14422 in-stripping one (Bug#8547).
14423
bfbbace7
CY
14424 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14425
fbeba6e2
CY
14426 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14427 setting (Bug#8740).
14428
60ed8c72
AA
144292011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14430
4ac619f0
AA
14431 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14432 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14433 (Bug#8539).
60ed8c72 14434
23db196e
CY
144352011-05-28 Chong Yidong <cyd@stupidchicken.com>
14436
14437 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14438
5012f24c
DK
144392011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14440
14441 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14442 (hs-hide-block-at-point, hs-find-block-beginning)
14443 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14444 (Bug#8279).
14445
6a639b16
GM
144462011-05-28 Glenn Morris <rgm@gnu.org>
14447
14448 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14449
d43eaf2c
CY
144502011-05-28 Chong Yidong <cyd@stupidchicken.com>
14451
5199bde1
CY
14452 * help-fns.el (describe-function-1): If the function is a derived
14453 major mode, print the parent mode.
14454
d43eaf2c
CY
14455 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14456 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14457
423428a8
SM
144582011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14459
0ff8e1ba 14460 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14461 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14462 * progmodes/etags.el (tags-completion-at-point-function):
14463 * info-look.el (info-lookup-completions-at-point): Mark as
14464 non-exclusive.
14465 (info-complete): Adjust accordingly.
14466
423428a8
SM
14467 * info-look.el: Convert to lexical-binding and completion-at-point.
14468 (info-lookup-completions-at-point): New function.
14469 (info-complete): Use it and completion-in-region.
14470
b74aa22b
DA
144712011-05-28 Drew Adams <drew.adams@oracle.com>
14472
14473 * isearch.el: Let M-e start with point at the first mismatched char.
14474 (isearch-fail-pos): New function.
14475 (isearch-edit-string): Use it.
14476
66e2e71d
DK
144772011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14478
14479 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14480
b1890b0f 144812011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14482
14483 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14484 traversal functions for avl-trees.
14485 (avl-tree--stack): New struct.
14486 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14487 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14488 (avl-tree--do-enter): Add optional `updatefun' arg.
14489 Change return value.
eb95d01d 14490 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14491 (avl-tree--do-delete): Add `test' and `nilflag' args.
14492 Change return value.
eb95d01d
TC
14493 (avl-tree-member): Add optional `nilflag'
14494 (avl-tree-member-p): New function.
14495 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14496 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14497 (avl-tree-stack-empty-p): New functions.
14498
3769ddcf
TC
14499 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14500 avl-tree--del-balance1 and make it work both ways.
14501 (avl-tree--del-balance2): Remove.
14502 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14503 make it work both ways.
14504 (avl-tree--enter-balance2): Remove.
14505 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14506 New macros.
14507 (avl-tree--mapc, avl-tree-map): Add direction argument.
14508
eb95d01d 145092011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14510
14511 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14512
a9f737ee
CY
145132011-05-27 Chong Yidong <cyd@stupidchicken.com>
14514
14515 * select.el: Support clipboard managers with built-in function
14516 x-clipboard-manager-save, via delete-frame-functions and
14517 kill-emacs-hook.
14518 (xselect-convert-to-targets): Add MULTIPLE target to list.
14519 (xselect-convert-to-save-targets): New function.
14520
c92a1e54
KH
145212011-05-27 Kenichi Handa <handa@m17n.org>
14522
14523 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14524 let-binding rfc2047-encode-encoded-words to nil.
14525
e145f188
GM
145262011-05-27 Glenn Morris <rgm@gnu.org>
14527
5ec8a862
GM
14528 * mail/emacsbug.el: Don't require url-util.
14529
4b29d9fb
GM
14530 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14531
e145f188
GM
14532 * files.el (set-auto-mode):
14533 Also respect mode: entries at the end of the file. (Bug#8586)
14534
7d15102b
GM
145352011-05-26 Glenn Morris <rgm@gnu.org>
14536
98f593b8
GM
14537 * files.el (hack-local-variables-prop-line, hack-local-variables):
14538 Downcase mode names, as seems to be traditional.
27b48e63 14539 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14540
7d15102b
GM
14541 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14542 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14543
51d5b4ec
JD
145442011-05-25 Julien Danjou <julien@danjou.info>
14545
14546 * textmodes/rst.el (rst-define-level-faces): Do not define face
14547 symbol if it is already defined.
14548
91513f63
VB
145492011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14550
14551 * play/5x5.el (5x5-new-game, 5x5-randomize):
14552 Reset 5x5-solver-output to nil when a new grid is cast.
14553 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14554 these debugging traces, as defmacro breaks the compiled code.
14555
4d90d6d0
DK
145562011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14557
14558 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14559
e1b90ef6
LL
145602011-05-24 Leo Liu <sdl.web@gmail.com>
14561
14562 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14563 (vc-bzr-sha1): Adapt.
14564
d8e4b68b 14565 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14566
14567 * bindings.el: Provide sha1 feature.
14568
db0406bb 145692011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14570
14571 * mail/sendmail.el: Require `rfc2047'.
14572 (mail-insert-from-field): Do not perform RFC2047 encoding.
14573 (mail-encode-header): New function.
14574 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14575 buffer to the return value of select-message-coding-system.
14576 Call mail-encode-header.
b8d747b9
KH
14577
14578 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14579
db0406bb 145802011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14581
4d90d6d0
DK
14582 * mail/supercite.el (sc-default-cite-frame):
14583 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14584
eb8a5e9b
GM
145852011-05-24 Glenn Morris <rgm@gnu.org>
14586
f8630703
GM
14587 * progmodes/python.el (brm-menu): Declare.
14588
8831bbed
GM
14589 * emulation/viper.el (viper-set-hooks): Declare.
14590
eb8a5e9b
GM
14591 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14592 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14593 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14594 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14595 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14596 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14597
a2a25d24
SM
145982011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14599
14600 Add an :exit-function for completion-at-point.
14601
14602 * minibuffer.el (completion--done): New fun.
14603 (completion--do-completion): Use it. New arg `expect-exact'.
14604 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14605 since completion--do-completion does it for us now.
14606 (minibuffer-force-complete): Use completion--done and
14607 completion--replace. Handle sole-completion case with more care.
14608 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14609 (completion-extra-properties): New var.
14610 (completion-annotate-function): Make obsolete.
14611 (minibuffer-completion-help): Adjust accordingly.
14612 Use completion-list-insert-choice-function.
14613 (completion-at-point, completion-help-at-point):
14614 Bind completion-extra-properties.
14615 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14616 * simple.el (completion-list-insert-choice-function): New var.
14617 (completion-setup-function): Preserve it.
14618 (choose-completion): Pay attention to it, shuffle the code a bit.
14619 (choose-completion-string): New arg `insert-function'.
14620
14621 * textmodes/bibtex.el: Convert to lexical binding.
14622 (bibtex-mode-map): Use completion-at-point.
14623 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14624 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14625 (bibtex-complete): Define as obsolete alias.
14626 (bibtex-complete-internal): Remove.
14627 (bibtex-format-entry): Remove unused sub-group in regexp.
14628 * shell.el (shell--command-completion-data)
14629 (shell-environment-variable-completion):
14630 * pcomplete.el (pcomplete-completions-at-point):
14631 * comint.el (comint--complete-file-name-data): Use :exit-function
14632 instead of completion-table-with-terminator so it also works for
14633 choose-completion.
14634
e44e373d
SM
146352011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14636
4f91a816
SM
14637 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14638
782fc819
SM
14639 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14640 (bug#8710).
14641
e44e373d
SM
14642 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14643
381987c3
KM
146442011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14645
14646 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14647 customization variable and implement: If non-nil, auto-fill will
14648 be inhibited while on topic's header line.
14649
b776bc70
VB
146502011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14651
14652 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14653 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14654 always have a solution in grid size = 5 cases.
14655 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14656 (5x5-solver-output, 5x5-log-buffer): New vars.
14657 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14658 Make these variables buffer local to achieve 5x5 multi-session-ness.
14659 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14660 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14661 (5x5-solve-suggest): New funs.
14662 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14663 randomize a grid so that we ensure that there is always a solution.
14664 (5x5-make-random-grid): Allow other movement than flipping.
14665
7de88b6e
KR
146662011-05-23 Kevin Ryde <user42@zip.com.au>
14667
14668 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14669 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14670 advice and passes PREDICATE.
14671
b1ef1257
SM
146722011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14673
bbca48fe
SM
14674 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14675 byte-compile-lambda if it's actually a lambda.
14676
b1ef1257
SM
14677 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14678 Fix function quoting. Use backquote better.
14679
92a9cc65
YS
146802011-05-22 Yuanle Song <sylecn@gmail.com>
14681
14682 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14683 matching (Bug#8516).
14684
f0fb8059
JA
146852011-01-22 Jari Aalto <jari.aalto@cante.net>
14686
14687 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14688 different face (Bug#8178).
14689
d5b44c93
CY
146902011-05-22 Chong Yidong <cyd@stupidchicken.com>
14691
14692 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14693 defface (Bug#8144).
14694
79106a44
SM
146952011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14696
9c848d8a
SM
14697 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14698 funcall as well (bug#8712). Warn when performing those conversions.
14699 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14700
79106a44
SM
14701 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14702
88dfa756
GM
147032011-05-22 Glenn Morris <rgm@gnu.org>
14704
14705 * files.el (hack-local-variables-prop-line): Small simplifications.
14706 (hack-local-variables, hack-local-variables-prop-line):
14707 If MODE-ONLY, return the mode, rather than just `t'.
14708
b7cf2c79
SM
147092011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14710
14711 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14712
3f1a8558
GM
147132011-05-21 Glenn Morris <rgm@gnu.org>
14714
7e4ccca3
GM
14715 * files.el (hack-local-variables-prop-line, hack-local-variables):
14716 If only interested in the mode, don't bother doing the other stuff.
14717
637d46ca
GM
14718 * image-mode.el (image-after-revert-hook):
14719 Redraw all frames on which the image is visible. (Bug#8567)
14720
973d955b
GM
14721 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14722
3f1a8558
GM
14723 * wid-edit.el (widget-checklist-match-inline):
14724 Fix 2011-04-19 change. (Bug#8649)
14725
96479927
SM
147262011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14727
1dcf791f
SM
14728 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14729 Also allow singlespace after single-letter capitals followed by a dot.
14730
96479927
SM
14731 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14732 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14733
35fd0881
N
147342011-05-20 Nix <nix@esperi.org.uk>
14735
14736 * files.el (basic-save-buffer-2):
14737 Fix handling of break-hardlink-on-save with non-existent files.
14738
82745640
DD
147392011-05-19 Deniz Dogan <deniz@dogan.se>
14740
14741 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14742 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14743
4a720484
GM
147442011-05-19 Glenn Morris <rgm@gnu.org>
14745
d1f21341
GM
14746 * progmodes/f90.el (f90-type-def-re):
14747 Handle "type, bind(c)". (Bug#8691)
14748
4a720484
GM
14749 * emacs-lisp/autoload.el (batch-update-autoloads):
14750 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14751
2fb0a219
MA
147522011-05-18 Michael Albinus <michael.albinus@gmx.de>
14753
14754 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14755 property for the correct connection in case of multihops.
14756
e565dd37
GM
147572011-05-18 Glenn Morris <rgm@gnu.org>
14758
c2571358 14759 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14760 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14761
e565dd37
GM
14762 Rationalize calendar handling of day and month abbrev-arrays.
14763 * calendar/calendar.el (calendar-customized-p): New function.
14764 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14765 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14766 Add :set function.
14767 (calendar-abbrev-length, calendar-day-abbrev-array)
14768 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14769 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14770 Elements may no longer be nil.
14771 (calendar-day-name, calendar-month-name):
14772 Update for changed nature of abbrev arrays.
14773 * calendar/diary-lib.el (diary-name-pattern):
14774 Update for changed nature of abbrev arrays.
14775 (diary-mark-entries-1): Update calendar-make-alist calls.
14776 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14777 * calendar/cal-html.el (cal-html-day-abbrev-array):
14778 Simply inherit from calendar-day-abbrev-array.
14779
1d99a745
SM
147802011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14781
14782 * progmodes/grep.el (grep-mode): Disable default
14783 compilation-directory-matcher setting (bug#8684).
14784
7c1d9aa0
MA
147852011-05-17 Michael Albinus <michael.albinus@gmx.de>
14786
14787 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14788 instead of "head" and "tail". There were problems with SunOS 5.9,
14789 and it performs better.
14790
3952e9d8
GM
147912011-05-17 Glenn Morris <rgm@gnu.org>
14792
2dd12e7f
GM
14793 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14794
e4157b9c
GM
14795 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14796 Replace obsolete function.
14797
8e249bbd
GM
14798 * shell.el (pcomplete-parse-arguments-function): Declare.
14799
3952e9d8
GM
14800 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14801 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14802 (appt-check): Doc fixes.
14803 (appt-disp-window-function, appt-delete-window-function):
14804 Remove needless special case in custom :type.
14805 (appt-display-count): Default to 0, not nil.
14806 (appt-check): Reset appt-display-count to 0, not nil.
14807
c71a0d48 148082011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14809
c71a0d48
GM
14810 * progmodes/python.el (python-font-lock-keywords):
14811 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14812
31d55be9
SM
148132011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14814
14815 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14816
3bfacb2f
KR
148172011-05-16 Kevin Ryde <user42@zip.com.au>
14818
14819 * info-look.el (makefile-automake-mode): New setups, looking in
14820 automake manual, then makefile-mode.
14821 (makefile-mode): Remove automake manual, have it just in
14822 makefile-automake-mode since there's various things different or
14823 not relevant to plain make.
14824 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14825 believe a hypothetical automake-mode would go to makefile-mode,
14826 not the other way around.
14827
c8e83751
CY
148282011-05-15 Chong Yidong <cyd@stupidchicken.com>
14829
5e9e35cd
CY
14830 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14831 hunk-end tags (Bug#8672).
14832
c8e83751
CY
14833 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14834 vc-annotate-show-diff-revision-at-line (Bug#8671).
14835
50b23e5a
GM
148362011-05-14 Glenn Morris <rgm@gnu.org>
14837
7210a739
GM
14838 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14839 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14840 (change-log-font-lock-keywords): Also handle multiple author lines
14841 with leading tabs. (Bug#8644)
7210a739 14842
4691905a
GM
14843 * calendar/appt.el (appt-check): Rename some local variables.
14844 Some simplification/reordering.
14845
50b23e5a
GM
14846 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14847 (feedmail-sendmail-f-doesnt-sell-me-out)
14848 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14849 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14850 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14851 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14852 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14853 (feedmail-binmail-gnulinuxish-template):
14854 Rename from feedmail-binmail-linuxish-template.
14855 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14856 Use insert-buffer-substring.
14857
215cda7c
BC
148582011-05-14 Bill Carpenter <bill@carpenter.org>
14859
14860 * mail/feedmail.el (feedmail-patch-level): Increase.
14861 (feedmail-debug): New custom group.
14862 (feedmail-confirm-outgoing-timeout)
14863 (feedmail-sendmail-f-doesnt-sell-me-out)
14864 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14865 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14866 (feedmail-sender-line, feedmail-from-line)
14867 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14868 (feedmail-spray-this-address)
215cda7c
BC
14869 (feedmail-spray-address-fiddle-plex-list)
14870 (feedmail-queue-use-send-time-for-date)
14871 (feedmail-queue-use-send-time-for-message-id)
14872 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14873 (feedmail-buffer-eating-function):
14874 Doc fixes.
14875 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14876 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14877 (feedmail-message-action-scroll-down): New functions.
14878 (feedmail-queue-directory, feedmail-queue-draft-directory):
14879 Use expand-file-name.
14880 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14881 Remove C-v help entry.
14882 (feedmail-queue-buffer-file-name): New variable.
14883 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14884 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14885 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14886 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14887 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14888 (feedmail-message-action-toggle-spray)
14889 (feedmail-run-the-queue-no-prompts)
14890 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14891 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14892 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14893 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14894 (feedmail-envelope-deducer, feedmail-fiddle-from)
14895 (feedmail-fiddle-sender, feedmail-default-date-generator)
14896 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14897 (feedmail-fiddle-spray-address)
14898 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14899 (feedmail-fiddle-list-of-fiddle-plexes)
14900 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14901 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14902 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14903 Change default. Doc fix.
14904 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14905 (feedmail-binmail-linuxish-template): New constant.
14906 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14907 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14908 (feedmail-send-it): Add debug call.
14909 Use feedmail-queue-buffer-file-name, and
14910 feedmail-send-it-immediately-wrapper.
14911 (feedmail-message-action-send): Add debug call.
14912 Use feedmail-send-it-immediately-wrapper.
14913 (feedmail-queue-express-to-queue): Add debug call.
14914 Run feedmail-queue-express-hook.
14915 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14916 (feedmail-message-action-help-blat):
14917 Rename from feedmail-queue-send-edit-prompt-help-first.
14918 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14919 Check line-endings. Handle errors better.
14920 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14921 Doc fix. Add debug call.
14922 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14923 Use feedmail-queue-send-edit-prompt-inner.
14924 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14925 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14926 from feedmail-queue-send-edit-prompt.
14927 (feedmail-queue-send-edit-prompt-help)
14928 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14929 (feedmail-tidy-up-slug): Add debug call.
14930 Respect feedmail-queue-slug-suspect-regexp.
14931 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14932 (feedmail-dump-message-to-queue): Add debug call.
14933 Expand queue-directory.
14934 (feedmail-dump-message-to-queue): Change message slightly.
14935 Use feedmail-say-chatter.
14936 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14937 (feedmail-send-it-immediately-wrapper): New function.
14938 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14939 Insert empty string rather than newline. Handle full-frame case.
14940 Use catch/throw. Use feedmail-say-chatter.
14941 (feedmail-fiddle-from): Try mail-host-address.
14942 (feedmail-default-message-id-generator): Doc fix.
14943 Bind system-time-locale. Handle missing end.
14944 (feedmail-fiddle-x-mailer): Add debug call.
14945 Handle feedmail-x-mailer-line being nil.
14946 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14947 Add debug call. Use buffer-substring-no-properties.
14948 (feedmail-say-debug, feedmail-say-chatter): New functions.
14949 (feedmail-find-eoh): Give an explicit error.
14950
42c7e61e
UJ
149512011-05-13 Ulf Jasper <ulf.jasper@web.de>
14952
c2571358 14953 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14954 family from helvetica to sans.
c2571358 14955 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14956 etc/images/newsticker.
14957
c2571358 14958 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14959 family from helvetica to sans.
14960
14961 * net/newst-plainview.el (newsticker-new-item-face)
14962 (newsticker-old-item-face, newsticker-immortal-item-face)
14963 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14964 (newsticker-statistics-face): Change default family from
42c7e61e 14965 helvetica to sans.
c2571358 14966 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14967 etc/images/newsticker.
14968
5d3385a0
JB
14969 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14970 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14971 auto-marking.
14972
8497a297
DV
149732011-05-13 Didier Verna <didier@xemacs.org>
14974
14975 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
14976 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
14977 TODO entries.
8497a297
DV
14978 (lisp-lambda-list-keyword-parameter-indentation)
14979 (lisp-lambda-list-keyword-parameter-alignment)
14980 (lisp-lambda-list-keyword-alignment): New customizable user options.
14981 (lisp-indent-defun-method): Improve docstring.
14982 (extended-loop-p): Fix comment.
14983 (lisp-indent-lambda-list-keywords-regexp): New variable.
14984 (lisp-indent-lambda-list): New function.
14985 (lisp-indent-259): Use it.
14986 (lisp-indent-defmethod): Support for more than one
14987 method qualifier and properly indent methods lambda-lists.
14988 (defgeneric): Provide a missing common-lisp-indent-function property.
14989
f278f87f
SM
149902011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
14991
14992 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
14993 bounds for the empty string (bug#8667).
14994
5233edd7
GM
149952011-05-13 Glenn Morris <rgm@gnu.org>
14996
5237a44f
GM
14997 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
14998
8340026c 14999 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15000 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15001
5233edd7 15002 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15003 (appt-time-msg-list): Doc fix.
a5464014 15004 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15005
92d10796
AS
150062011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15007
15008 * progmodes/ld-script.el (ld-script-keywords)
15009 (ld-script-builtins): Update keywords list.
15010
914a0ae1
SM
150112011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15012
c89be45f
SM
15013 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15014
914a0ae1
SM
15015 * shell.el (shell-completion-vars): New function.
15016 (shell-mode):
15017 * simple.el (read-shell-command): Use it.
15018 (blink-matching-open): No need for " [...]" in minibuffer-message.
15019
98dc3df3
GM
150202011-05-12 Glenn Morris <rgm@gnu.org>
15021
15022 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15023 (appt-check): Simplify.
15024
d2fc7e3d 150252011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15026
4d61f28d 15027 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15028 literal "/dev/null".
15029
d2fc7e3d 150302011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15031
15032 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15033 Fix typo.
15034
d2fc7e3d 150352011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15036
3f254caa
SM
15037 * progmodes/which-func.el (which-function):
15038 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15039 which might not be defined (Bug#8260).
15040
d45885f7
GM
150412011-05-12 Glenn Morris <rgm@gnu.org>
15042
15043 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15044 Let byte-compile-initial-macro-environment always take precedence.
15045
488086f4
SM
150462011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15047
15048 * net/rcirc.el: Add support for SSL/TLS connections.
15049 (rcirc-server-alist): New field `encryption'.
15050 (rcirc): Check `encryption' settings.
15051 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15052 Merge make-local-variable into `set'.
15053 (rcirc--connection-open-p): New function.
15054 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15055 the process is not a network process (e.g. running gnutls-cli).
15056 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15057 Make rcirc-(en|de)code-coding-system local here.
15058 (rcirc-mode): Merge make-local-variable into `set'.
15059 (rcirc-parent-buffer): Make permanent buffer-local.
15060 (rcirc-multiline-minor-mode): Don't do it here.
15061 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15062 there's no server buffer.
15063
7d3b9d44
GM
150642011-05-11 Glenn Morris <rgm@gnu.org>
15065
f64049c6
GM
15066 * newcomment.el (comment-kill): Prefix "unused" local.
15067
93c9df73
GM
15068 * term/w32console.el (get-screen-color): Declare.
15069
7d3b9d44
GM
15070 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15071 Handle symbol elements of byte-compile-initial-macro-environment.
15072
9e2dd53f
LL
150732011-05-10 Leo Liu <sdl.web@gmail.com>
15074
488086f4
SM
15075 * bookmark.el (bookmark-bmenu-mode-map):
15076 Bind bookmark-bmenu-search to `/'.
8b340240 15077
9e2dd53f 15078 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15079 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15080 (Footnote-unicode): New function.
15081 (footnote-style-alist): Add unicode style to the list.
15082 (footnote-style): Doc fix.
9e2dd53f 15083
79b70037
GM
150842011-05-10 Jim Meyering <meyering@redhat.com>
15085
15086 Fix doubled-word typos.
15087 * international/quail.el (quail-insert-kbd-layout): and and -> and
15088 * kermit.el: and and -> and
15089 * net/ldap.el (ldap-search-internal): to to -> to
15090 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15091 * progmodes/js.el (js-mode): and and -> and
15092 * textmodes/artist.el (artist-move-to-xy): at at -> at
15093 (artist-draw-region-trim-line-endings): if if -> if
15094 And Safetyc -> Safety.
15095 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15096
b8f82dc1 150972011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15098 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15099
15100 * files.el (hack-one-local-variable-eval-safep):
15101 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15102
4f99f44b
GM
151032011-05-10 Glenn Morris <rgm@gnu.org>
15104
15105 * calendar/diary-lib.el (diary-list-entries-hook)
15106 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15107 (diary-nongregorian-marking-hook, diary-list-entries)
15108 (diary-include-other-diary-files, diary-mark-entries)
15109 (diary-mark-included-diary-files): Doc fixes.
15110
84f29e6b
JB
151112011-05-09 Juanma Barranquero <lekktu@gmail.com>
15112
15113 * misc.el: Require tabulated-list.el during compilation.
15114
9bedd73a
CY
151152011-05-09 Chong Yidong <cyd@stupidchicken.com>
15116
488086f4
SM
15117 * progmodes/compile.el (compilation-start):
15118 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15119 (compilation-filter-hook): Doc fix.
15120
797c735c
DD
151212011-05-09 Deniz Dogan <deniz@dogan.se>
15122
15123 * wdired.el: Remove outdated installation comment. Fix usage
15124 comment.
15125
5f4b1dfe
JB
151262011-05-09 Juanma Barranquero <lekktu@gmail.com>
15127
15128 * misc.el: Implement new command `list-dynamic-libraries'.
15129 (list-dynamic-libraries--loaded-only-p): New variable.
15130 (list-dynamic-libraries--refresh): New function.
15131 (list-dynamic-libraries): New command.
15132
4c44026c
CY
151332011-05-09 Chong Yidong <cyd@stupidchicken.com>
15134
488086f4
SM
15135 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15136 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15137 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15138 higher priority to avoid clobbering by gnu.
15139
027f966d
CY
151402011-05-08 Chong Yidong <cyd@stupidchicken.com>
15141
15142 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15143 if the face has existing theme settings (Bug#8454).
15144
085f5d7d
CY
151452011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15146
488086f4
SM
15147 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15148 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15149
2a86a00c
RS
15150 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15151 special file names `.' and `..' (Bug#8259).
15152
d9c54a06
CY
151532011-05-08 Chong Yidong <cyd@stupidchicken.com>
15154
488086f4
SM
15155 * progmodes/grep.el (grep-mode-font-lock-keywords):
15156 Remove buffer-changing entries.
d9c54a06
CY
15157 (grep-filter): New function.
15158 (grep-mode): Add it to compilation-filter-hook.
15159
15160 * progmodes/compile.el (compilation-filter-hook)
15161 (compilation-filter-start): New defvars.
15162 (compilation-filter): Call compilation-filter-hook prior to
15163 updating the process mark.
15164
c4662635
SM
151652011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15166
15167 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15168
b0512a1d
EZ
151692011-05-07 Eli Zaretskii <eliz@gnu.org>
15170
605c9376
EZ
15171 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15172 mailclient-send-it even if window-system is nil. (Bug#8595)
15173
c4662635
SM
15174 * term/w32console.el (terminal-init-w32console):
15175 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15176 background-mode. (Bug#8597)
15177
d1dc2cc2
SM
151782011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15179
15180 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15181 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15182 New functions.
15183 (defgeneric, eieio--defmethod): Use them.
15184 (eieio-defgeneric): Remove.
15185 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15186
915d1300
GM
151872011-05-07 Glenn Morris <rgm@gnu.org>
15188
a3961c3e
GM
15189 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15190 Use let rather than let*.
15191 (timeclock-find-discrep): Remove unused local.
15192
314347b9
GM
15193 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15194
915d1300
GM
15195 * calendar/appt.el (appt-time-msg-list): Doc fix.
15196
275b59b0
NF
151972011-05-06 Noah Friedman <friedman@splode.com>
15198
15199 * apropos.el (apropos-print-doc): Only use
15200 emacs-lisp-docstring-fill-column when it is bound to an integer,
15201 per that variable's documentation.
15202
6c19f744
SM
152032011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15204
15205 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15206 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15207
60f884b2
GM
152082011-05-06 Glenn Morris <rgm@gnu.org>
15209
5006e634
GM
15210 * calendar/appt.el (appt-message-warning-time): Doc fix.
15211 (appt-warning-time-regexp): New option.
15212 (appt-make-list): Respect appt-message-warning-time.
15213
548d0a63
GM
15214 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15215 New options.
15216 (diary-add-to-list): Strip comments from the displayed string.
15217 (diary-mode): Set comment-start and comment-end.
15218
60f884b2
GM
15219 * vc/diff-mode.el (smerge-refine-subst): Declare.
15220 (diff-refine-hunk): Don't require smerge-mode when compiling.
15221
989681bb
JB
152222011-05-06 Juanma Barranquero <lekktu@gmail.com>
15223
15224 * simple.el (list-processes): Return nil as the docstring says.
15225
a6bc05e1
MA
152262011-05-05 Michael Albinus <michael.albinus@gmx.de>
15227
15228 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15229 to "".
15230 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15231 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15232 determining of binary transfer. (Bug#7383)
15233
23c22e9a
MA
152342011-05-05 Michael Albinus <michael.albinus@gmx.de>
15235
c4662635
SM
15236 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15237 Fix port computation bug. (Bug#8618)
23c22e9a 15238
0bff894f
GM
152392011-05-05 Glenn Morris <rgm@gnu.org>
15240
b8296902
GM
15241 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15242
1f522ce8
GM
15243 * simple.el (shell-dynamic-complete-functions)
15244 (comint-dynamic-complete-functions): Declare.
15245
cf5bee67
GM
15246 * net/network-stream.el (gnutls-negotiate):
15247 * simple.el (tabulated-list-print): Fix declarations.
15248
15249 * progmodes/gud.el (syntax-symbol, syntax-point):
15250 Remove unnecessary and incorrect declarations.
15251
0bff894f
GM
15252 * emacs-lisp/check-declare.el (check-declare-scan):
15253 Handle byte-compile-initial-macro-environment in bytecomp.el
15254
9869b3ae
SM
152552011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15256
15257 Fix earlier half-done eieio-defmethod change (bug#8338).
15258 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15259 Streamline and change calling convention.
15260 (defmethod): Adjust accordingly and simplify.
15261 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15262 new eieio--defmethod.
15263 (slot-boundp): Minor CSE simplification.
15264
9c1d5ac5
MZ
152652011-05-05 Milan Zamazal <pdm@zamazal.org>
15266
15267 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15268 (glasses-make-readable): Use glasses-separate-capital-groups.
15269
455c834e
JB
152702011-05-05 Juanma Barranquero <lekktu@gmail.com>
15271
15272 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15273 (warning-series): Doc fix.
15274 (display-warning): Don't try to create the buffer if we just found it.
15275
9ed7c8cb
CY
152762011-05-04 Chong Yidong <cyd@stupidchicken.com>
15277
15278 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15279 (autoload-find-generated-file): New function.
15280 (generate-file-autoloads): Bind generated-autoload-file to
15281 buffer-file-name.
9869b3ae
SM
15282 (update-file-autoloads, update-directory-autoloads):
15283 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15284 output file (Bug#7989).
15285 (batch-update-autoloads): Doc fix.
15286
0898ca10
JB
152872011-05-04 Juanma Barranquero <lekktu@gmail.com>
15288
15289 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15290
31dfb76c
GM
152912011-05-04 Glenn Morris <rgm@gnu.org>
15292
f330b642
GM
15293 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15294 function, so it follows changes in calendar-date-style.
15295 (diary-fancy-date-matcher): New function.
15296 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15297 (diary-fancy-font-lock-fontify-region-function):
15298 Use diary-fancy-date-pattern as a function.
15299
31dfb76c
GM
15300 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15301 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15302
48e79d6a
TZ
153032011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15304
15305 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15306 instead of positional arguments. Allow :keylist and :crlfiles
15307 arguments.
15308 (open-gnutls-stream): Call it.
15309
15310 * net/network-stream.el (network-stream-open-starttls): Adjust to
15311 call `gnutls-negotiate' with :process and :hostname arguments.
15312
dd5a5ee0
SM
153132011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15314
ef80fc09
SM
15315 * minibuffer.el (completion--message): New function.
15316 (completion--do-completion, minibuffer-complete)
15317 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15318 (completion--do-completion): Don't ignore completion-auto-help when in
15319 icomplete-mode.
15320
dd5a5ee0
SM
15321 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15322 internal encoding (e.g. tibetan zero is not whitespace).
15323 (global-whitespace-mode): Prefer save-current-buffer.
15324 (whitespace-trailing-regexp): Remove useless save-match-data.
15325 (whitespace-empty-at-bob-regexp): Minor simplification.
15326
b7d22a83
CY
153272011-05-03 Chong Yidong <cyd@stupidchicken.com>
15328
15329 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15330
5192af46
AM
153312011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15332
15333 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15334 Use `concat' to create string for insertion.
5192af46 15335
5767d190
SM
153362011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15337
15338 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15339 Avoid open-line which runs post-self-insert-hook.
15340 (bibtex-fill-entry): Remove unused `end' var.
15341
bf242939
AM
153422011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15343
5767d190
SM
15344 * textmodes/ispell.el (ispell-add-per-file-word-list):
15345 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15346
25666126
LL
153472011-05-03 Leo Liu <sdl.web@gmail.com>
15348
15349 * isearch.el (isearch-yank-pop): New command.
5767d190 15350 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15351 (isearch-forward): Mention it.
15352
52d3c2d0
SM
153532011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15354
1bcace58
SM
15355 * simple.el (minibuffer-complete-shell-command): Remove.
15356 (minibuffer-local-shell-command-map): Use completion-at-point.
15357 (read-shell-command): Setup completion vars here instead.
15358 (read-expression-map): Bind TAB to symbol completion.
15359
52d3c2d0
SM
15360 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15361 error directly rather via storing it into `results'.
15362
35813471
LL
153632011-05-02 Leo Liu <sdl.web@gmail.com>
15364
15365 * vc/diff.el: Fix description.
15366
e793a940
LMI
153672011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15368
15369 * server.el (server-eval-at): New function.
15370
8de66e05
LMI
153712011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15372
15373 * net/network-stream.el (open-network-stream): Take a :nowait
15374 parameter and pass it on to `make-network-process'.
15375 (network-stream-open-plain): Ditto.
15376
dcb79f20
AS
153772011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15378
15379 * faces.el (face-spec-set-match-display): Don't match toolkit
15380 options on terminal frames.
15381
14a7fbd8
SM
153822011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15383
7eabc1be
SM
15384 * progmodes/pascal.el: Use lexical binding.
15385 (pascal-mode-map): Remove author preferences.
15386
14a7fbd8
SM
15387 * pcomplete.el (pcomplete-std-complete): Don't abuse
15388 completion-at-point.
15389
50f84510
JB
153902011-04-28 Juanma Barranquero <lekktu@gmail.com>
15391
6e087a44
JB
15392 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15393 removing code that has been dead since 1991 or so.
15394
50f84510
JB
15395 * startup.el (command-line): When warning about "_emacs", use a
15396 delayed warning to allow the user to filter it out.
15397
0ba690bd
DD
153982011-04-28 Deniz Dogan <deniz@dogan.se>
15399
15400 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15401 user has not joined.
15402
08abfaad
SM
154032011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15404
15405 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15406 aren't any completions at point.
15407
638f053a
JB
154082011-04-28 Juanma Barranquero <lekktu@gmail.com>
15409
15410 * subr.el (display-delayed-warnings): New function.
15411 (delayed-warnings-hook): New variable.
15412
8fff8daa
SM
154132011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15414
08abfaad
SM
15415 * minibuffer.el (completion-at-point, completion-help-at-point):
15416 Don't presume that a given completion-at-point-function will always
15417 use the same calling convention.
15418
8fff8daa
SM
15419 * pcomplete.el (pcomplete-completions-at-point):
15420 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15421 pcomplete-seen is non-nil.
15422 (pcomplete-comint-setup): Also recognize the new comint/shell
15423 completion functions.
15424 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15425 pcomplete-seen is non-nil.
15426
841a1577 154272011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15428
841a1577 15429 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15430 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15431 the first character in the entry. This allows for code to add its
211ec907
UJ
15432 own uid to the entry.
15433 (icalendar--convert-float-to-ical): Add export of
15434 `diary-float'-entries save for those with the optional DAY
15435 argument.
15436
2a782793
DC
154372011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15438
15439 * subr.el (shell-quote-argument): Use alternate escaping strategy
15440 when we spot a variable reference in a string.
15441
0438ce91
DC
154422011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15443
15444 * cus-start.el (all): Define customization for debug-on-event.
15445
841a1577 154462011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15447
15448 * subr.el (shell-quote-argument): Escape correctly under Windows.
15449
d090ed6c
SM
154502011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15451
15452 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15453
bfd31217
MA
154542011-04-25 Michael Albinus <michael.albinus@gmx.de>
15455
d090ed6c
SM
15456 * net/tramp.el (tramp-process-actions): Add POS argument.
15457 Delete region between POS and (pos).
bfd31217 15458
d090ed6c
SM
15459 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15460 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15461 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15462
15463 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15464 position in `tramp-process-actions' call.
15465
15466 * net/trampver.el: Update release number.
15467
e92f3bd3
SM
154682011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15469
850256b5
SM
15470 * custom.el (defcustom): Obey lexical-binding.
15471
e92f3bd3
SM
15472 Fix octave-inf completion problems reported by Alexander Klimov.
15473 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15474 Inherit from octave-mode-syntax-table.
15475 (inferior-octave-mode): Set info-lookup-mode.
15476 (inferior-octave-completion-at-point): New function.
15477 (inferior-octave-complete): Use it and completion-in-region.
15478 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15479 comint-filename-completion.
15480 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15481 symbol elements which shouldn't be word elements.
15482 (octave-font-lock-keywords, octave-beginning-of-defun)
15483 (octave-function-header-regexp): Adjust regexps accordingly.
15484 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15485
cd22b309
JB
154862011-04-25 Juanma Barranquero <lekktu@gmail.com>
15487
15488 * net/gnutls.el (gnutls-errorp): Declare before first use.
15489
8b492194
TZ
154902011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15491
15492 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15493 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15494 default trustfile exists before going to use it. Add missing
5a5fa834 15495 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15496 Reported by Claudio Bley <claudio.bley@gmail.com>.
15497 (open-gnutls-stream): Add usage example.
15498
15499 * net/network-stream.el (network-stream-open-starttls): Give host
15500 parameter to `gnutls-negotiate'.
15501 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15502 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15503
841a1577 155042011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15505
cd22b309
JB
15506 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15507 Use correct match group (bug#8438).
05842630 15508
3ba7869c
CY
155092011-04-24 Chong Yidong <cyd@stupidchicken.com>
15510
512e3ae1
CY
15511 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15512 (package-menu--generate): New arg specifying packages to show.
15513 (package-menu-refresh, package-menu-execute, list-packages):
15514 Callers changed.
15515 (package-show-package-list): New function, replacing deleted
15516 package--list-packages (renamed because it is non-internal).
15517
15518 * finder.el (finder-list-matches): Use package-show-package-list
15519 instead of deleted package--list-packages.
15520
e92f3bd3
SM
15521 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15522 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15523 (vc-annotate-mode-map): Bind it to RET.
15524
7031be6d
UR
155252011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15526
15527 * progmodes/etags.el (next-file): Don't use set-buffer to change
15528 buffers (Bug#8478).
15529
4ef177aa
CY
155302011-04-24 Chong Yidong <cyd@stupidchicken.com>
15531
c8d173eb
CY
15532 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15533
4ef177aa
CY
15534 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15535 (apropos-accumulator): Doc fix.
15536 (apropos-function, apropos-macro, apropos-command)
15537 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15538 (apropos-plist): Add face property.
15539 (apropos-symbols-internal): Fix indentation.
15540 (apropos-print): Simplify help, and recognize apropos-multi-type.
15541 (apropos-print-doc): Use button-type-get to extract the button's
15542 face property. Fill docstring (Bug#8352).
15543
4ffd0d6b 155442011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15545
15546 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15547
c6c32125 15548 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15549 (mpuz-mode-map): Use mapc.
c6c32125
JB
15550 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15551 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15552 Fix typos in docstrings.
15553
58d468b4
JB
15554 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15555 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15556
6470c3c6
JB
15557 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15558
4ffd0d6b 155592011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15560
15561 * minibuffer.el (completion--do-completion): Avoid the "Next char
15562 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15563
3ad8bad0
CY
15564 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15565 mouse-2 into unread-command-events, it is interpreted correctly.
15566
71d73c9c 15567 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15568 (image-toggle-display): Doc fix.
71d73c9c 15569
841a1577 155702011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15571
4ffd0d6b
GM
15572 * textmodes/page.el (what-page): Use line-number-at-pos to
15573 calculate line number (Bug#6825).
6e1dbaa9 15574
c2fb1b60
JB
155752011-04-22 Juanma Barranquero <lekktu@gmail.com>
15576
15577 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15578 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15579 Pass argument NO-DEFAULT to `find-tag-interactive'.
15580
e02f48d7
JB
155812011-04-22 Juanma Barranquero <lekktu@gmail.com>
15582
15583 Lexical-binding cleanup.
15584
15585 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15586 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15587 * progmodes/ada-prj.el (ada-prj-initialize-values)
15588 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15589 (ada-prj-show-value):
15590 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15591 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15592 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15593 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15594 * progmodes/bug-reference.el (bug-reference-push-button):
15595 * progmodes/fortran.el (fortran-line-length):
15596 * progmodes/glasses.el (glasses-change):
15597 * progmodes/octave-mod.el (octave-fill-paragraph):
15598 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15599 (python-pdbtrack-grub-for-buffer, python-sentinel):
15600 * progmodes/sql.el (sql-save-connection):
15601 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15602 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15603 Mark unused parameters.
15604
15605 * progmodes/compile.el (compilation--flush-directory-cache)
15606 (compilation--flush-parse, compile-internal): Mark unused parameters.
15607 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15608 (compilation-next-error-function): Remove unused variable `timestamp'.
15609
15610 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15611 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15612
15613 * progmodes/dcl-mode.el (dcl-end-of-command):
15614 Remove unused variable `start'.
15615 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15616 (dcl-option-value-basic, dcl-option-value-offset)
15617 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15618 Mark unused parameters.
15619 (dcl-save-local-variable): Remove unused variable `val'.
15620 (mode): Declare.
15621
15622 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15623 Mark unused parameters.
15624 (delphi-ignore-changes): Move before first use.
15625 (delphi-charset-token-at): Remove unused variable `start'.
15626 (delphi-else-start): Remove unused variable `if-count'.
15627 (delphi-comment-block-start, delphi-comment-block-end):
15628 Remove unused variable `kind'.
15629 (delphi-indent-line): Remove unused variable `new-point'.
15630
15631 * progmodes/ebrowse.el (ebrowse-files-list)
15632 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15633 Mark unused parameters. Don't quote `lambda'.
15634 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15635 Don't quote `lambda'.
15636 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15637 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15638 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15639 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15640 Use `ignore-errors'.
15641 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15642 (ebrowse-view/find-file-and-search-pattern)
15643 (ebrowse-view/find-member-declaration/definition):
15644 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15645 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15646 Rename parameter PREFIX-ARG to PREFIX.
15647 (ebrowse-tags-read-name): Remove unused variables `start' and
15648 `member-info'.
15649 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15650 to `tags-file'.
15651
15652 * progmodes/etags.el (local-find-tag-hook): Declare.
15653 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15654 Mark unused parameters.
15655
15656 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15657 (executable-interpret): Mark unused parameter.
15658
15659 * progmodes/flymake.el (flymake-process-sentinel)
15660 (flymake-after-change-function)
15661 (flymake-create-temp-with-folder-structure)
15662 (flymake-get-include-dirs-dot): Mark unused parameters.
15663 (flymake-safe-delete-directory): Remove unused variable `err'.
15664
15665 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15666 (speedbar-timer-fn, speedbar-line-text)
15667 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15668 (speedbar-center-buffer-smartly): Declare functions.
15669 (gdb-find-watch-expression): Remove unused variable `array'.
15670 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15671 (gdb-starting): Mark unused parameters.
15672 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15673 (gdb-table-string): Remove unused variable `res'.
15674 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15675 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15676 (gdb-display-buffer): Remove unused variable `cur-size'.
15677
15678 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15679 allow lexical-binding compilation.
15680 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15681 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15682 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15683 Mark unused parameters.
15684 (gud-gdb-marker-filter): Remove unused variable `match'.
15685 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15686 lambda expressions and funcall them, instead of using `fset'.
15687
15688 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15689 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15690
15691 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15692 variable `header-beg'; use `let'.
15693
15694 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15695 `restart', `last-sexp' and `at-do'.
15696
15697 * progmodes/js.el (js--debug): Mark unused parameter.
15698 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15699 (js--splice-into-items): Remove unused variable `item'.
15700 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15701
15702 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15703 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15704 (makefile-complete): Remove unused variable `try'.
15705 (makefile-fill-paragraph, makefile-match-function-end):
15706 Mark unused parameters.
15707
15708 * progmodes/octave-inf.el (inferior-octave-complete):
15709 Remove unused variable `proc'.
15710 (inferior-octave-output-digest): Mark unused parameter.
15711
15712 * progmodes/perl-mode.el (perl-calculate-indent):
15713 Remove unused variable `err'.
15714
15715 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15716 (prolog-indent-line): Mark unused parameters.
15717 (prolog-indent-line): Remove unused variable `beg'.
15718
15719 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15720 (reporter-dont-compact-list): Declare.
15721
15722 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15723 Remove unused variable `char'.
15724 (sh-debug): Mark unused parameter.
15725 (sh-get-indent-info): Remove unused variable `start'.
15726 (sh-calculate-indent): Remove unused variable `var'.
15727
15728 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15729 (simula-electric-keyword): Remove unused variable `null'.
15730 (simula-search-backward, simula-search-forward): Remove unused
15731 variables `begin' and `end'.
15732
15733 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15734 Remove unused variable `pos'.
15735 (vera-electric-tab, vera-comment-uncomment-region):
15736 Mark unused parameters.
15737 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15738
7ede3b65
CY
157392011-04-22 Chong Yidong <cyd@stupidchicken.com>
15740
15741 * emacs-lisp/package.el (package--builtins, package-alist)
15742 (package-load-descriptor, package-built-in-p, package-activate)
15743 (define-package, package-installed-p)
15744 (package-compute-transaction, package-buffer-info)
15745 (package--push): Doc fix. Distinguish more clearly between
15746 version strings and version lists.
15747
121656e9
JB
157482011-04-21 Juanma Barranquero <lekktu@gmail.com>
15749
15750 Lexical-binding cleanup.
15751
15752 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15753 (5x5-make-mutate-best):
15754 * play/fortune.el (fortune-in-buffer):
15755 * play/gomoku.el (gomoku-init-display):
15756 * play/solitaire.el (solitaire, solitaire-do-check):
15757 * play/tetris.el (tetris-default-update-speed-function):
15758 Mark unused parameters.
15759
15760 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15761 (bubbles--shift): Remove unused variable `char-org'.
15762 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15763 (bubbles--show-images): Remove unused variable `char'.
15764
15765 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15766 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15767 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15768 (decipher-analyze-buffer): Use ?\s.
15769 (decipher-make-checkpoint): Remove unused variable `mapping'.
15770
15771 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15772
15773 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15774 Remove unused variable `result'; use `let'.
15775
15776 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15777 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15778 (gametree-children-shown-p, gametree-compute-reduced-score):
15779 Use `ignore-errors'.
15780
15781 * play/handwrite.el (ps-lpr-switches): Declare.
15782 (handwrite): Remove unused variables `pmin' and `lastp'.
15783
15784 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15785
15786 * play/landmark.el (landmark-init-display)
15787 (landmark-update-naught-weights): Mark unused parameters.
15788 (landmark-y): Remove unused variable `noise'. Simplify.
15789 (landmark-human-plays): Remove unused variable `score'.
15790
15791 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15792 (mpuz-try-proposal): Remove unused variable `game'.
15793
15794 * play/zone.el (life-patterns): Declare.
15795
80f499c7
JB
157962011-04-20 Juanma Barranquero <lekktu@gmail.com>
15797
15798 * vc/vc.el (ediff-vc-internal): Declare function.
15799
024ff170
SM
158002011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15801
c0a193ea
SM
15802 * shell.el: Use lexical-binding and std completion UI.
15803 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15804 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15805 comint-preoutput-filter-functions rather than on
15806 comint-output-filter-functions.
15807 (shell-command-completion, shell--command-completion-data)
15808 (shell-filename-completion, shell-environment-variable-completion)
15809 (shell-c-a-p-replace-by-expanded-directory): New functions.
15810 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15811 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15812 (shell-dynamic-complete-environment-variable): Use them.
15813 (shell-dynamic-complete-as-environment-variable)
15814 (shell-dynamic-complete-as-command): Remove.
15815 (shell-match-partial-variable): Match past point.
15816 * comint.el: Clean up use of completion-at-point-functions.
15817 (comint-completion-at-point): New function.
15818 (comint-mode): Use it completion-at-point-functions.
15819 (comint-dynamic-complete): Make it obsolete.
15820 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15821 (comint-c-a-p-replace-by-expanded-history): New function.
15822 (comint-dynamic-complete-functions)
15823 (comint-replace-by-expanded-history): Use it.
15824 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15825 termination strings. Try harder to avoid second try-completion.
15826 (completion-in-region-mode-map): Disable bindings that don't work yet.
15827
2dbaa080
SM
15828 * comint.el: Use lexical-binding. Require CL.
15829 (comint-dynamic-complete-functions): Use comint-filename-completion.
15830 (comint-completion-addsuffix): Tweak custom type.
15831 (comint-filename-completion, comint--common-suffix)
15832 (comint--common-quoted-suffix, comint--table-subvert)
15833 (comint--complete-file-name-data): New functions.
15834 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15835 (comint-dynamic-list-filename-completions): Use them.
15836 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15837
2dbaa080
SM
15838 * minibuffer.el (completion-in-region-mode):
15839 Keep completion-in-region-mode--predicate global.
15840 (completion-in-region--postch):
15841 Assume completion-in-region-mode--predicate is not null.
15842
c79a6f38
SM
15843 * progmodes/flymake.el (flymake-start-syntax-check-process):
15844 Obey `dir'. Simplify.
15845
024ff170
SM
15846 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15847 we're in VC after all.
15848
1c6c854e
CS
158492011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15850
15851 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15852 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15853 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15854
bed7f140
SM
158552011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15856
332e62ab
SM
15857 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15858 add sanity check.
15859
bed7f140
SM
15860 * obsolete/erc-hecomplete.el: Make obsolete.
15861 * obsolete/: Standardize obsolescence info in the header.
15862
f195c582
GM
158632011-04-20 Glenn Morris <rgm@gnu.org>
15864
15865 * calendar/solar.el (solar-horizontal-coordinates):
15866 Use the longitude argument rather than `calendar-longitude'.
15867 (solar-date-next-longitude): Remove unused locals.
15868
cb79b8c0
VJL
158692011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15870
15871 * whitespace.el: New version 13.2.1.
15872
158732011-04-20 felix <EmacsWiki> (tiny change)
15874
d8e4b68b 15875 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15876 switching between major modes on a file.
15877
602ea69d
SM
158782011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15879
15880 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15881 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15882 multi-line comments as well.
15883
06b60517
JB
158842011-04-19 Juanma Barranquero <lekktu@gmail.com>
15885
15886 Lexical-binding cleanup.
15887
15888 * arc-mode.el (archive-mode-revert):
15889 * cmuscheme.el (scheme-interactively-start-process):
15890 * custom.el (custom-initialize-delay):
15891 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15892 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15893 * emacs-lock.el (emacs-lock-clear-sentinel):
15894 * ezimage.el (defezimage):
15895 * follow.el (follow-avoid-tail-recenter):
15896 * fringe.el (set-fringe-mode-1):
15897 * generic-x.el (bat-generic-mode-compile):
15898 * help-mode.el (help-info-variable, help-do-xref)
15899 (help-mode-revert-buffer):
15900 * help.el (view-emacs-todo):
15901 * iswitchb.el (iswitchb-completion-help):
15902 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15903 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15904 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15905 * locate.el (locate-update):
15906 * longlines.el (longlines-encode-region)
15907 (longlines-after-change-function):
15908 * outline.el (outline-isearch-open-invisible):
15909 * ps-def.el (declare-function, charset-dimension, char-width)
15910 (encode-char):
15911 * ps-mule.el (ps-mule-plot-string):
15912 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15913 (recentf-edit-list-select, recentf-edit-list-validate)
15914 (recentf-open-files-action):
15915 * rect.el (delete-whitespace-rectangle-line)
15916 (rectangle-number-line-callback):
15917 * register.el (window-configuration-to-register)
15918 (frame-configuration-to-register):
15919 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15920 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15921 (xselect-convert-to-targets, xselect-convert-to-delete)
15922 (xselect-convert-to-filename, xselect-convert-to-charpos)
15923 (xselect-convert-to-lineno, xselect-convert-to-colno)
15924 (xselect-convert-to-os, xselect-convert-to-host)
15925 (xselect-convert-to-user, xselect-convert-to-class)
15926 (xselect-convert-to-name, xselect-convert-to-integer)
15927 (xselect-convert-to-atom, xselect-convert-to-identity):
15928 * subr.el (declare, ignore, process-kill-without-query)
15929 (text-clone-maintain):
15930 * terminal.el (te-get-char, te-tic-sentinel):
15931 * tool-bar.el (tool-bar-make-keymap):
15932 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15933 * type-break.el (type-break-mode, type-break-noninteractive-query):
15934 * view.el (View-back-to-mark):
15935 * wid-browse.el (widget-browse-action, widget-browse-widget)
15936 (widget-browse-widgets, widget-browse-sexp):
15937 * widget.el (define-widget-keywords):
15938 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15939 Mark unused parameters.
15940
15941 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15942 (align-areas): Remove unused variable `look'.
15943 (align-region): Remove unused variables `real-end' and `pos-list'.
15944
15945 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15946
15947 * bindings.el (mode-line-modified, mode-line-remote):
15948 Mark unused parameters.
15949 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15950
15951 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15952 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15953
15954 * comint.el (comint-history-isearch-pop-state)
15955 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15956 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15957 (comint-substitute-in-file-name): Doc fix.
15958
15959 * completion.el (cmpl-statistics-block): Mark unused parameter.
15960 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15961 (save-completions-to-file, load-completions-from-file):
15962 Remove unused local variable `e'.
15963
15964 * composite.el (compose-chars): Remove unused variable `len'.
15965 (lgstring-insert-glyph): Remove unused variable `g'.
15966 (compose-glyph-string): Remove unused variables `ascent',
15967 `descent', `lbearing' and `rbearing'.
15968 (compose-glyph-string-relative): Remove unused variables
15969 `lbearing', `rbearing' and `wadjust'.
15970 (compose-gstring-for-graphic): Remove unused variables `header',
15971 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15972 (compose-gstring-for-terminal): Remove unused variables `header'
15973 and `nchars'. Use `let', not `let*'.
15974
15975 * cus-edit.el (Custom-set, Custom-save, custom-reset)
15976 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
15977 (Custom-buffer-done, custom-buffer-create-internal)
15978 (custom-browse-visibility-action, custom-browse-group-tag-action)
15979 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
15980 (widget-magic-mouse-down-action, custom-toggle-parent)
15981 (custom-add-parent-links, custom-toggle-hide-variable)
15982 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
15983 (custom-toggle-hide-face, face, hook, custom-group-link-action)
15984 (custom-face-menu-create, custom-variable-menu-create, get)
15985 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
15986 (custom-reset-standard-save-and-update): Remove unused variable `value'.
15987 (customize-apropos): Remove unused variable `tests'.
15988 (custom-group-value-create): Remove unused variable `hidden-p'.
15989 (sort-fold-case): Declare.
15990
15991 * cus-theme.el (custom-reset-standard-faces-list)
15992 (custom-reset-standard-variables-list): Declare.
15993 (customize-create-theme, custom-theme-revert, custom-theme-write)
15994 (custom-theme-choose-mode, customize-themes, custom-theme-save):
15995 Mark unused parameters.
15996
15997 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
15998
15999 * delim-col.el (delimit-columns-max): Move defvar before first use.
16000
16001 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16002 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16003
16004 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16005 (auto-insert): Declare.
16006 (desktop-restore-file-buffer): Rename desktop-* parameters;
16007 mark unused ones.
16008 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16009 (desktop-buffer): Rename desktop-* parameters.
16010
16011 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16012 (dframe-reposition-frame-xemacs, dframe-help-echo)
16013 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16014 Mark unused parameters.
16015
16016 * dired-aux.el (backup-extract-version-start, overwrite-query)
16017 (overwrite-backup-query, rename-regexp-query)
16018 (rename-non-directory-query): Declare.
16019 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16020 (dired-add-entry): Remove unused variable `orig-file-name'.
16021 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16022 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16023 `dired-copy-preserve-time' directly.
16024 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16025 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16026
16027 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16028 (dired-virtual-revert, dired-make-relative-symlink):
16029 Mark unused parameters.
16030 (manual-program): Declare.
16031 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16032 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16033 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16034
16035 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16036
16037 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16038
16039 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16040 Declare.
16041
16042 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16043
16044 * electric.el (Electric-command-loop): Rename parameter
16045 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16046
16047 * expand.el (expand-in-literal): Remove unused variable `here'.
16048
16049 * facemenu.el (facemenu-add-new-color):
16050 Remove unused variable `docstring'.
16051
16052 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16053 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16054 (face-attr-construct): Mark unused parameter. Doc fix.
16055 (read-color): Remove unused variable `hex-string'.
16056
16057 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16058 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16059 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16060 (display-buffer-other-frame): Remove unused variable `old-window'.
16061 (kill-buffer-hook): Declare.
16062 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16063 Mark unused parameters.
16064 (after-find-file): Pass 1 to `auto-save-mode', not t.
16065
16066 * files-x.el (auto-insert): Declare.
16067 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16068
16069 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16070 variable `buf'. Mark unused parameter.
06b60517
JB
16071 (find-lisp-insert-directory): Mark unused parameter.
16072
16073 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16074 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16075 (format-common-tail): Remove, unused.
16076 (format-deannotate-region): Remove unused variable `loc'.
16077 (format-annotate-region): Remove unused variable `p'.
16078 (format-annotate-single-property-change): Remove unused variables
16079 `default' and `tail'.
16080
16081 * forms.el (read-file-filter): Declare.
16082 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16083
16084 * frame.el (frame-creation-function-alist): Mark unused parameter.
16085 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16086
16087 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16088 Remove unused parameters.
16089 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16090 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16091
16092 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16093 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16094 (hfy-prepare-tag-map): Mark unused parameters.
16095 (htmlfontify-buffer): Use `called-interactively-p'.
16096
16097 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16098 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16099 (ibuffer-do-occur): Mark unused parameters.
16100 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16101 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16102
16103 * ibuffer.el: Don't quote `lambda'.
16104 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16105 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16106 Mark unused parameters.
16107
16108 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16109 (ido-completing-read): Mark unused parameters.
16110 (ido-copy-current-word): Mark unused parameters;
16111 remove unused variable `name'.
16112 (ido-sort-merged-list): Remove unused parameter `dirs'.
16113
16114 * ielm.el (ielm-input-sender): Mark unused parameter.
16115 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16116 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16117 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16118 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16119 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16120
16121 * image-dired.el (image-dired-display-thumbs): Remove unused
16122 variables `curr-file' and `count'.
16123 (image-dired-remove-tag): Remove unused variable `start'.
16124 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16125 variable `curr-file'
16126 (image-dired-rotate-original): Remove unused variable `temp-file'.
16127 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16128 Remove unused variable `file'.
16129 (image-dired-gallery-generate): Remove unused variable `curr'.
16130 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16131
16132 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16133
16134 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16135
16136 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16137
16138 * isearch.el (minibuffer-history-symbol): Declare.
16139 (isearch-edit-string): Remove unused variable `err'.
16140 (isearch-message-prefix, isearch-message-suffix):
16141 Mark unused parameters.
16142
16143 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16144
16145 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16146
16147 * makesum.el (double-column): Remove unused variable `cnt'.
16148
16149 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16150 (ido-ignore-item-temp-list): Declare.
16151
16152 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16153 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16154 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16155 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16156 `mouse-col-delta'.
16157
16158 * mouse-sel.el (mouse-extend-internal):
16159 Remove unused variable `orig-window-frame'.
16160
16161 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16162 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16163 Move declarations before first use.
16164 (pcomplete-opt): Mark unused parameters; doc fix.
16165
16166 * proced.el (proced-revert): Mark unused parameter.
16167 (proced-send-signal): Remove unused variable `err'.
16168
16169 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16170 Rename parameter PREFIX-ARG to ARG.
16171 (ps-basic-plot-string, ps-basic-plot-whitespace):
16172 Mark unused parameters.
16173
16174 * replace.el (replace-count): Define.
16175 (occur-revert-function): Mark unused parameters.
16176 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16177 (isearch-case-fold-search, isearch-string): Declare.
16178 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16179 bind `case-fold-search'. Remove unused variables `beg' and `end',
16180 and simplify.
16181 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16182 COUNT and bind `replace-count'.
16183 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16184 to COUNT.
16185
16186 * savehist.el (print-readably, print-string-length): Declare.
16187
16188 * shadowfile.el (shadow-expand-cluster-in-file-name):
16189 Remove unused variable `cluster'.
16190 (shadow-copy-file): Remove unused variable `i'.
16191 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16192 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16193 (shadow-define-literal-group, shadow-define-regexp-group)
16194 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16195
16196 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16197 (shell): Use `called-interactively-p'.
16198 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16199
16200 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16201 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16202 (delete-backward-char): Remove unused variable `ocol'.
16203 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16204 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16205 (event-apply-hyper-modifier, event-apply-shift-modifier)
16206 (event-apply-control-modifier, event-apply-meta-modifier):
16207 Mark unused parameters.
16208 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16209 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16210
16211 * speedbar.el (speedbar-ignored-directory-expressions)
16212 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16213 (speedbar-find-file, speedbar-dir-follow)
16214 (speedbar-directory-buttons-follow, speedbar-tag-find)
16215 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16216 (speedbar-buffers-line-directory, speedbar-buffer-click):
16217 Mark unused parameters.
16218 (speedbar-tag-file): Remove unused variable `mode'.
16219 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16220
16221 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16222
16223 * talk.el (talk): Remove unused variable `display'.
16224
16225 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16226 (tar-write-region-annotate): Mark unused parameter.
16227
16228 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16229 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16230 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16231 warning by another.
16232
16233 * time-stamp.el (time-stamp-string-preprocess):
16234 Remove unused variable `require-padding'.
16235
16236 * tree-widget.el (widget-glyph-enable): Declare.
16237 (tree-widget-action): Mark unused parameter.
16238
16239 * w32-fns.el (x-get-selection): Mark unused parameter.
16240 (autoload-make-program, generated-autoload-file): Declare.
16241
16242 * wdired.el (wdired-revert): Mark unused parameters.
16243 (wdired-xcase-word): Remove unused variable `err'.
16244
16245 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16246 (whitespace-help-scroll): Remove unused variable `data-help'.
16247
16248 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16249 (widget-image-insert, widget-after-change, default)
16250 (widget-default-format-handler, widget-default-notify)
16251 (widget-default-prompt-value, widget-info-link-action)
16252 (widget-url-link-action, widget-function-link-action)
16253 (widget-variable-link-action, widget-file-link-action)
16254 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16255 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16256 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16257 (widget-insert-button-action, widget-delete-button-action, visibility)
16258 (widget-documentation-link-action, widget-documentation-string-action)
16259 (widget-const-prompt-value, widget-regexp-match, symbol)
16260 (widget-coding-system-prompt-value)
16261 (widget-key-sequence-value-to-external, sexp)
16262 (widget-sexp-value-to-internal, character, vector, cons)
16263 (widget-choice-prompt-value, widget-boolean-prompt-value)
16264 (widget-color--choose-action): Mark unused parameters.
16265 (widget-item-match-inline, widget-choice-match-inline)
16266 (widget-checklist-match, widget-checklist-match-inline)
16267 (widget-group-match): Rename parameter VALUES to VALS.
16268 (widget-field-value-set): Remove unused variable `size'.
16269 (widget-color-action): Remove unused variables `value' and `start'.
16270
16271 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16272 variable `dir'. Doc fix.
06b60517
JB
16273 (windmove-find-other-window): Don't pass it.
16274
16275 * window.el (count-windows): Mark unused parameter.
16276 (bw-adjust-window): Remove unused variable `err'.
16277
16278 * woman.el (woman-file-name): Remove unused variable `default'.
16279 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16280 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16281 (global-font-lock-mode): Declare.
16282 (woman-decode-region): Mark unused parameter.
16283 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16284
16285 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16286 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16287 (x-dnd-handle-moz-url): Remove unused variable `title'.
16288 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16289
16290 * xml.el (xml-parse-tag, xml-parse-attlist):
16291 Remove unused variable `pos'.
16292
bc4f7f3d
GM
162932011-04-19 Glenn Morris <rgm@gnu.org>
16294
16295 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16296 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16297 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16298 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16299 * calendar/cal-html.el (cal-html-insert-minical):
16300 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16301 (calendar-mark-date-pattern):
16302 Prefix "unused" locals.
16303
16304 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16305 optional argument `style'.
16306
16307 * calendar/appt.el (appt-make-list):
16308 * calendar/cal-china.el (calendar-chinese-date-string):
16309 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16310 (diary-hebrew-yahrzeit):
16311 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16312 * calendar/calendar.el (calendar-generate-window):
16313 * calendar/time-date.el (time-to-days):
16314 Remove unused local variables.
16315
16a43933
CY
163162011-04-18 Chong Yidong <cyd@stupidchicken.com>
16317
16318 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16319 glyphless-char-display table.
16320 (tabulated-list-glyphless-char-display): New var.
16321
7eed1860
SS
163222011-04-18 Sam Steingold <sds@gnu.org>
16323
16324 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16325 to acknowledgments.
16326
4d2d1ccd
GM
163272011-04-17 Glenn Morris <rgm@gnu.org>
16328
16329 * calendar/diary-lib.el (diary-sexp-entry):
16330 * calendar/holidays.el (holiday-sexp):
16331 Set debug-on-error rather than the removed stack-trace-on-error.
16332
239da61d
GM
163332011-04-16 Glenn Morris <rgm@gnu.org>
16334
16335 * progmodes/f90.el: Use lexical-binding.
16336 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16337
8b05752a
SM
163382011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16339
daca8ba5
SM
16340 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16341 (mail-mode): Setup mailalias completion here instead.
16342 * mail/mailalias.el: Use lexical-binding.
16343 (pattern, mailalias-done): Declare dynamic.
16344 (mail-completion-at-point-function): New function, from mail-complete.
16345 (mail-complete): Use it.
16346 (mail-completion-expand): New function.
16347 (mail-get-names): Use it.
16348 (mail-directory, mail-directory-process, mail-directory-stream):
16349 Don't use `pattern' for lexically bound arg.
16350
6f542485
SM
16351 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16352
037e7c3f
SM
16353 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16354 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16355 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16356
8b05752a
SM
16357 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16358 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16359 (byte-interactive-p): Define them again, for use when inlining
16360 old code.
16361
49093f60
JB
163622011-04-15 Juanma Barranquero <lekktu@gmail.com>
16363
16364 * loadup.el: Use `string-to-number', not `string-to-int'.
16365
b5b8e7de
SM
163662011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16367
16368 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16369 gud-gdb-complete-command.
16370 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16371 (gud-gdb-completion-at-point): New function.
16372 (gud-gdb-completions): Remove.
16373
f42efeb5
MA
163742011-04-14 Michael Albinus <michael.albinus@gmx.de>
16375
49093f60
JB
16376 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16377 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16378 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16379 whether `executable-find' is bound.
f42efeb5
MA
16380
16381 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16382
e240cc21
SM
163832011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16384
16385 * minibuffer.el (completion-in-region-mode-predicate)
16386 (completion-in-region-mode--predicate): New vars.
16387 (completion-in-region, completion-in-region--postch)
16388 (completion-in-region-mode): Use them.
16389 (completion--capf-wrapper): Also return the hook function.
16390 (completion-at-point, completion-help-at-point):
16391 Adjust and provide a predicate.
c2bd2ab0
SM
16392
16393 Preserve arg names for advice of subr and lexical functions (bug#8457).
16394 * help-fns.el (help-function-arglist): Consolidate the subr and
16395 new-byte-code cases. Add argument `preserve-names' to extract names
16396 from the docstring when needed.
16397 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16398 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16399 (ad-arglist): Use help-function-arglist's new arg.
16400 (ad-definition-type): Use cond.
16401
c183f693
JB
164022011-04-13 Juanma Barranquero <lekktu@gmail.com>
16403
06641a47
JB
16404 * autorevert.el (auto-revert-handler):
16405 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16406 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16407 Don't quote lambda.
16408
c183f693
JB
16409 * image-mode.el (image-transform-set-scale):
16410 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16411
1e3b6001
G
164122011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16413
16414 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16415 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16416 Upgrades via gnutls-cli are too slow to be done opportunistically.
16417
2d6af8dd
JB
164182011-04-12 Juanma Barranquero <lekktu@gmail.com>
16419
16420 * dframe.el (dframe-current-frame): Remove spurious quote.
16421
c0749a51
GM
164222011-04-12 Glenn Morris <rgm@gnu.org>
16423
088d0d61
GM
16424 * calendar/cal-tex.el (cal-tex-end-document):
16425 Try to automatically use latin1 input if needed.
16426
c0749a51
GM
16427 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16428 Don't try to cons a mark onto an empty element.
16429
5c90fde0
LL
164302011-04-11 Leo Liu <sdl.web@gmail.com>
16431
16432 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16433 buffers.
16434 (ido-kill-buffer-at-head): Support killing virtual buffers.
16435
369e974d
CY
164362011-04-10 Chong Yidong <cyd@stupidchicken.com>
16437
16438 * minibuffer.el (completion-show-inline-help): New var.
16439 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16440 (minibuffer-force-complete, minibuffer-complete-word):
16441 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16442
16443 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16444 to avoid interference from inline help (Bug#5849).
16445
37f1c930
LL
164462011-04-10 Leo Liu <sdl.web@gmail.com>
16447
099c39a4
JB
16448 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16449 Fix typo.
37f1c930 16450
a32d4040
CY
164512011-04-09 Chong Yidong <cyd@stupidchicken.com>
16452
16453 * image-mode.el (image-toggle-display-image): Signal an error if
16454 not in Image mode.
16455 (image-transform-mode, image-transform-resize)
16456 (image-transform-set-rotation): Doc fix.
daca8ba5 16457 (image-transform-set-resize): Delete.
a32d4040
CY
16458 (image-transform-set-scale, image-transform-fit-to-height)
16459 (image-transform-fit-to-width): Handle image-toggle-display-image
16460 and image-transform-resize directly.
16461
099c39a4 164622011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16463
16464 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16465 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16466 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16467 (doc-view-mode-map): Add bindings for the new functions.
16468
099c39a4 164692011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16470
4d61f28d 16471 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16472 Fix typo in docstring.
16473
3726838a
EZ
164742011-04-08 Eli Zaretskii <eliz@gnu.org>
16475
04f33f1e
EZ
16476 * files.el (file-size-human-readable): Produce one digit after
16477 decimal, like "ls -lh" does.
16478
16479 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16480 the file size representation.
16481
3726838a
EZ
16482 * simple.el (list-processes): If async subprocesses are not
16483 available, error out with a clear error message.
16484
cbb59342
CY
164852011-04-08 Chong Yidong <cyd@stupidchicken.com>
16486
16487 * help.el (help-form-show): New function, to be called from C.
16488 Put help-form output in a buffer named differently than *Help*.
16489
e3971c44
EZ
164902011-04-08 Eli Zaretskii <eliz@gnu.org>
16491
16492 * files.el (file-size-human-readable): New function.
16493
16494 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16495 computing the representation inline. Don't require `cl'.
16496
12544bbe
GM
164972011-04-08 Glenn Morris <rgm@gnu.org>
16498
a1de6c6a
GM
16499 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16500
3c4671f4
GM
16501 * net/browse-url.el (browse-url-firefox):
16502 Test system-type, not system-configuration.
16503
b605679c
GM
16504 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16505 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16506 Use log-edit-empty-buffer-p. (Bug#7598)
16507
56442f0c
GM
16508 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16509 (rlogin-mode-map): Initialize in the defvar.
16510 (rlogin): Use ignore-errors.
16511
12544bbe
GM
16512 * replace.el (occur-mode-map): Some fixes for menu items.
16513
eb237b0f
AH
165142011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16515
16516 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16517
7d668f2c
CY
165182011-04-06 Chong Yidong <cyd@stupidchicken.com>
16519
e67a13ab
CY
16520 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16521 issuing unused warnings.
16522
16523 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16524 macro directly.
16525
7d668f2c
CY
16526 * simple.el: Lisp reimplement of list-processes. Based on an
16527 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16528 (process-menu-mode): New major mode.
16529 (list-processes--refresh, list-processes):
16530 (process-menu-visit-buffer): New functions.
16531
16532 * files.el (save-buffers-kill-emacs): Don't assume any return
16533 value of list-processes, which is undocumented anyway.
16534
a83ec3c9
CY
165352011-04-06 Chong Yidong <cyd@stupidchicken.com>
16536
16537 * emacs-lisp/tabulated-list.el: New file.
16538
e91a96fe
CY
16539 * emacs-lisp/package.el: Use Tabulated List mode.
16540 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16541 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16542 table format using Tabulated List mode variables.
16543 (package--push): New macro, replacing package-list-maybe-add.
16544 (package-menu--generate): Use package--push. Renamed from
16545 package--generate-package-list.
16546 (package-menu-refresh, list-packages): Use it.
daca8ba5 16547 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16548 Return insertion data instead of inserting it directly.
099c39a4
JB
16549 (package-menu-describe-package, package-menu-execute):
16550 Use tabulated-list-get-id.
e91a96fe
CY
16551 (package-menu-mark-delete, package-menu-mark-install)
16552 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16553 (package-menu-mark-obsolete-for-deletion):
16554 Use tabulated-list-put-tag.
e91a96fe
CY
16555 (package--list-packages, package-menu-revert)
16556 (package-menu-get-package, package-menu-get-version)
16557 (package-menu-sort-by-column): Functions deleted.
16558 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16559 (package-menu--status-predicate, package-menu--version-predicate)
16560 (package-menu--name-predicate)
16561 (package-menu--description-predicate): Handle arguments in the
16562 Tabulated List format.
16563 (package-list-packages-no-fetch): Call list-packages.
16564
3e214b50
JB
165652011-04-06 Juanma Barranquero <lekktu@gmail.com>
16566
16567 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16568 (after-find-file): Don't bind it.
3e214b50
JB
16569 (revert-buffer-in-progress-p): New variable.
16570 (revert-buffer): Bind it.
16571 Pass nil for `after-find-file-from-revert-buffer'.
16572
16573 * saveplace.el (save-place-find-file-hook): Use new variable
16574 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16575
3f0f1700
GM
165762011-04-06 Glenn Morris <rgm@gnu.org>
16577
c0274801
GM
16578 * Makefile.in (AUTOGEN_VCS): New variable.
16579 (autoloads): Use $AUTOGEN_VCS.
16580
3f0f1700
GM
16581 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16582 * calendar/calendar.el (calendar-mode-map):
16583 Check for toolkit scroll bars. (Bug#8305)
16584
41ea9e48
CY
165852011-04-05 Chong Yidong <cyd@stupidchicken.com>
16586
16587 * minibuffer.el (completion-in-region--postch)
16588 (completion-in-region-mode): Remove unnecessary messages.
16589
6194c800
JB
165902011-04-05 Juanma Barranquero <lekktu@gmail.com>
16591
33256f14
JB
16592 * font-lock.el (font-lock-refresh-defaults):
16593 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16594 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16595
6194c800
JB
16596 * info.el (Info-directory-list, Info-read-node-name-2)
16597 (Info-split-parameter-string): Doc fixes.
16598 (Info-virtual-nodes): Reflow docstring.
16599 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16600 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16601 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16602 Fix typos in docstrings.
16603 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16604 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16605 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16606 (Info-restore-desktop-buffer): Mark unused parameters.
16607 (Info-directory-find-file, Info-directory-find-node)
16608 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16609 (Info-virtual-index-find-node, Info-apropos-find-file)
16610 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16611 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16612 (Info-virtual-index): Remove unused local variable `nodename'.
16613
b87a8200 166142011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16615
b87a8200
DD
16616 * net/rcirc.el: Update my e-mail address.
16617 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16618
3b2ff876
CY
166192011-04-05 Chong Yidong <cyd@stupidchicken.com>
16620
16621 * startup.el (command-line): Save the cursor's theme-face
16622 directly, instead of using face-override-spec.
16623
16624 * custom.el (load-theme): Minor optimization in assigning faces.
16625
8d17e7ca
JB
166262011-04-04 Juanma Barranquero <lekktu@gmail.com>
16627
16628 * help-fns.el (describe-variable): Complete all variables having
16629 documentation, including keywords.
16630 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16631
2fbc1934
JB
166322011-04-04 Juanma Barranquero <lekktu@gmail.com>
16633
16634 Convert to lexical-binding.
16635
16636 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16637 (bs--get-marked-string, bs--get-modified-string)
16638 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16639 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16640 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16641
16642 * ehelp.el (electric-help-execute-extended)
16643 (electric-help-ctrl-x-prefix):
16644 * hexl.el (hexl-revert-buffer-function):
16645 * linum.el (linum-after-change, linum-after-scroll):
16646 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16647
16648 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16649
74f50695
DU
166502011-04-04 Daiki Ueno <ueno@unixuser.org>
16651
16652 * epa-dired.el:
16653 * epa-mail.el:
16654 * epa-hook.el:
16655 * epa-file.el:
16656 * epa.el:
16657 * epg.el: Use lexical binding.
16658
c11325f7
CY
166592011-04-03 Chong Yidong <cyd@stupidchicken.com>
16660
0d9e9a12
CY
16661 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16662
c11325f7 16663 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16664 dictionary case for flyspell-mark-duplications-exceptions.
16665 Use regexp matching for languages.
c11325f7
CY
16666 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16667 default dictionary (Bug#7926).
16668
da91b5f2
CY
166692011-04-02 Chong Yidong <cyd@stupidchicken.com>
16670
099c39a4
JB
16671 * emacs-lisp/package.el (package--with-work-buffer):
16672 Recognize https URLs.
da91b5f2 16673
099c39a4
JB
16674 * net/network-stream.el: Move from gnus/proto-stream.el.
16675 Change prefix to network-stream throughout.
da91b5f2
CY
16676 (open-protocol-stream): Merge into open-network-stream, leaving
16677 open-protocol-stream as an alias. Handle nil BUFFER args.
16678
16679 * subr.el (open-network-stream): Move to net/network-stream.el.
16680
afa8e9f6
GM
166812011-04-02 Glenn Morris <rgm@gnu.org>
16682
1d2e369d
GM
16683 * find-dired.el (find-exec-terminator): New option.
16684 (find-ls-option): Test for -ls support.
16685 (find-ls-subdir-switches): Test for -b in find-ls-option.
16686 (find-dired, find-grep-dired): Doc fixes.
16687 (find-dired): Use find-exec-terminator.
16688
8abb7da8 16689 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16690 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16691 (find-name-arg): Remove purecopy.
8abb7da8 16692
f3ca7378
GM
16693 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16694 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16695 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16696 accordingly. Don't add the null-device if not needed.
16697
afa8e9f6
GM
16698 * files.el (save-some-buffers): Doc fix.
16699
35eae264
EZ
167002011-04-02 Eli Zaretskii <eliz@gnu.org>
16701
16702 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16703
26b51db5
JB
167042011-04-01 Juanma Barranquero <lekktu@gmail.com>
16705
16706 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16707 Use `dolist' rather than `mapcar'.
16708
7200d79c
SM
167092011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16710
03408648 16711 Add lexical binding.
7200d79c 16712
03408648
SM
16713 * subr.el (apply-partially): Use new closures rather than CL.
16714 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16715 (dolist, dotimes): Use slightly different expansion for lexical code.
16716 (functionp): Move to C.
16717 (letrec): New macro.
16718 (with-wrapper-hook): Use it and apply-partially instead of CL.
16719 (eval-after-load): Preserve lexical-binding.
16720 (save-window-excursion, with-output-to-temp-buffer): Turn them
16721 into macros.
7200d79c 16722
03408648
SM
16723 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16724
16725 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16726 than the arglist.
16727 (help-add-fundoc-usage): Don't add `Not documented'.
16728 (help-function-arglist): Handle closures, subroutines, and new
16729 byte-code-functions.
16730 (help-make-usage): Remove leading underscores.
16731 (describe-function-1): Handle closures.
16732 (describe-variable): Use special-variable-p for completion.
16733
16734 * files.el (lexical-binding): Declare safe.
f488fb65 16735
03408648
SM
16736 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16737 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16738 (pcase): Add `let' pattern.
16739 Change memoization so it actually works.
16740 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16741 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16742 <let>: New case.
f488fb65 16743
03408648
SM
16744 * emacs-lisp/macroexp.el: Use lexical binding.
16745 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16746 Don't convert ' to #' without checking that it's indeed quoting
16747 a lambda.
16748
16749 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16750 Use eval-sexp-add-defvars.
03408648
SM
16751 (eval-sexp-add-defvars): New fun.
16752
16753 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16754
16755 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16756 Don't autoload.
16757 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16758 than the internal `byte-compile-lambda'.
16759 (defmethod): Don't hide code under quotes.
16760 (eieio-defmethod): New `code' argument.
16761
16762 * emacs-lisp/eieio-comp.el: Remove.
16763
16764 * emacs-lisp/edebug.el (edebug-eval-defun)
16765 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16766 (edebug-toggle): Avoid `eval'.
16767
16768 * emacs-lisp/disass.el (disassemble-internal): Handle new
16769 `closure' objects.
16770 (disassemble-1): Handle new byte codes.
16771
16772 * emacs-lisp/cl.el (pushnew): Silence warning.
16773
16774 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16775 (cl-byte-compile-throw): Remove.
16776 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16777
16778 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16779 closures.
16780
16781 * emacs-lisp/cconv.el: New file.
16782
16783 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16784 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16785 (byte-compile-initial-macro-environment):
16786 Handle declare-function here.
16787 (byte-compile--lexical-environment): New var.
16788 (byte-stack-ref, byte-stack-set, byte-discardN)
16789 (byte-discardN-preserve-tos): New lap codes.
16790 (byte-interactive-p): Don't use any more.
16791 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16792 New macros.
16793 (byte-compile-lapcode): Use them and handle new lap codes.
16794 (byte-compile-obsolete): Remove.
16795 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16796 (byte-compile-arglist-warn): Check late def of inlinable funs.
16797 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16798 since they should have been expanded by now.
16799 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16800 (byte-compile-from-buffer): Remove unused second arg.
16801 (byte-compile-preprocess): New function.
16802 (byte-compile-toplevel-file-form): New function to distinguish
16803 file-form calls from outside from file-form calls from hunk-handlers.
16804 (byte-compile-file-form): Simplify.
16805 (byte-compile-file-form-defsubst): Remove.
16806 (byte-compile-file-form-defmumble): Simplify now that
16807 byte-compile-lambda always returns a byte-code-function.
16808 (byte-compile): Preprocess.
16809 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16810 Remove, not used any more.
16811 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16812 (byte-compile-make-args-desc): New funs.
16813 (byte-compile-lambda): Handle lexical functions. Always return
16814 a byte-code-function.
16815 (byte-compile-reserved-constants): New var, to make up room for
16816 closed-over variables.
16817 (byte-compile-constants-vector): Obey it.
16818 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16819 (byte-compile-macroexpand-declare-function): New function.
16820 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16821 byte-code-functions.
16822 (byte-compile-form): Check obsolescence here.
16823 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16824 (byte-compile-variable-ref): Remove.
16825 (byte-compile-dynamic-variable-op): New fun.
16826 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16827 (byte-compile-variable-set): New funs.
16828 (byte-compile-discard): Add 2 args.
16829 (byte-compile-stack-ref, byte-compile-stack-set)
16830 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16831 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16832 macroexpand-all instead.
16833 (byte-compile-quote-form): Remove.
16834 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16835 (byte-compile-bind, byte-compile-unbind): New funs.
16836 (byte-compile-let): Handle let* and lexical binding.
16837 (byte-compile-let*): Remove.
16838 (byte-compile-catch, byte-compile-unwind-protect)
16839 (byte-compile-track-mouse, byte-compile-condition-case):
16840 Handle a new :fun-body form, used for lexical scoping.
16841 (byte-compile-save-window-excursion)
16842 (byte-compile-with-output-to-temp-buffer): Remove.
16843 (byte-compile-defun): Simplify.
16844 (byte-compile-stack-adjustment): New fun.
16845 (byte-compile-out): Use it.
16846 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16847
16848 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16849 handler any more.
16850
16851 * emacs-lisp/byte-opt.el: Use lexical binding.
16852 (byte-inline-lapcode): Remove (to bytecomp).
16853 (byte-compile-inline-expand): Pay attention to inlining to/from
16854 lexically bound code.
16855 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16856 any more.
16857 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16858 any more and don't call compiler-macros.
16859 (byte-compile-splice-in-already-compiled-code): Remove.
16860 (byte-code): Don't inline any more.
16861 (disassemble-offset): Receive `bytes' as argument rather than via
16862 dynamic scoping.
16863 (byte-compile-tag-number): Declare before first use.
16864 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16865 `return' even if make-spliceable.
16866 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16867 obsolete interactive-p.
16868 (byte-optimize-lapcode): Optimize new lap-codes.
16869 Don't trip up on new form of `byte-constant' lap code.
16870
16871 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16872
16873 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16874
16875 * custom.el (custom-initialize-default, custom-declare-variable):
16876 Use `defvar'.
16877
16878 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16879 New variables.
16880 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16881 (COMPILE_FIRST): Add macroexp and cconv.
16882 * makefile.w32-in: Mirror changes in Makefile.in.
16883
16884 * vc/cvs-status.el:
16885 * vc/diff-mode.el:
16886 * vc/log-edit.el:
16887 * vc/log-view.el:
16888 * vc/smerge-mode.el:
16889 * textmodes/bibtex-style.el:
090bd7cb 16890 * textmodes/css-mode.el:
03408648
SM
16891 * startup.el:
16892 * uniquify.el:
da91b5f2
CY
16893 * minibuffer.el:
16894 * newcomment.el:
16895 * reveal.el:
16896 * server.el:
16897 * mpc.el:
16898 * emacs-lisp/smie.el:
16899 * doc-view.el:
16900 * dired.el:
03408648
SM
16901 * abbrev.el: Use lexical binding.
16902
0f0c1f27
EZ
169032011-04-01 Eli Zaretskii <eliz@gnu.org>
16904
16905 * info.el (info-display-manual): New function.
16906
c82b2579
SM
169072011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16908
16909 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16910
221ddf68
TH
169112011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16912
16913 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16914 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16915
cba6e77e
GM
169162011-03-31 Glenn Morris <rgm@gnu.org>
16917
e040639f
GM
16918 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16919
cba6e77e
GM
16920 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16921
6d0f1c9e
CS
169222011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16923
16924 * progmodes/python.el (python-default-interpreter)
16925 (python-python-command-args, python-jython-command-args)
16926 (python-which-shell, python-which-args, python-which-bufname)
16927 (python-file-queue, python-comint-output-filter-function)
16928 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16929 variables and functions.
16930
3e2d70fd
SM
169312011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16932
16933 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16934 (completion-in-region-mode): New minor mode.
16935 (completion-in-region): Use it.
16936 (completion-in-region--data, completion-in-region-mode-map): New vars.
16937 (completion-in-region--postch): New function.
16938 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16939 New vars.
16940 (completion--capf-wrapper): New function.
16941 (completion-at-point): Use it to track well-behavedness of
16942 hook functions.
16943 (completion-help-at-point): New command.
16944
f3e4086c
JM
169452011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16946
16947 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16948 syntax class to search for whitespace on a single line
16949 (Message-ID: <4D938140.4030905@redhat.com>).
16950
eb7ffc14
LL
169512011-03-30 Leo Liu <sdl.web@gmail.com>
16952
16953 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16954 New commands.
16955 (edit-abbrevs-map): Bind them here.
16956 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16957
d806ab68
KM
169582011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16959
16960 * allout.el (allout-hide-by-annotation, allout-flag-region):
16961 Reduce possibility of overlay leakage by making them volatile.
16962
16963 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16964 hash is not shared between buffers. Mode initialization is
16965 responsible for giving it a useful starting value.
16966 (allout-item-span): Reduce possibility of overlay leakage by
16967 making them volatile.
16968 (allout-widgets-count-buttons-in-region): Add diagnostic function
16969 for tracking down button overlay leaks.
16970
ea622834
LL
169712011-03-29 Leo Liu <sdl.web@gmail.com>
16972
16973 * ido.el (ido-read-internal): Use the default history var
16974 minibuffer-history if no HISTORY is specified.
16975
b62f8267
G
169762011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
16977
03408648
SM
16978 * net/imap.el (imap-shell-open, imap-process-connection-type):
16979 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
16980 Kerberos, SSL, other subprocesses.
16981
947b6566
LL
169822011-03-28 Leo Liu <sdl.web@gmail.com>
16983
16984 * abbrev.el (abbrev-table-empty-p): New function.
16985 (prepare-abbrev-list-buffer): Place empty abbrev tables after
16986 nonempty ones. (Bug#5937)
16987
5ffb62aa
JD
169882011-03-27 Jan Djärv <jan.h.d@swipnet.se>
16989
16990 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
16991
7a097943
LL
169922011-03-27 Leo Liu <sdl.web@gmail.com>
16993
16994 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
16995 for foreground and background colors.
16996 (ansi-color-make-color-map): Adapt.
16997
c5b40130
LL
169982011-03-25 Leo Liu <sdl.web@gmail.com>
16999
1f48f7d2
LL
17000 * midnight.el (midnight-time-float): Remove. Note it calculates
17001 the microsecond component incorrectly and seconds-to-time does the
17002 same job.
625897ec 17003 Remove redundant (require 'timer).
1f48f7d2 17004
c5b40130
LL
17005 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17006 (ido-completions): Remove unused arguments. (Bug#8329)
17007
d86d2721
SM
170082011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17009
17010 * minibuffer.el (completion--flush-all-sorted-completions):
17011 Remove itself from hook.
17012 (completion-at-point): Let the functions perform the completion
17013 immediately and return nil or t.
17014 * comint.el (comint-dynamic-complete-functions): Now identical to
17015 completion-at-point-functions.
17016 (comint-dynamic-list-input-ring): Remove unused var `index'.
17017 (comint--match-partial-filename, comint--unquote&expand-filename):
17018 New funs, split from comint-match-partial-filename.
17019 (comint-dynamic-complete): Use completion-at-point.
17020 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17021
e8974c48
DA
170222011-03-24 Drew Adams <drew.adams@oracle.com>
17023
17024 * thingatpt.el: Support `defun'.
17025
def71b5e
LL
170262011-03-23 Leo Liu <sdl.web@gmail.com>
17027
cb5af48e
LL
17028 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17029
def71b5e
LL
17030 * help-mode.el (help-mode-finish): Tweak regexp.
17031
927c53e7
GM
170322011-03-23 Glenn Morris <rgm@gnu.org>
17033
18d05bed
GM
17034 * eshell/esh-opt.el (eshell-eval-using-options):
17035 Do not bind unused local variable `eshell-option-stub'.
17036
927c53e7
GM
17037 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17038
9d0da923
JB
170392011-03-22 Juanma Barranquero <lekktu@gmail.com>
17040
17041 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17042 keymap variable in `with-no-warnings' to avoid a warning when the
17043 keymap has been already `defconst'ed.
17044
4b978a67
LL
170452011-03-22 Leo Liu <sdl.web@gmail.com>
17046
17047 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17048 encode all chars in abbrevs; otherwise use emacs-mule or
17049 utf-8-emacs. (Bug#8308)
17050
5fd62452
JB
170512011-03-22 Juanma Barranquero <lekktu@gmail.com>
17052
0b1596c6
JB
17053 * simple.el (backward-delete-char-untabify):
17054 Avoid warning about using `delete-backward-char'.
17055
5fd62452
JB
17056 * image.el (image-type-file-name-regexps): Make it variable.
17057 `imagemagick-register-types' modifies it, and the user may want
17058 to add new extensions for known image types.
17059 (imagemagick-register-types): Throw error if not using ImageMagick.
17060
0b4e93f1
LL
170612011-03-22 Leo Liu <sdl.web@gmail.com>
17062
17063 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17064 located before rcirc-prompt-end-marker.
17065 (rcirc-complete): Error if point is not after rcirc prompt.
17066 Handle the case when table is nil.
9882e214 17067 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17068
fccee4ab
CY
170692011-03-22 Chong Yidong <cyd@stupidchicken.com>
17070
17071 * custom.el (custom--inhibit-theme-enable): Make it affect only
17072 custom-theme-set-variables and custom-theme-set-faces.
17073 (provide-theme): Ignore custom--inhibit-theme-enable.
17074 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17075 (custom-enabling-themes): Delete variable.
d86d2721
SM
17076 (enable-theme): Accept only loaded themes as arguments.
17077 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17078 (custom-enabled-themes): Forbid themes from setting this.
17079 Eliminate use of custom-enabling-themes.
17080 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17081
af896da6
LL
170822011-03-21 Leo Liu <sdl.web@gmail.com>
17083
17084 * ido.el (ido-read-internal): Add ido-selected to history instead
17085 of user input.
17086
78f64af0
SM
170872011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17088
17089 * subr.el (deferred-action-list, deferred-action-function):
17090 Mark obsolete.
17091
b16ac1ec
LL
170922011-03-21 Leo Liu <sdl.web@gmail.com>
17093
810f7698
LL
17094 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17095 change on 2011-02-13 (bug#8309).
17096
b16ac1ec
LL
17097 * minibuffer.el (read-file-name-function): Change default value.
17098 (read-file-name--defaults): Rename from read-file-name-defaults.
17099 (read-file-name-default): Rename from read-file-name.
17100 (read-file-name): Call read-file-name-function.
17101
4e05e67e
GM
171022011-03-21 Glenn Morris <rgm@gnu.org>
17103
17104 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17105 Doc fixes.
17106
4359915b
CY
171072011-03-21 Chong Yidong <cyd@stupidchicken.com>
17108
17109 * cus-theme.el: Add missing provide statement.
17110 (customize-create-theme): Extract theme value correctly.
17111 (custom-theme-visit-theme): Autoload.
17112 (customize-create-theme): Prompt before inserting default faces.
17113
1fe275ee
JB
171142011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17115
17116 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17117 units and musical notes.
17118
cd394be1 171192011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17120
17121 * ido.el (ido-read-internal): Use completing-read-default.
17122 (ido-completing-read): Fix compatibility with completing-read.
17123
7d476bde
CO
171242011-03-20 Christian Ohler <ohler@gnu.org>
17125
17126 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17127 (ert-delete-all-tests): Use `called-interactively-p' rather than
17128 `interactive-p'.
17129 (ert--make-xrefs-region): Respect END.
17130
fe0fb33e
CY
171312011-03-19 Chong Yidong <cyd@stupidchicken.com>
17132
ff854b0b
CY
17133 * dired-aux.el (dired-create-directory): Signal an error if the
17134 directory already exists (Bug#8246).
17135
fe0fb33e
CY
17136 * facemenu.el (list-colors-display): Call list-faces-display
17137 inside with-help-window.
17138 (list-colors-print): Use display property to align the final
17139 column, instead of checking window-width.
17140
576bce32
EZ
171412011-03-19 Eli Zaretskii <eliz@gnu.org>
17142
4d61f28d 17143 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17144 windows-nt systems.
17145 (emerge-protect-metachars): Quote correctly for ms-dos and
17146 windows-nt systems.
17147
89c41d68 171482011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17149
17150 * info.el (info-initialize): Replace all uses of `:' with
17151 path-separator for compatibility with non-Unix systems.
17152 Cache quoting of path-separator. (Bug#8258)
17153
b14e3e21 171542011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17155
17156 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17157 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17158 (mouse-avoidance-mode): Fix typos in docstrings.
17159
4525ce3e
CY
171602011-03-19 Chong Yidong <cyd@stupidchicken.com>
17161
17162 * startup.el (package-subdirectory-regexp): Move from package.el.
17163 Omit \\` and \\', and let callers add them.
17164
17165 * emacs-lisp/package.el (package-strip-version)
17166 (package-load-all-descriptors): Add \\` and \\' to
17167 package-subdirectory-regexp before using it.
17168 (package-untar-buffer): New arg DIR; ensure that file untars only
17169 into this expected directory. Remove superfluous delete-region.
17170 (package-unpack): Caller changed.
17171 (package-tar-file-info): Use package-subdirectory-regexp.
17172
a904a09a 171732011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17174
a904a09a
SM
17175 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17176 diff-mode-shared-map (bug#8284).
17177 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17178
171792011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17180
17181 * calendar/time-date.el (format-seconds): Use assoc instead of
17182 assoc-string, since assoc-string doesn't exist in XEmacs.
17183
171fc304
JB
171842011-03-17 Juanma Barranquero <lekktu@gmail.com>
17185
17186 * custom.el (custom-known-themes): Reflow docstring.
17187 (custom-theme-load-path): Fix typo in docstring.
17188 (load-theme): Fix typo in error message.
17189 (custom-available-themes, custom-variable-theme-value):
17190 Use `let', not `let*'.
17191
d71990a1
JB
171922011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17193
17194 * calc/README: Mention inclusion of musical notes.
17195
17196 * calc/calc-units.el (calc-lu-quant): Rename from
17197 `calc-logunits-quantity'.
17198 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17199 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17200 (calc-db): Rename from `calc-dblevel'.
17201 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17202 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17203 (calc-np): Rename from `calc-nplevel'.
17204 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17205 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17206 (calc-lu-plus): Rename from `calc-logunits-add'.
17207 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17208 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17209 (calc-lu-minus): Rename from `calc-logunits-sub'.
17210 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17211 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17212 (calc-lu-times): Rename from `calc-logunits-mul'.
17213 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17214 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17215 (calc-lu-divide): Rename from `calc-logunits-div'.
17216 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17217 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17218
17219 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17220 functions being autoloaded.
17221
17222 * calc/calc.el (calc-lu-power-reference): Rename from
17223 `calc-logunits-power-reference'.
17224 (calc-lu-field-reference): Rename from
17225 `calc-logunits-field-reference'.
17226
7a71b18d
GM
17227 * calc/calc-help.el (calc-l-prefix-help):
17228 Mention musical note functions.
d71990a1 17229
40c2934b
SM
172302011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17231
17232 * minibuffer.el (completion-all-sorted-completions):
17233 Use :completion-cycle-penalty text property if present.
17234
b0911414
KM
172352011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17236
17237 * allout.el (allout-yank-processing): Adjust for new rebulleting
17238 regime so bullet being yanked is used without prompting the user
17239 for a choice.
17240
8a05b668
JB
172412011-03-16 Juanma Barranquero <lekktu@gmail.com>
17242
17243 * startup.el (command-line): Warn the user that _emacs is deprecated.
17244
5ba5fb81
JB
172452011-03-16 Juanma Barranquero <lekktu@gmail.com>
17246
17247 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17248 (delphi-verbose, delphi-comment-face, delphi-string-face)
17249 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17250 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17251 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17252 (delphi-new-comment-line, delphi-font-lock-defaults)
17253 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17254 Fix typos in docstrings.
17255
2dab465b
KM
172562011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17257
5ba5fb81 17258 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17259 Invert the roles of character and string values for INSTEAD, so a
17260 string is used for the more common case of a defaulting prompt.
17261
0adf5618
SM
172622011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17263
17264 * progmodes/ruby-mode.el (ruby-backward-sexp):
17265 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17266 * play/gamegrid.el (gamegrid-make-face):
17267 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17268 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17269 * notifications.el (notifications-notify):
17270 * net/xesam.el (xesam-search-engines):
17271 * net/quickurl.el (quickurl-list-insert):
17272 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17273
d72700e5
CY
172742011-03-15 Chong Yidong <cyd@stupidchicken.com>
17275
17276 * startup.el (command-line): Update package subdirectory regexp.
17277
49c5410a
SM
172782011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17279
c6eee9aa
SM
17280 * allout.el (allout-abbreviate-flattened-numbering)
17281 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17282
49c5410a
SM
17283 * subr.el (read-char-choice): Only show the cursor after the prompt,
17284 not after the answer.
17285
047b2bb9
KR
172862011-03-15 Kevin Ryde <user42@zip.com.au>
17287
17288 * help-fns.el (variable-at-point): Skip leading quotes, if any
17289 (bug#8253).
17290
0a57d256
SM
172912011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17292
17293 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17294 warning message.
17295
77c992bc
MA
172962011-03-14 Michael Albinus <michael.albinus@gmx.de>
17297
17298 * shell.el (shell): When called interactively, offer to change the
17299 shell file name on remote hosts.
17300
eebc475d
TZ
173012011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17302
17303 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17304 integration for LDAP parameters. The host, base, user or binddn,
17305 and secret tokens can be specified in a netrc file, for instance.
17306 This is optional because an `auth-source' parameter must be
17307 specified in the search attributes.
17308
9d05d1ba
JB
173092011-03-13 Juanma Barranquero <lekktu@gmail.com>
17310
17311 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17312
09d9db2c
GM
173132011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17314
17315 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17316 into declaration. Remove redundant and harmful binding.
17317
173182011-03-12 Eli Zaretskii <eliz@gnu.org>
17319
17320 * files.el (file-ownership-preserved-p): Pass `integer' as an
17321 explicit 2nd argument to `file-attributes'. If the file's owner
17322 is the Administrators group on Windows, and the current user is
17323 Administrator, consider that a match.
17324
17325 * server.el (server-ensure-safe-dir): Consider server directory
17326 safe on MS-Windows if its owner is the Administrators group while
17327 the current Emacs user is Administrator. Use `=' to compare
17328 numerical UIDs, since they could be integers or floats.
17329
219bd536
JB
173302011-03-12 Juanma Barranquero <lekktu@gmail.com>
17331
17332 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17333
f3afd36b
MA
173342011-03-12 Michael Albinus <michael.albinus@gmx.de>
17335
17336 Sync with Tramp 2.2.1.
17337
17338 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17339
17340 * net/trampver.el: Update release number.
17341
3aaaa6f1
SM
173422011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17343
94642599
SM
17344 * progmodes/compile.el (compilation--previous-directory): Fix up
17345 various nil/dead-marker mismatches (bug#8014).
17346 (compilation-directory-properties, compilation-error-properties):
17347 Don't call it at a position past the one we're about to change.
17348
3aaaa6f1
SM
17349 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17350 Disable obsolescence warnings in the file that declares it.
17351
14239447
KM
173522011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17353
099c39a4
JB
17354 * allout-widgets.el (allout-widgets-tally):
17355 Initialize allout-widgets-tally as a hash table rather than nil to
17356 prevent mode-line redisplay warnings. Also, clarify the module
17357 description and fix a comment typo.
14239447 17358
135e287c
JB
173592011-03-11 Juanma Barranquero <lekktu@gmail.com>
17360
17361 * help-fns.el (describe-variable): Don't complete keywords.
17362 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17363
ffbf300e
CY
173642011-03-10 Chong Yidong <cyd@stupidchicken.com>
17365
ba08b241
CY
17366 * emacs-lisp/package.el (package-version-join): Impose a standard
17367 string representation for pre/alpha/beta version lists.
17368 (package-unpack-single): Standardize the directory name by passing
17369 it through package-version-join.
17370 (package-strip-rcs-id): Accept any version string that does not
17371 signal an error in version-to-list.
ffbf300e 17372
f346fd6b
MA
173732011-03-10 Michael Albinus <michael.albinus@gmx.de>
17374
17375 * simple.el (delete-trailing-whitespace): Return nil for the
17376 benefit of `write-file-functions'.
17377
ccb55d27
GM
173782011-03-10 Glenn Morris <rgm@gnu.org>
17379
5ceaac0c
GM
17380 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17381
02da65ff
GM
17382 * vc/vc-git.el (vc-git-program): New option.
17383 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17384 (vc-git--call): Use it.
17385
b2f603cc
GM
17386 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17387
5772caab
GM
17388 * cus-edit.el (Custom-newline): If no button at point, look
17389 for a subgroup button at start-of-line. (Bug#2298)
17390
ccb55d27
GM
17391 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17392
ec6ecaed
JD
173932011-03-10 Julien Danjou <julien@danjou.info>
17394
17395 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17396 `cursor-type' is nil.
17397
9d5aa01d
JB
173982011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17399
17400 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17401
b6a5875b
KM
174022011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17403
7a71b18d 17404 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17405 preserves the existing header prefix, rebulleting it if necessary,
17406 rather than replacing it. This is necessary for proper operation
17407 of cooperative addons like allout-widgets.
1154d12e
JB
17408 (allout-make-topic-prefix, allout-rebullet-heading):
17409 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17410 value as alternate bullet to be used, instead of prompting the user
17411 for a bullet character.
b6a5875b 17412
ee545c35
MA
174132011-03-09 Michael Albinus <michael.albinus@gmx.de>
17414
d86d2721
SM
17415 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17416 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17417 `tramp-default-port'.
17418
c47971d7
DD
174192011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17420
17421 * net/rcirc.el (rcirc-handler-001): Remove useless
17422 with-rcirc-process-buffer.
17423 (rcirc-check-auth-status): Swap arguments to string-match.
17424
13522cb4
GM
174252011-03-09 Glenn Morris <rgm@gnu.org>
17426
0be6f4f1
GM
17427 * shell.el (shell-mode):
17428 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17429
13522cb4
GM
17430 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17431 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17432
515de2e3
CY
174332011-03-08 Chong Yidong <cyd@stupidchicken.com>
17434
17435 * emacs-lisp/package.el (package-refresh-contents)
17436 (package-menu-execute): Use condition-case-no-debug.
17437
b511b994
MA
174382011-03-08 Michael Albinus <michael.albinus@gmx.de>
17439
17440 * simple.el (shell-command-to-string): Use `process-file'.
17441
17442 * emacs-lisp/package.el (package-tar-file-info): Handle also
17443 remote files.
17444
d86d2721
SM
17445 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17446 Use `equal' for upload base check.
b511b994 17447
25bbfb31
AM
174482011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17449
17450 * textmodes/texinfo.el (texinfo-environments):
17451 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17452
be996521
GM
174532011-03-08 Glenn Morris <rgm@gnu.org>
17454
e9c8529f
GM
17455 * cus-start.el (cursor-in-non-selected-windows):
17456 Fix :set quoting oddness. (Bug#8192)
17457
be996521
GM
17458 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17459 in some setf expressions. (Bug#2159)
17460
2bb5649e
CY
174612011-03-08 Chong Yidong <cyd@stupidchicken.com>
17462
17463 * custom.el (custom-available-themes): Return themes in
17464 alphabetical order.
17465
33383987 17466See ChangeLog.15 for earlier changes.
e3d51b27
MR
17467
17468;; Local Variables:
17469;; coding: utf-8
e3d51b27
MR
17470;; End:
17471
acaf905b 17472 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17473
17474 This file is part of GNU Emacs.
17475
17476 GNU Emacs is free software: you can redistribute it and/or modify
17477 it under the terms of the GNU General Public License as published by
17478 the Free Software Foundation, either version 3 of the License, or
17479 (at your option) any later version.
17480
17481 GNU Emacs is distributed in the hope that it will be useful,
17482 but WITHOUT ANY WARRANTY; without even the implied warranty of
17483 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17484 GNU General Public License for more details.
17485
17486 You should have received a copy of the GNU General Public License
17487 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.