Use KSET for write access to Lisp_Object members of struct kboard.
[bpt/emacs.git] / lisp / ChangeLog
CommitLineData
1439443b
SM
12012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
2
3 * subr.el (internal--before-with-seleted-window)
4 (internal--after-with-seleted-window): New functions.
5 (with-selected-window): Use them, to replace dependency on tty-top-frame.
6
0d9e2599
NN
72012-08-12 Nobuyoshi Nakada <nobu@ruby-lang.org>
8
9 * progmodes/ruby-mode.el (ruby-mode-map): Remove unnecessary
10 binding for `newline'.
11 (ruby-move-to-block): When moving backward, stop at block opening,
12 not indentation.
13 * progmodes/ruby-mode.el (ruby-brace-to-do-end)
14 (ruby-do-end-to-brace, ruby-toggle-block): New functions.
15 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
16 `ruby-toggle-block'.
17
ba10c48c
SM
182012-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
19
20 * ibuffer.el (ibuffer-do-toggle-read-only):
21 * dired.el (dired-toggle-read-only):
22 * buff-menu.el (Buffer-menu-toggle-read-only):
23 * bindings.el (mode-line-toggle-read-only):
24 * bs.el (bs-toggle-readonly): Call toggle-read-only interactively.
25
9229c658
AS
262012-08-12 Andreas Schwab <schwab@linux-m68k.org>
27
28 * descr-text.el (describe-char): Put the overlays over the
29 "displayed as" character.
30
0fd09128
JB
312012-08-12 Jay Belanger <jay.p.belanger@gmail.com>
32
33 * calc/calc-units.el (math-default-units-table): Give an
34 initial value.
35 (math-put-default-units): Add options to put composite units and
36 unit systems in the default units table.
37 (calc-convert-units): Send composite units to
38 `math-put-default-units' when appropriate.
39
9ff9402d 402012-08-11 Glenn Morris <rgm@gnu.org>
7aacaf15 41
fbb5e336
GM
42 * emacs-lisp/copyright.el (copyright-update-directory): Logic fix.
43
7aacaf15
GM
44 * tutorial.el (help-with-tutorial):
45 * emacs-lisp/copyright.el (copyright-update-directory):
46 * emacs-lisp/autoload.el (autoload-find-generated-file)
47 (autoload-find-file): Disable local eval: (for insurance).
48
f40b9f10
GM
49 * files.el (hack-local-variables-filter): If an eval: form is not
50 known to be safe, and enable-local-variables is :safe, then ignore
51 the form totally, as is done for non-eval forms. (Bug#12155)
52
daa9f1a6
SM
532012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
54
55 * emacs-lisp/rx.el (rx-constituents): Don't define as constant.
56 (rx-form): Simplify.
57
9cd80478
DG
582012-08-09 Dmitry Gutov <dgutov@yandex.ru>
59
0d9e2599
NN
60 * progmodes/ruby-mode.el (ruby-expr-beg, ruby-parse-partial):
61 ?, _, and : are symbol constituents, ! is not (but kinda should be).
62 (ruby-syntax-propertize-heredoc): Use ruby-singleton-class-p.
63 (ruby-syntax-propertize-function): Adjust for changes in
64 `ruby-syntax-propertize-heredoc'.
65
662012-08-09 Nobuyoshi Nakada <nobu@ruby-lang.org>
67
9cd80478
DG
68 * progmodes/ruby-mode.el (ruby-mode-map): Remove deprecated
69 binding (use `M-;' instead).
9cd80478 70 (ruby-singleton-class-p): New function.
0d9e2599 71 (ruby-expr-beg, ruby-in-here-doc-p) Use it.
9cd80478 72
d301b413
SM
732012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
74
75 * emacs-lisp/cl-macs.el (cl-loop): Improve debug spec.
76
1530c98e
CY
772012-08-10 Chong Yidong <cyd@gnu.org>
78
79 * progmodes/python.el (python-shell-get-process-name): Don't mess
80 with same-window-buffer-names.
81
82 * eshell/eshell.el (eshell-add-to-window-buffer-names)
83 (eshell-remove-from-window-buffer-names): Make obsolete.
84 (eshell-buffer-name, eshell-unload-hook): Don't use them.
85 (eshell): Just use pop-to-buffer-same-window instead.
86
e1293765
CY
872012-08-10 Chong Yidong <cyd@gnu.org>
88
89 * bindings.el: Bind M-= back to count-words-region.
90
91 * simple.el (count-words-region): Accept a prefix arg for acting
92 on the entire buffer.
93 (count-words--buffer-message): New helper function.
94
e1894109
SM
952012-08-10 Stefan Monnier <monnier@iro.umontreal.ca>
96
97 * term/x-win.el (x-menu-bar-open): Always pass last-nonmenu-event.
98 * subr.el (eventp): `nil' is not an event, and eventp is not hot.
99 (event-start, event-end): Use posn-at-point to return a more
100 informative posn.
101 (posnp): New function.
102 * mouse.el (popup-menu-normalize-position): Use it.
103
c69f56a2
MY
1042012-08-10 Masatake YAMATO <yamato@redhat.com>
105
106 * mouse.el (popup-menu-normalize-position): New function.
107 (popup-menu): Use `popup-menu-normalize-position' to normalize
108 the form for POSITION argument.
109
110 * term/x-win.el (x-menu-bar-open):
111 Use the value returend from (posn-at-point) as position
112 passed to `popup-menu'.
113
31673780
JB
1142012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
115
116 * calc/calccomp.el (math-compose-expr): Add extra argument
117 indicating that parentheses should be put around products in
118 denominators. Give multiplication precedence over division during
119 composition.
120
dab7711b
CY
1212012-08-09 Chong Yidong <cyd@gnu.org>
122
dee4ef93
CY
123 * man.el (Man-switches, Man-sed-command, Man-awk-command)
124 (Man-mode-hook, Man-cooked-hook, Man-untabify-command-args)
125 (Man-untabify-command, manual-program): Convert to defcustom
126 (Bug#10429).
127
73e2bbc5
CY
128 * vc/add-log.el (change-log-mode): Bind comment-start to nil.
129
3e861c8a
CY
130 * descr-text.el (describe-char): Don't insert extra newlines
131 (Bug#10127).
132
a9f5a649
CY
133 * vc/log-view.el (log-view-diff): Use use-region-p (Bug#10133).
134 (log-view-diff-changeset, log-view-minor-wrap): Likewise.
135
dab7711b
CY
136 * align.el (align-region): Delete temporary markers (Bug#10047).
137 Plus some code cleanups.
138
e0cc4efa
FEG
1392012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
140
141 * progmodes/python.el (python-pdbtrack-tracked-buffer)
142 (python-pdbtrack-buffers-to-kill, python-shell-internal-buffer)
143 (python-shell-internal-last-output): Use make-local-variable
144 instead of make-variable-buffer-local.
145
489af14f
FEG
1462012-08-09 Fabián Ezequiel Gallina <fgallina@cuca>
147
148 * progmodes/python.el: Enhancements to forward-sexp.
149 (python-nav-forward-sexp): Rename from
150 python-nav-forward-sexp-function.
c69f56a2
MY
151 (python-nav--forward-sexp, python-nav--backward-sexp):
152 New functions.
489af14f 153
0fc50303
JB
1542012-08-09 Jay Belanger <jay.p.belanger@gmail.com>
155
156 * calc/calc-menu.el (calc-modes-menu): Add entries for matrix
157 modes and simplification modes.
158
5d65606a
SM
1592012-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
160
161 * delsel.el (delete-selection-pre-hook): Don't propagate the
162 file-supersession signals (bug#12161).
163
4250fdf5
SM
1642012-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
165
166 * emacs-lisp/cl.el (cl-map-keymap-recursively, cl-map-intervals)
167 (cl-map-extents): Add compatibility aliases (bug#12135).
168
d9f9b465
MA
1692012-08-08 Michael Albinus <michael.albinus@gmx.de>
170
171 * net/tramp-sh.el (tramp-find-file-exists-command): Protect the
172 tests by `ignore-error'.
173 (tramp-find-shell): Open also a new shell, when cache is already
174 set. Reported by Carsten Bormann <cabo@tzi.org>. (Bug#12148)
175
ce0fcefa
JL
1762012-08-08 Juri Linkov <juri@jurta.org>
177
178 * bookmark.el: Add `defaults' property to the bookmark record.
179 (bookmark-current-buffer): Doc fix.
180 (bookmark-make-record): Add `defaults' property with default values
181 to the bookmark record.
182 (bookmark-minibuffer-read-name-map): Remove key binding "\C-u"
183 with `bookmark-insert-current-bookmark'.
184 (bookmark-set): Get `defaults' property from the bookmark record
185 and use it in `read-from-minibuffer'.
186 (bookmark-insert-current-bookmark): Remove function.
187
188 * info.el (Info-bookmark-make-record): Add `defaults' property
189 with values of canonical Info node name, the current Info file
190 name and the current Info node name. (Bug#12107)
191
53fa8652
JL
1922012-08-08 Juri Linkov <juri@jurta.org>
193
194 * files.el (basic-save-buffer): Use `buffer-name' as the default
195 of `read-file-name' when buffer is not visiting a file (bug#12128).
196
242c0a95
JL
1972012-08-08 Juri Linkov <juri@jurta.org>
198
199 * info.el (Info-isearch-search): Doc fix.
200 (Info-search): Change search-failed message from "initial node" to
201 "end of node" (bug#12078).
202 (Info-isearch-search): Change `isearch-string-state' to
203 `isearch--state-string'.
204
32ac3a6b
GM
2052012-08-08 Glenn Morris <rgm@gnu.org>
206
207 * language/persian.el: Remove file.
f8c1afd5 208 * language/misc-lang.el: Move unique part of persian.el here.
32ac3a6b
GM
209 * loadup.el: Remove language/persian.
210
2c2d9c9c
OF
2112012-08-08 Óscar Fuentes <ofv@wanadoo.es>
212
213 * vc/diff-mode.el (diff-remove-trailing-whitespace): New function.
214
2d79ec42
FEG
2152012-08-08 Fabián Ezequiel Gallina <fgallina@cuca>
216
217 * progmodes/python.el Fixed defsubst warning.
218 (python-syntax-context) Rename from python-info-ppss-context.
219 (python-syntax-context-type): Rename from
220 python-info-ppss-context-type.
221 (python-syntax-comment-or-string-p): Rename from
222 python-info-ppss-comment-or-string-p.
223
2bd255dd
JB
2242012-08-08 Jay Belanger <jay.p.belanger@gmail.com>
225
226 * calc/calc-misc.el (calc-record-why): Don't record a message twice.
227
c395097f
AS
2282012-08-07 Andreas Schwab <schwab@linux-m68k.org>
229
6125983e
AS
230 * emacs-lisp/lisp-mode.el (eval-defun-1): Handle standard value of
231 a defcustom that is quoted with backquote.
232
4250fdf5
SM
233 * calc/calc-prog.el (math-do-defmath): Use backquote forms.
234 Fix handling of interactive spec when the body uses return.
651eaf36
AS
235 (math-do-arg-check, math-define-function-body): Use backquote forms.
236 * calc/calc-ext.el (math-defcache): Likewise.
237 * calc/calc-rewr.el (math-rwfail, math-rweval): Likewise.
238 * allout.el (allout-new-exposure): Likewise.
239 * calc/calcalg2.el (math-tracing-integral): Likewise.
240 * info.el (Info-last-menu-item): Likewise.
241 * emulation/vip.el (vip-loop): Likewise.
242 * textmodes/artist.el (artist-funcall): Likewise.
243 * menu-bar.el (menu-bar-make-mm-toggle, menu-bar-make-toggle):
244 Construct menu-item directly.
245
4250fdf5
SM
246 * progmodes/autoconf.el (font-lock-syntactic-keywords):
247 Don't declare.
c395097f 248
5fb50dd3
CY
2492012-08-07 Chong Yidong <cyd@gnu.org>
250
251 * simple.el (deactivate-mark): Preserve text properties when
252 saving the primary selection (Bug#8384).
253
54eea618
KR
2542012-08-07 Kevin Ryde <user42@zip.com.au>
255
256 * woman.el (woman0-if): Quietly treat ".if v" as false (Bug#12109).
257 (woman-parse-numeric-value): On a bad .IP line, issue a warning
258 and continue processing (Bug#12110).
259
638eaeb9
SM
2602012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
261
262 * progmodes/cperl-mode.el (cperl-mode): Yet another fix for
263 syntax-propertize-function (bug#10095).
264
ea376861
SM
2652012-08-06 Stefan Monnier <monnier@iro.umontreal.ca>
266
f91b35be
SM
267 * help-fns.el (help-fns--key-bindings, help-fns--signature)
268 (help-fns--parent-mode, help-fns--obsolete): New funs, extracted from
269 describe-function-1.
270 (describe-function-1): Use them. Move compiler macro after sig.
271 (help-fns--compiler-macro): Use function-get. Assume we're already in
272 standard-output. Adjust layout to new call order.
273
ea376861
SM
274 * emacs-lisp/cl-macs.el (cl--sm-macroexpand): Fix handling of
275 re-binding a symbol that has a symbol-macro (bug#12119).
276
d5be7bd0
MB
2772012-08-06 Mohsen BANAN <libre@mohsen.1.banan.byname.net>
278
279 * language/persian.el: New file. (Bug#11812)
280 * loadup.el: Add language/persian.el.
281
90749b53
CY
2822012-08-06 Chong Yidong <cyd@gnu.org>
283
284 * window.el (window--maybe-raise-frame): New function.
285 (window--display-buffer): Split off from here.
286 (display-buffer-reuse-window, display-buffer-pop-up-frame)
287 (display-buffer-pop-up-window, display-buffer-use-some-window):
288 Obey an inhibit-switch-frame action alist entry.
289 (display-buffer): Update doc.
290
291 * replace.el (occur-after-change-function): Avoid losing focus by
292 using the inhibit-switch-frame display parameter (Bug#12139).
293
ba7b0154
FEG
2942012-08-06 Fabián Ezequiel Gallina <fgallina@cuca>
295
296 Make internal shell process buffer names start with space.
297 * progmodes/python.el (python-shell-make-comint): Add optional
298 argument INTERNAL.
299 (run-python-internal): Use it.
300 (python-shell-internal-get-or-create-process): Check for new
301 internal buffer names.
302
5eaeacb5
GM
3032012-08-06 Glenn Morris <rgm@gnu.org>
304
e296d94b 305 * eshell/esh-ext.el (eshell/addpath): Use dolist and mapconcat.
5eaeacb5
GM
306 Do less getting and setting of environment variables.
307
b7ccbdc2
CY
3082012-08-05 Chong Yidong <cyd@gnu.org>
309
777fe95e
CY
310 * proced.el (proced): Add substitution string to docstring to
311 trigger autoloading of the proced library on C-h f (Bug#1768).
312
4250fdf5
SM
313 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
314 Don't show defvars which have no second argument (Bug#8638).
b7ccbdc2
CY
315
316 * imenu.el (imenu-generic-expression): Move documentation here
317 from imenu--generic-function.
318 (imenu--generic-function): Refer to imenu-generic-expression.
319
9e3b7800 3202012-08-05 Vegard Øye <vegard_oye@hotmail.com> (tiny change)
d5c31f1d
321
322 * emulation/viper-init.el (viper-deflocalvar): Add docstring and
323 indentation declaration.
324 (viper-loop): Add indentation declaration (Bug#7025).
325
e5d9c0d1
CY
3262012-08-05 Chong Yidong <cyd@gnu.org>
327
f0422feb
CY
328 * help-fns.el (describe-variable): Add hyperlink for
329 directory-local variables files. Improve buffer-local and
330 permanent-local reporting; suggested by MON KEY (Bug#6644).
331
332 * help-mode.el (help-dir-local-var-def): New button type.
333
e5d9c0d1
CY
334 * files.el (kill-buffer-hook): Provide a defvar.
335
a4f2deaa
GM
3362012-08-05 Glenn Morris <rgm@gnu.org>
337
338 * eshell/esh-ext.el (eshell/addpath):
339 Also update eshell-path-env. (Bug#12013)
340
a9dd5754
CY
3412012-08-05 Chong Yidong <cyd@gnu.org>
342
a4f2deaa 343 * wdired.el (wdired-mode, wdired-change-to-wdired-mode): Doc fixes.
615b0bf0 344
d014c740
CY
345 * fringe.el (fringe-styles): Add docstring.
346 (fringe--check-mode): New function.
347 (set-fringe-mode, set-fringe-style): Use it.
348 (fringe-mode, set-fringe-style): Doc fixes (Bug#6480).
349
a9dd5754
CY
350 * files.el (set-auto-mode): Fix invalid setq call.
351
7c2dc8bd
SM
3522012-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
353
354 * isearch.el: Misc simplification; use defstruct.
355 (isearch-mode-map): Dense maps now work like sparse ones.
356 (isearch--state): New defstruct.
357 (isearch-string-state, isearch-message-state, isearch-point-state)
358 (isearch-success-state, isearch-forward-state)
359 (isearch-other-end-state, isearch-word-state, isearch-error-state)
360 (isearch-wrapped-state, isearch-barrier-state)
361 (isearch-case-fold-search-state, isearch-pop-fun-state): Remove,
362 replaced by defstruct's accessors.
363 (isearch--set-state): Rename from isearch-top-state and change
364 calling convention.
365 (isearch-push-state): Use new isearch--get-state.
366 (isearch-toggle-word): Disable regexp when enabling word.
367 (isearch-message-prefix): Remove unused arg _c-q-hack.
368 (isearch-message-suffix): Remove unused arg _ellipsis.
369
7fcc0070
AS
3702012-08-04 Andreas Schwab <schwab@linux-m68k.org>
371
372 * simple.el (list-processes--refresh): For a server use :host or
373 :local as the address.
97ad0769 374 (list-processes): Doc fix.
7fcc0070 375
00340faf
MN
3762012-08-04 Michal Nazarewicz <mina86@mina86.com> (tiny change)
377
378 * lisp/mpc.el: Support password in host argument.
379 (mpc--proc-connect): Parse and use new password element.
380 Set mpc-proc variable instead of returning process.
381 (mpc-proc): Adjust accordingly.
382
6dad7178
EZ
3832012-08-03 Eli Zaretskii <eliz@gnu.org>
384
18949c2f
EZ
385 * whitespace.el (whitespace-display-mappings): Use Unicode
386 codepoints, instead of emacs-mule codepoints. See
387 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-07/msg00366.html
388 for the details.
389
6dad7178
EZ
390 * files.el (file-truename): Don't skip symlink-chasing part on
391 windows-nt. Incorporate the resolution of 8+3 short aliases on
4250fdf5
SM
392 Windows into the loop that recursively chases symlinks.
393 Compare directory and its parent case-insensitively on MS-Windows and
6dad7178
EZ
394 MS-DOS.
395
385b0198
CY
3962012-08-03 Chong Yidong <cyd@gnu.org>
397
6200f3c4
CY
398 * menu-bar.el (menu-bar-tools-menu): Remove PCL-CVS.
399
385b0198
CY
400 * sort.el (sort-regexp-fields): Doc fix.
401
b9e74744
TH
4022012-08-03 Tassilo Horn <tsdh@gnu.org>
403
404 * textmodes/reftex.el (reftex-compile-variables): Make keyvals
405 labels regex position point at the expected place.
406
41013cb4
MK
4072012-08-03 MON KEY <monkey@sandpframing.com>
408
409 * net/imap.el (imap-interactive-login, imap-authenticate)
410 (imap-mailbox-lsub, imap-mailbox-list)
411 (imap-mailbox-status-asynch, imap-mailbox-acl-delete)
412 (imap-fetch, imap-message-flag-permanent-p, imap-envelope-from)
413 (imap-parse-response): Doc fix.
414
0ffee616
JT
4152012-08-03 João Távora <joaotavora@gmail.com>
416
417 * textmodes/tex-mode.el (latex-forward-sexp): Terminate the loop
418 if sexp scanning does not move point (Bug#5734).
419
cfcc9cc8
TH
4202012-08-02 Tassilo Horn <tsdh@gnu.org>
421
422 * textmodes/reftex-vars.el (reftex-default-label-alist-entries):
423 Add listings, minted, and ctable packages.
424 (reftex-label-alist-builtin): Move listings, minted, and ctable
425 entries before LaTeX.
a01bbb84 426 (reftex-label-alist): Docfix.
cfcc9cc8 427
66ec2442
BG
4282012-08-02 Bastien Guerry <bzg@gnu.org>
429
430 * replace.el (occur): Fix docstring (bug#12122).
431
837b365b
GM
4322012-08-02 Glenn Morris <rgm@gnu.org>
433
434 * emacs-lisp/authors.el (authors-renamed-files-alist): Add ms-w32.h.
435
e098de97
PE
4362012-08-02 Paul Eggert <eggert@cs.ucla.edu>
437
438 Obsolete alias inactivate-current-input-method-function (Bug#10150).
439 * international/mule-cmds.el: Create
440 inactivate-current-input-method-function as an obsolete alias for
441 deactivate-current-input-method-function. See Katsumi Yamaoka in
442 <http://bugs.gnu.org/10150#46>.
443
a0f95636
JB
4442012-08-01 Jay Belanger <jay.p.belanger@gmail.com>
445
446 * calc/calc-mode.el (calc-set-simplify-mode): Use `cond' instead
447 of nested `if's.
448
0d26d7c4
GM
4492012-08-01 Glenn Morris <rgm@gnu.org>
450
451 * progmodes/autoconf.el (autoconf-definition-regexp):
452 Add AH_TEMPLATE, adjust submatch numbering.
453 (autoconf-font-lock-keywords, autoconf-imenu-generic-expression)
454 (autoconf-current-defun-function): Update for above change.
455 (autoconf-current-defun-function): First skip to end of current word.
456
b686ba06
RS
4572012-08-01 Rupert Swarbrick <rswarbrick@gmail.com> (tiny change)
458
459 * calendar/cal-html.el (cal-html-insert-agenda-days):
460 Fix typo. (Bug#12018)
461
0d49da68
FEG
4622012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
463
464 Shell processes: enhancements to startup and CEDET compatibility.
465 * progmodes/python.el (python-shell-send-setup-max-wait): Delete var.
466 (python-shell-make-comint): accept-process-output at startup.
467 (run-python-internal): Set inferior-python-mode-hook to nil.
468 (python-shell-internal-get-or-create-process): call sit-for.
469 (python-preoutput-result): Add obsolete alias.
470 (python-shell-internal-send-string): Use it.
471 (python-shell-send-setup-code): Remove call to
472 accept-process-output.
473
f1a71c6e
AS
4742012-07-31 Andreas Schwab <schwab@linux-m68k.org>
475
476 * buff-menu.el (list-buffers-noselect): Use prefix-numeric-value.
477 (Bug#12108)
478
d2605269
JB
4792012-07-31 Jay Belanger <jay.p.belanger@gmail.com>
480
481 * calc-mode.el (calc-basic-simplification-mode): Rename from
482 `calc-limited-simplification-mode'.
483 (calc-alg-simplification-mode): New function.
d66060f8 484 (calc-set-simplify-mode): Adjust message.
f1a71c6e 485
d2605269
JB
486 * calc.el (calc-set-mode-line): Adjust mode line display for
487 basic simplification mode.
488
489 * calc-help.el (calc-m-prefix-help): Update help message.
490
491 * calc-ext.el (calc-init-extensions): Add bindings and autoloads
492 for `calc-basic-simplify-mode' and `calc-alg-simplify-mode'.
493
a3827a43
BG
4942012-07-31 Bastien Guerry <bzg@gnu.org>
495
496 * man.el (man): Fix comment. (bug#12101)
497
502e3f89
MR
4982012-07-31 Martin Rudalics <rudalics@gmx.at>
499
500 * window.el (switch-to-prev-buffer, switch-to-next-buffer):
501 Don't return a non-nil value when no suitable buffer was found.
502
d7714961
FEG
5032012-07-31 Fabián Ezequiel Gallina <fgallina@cuca>
504
505 * progmodes/python.el (run-python-internal): Disable font lock for
506 internal shells.
507
1f45e27e
SM
5082012-07-30 Stefan Merten <smerten@oekonux.de>
509
510 * rst.el: Silence `checkdoc-ispell'.
511 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
512 (rst-official-version, rst-official-cvs-rev)
513 (rst-package-emacs-version-alist): Update to upstream V1.3.1.
514 (rst-mode-map): New key binding.
515
0aee6912
PE
5162012-07-30 Paul Eggert <eggert@cs.ucla.edu>
517
518 Update .PHONY listings in makefiles.
519 * Makefile.in (.PHONY): Add all, doit, custom-deps, finder-data,
520 autoloads, update-subdirs, updates, bzr-update, update-authors,
521 compile-onefile, compile-calc, backup-compiled-files,
522 compile-after-backup, compile-one-process, mh-autoloads,
523 bootstrap-clean, distclean, maintainer-clean.
524
9052f9f0
JB
5252012-07-29 Jay Belanger <jay.p.belanger@gmail.com>
526
1823ac5a
JB
527 * calc/calc.el (calc-simplify-mode): Make 'alg the default value.
528 (calc-set-mode-line): Don't display "AlgSimp ".
529
530 * calc/calc-mode.el (calc-alg-simplify-mode): Remove function.
531 (calc-lim-simplify-mode): New function.
532 (calc-set-simplify-mode): Default to 'alg.
533 (calc-default-simplify-mode): Make algebraic simplifications
534 the default.
535
536 * calc/calc-ext.el (calc-init-extensions): Remove binding for
537 `calc-alg-simplify-mode'. Add binding for `calc-lim-simplify-mode'.
538
8d7c7eed 539 * calc/calc-help.el (calc-m-prefix-help): Change messages to
4b337409
JB
540 indicate new simplification modes.
541
1823ac5a
JB
542 * calc/README: Mention new default simplification mode.
543
9052f9f0
JB
544 * calc/calc.el (math-normalize-error): New variable.
545 (math-normalize): Set `math-normalize-error' to t
546 when there's an error.
547
548 * calc/calc-alg.el (math-simplify): Don't simplify when
549 `math-normalize' returns an error.
550
20ba0cb4
EZ
5512012-07-29 Eli Zaretskii <eliz@gnu.org>
552
553 * international/mule-cmds.el (set-locale-environment): Revert last
554 change, since display-graphic-p returns nil when this function is
555 called during startup. Instead...
556
557 * term/w32console.el (terminal-init-w32console): ...setup the
558 keyboard and terminal encoding for TTY sessions here. (Bug#12082)
559
a5dcc929
JL
5602012-07-29 Juri Linkov <juri@jurta.org>
561
562 * simple.el (goto-line): Don't display default line number in the
563 prompt because it should be displayed by `read-number' (bug#9952).
564 Add the current line number to the defaults of `goto-line' to
565 allow its easier modification by users with `M-n' (bug#9201).
566
567 * subr.el (read-number): Support multiple default values like in
568 other minibuffer reading functions. Replace `read' with
569 `string-to-number' for consistency with `number-to-string'.
570
72b255c7
PE
5712012-07-29 Paul Eggert <eggert@cs.ucla.edu>
572
573 deactive->inactive, inactivate->deactivate spelling fixes (Bug#10150)
574 * emulation/viper-init.el (viper-deactivate-input-method-action):
575 Rename from viper-inactivate-input-method-action.
576 (viper-deactivate-input-method):
577 Rename from viper-inactivate-input-method.
578 * follow.el (follow-inactive-menu): Rename from follow-deactive-menu.
579 * international/mule-cmds.el (deactivate-input-method):
580 Rename from inactivate-input-method.
581 Also run input-method-deactivate-hook.
582 (deactivate-current-input-method-function):
583 Rename from inactivate-current-input-method-function.
584 (input-method-deactivate-hook): New hook.
585 (input-method-inactivate-hook): Mark obsolete.
bb6eb9fc
PE
586 (inactivate-input-method): Mark obsolete.
587
72b255c7
PE
588 * international/quail.el (quail-activate):
589 Also run quail-deactivate-hook.
590 (quail-deactivate): Rename from quail-inactivate.
591 * international/robin.el (robin-activate):
592 Also run robin-deactivate-hook.
593 (robin-deactivate): Rename from robin-inactivate.
594
2549c068
CY
5952012-07-29 Chong Yidong <cyd@gnu.org>
596
597 * simple.el (indicate-copied-region): New function.
598 (kill-ring-save): Split off from here.
599
600 * rect.el (copy-rectangle-as-kill): Call indicate-copied-region.
601 (kill-rectangle): Set deactivate-mark to t on read-only error.
602
603 * register.el (copy-to-register, copy-rectangle-to-register):
604 Deactivate the mark, and use indicate-copied-region (Bug#10056).
c69f56a2
MY
605 (append-to-register, prepend-to-register):
606 Call 2012-07-29 Juri Linkov <juri@jurta.org>
17711ed9
JL
607
608 * simple.el (async-shell-command-buffer): New defcustom.
609 (shell-command): Use it. (Bug#4719)
610
01bd1b0d
EZ
6112012-07-28 Eli Zaretskii <eliz@gnu.org>
612
613 * international/mule-cmds.el (set-locale-environment): In a
614 console session on MS-Windows, set up keyboard and terminal
615 encoding from the OEM codepage, not the ANSI codepage.
616 (Bug#12055)
617
a55739d3
CY
6182012-07-28 Chong Yidong <cyd@gnu.org>
619
620 * progmodes/gdb-mi.el (gdb-place-breakpoints): Fix the call to
621 gdb-get-location.
622
0e1a094f 6232012-07-28 Leo Liu <sdl.web@gmail.com>
9a0f8f2e
LL
624
625 * progmodes/cc-menus.el (cc-imenu-objc-function): Avoid leaving nil in
626 the alist (bug#12029).
627
20329d73
EZ
6282012-07-28 Eli Zaretskii <eliz@gnu.org>
629
630 * makefile.w32-in (custom-deps, finder-data, updates, compile)
631 (compile-always, compile-first)
632 ($(lisp)/calendar/cal-loaddefs.el)
633 ($(lisp)/calendar/diary-loaddefs.el)
634 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
635 ($(lisp)/net/tramp-loaddefs.el, bootstrap)
636 ($(lisp)/progmodes/cc-mode.elc): Depend on $(lisp)subdirs.el,
637 instead of on update-subdirs.
638 (bootstrap-clean): Delete $(lisp)/subdirs.el.
639
345a2258
CY
6402012-07-28 Chong Yidong <cyd@gnu.org>
641
1eee6341
CY
642 * vc/vc.el (vc-root-diff, vc-print-root-log): Prompt for a
643 directory if vc-deduce-backend returns nil (Bug#7350).
644
345a2258
CY
645 * simple.el (delete-trailing-lines): New option.
646 (delete-trailing-whitespace): Obey it (Bug#11879).
647
049a0936
DE
6482012-07-28 David Engster <deng@randomsample.de>
649
650 * xml.el (xml-node-name, xml-parse-file, xml-parse-region):
651 Explanation of new 'symbol-qnames feature in doc-strings.
652 (xml-maybe-do-ns): Return expanded names as plain symbols if
653 'symbol-qnames was provided in XML-NS argument (Bug#11916).
654 (xml-parse-tag-1): Deal with new definition of PARSE-NS argument.
655
aa81af71
FEG
6562012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
657
658 Consistent completion in inferior python with emacs -nw.
659 * progmodes/python.el (inferior-python-mode): replace "<tab>"
660 binding in inferior-python-mode-map with "\t".
661 (python-shell-completion-complete-at-point)
662 (python-completion-complete-at-point): Remove interactive spec.
663
e827b1eb
JB
6642012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
665
666 * calc/calccomp.el (math-compose-expr): Undo previous change.
667
a90dfb95
FEG
6682012-07-27 Fabián Ezequiel Gallina <fgallina@cuca>
669
4250fdf5 670 * progmodes/python.el (python-mode-map): Add keybinding for
a90dfb95
FEG
671 run-python.
672 (python-shell-make-comint): Fix pop-to-buffer call.
673 (run-python): Autoload. New arg SHOW.
674 (python-shell-get-or-create-process): Do not pop python process
675 buffer.
676
32770973 6772012-07-27 Michael Albinus <michael.albinus@gmx.de>
1c6ef030
MA
678
679 * notifications.el (notifications-on-action-signal)
680 (notifications-on-closed-signal): Use also the bus address for the map.
681 (notifications-notify, notifications-close-notification)
682 (notifications-get-capabilities): Add optional argument BUS.
683
86332df2
TH
6842012-07-27 Tassilo Horn <tsdh@gnu.org>
685
4250fdf5
SM
686 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
687 Add support for the lstlisting and minted environments, and for the
86332df2
TH
688 ctable macro.
689 * textmodes/reftex.el (reftex-compile-variables): Also recognize
690 labels written in keyvals syntax.
691
ca1302a4
JB
6922012-07-27 Jay Belanger <jay.p.belanger@gmail.com>
693
694 * calc/calccomp.el (math-compose-expr): Use parentheses when
695 there is a product in the denominator of a fraction.
696
f8b91036
EZ
6972012-07-26 Eli Zaretskii <eliz@gnu.org>
698
699 * makefile.w32-in ($(lisp)/calendar/cal-loaddefs.el)
700 ($(lisp)/calendar/diary-loaddefs.el)
701 ($(lisp)/calendar/hol-loaddefs.el, $(lisp)/mh-e/mh-loaddefs.el)
4250fdf5
SM
702 ($(lisp)/net/tramp-loaddefs.el): Depend on update-subdirs.
703 Fixes failures in parallel bootstrap because subdirs.el is being
f8b91036
EZ
704 rewritten while the autoload files are built at the same time,
705 which needs to load subdirs.el.
706
c8e5a42c
MR
7072012-07-26 Martin Rudalics <rudalics@gmx.at>
708
709 * mouse.el (popup-menu): Fix doc-string and re-indent code.
710 (mouse-drag-line): Don't exit tracking when a switch-frame or
711 switch-window event occurs (Bug#12006).
712
670d85ea
SM
7132012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
714
715 * mouse.el (popup-menu): Fix last change.
716
7abaf5cc
SM
7172012-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
718
719 Autoload from Lisp with more care. Follow aliases when looking for
720 function properties.
721 * subr.el (autoloadp): New function.
722 (symbol-file): Use it.
723 (function-get): New function.
724 * emacs-lisp/macroexp.el (macroexp--expand-all): Use function-get and
725 autoload-do-load.
726 * emacs-lisp/lisp-mode.el (lisp-font-lock-syntactic-face-function)
727 (lisp-indent-function):
728 * emacs-lisp/gv.el (gv-get):
729 * emacs-lisp/edebug.el (get-edebug-spec, edebug-basic-spec):
730 * emacs-lisp/byte-opt.el (byte-optimize-form):
731 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
732 * emacs-lisp/autoload.el (make-autoload, autoload-print-form):
733 Use function-get.
734 * emacs-lisp/cl.el: Don't propagate function properties any more.
735
736 * speedbar.el (speedbar-add-localized-speedbar-support):
737 * emacs-lisp/disass.el (disassemble-internal):
738 * desktop.el (desktop-load-file):
739 * help-fns.el (help-function-arglist, find-lisp-object-file-name)
740 (describe-function-1):
741 * emacs-lisp/find-func.el (find-function-noselect):
742 * emacs-lisp/elp.el (elp-instrument-function):
743 * emacs-lisp/advice.el (ad-has-proper-definition):
744 * apropos.el (apropos-safe-documentation, apropos-macrop):
745 * emacs-lisp/debug.el (debug-on-entry):
746 * emacs-lisp/cl-macs.el (cl-compiler-macroexpand):
747 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
748 * calc/calc.el (name): Use autoloadp & autoload-do-load.
749
b1364986
AA
7502012-07-25 Alp Aker <alp.tekin.aker@gmail.com>
751
752 * international/mule-cmds.el (ucs-insert): Mark it as an obsolete
753 function, not an obsolete variable (Bug#12046).
754
67ada220
AS
7552012-07-25 Andreas Schwab <schwab@linux-m68k.org>
756
757 * faces.el (face-spec-reset-face): Fix last change. (Bug#12042)
758
f08088e3
CS
7592012-07-25 Christopher Schmidt <christopher@ch.ristopher.com>
760
761 * emacs-lisp/pp.el (pp-display-expression): Select old selected
762 window only if it is still live (Bug#12034).
763
8137e7b3
MR
7642012-07-25 Martin Rudalics <rudalics@gmx.at>
765
766 * subr.el (redirect-frame-focus): Add advertised calling
767 convention (Bug#12030).
768
09ae5da1
PE
7692012-07-25 Paul Eggert <eggert@cs.ucla.edu>
770
771 Prefer typical American spelling for "acknowledgment".
772 * vc/add-log.el (change-log-acknowledgment): Rename from
773 change-log-acknowledgement, with an alias for the old name.
774
3cc5a3a8
JB
7752012-07-25 Jay Belanger <jay.p.belanger@gmail.com>
776
777 * calc-alg.el (math-simplify-divide): Don't cross multiply
778 in an equation when the lhs is a variable.
779
b7af7f62
JD
7802012-07-24 Julien Danjou <julien@danjou.info>
781
782 * net/netrc.el (netrc-find-service-number, netrc-store-data):
783 Remove, unused.
784
ec1b09b1
EZ
7852012-07-23 Eli Zaretskii <eliz@gnu.org>
786
787 * startup.el (command-line): Don't display an empty user name in
788 the error message about non-existent home directory, when
789 init-file-user was set to an empty string. See
790 http://lists.gnu.org/archive/html/bug-gnu-emacs/2012-07/msg00835.html
791 for the details and context.
792
b525fd8a
VB
7932012-07-22 Vincent Belaïche <vincentb1@users.sourceforge.net>
794
795 * ses.el (ses-cell-formula-aset): New macro.
796 (ses-cell-references-aset): New macro.
797 (ses-cell-p): New function.
798 (ses-rename-cell): Do no longer rely on complex operations like
799 ses-cell-set-formula or ses-set-cell to change the cell and handle
800 the undo at the same time, but rather use lower level new macros
801 `ses-cell-formula-aset' and `ses-cell-references-aset' and handle
802 the undo directly. Refresh the mode line.
803
2c73e345
LL
8042012-07-21 Leo Liu <sdl.web@gmail.com>
805
670d85ea
SM
806 * progmodes/cc-cmds.el (c-defun-name):
807 Use match-string-no-properties instead for consistency.
2c73e345 808
542dfbde
LL
8092012-07-20 Leo Liu <sdl.web@gmail.com>
810
3646bcd6
LL
811 * progmodes/cc-cmds.el (c-defun-name): Handle objc selectors properly.
812 (Bug#7879)
813
542dfbde
LL
814 * progmodes/cc-langs.el (c-symbol-start): Include char _ (bug#11986).
815
25721031
CY
8162012-07-20 Stefan Monnier <monnier@iro.umontreal.ca>
817
818 * userlock.el, emacs-lisp/map-ynp.el: Declare part of `emacs' package.
819 * progmodes/bug-reference.el, misearch.el: Provide themselves
820 (bug#11915).
821
822 * progmodes/cperl-mode.el (cperl-unwind-to-safe): Don't inf-loop at end
823 of narrowed buffer (bug#11966).
824
316e68a7
VB
8252012-07-20 Vincent Belaïche <vincentb1@users.sourceforge.net>
826
827 * ses.el (ses-rename-cell): Set new name also in reference list of
828 cells of which the renamed cell depends.
829
bbf0e7d9
MY
8302012-07-20 Masatake YAMATO <yamato@redhat.com>
831
832 * term/x-win.el (x-menu-bar-open): Use `frame-parameter'
833 to check whether menu-bar is shown or not. If not shown,
834 show the menu-bar as a popup menu instead of using tmm.
835 * mouse.el (popup-menu): Accept `point' as `position' argument.
836
c28662a8
DG
8372012-07-20 Dmitry Gutov <dgutov@yandex.ru>
838
839 * progmodes/ruby-mode.el (ruby-parse-partial): No error when end
840 up inside string symbol literal (bug#11923).
841
87ab808f
EZ
8422012-07-20 Eli Zaretskii <eliz@gnu.org>
843
844 * startup.el (fancy-startup-text): Read the whole tutorial, not
845 just its first 256 bytes. Prevents gibberish in display of the
846 tutorial title.
847
89dea803
DA
8482012-07-20 Dmitry Antipov <dmantipov@yandex.ru>
849
850 Drop idle buffer compaction due to an absence of the
851 proved efficiency.
852 * compact.el: Remove.
853
8a4e6db8
SS
8542012-07-19 Sam Steingold <sds@gnu.org>
855
856 * vc/vc-dispatcher.el (vc-compilation-mode): Add, based on
857 vc-bzr-pull & vc-bzr-merge-branch.
858 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch): Use it.
859 (vc-bzr-error-regexp-alist): Rename from vc-bzr-error-regex-alist
860 for consistency with compilation-error-regexp-alist.
861 * vc/vc-git.el (vc-git-error-regexp-alist): Add.
862 (vc-git-pull, vc-git-merge-branch): Call vc-compilation-mode.
863 * vc/vc-hg.el (vc-hg-error-regexp-alist): Add.
864 (vc-hg-pull, vc-hg-merge-branch): Call vc-compilation-mode.
865
5db81e33
SM
8662012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
867
868 * emacs-lisp/chart.el: Use lexical-binding.
869 (chart-emacs-storage): Don't hardcode the list of entries.
870
5b835e1d
DA
8712012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
872
873 Next round of tweaks caused by Fgarbage_collect changes.
874 * emacs-lisp/chart.el (chart-emacs-storage): Adjust again.
875
9cd47b72
DA
8762012-07-19 Dmitry Antipov <dmantipov@yandex.ru>
877
878 Compact buffers when idle.
879 * compact.el: New file.
880
1d6fc0df
SM
8812012-07-19 Stefan Monnier <monnier@iro.umontreal.ca>
882
883 * subr.el (eventp): Presume that if it looks vaguely like an event,
884 it's an event (bug#10190).
885
1d29cc7d
FEG
8862012-07-19 Fabián Ezequiel Gallina <fgallina@cuca>
887
888 Enhancements to ppss related code (thanks Stefan).
889 * progmodes/python.el (python-indent-context)
890 (python-indent-calculate-indentation, python-indent-dedent-line)
891 (python-indent-electric-colon, python-nav-forward-block)
892 (python-mode-abbrev-table)
1d6fc0df 893 (python-info-assignment-continuation-line-p): Simplify checks
1d29cc7d
FEG
894 for ppss context.
895 (python-info-continuation-line-p): Cleanup.
896 (python-info-ppss-context): Do not catch 'quote.
897 (python-info-ppss-context-type)
898 (python-info-ppss-comment-or-string-p): Simplify.
899
d583cbe6
FEG
9002012-07-18 Fabián Ezequiel Gallina <fgallina@cuca>
901
902 * progmodes/python.el: Enhancements to eldoc support.
903 (python-info-current-symbol): New function.
904 (python-eldoc-at-point): Use python-info-current-symbol.
905 (python-info-current-defun): Fix cornercase on first defun scan.
906 (python-eldoc--get-doc-at-point): Use python-info-current-symbol
907 and signal error when no inferior python process is available.
908
eceb6feb
DG
9092012-07-18 Dmitry Gutov <dgutov@yandex.ru>
910
911 * vc/vc-git.el (vc-git-state): Don't call `vc-git-registered',
912 assume it's always t.
913 (vc-git-registered): Remove caching, the function is only called
914 once.
915 (vc-git-branches): Use `vc-git--call' instead of `call-process'.
916
4c8ff0fe
CY
9172012-07-18 Chong Yidong <cyd@gnu.org>
918
19fb7186
CY
919 * subr.el (last-input-char, last-command-char): Remove (Bug#9195).
920
9587c688
CY
921 * simple.el (count-words): Report on narrowing (Bug#9959).
922
0fe776a1
CY
923 * bindings.el: Bind M-= to count-words.
924
4c8ff0fe
CY
925 * faces.el (face-spec-reset-face): Handle reverse video (Bug#4238).
926
7f5331cc
MY
9272012-07-18 Masatake YAMATO <yamato@redhat.com>
928
929 * progmodes/sh-script.el (sh-imenu-generic-expression):
930 Capture a function with `function' keyword and without parentheses
931 like "function FOO" (bug#11856).
932
2dc2a609
TH
9332012-07-18 Tassilo Horn <tassilo@member.fsf.org>
934
935 * window.el (split-window-sensibly): Make WINDOW argument
936 optional.
937
439f7677
CY
9382012-07-18 Chong Yidong <cyd@gnu.org>
939
9aeb25a6
CY
940 * subr.el (keyboard-translate): Doc fix (Bug#7261).
941
439f7677
CY
942 * isearch.el (isearch-mode-map): Handle C-x 8 key translations,
943 and make C-x 8 RET exit isearch (Bug#11439).
944
945 * international/iso-transl.el: Move isearch-mode-map key
946 definitions to isearch.el.
947
12999ea8
SM
9482012-07-18 Stefan Monnier <monnier@iro.umontreal.ca>
949
950 * emacs-lisp/eieio.el: Adapt further to gv.el (bug#11970).
951 (eieio-defclass): Use gv-define-setter when possible.
952
3ab6e069
DA
9532012-07-18 Dmitry Antipov <dmantipov@yandex.ru>
954
955 Reflect recent changes in Fgarbage_collect.
956 * emacs-lisp/chart.el (chart-emacs-storage): Change to
957 reflect new format of data returned by Fgarbage_collect.
958
0a60bc10
FEG
9592012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
960
961 New utility functions + python-info-ppss-context fix (Bug#11910).
962 * progmodes/python.el (python-info-beginning-of-block-statement-p)
963 (python-info-ppss-comment-or-string-p): New functions.
964 (python-info-ppss-context): Small fix for string check.
965
6dafa0d5
JL
9662012-07-17 Juri Linkov <juri@jurta.org>
967
968 * dired-aux.el (dired-do-async-shell-command): Doc fix.
969 (dired-do-async-shell-command): Don't add `*' at the end of the
970 command (Bug#11815).
971 (dired-do-shell-command): Doc fix.
972 (dired-shell-stuff-it): Strip the trailing "&" and ";" if any.
973 Join the individual commands using either "&" or ";" as the
974 separator depending on the values of these trailing characters.
975 At the end re-add the trailing "&". (Bug#10598)
976
977 * simple.el (async-shell-command): Sync the interactive spec with
978 `shell-command'. Doc fix.
979 (shell-command): Doc fix.
980
b19dd9d1
JL
9812012-07-17 Juri Linkov <juri@jurta.org>
982
983 * descr-text.el (describe-char): Fix format args. (Bug#10129)
984
bcdc27d7 9852012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
7f5331cc 986
bcdc27d7 987 Final renames and doc fixes for movement commands (bug#11899).
7f5331cc
MY
988 * progmodes/python.el (python-nav-beginning-of-statement):
989 Rename from python-nav-statement-start.
bcdc27d7
FEG
990 (python-nav-end-of-statement): Rename from
991 python-nav-statement-end.
992 (python-nav-beginning-of-block): Rename from
993 python-nav-block-start.
994 (python-nav-end-of-block): Rename from python-nav-block-end.
995
191da00e
FEG
9962012-07-17 Fabián Ezequiel Gallina <fgallina@cuca>
997
7f5331cc
MY
998 * progmodes/python.el (python-shell-send-string-no-output):
999 Allow accept-process-output to quit, keeping shell process ready for
191da00e
FEG
1000 future interactions (Bug#11868).
1001
4dc7c8d5 10022012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
aa7aaf8f 1003
88ecaf8f
SM
1004 * emacs-lisp/cl-macs.el (cl-progv): Use a properly prefixed var name.
1005
ef501ef0
SM
1006 * emacs-lisp/elint.el (elint-find-args-in-code):
1007 Use help-function-arglist, so as to handle lexical byte-code.
1008
aa7aaf8f
SM
1009 * progmodes/sh-script.el (sh-syntax-propertize-function): Fix last
1010 change (bug#11826).
1011
45fd731c
SM
10122012-07-17 Stefan Monnier <monnier@iro.umontreal.ca>
1013
2143fa32
SM
1014 * progmodes/cc-engine.el (c-forward-sws, c-backward-sws):
1015 Avoid spuriously marking the buffer as modified because of c-is-sws.
1016
efc26dbe
SM
1017 * progmodes/sh-script.el (sh-syntax-propertize-function): Mark "${#VAR"
1018 as not-a-comment (bug#11946).
1019
f5695c9a
SM
1020 * emacs-lisp/macroexp.el (macroexp-let2): Use more informative names
1021 for uninterned vars.
1022
1023 * xt-mouse.el (xterm-mouse-translate-1, xterm-mouse-event-read):
1024 Use read-event since we don't really want to read chars but bytes.
1025
45fd731c
SM
1026 * textmodes/tex-mode.el (tex-font-lock-keywords-1): Highlight not only
1027 $$..$$ but also $..$ using regexps (bug#11953).
1028 Use tex-verbatim for \url and \path.
1029 (tex-font-lock-keywords): Define as defconst like the others.
1030 (tex-common-initialization): Don't use font-lock-syntax-table any more.
1031
ddfc8813
RK
10322012-07-16 René Kyllingstad <Rene@Kyllingstad.com> (tiny change)
1033
1034 * international/mule-cmds.el (ucs-insert): Make it an obsolete
1035 alias for insert-char.
1036
758e556a
FEG
10372012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1038
1039 * progmodes/python.el: Simplified imenu implementation.
1040 (python-nav-jump-to-defun): Remove command.
1041 (python-mode-map): Use `imenu' instead.
1042 (python-nav-list-defun-positions-cache)
1043 (python-imenu-include-defun-type, python-imenu-make-tree)
1044 (python-imenu-subtree-root-label, python-imenu-index-alist):
1045 Remove vars.
1046 (python-nav-list-defun-positions, python-nav-read-defun)
1047 (python-imenu-tree-assoc, python-imenu-make-element-tree)
45fd731c
SM
1048 (python-imenu-make-tree, python-imenu-create-index):
1049 Remove functions.
758e556a
FEG
1050 (python-mode): Update to interact with imenu by setting
1051 `imenu-extract-index-name-function' only.
1052
032d23ab
FEG
10532012-07-16 Fabián Ezequiel Gallina <fgallina@cuca>
1054
1055 * progmodes/python.el: Enhancements to navigation commands.
1056 (python-nav-backward-sentence)
1057 (python-nav-forward-sentence): Remove.
1058 (python-nav-backward-statement, python-nav-forward-statement)
1059 (python-nav-statement-start, python-nav-statement-end)
1060 (python-nav-backward-block, python-nav-forward-block)
1061 (python-nav-block-start, python-nav-block-end)
1062 (python-nav-forward-sexp-function)
1063 (python-info-current-line-comment-p)
1064 (python-info-current-line-empty-p): New functions.
1065 (python-indent-context): Use `python-nav-statement-start'.
1066
01795a1b
MA
10672012-07-16 Michael Albinus <michael.albinus@gmx.de>
1068
9328d9aa
MA
1069 * eshell/em-ls.el (eshell/ls): Use `apply'.
1070
1071 * eshell/em-unix.el (eshell/su, eshell/sudo): Apply Tramp's ad-hoc
1072 multi-hops, instead of Tramp internals.
1073
01795a1b
MA
1074 * vc/ediff.el (ediff-directories): Add trailing space to prompts.
1075
1076 * vc/ediff-diff.el (ediff-same-file-contents): Handle the case,
1077 when F1 and F2 are located on different hosts.
1078
63408057
CY
10792012-07-14 Chong Yidong <cyd@gnu.org>
1080
1081 * xt-mouse.el: Implement extended mouse coordinates (Bug#10642).
1082 (xterm-mouse-translate): Move code into xterm-mouse-translate-1.
1083 (xterm-mouse-translate-extended, xterm-mouse-translate-1)
1084 (xterm-mouse--read-event-sequence-1000)
1085 (xterm-mouse--read-event-sequence-1006): New functions. For old
1086 mouse protocol, handle M-mouse-X events correctly.
1087 (xterm-mouse-event): New arg specifying mouse protocol.
1088 (turn-on-xterm-mouse-tracking-on-terminal)
1089 (turn-off-xterm-mouse-tracking-on-terminal): Send DEC 1006
45fd731c
SM
1090 sequence to toggle extended coordinates on newer XTerms.
1091 This appears to be harmless on terminals which do not support this.
63408057 1092
cd276f6e
LL
10932012-07-14 Leo Liu <sdl.web@gmail.com>
1094
28ca98ac
LL
1095 Add fringe bitmap indicators for flymake. (Bug#11253)
1096 * progmodes/flymake.el (flymake-highlight-line): Use fringe bitmaps.
1097 (flymake-make-overlay): New arg BITMAP.
1098 (flymake-error-bitmap, flymake-warning-bitmap)
1099 (flymake-fringe-indicator-position): New user variables.
1100
cd276f6e
LL
1101 * fringe.el: New bitmap exclamation-mark.
1102
04408072
JD
11032012-07-14 Jan Djärv <jan.h.d@swipnet.se>
1104
1105 * progmodes/cc-cmds.el (c-defun-name): Recognize Objective-C methods
1106 also (Bug#7879).
1107
b5cf7fc4
CY
11082012-07-14 Chong Yidong <cyd@gnu.org>
1109
1110 * electric.el (electric-pair-post-self-insert-function): Fix pair
1111 insertion in empty-region case (Bug#11520).
1112
be755c79
RT
11132012-07-14 Chong Yidong <cyd@gnu.org>
1114
45fd731c
SM
1115 * bindings.el: Consolidate ctl-x-r-map bindings.
1116 Bind copy-rectangle-as-kill to C-x r w.
be755c79
RT
1117
1118 * rect.el, register.el: Move bindings to bindings.el.
1119
11202012-07-14 Reuben Thomas <rrt@sc3d.org>
1121
1122 * rect.el (copy-rectangle-as-kill): New command (Bug#739).
1123
7f5b3198
AS
11242012-07-13 Andreas Schwab <schwab@linux-m68k.org>
1125
1126 * emacs-lisp/cl.el (labels): Remove spurious quote. (Bug#11938)
1127
97662200
JB
11282012-07-13 Juanma Barranquero <lekktu@gmail.com>
1129
80185fed
JB
1130 * bindings.el (top): Use `mapc' instead of `mapcar'.
1131
97662200
JB
1132 * loadup.el (top): Remove bogus `if' choice (brought by 2008-06-21T01:38:39Z!monnier@iro.umontreal.ca).
1133
2bb1ae55
MA
11342012-07-13 Michael Albinus <michael.albinus@gmx.de>
1135
1136 * progmodes/sql.el (sql-comint): Suppress the check for program on
1137 remote hosts. Reported by Francis Devereux <francis@devrx.org>.
1138 (Bug#11908)
1139
dea31bd3
CY
11402012-07-13 Chong Yidong <cyd@gnu.org>
1141
1142 * bindings.el: Assign a non-nil permanent-local property to
1143 per-buffer variables which lack a default value (Bug#11930).
1144
1145 * help-fns.el (describe-variable): In the "automatically becomes
1146 local" notice, take note of permanent-local variables.
1147
b68b3337
CY
11482012-07-13 Chong Yidong <cyd@gnu.org>
1149
1150 * files.el (toggle-read-only): Doc fix and code cleanup. New arg
1151 to allow printing the message when called from Lisp.
1152
1153 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
1154 Remove toggle-read-only.
1155
1156 * bs.el (bs-toggle-readonly):
45fd731c
SM
1157 * buff-menu.el (Buffer-menu-toggle-read-only):
1158 Remove with-no-warnings around toggle-read-only.
b68b3337
CY
1159
1160 * ffap.el (ffap--toggle-read-only): Accept a list of buffers.
1161 Remove with-no-warnings around toggle-read-only.
1162 (ffap-read-only, ffap-read-only-other-window)
1163 (ffap-read-only-other-frame): Callers changed.
1164
1165 * help-mode.el: Don't require view package.
1166 (help-mode-finish): Set buffer-read-only instead of calling
1167 toggle-read-only.
1168
1169 * bindings.el (mode-line-toggle-read-only):
1170 * dired.el (dired-toggle-read-only):
1171 * ibuffer.el (ibuffer-do-toggle-read-only): Call toggle-read-only
1172 with non-nil second arg.
1173
1174 * emacs-lisp/eieio-custom.el (eieio-customize-object):
1175 * vc/ediff.el (ediff-set-read-only-in-buf-A): Set buffer-read-only
1176 directly.
1177
56bc1586
EZ
11782012-07-12 Eli Zaretskii <eliz@gnu.org>
1179
1180 * emacs-lisp/bytecomp.el (byte-recompile-directory): Use cl-incf,
1181 not incf.
1182
a464a6c7
SM
11832012-07-11 Stefan Monnier <monnier@iro.umontreal.ca>
1184
1185 More CL cleanups and reduction of use of cl.el.
1186 * woman.el, winner.el, vc/vc-rcs.el, vc/vc-hooks.el, vc/vc-hg.el:
1187 * vc/vc-git.el, vc/vc-dir.el, vc/vc-bzr.el, vc/vc-annotate.el:
1188 * textmodes/tex-mode.el, textmodes/sgml-mode.el, tar-mode.el:
1189 * strokes.el, ses.el, server.el, progmodes/js.el, progmodes/gdb-mi.el:
1190 * progmodes/flymake.el, progmodes/ebrowse.el, progmodes/compile.el:
1191 * play/tetris.el, play/snake.el, play/pong.el, play/landmark.el:
1192 * play/hanoi.el, play/decipher.el, play/5x5.el, nxml/nxml-mode.el:
1193 * net/secrets.el, net/quickurl.el, midnight.el, mail/footnote.el:
1194 * image-dired.el, ibuffer.el, ibuf-macs.el, ibuf-ext.el, hexl.el:
1195 * eshell/eshell.el, eshell/esh-io.el, eshell/esh-ext.el:
1196 * eshell/esh-cmd.el, eshell/em-ls.el, eshell/em-hist.el:
1197 * eshell/em-cmpl.el, eshell/em-banner.el:
1198 * calendar/parse-time.el: Use cl-lib.
1199 * wid-browse.el, wdired.el, vc/vc.el, vc/vc-mtn.el, vc/vc-cvs.el:
1200 * vc/vc-arch.el, tree-widget.el, textmodes/texinfo.el:
1201 * textmodes/refill.el, textmodes/css-mode.el, term/tvi970.el:
1202 * term/ns-win.el, term.el, shell.el, ps-samp.el:
1203 * progmodes/perl-mode.el, progmodes/pascal.el, progmodes/gud.el:
1204 * progmodes/glasses.el, progmodes/etags.el, progmodes/cwarn.el:
1205 * play/gamegrid.el, play/bubbles.el, novice.el, notifications.el:
1206 * net/zeroconf.el, net/xesam.el, net/snmp-mode.el, net/mairix.el:
1207 * net/ldap.el, net/eudc.el, net/browse-url.el, man.el:
1208 * mail/mailheader.el, mail/feedmail.el: Don't use CL.
1209 * ibuf-ext.el (ibuffer-mark-old-buffers): Use float-time.
1210 * eshell/esh-opt.el (eshell-eval-using-options): Quote code with
1211 `lambda' rather than with `quote'.
1212 (eshell-do-opt): Adjust accordingly.
1213 (eshell-process-option): Simplify.
1214 * eshell/esh-var.el:
1215 * eshell/em-script.el: Require `esh-opt' for eshell-eval-using-options.
1216 * emacs-lisp/pcase.el (pcase--dontcare-upats, pcase--let*)
1217 (pcase--expand, pcase--u1): Rename pcase's internal `dontcare' pattern
1218 to `pcase--dontcare'.
1219 * emacs-lisp/cl.el (labels): Mark obsolete.
1220 (cl--letf, letf): Move to cl-lib.
1221 (cl--letf*, letf*): Remove.
1222 * emacs-lisp/cl-lib.el (cl-nth-value): Use defalias.
1223 * emacs-lisp/cl-macs.el (cl-dolist, cl-dotimes): Add indent rule.
1224 (cl-progv): Rewrite.
1225 (cl--letf, cl-letf): Move from cl.el.
1226 (cl-letf*): New macro.
1227 * emacs-lisp/cl-extra.el (cl--progv-before, cl--progv-after): Remove.
1228
7ad4afe1
MA
12292012-07-11 Michael Albinus <michael.albinus@gmx.de>
1230
1231 * net/ange-ftp.el (ange-ftp-cf1): Update the files cache.
1232
9af57756
CY
12332012-07-11 Chong Yidong <cyd@gnu.org>
1234
1235 * vc/log-edit.el (log-edit-vc-backend): New variable.
1236 (log-edit): Doc fix.
1237
1238 * vc/vc-dispatcher.el (vc-log-edit): New args. Use PARAMS
1239 argument of log-edit to set up all local variables.
1240 (vc-start-logentry): New optional arg specifying VC backend.
1241
1242 * vc/vc.el (vc-checkin): Use it.
1243 (vc-deduce-fileset): Handle Log Edit buffers.
1244 (vc-diff): Make first argument optional too.
1245
1246 * vc/log-view.el (log-view-vc-fileset, log-view-vc-backend): Doc fix.
1247
8477cc7a
MA
12482012-07-10 Michael Albinus <michael.albinus@gmx.de>
1249
1250 * eshell/esh-ext.el (eshell-remote-command): Remove remote part of
1251 command, just in case. The function is not needed anymore.
1252 (eshell-external-command): Do not call `eshell-remote-command'.
1253
19faa8e8
SM
12542012-07-10 Stefan Monnier <monnier@iro.umontreal.ca>
1255
f58e0fd5
SM
1256 Reduce use of (require 'cl).
1257 * vc/smerge-mode.el, vc/pcvs.el, vc/pcvs-util.el, vc/pcvs-info.el:
1258 * vc/diff-mode.el, vc/cvs-status.el, uniquify.el, scroll-bar.el:
1259 * register.el, progmodes/sh-script.el, net/gnutls.el, net/dbus.el:
1260 * msb.el, mpc.el, minibuffer.el, international/ucs-normalize.el:
1261 * international/quail.el, info-xref.el, imenu.el, image-mode.el:
1262 * font-lock.el, filesets.el, edmacro.el, doc-view.el, bookmark.el:
1263 * battery.el, avoid.el, abbrev.el: Use cl-lib.
1264 * vc/pcvs-parse.el, vc/pcvs-defs.el, vc/log-view.el, vc/log-edit.el:
1265 * vc/diff.el, simple.el, pcomplete.el, lpr.el, comint.el, loadhist.el:
1266 * jit-lock.el, international/iso-ascii.el, info.el, frame.el, bs.el:
1267 * emulation/crisp.el, electric.el, dired.el, cus-dep.el, composite.el:
1268 * calculator.el, autorevert.el, apropos.el: Don't require CL.
1269 * emacs-lisp/bytecomp.el (byte-recompile-directory, display-call-tree)
1270 (byte-compile-unfold-bcf, byte-compile-check-variable):
1271 * emacs-lisp/byte-opt.el (byte-compile-trueconstp)
1272 (byte-compile-nilconstp):
1273 * emacs-lisp/autoload.el (make-autoload): Use pcase.
1274 * face-remap.el (text-scale-adjust): Simplify pcase patterns.
1275
2519d43a
SM
1276 * emacs-lisp/gv.el (cond): Make it a valid place.
1277 (if): Simplify slightly.
1278
19faa8e8
SM
1279 * emacs-lisp/pcase.el (pcase): Accept self-quoting exps as "upatterns".
1280 (pcase--self-quoting-p): New function.
1281 (pcase--u1): Use it.
1282
c4907a5e
GM
12832012-07-10 Glenn Morris <rgm@gnu.org>
1284
1285 * emacs-lisp/authors.el (authors-fixed-entries):
1286 (authors-renamed-files-alist): Update for configure.in -> configure.ac.
1287
c4444d16
PE
12882012-07-09 Paul Eggert <eggert@cs.ucla.edu>
1289
1290 Rename configure.in to configure.ac (Bug#11603).
1291 * emacs-lisp/authors.el (authors-canonical-file-name):
1292 * progmodes/autoconf.el (autoconf-mode):
1293 Prefer configure.ac to configure.in.
1294
d75be97d
CY
12952012-07-08 Chong Yidong <cyd@gnu.org>
1296
01ac65bd
CY
1297 * mouse.el (mouse-drag-line): Rewrite the track-mouse loop.
1298 Implement the mouse-1-click-follows-link handling properly.
1299
1300 * info.el (Info-link-keymap): Use follow-link mechanism for
1301 header-line links (Bug#374).
1302
d75be97d
CY
1303 * simple.el (deactivate-mark): Do not set the primary selection
1304 if another program has acquired it (Bug#11772).
1305
87a92845 13062012-07-07 Kevin Ryde <user42@zip.com.au>
f0ecdfea
KR
1307
1308 * woman.el (woman-strings): Fix double-quote handling (Bug#1151).
1309 (woman-decode-region): Replace escaped-escapes without destroying
1310 bold or underline (Bug#11552).
87a92845 1311 (woman2-process-escapes): Handle nofill regions (Bug#11591).
f0ecdfea 1312
621b9d6c
CY
13132012-07-07 Chong Yidong <cyd@gnu.org>
1314
1315 * simple.el (yank-pop-change-selection): Doc fix (Bug#11361).
19faa8e8
SM
1316 (interprogram-cut-function, interprogram-paste-function):
1317 Mention that we typically mean the clipboard.
621b9d6c 1318
133a11fc
GM
13192012-07-06 Glenn Morris <rgm@gnu.org>
1320
0d27a45e
GM
1321 * kmacro.el (kmacro-call-macro): Restore repeat message. (Bug#11817)
1322
133a11fc
GM
1323 * files.el (toggle-read-only): Restrict message to interactive use.
1324
07b151f1
MA
13252012-07-06 Michael Albinus <michael.albinus@gmx.de>
1326
1327 * net/tramp.el (tramp-restricted-shell-hosts-alist): New defcustom.
1328
1329 * net/tramp-sh.el (tramp-maybe-open-connection): Handle it.
1330
211b896b
GM
13312012-07-06 Glenn Morris <rgm@gnu.org>
1332
50394322
GM
1333 * Makefile.in (compile-one-process): Rename from "recompile".
1334
211b896b
GM
1335 * Makefile.in (bzr-update): "compile" is the same as "recompile
1336 autoloads", but parallelizable, so use that instead.
1337
4737eec9
DG
13382012-07-06 Dmitry Gutov <dgutov@yandex.ru>
1339
1340 * window.el (quit-window): Always restore window height when
8137e7b3 1341 it's saved in quit-restore parameter (Bug#11810).
4737eec9 1342
226c3633 13432012-07-06 Glenn Morris <rgm@gnu.org>
cb442973
GM
1344
1345 * simple.el (kill-whole-line): Doc tweak.
1346
226c3633 13472012-07-06 Eli Zaretskii <eliz@gnu.org>
93842198
EZ
1348
1349 * files.el (file-relative-name): Compare file names
1350 case-insensitively if on MS-Windows or MS-DOS, or if
1351 read-file-name-completion-ignore-case is non-nil. Don't use
1352 case-fold-search for this purpose. (Bug#11827)
1353
4dc7c8d5
SM
13542012-07-17 Andreas Schwab <schwab@linux-m68k.org>
1355
1356 * calendar/cal-dst.el (calendar-current-time-zone):
1357 Return calendar-current-time-zone-cache if non-nil.
1358
13592012-07-17 Masatake YAMATO <yamato@redhat.com>
226c3633 13602012-07-06 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1361
19faa8e8
SM
1362 * calendar/cal-dst.el (calendar-current-time-zone):
1363 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1364
60198fc9
GM
13652012-07-06 Glenn Morris <rgm@gnu.org>
1366
1367 * Makefile.in (cvs-update): Remove old alias.
1368
957b3189
MA
13692012-07-05 Michael Albinus <michael.albinus@gmx.de>
1370
1371 Sync with Tramp 2.2.6-pre.
1372
1373 * net/tramp.el (tramp-drop-volume-letter): Provide an XEmacs
1374 compatible declaration.
1375
19faa8e8
SM
1376 * net/tramp-cmds.el (tramp-append-tramp-buffers):
1377 Protect `list-load-path-shadows' call.
957b3189
MA
1378
1379 * net/tramp-compat.el (top): Require packages, which aren't
1380 autoloaded anymore for XEmacs. Protect call of
1381 `tramp-file-name-handler' by `tramp-compat-funcall', pacifying the
1382 compiler. Do not require tramp-util.el and tramp-vc.el anymore,
1383 it hurts at least for SXEmacs.
1384 (tramp-compat-temporary-file-directory): In XEmacs, there is no
1385 standard-value for `temporary-file-directory'.
1386
1387 * net/tramp-sh.el (tramp-do-directory-files-and-attributes-with-stat):
1388 Redirect stderr to /dev/null.
1389 (tramp-sh-handle-write-region): uid and gid can be floats.
1390 Reported by Russell Sim <russell.sim@gmail.com>.
1391 (tramp-sh-handle-vc-registered): Hide errors.
1392 (tramp-vc-file-name-handler): Use dummy results for `process-file'
1393 and `start-file-process'.
1394 (tramp-maybe-open-connection): Check also whether `non-essential'
1395 is bound.
1396
566df3fc
CY
13972012-07-04 Chong Yidong <cyd@gnu.org>
1398
1399 * xml.el (xml--parse-buffer): Use xml-syntax-table.
1400 (xml-parse-tag): Likewise, and avoid changing entity tables.
1401 (xml-syntax-table): Define from scratch, making sure not to give
1402 x2000 and other Unicode spaces whitespace syntax, since those are
1403 not spaces in XML.
1404 (xml-parse-fragment): Delete unused function.
1405 (xml-name-start-char-re, xml-name-char-re, xml-name-re)
1406 (xml-names-re, xml-nmtoken-re, xml-nmtokens-re, xml-char-ref-re)
1407 (xml-entity-ref, xml-pe-reference-re)
1408 (xml-reference-re,xml-att-value-re, xml-tokenized-type-re)
1409 (xml-notation-type-re, xml-enumeration-re, xml-enumerated-type-re)
1410 (xml-att-type-re, xml-default-decl-re, xml-att-def-re)
1411 (xml-entity-value-re): Use syntax references in regexps where
1412 possible; no need to define inside a let-binding.
1413 (xml-parse-dtd): Use xml-pe-reference-re.
1414 (xml-entity-or-char-ref-re): New defconst.
1415 (xml-parse-string, xml-substitute-special): Use it.
1416
30eabd7a
SM
14172012-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
1418
0781098a
SM
1419 * files.el (locate-dominating-file): Allow `name' to be a predicate.
1420 (find-file--read-only): New function.
1421 (find-file-read-only, find-file-read-only-other-window)
1422 (find-file-read-only-other-frame): Use it.
1423 (insert-file-contents-literally): Don't `fset'.
1424 (get-free-disk-space): Use locate-dominating-file.
1425
b5771c0d
SM
1426 * emacs-lisp/bytecomp.el (byte-compile): Don't signal an error if the
1427 function is already compiled.
1428
30eabd7a
SM
1429 * xml.el (xml-name-regexp): Remove, redundant. Use xml-name-re.
1430
b4886f6e
MA
14312012-07-03 Michael Albinus <michael.albinus@gmx.de>
1432
1433 * vc/ediff-diff.el (ediff-same-file-contents): Fix it for remote
1434 files on the same host.
1435
b9d82339
AS
14362012-07-03 Andreas Schwab <schwab@linux-m68k.org>
1437
1438 * help-fns.el (describe-function-1): Only call
1439 help-fns--autoloaded-p when we have a file name. (Bug#11848)
1440
a76e6535
CY
14412012-07-03 Chong Yidong <cyd@gnu.org>
1442
1443 * xml.el: Protect parser against XML bombs.
1444 (xml-entity-expansion-limit): New variable.
1445 (xml-parse-string, xml-substitute-special): Use it.
1446 (xml-parse-dtd): Avoid infloop if the DTD is not terminated.
1447
b544fef2
GM
14482012-07-03 Glenn Morris <rgm@gnu.org>
1449
1450 * progmodes/bug-reference.el (bug-reference-bug-regexp):
1451 Allow linking to specific messages in debbugs reports (eg 123#5).
1452
a7aef6f5
CY
14532012-07-02 Chong Yidong <cyd@gnu.org>
1454
1455 * xml.el: Fix entity and character reference expansion, allowing
1456 them to expand into markup as per XML spec.
1457 (xml-default-ns): New variable.
1458 (xml-entity-alist): Use XML spec definitions for lt and amp.
30eabd7a
SM
1459 (xml-parse-region): Make first two arguments optional.
1460 Discard text properties.
1461 (xml-parse-tag-1): New function, spun off from xml-parse-tag.
1462 All callers changed.
a7aef6f5
CY
1463 (xml-parse-tag): Call xml-parse-tag-1. For backward
1464 compatibility, this function should not modify buffer contents.
1465 (xml-parse-tag-1): Fix opening-tag regexp.
1466 (xml-parse-string): Rewrite, handling entity and character
1467 references properly.
1468 (xml--entity-replacement-text): Signal an error if a parameter
1469 entity is undefined.
1470
3df31c9f
SM
14712012-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
1472
2b5208f1
SM
1473 * comint.el (comint-output-filter): Filter out repeated prompts.
1474
3df31c9f
SM
1475 * net/ange-ftp.el (ange-ftp-expand-file-name): Use ange-ftp-ftp-name
1476 and file-name-absolute-p.
1477 (ange-ftp-file-exists-p): Use ange-ftp-file-exists-p for
1478 internal calls.
1479
e3ac1281
PE
14802012-07-02 Paul Eggert <eggert@cs.ucla.edu>
1481
1482 Spelling fixes.
1483 * emacs-lisp/bytecomp.el (byte-compile--reify-function):
1484 Rename from byte-compile--refiy-function. All uses changed.
1485
fbf2e7ad
CY
14862012-07-01 Chong Yidong <cyd@gnu.org>
1487
1488 * xml.el (xml--parse-buffer): New function. Move most of
1489 xml-parse-region here.
1490 (xml-parse-region): Copy region into a temporary buffer, since
1491 parameter entity substitution requires changing buffer contents.
1492 Use xml--parse-buffer.
1493 (xml-parse-file): Use xml--parse-buffer.
1494 (xml-parse-dtd): Make parameter entity substitution work right.
6fe566a7 1495 Use proper regexps for ELEMENT declarations (Bug#7172).
fbf2e7ad 1496
9bf0aa15
GM
14972012-06-30 Glenn Morris <rgm@gnu.org>
1498
bbce2853
GM
1499 * comint.el (follow-comint-scroll-to-bottom): Fix declaration.
1500
9bf0aa15
GM
1501 * net/secrets.el, net/tramp-gvfs.el, net/xesam.el, net/zeroconf.el:
1502 Remove outdated and unnecessary dbus declarations.
1503
0d23c240
EZ
15042012-06-30 Eli Zaretskii <eliz@gnu.org>
1505
1506 * emacs-lisp/timer.el (timer-until): Subtract results of
1507 float-time, instead of taking float-time of the result of
1508 time-subtract, since float-time signals an error for negative time
1509 arguments.
1510
b3218de1
CY
15112012-06-30 Chong Yidong <cyd@gnu.org>
1512
1513 * xml.el (xml-*-re): Convert defvars into defconsts, and
1514 eval-and-compile them so eval-and-compile works on derivatives.
1515 (xml--entity-replacement-text): Use eval-and-comple.
1516
a40c87a0
MA
15172012-06-30 Michael Albinus <michael.albinus@gmx.de>
1518
1519 * vc/vc-git.el (vc-git-registered): Use cache property
1520 `git-registered'.
1521 (vc-git-mode-line-string): Call `vc-working-revision' instead of
1522 `vc-git-working-revision' in order to benefit from the cache.
2bb1ae55 1523 (vc-git-root): Use cache property `git-root'. (Bug#11757)
a40c87a0 1524
ac87de97
DG
15252012-06-30 Dmitry Gutov <dgutov@yandex.ru>
1526
1527 * vc/vc-hooks.el (vc-before-save): Clear cache if file has been
2bb1ae55 1528 removed (likely outside Emacs). (Bug#11757)
ac87de97 1529
ac10fe06
SM
15302012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1531
3df31c9f 1532 * emacs-lisp/cl-lib.el: Require macroexp.
ac10fe06 1533
7f3fbd5d
CY
15342012-06-30 Chong Yidong <cyd@gnu.org>
1535
1536 * xml.el: Implement XML parameter entities.
1537 (xml-parameter-entity-alist): New variable.
1538 (xml-parse-region, xml-parse-fragment): Preserve previous values
1539 of xml-entity-alist and xml-parameter-entity-alist, so that
1540 repeated calls on different documents do not change them.
1541 (xml-parse-tag): Fix doctype regexp.
1542 (xml--entity-replacement-text): New function.
1543 (xml-parse-dtd): Use it. Don't handle system entities; doing that
1544 properly requires url retrieval which is unimplemented.
1545 (xml-escape-string): Doc fix.
1546
3cfbebba
SM
15472012-06-30 Stefan Monnier <monnier@iro.umontreal.ca>
1548
1549 * emacs-lisp/cl-lib.el (cl-pushnew): Use macroexp-let2.
1550
2af3565e
DA
15512012-06-29 Dmitry Antipov <dmantipov@yandex.ru>
1552
1553 * fringe.el (fringe-mode): Doc fix.
1554
929df0e7
MA
15552012-06-29 Michael Albinus <michael.albinus@gmx.de>
1556
1557 * net/ange-ftp.el (ange-ftp-get-passwd): Throw if `non-essential'
1558 is non-nil.
1559 (ange-ftp-ignore-errors-if-non-essential): New defmacro.
1560 (ange-ftp-file-name-all-completions): Use it. (Bug#11808)
1561
c8d3a25c 15622012-06-29 Andreas Schwab <schwab@linux-m68k.org>
3d8b9024 1563
c8d3a25c
GM
1564 * calendar/cal-dst.el (calendar-current-time-zone):
1565 Return calendar-current-time-zone-cache if non-nil.
3d8b9024 1566
c8d3a25c 15672012-06-29 Masatake YAMATO <yamato@redhat.com>
26e8548e
MY
1568
1569 * progmodes/which-func.el (which-func-format):
1570 Add mouse-face. (Bug#11698)
1571
c8d3a25c
GM
15722012-06-29 Leo Liu <sdl.web@gmail.com>
1573
1574 * textmodes/enriched.el (enriched-next-annotation): Use eq (Bug#11528).
1575
15762012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1577
1578 * minibuffer.el (minibuffer-confirm-exit-commands):
1579 Add completion-at-point (bug#11725).
1580
15812012-06-29 Glenn Morris <rgm@gnu.org>
1582
1583 * progmodes/f90.el (f90-font-lock-keywords-2):
1584 Add some preprocessor elements. (Bug#10499)
1585
15862012-06-29 Stefan Monnier <monnier@iro.umontreal.ca>
1587
1588 * progmodes/cperl-mode.el (cperl-update-syntaxification):
1589 Use syntax-propertize (bug#11739).
1590
2badeec4
JB
15912012-06-28 Juanma Barranquero <lekktu@gmail.com>
1592
1593 * emacs-lisp/cl-lib.el (cl-pushnew): Don't capture X (bug#11811).
1594
ae4969c2
JD
15952012-06-28 Julien Danjou <julien@danjou.info>
1596
1597 * term.el (term-handle-colors-array): Use a set of new faces to
1598 color the terminal. Also uses :inverse-video property.
1599 (term-default-fg-color): Set to nil by default, deprecate in favor
1600 of `term-face'.
1601 (term-default-bg-color): Set to nil by default, deprecate in favor
1602 of `term-face'.
1603 (term-current-face): Use `term-face' by default.
1604 (term-bold-attribute): Variable deleted.
1605
1c9bd870
GM
16062012-06-28 Glenn Morris <rgm@gnu.org>
1607
1608 * simple.el (completion-list-mode-finish):
1609 Don't use toggle-read-only. (Since completion-list-mode has
1610 a special mode-class, it wasn't doing anything extra anyway.)
1611
c207708c
SM
16122012-06-28 Stefan Monnier <monnier@iro.umontreal.ca>
1613
1614 Make inlining of other-mode interpreted functions work (bug#11799).
1615 * emacs-lisp/bytecomp.el (byte-compile--refiy-function): New fun.
1616 (byte-compile): Use it to fix compilation of lexical-binding closures.
1617 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Compile the
1618 function, if needed.
1619
3fd56834
SM
16202012-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
1621
04901786
SM
1622 * help-mode.el (help-make-xrefs): Don't just withstand
1623 cyclic-variable-indirection but any error in documentation-property.
1624
1ec4b7b2
SM
1625 * loadup.el (purify-flag): Pre-grow the hash-table to reduce the
1626 memory use.
1627 * bindings.el (bindings--define-key): New function.
1628 * vc/vc-hooks.el, replace.el, menu-bar.el, international/mule-cmds.el:
1629 * emacs-lisp/lisp-mode.el, buff-menu.el, bookmark.el:
1630 * bindings.el: Use it to purecopy define-key bindings.
1631
e309e2a5
SM
1632 * textmodes/rst.el (rst-adornment-faces-alist): Avoid copy-list.
1633
d5c6faf9
SM
1634 * emacs-lisp/cl.el (flet): Mark obsolete.
1635 * emacs-lisp/cl-macs.el (cl-flet*): New macro.
1636 * vc/vc-rcs.el (vc-rcs-annotate-command, vc-rcs-parse):
1637 * progmodes/js.el (js-c-fill-paragraph):
1638 * progmodes/ebrowse.el (ebrowse-switch-member-buffer-to-sibling-class)
1639 (ebrowse-switch-member-buffer-to-derived-class):
1640 * play/5x5.el (5x5-solver): Use cl-flet.
1641
6e9590e2
SM
1642 * emacs-lisp/cl.el: Use lexical-binding. Fix flet (bug#11780).
1643 (cl--symbol-function): New macro.
1644 (cl--letf, cl--letf*): Use it.
1645
3fd56834
SM
1646 * emacs-lisp/easy-mmode.el (easy-mmode-pretty-mode-name):
1647 Strip "toggle-" if any.
1648
35ff222c
GM
16492012-06-27 Glenn Morris <rgm@gnu.org>
1650
1ba6038a
GM
1651 * info.el (Info-default-directory-list): Move here from paths.el.
1652 * paths.el: Remove file, which is now empty.
1653 * loadup.el: No longer load "paths".
1654
0ea0e51b
GM
1655 * custom.el (custom-initialize-delay): Doc fix.
1656
35ff222c
GM
1657 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
1658 * eshell/em-cmpl.el, eshell/em-dirs.el, eshell/em-glob.el:
1659 * eshell/em-hist.el, eshell/em-ls.el, eshell/em-pred.el:
1660 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-script.el:
1661 * eshell/em-smart.el, eshell/em-term.el, eshell/em-unix.el:
1662 * eshell/em-xtra.el: Replace eshell-defgroup with "(progn (defgroup".
1663 * eshell/eshell.el (eshell-defgroup): Remove alias.
1664
c89926a5
CY
16652012-06-27 Chong Yidong <cyd@gnu.org>
1666
1667 * help.el (help-enable-auto-load): New variable.
1668
1669 * help-fns.el (help-fns--autoloaded-p): New function.
1670 (describe-function-1): Refer to a function as "autoloaded" if it
1671 was autoloaded at any time in the past. Perform autoloading if
1672 help-enable-auto-load is non-nil.
1673
cc06e7e7
EZ
16742012-06-26 Eli Zaretskii <eliz@gnu.org>
1675
1676 * makefile.w32-in (compile, compile-always): Depend on
1677 update-subdirs, not on subdirs.el. Otherwise, several different
1678 sub-targets of 'bootstrap' running in parallel could
1679 simultaneously write to subdirs.el, producing a garbled file.
1680
d2c32364
SS
16812012-06-26 Sam Steingold <sds@gnu.org>
1682
1683 * files.el (file-name-base): New convenience function.
0d14cc21
GM
1684 * autoinsert.el, cus-dep.el, doc-view.el, image-dired.el:
1685 * woman.el, eshell/esh-cmd.el, progmodes/ada-xref.el:
1686 * progmodes/cc-defs.el, progmodes/cperl-mode.el:
1687 * progmodes/flymake.el, progmodes/gud.el, progmodes/idlwave.el:
1688 * textmodes/ispell.el, textmodes/reftex-ref.el:
d2c32364
SS
1689 * textmodes/tex-mode.el: Use it.
1690 Did not touch cedet and org because they are maintained elsewhere.
1691
5cf983b2
MR
16922012-06-26 Martin Rudalics <rudalics@gmx.at>
1693
1694 * calendar/calendar.el (calendar-exit): Don't try to delete or
1695 iconify last frame. See:
1696 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00372.html
1697
8c4f2952
JD
16982012-06-25 Jim Diamond <Jim.Diamond@AcadiaU.ca> (tiny change)
1699
1700 * server.el (server-process-filter): Remember dir in the
1701 process's `server-client-directory' properties.
1702
772b2e2c
CY
17032012-06-24 Chong Yidong <cyd@gnu.org>
1704
1705 * xml.el (xml-parse-tag): Correctly handle comment embedded in
1706 non-tag text.
1707
711b11e1
JB
17082012-06-23 Juanma Barranquero <lekktu@gmail.com>
1709
1710 * makefile.w32-in (COMPILE_FIRST): Synch with changes in 2012-06-22T21:24:54Z!monnier@iro.umontreal.ca.
1711
dc5d230c
SM
17122012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1713
1714 * help-fns.el (describe-variable): Don't croak when doc is not found.
1715 * vc/pcvs.el (cvs-retrieve-revision): Avoid toggle-read-only.
1716 * menu-bar.el (menu-bar-line-wrapping-menu): Purecopy a tiny bit more.
1717 * emacs-lisp/syntax.el (syntax-ppss): Simplify with new `if' place.
1718 * emacs-lisp/smie.el (smie-next-sexp): CSE.
1719 * emacs-lisp/macroexp.el (macroexp-let2): Fix edebug spec and avoid
1720 ((lambda ..) ..).
1721 * emacs-lisp/eieio.el (eieio-oref, slot-value): Use simpler defsetf.
1722
136e1c1d
CY
17232012-06-23 Chong Yidong <cyd@gnu.org>
1724
e8c1cabf
CY
1725 * info.el (Info-mouse-follow-link): Accept symbol values of
1726 link-args. Select window; suggested by Gerhard Kahl (Bug#11672).
136e1c1d
CY
1727 (Info-fontify-node): Use Info-link-keymap for all navigation
1728 buttons, with link-args property to perform the desired action.
1729 (Info-link-keymap): Doc fix.
1730 (Info-next-link-keymap, Info-prev-link-keymap)
1731 (Info-up-link-keymap): Delete now-unused keymaps.
1732
0e9e6c6a
CY
17332012-06-23 Chong Yidong <cyd@gnu.org>
1734
05e89fea
CY
1735 * mouse.el (mouse-drag-track): Deactivate the mark before popping.
1736
0e9e6c6a
CY
1737 * progmodes/python.el (python-skeleton-define): Mark abbrevs as
1738 system abbrevs.
1739
1740 * ansi-color.el (ansi-color-apply-on-region): Doc fix.
1741
e33c6771
SM
17422012-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
1743
b68581e2
SM
1744 * emacs-lisp/cl-macs.el (cl--make-usage-args): Handle improper lists
1745 (bug#11719).
1746
e33c6771
SM
1747 * minibuffer.el (completion--twq-try): Try to fail more gracefully when
1748 the requote function doesn't work properly (bug#11714).
1749
7117e105
GM
17502012-06-23 Glenn Morris <rgm@gnu.org>
1751
1752 * pcmpl-rpm.el (pcmpl-rpm-packages): Give status messages.
1753
36cec983
SM
17542012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1755
1756 Further GV/CL cleanups.
1757 * emacs-lisp/gv.el (gv-get): Autoload functions to find their
1758 gv-expander.
1759 (gv--defun-declaration): New function.
1760 (defun-declarations-alist): Use it.
1761 (gv-define-modify-macro, gv-pushnew!, gv-inc!, gv-dec!): Remove.
1762 (gv-place): Autoload.
1763 * emacs-lisp/cl.el (cl--dotimes, cl--dolist): Remember subr.el's
1764 original definition of dotimes and dolist.
1765 * emacs-lisp/cl-macs.el (cl-expr-access-order): Remove unused.
1766 (cl-dolist, cl-dotimes): Use `dolist' and `dotimes'.
1767 * emacs-lisp/cl-lib.el: Move gv handlers from cl-macs to here.
1768 (cl-fifth, cl-sixth, cl-seventh, cl-eighth)
1769 (cl-ninth, cl-tenth): Move gv handler to the function's definition.
1770 * emacs-lisp/cl-extra.el (cl-subseq, cl-get, cl-getf): Move gv handler
1771 to the function's definition.
1772 * Makefile.in (COMPILE_FIRST): Re-order to speed it up by about 50%.
1773 * window.el:
1774 * files.el:
1775 * faces.el:
1776 * env.el: Don't use CL.
1777
d35af63c
PE
17782012-06-22 Paul Eggert <eggert@cs.ucla.edu>
1779
1780 Support higher-resolution time stamps (Bug#9000).
1781
1782 * calendar/time-date.el (with-decoded-time-value): New arg
1783 PICO-SYMBOL in VARLIST. It's optional, for backward compatibility.
1784 (encode-time-value): New optional arg PICO. New type 3.
1785 (time-to-seconds) [!float-time]: Support the new picoseconds
1786 component if it's used.
1787 (seconds-to-time, time-subtract, time-add):
1788 Support ps-resolution time stamps as well.
1789
1790 * emacs-lisp/timer.el (timer): New component psecs. All uses changed.
1791 (timerp): Timer vectors now have length 9, not 8.
1792 (timer--time): Support new-style (4-part) time stamps.
1793 (timer-next-integral-multiple-of-time): Time stamps now have
1794 picosecond resolution, so take a bit more care about rounding.
1795 (timer-relative-time, timer-inc-time): New optional arg psecs.
1796 (timer-set-time-with-usecs): Set psecs to 0.
1797 (timer--activate): Check psecs component, too.
1798
1799 * proced.el (proced-time-lessp): Support ps-resolution stamps.
1800
ac77b21a
SM
18012012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1802
f143bfe3
SM
1803 * icomplete.el (icomplete-minibuffer-setup, icomplete-completions):
1804 Move the non-essential binding to the post/pre-command-hook where it is
1805 more obviously correct.
1806
ac77b21a
SM
1807 * subr.el (read-passwd): Don't use a history at all.
1808 * savehist.el (savehist-save): Remove password saved accidentally
1809 because of the above bug.
1810
76386c5a
BG
18112012-06-22 Bastien Guerry <bzg@gnu.org>
1812
1813 * files.el (toggle-read-only): Display a message telling whether
1814 the buffer is read-only or not (bug#11726).
1815
2ee3d7f0
SM
18162012-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
1817
1818 * emacs-lisp/gv.el: New file.
1819 * subr.el (push, pop): Extend to generalized variables.
1820 * loadup.el (macroexp): Unload if preloaded and uncompiled (bug#11657).
1821 * emacs-lisp/cl-lib.el (cl-pop, cl-push, cl--set-nthcdr): Remove.
1822 * emacs-lisp/cl-macs.el: Require gv. Use gv-define-setter,
1823 gv-define-simple-setter, and gv-define-expander.
1824 Remove setf-methods defined in gv. Rename cl-setf -> setf.
1825 (cl-setf, cl-do-pop, cl-get-setf-method): Remove.
1826 (cl-letf, cl-letf*, cl-define-modify-macro, cl-defsetf)
1827 (cl-define-setf-expander, cl-struct-setf-expander): Move to cl.el.
1828 (cl-remf, cl-shiftf, cl-rotatef, cl-callf, cl-callf2): Rewrite with
1829 gv-letplace.
1830 (cl-defstruct): Don't define setf-method any more.
1831 * emacs-lisp/cl.el (flet): Don't autoload.
1832 (cl--letf, letf, cl--letf*, letf*, cl--gv-adapt)
1833 (define-setf-expander, defsetf, define-modify-macro)
1834 (cl-struct-setf-expander): Move from cl-lib.el.
1835 * emacs-lisp/syntax.el:
1836 * emacs-lisp/ewoc.el:
1837 * emacs-lisp/smie.el:
1838 * emacs-lisp/cconv.el:
1839 * emacs-lisp/timer.el: Rename cl-setf -> setf, cl-push -> push.
1840 (timer--time): Use gv-define-simple-setter.
1841 * emacs-lisp/macroexp.el (macroexp-let2): Rename from macroexp-let²
1842 to avoid coding-system problems in subr.el. Adjust all users.
1843 (macroexp--maxsize, macroexp-small-p): New functions.
1844 * emacs-lisp/bytecomp.el (byte-compile-file): Don't use cl-letf.
1845 * scroll-bar.el (scroll-bar-mode):
1846 * simple.el (auto-fill-mode, overwrite-mode, binary-overwrite-mode)
1847 (normal-erase-is-backspace-mode): Don't use the `eq' place.
1848 * winner.el (winner-configuration, winner-make-point-alist)
1849 (winner-set-conf, winner-get-point, winner-set): Don't abuse letf.
1850 * files.el (locate-file-completion-table): Avoid list*.
1851
c5695d1d
CY
18522012-06-22 Chong Yidong <cyd@gnu.org>
1853
1854 * dired-aux.el (dired-do-create-files): Doc fix (Bug#11327).
1855 (dired-create-files): Doc fix (Bug#11329).
1856 (dired-do-copy): Doc fix (Bug#11334).
1857 (dired-mark-read-string): Doc fix (Bug#11553).
1858
2ee3d7f0
SM
1859 * dired.el (dired-recursive-copies, dired-recursive-deletes):
1860 Doc fix (Bug#11326).
c5695d1d
CY
1861 (dired-make-relative): Doc fix (Bug#11332). Remove unused arg.
1862 (dired-dwim-target): Doc fix.
1863
1864 * wdired.el (wdired-mode): Doc fix.
1865
89b5595a
GM
18662012-06-22 Glenn Morris <rgm@gnu.org>
1867
575db3f1
GM
1868 * pcmpl-rpm.el (pcmpl-rpm-cache): New option.
1869 (pcmpl-rpm-cache-stamp-file): New constant.
1870 (pcmpl-rpm-cache-time, pcmpl-rpm-packages): New variables.
1871 (pcmpl-rpm-packages): Optionally cache list of packages.
1872
a4c8dd51
GM
1873 * pcmpl-rpm.el (pcmpl-rpm): New group.
1874 (pcmpl-rpm-query-options): New option.
1875 (pcmpl-rpm-packages): No need to inline it.
1876 Use pcmpl-rpm-query-options.
1877
89b5595a
GM
1878 * calendar/calendar.el (calendar-in-read-only-buffer):
1879 Avoid some needless mode changes.
1880
e76f0800
CY
18812012-06-21 Chong Yidong <cyd@gnu.org>
1882
1883 * desktop.el (desktop-read): Don't prompt if daemon (Bug#11674).
1884 (desktop-path): Remove . from the default value (Bug#10977).
6b67c0d4 1885 (desktop-read): Use user-emacs-directory if desktop-path is nil.
e76f0800 1886
297a8f1d
CY
18872012-06-20 Chong Yidong <cyd@gnu.org>
1888
1889 * term.el (term-send-raw-meta): Make C-M-<char> keys work (Bug#8172).
1890
d34c18b1
DR
18912012-06-20 David Röthlisberger <david@rothlis.net> (tiny change)
1892
1893 * ido.el (ido-switch-buffer, ido-find-file): Fix up doc of C-j
1894 (bug#11201).
1895
32f7f28e
CY
18962012-06-20 Chong Yidong <cyd@gnu.org>
1897
1898 * term.el (term-window-width): Handle the case of a missing right
1899 fringe (Bug#8837).
1900 (term-check-size): Use window-text-height (Bug#5445).
d34c18b1
DR
1901 (term-mode): Use define-derived-mode. Minor cleanups.
1902 Set font-lock-defaults (Bug#7692).
6ff7caa8
CY
1903 (term-move-columns, term-insert-char, term-emulate-terminal)
1904 (term-erase-in-line, term-insert-spaces): Use font-lock-face.
32f7f28e 1905
493c6688
MA
19062012-06-20 Michael Albinus <michael.albinus@gmx.de>
1907
d34c18b1
DR
1908 * net/ange-ftp.el (ange-ftp-get-passwd):
1909 Bind `enable-recursive-minibuffers'.
493c6688
MA
1910 (ange-ftp-get-process): Throw if `non-essential' is non-nil.
1911
3f06ecf4
DR
19122012-06-19 David Röthlisberger <david@rothlis.net> (tiny change)
1913
1914 * ido.el (ido-find-file): Mention C-d binding in docstring (bug#11244).
1915
68f12411
GM
19162012-06-19 Glenn Morris <rgm@gnu.org>
1917
1918 * progmodes/python.el (python-mode): Derive from prog-mode.
1919
b3820318
KG
19202012-06-19 Kevin Gallagher <Kevin.Gallagher@boeing.com>
1921
1922 * emulation/edt.el (edt-default-menu-bar-update-buffers)
1923 (edt-user-menu-bar-update-buffers): New functions.
1924 (edt-default-emulation-setup, edt-user-emulation-setup): Use them.
1925
c6bf3022
CY
19262012-06-19 Chong Yidong <cyd@gnu.org>
1927
1928 * subr.el (with-selected-window): Preserve the selected window's
1929 terminal's top-frame (Bug#4702).
1930
1931 * window.el (save-selected-window): Likewise.
1932
25f09295
SM
19332012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1934
1935 * progmodes/python.el (python-rx-constituents): Move backquote.
1936 (python-skeleton-define, python-define-auxiliary-skeleton):
1937 Use `declare'.
1938
6b11952a
MA
19392012-06-18 Michael Albinus <michael.albinus@gmx.de>
1940
1941 * minibuffer.el (read-file-name-default): Revert the patch from
1942 2012-06-17.
1943
ee4b1330
SM
19442012-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
1945
1946 * emacs-lisp/pcase.el (pcase--expand): Warn for unused pattern.
1947 (pcase--u1, pcase--q1): Don't use apply-partially.
1948
35647f79
GM
19492012-06-18 Glenn Morris <rgm@gnu.org>
1950
1951 * progmodes/python.el (python-proc, python-buffer)
1952 (python-send-receive, python-send-string): Fix obsolete versions.
1953
24b0cff0
MR
19542012-06-18 Martin Rudalics <rudalics@gmx.at>
1955
1956 * window.el (special-display-p): Completely remove stringp
1957 check. Suggested by Andreas Schwab <schwab@linux-m68k.org>.
1958
29855149
MA
19592012-06-17 Michael Albinus <michael.albinus@gmx.de>
1960
1961 * minibuffer.el (read-file-name-default): Bind `non-essential' to `t'.
1962
1963 * net/tramp.el (tramp-file-name-handler): Catch 'non-essential.
1964
1965 * net/ange-ftp.el (ange-ftp-gwp-start, ange-ftp-start-process):
1966 * net/tramp-sh.el (tramp-maybe-open-connection):
1967 Throw if `non-essential' is non-nil.
1968
07463363
MR
19692012-06-17 Martin Rudalics <rudalics@gmx.at>
1970
1971 * window.el (special-display-p): Signal an error if BUFFER-NAME
1972 is not a string (Bug#11713).
1973
48d1354e
PE
19742012-06-17 Paul Eggert <eggert@cs.ucla.edu>
1975
1976 * progmodes/python.el (python-info-beginning-of-backslash):
1977 Rename from python-info-beginning-of-backlash, as a spelling fix.
1978
eb4a8a9a
CY
19792012-06-17 Chong Yidong <cyd@gnu.org>
1980
1981 * term.el (term-emulate-terminal): If term-check-size is called,
1982 move point to the process mark without resetting point (Bug#4635).
1983
ddfbf826 19842012-06-17 Glenn Morris <rgm@gnu.org>
9c758578
GM
1985
1986 * international/mule-cmds.el (mule-menu-keymap)
1987 (set-language-environment, set-locale-environment): Doc tweaks.
1988
9b0e3eba
AA
19892012-06-16 Aurelien Aptel <aurelien.aptel@gmail.com>
1990
1991 * cus-face.el (custom-face-attributes): Add wave-style underline
1992 attribute.
1993 * faces.el (set-face-attribute): Update docstring to describe
1994 wave-style underline attribute.
1995
771e3eae
CY
19962012-06-16 Chong Yidong <cyd@gnu.org>
1997
1998 * term/xterm.el (terminal-init-xterm): Discard input before
1999 querying background mode (Bug#10959).
2000
7ae2ea10
SM
20012012-06-16 Stefan Merten <smerten@oekonux.de>
2002
2003 * textmodes/rst.el: Added and corrected some comments.
2004 (rst-re-alist-def): Improve symbol syntax.
2005 (rst-mode-syntax-table): Correct syntax entries.
6665a6fd
SM
2006 (rst-cvs-header, rst-svn-rev, rst-svn-timestamp)
2007 (rst-official-version, rst-official-cvs-rev): Update version
2008 information.
7ae2ea10 2009
b6974efa
JB
20102012-06-15 Juanma Barranquero <lekktu@gmail.com>
2011
2012 * makefile.w32-in (COMPILE_FIRST): Synch with makefile.in changes
2013 in 2008-06-22T13:57:28Z!monnier@iro.umontreal.ca.
2014
8826d473
GM
20152012-06-15 Fabián Ezequiel Gallina <fgallina@cuca>
2016
2017 * progmodes/python.el: New python.el merge.
2018 (python-guess-indent): Obsolete var.
2019 (python-indent-guess-indent-offset): New defcustom.
2020 (python-indent): Obsolete var.
2021 (python-indent-offset): New defcustom.
2022 (python-python-command, python-jython-command): Delete var.
2023 (python-shell-interpreter): New defcustom.
2024 (python-pdbtrack-do-tracking-p): Delete var.
2025 (python-pdbtrack-activate): New defcustom.
2026 (python-use-skeletons): Obsolete var.
2027 (python-skeleton-autoinsert): New defcustom.
2028 (inferior-python-filter-regexp, python-continuation-offset)
2029 (python-honour-comment-indentation, python-indent-string-contents)
2030 (python-jython-packages, python-mode-hook)
2031 (python-pdbtrack-minor-mode-string, python-remove-cwd-from-path)
2032 (python-shell-prompt-alist)
2033 (python-source-modes): Delete defcustoms.
2034 (python-check-buffer-name, python-eldoc-setup-code)
2035 (python-eldoc-string-code, python-ffap-setup-code)
2036 (python-ffap-string-code, python-fill-comment-function)
2037 (python-fill-decorator-function, python-fill-paren-function)
2038 (python-fill-string-function, python-imenu-include-defun-type)
2039 (python-imenu-make-tree, python-imenu-subtree-root-label)
2040 (python-pdbtrack-stacktrace-info-regexp, python-shell-buffer-name)
2041 (python-shell-compilation-regexp-alist)
2042 (python-shell-completion-module-string-code)
2043 (python-shell-completion-pdb-string-code)
2044 (python-shell-completion-setup-code)
2045 (python-shell-completion-string-code)
2046 (python-shell-enable-font-lock, python-shell-exec-path)
2047 (python-shell-extra-pythonpaths)
2048 (python-shell-internal-buffer-name, python-shell-interpreter-args)
2049 (python-shell-process-environment)
2050 (python-shell-prompt-block-regexp)
2051 (python-shell-prompt-output-regexp)
2052 (python-shell-prompt-pdb-regexp, python-shell-prompt-regexp)
2053 (python-shell-send-setup-max-wait, python-shell-setup-codes)
2054 (python-shell-virtualenv-path): New defcustoms.
2055 (brm-menu, eldoc-documentation-function, inferior-python-mode-map)
2056 (inferior-python-mode-syntax-table, python--prompt-regexp)
2057 (python-buffer, python-command python-python-command)
2058 (python-default-template, python-imports, python-indent-index)
2059 (python-indent-list, python-indent-list-length)
2060 (python-mode-running, python-pdbtrack-is-tracking-p)
2061 (python-preoutput-continuation, python-preoutput-leftover)
2062 (python-preoutput-result, python-preoutput-skip-next-prompt)
2063 (python-prev-dir/file, python-recursing)
2064 (python-saved-check-command, python-version-checked)
2065 (python-which-func-length-limit)
2066 (view-return-to-alist): Delete vars.
2067 (python-check-custom-command, python-dotty-syntax-table)
2068 (python-imenu-index-alist, python-indent-current-level)
2069 (python-indent-dedenters, python-indent-levels)
2070 (python-nav-beginning-of-defun-regexp)
2071 (python-nav-list-defun-positions-cache)
2072 (python-pdbtrack-buffers-to-kill, python-pdbtrack-tracked-buffer)
2073 (python-shell-internal-buffer)
2074 (python-skeleton-available): New vars.
2075 (def-python-skeleton): Delete macro.
2076 (python-skeleton-define): New macro.
2077 (python-define-auxiliary-skeleton, python-rx): New macros.
2078 (python-insert-class): Delete command.
2079 (python-skeleton-class): New command.
2080 (python-insert-def): Delete command.
2081 (python-skeleton-def): New command.
2082 (python-insert-for): Delete command.
2083 (python-skeleton-for): New command.
2084 (python-insert-if): Delete command.
2085 (python-skeleton-if): New command.
2086 (python-insert-try/except, python-insert-try/finally): Delete commands.
2087 (python-skeleton-try): New command.
2088 (python-insert-while): Delete command.
2089 (python-skeleton-while): New command.
2090 (python-backspace): Delete command.
2091 (python-indent-dedent-line-backspace): New command.
2092 (python-electric-colon): Delete command.
2093 (python-indent-electric-colon): New command.
2094 (python-guess-indent): Delete command.
2095 (python-indent-guess-indent-offset): New command.
2096 (python-shift-left): Delete command.
2097 (python-indent-shift-left): New command.
2098 (python-shift-right): Delete command.
2099 (python-indent-shift-right): New command.
2100 (python-find-function): Delete command.
2101 (python-nav-jump-to-defun): New command.
2102 (python-next-statement): Delete command.
2103 (python-nav-forward-sentence): New command.
2104 (python-previous-statement): Delete command.
2105 (python-nav-backward-sentence): New command.
2106 (python-fill-paragraph): Delete command.
2107 (python-fill-paragraph-function): New command.
2108 (python-send-buffer): Delete command.
2109 (python-shell-send-buffer): New command.
2110 (python-send-defun): Delete command.
2111 (python-shell-send-defun): New command.
2112 (python-send-region, python-send-region-and-go): Delete commands.
2113 (python-shell-send-region)
2114 (python-shell-switch-to-shell): New commands.
2115 (python-send-string): Delete command.
2116 (python-shell-send-string): New command.
2117 (python-switch-to-python): Delete command.
2118 (python-shell-switch-to-shell): New command.
2119 (python-describe-symbol): Delete command.
2120 (python-eldoc-at-point): New command.
2121 (python--set-prompt-regexp, python-args-to-list)
2122 (python-after-info-look, python-check-version)
2123 (python-check-comint-prompt, python-find-imports)
2124 (python-execute-file, turn-off-pdbtrack, turn-on-pdbtrack)
2125 (python-unload-function, python-expand-template)
2126 (python-maybe-jython, python-preoutput-filter)
2127 (python-pdbtrack-get-source-buffer)
2128 (python-pdbtrack-grub-for-buffer, python-pdbtrack-overlay-arrow)
2129 (python-pdbtrack-toggle-stack-tracking)
2130 (python-pdbtrack-track-stack-file, python-initial-text)
2131 (python-first-word, python-comment-line-p, python-send-command)
2132 (python-setup-brm, python-sentinel, python-set-proc)
2133 (python-skip-out, python-input-filter, python-outdent-p)
2134 (python-outline-level, python-backslash-continuation-line-p)
2135 (python-end-of-block, python-end-of-statement, python-mark-block)
2136 (python-beginning-of-block, python-beginning-of-statement)
2137 (python-blank-line-p, python-beginning-of-string)
2138 (python-open-block-statement-p): Delete functions.
2139 (python-indent-line, python-indent-line-1): Delete functions.
2140 (python-indent-line): New function.
2141 (python-indentation-levels): Delete function.
2142 (python-indent-calculate-levels): New function.
2143 (python-proc): Delete function.
2144 (python-shell-get-process): New function.
2145 (python-send-receive): Delete function.
2146 (python-shell-send-string-no-output): New function.
2147 (python-module-path): Delete function.
2148 (python-ffap-module-path): New function.
2149 (python-completion-at-point)
2150 (python-symbol-completions): Delete functions.
2151 (python-completion-complete-at-point): New function.
2152 (python-load-file): Delete function.
2153 (python-shell-send-file): New function.
2154 (python-calculate-indentation): Delete function.
2155 (python-indent-calculate-indentation): New function.
2156 (python-skip-comments/blanks): Delete function.
2157 (python-util-forward-comment): New function.
2158 (python-continuation-line-p): Delete function.
2159 (python-info-continuation-line-p): New function.
2160 (python-which-func, python-current-defun): Delete function.
2161 (python-info-current-defun): New function.
2162 (python-beginning-of-defun): Delete function.
2163 (python-nav-beginning-of-defun): New function.
2164 (python-close-block-statement-p)
2165 (python-block-end-p): Delete function.
2166 (python-info-closing-block): New function.
2167 (python-comint-output-filter-function)
2168 (python-eldoc--get-doc-at-point, python-end-of-defun-function)
2169 (python-fill-comment, python-fill-decorator, python-fill-paren)
2170 (python-fill-string, python-imenu-make-element-tree)
2171 (python-imenu-make-tree, python-imenu-tree-assoc)
2172 (python-indent-context, python-indent-dedent-line)
2173 (python-indent-line-function)
2174 (python-indent-post-self-insert-function)
2175 (python-indent-toggle-levels)
2176 (python-info-assignment-continuation-line-p)
2177 (python-info-beginning-of-backlash)
2178 (python-info-block-continuation-line-p)
2179 (python-info-closing-block-message)
2180 (python-info-line-ends-backslash-p)
2181 (python-info-looking-at-beginning-of-defun)
2182 (python-info-ppss-context, python-info-ppss-context-type)
2183 (python-nav-list-defun-positions, python-nav-read-defun)
2184 (python-nav-sentence-end, python-nav-sentence-start)
2185 (python-pdbtrack-comint-output-filter-function)
2186 (python-pdbtrack-set-tracked-buffer)
2187 (python-shell-calculate-exec-path)
2188 (python-shell-calculate-process-environment)
2189 (python-shell-completion--do-completion-at-point)
2190 (python-shell-completion--get-completions)
2191 (python-shell-completion-complete-at-point)
2192 (python-shell-completion-complete-or-indent)
2193 (python-shell-get-or-create-process)
2194 (python-shell-get-process-name)
2195 (python-shell-internal-get-or-create-process)
2196 (python-shell-internal-get-process-name)
2197 (python-shell-internal-send-string, python-shell-make-comint)
2198 (python-shell-parse-command, python-shell-send-setup-code)
2199 (python-skeleton-add-menu-items)
2200 (python-util-clone-local-variables, python-util-position)
2201 (run-python-internal, python-indentation-levels)
2202 (python-nav-beginning-of-defun)
2203 (python-completion-complete-at-point): New functions.
2204 (run-python): Change arguments. New API requirements.
2205
4302f5ba
SM
22062012-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
2207
f38ea36d
SM
2208 * emacs-lisp/cl-lib.el (cl--defsubst-expand): Autoload inliner
2209 (bug#11649).
2210
2211 * emacs-lisp/macroexp.el (macroexp--compiler-macro): New function.
2212 (macroexp--expand-all): Use it.
2213
4302f5ba
SM
2214 * emacs-lisp/cl-macs.el (cl--transform-function-property): Remove.
2215 (cl-define-setf-expander, cl-deftype, cl-define-compiler-macro):
2216 Use `cl-function' instead.
2217
33377562
JB
22182012-06-14 Juanma Barranquero <lekktu@gmail.com>
2219
2220 * makefile.w32-in (COMPILE_FIRST): Remove subr.el.
2221 Suggested by Stefan Monnier while discussing bug#11657.
2222
54c5ba1a
SS
22232012-06-14 Sam Steingold <sds@gnu.org>
2224
2225 * files.el (abort-if-file-too-large): Use `file-size-human-readable'.
2226
f9f1b1fe
AS
22272012-06-14 Andreas Schwab <schwab@linux-m68k.org>
2228
2229 * play/doctor.el (doctor-doc): Remove parameter and use
2230 doctor-sent instead of sent.
2231 (doctor-read-print): Use doctor-sent instead of sent. (Bug#11708)
2232
a81068ba
SM
22332012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2234
5a315f9c
SM
2235 * files.el: Require cl-lib.
2236 (file-name-non-special): Replace case -> cl-case.
2237
2238 * emacs-lisp/cl-macs.el (cl-defstruct): Don't add print-func.
2239
a81068ba
SM
2240 * emacs-lisp/edebug.el (edebug-read-function): Remove old incorrect
2241 mapping from #' to function*.
2242
8cca9703
CY
22432012-06-13 Chong Yidong <cyd@gnu.org>
2244
2245 * mouse.el (mouse-drag-track): Do not set the mark if the user
2246 releases the mouse without selecting anything (Bug#11588).
2247
a12ac9d7
SM
22482012-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
2249
ccf1dc18
SM
2250 * textmodes/tex-mode.el (latex-indent): Recognize tex-verbatim at EOB
2251 as well (bug#11646).
2252
ef62b23d
SM
2253 * loadup.el: Count byte-code functions as well.
2254
c4c8444a
SM
2255 * emacs-lisp/byte-opt.el (featurep): Move compiler-macro...
2256 * emacs-lisp/bytecomp.el (featurep): ...here (bug#11692).
2257
a12ac9d7
SM
2258 * emacs-lisp/autoload.el (make-autoload): Accept nil doc-string-elt
2259 (bug#11649). Add cl-defun and cl-defmacro.
2260
87e6e64f
DA
22612012-06-13 Drew Adams <drew.adams@oracle.com>
2262
2263 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2264 Fix last change.
2265
682cefaf
MA
22662012-06-13 Michael Albinus <michael.albinus@gmx.de>
2267
2268 * net/dbus.el (dbus-call-method): Use timeout for `read-event'.
2269 Otherwise, it blocks in batch mode.
2270
773e1f08
JB
22712012-06-13 Juanma Barranquero <lekktu@gmail.com>
2272
2273 * help-mode.el (bookmark-make-record-default): Declare.
2274
60057926
CY
22752012-06-13 Chong Yidong <cyd@gnu.org>
2276
2277 * emacs-lisp/package.el (list-packages): Compute a list of
2278 packages that are newly-available since the last list-packages
2279 invocation.
2280 (package-menu--new-package-list): New var.
2281 (package-menu--generate, package-menu--print-info)
2282 (package-menu--status-predicate, package-menu-mark-install):
2283 Handle new status label "new".
2284
ad4d226c
SM
22852012-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
2286
2287 * emacs-lisp/cl-macs.el (cl-remf): Fix error in recent
2288 conversion to backquotes.
2289
f1a4e679
CY
22902012-06-12 Chong Yidong <cyd@gnu.org>
2291
2292 * emacs-lisp/edebug.el (edebug-inhibit-emacs-lisp-mode-bindings):
2293 Rename from gud-inhibit-global-bindings.
2294
2295 * emacs-lisp/eieio.el (eieio-pre-method-execution-hooks): Doc fix.
2296
2297 * nxml/nxml-glyph.el (nxml-glyph-set-functions): Rename abnormal
2298 hook from nxml-glyph-set-hook.
2299
2300 * progmodes/cwarn.el (cwarn-mode): Remove redundant variable
2301 declaration.
2302
2303 * progmodes/pascal.el (pascal-toggle-completions): Doc fix.
2304
2305 * textmodes/bibtex.el (bibtex-string-file-path, bibtex-file-path):
2306 Convert to defcustom.
2307
0c9e42b5
DA
23082012-06-12 Drew Adams <drew.adams@oracle.com>
2309
2310 * help-mode.el (help-bookmark-make-record, help-bookmark-jump):
2311 New functions.
2312 (help-mode): Use them.
2313
09e06855
GM
23142012-06-11 Glenn Morris <rgm@gnu.org>
2315
2316 * progmodes/fortran.el (fortran-font-lock-keywords-3):
2317 Use preprocessor face for directives.
2318 (fortran-directive-re): Doc fix.
2319
71adb94b
SM
23202012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2321
2eb87922
SM
2322 * emacs-lisp/cl-macs.el (cl-parse-loop-clause): Fix error in recent
2323 conversion to backquotes (bug#11652).
2324
71adb94b
SM
2325 Fix compiler-expansion of CL's cXXr functions (bug#11673).
2326 * emacs-lisp/cl-lib.el (cl--defalias): New function.
2327 (cl-values, cl-values-list, cl-copy-seq, cl-svref, cl-first)
2328 (cl-second, cl-rest, cl-endp, cl-third, cl-fourth): Use it.
2329 (cl-plusp, cl-minusp, cl-fifth, cl-sixth, cl-seventh, cl-eighth)
2330 (cl-ninth, cl-tenth): Mark them as inlinable.
2331 (cl-caaar, cl-caadr, cl-cadar, cl-caddr, cl-cdaar, cl-cdadr)
2332 (cl-cddar, cl-cdddr, cl-caaaar, cl-caaadr, cl-caadar, cl-caaddr)
2333 (cl-cadaar, cl-cadadr, cl-caddar, cl-cadddr, cl-cdaaar, cl-cdaadr)
2334 (cl-cdadar, cl-cdaddr, cl-cddaar, cl-cddadr, cl-cdddar, cl-cddddr):
2335 Add a compiler-macro declaration to use cl--compiler-macro-cXXr.
2336 (cl-list*, cl-adjoin): Don't put an autoload manually.
2337 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin)
2338 (cl--compiler-macro-list*): Add autoload cookie.
2339 (cl--compiler-macro-cXXr): New function.
2eb87922 2340
71adb94b
SM
2341 * help-fns.el (help-fns--compiler-macro): New function extracted from
2342 describe-function-1; follow aliases and use `compiler-macro' property.
2343 (describe-function-1): Use it.
2344
a6674402
CY
23452012-06-11 Chong Yidong <cyd@gnu.org>
2346
2347 * startup.el (fancy-splash-head): Use splash.svg even if librsvg
2348 is uninstalled, if imagemagick is installed.
2349
bb3faf5b
SM
23502012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2351
2352 * emacs-lisp/cl-lib.el: Use lexical-binding.
2353 (cl-map-extents, cl-maclisp-member): Remove.
2354 (cl--set-elt, cl--set-nthcdr, cl--set-buffer-substring)
2355 (cl--set-substring, cl--block-wrapper, cl--block-throw)
2356 (cl--compiling-file, cl--mapcar-many, cl--do-subst): Use "cl--" prefix.
2357 * emacs-lisp/cl-extra.el: Use lexical-binding.
2358 (cl--mapcar-many, cl--map-keymap-recursively, cl--map-intervals)
2359 (cl--map-overlays, cl--set-frame-visible-p, cl--progv-save)
2360 (cl--progv-before, cl--progv-after, cl--finite-do, cl--set-getf)
2361 (cl--do-remf, cl--do-prettyprint): Use "cl--" prefix.
2362 * emacs-lisp/cl-seq.el: Use lexical-binding.
2363 (cl--parsing-keywords, cl--check-key, cl--check-test-nokey)
2364 (cl--check-test, cl--check-match): Use "cl--" prefix and backquotes.
2365 (cl--alist, cl--sublis-rec, cl--nsublis-rec, cl--tree-equal-rec):
2366 * emacs-lisp/cl-macs.el (cl--lambda-list-keywords): Use "cl--" prefix.
2367 * edmacro.el (edmacro-mismatch): Simplify to remove dependence on
2368 CL's internals.
2369
2fe4b125
MA
23702012-06-11 Michael Albinus <michael.albinus@gmx.de>
2371
2372 Sync with Tramp 2.2.6-pre.
2373
2374 * net/tramp-cache.el (tramp-dump-connection-properties): Let-bind
2375 `print-length' and `print-level' to nil, in order to avoid
2376 truncation. Reported by Christopher Schmidt
2377 <christopher@ristopher.com>.
2378
2379 * net/tramp-cmds.el (tramp-cleanup-connection): Delete also process.
2380
2381 * net/tramp-compat.el (tramp-compat-condition-case-unless-debug):
2382 New defmacro.
2383 (tramp-compat-copy-directory): Add optional argument
2384 COPY-CONTENTS. It is not handled yet.
2385
2386 * net/tramp-ftp.el (tramp-disable-ange-ftp): Fix docstring.
2387 (tramp-ftp-file-name-p): Simplify.
2388
2389 * net/tramp-gvfs.el (tramp-gvfs-handle-expand-file-name):
2390 * net/tramp-gw.el (tramp-gw-open-connection): Add hop to
2391 connection vector.
2392
2393 * net/tramp-sh.el (tramp-copy-size-limit): Fix docstring.
2394 (tramp-methods): Do not use `tramp-password-end-of-line'.
2395 (tramp-completion-function-alist-putty): Handle UNIX case.
2396 (tramp-remote-path): Add "/opt/bin", "/opt/sbin" and "/opt/local/bin".
2397 (tramp-do-file-attributes-with-stat)
2398 (tramp-do-directory-files-and-attributes-with-stat) Return uid and
2399 gid as real numbers. They could run out of integer range on cygwin.
2400 (tramp-do-copy-or-rename-file-out-of-band): Better trace format.
2401 (tramp-sh-handle-expand-file-name): Handle hops.
87e6e64f
DA
2402 (tramp-open-connection-setup-interactive-shell):
2403 Use `tramp-cleanup'. Move check for busyboxes ...
2404 (tramp-find-shell): ... here. Simplify implementation.
2405 Set "remote-shell" property also for alternative shells.
2406 (tramp-remote-coding-commands): Check "test -c /dev/stdout".
2407 If failing, a regular file would be written otherwise.
2408 Reported by Dmitry Kurochkin <dmitry.kurochkin@gmail.com>.
2fe4b125
MA
2409 (tramp-find-inline-encoding): Cache the coding commands in the
2410 process cache. Apply test command on the remote side, if defined.
2411 (tramp-find-inline-compress): Cache the compress commands in the
2412 process cache.
2413 (tramp-compute-multi-hops): Save `tramp-default-proxies-alist'
2414 when requested. Handle hops.
2415 (tramp-current-connection): New defvar.
87e6e64f
DA
2416 (tramp-maybe-open-connection): Use `tramp-cleanup'.
2417 Throw `suppress', if there was a failed connection shortly before.
2fe4b125 2418 Handle user interrupt. (Bug#10187)
87e6e64f
DA
2419 (tramp-get-inline-compress, tramp-get-inline-coding):
2420 Read connection properties from the process cache.
2fe4b125
MA
2421
2422 * net/tramp-smb.el (tramp-smb-server-version)
87e6e64f
DA
2423 (tramp-smb-wrong-passwd-regexp, tramp-smb-actions-with-tar):
2424 New defconsts.
2fe4b125
MA
2425 (tramp-smb-prompt): Extend for powershell prompt.
2426 (tramp-smb-file-name-handler-alist): Add handlers for
2427 `process-file', `shell-command' and `start-file-process'.
2428 (tramp-smb-winexe-program, tramp-smb-winexe-shell-command)
2429 (tramp-smb-winexe-shell-command-switch): New defcustoms.
2430 (tramp-smb-file-name-p): Simplify.
2431 (tramp-smb-action-with-tar, tramp-smb-handle-process-file)
2432 (tramp-smb-kill-winexe-function, tramp-smb-call-winexe)
2433 (tramp-smb-shell-quote-argument): New defuns.
2434 (tramp-smb-handle-copy-directory): Add COPY-CONTENTS argument.
2435 Implement using "tar". By this, time-stamps are preserved.
2436 (tramp-smb-handle-copy-file): Handle also the case of directories.
2437 (tramp-smb-do-file-attributes-with-stat)
87e6e64f
DA
2438 (tramp-smb-get-file-entries, tramp-smb-get-cifs-capabilities):
2439 Use `tramp-get-connection-buffer').
2fe4b125
MA
2440 (tramp-smb-handle-rename-file): Use "rename", when source and
2441 target are on the same share.
87e6e64f
DA
2442 (tramp-smb-maybe-open-connection): Handle wrong passwords.
2443 Use `tramp-smb-server-version'.
2fe4b125
MA
2444 (tramp-smb-wait-for-output): Remove prompt.
2445
2446 * net/tramp.el (top): Require 'cl.
87e6e64f
DA
2447 (tramp-methods, tramp-rsh-end-of-line):
2448 Remove `tramp-password-end-of-line' from docstring.
2fe4b125
MA
2449 (tramp-save-ad-hoc-proxies): New defcustom.
2450 (tramp-completion-function-alist): Adapt docstring.
2451 (tramp-default-password-end-of-line): Remove defcustom.
2452 (tramp-shell-prompt-pattern): Allow "[]" style prompts. (Bug#11065)
2453 (tramp-user-regexp, tramp-file-name-regexp-unified)
2454 (tramp-file-name-regexp-url): Extend regexp by hop separator.
2455 (tramp-postfix-hop-format, tramp-postfix-hop-regexp)
2456 (tramp-remote-file-name-spec-regexp): New defconst.
2457 (tramp-file-name-structure): Extend structure for hops.
2458 (tramp-get-method-parameter): Move up.
2459 (tramp-file-name-p, tramp-dissect-file-name)
2460 (with-parsed-tramp-file-name): Handle hops.
2461 (tramp-file-name-hop): New defun.
2462 (tramp-make-tramp-file-name): New optional arg HOP.
2463 (tramp-message-show-progress-reporter-message): New defvar.
2464 (tramp-with-progress-reporter): Use it. We cannot use
2465 `tramp-message-show-message' here, because this suppresses also
2466 error buffers.
2467 (tramp-error-with-buffer): Suppress buffer view, if
87e6e64f
DA
2468 `tramp-message-show-message' is nil.
2469 Use `tramp-get-connection-buffer'.
2fe4b125
MA
2470 (tramp-cleanup): New defun.
2471 (tramp-rfn-eshadow-update-overlay): Let-bind `non-essential' to `t'.
2472 (tramp-file-name-handler): If `debug-on-error' is set, propagate
2473 an error unchanged.
2474 (tramp-completion-handle-file-name-all-completions): Handle hops.
2475 Fix an error when called from ido.
2476 (tramp-completion-dissect-file-name): Use better local variable
2477 name. Add hop to the vector.
2478 (tramp-handle-insert-file-contents): Use progress-reporter for the
2479 whole scenario.
2480 (tramp-action-password): Let-bind `enable-recursive-minibuffers'
2481 to `t'.
2482 (tramp-check-for-regexp): Simplify search.
2483 (tramp-enter-password): Remove it. Move implementation ...
2484 (tramp-action-password): ... here.
2485 (tramp-mode-string-to-int, tramp-local-host-p)
2486 (tramp-make-tramp-temp-file, tramp-read-passwd)
87e6e64f
DA
2487 (tramp-clear-passwd, tramp-time-less-p, tramp-time-diff):
2488 Set tramp-autoload cookie.
2fe4b125
MA
2489
2490 * net/trampver.el: Update release number.
2491
24922012-06-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
2493 Michael Albinus <michael.albinus@gmx.de>
2494
2495 * net/tramp.el (tramp-set-completion-function): Fix docstring.
2496 (tramp-parse-group, tramp-parse-file)
2497 (tramp-parse-shostkeys-sknownhosts): New defuns.
2498 (tramp-parse-rhosts, tramp-parse-rhosts-group, tramp-parse-shosts)
2499 (tramp-parse-shosts-group, tramp-parse-sconfig)
2500 (tramp-parse-sconfig-group, tramp-parse-shostkeys)
2501 (tramp-parse-sknownhosts, tramp-parse-hosts)
2502 (tramp-parse-hosts-group, tramp-parse-passwd, tramp-parse-netrc):
2503 Use them.
2504 (tramp-parse-passwd-group, tramp-parse-netrc-group)
2505 (tramp-parse-putty-group): Don't narrow.
2506 (tramp-parse-putty): Make a loop.
2507 (tramp-file-name-handler): Catch the `suppress' signal.
2508
72834e10
CY
25092012-06-11 Chong Yidong <cyd@gnu.org>
2510
2511 * image.el (imagemagick-register-types): Put the ImageMagick entry
2512 at the end of image-type-file-name-regexps.
2513
a4712e11
JB
25142012-06-11 Johan Bockgård <bojohan@gnu.org>
2515
2516 * emacs-lisp/pcase.el (pcase-UPAT, pcase-QPAT): New edebug specs.
2517 (pcase, pcase-let*, pcase-dolist): Use them.
2518
82ad98e3
SM
25192012-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
2520
2521 * emacs-lisp/pcase.el (pcase--let*): New function.
2522 (pcase-let*): Use it. Use pcase--memoize to avoid repeated expansions.
2523 (pcase--expand): Use macroexp-let².
2524
f80efb86
SM
25252012-06-10 Stefan Monnier <monnier@iro.umontreal.ca>
2526
2527 * emacs-lisp/timer.el, emacs-lisp/syntax.el, emacs-lisp/smie.el:
2528 * emacs-lisp/ewoc.el, emacs-lisp/cconv.el, emacs-lisp/bytecomp.el:
2529 * emacs-lisp/byte-opt.el, emacs-lisp/autoload.el: Convert to cl-lib.
2530 * emacs-lisp/easymenu.el, emacs-lisp/easy-mmode.el:
2531 * emacs-lisp/derived.el: Use pcase instead of `cl'.
2532 * emacs-lisp/cl-lib.el: Get rid of special cl-macs auto load.
2533
31ca4639 25342012-06-10 Glenn Morris <rgm@gnu.org>
94f0aa34 2535
31ca4639
CY
2536 * mail/rmail.el (rmail-yank-current-message): Leave point at
2537 correct position. (Bug#11660)
94f0aa34 2538
31ca4639 25392012-06-10 Chong Yidong <cyd@gnu.org>
9e1b8ec4 2540
31ca4639 2541 * allout-widgets.el: Fix code header.
9e1b8ec4 2542
31ca4639 25432012-06-10 Chong Yidong <cyd@gnu.org>
00cd0305 2544
f80efb86
SM
2545 * cus-edit.el (customize-changed-options-previous-release):
2546 Bump to 24.1.
31ca4639 2547
642b6d30
AS
25482012-06-09 Andreas Schwab <schwab@linux-m68k.org>
2549
2550 * Makefile.in (BIG_STACK_DEPTH): Enlarge to 2200.
2551
4f5d2ba1
CY
25522012-06-09 Chong Yidong <cyd@gnu.org>
2553
2554 * ebuff-menu.el (electric-buffer-list): Preserve header line.
2555
e75852fd
MR
25562012-06-09 Martin Rudalics <rudalics@gmx.at>
2557
2558 * window.el (special-display-popup-frame): Don't use
2559 window--display-buffer (Bug#11651).
2560
1e48e282
EZ
25612012-06-09 Eli Zaretskii <eliz@gnu.org>
2562
8a26b487
EZ
2563 Fix parallel builds: make sure loaddefs.el is not being written
2564 while Lisp files are compiled.
2565 (compile): Don't depend on 'mh-autoloads'.
2566 (compile-CMD, compile-SH): Depend on 'autoloads'.
2567 (bootstrap): Don't depend on 'autoloads' and 'mh-autoloads'.
2568
1e48e282
EZ
2569 * makefile.w32-in (BIG_STACK_DEPTH): Enlarge to 2200. (Bug#11649)
2570
6175e34b
CY
25712012-06-09 Chong Yidong <cyd@gnu.org>
2572
2573 * face-remap.el (face-remap-add-relative, face-remap-set-base)
2574 (buffer-face-set, buffer-face-toggle, buffer-face-mode-invoke):
2575 Doc fixes (Bug#11225).
2576
d9857e53
SM
25772012-06-09 Stefan Monnier <monnier@iro.umontreal.ca>
2578
2579 * emacs-lisp/macroexp.el (macroexp--expand-all): Only autoload
2580 a function if there's a clear indication that it has a compiler-macro.
2581 * emacs-lisp/byte-run.el (defun-declarations-alist, defmacro, defun)
2582 (macro-declarations-alist): Add arglist to declaration functions.
2583 (defun-declarations-alist): Add `obsolete' and `compiler-macro'.
2584 * emacs-lisp/cl-seq.el (cl-member, cl-assoc):
2585 * emacs-lisp/cl-lib.el (cl-list*, cl-adjoin):
2586 * emacs-lisp/cl-extra.el (cl-get): Use the new `declare' statement.
2587 Also add autoload to find the compiler macro.
2588 * emacs-lisp/cl-macs.el (eql) [compiler-macro]: Remove.
2589 (cl--compiler-macro-member, cl--compiler-macro-assoc)
2590 (cl--compiler-macro-adjoin, cl--compiler-macro-list*)
2591 (cl--compiler-macro-get): New functions, replacing calls to
2592 cl-define-compiler-macro.
2593 (cl-typep) [compiler-macro]: Use macroexp-let².
2594
f81298f8 25952012-06-08 Nick Dokos <nicholas.dokos@hp.com> (tiny change)
ee574791
UJ
2596
2597 * calendar/icalendar.el (icalendar--parse-vtimezone): Import TZID
2598 string properly, fixes Bug#11473.
2599
4b56d0fe
CY
26002012-06-08 Chong Yidong <cyd@gnu.org>
2601
2602 * faces.el (set-face-attribute): Doc fix.
2603 (modify-face): Don't use :bold and :italic.
2604 (error, warning, success): Tweak definitions.
2605
2606 * cus-edit.el (custom-modified, custom-invalid, custom-rogue)
2607 (custom-modified, custom-set, custom-changed, custom-themed)
2608 (custom-saved, custom-button, custom-button-mouse)
2609 (custom-button-pressed, custom-state, custom-comment-tag)
2610 (custom-variable-tag, custom-group-tag-1, custom-group-tag)
2611 (custom-group-subtitle): Use new-style face specs.
2612 (custom-invalid-face, custom-rogue-face, custom-modified-face)
2613 (custom-set-face, custom-changed-face, custom-saved-face)
2614 (custom-button-face, custom-button-pressed-face)
2615 (custom-documentation-face, custom-state-face)
2616 (custom-comment-face, custom-comment-tag-face)
2617 (custom-variable-tag-face, custom-variable-button-face)
2618 (custom-face-tag-face, custom-group-tag-face-1)
2619 (custom-group-tag-face): Remove obsolete face alias.
2620
2621 * epa.el (epa-validity-high, epa-validity-medium)
2622 (epa-validity-low, epa-mark, epa-field-name, epa-string)
2623 (epa-field-name, epa-field-body):
2624 * font-lock.el (font-lock-comment-face, font-lock-string-face)
2625 (font-lock-keyword-face, font-lock-builtin-face)
2626 (font-lock-function-name-face, font-lock-variable-name-face)
2627 (font-lock-type-face, font-lock-constant-face):
2628 * ido.el (ido-first-match, ido-only-match, ido-subdir)
2629 (ido-virtual, ido-indicator, ido-incomplete-regexp):
2630 * speedbar.el (speedbar-button-face, speedbar-file-face)
2631 (speedbar-directory-face, speedbar-tag-face)
2632 (speedbar-selected-face, speedbar-highlight-face)
2633 (speedbar-separator-face):
2634 * whitespace.el (whitespace-newline, whitespace-space)
2635 (whitespace-hspace, whitespace-tab, whitespace-trailing)
2636 (whitespace-line, whitespace-space-before-tab)
2637 (whitespace-space-after-tab, whitespace-indentation)
2638 (whitespace-empty):
2639 * emulation/cua-base.el (cua-global-mark):
2640 * eshell/em-prompt.el (eshell-prompt):
2641 * net/newst-plainview.el (newsticker-new-item-face)
2642 (newsticker-old-item-face, newsticker-immortal-item-face)
2643 (newsticker-obsolete-item-face, newsticker-date-face)
2644 (newsticker-statistics-face, newsticker-default-face):
2645 * net/newst-reader.el (newsticker-feed-face)
2646 (newsticker-extra-face, newsticker-enclosure-face):
2647 * net/newst-treeview.el (newsticker-treeview-face)
2648 (newsticker-treeview-new-face, newsticker-treeview-old-face)
2649 (newsticker-treeview-immortal-face)
2650 (newsticker-treeview-obsolete-face)
2651 (newsticker-treeview-selection-face):
2652 * net/rcirc.el (rcirc-my-nick, rcirc-other-nick)
2653 (rcirc-bright-nick, rcirc-server, rcirc-timestamp)
2654 (rcirc-nick-in-message, rcirc-nick-in-message-full-line)
2655 (rcirc-prompt, rcirc-track-keyword, rcirc-url, rcirc-keyword):
2656 * nxml/nxml-outln.el (nxml-heading, nxml-outline-indicator)
2657 (nxml-outline-active-indicator, nxml-outline-ellipsis):
2658 * play/mpuz.el (mpuz-unsolved, mpuz-solved, mpuz-trivial)
2659 (mpuz-text):
2660 * progmodes/vera-mode.el (vera-font-lock-number)
2661 (vera-font-lock-function, vera-font-lock-interface):
2662 * textmodes/table.el (table-cell): Use new-style face specs, and
2663 don't use the old :bold and :italic attributes.
2664
2665 * progmodes/ebrowse.el (ebrowse-tree-mark, ebrowse-root-class)
2666 (ebrowse-member-attribute, ebrowse-default, ebrowse-file-name)
2667 (ebrowse-member-class, ebrowse-progress): Likewise.
2668 (ebrowse-tree-mark-face, ebrowse-root-class-face)
2669 (ebrowse-file-name-face, ebrowse-default-face)
2670 (ebrowse-member-attribute-face, ebrowse-member-class-face)
2671 (ebrowse-progress-face): Remove obsolete faces.
2672
2673 * progmodes/flymake.el (flymake-errline, flymake-warnline):
2674 Inherit from error and warning faces respectively.
2675
2676 * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate):
2677 Likewise.
f80efb86
SM
2678 (flyspell-incorrect-face, flyspell-duplicate-face):
2679 Remove obsolete aliases.
4b56d0fe 2680
03310646
MA
26812012-06-08 Michael Albinus <michael.albinus@gmx.de>
2682
2683 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2684 Avoid infloop.
2685
513749ee
SM
26862012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2687
2688 * startup.el (argv, argi): Make lexically scoped.
2689 * emacs-lisp/float-sup.el (pi): Use internal-make-var-non-special.
2690 * emacs-lisp/cl-macs.el: Use lexical-binding.
2691 Rename cl-bind-* to cl--bind-*.
2692 * files.el: Don't require `cl' since it doesn't use it.
2693 * emacs-lisp/pcase.el, emacs-lisp/macroexp.el: Add coding cookie.
2694
595ef4ad
JB
26952012-06-08 Juanma Barranquero <lekktu@gmail.com>
2696
2697 * textmodes/texinfmt.el: Fix bug#11640 (reverts part of 2008-07-31T05:33:56Z!dann@ics.uci.edu).
2698 (texinfo-format-printindex): Use `texinfo-sort-region' in all platforms,
2699 instead of calling external sort utility.
2700 (texinfo-sort-region, texinfo-sort-startkeyfun): Restore functions.
2701
e9f66fcb
EZ
27022012-06-08 Eli Zaretskii <eliz@gnu.org>
2703
2704 * descr-text.el (describe-char): Mention how to insert the
2705 character, if the current input method doesn't support it.
2706 See the discussion in this thread for the details:
2707 http://lists.gnu.org/archive/html/emacs-devel/2012-05/msg00533.html.
2708
3d10db47
SS
27092012-06-08 Sam Steingold <sds@gnu.org>
2710
2711 * bindings.el (global-map): Bind XF86Forward to next-buffer and
2712 XF86Back to previous-buffer.
2713 (minibuffer-local-map): Bind them to next-history-element and
2714 previous-history-element respectively.
2715 * help-mode.el (help-mode-map): Bind them to help-go-forward and
2716 help-go-back respectively.
2717 * info.el (Info-mode-map): Bind them to Info-history-forward and
2718 Info-history-back respectively.
2719 These are the keys next to Up on the ThinkPad keyboard.
2720
de7e2b36
SM
27212012-06-08 Stefan Monnier <monnier@iro.umontreal.ca>
2722
2723 Get rid of cl-lexical-let, keeping only lexical-let for compatibility.
2724 * emacs-lisp/cl-macs.el: Provide itself.
2725 (cl--labels-convert-cache): New var.
2726 (cl--labels-convert): New function.
2727 (cl-flet, cl-labels): New implementation with new semantics, relying on
2728 lexical-binding.
2729 * emacs-lisp/cl.el: Mark compatibility aliases as obsolete.
2730 (cl-closure-vars, cl--function-convert-cache)
2731 (cl--function-convert): Move from cl-macs.el.
2732 (lexical-let, lexical-let*, flet, labels): Move from cl-macs.el and
2733 rename by removing the "cl-" prefix.
2734 * emacs-lisp/macroexp.el (macroexp-unprogn): New function.
2735
6fa6c4ae
SM
27362012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2737
2738 * emacs-lisp/cl.el (cl-macroexpand, cl-macro-environment)
2739 (cl-macroexpand-all, cl-not-hash-table, cl-builtin-gethash)
2740 (cl-builtin-remhash, cl-builtin-clrhash, cl-builtin-maphash)
2741 (cl-map-keymap, cl-copy-tree, cl-gethash, cl-puthash, cl-remhash)
2742 (cl-clrhash, cl-maphash, cl-make-hash-table, cl-hash-table-p)
2743 (cl-hash-table-count): Add old compatibility aliases.
2744
2745 * emacs-lisp/cl-macs.el (cl-macro-environment): Remove var.
2746 Use macroexpand-all-environment instead.
2747 (cl--old-macroexpand): New var.
2748 (cl--sm-macroexpand): New function.
2749 (cl-symbol-macrolet): Use it during macro expansion.
2750 (cl--function-convert-cache): New var.
2751 (cl--function-convert): New function, extracted from
2752 cl-macroexpand-all.
2753 (cl-lexical-let): Use it.
2754
2755 * emacs-lisp/cl-lib.el (cl-macro-environment): Remove decl.
2756 (cl-macroexpand): Move to cl-macs.el and rename to cl--sm-macroexpand.
2757 (cl-member): Remove old alias.
2758
2759 * emacs-lisp/cl-extra.el (cl-map-keymap, cl-copy-tree)
2760 (cl-not-hash-table, cl-builtin-gethash, cl-builtin-remhash)
2761 (cl-builtin-clrhash, cl-builtin-maphash, cl-gethash, cl-puthash)
2762 (cl-remhash, cl-clrhash, cl-maphash, cl-make-hash-table)
2763 (cl-hash-table-p, cl-hash-table-count): Move to cl.el.
2764 (cl-macroexpand-cmacs): Remove var.
2765 (cl-macroexpand-all, cl-macroexpand-body): Remove funs.
2766 Use macroexpand-all instead.
2767
4dd1c416
SM
27682012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2769
2770 * emacs-lisp/macroexp.el (macroexp-progn, macroexp-let*, macroexp-if)
2771 (macroexp-let², macroexp--const-symbol-p, macroexp-const-p)
2772 (macroexp-copyable-p): New functions and macros.
2773 * emacs-lisp/edebug.el (edebug-unwrap):
2774 * emacs-lisp/disass.el (disassemble-internal): Use macroexp-progn.
2775 * emacs-lisp/pcase.el: Use macroexp-let*, macroexp-if, ...
2776 (pcase--let*): Remove.
2777 * emacs-lisp/bytecomp.el (byte-compile-const-symbol-p)
2778 (byte-compile-constp): Remove. Use macroexp--const-symbol-p and
2779 macroexp-const-p instead.
2780 * emacs-lisp/byte-opt.el: Use macroexp-const-p and macroexp-progn.
2781
2782 * emacs-lisp/cl-macs.el: Clean up the name space by using "cl--"
2783 instead of "cl-" for internal definitions. Use macroexp-const-p.
2784 (cl-old-bc-file-form): Remove var.
2785 (cl-const-exprs-p): Remove fun.
2786 (cl-labels, cl-macrolet): Use backquote.
2787 (cl-lexical-let): Use cl-symbol-macrolet. Don't use cl-defun-expander.
2788 (cl-defun-expander, cl-byte-compile-compiler-macro): Remove fun.
2789 (cl-define-setf-expander): Rename from cl-define-setf-method.
2790 * emacs-lisp/cl.el: Adjust alias for define-setf-method.
2791
2792 * international/mule-cmds.el: Don't require CL.
2793 (view-hello-file): Don't use `letf'.
2794
ed8bd4d7
SM
27952012-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
2796
7287f2f3
SM
2797 * tmm.el (tmm-prompt): Use string-prefix-p.
2798 (tmm-completion-delete-prompt): Don't affect current-buffer outside.
2799 (tmm-add-prompt): Use minibuffer-completion-help.
2800 (tmm-delete-map): Remove.
2801
ed8bd4d7
SM
2802 * subr.el (kbd): Make it its own function.
2803
7b4cdbf4
SM
28042012-06-07 Stefan Merten <smerten@oekonux.de>
2805
2806 * textmodes/rst.el: Use `eval-when-compile' for requiring `cl.el'.
2807 Silence compiler warnings. Fix versions.
ed8bd4d7 2808 (rst-position-if, rst-position, rst-some, rst-signum): New functions.
7b4cdbf4 2809 (rst-shift-region, rst-adornment-level, rst-compute-tabs)
ed8bd4d7 2810 (rst-indent-line, rst-shift-region, rst-forward-line): Use them.
7b4cdbf4
SM
2811 (rst-package-emacs-version-alist): Correct Emacs version to
2812 represent major merge with upstream.
ed8bd4d7 2813 (rst-transition, rst-adornment, rst-compile-toolsets): Fix versions.
7b4cdbf4 2814
2b48d721
GM
28152012-06-06 Glenn Morris <rgm@gnu.org>
2816
2817 * mail/emacsbug.el (report-emacs-bug): Add relevant EMACS env-vars.
2818 Only print environment variables if set.
2819
fa779ab0
SM
28202012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2821
2822 * emacs-lisp/macroexp.el: Don't require CL since we don't use it.
2823 (macroexp--cons): Rename from maybe-cons.
2824 (macroexp--accumulate): Rename from macroexp-accumulate.
2825 (macroexp--all-forms): Rename from macroexpand-all-forms.
2826 (macroexp--all-clauses): Rename from macroexpand-all-clauses.
2827 (macroexp--expand-all): Rename from macroexpand-all-1.
2828
628299e0
SS
28292012-06-06 Sam Steingold <sds@gnu.org>
2830
2831 * calendar/calendar.el (calendar-in-read-only-buffer):
2832 Call `special-mode' to enable the standard read-only keybindings.
2833
b7bb5838
SM
28342012-06-06 Stefan Monnier <monnier@iro.umontreal.ca>
2835
2836 * emacs-lisp/macroexp.el (macroexpand-all-1): Don't spam the output
2837 with "loading" messages (bug#11635).
2838
dfb308ba
MA
28392012-06-06 Michael Albinus <michael.albinus@gmx.de>
2840
2841 * files.el (enable-remote-dir-locals): New option.
2842 (hack-dir-local-variables): Use it. (Bug#1933, Bug#6731)
2843
0372ee92
MA
2844 * net/tramp-compat.el (tramp-compat-temporary-file-directory):
2845 Ensure, that the temp directory is local.
2846
2847 * net/tramp-sh.el (tramp-sh-handle-write-region): Let-bind
2848 `temporary-file-directory'.
2849
eed0bb91
MA
2850 * progmodes/python.el (python-send-region): Ensure, that the
2851 temporary file is created also in the remote case.
2852
7a58f64d
GM
28532012-06-06 Glenn Morris <rgm@gnu.org>
2854
f7dd4e98
GM
2855 * vc/vc-rcs.el (vc-rcs-rcs2log-program): New.
2856 (vc-rcs-update-changelog): Use it.
2857
090bd7cb 2858 * emacs-lisp/authors.el (authors-fixed-entries): Remove vcdiff.
276d5f5d 2859
7a58f64d
GM
2860 * vc/vc-sccs.el (vc-sccs-write-revision): New function.
2861 (vc-sccs-workfile-unchanged-p): Use vc-sccs-write-revision.
2862 (vc-sccs-diff): Replace use of the external vcdiff script.
2863
daed4003
GM
28642012-06-05 Glenn Morris <rgm@gnu.org>
2865
2866 * ledit.el: Move to obsolete/.
2867
48c455c7
SS
28682012-06-05 Sam Steingold <sds@gnu.org>
2869
ed9265fc 2870 * calendar/calendar.el (calendar-exit): Reinstate the 2012-03-28
48c455c7
SS
2871 patch (Bug#11140).
2872
57a7d507
SM
28732012-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
2874
090bd7cb 2875 * emacs-lisp/cust-print.el: Move to obsolete.
d32926ff 2876
53aacf21
SM
2877 * emacs-lisp/macroexp.el (macroexpand-all-1): Tolerate errors during
2878 compiler-macro expansion.
2879
57a7d507
SM
2880 Add native compiler-macro support.
2881 * emacs-lisp/macroexp.el (macroexpand-all-1):
2882 Support compiler-macros directly. Properly follow aliases and apply
2883 the compiler macros more thoroughly.
2884 * emacs-lisp/cl.el: Don't copy compiler-macro properties any more since
2885 macroexpand now properly follows aliases.
2886 * emacs-lisp/cl-macs.el (toplevel, cl-define-compiler-macro)
2887 (cl-compiler-macroexpand): Use new prop.
2888 * emacs-lisp/byte-opt.el (featurep): Optimize earlier.
2889
2890 * emacs-lisp/cl-lib.el (custom-print-functions): Add alias.
2891
51a5f9d8
MR
28922012-06-05 Martin Rudalics <rudalics@gmx.at>
2893
2894 * window.el (get-lru-window, get-mru-window, get-largest-window):
2895 New argument NOT-SELECTED to avoid picking the selected window.
2896 (window--display-buffer-1, window--display-buffer-2): Replace by
2897 new function window--display-buffer
2898 (display-buffer-same-window, display-buffer-reuse-window)
57a7d507
SM
2899 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
2900 Use window--display-buffer.
51a5f9d8
MR
2901 (display-buffer-use-some-window): Remove temporary dedication
2902 hack by calling get-lru-window and get-largest-window with
2903 NOT-SELECTED argument non-nil. Call window--display-buffer.
2904
08f9f738
GM
29052012-06-05 Glenn Morris <rgm@gnu.org>
2906
2907 * vc/vc-sccs.el (vc-sccs-workfile-unchanged-p):
2908 Replace external vcdiff script.
2909
e364a2b7
SM
29102012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2911
2912 * emacs-lisp/cl-lib.el (cl-values, cl-values-list): Fix up last change.
2913
041df390
CY
29142012-06-04 Chong Yidong <cyd@gnu.org>
2915
e364a2b7
SM
2916 * image.el (imagemagick-types-inhibit): Revert last change.
2917 Add INFO and M.
47b36b94 2918 (imagemagick-enabled-types): Remove CIN and EPS*.
041df390 2919
7c1898a7
SM
29202012-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
2921
2922 * emacs-lisp/cl-lib.el: Rename from cl.el.
2923 * emacs-lisp/cl.el: New compatibility file.
2924 * emacs-lisp/cl-lib.el, emacs-lisp/cl-seq.el, emacs-lisp/cl-macs.el:
2925 * emacs-lisp/cl-extra.el: Rename all top-level functions and variables
2926 to obey the "cl-" prefix.
2927 * emacs-lisp/macroexp.el (macroexpand-all-1): Adjust to new name.
2928
0c3461de
GM
29292012-06-03 Glenn Morris <rgm@gnu.org>
2930
1e266c88
GM
2931 * emacs-lisp/authors.el (authors-aliases): Addition.
2932
0c3461de
GM
2933 * cus-start.el (tool-bar-style, tool-bar-max-label-size):
2934 Fix :version.
2935
d8a52e15
SM
29362012-06-03 Stefan Merten <smerten@oekonux.de>
2937
2938 * textmodes/rst.el: Add comments.
2939 (rst-transition, rst-adornment): New faces.
2940 (rst-adornment-faces-alist): Make default safe to reevaluate.
2941 Fixes
2942 http://sourceforge.net/tracker/?func=detail&atid=422030&aid=3479603&group_id=38414.
2943 Improve customization tags.
2944 (rst-define-level-faces): Clarify meaning.
2945
5205d6f6
CY
29462012-06-03 Chong Yidong <cyd@gnu.org>
2947
2948 * progmodes/compile.el (compilation-mode-line-fail)
7c1898a7
SM
2949 (compilation-mode-line-run, compilation-mode-line-exit):
2950 New faces.
5205d6f6
CY
2951 (compilation-start, compilation-handle-exit): Use them (Bug#11032).
2952
757ee657
JD
29532012-06-03 Jack Duthen <duthen.mac.01@gmail.com> (tiny change)
2954
7c1898a7
SM
2955 * progmodes/which-func.el (which-func-update-ediff-windows):
2956 New function. Use it in ediff-select-hook (Bug#11478).
757ee657 2957
5f2c76c6
CY
29582012-06-03 Chong Yidong <cyd@gnu.org>
2959
2960 * bindings.el: Remove explicit help text from format-mode-line.
2961 It is now supplied by mode-line-default-help-echo.
2962 (mode-line-front-space, mode-line-end-spaces)
2963 (mode-line-misc-info): New variables.
2964 (mode-line-modes, mode-line-position): Move the default value to
2965 the variable definition.
2966 (mode-line-default-help-echo): New defcustom.
383f7350
CY
2967 (mode-line-mule-info-help-echo, mode-line-read-only-help-echo)
2968 (mode-line-modified-help-echo): New functions.
2969 (mode-line-mule-info, mode-line-modified): Use them.
2970 (mode-line-eol-desc, propertized-buffer-identification):
2971 Consistency fixes for help text.
cbe46e5f
CY
2972 (mode-line-coding-system-map): Allow using mouse-3 to invoke
2973 set-buffer-file-coding-system (Bug#289).
2974 (mode-line-mule-info-help-echo): Update help text.
5f2c76c6 2975
f2d6a3df
SM
29762012-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
2977
2978 * simple.el (execute-extended-command): Set real-this-command
2979 (bug#11506).
2980
37269466
CY
29812012-06-02 Chong Yidong <cyd@gnu.org>
2982
2983 Remove incorrect uses of "modeline" in comments, docstrings, and
2984 function/variable names (Bug#10329).
2985
2986 * cus-edit.el (mode-line):
2987 * dframe.el (dframe-mouse-hscroll):
2988 * emacs-lisp/re-builder.el:
2989 * emacs-lisp/easy-mmode.el (define-minor-mode):
2990 * frame.el (set-frame-name):
2991 * help.el (lookup-minor-mode-from-indicator):
2992 * net/rcirc.el (rcirc-activity-string, rcirc-short-buffer-name):
2993 * progmodes/cc-cmds.el (c-toggle-auto-newline)
2994 (c-toggle-hungry-state):
2995 * progmodes/antlr-mode.el (antlr-language-alist):
2996 * progmodes/idlw-shell.el (idlwave-shell-electric-stop-line-face):
2997 * progmodes/vhdl-mode.el (vhdl-mode):
2998 * progmodes/which-func.el (which-func, which-func-cleanup-function):
2999 * term/ns-win.el (ns-face-at-pos):
3000 * term/sup-mouse.el (sup-mouse-report):
3001 * textmodes/flyspell.el (flyspell-mode-line-string):
3002 * textmodes/ispell.el (ispell-highlight-face):
3003 * textmodes/reftex-global.el:
3004 * vc/vc-arch.el (vc-arch-mode-line-string):
3005 * vc/vc-cvs.el (vc-cvs-mode-line-string):
3006 * vc/vc-git.el (vc-git-mode-line-string):
3007 * vc/vc-hooks.el (vc-display-status)
3008 (vc-default-mode-line-string):
3009 * vc/vc-mtn.el (vc-mtn-mode-line-string): Doc fixes.
3010
3011 * ansi-color.el (ansi-color-faces-vector): Change default faces.
3012
3013 * dired.el (dired-sort-set-mode-line): Rename from
3014 dired-sort-set-modeline. All callers changed.
3015
3016 * eshell/esh-mode.el (eshell-status-in-mode-line): Rename from
3017 eshell-status-in-modeline.
3018
3019 * foldout.el (foldout-mode-line-string): Rename from
3020 foldout-modeline-string. All callers changed.
3021 (foldout-update-mode-line): Rename from foldout-update-modeline.
3022
3023 * subr.el (redraw-modeline): Make into obsolete alias.
3024
3025 * calendar/timeclock.el (timeclock-mode-line-display): Rename from
3026 timeclock-modeline-display. Make old name an alias.
3027 (timeclock-update-mode-line): Likewise. All callers changed.
3028 (timeclock-mode-line-display): No need to check before using
3029 add-hook.
3030 (timeclock-relative, timeclock-day-over-hook)
3031 (timeclock-use-elapsed, timeclock-mode-string)
3032 (timeclock-mode-line-display): Doc fix, "modeline" -> "mode line".
3033
3034 * emulation/crisp.el (crisp-mode-mode-line-string): Rename from
3035 crisp-mode-modeline-string.
3036
3037 * play/solitaire.el (solitaire-build-mode-line): Rename from
3038 solitaire-build-modeline. All callers changed.
3039
3040 * play/zone.el (zone-hiding-mode-line): Rename from
3041 zone-hiding-modeline. All callers changed.
3042 (zone): Remove unusued `modeline-hidden-level' property.
3043
3044 * progmodes/xscheme.el (xscheme-mode-line-initialize): Rename from
3045 xscheme-modeline-initialize. All callers changed.
3046
3047 * strokes.el (strokes-lighter): Rename from
3048 strokes-modeline-string.
3049
3050 * textmodes/sgml-mode.el (html-face-tag-alist)
3051 (html-tag-face-alist): Use mode-line face instead of obsolete
3052 alias modeline.
3053
42152ee4
SM
30542012-06-02 Stefan Merten <smerten@oekonux.de>
3055
3056 * textmodes/rst.el: Always require `cl'.
4cf9b38d 3057 (rst-mode-map): Fix meaning of C-M-a / C-M-e.
42152ee4 3058
95f520b5
CY
30592012-06-02 Chong Yidong <cyd@gnu.org>
3060
3061 * image.el (imagemagick-enabled-types): Rename from
3062 imagemagick-types-enable. Add many more types.
3063 (imagemagick-types-inhibit): Change default to nil.
3064 (imagemagick-filter-types): Caller changed.
3065
4a5f187a
SM
30662012-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
3067
03fef3e6
SM
3068 * emacs-lisp/cl-macs.el: Use backquotes.
3069 (cl-transform-function-property): Use eval-and-compile rather than
3070 abusing `require'.
3071 (defstruct): Use declare-function instead of with-no-warnings.
3072
4a5f187a
SM
3073 * emacs-lisp/bytecomp.el: Fix last change (bug#11594).
3074 (byte-compile-output-docform): Re-add the print-circle bindings.
3075 (byte-compile-fix-header): Use #$ just because it's shorter.
3076 (byte-compile-output-file-form): Remove defun/defmacro.
3077
bd56924f
MR
30782012-06-01 Martin Rudalics <rudalics@gmx.at>
3079
3080 * simple.el (choose-completion): Remove now obsolete binding for
3081 owindow.
3082
046e38ce
MA
30832012-06-01 Michael Albinus <michael.albinus@gmx.de>
3084
3085 * net/tramp.el (tramp-check-for-regexp): Search from buffer end,
3086 in order to avoid "Stack overflow in regexp matcher".
3087
32d72c2f
GM
30882012-05-31 Glenn Morris <rgm@gnu.org>
3089
3090 * image.el: For clarity, call imagemagick-register-types at
3091 top-level, rather than relying on a custom :initialize.
3092 (imagemagick-types-enable): New option. (Bug#11557)
60b5f187
GM
3093 (imagemagick-filter-types): New function. (Bug#7406)
3094 (imagemagick-register-types): Use imagemagick-filter-types.
32d72c2f
GM
3095 If disabling support, remove elements altogether rather
3096 than using an impossible regexp.
3097 (imagemagick-types-inhibit): Give it the default init function.
3098
dd41169b
SM
30992012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3100
4a5f187a
SM
3101 * emacs-lisp/bytecomp.el (byte-compile-fix-header):
3102 Handle arbitrary file name lengths (Bug#11585).
dd41169b 3103
efc00ab1 31042012-05-31 Martin Rudalics <rudalics@gmx.at>
5221ccb9
MR
3105
3106 * desktop.el (desktop-read): Clear previous and next buffers for
3107 all windows and bury *Messages* buffer (bug#11556).
3108
500fcedc
SM
31092012-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
3110
3111 Add `declare' for `defun'. Align `defmacro's with it.
3112 * emacs-lisp/easy-mmode.el (define-minor-mode)
3113 (define-globalized-minor-mode): Don't autoload the var definitions.
3114 * emacs-lisp/byte-run.el: Use lexical-binding.
3115 (defun-declarations-alist, macro-declarations-alist): New vars.
3116 (defmacro, defun): Use them.
3117 (make-obsolete, define-obsolete-function-alias)
3118 (make-obsolete-variable, define-obsolete-variable-alias):
3119 Use `declare'.
3120 (macro-declaration-function): Mark obsolete.
3121 * emacs-lisp/autoload.el: Use lexical-binding.
3122 (make-autoload): Add `expansion' arg. Rely more on macro expansion.
3123
6e8a1786
AM
31242012-05-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3125
3126 * textmodes/ispell.el (ispell-with-no-warnings):
3127 Define as a macro.
500fcedc
SM
3128 (ispell-kill-ispell, ispell-change-dictionary):
3129 Use `called-interactively-p' for Emacs instead of obsolete
6e8a1786
AM
3130 `interactive-p'.
3131
61b108cc
SM
31322012-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
3133
3134 * emacs-lisp/byte-run.el (defmacro, defun): Move from C.
3135 (macro-declaration-function): Move var from C code.
3136 (macro-declaration-function): Define function with defalias.
3137 * emacs-lisp/macroexp.el (macroexpand-all-1):
3138 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form):
3139 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Don't handle
3140 defun/defmacro any more.
3141 * emacs-lisp/bytecomp.el (byte-compile-arglist-signature):
3142 Provide fallback for unknown arglist.
3143 (byte-compile-arglist-warn): Change calling convention.
3144 (byte-compile-output-file-form): Move print-vars binding.
3145 (byte-compile-output-docform): Simplify accordingly.
3146 (byte-compile-file-form-defun, byte-compile-file-form-defmacro)
3147 (byte-compile-defmacro-declaration): Remove.
3148 (byte-compile-file-form-defmumble): Generalize to defalias.
3149 (byte-compile-output-as-comment): Return byte-positions.
3150 Simplify callers accordingly.
3151 (byte-compile-lambda): Use `assert'.
3152 (byte-compile-defun, byte-compile-defmacro): Remove.
3153 (byte-compile-file-form-defalias):
3154 Use byte-compile-file-form-defmumble.
3155 (byte-compile-defalias-warn): Remove.
3156
6d3f7c2f
SM
31572012-05-29 Stefan Merten <smerten@oekonux.de>
3158
3159 * textmodes/rst.el: Silence `checkdoc-ispell' errors where
61b108cc 3160 possible. Fix authors. Improve comments. Improve loading of `cl'.
6d3f7c2f
SM
3161
3162 (rst-mode-abbrev-table): Merge definition.
3163 (rst-mode): Make sure `font-lock-defaults' is buffer local.
3164 (rst-define-key, rst-deprecated-keys, rst-call-deprecated): Refactor.
3165
6dbaa1c7
UJ
31662012-05-29 Ulf Jasper <ulf.jasper@web.de>
3167
3168 * calendar/icalendar.el
3169 (icalendar-export-region): Export UID properly.
3170
d209e2fb 31712012-05-29 Leo Liu <sdl.web@gmail.com>
61b108cc
SM
3172 * calendar/icalendar.el (icalendar-import-format):
3173 Add `icalendar-import-format-uid' (Bug#11525).
6dbaa1c7
UJ
3174 (icalendar-import-format-uid): New.
3175 (icalendar--parse-summary-and-rest, icalendar--format-ical-event):
3176 Export UID.
3177
6876a58d
SM
31782012-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
3179
3180 * emacs-lisp/pcase.el (pcase--expand): Accept different sets of vars in
3181 different alternative patterns.
3182 (pcase-codegen): Be more careful to preserve identity.
3183 (pcase--u1): Don't forget to mark vars as used.
3184
3185 * emacs-lisp/bytecomp.el (byte-compile-constp): Treat #'v as a constant.
3186 (byte-compile-close-variables): Bind byte-compile--outbuffer here...
3187 (byte-compile-from-buffer): ...rather than here.
3188
3189 * emacs-lisp/byte-opt.el (byte-compile-inline-expand): Don't re-preprocess
3190 functions from byte-compile-function-environment.
3191
46b7967e
TN
31922012-05-29 Troels Nielsen <bn.troels@gmail.com>
3193
3194 * window.el (window-deletable-p): Avoid deleting the root window
3195 of a frame with an active minibuffer.
3196
69d565e2
MR
31972012-05-29 Martin Rudalics <rudalics@gmx.at>
3198
3199 * simple.el (choose-completion): Use quit-window (Bug#11567).
3200
a149fa51
CY
32012012-05-29 Chong Yidong <cyd@gnu.org>
3202
3203 * whitespace.el (whitespace-cleanup): Fix usage of
3204 whitespace-empty-at-bob-regexp (Bug#11492).
3205
2b311310
AH
32062012-05-29 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3207
3208 * vc/vc.el (vc-revert, vc-rollback): Dont kill vc-diff buffer on
3209 revert (Bug#11488).
3210
b9cb2387
JL
32112012-05-29 Juri Linkov <juri@jurta.org>
3212
3213 * isearch.el (isearch-mode-map): Bind `M-s _' to
3214 `isearch-toggle-symbol'. Bind `M-s c' to
3215 `isearch-toggle-case-fold'.
3216 (search-map): Bind `M-s _' to `isearch-forward-symbol'.
3217 (isearch-forward): Add `M-s _' to the docstring.
3218 (isearch-forward-symbol, isearch-toggle-case-fold)
3219 (isearch-symbol-regexp): New functions. (Bug#11381)
3220
d5e61c1c
JL
32212012-05-29 Juri Linkov <juri@jurta.org>
3222
3223 * isearch.el (isearch-word): Add docstring. (Bug#11381)
3224 (isearch-occur, isearch-search-and-update): If `isearch-word' is
3225 a function, call it to get the regexp.
3226 (isearch-message-prefix): If `isearch-word' holds a symbol, use its
3227 property `isearch-message-prefix' instead of the string "word ".
3228 (isearch-search-fun-default): For the case of `isearch-word',
3229 return a lambda that calls re-search-forward/re-search-backward
3230 with a regexp returned by `word-search-regexp' or by the function
3231 in `isearch-word'.
3232
8cbd80f7
JL
32332012-05-29 Juri Linkov <juri@jurta.org>
3234
3235 * isearch.el (isearch-search-fun-default): New function.
3236 (isearch-search-fun): Move default part to the new function
3237 `isearch-search-fun-default'.
3238 (isearch-search-fun-function): Set the default value to
3239 `isearch-search-fun-default'. (Bug#11381)
3240
3241 * comint.el (comint-history-isearch-end):
3242 Use `isearch-search-fun-default'.
3243 (comint-history-isearch-search): Use `isearch-search-fun-default'
3244 and remove spacial case for `isearch-word'.
3245 (comint-history-isearch-wrap): Remove spacial case for
3246 `isearch-word'.
3247
3248 * hexl.el (hexl-isearch-search-function):
3249 Use `isearch-search-fun-default'.
3250
3251 * info.el (Info-isearch-search): Use `isearch-search-fun-default'.
3252 Use `word-search-regexp' for `isearch-word'.
3253
3254 * misearch.el (multi-isearch-search-fun):
3255 Use `isearch-search-fun-default'.
3256
3257 * simple.el (minibuffer-history-isearch-search):
3258 Use `isearch-search-fun-default' and remove spacial case for
3259 `isearch-word'.
3260 (minibuffer-history-isearch-wrap): Remove spacial case for
3261 `isearch-word'.
3262
3263 * textmodes/reftex-global.el (reftex-isearch-wrap-function):
3264 Remove spacial case for `isearch-word'.
3265 (reftex-isearch-isearch-search): Use `isearch-search-fun-default'.
3266
85c8c5b6
AM
32672012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3268
3269 Decrease XEmacs incompatibilities.
3270 * textmodes/flyspell.el (flyspell-check-pre-word-p):
3271 Use `string-match'.
3272 (flyspell-delete-region-overlays): Use alternative definition for
3273 XEmacs.
3274 (flyspell-delete-all-overlays): Use `flyspell-delete-region-overlays'.
3275 (flyspell-word): Use `process-kill-without-query' if XEmacs.
3276 (flyspell-mode-on): Use `interactive-p' if XEmacs.
3277 (flyspell-incorrect-face, flyspell-duplicate-face): Do not use
3278 `define-obsolete-face-alias' under XEmacs, but old method.
3279
3280 * textmodes/ispell.el (ispell-with-no-warnings): XEmacs alternative
3281 `with-no-warnings' definition or Emacs alias.
3282 (ispell-command-loop, ispell-message): Use `ispell-with-no-warnings'.
3283 (ispell-word): Do not use `region-p' if XEmacs.
3284
8cab9efc
AM
32852012-05-28 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3286
3287 * textmodes/ispell.el (ispell-find-aspell-dictionaries):
3288 Check for `ispell-dictionary-base-alist' instead of full
3289 `ispell-dictionary-alist'.
3290 (ispell-init-process): Show spellchecker when starting new Ispell
3291 process.
3292
fda91268
RZ
32932012-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
3294
3295 * progmodes/vhdl-mode.el: Sync with upstream 3.33.28.
3296 http://www.iis.ee.ethz.ch/~zimmi/emacs/vhdl-mode.html#release-notes-3.33
3297
694ea8e3
JB
32982012-05-27 Juanma Barranquero <lekktu@gmail.com>
3299
3300 * version.el (motif-version-string, gtk-version-string)
3301 (ns-version-string): Declare.
3302
e4d4f539
JL
33032012-05-27 Juri Linkov <juri@jurta.org>
3304
3305 * emacs-lisp/lisp-mode.el (eval-defun-2): Use `eval-sexp-add-defvars'
3306 after the `eval-defun-1' specialcaseing
3307 like in `edebug-eval-defun' (bug#10181).
3308
3309 * emacs-lisp/edebug.el (edebug-eval-defun): Set `face-documentation'
3310 like in `eval-defun-1'.
3311
33017faf 33122012-05-27 Eli Zaretskii <eliz@gnu.org>
b30b64b9 3313
fda91268
RZ
3314 * mail/sendmail.el (mail-yank-region):
3315 Recognize rmail-yank-current-message in addition to insert-buffer.
3316 Fixes mail-mode's "C-c C-r" that otherwise does nothing when invoked in
b30b64b9
EZ
3317 a *mail* buffer created through rmail-start-mail with sendmail as
3318 mail-user-agent.
3319
33017faf
GM
33202012-05-27 Chong Yidong <cyd@gnu.org>
3321
3322 * net/gnutls.el (gnutls-min-prime-bits): Improve docstring.
3323 Default to 256 (Bug#11267).
3324
3325 * help.el (describe-mode): Doc fix.
3326
04188bb9
GM
33272012-05-26 Glenn Morris <rgm@gnu.org>
3328
38264cc9
GM
3329 * w32-fns.el (w32-init-info): Remove.
3330 * paths.el (Info-default-directory-list): Add w32-init-info equivalent.
3331
eb7afdad
GM
3332 * info.el (info-initialize): For self-contained NS builds, put the
3333 included info/ directory at the front. (Bug#2791)
3334
04188bb9
GM
3335 * paths.el (Info-default-directory-list): Make it a defcustom,
3336 mainly so that we can use custom-initialize-delay.
3337
a179e3f7
SM
33382012-05-26 Stefan Monnier <monnier@iro.umontreal.ca>
3339
43416392
SM
3340 * subr.el (buffer-has-markers-at): Mark obsolete.
3341
a179e3f7 3342 * subr.el (lambda): Use declare.
43416392 3343
a179e3f7
SM
3344 * emacs-lisp/lisp-mode.el (lambda):
3345 * emacs-lisp/edebug.el (lambda): Move properties to its definition.
3346
34a008d9
AH
33472012-05-26 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3348
3349 * thingatpt.el (forward-same-syntax): Handle no ARG case. (Bug#11560)
3350
0a3b289f
GM
33512012-05-26 Glenn Morris <rgm@gnu.org>
3352
3353 * progmodes/cc-mode.el (auto-mode-alist): Fix typo.
3354
758c81e8
GM
33552012-05-25 Glenn Morris <rgm@gnu.org>
3356
f9f334f0
GM
3357 * paths.el: Remove no-byte-compile.
3358 * loadup.el: No need to load paths.el uncompiled.
3359
87eb79c2
GM
3360 * image.el (imagemagick-types-inhibit): Doc fix.
3361
758c81e8
GM
3362 * version.el: Remove no-byte-compile and associated formatting.
3363 * loadup.el: No need to load version.el uncompiled. AFAICS, this
3364 is ancient code from when there was an "inc-vers.el".
3365
e7e85dc0
SM
33662012-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
3367
3368 * progmodes/gdb-mi.el: Minor style changes.
3369 (gdb-enable-debug, gdb-speedbar-auto-raise, gdb-many-windows):
3370 Turn into minor modes.
3371 (gdb--if-arrow): Rename from gdb-if-arrow, make it hygienic.
3372 (gdb-mouse-until, gdb-mouse-jump): Adjust uses accordingly.
3373 (gdb-shell): Remove unneeded let-binding.
3374 (gdb-get-many-fields): Eliminate O(n²) behavior.
3375
f31237a4
EZ
33762012-05-25 Eli Zaretskii <eliz@gnu.org>
3377
3378 * cus-start.el <vertical-centering-font-regexp>: Avoid warning on
3379 platforms that don't link in fontset.c.
3380
bc1b21bb
JL
33812012-05-25 Juri Linkov <juri@jurta.org>
3382
3383 Use the same diff color scheme as in modern VCSes (bug#10181).
3384
3385 * vc/diff-mode.el (diff-header, diff-file-header): Remove "green"
3386 to avoid confusion with `diff-added' that now uses green colors.
3387 (diff-removed): Use shades of red.
3388 (diff-added): Use shades of green.
3389 (diff-changed): Leave just the yellow color.
3390 (diff-use-changed-face): New variable.
3391 (diff-font-lock-keywords): Use `diff-use-changed-face' to decide
3392 how to highlight context diff changes.
3393 (diff-refine-change): Use shades of yellow.
3394 (diff-refine-removed): New face that uses shades of red.
3395 (diff-refine-added): New face that uses shades of green.
3396 (diff-refine-hunk): Use `diff-refine-change', `diff-refine-added',
3397 `diff-refine-removed' in the call to `smerge-refine-subst'
3398 depending on the value of `diff-use-changed-face'.
3399
3400 * vc/smerge-mode.el (smerge-mine): Use shades of red.
3401 (smerge-other): Use shades of green.
3402 (smerge-base): Use shades of yellow.
3403 (smerge-refined-change): Empty face.
3404 (smerge-refined-removed): New face that uses shades of red.
3405 (smerge-refined-added): New face that uses shades of green.
3406 (smerge-refine-subst): Rename arg `props' to `props-c'. Add new
3407 args `props-r' and `props-a', and use them. Doc fix.
3408 (smerge-refine): Evaluate `smerge-use-changed-face' and depending
3409 on its value use different faces `smerge-refined-change',
3410 `smerge-refined-removed', `smerge-refined-added' in the call to
3411 `smerge-refine-subst'.
3412
3413 * vc/ediff-init.el (ediff-current-diff-A, ediff-fine-diff-A):
3414 Add face condition `min-colors 88' with shades of red.
3415 (ediff-current-diff-B, ediff-fine-diff-B): Add face condition
3416 `min-colors 88' with shades of green.
3417 (ediff-current-diff-C, ediff-fine-diff-C): Add face condition
3418 `min-colors 88' with shades of yellow.
3419
6df9112c
GM
34202012-05-24 Glenn Morris <rgm@gnu.org>
3421
ead5edc0
GM
3422 * paths.el (prune-directory-list, remote-shell-program): Move to...
3423 * files.el (prune-directory-list, remote-shell-program): ...here.
3424 For the latter, delay initialization, prefer ssh, just search PATH.
3425
f18b81e6
GM
3426 * paths.el (term-file-prefix): Move to faces.el (the only user).
3427 * faces.el (term-file-prefix): Move here, make it a defcustom.
3428
ee2f89a6
GM
3429 * paths.el (news-directory, news-path, news-inews-program):
3430 Move to gnus/nnspool.el.
61a583ca 3431
f8815e4c
GM
3432 * paths.el (gnus-default-nntp-server): Remove (gnus.el defines it).
3433
c8f3b42c
GM
3434 * paths.el (rmail-file-name, rmail-spool-directory): Move from here...
3435 * mail/rmail.el (rmail-file-name, rmail-spool-directory): ... to here.
3436 Make the latter a defcustom, with a delayed initialization.
3437
6df9112c
GM
3438 * paths.el (gnus-nntp-service, gnus-local-organization): Remove.
3439 These were deleted from Gnus itself late 2010.
3440
5dadff36
JB
34412012-05-22 Juanma Barranquero <lekktu@gmail.com>
3442
9e1701c6
JB
3443 * progmodes/which-func.el (which-func-ff-hook):
3444 Check against user-error, not error.
3445
bd7239f5 3446 * emacs-lisp/edebug.el (top): Do not load or set up loading of
5dadff36
JB
3447 cl-specs.el, which no longer exists.
3448
3290526d
GM
34492012-05-22 Glenn Morris <rgm@gnu.org>
3450
3451 * info.el (info-emacs-bug): New command.
3452 * menu-bar.el (menu-bar-help-menu): Add "How to Report a Bug" to Help.
3453 * mail/emacsbug.el (report-emacs-bug): Replace with info-emacs-bug.
3454
ff0c3cfb
GM
34552012-05-21 Glenn Morris <rgm@gnu.org>
3456
3457 * makefile.w32-in (update-subdirs-SH):
3458 * Makefile.in (update-subdirs): Update for moved update-subdirs.
3459
5814f126
SM
34602012-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
3461
a52c0aa0
SM
3462 * hi-lock.el (hi-lock-face-defaults): Move obsolete before definition.
3463
5814f126
SM
3464 * progmodes/compile.el (compilation-error-regexp-alist-alist):
3465 Simplify Maven regexp, and make sure the file can't start with a space
3466 (bug#11517).
3467
b847032c
GM
34682012-05-21 Glenn Morris <rgm@gnu.org>
3469
3470 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
3471 Scrap superfluous subshells.
3472
3858bfe7
SM
34732012-05-19 Stefan Monnier <monnier@iro.umontreal.ca>
3474
3475 * emacs-lisp/bytecomp.el (byte-compile-root-dir): New var.
3476 (byte-compile-warning-prefix, batch-byte-compile-file): Use it.
3477
d14b0029
JB
34782012-05-19 Jay Belanger <jay.p.belanger@gmail.com>
3479
3480 * calc/calc.el (calc-ensure-consistent-units): New variable.
3481
a52c0aa0
SM
3482 * calc/calc-units.el (math-consistent-units-p)
3483 (math-check-unit-consistency): New functions.
3484 (calc-quick-units, calc-convert-units):
3485 Use `math-check-unit-consistency' when `calc-ensure-consistent-units'
3486 is non-nil.
d14b0029
JB
3487 (calc-extract-units): Fix typo.
3488
60c4db3a
SM
34892012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3490
77f3b62e
SM
3491 * vc/vc-bzr.el (vc-bzr-state-heuristic): Save match-data around sha1.
3492
60c4db3a
SM
3493 * textmodes/flyspell.el: Commenting style, plus code simplifications.
3494 (flyspell-default-deplacement-commands): Don't spell check after
3495 repeated window/frame switches (e.g. triggered by mouse-movement).
3496 (flyspell-delay-commands, flyspell-deplacement-commands): Use mapc.
3497 (flyspell-debug-signal-word-checked): Simplify and fit in 80 cols.
3498 (flyspell-casechars-cache, flyspell-ispell-casechars-cache)
3499 (flyspell-not-casechars-cache, flyspell-ispell-not-casechars-cache):
3500 Remove unused vars.
3501 (flyspell-get-casechars, flyspell-get-not-casechars):
3502 Simplify; Don't bother removing a ] just to add it back.
3503 * textmodes/ispell.el (ispell-program-name): Use executable-find.
3504
d209e2fb 35052012-05-18 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
b1a10716
RS
3506
3507 * calc/calc-lang.el (math-C-parse-bess, math-C-parse-fma):
3508 New functions.
bd7239f5 3509 (math-function-table): Add support for more C functions.
b1a10716 3510
3f1b25b5
AM
35112012-05-18 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3512
090bd7cb
JB
3513 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3514 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3515 Protect delay handling for otherchars against empty otherchars.
3f1b25b5 3516
b581bb5c
SM
35172012-05-18 Stefan Monnier <monnier@iro.umontreal.ca>
3518
3519 * emacs-lisp/lisp-mode.el (doc-string-elt): Move those properties to
3520 their respective macro declarations.
3521 * skeleton.el (define-skeleton):
3522 * progmodes/compile.el (define-compilation-mode):
3523 * ibuf-macs.el (define-ibuffer-sorter, define-ibuffer-op)
3524 (define-ibuffer-filter):
3525 * emacs-lisp/generic.el (define-generic-mode):
3526 * emacs-lisp/easy-mmode.el (define-minor-mode)
3527 (define-globalized-minor-mode):
3528 * emacs-lisp/cl-macs.el (defun*, defmacro*, defstruct, deftype):
3529 * emacs-lisp/byte-run.el (defsubst):
3530 * custom.el (deftheme): Add doc-string metadata.
3531
70b8ef8f
SM
35322012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3533
3534 * emacs-lisp/cl-macs.el, emacs-lisp/cl.el: Move indent info.
3535
b1198e17
SM
35362012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3537
9abdc45d
SM
3538 * emacs-lisp/pcase.el (pcase--u1): Avoid ((lambda ...) ...).
3539
b1198e17
SM
3540 * emacs-lisp/cl.el: Add edebug specs from cl-specs.el.
3541 * emacs-lisp/cl-macs.el: Idem.
3542 * emacs-lisp/cl-specs.el: Remove.
3543
4735906a
SM
35442012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3545
3546 Minor renaming of internal CL functions and variables.
3547 * emacs-lisp/cl-seq.el (cl--adjoin): Rename from cl-adjoin.
3548 (cl--position): Rename from cl-position.
3549 (cl--delete-duplicates): Rename from cl-delete-duplicates.
3550 * emacs-lisp/cl.el (cl--gensym-counter): Rename from *gensym-counter*.
3551 (cl--random-state): Rename from *random-state*.
3552
ac348012
SM
35532012-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
3554
3555 * emacs-lisp/cl-macs.el (cl-transform-lambda): Don't add spurious
3556 parens around the arg list (bug#11499).
3557
a0a79cde
JL
35582012-05-17 Juri Linkov <juri@jurta.org>
3559
3560 * isearch.el (word-search-regexp, word-search-backward)
3561 (word-search-forward, word-search-backward-lax)
3562 (word-search-forward-lax): Move functions from search.c
3563 (bug#10145, bug#11381).
3564
65034a51
AM
35652012-05-16 Agustín Martín Domingo <agustin.martin@hispalinux.es>
3566
090bd7cb
JB
3567 * textmodes/flyspell.el (flyspell-check-pre-word-p)
3568 (flyspell-check-word-p, flyspell-debug-signal-word-checked):
3569 Delay for otherchars as for normal word components.
65034a51 3570
1a72a195
SM
35712012-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
3572
3573 * minibuffer.el (completion--sifn-requote): Fix last change.
3574 (minibuffer-local-must-match-filename-map):
3575 Move define-obsolete-variable-alias before its var.
3576
fdb058c2
SM
35772012-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
3578
c41045e6
SM
3579 * emacs-lisp/pcase.el (pcase-let*, pcase-let): Fix edebug spec.
3580
036dfb8b
SM
3581 * minibuffer.el (completion--sifn-requote): Handle sifn's truncation
3582 behavior.
3583 (completion--string-equal-p): New function.
3584 (completion--twq-all): Use it to get better assertion failure data.
3585
2473256d
SM
3586 Only handle ".." and '..' quoting in shell-mode (bug#11466).
3587 * shell.el (shell--unquote&requote-argument, shell--unquote-argument)
3588 (shell--requote-argument): New functions.
3589 (shell-completion-vars): Use them.
3590 (shell--parse-pcomplete-arguments): Rename from
3591 shell-parse-pcomplete-arguments.
3592 * comint.el (comint-word): Obey comint-file-name-quote-list. Simplify.
3593 (comint--unquote&requote-argument): Don't handle ".." and '..' quoting.
3594 Obey comint-file-name-quote-list.
3595
fdb058c2
SM
3596 * emacs-lisp/smie.el (smie-indent--bolp-1): New function.
3597 (smie-indent-keyword): Use it.
3598
51fa99f1
SM
35992012-05-14 Stefan Merten <smerten@oekonux.de>
3600
3601 * textmodes/rst.el (rst-re-alist): Fix loading (bug#11462).
3602
e18afed7 36032012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
d9d1dfef
SM
3604
3605 * net/rlogin.el (rlogin-mode-map): Fix last change.
3606
e18afed7 36072012-05-14 Jason L. Wright <jason.wright@inl.gov> (tiny change)
8633b1f4
JW
3608
3609 * mail/smtpmail.el (smtpmail-send-command): Send the command and
3610 the following \r\n using a single `process-send-string', since the
3611 Lotus SMTP server refuses to accept any commands if they are sent
e18afed7 3612 with two `process-send-string's (Bug#11444).
8633b1f4 3613
e18afed7 36142012-05-14 Stefan Monnier <monnier@iro.umontreal.ca>
fe263b8f 3615
fdb058c2
SM
3616 * shell.el (shell-parse-pcomplete-arguments):
3617 Obey pcomplete-arg-quote-list inside double-quoted args (Bug#11348).
e18afed7 3618
2d21d7f6
WJ
36192012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3620
e18afed7 3621 * image-mode.el: Fit to width/height for rotated images (Bug#11431).
2d21d7f6
WJ
3622 (image-transform-scale, image-transform-right-angle-fudge): New vars.
3623 (image-transform-width, image-transform-fit-width): New functions.
3624 (image-transform-properties): Use them.
3625 (image-transform-check-size): New function.
3626 (image-toggle-display-image): Use it (for testing).
3627 (image-transform-set-rotation): Reduce angle mod 360.
3628 Delete obsolete comment.
3629
7102e6d0
WJ
36302012-05-14 Wolfgang Jenkner <wjenkner@inode.at>
3631
3632 * image-mode.el: Fix scaling (bug#11399).
3633 (image-transform-resize): Doc fix.
3634 (image-transform-properties): Default scale is 1 and height should
3635 be an integer.
3636
06bc5e6e
SM
36372012-05-13 Johan Bockgård <bojohan@gnu.org>
3638
3639 * emacs-lisp/smie.el (smie-next-sexp): Use accessor `op-forw' rather
3640 than hard-coding `car', to fix misbehavior when moving forward.
3641
0ae03b6a
CY
36422012-05-13 Chong Yidong <cyd@gnu.org>
3643
3644 * emacs-lisp/tabulated-list.el (tabulated-list-format)
3645 (tabulated-list-entries, tabulated-list-padding)
3646 (tabulated-list-sort-key): Make permanent-local.
3647
3648 * ebuff-menu.el: Adapt to Buffer Menu changes (Bug#11455).
3649 (electric-buffer-list): Put electric buffer menu
3650 command descriptions in this docstring, instead of the docstring
3651 of electric-buffer-menu-mode. Code cleanups.
3652 (electric-buffer-menu-mode): Use define-derived-mode. Rename from
3653 Electric-buffer-menu-mode.
3654 (electric-buffer-update-highlight): Minor code cleanup.
3655
205a7391
MA
36562012-05-13 Michael Albinus <michael.albinus@gmx.de>
3657
3658 * net/dbus.el (dbus-call-method): Restore events not from D-Bus.
3659 (Bug#11447)
3660
e5bd0a28
SM
36612012-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
3662
3663 Move define-obsolete-variable-alias before the var's definition.
3664 * vc/log-edit.el (vc-comment-ring, vc-comment-ring-index):
3665 * tooltip.el (tooltip-hook):
3666 * textmodes/reftex-toc.el (reftex-toc-map):
3667 * textmodes/reftex-sel.el (reftex-select-label-map)
3668 (reftex-select-bib-map):
3669 * textmodes/reftex-index.el (reftex-index-map)
3670 (reftex-index-phrases-map):
3671 * speedbar.el (speedbar-syntax-table, speedbar-key-map):
3672 * progmodes/meta-mode.el (meta-mode-map):
3673 * novice.el (disabled-command-hook):
3674 * loadhist.el (unload-hook-features-list):
3675 * frame.el (blink-cursor):
3676 * files.el (find-file-not-found-hooks, write-file-hooks)
3677 (write-contents-hooks):
3678 * emulation/tpu-edt.el (GOLD-map):
3679 * emacs-lock.el (emacs-lock-from-exiting):
3680 * emacs-lisp/generic.el (generic-font-lock-defaults):
3681 * emacs-lisp/chart.el (chart-map):
3682 * dos-fns.el (register-name-alist):
3683 * dired-x.el (dired-omit-files-p):
3684 * desktop.el (desktop-enable):
3685 * cus-edit.el (custom-mode-hook):
3686 * buff-menu.el (buffer-menu-mode-hook):
3687 * bookmark.el (bookmark-read-annotation-text-func)
3688 (bookmark-exit-hooks):
3689 * allout.el (allout-mode-deactivate-hook)
3690 (allout-exposure-change-hook, allout-structure-added-hook)
3691 (allout-structure-deleted-hook, allout-structure-shifted-hook):
3692 * dirtrack.el (dirtrack-toggle, dirtrackp, dirtrack-debug-toggle)
3693 (dirtrack-debug): Move call to define-obsolete-variable-alias so it
3694 comes before the corresponding variable's definition.
3695
ac59c2f6
CY
36962012-05-12 Chong Yidong <cyd@gnu.org>
3697
3698 * buff-menu.el (Buffer-menu-buffer+size-width): Doc fix (Bug#11454).
0d909786
CY
3699 (Buffer-menu-mouse-select): Restore function (Bug#11459).
3700 (Buffer-menu-mode-map): Bind it.
3701 (Buffer-menu--pretty-name): Add a mouse-face property.
ac59c2f6 3702
dee6c9a3
SM
37032012-05-11 Stefan Monnier <monnier@iro.umontreal.ca>
3704
2171cea5
SM
3705 * progmodes/prolog.el: Use SMIE. Cleanup regexp setup.
3706 (prolog-upper-case-string, prolog-lower-case-string)
3707 (prolog-atom-char-regexp, prolog-atom-regexp): Initialize in defconst.
3708 (prolog-use-smie, prolog-smie-grammar): New vars.
3709 (prolog-smie-forward-token, prolog-smie-backward-token)
3710 (prolog-smie-rules): New funs.
3711 (prolog-comment-indent): Remove.
3712 (prolog-mode-variables): Use default comment indentation instead.
3713 Setup SMIE.
3714 (prolog-build-case-strings, prolog-set-atom-regexps): Remove.
3715 (prolog-mode): Don't call them any more.
3716 (prolog-electric-colon, prolog-electric-dash)
3717 (prolog-edit-menu-insert-move): Use indent-according-to-mode.
3718
aa0382bd
SM
3719 * dabbrev.el (dabbrev-expand): Make "no expansion found" a user-error.
3720
dbacb4bd
SM
3721 * minibuffer.el (completion--twq-all): Again, allow case differences.
3722
13bdd94c
SM
3723 * term.el: Move keymap initialization code to be more idiomatic.
3724 (term-signals-menu, term-mode-map, term-raw-map, term-raw-escape-map)
3725 (term-terminal-menu): Move initialization into declaration.
3726 (term-escape-char): Let the user set it in her .emacs.
3727
ff46c759
SM
3728 * progmodes/sh-script.el: Use post-self-insert-hook&electric-pair-mode.
3729 Provide SMIE-based indentation (not enabled by default yet).
3730 (sh-mode-map): Don't bind electric keys.
3731 Use electric-pair-mode instead of skeleton-pair.
3732 (sh-assignment-regexp): Fit within 80 columns.
3733 (sh-indent-supported): Specify actual shell name instead of boolean.
3734 (sh--maybe-here-document): New fun, from sh-maybe-here-document.
3735 (sh-maybe-here-document): Use it. Make obsolete.
3736 (sh-electric-here-document-mode) New minor mode.
3737 (sh-mode): Use it. Don't set sh-indent-supported-here here.
3738 (sh-smie-sh-grammar, sh-smie--sh-operators, sh-smie--sh-operators-re)
3739 (sh-smie--sh-operators-back-re, sh-indent-after-continuation)
3740 (sh-smie-rc-grammar, sh-use-smie): New vars.
3741 (sh-smie--keyword-p, sh-smie--newline-semi-p, sh-smie--sh-keyword-p)
3742 (sh-smie-sh-forward-token, sh-smie--looking-back-at-continuation-p)
3743 (sh-smie-sh-backward-token, sh-smie--continuation-start-indent)
3744 (sh-smie-sh-rules, sh-smie-rc-rules, sh-smie--sh-keyword-in-p)
3745 (sh-smie--rc-after-special-arg-p, sh-smie-rc-backward-token)
3746 (sh-smie-sh-rules, sh-smie--rc-newline-semi-p): New functions.
3747 (sh-set-shell): Use smie-setup if requested.
3748
dee6c9a3
SM
3749 * term.el (term-set-escape-char): Properly set term-escape-char.
3750 See http://stackoverflow.com/questions/10524656.
3751
9f9aa044
CY
37522012-05-10 Chong Yidong <cyd@gnu.org>
3753
3754 * ffap.el (ffap-url-unwrap-local): Make it work right (Bug#9131).
3755 Use url-generic-parse-url, and handle host names and Windows
3756 filenames properly.
3757 (ffap-url-unwrap-remote): Use url-generic-parse-url.
3758 (ffap-url-unwrap-remote): Accept list values, specifying a list of
3759 URL schemes to work on.
3760 (ffap--toggle-read-only): New function.
3761 (ffap-read-only, ffap-read-only-other-window)
3762 (ffap-read-only-other-frame): Use it.
3763 (ffap-fixup-url): Don't check ffap-ftp-regexp, since it is not
3764 necessary for ffap-url-unwrap-remote.
3765
836d29b3
DA
37662012-05-10 Dave Abrahams <dave@boostpro.com>
3767
3768 * cus-start.el (create-lockfiles): Add it.
3769
00fd78ed
CY
37702012-05-09 Chong Yidong <cyd@gnu.org>
3771
3772 * net/browse-url.el (browse-url-url-encode-chars): Use upper-case.
3773 (browse-url-encode-url): Encode spaces and quotes (Bug#6300).
3774
666b903b 37752012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
1cb51c12
SM
3776
3777 * shell.el (shell-completion-vars): Fix last change (bug#11348).
3778
666b903b 37792012-05-09 Chong Yidong <cyd@gnu.org>
18f00515
CY
3780
3781 * ansi-color.el (ansi-color-process-output): Check for validity of
3782 comint-last-output-start before using it. This avoids a bad
3783 interaction with gdb-mi's input/output buffer.
3784
666b903b 37852012-05-09 Glenn Morris <rgm@gnu.org>
fd075e7b
GM
3786
3787 * files.el (dir-locals-read-from-file):
3788 Mention dir-locals in any error message.
3789
666b903b 37902012-05-09 Chong Yidong <cyd@gnu.org>
25f292cd
CY
3791
3792 * emacs-lisp/package.el (package-built-in-p): Handle the `emacs'
3793 package (Bug#11410).
3794
f677562b
CY
3795 * emacs-lisp/package.el (package-buffer-info): Avoid putting local
3796 variables into description.
3797
666b903b 37982012-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
3d53ee1b
SM
3799
3800 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list like
3801 shell-delimiter-argument-list (bug#11348).
3802 (shell-parse-pcomplete-arguments): Obey pcomplete-arg-quote-list.
3803
b499d8d0
JB
38042012-05-09 Juanma Barranquero <lekktu@gmail.com>
3805
8f6b6da8
JB
3806 * textmodes/rst.el: Silence byte-compiler warnings.
3807 (rst-re-alist, rst-reset-section-caches): Move around.
3808 (rst-re): Use `characterp', not `char-valid-p'.
3809 (font-lock-beg, font-lock-end): Declare.
3810
4824146a
JB
3811 * progmodes/idlw-shell.el (specs): Remove reference to deleted
3812 variable `idlwave-shell-activate-alt-keybindings' and simplify.
3813
b499d8d0
JB
3814 * eshell/esh-cmd.el (eshell-debug-command): Fix typo in previous change.
3815
ad89bb83
GM
38162012-05-08 Glenn Morris <rgm@gnu.org>
3817
3818 * files.el (auto-mode-alist): Treat ".make" like ".mk".
3819
8bba5a75
SM
38202012-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
3821
49ed9c8e
SM
3822 * vc/log-edit.el: Add GNU coding standards highlighting.
3823 (log-edit-font-lock-gnu-style)
3824 (log-edit-font-lock-gnu-keywords): New vars.
3825 (log-edit-font-lock-keywords): New fun.
3826 (log-edit-mode): Don't fold case in font-lock.
3827 (log-edit-font-lock-keywords): Do not assume case-folding.
3828
07d00b56
SM
3829 * imenu.el: Misc cleanup. Make docstrings out of comments.
3830 Use lexical-binding.
3831 (imenu--index-alist, imenu--last-menubar-index-alist)
3832 (imenu-menubar-modified-tick): Use defvar-local.
3833 (imenu--split-menu): Remove unused var.
3834 (imenu--cleanup-seen): Declare as global.
3835 (imenu--cleanup): Use dolist.
3836
8bba5a75
SM
3837 * subr.el (defvar-local): Add debug spec and doc-string position.
3838
5075bdb5
GM
38392012-05-08 Glenn Morris <rgm@gnu.org>
3840
090bd7cb 3841 * language/burmese.el, language/cham.el, language/czech.el:
c052c904
GM
3842 * language/english.el, language/georgian.el, language/greek.el:
3843 * language/japanese.el, language/khmer.el, language/korean.el:
3844 * language/lao.el, language/misc-lang.el, language/romanian.el:
3845 * language/sinhala.el, language/slovak.el, language/tai-viet.el:
3846 * language/thai.el, language/utf-8-lang.el:
3847 Remove no-byte-compile setting.
3848
5075bdb5
GM
3849 * play/zone.el (zone-pgm-stress): Don't pollute kill-ring. (Bug#11388)
3850
06f679a7
AH
38512012-05-08 Aaron S. Hawley <aaron.s.hawley@gmail.com>
3852
3853 * progmodes/make-mode.el (makefile-browse):
3854 Remove unnecessary interactive. (Bug#11324)
3855
03794570
GM
38562012-05-07 Glenn Morris <rgm@gnu.org>
3857
af8630f4
GM
3858 * forms-d2.el, forms-pass.el: Move to ../etc/forms directory.
3859
03794570
GM
3860 * international/mule.el (find-auto-coding): Make "unibyte: t" obsolete.
3861
f0809a9d
SM
38622012-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
3863
28be5ce7
SM
3864 * loadup.el: Preload newcomment.el.
3865 * newcomment.el: Move autoload-only code to toplevel.
3866
f0809a9d
SM
3867 * buff-menu.el (list-buffers--refresh): Mark `size' as right-align.
3868 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
3869 Handle new :right-align column property.
3870 (tabulated-list-print-col): Idem, plus use `display' text-property to
3871 try and preserve alignment for variable pitch fonts.
3872
1241b724
CY
38732012-05-07 Chong Yidong <cyd@gnu.org>
3874
3875 * emacs-lisp/tabulated-list.el: Add no-header-line alternative.
3876 (tabulated-list-use-header-line): New var.
3877 (tabulated-list-init-header): Use it.
3878 (tabulated-list-print-fake-header): New function.
3879 (tabulated-list-print): Use it.
3880 (tabulated-list-sort-button-map): Add non-header-line commands.
3881 (tabulated-list-init-header): Add column name property to basic
3882 labels as well.
3883 (tabulated-list-col-sort): Handle non-header-line button case.
3884 (tabulated-list--sort-by-column-name): Fix a corner case.
3885
f0809a9d
SM
3886 * buff-menu.el (list-buffers--refresh):
3887 Handle Buffer-menu-use-header-line.
1241b724 3888
e5f9458f
CY
38892012-05-06 Chong Yidong <cyd@gnu.org>
3890
3891 * buff-menu.el: Convert to Tabulated List mode.
3892 (Buffer-menu-buffer+size-width): Make obsolete.
3893 (Buffer-menu-name-width, Buffer-menu-size-width): New variables.
3894 (Buffer-menu-mode-map): Inherit from tabulated-list-mode-map.
3895 (Buffer-menu-mode): Derive from tabulated-list-mode. Move command
3896 documentation into docstring of buffer-menu.
3897 (Buffer-menu-toggle-files-only): Add an informative message.
3898 (Buffer-menu-sort): Convert to alias for tabulated-list-sort.
3899 (Buffer-menu-buffer, Buffer-menu-beginning, Buffer-menu-mark)
3900 (Buffer-menu-unmark, Buffer-menu-backup-unmark)
3901 (Buffer-menu-delete, Buffer-menu-save, Buffer-menu-not-modified)
3902 (Buffer-menu-execute, Buffer-menu-select)
3903 (Buffer-menu-marked-buffers, Buffer-menu-toggle-read-only)
3904 (Buffer-menu-bury): Use Tabulated List machinery.
3905 (Buffer-menu-mouse-select, Buffer-menu-sort-by-column)
3906 (Buffer-menu-sort-button-map, Buffer-menu-make-sort-button):
f0809a9d 3907 Delete.
e5f9458f
CY
3908 (list-buffers--refresh): New function.
3909 (list-buffers-noselect): Use it.
3910 (tabulated-list-entry-size->, Buffer-menu--pretty-name)
3911 (Buffer-menu--pretty-file-name): New helper functions.
3912
3913 * loadup.el: Preload tabulated-list.
3914
3915 * emacs-lisp/tabulated-list.el (tabulated-list-sort): Rename from
3916 tabulated-list-sort-column.
3917 (tabulated-list-init-header): Add the initial aligning space even
3918 if tabulated-list-padding is zero.
3919
e129292c
CS
39202012-05-06 Christopher Schmidt <christopher@ch.ristopher.com>
3921
3922 * emacs-lisp/cl-macs.el (cl-expr-contains): Handle cons cells
3923 whose cdr is not a cons cell correctly (bug#11038).
3924
6632d361
CY
39252012-05-06 Chong Yidong <cyd@gnu.org>
3926
e129292c
CS
3927 * emacs-lisp/tabulated-list.el (tabulated-list-format):
3928 Accept additional plist in column descriptors.
6632d361
CY
3929 (tabulated-list-init-header): Obey it.
3930 (tabulated-list-get-entry): New function.
3931 (tabulated-list-put-tag): Use it. Use string-width instead of
3932 length.
3933 (tabulated-list--column-number): New function.
3934 (tabulated-list-print): Use it.
e129292c
CS
3935 (tabulated-list-print-col): New function.
3936 Set `tabulated-list-column-name' property on each column's text.
6632d361 3937 (tabulated-list-print-entry): Use it.
e129292c
CS
3938 (tabulated-list-delete-entry, tabulated-list-set-col):
3939 New functions.
6632d361
CY
3940 (tabulated-list-sort-column): New command (Bug#11337).
3941
3cc99f68
CY
3942 * buff-menu.el (list-buffers): Move C-x C-b binding from
3943 buff-menu.el to bindings.el.
3944
3945 * ebuff-menu.el (Electric-buffer-menu-undefined): Use the
3946 :advertised-binding feature.
3947
52b61776
TN
39482012-05-06 Troels Nielsen <bn.troels@gmail.com> (tiny change)
3949
3950 * progmodes/compile.el (compilation-internal-error-properties):
3951 Calculate start position correctly when end-col is set but
3952 end-line is not (Bug#11382).
3953
ebfe2597
WJ
39542012-05-06 Wolfgang Jenkner <wjenkner@inode.at>
3955
3956 * man.el (Man-unindent): Use text-property-default-nonsticky to
3957 prevent untabify from inheriting face properties (Bug#11408).
3958
6d3f7c2f
SM
39592012-05-05 Stefan Merten <smerten@oekonux.de>
3960
3961 * textmodes/rst.el: Major merge with upstream development up to
3962 Docutils SVN r7399 / rst.el V1.2.1.
3963
3964 Clarify maintainership and authors.
3965
3966 (rst-extract-version, rst-cvs-header, rst-cvs-rev)
3967 (rst-cvs-timestamp, rst-svn-rev, rst-svn-timestamp)
3968 (rst-official-version, rst-official-cvs-rev, rst-version)
3969 (rst-package-emacs-version-alist): New functions and variables
3970 for version information.
3971
3972 (rst-bullets, rst-uri-schemes, rst-adornment-chars)
3973 (rst-max-inline-length, rst-re-alist-def, rst-re-alist)
3974 (rst-mode-syntax-table, rst-mode): New and corrected functions
3975 and variables representing reStructuredText features.
3976
3977 (rst-re): New function for reStructuredText regexes. Use in
3978 many places.
3979
3980 (rst-deprecated-keys, rst-call-deprecated, rst-define-key)
3981 (rst-mode-map): Rebind keys.
3982
3983 (rst-mode-lazy, rst-font-lock-keywords)
3984 (rst-font-lock-extend-region)
3985 (rst-font-lock-extend-region-internal)
3986 (rst-font-lock-extend-region-extend)
3987 (rst-font-lock-find-unindented-line-limit)
3988 (rst-font-lock-find-unindented-line-match)
3989 (rst-adornment-level, rst-font-lock-adornment-level)
3990 (rst-font-lock-adornment-match)
3991 (rst-font-lock-handle-adornment-pre-match-form)
3992 (rst-font-lock-handle-adornment-matcher): Major revision of
3993 font-locking. Integrate with other code. Use `jit-lock-mode'.
3994
3995 (rst-preferred-adornments, rst-adjust-hook)
3996 (rst-new-adornment-down, rst-preferred-bullets)
3997 (rst-preferred-bullets, rst-indent, rst-indent-width)
3998 (rst-indent-field, rst-indent-literal-normal)
3999 (rst-indent-literal-minimized, rst-indent-comment): Change,
4000 extend and improve customization.
4001
4002 (rst-line-homogeneous-p, rst-line-homogeneous-nodent-p)
4003 (rst-normalize-cursor-position, rst-get-decoration)
4004 (rst-straighten-deco-spacing, rst-re-bullets, rst-re-items)
4005 (rst-rstrip, rst-toc-insert-find-delete-contents)
4006 (rst-shift-fill-region, rst-compute-bullet-tabs)
4007 (rst-debug-print-tabs, rst-debug-mark-found)
4008 (rst-shift-region-guts, rst-shift-region-right)
4009 (rst-shift-region-left, rst-use-char-classes)
4010 (rst-font-lock-keywords-function)
4011 (rst-font-lock-indentation-point)
4012 (rst-font-lock-find-unindented-line-begin)
4013 (rst-font-lock-find-unindented-line-end)
4014 (rst-font-lock-find-unindented-line)
4015 (rst-font-lock-adornment-point, rst-font-lock-level)
4016 (rst-adornment-level-alist): Remove functions and variables.
4017
4018 (rst-compare-adornments, rst-get-adornment-match)
4019 (rst-suggest-new-adornment, rst-get-adornments-around)
4020 (rst-adornment-complete-p, rst-get-next-adornment)
4021 (rst-adjust-adornment, rst-display-adornments-hierarchy)
4022 (rst-straighten-adornments): Standardize function names to
4023 use "adornment" instead of "decoration". Correct callers.
4024 Similar standardizing in many places.
4025
4026 (rst-update-section, rst-adjust, rst-promote-region)
4027 (rst-enumerate-region, rst-bullet-list-region)
4028 (rst-repeat-last-character): Correct use of `interactive'.
4029
4030 (rst-classify-adornment, rst-find-all-adornments)
4031 (rst-get-hierarchy, rst-adjust-adornment, rst-toc-update)
4032 (rst-find-leftmost-column, rst-repeat-last-character):
4033 Refactor functions.
4034
4035 (rst-find-title-line, rst-reset-section-caches)
4036 (rst-get-adornments-around, rst-adjust-adornment-work)
4037 (rst-arabic-to-roman, rst-roman-to-arabic)
4038 (rst-insert-list-pos, rst-insert-list-new-item)
4039 (rst-insert-list-continue, rst-insert-list, rst-forward-line):
4040 New functions.
4041
4042 (rst-all-sections, rst-section-hierarchy)
4043 (rst-arabic-to-roman, rst-initial-enums, rst-initial-items):
4044 New variables.
4045
4046 (rst-toc-return-wincfg, rst-toc-quit-window): Use window
4047 configuration instead of only buffer. Change where necessary.
4048
4049 (rst-line-tabs, rst-compute-tabs, rst-indent-line)
4050 (rst-shift-region, rst-adaptive-fill): New functions for
4051 indentation and filling.
4052
4053 (rst-comment-line-break, rst-comment-indent)
4054 (rst-comment-insert-comment, rst-comment-region)
4055 (rst-uncomment-region): New functions for handling comments.
4056
4057 (rst-compile): Quote shell arguments.
4058
4059 (rst-compile-pdf-preview, rst-compile-slides-preview):
4060 Delete temporary files after use.
4061
a43f98b3
GM
40622012-05-05 Glenn Morris <rgm@gnu.org>
4063
48176e8b
GM
4064 * calendar/cal-html.el: Optionally include holidays in the output.
4065 Suggested by Ed Reingold <reingold@emr.cs.iit.edu>.
4066 (cal-html-holidays): New option.
4067 (cal-html-css-default): Add holiday entry.
4068 (holiday-in-range): Autoload it.
4069 (cal-html-htmlify-entry): Add optional class argument.
4070 (cal-html-htmlify-list): Add optional holidays argument.
4071 (cal-html-insert-agenda-days): Include holidays in the output.
4072 (cal-html-one-month): Maybe include holidays.
4073
a43f98b3
GM
4074 * calendar/holidays.el (holiday-in-range):
4075 Move here from cal-tex-list-holidays.
4076 * calendar/cal-tex.el (cal-tex-list-holidays):
4077 Make it an obsolete alias for holiday-in-range. Update all callers.
4078
fef9d149 40792012-05-05 Chong Yidong <cyd@gnu.org>
eceeb5fc
CY
4080
4081 * select.el (xselect--encode-string): Always use utf-8 for TEXT on
4082 Nextstep.
4083
248da2f4
RW
40842012-05-05 Ransom Williams <auvergnerw@gmail.com> (tiny change)
4085
4086 * files.el (file-auto-mode-skip): New var.
4087 (set-auto-mode-1): Use it.
4088
f95e9344
SM
40892012-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
4090
df96ab1e
SM
4091 * repeat.el: Use lexical-binding.
4092 (repeat-last-self-insert, repeat-num-input-keys-at-self-insert)
4093 (repeat-undo-count): Remove.
4094 (repeat):
4095 * progmodes/octave-mod.el (octave-abbrev-start):
4096 * progmodes/f90.el (f90-abbrev-start):
4097 * face-remap.el (text-scale-adjust):
4098 * kmacro.el (kmacro-call-macro): Use set-temporary-overlay-map.
4099
5342bb06
SM
4100 * emacs-lisp/pcase.el (pcase--let*): New function.
4101 (pcase--expand, pcase-codegen, pcase--q1): Use it to reduce nesting
4102 a bit more.
4103 (pcase--split-pred): Be more clever about ruling out overlap between
4104 a predicate and some constant pattern.
4105 (pcase--q1): Use `null' instead of (eq foo nil).
4106
f95e9344
SM
4107 * subr.el (setq-local, defvar-local): New macros.
4108 (kbd): Redefine as an alias.
4109 (with-selected-window): Leave unrelated frames alone.
4110 (set-temporary-overlay-map): New function.
4111
71873e2b
SM
41122012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4113
4114 * subr.el (user-error): New function.
4115 * window.el (switch-to-buffer):
4116 * vc/smerge-mode.el (smerge-resolve-function, smerge-resolve)
4117 (smerge-match-conflict):
4118 * simple.el (previous-matching-history-element)
4119 (next-matching-history-element, goto-history-element, undo-more)
4120 (undo-start):
4121 * progmodes/etags.el (visit-tags-table-buffer, find-tag-tag)
4122 (find-tag-noselect, find-tag-in-order, etags-goto-tag-location)
4123 (next-file, tags-loop-scan, list-tags, complete-tag):
4124 * progmodes/compile.el (compilation-loop):
4125 * mouse.el (mouse-minibuffer-check):
4126 * man.el (Man-bgproc-sentinel, Man-goto-page):
4127 * info.el (Info-find-node-2, Info-extract-pointer, Info-history-back)
4128 (Info-history-forward, Info-follow-reference, Info-menu)
4129 (Info-extract-menu-item, Info-extract-menu-counting)
4130 (Info-forward-node, Info-backward-node, Info-next-menu-item)
4131 (Info-last-menu-item, Info-next-preorder, Info-last-preorder)
4132 (Info-next-reference, Info-prev-reference, Info-index)
4133 (Info-index-next, Info-follow-nearest-node)
4134 (Info-copy-current-node-name):
4135 * imenu.el (imenu--make-index-alist)
4136 (imenu-default-create-index-function, imenu-add-to-menubar):
4137 * files.el (basic-save-buffer, recover-file):
4138 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
4139 * emacs-lisp/checkdoc.el (checkdoc-continue, checkdoc-comments)
4140 (checkdoc-message-text, checkdoc-defun):
4141 * dabbrev.el (dabbrev-completion, dabbrev--abbrev-at-point):
4142 * cus-edit.el (customize-changed-options, customize-rogue)
4143 (customize-saved, custom-variable-set, custom-variable-mark-to-save)
4144 (custom-variable-mark-to-reset-standard)
4145 (custom-variable-reset-backup, custom-face-mark-to-reset-standard)
4146 (custom-file):
4147 * completion.el (check-completion-length):
4148 * comint.el (comint-search-arg)
4149 (comint-previous-matching-input-string-position)
4150 (comint-previous-matching-input)
4151 (comint-replace-by-expanded-history-before-point, comint-send-input)
4152 (comint-copy-old-input, comint-backward-matching-input)
4153 (comint-goto-process-mark, comint-set-process-mark):
4154 * calendar/calendar.el (calendar-cursor-to-date): Use it.
4155 * bindings.el (debug-ignored-errors): Remove regexps, add `user-error'.
4156
8a61ee22
SM
41572012-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
4158
66408d1e
SM
4159 * dabbrev.el (dabbrev--ignore-case-p): New function.
4160 (dabbrev-completion, dabbrev-expand, dabbrev--substitute-expansion):
4161 Use it.
4162
8a61ee22
SM
4163 * files.el (automount-dir-prefix): Mark as obsolete.
4164
3c74813a
GM
41652012-05-04 Glenn Morris <rgm@gnu.org>
4166
4167 * patcomp.el, play/bruce.el: Move to obsolete/.
4168
0bfcf5c5
PE
41692012-05-04 Paul Eggert <eggert@cs.ucla.edu>
4170
4171 Fix minor Y10k bugs.
4172 * arc-mode.el (archive-unixdate):
4173 * autoinsert.el (auto-insert-alist):
4174 * calc/calc-forms.el (math-this-year):
4175 * emacs-lisp/copyright.el (copyright-current-year)
4176 (copyright-update-year, copyright):
4177 * tar-mode.el (tar-clip-time-string):
4178 * time.el (display-time-update):
4179 Don't assume years have 4 digits.
4180
78f3273a
CY
41812012-05-04 Chong Yidong <cyd@gnu.org>
4182
4183 * dos-w32.el (file-name-buffer-file-type-alist)
4184 (direct-print-region-use-command-dot-com):
4185 * ffap.el (ffap-menu-regexp):
4186 * find-file.el (ff-special-constructs):
4187 * follow.el (follow-debug):
4188 * forms.el (forms--debug):
4189 * iswitchb.el (iswitchb-all-frames):
4190 * ido.el (ido-all-frames):
4191 * emacs-lisp/timer.el (timer-max-repeats):
4192 * mail/feedmail.el (feedmail-mail-send-hook)
4193 (feedmail-mail-send-hook-queued):
4194 * mail/footnote.el (footnote-signature-separator):
4195 * mail/mailabbrev.el (mail-alias-separator-string)
4196 (mail-abbrev-mode-regexp):
4197 * mail/rmail.el (rmail-speedbar-match-folder-regexp):
4198 * progmodes/idlwave.el (idlwave-libinfo-file)
4199 (idlwave-default-completion-case-is-down)
4200 (idlwave-library-routines): Convert defvars to defcustoms.
4201
4202 * mail/rmail.el (rmail-decode-mime-charset):
4203 * progmodes/idlw-shell.el (idlwave-shell-print-expression-function)
4204 (idlwave-shell-fix-inserted-breaks)
4205 (idlwave-shell-activate-alt-keybindings)
4206 (idlwave-shell-use-breakpoint-glyph):
4207 * facemenu.el (facemenu-unlisted-faces): Delete obsolete vars.
4208
f7ae6719
SM
42092012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4210
4211 * minibuffer.el (completion--twq-all): Beware completion-ignore-case.
4212
47086495
WS
42132012-05-03 Wilson Snyder <wsnyder@wsnyder.org>
4214
4215 * progmodes/verilog-mode.el (font-lock-keywords):
4216 Fix mis-highligting auto. Reported by Craig Barner.
4217 (verilog-auto, verilog-auto-undef): Add AUTOUNDEF to remove
4218 defines from global name space. Reported by Dan Dever.
4219 (verilog-auto-reset, verilog-auto-reset-widths)
4220 (verilog-auto-tieoff): Support using unbased numbers for
4221 AUTORESET and AUTOTIEOFF.
4222 (verilog-submit-bug-report): Update variable list.
4223 (verilog-read-auto-params): Fix AUTOINPUT regexps containing
4224 parenthesis from not matching. Reported by Michael Rytting.
4225 (verilog-auto-template-lint): Fix hash error when linting modules
4226 with no used templates.
4227 (verilog-warn, verilog-warn-error)
4228 (verilog-warn-fatal): When non-interactive report multiple
4229 warnings before exiting. Suggested by Brad Dobbie.
4230 (verilog-auto-template-lint, verilog-auto-template-warn-unused)
4231 (verilog-read-auto-template): Add `verilog-auto-template-warn-unused'
4232 to report unused template errors. Reported by Brad Dobbie.
4233 (verilog-read-decls): Fix AUTOWIRE etc on supply0, supply1 type
4234 nets, bug438. Reported by Vns Blore.
4235 (verilog-auto-inout-module, verilog-auto-reg)
4236 (verilog-read-decls, verilog-read-sub-decls-sig)
4237 (verilog-signals-edit-wire-reg, verilog-signals-with):
4238 Fix passing of Verilog data types in ANSI input/output ports
4239 such as "output logic" into the AUTOs. Special case "wire" and
4240 "reg" for backwards compatibility presuming Verilog 2001.
4241 (verilog-auto-ascii-enum): Add "auto enum" as alias.
4242 (verilog-preprocess): Fix replication of preprocess output.
4243 Reported by Brad Dobbie.
4244 (verilog-auto-inst-interfaced-ports):
4245 Create verilog-auto-inst-interfaced-ports, bug429.
4246 Reported by Julian Gorfajn.
4247 (verilog-after-save-font-hook)
4248 (verilog-before-save-font-hook): New variable.
4249 (verilog-modi-cache-results, verilog-save-font-mod-hooked)
4250 (verilog-save-font-mods): Wrap disabling fontification, reported
4251 by David Rogoff.
4252 (verilog-do-indent, verilog-pretty-declarations-auto)
4253 (verilog-sk-def-reg): Fix obeying `verilog-auto-lineup', bug305.
4254 Reported by Pierre-David Pfister.
4255 (verilog-set-auto-endcomments): Fix endtask auto comments outside
4256 of class declarations, bug292. Reported by Kevin Heilman.
4257 (verilog-read-decls): Fix 'parameter type' not appearing in
4258 AUTOINSTPARAM, bug340. Reported by Jonathan Greenlaw.
4259 (verilog-auto-logic): Fix when AUTOLOGIC present to properly do
4260 AUTOINPUTs, bug411. Reported by Jonathan Greenlaw.
4261 (verilog-read-auto-lisp): Avoid syntax-ppss warning on AUTOLISP.
4262 Reported by David Kravitz.
4263
42642012-05-03 Michael McNamara <mac@mail.brushroad.com>
4265
4266 * progmodes/verilog-mode.el (verilog-pretty-expr): Don't line up
4267 assignment with tests in ifs and for loops.
4268 (verilog-extended-complete-re, verilog-complete-reg): Change so
4269 that DPI inport functions don't look like fuction declarations.
4270 (verilog-pretty-expr): Don't line up assignment
4271 operations to the test and increment in if and for loops
4272 (verilog-extended-complete-re, verilog-complete-reg): Change so
090bd7cb 4273 that DPI inport functions don't look like fuction declarations.
47086495 4274
2e51d4b5
KH
42752012-05-03 Kenichi Handa <handa@m17n.org>
4276
4277 * mail/rmailmm.el (rmail-show-mime): Catch an error caused by text
c846da43 4278 decoding, and show a warning message without signaling an error
2e51d4b5
KH
4279 (Bug#11282).
4280
2bd785a2
SM
42812012-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
4282
4283 * emacs-lisp/bytecomp.el
4284 (byte-compile-file-form-custom-declare-variable): Compile all elements,
4285 since cconv.el might have introduced :fun-body, internal-make-closure,
4286 and friends for bytecomp to handle (bug#11391).
4287 * custom.el (defcustom): Avoid ((λ ..) ..).
4288
99d27583
SM
42892012-05-02 Stefan Monnier <monnier@iro.umontreal.ca>
4290
4291 * subr.el (read-passwd): Better clean after ourselves (bug#11392).
4292
55a71479
JB
42932012-05-02 Juanma Barranquero <lekktu@gmail.com>
4294
4295 * notifications.el (dbus-debug):
4296 * term/linux.el (gpm-mouse-enable):
4297 * term/screen.el (xterm-register-default-colors): Declare.
4298
7b97c764
CY
42992012-05-02 Chong Yidong <cyd@gnu.org>
4300
2bc356d7
CY
4301 * cus-start.el (gc-cons-percentage, exec-suffixes)
4302 (dos-display-scancodes, dos-hyper-key, dos-super-key)
4303 (dos-keypad-mode, debug-on-signal, vertical-centering-font-regexp)
4304 (make-cursor-line-fully-visible, void-text-area-pointer)
4305 (font-list-limit): Add customization data.
4306
7b97c764
CY
4307 * allout.el (allout-exposure-change-functions)
4308 (allout-structure-added-functions)
4309 (allout-structure-deleted-functions)
4310 (allout-structure-shifted-functions): Rename abnormal hooks from
4311 *-hook, and convert to defcustoms.
5d3385a0
JB
4312 (allout-after-copy-or-kill-hook, allout-post-undo-hook):
4313 Convert to defcustoms.
7b97c764
CY
4314 (allout-mode-hook, allout-mode-deactivate-hook): Doc fix.
4315
4316 * allout-widgets.el: Hook callers changed.
4317
90207a15 43182012-05-02 Eli Zaretskii <eliz@gnu.org>
91af76bf
EZ
4319
4320 * mail/rmail.el (rmail-yank-current-message): Use the encoding of
4321 the yanked message in preference to the default value of
4322 buffer-file-coding-system.
4323
90207a15 43242012-05-02 Martin Rudalics <rudalics@gmx.at>
d9558cad 4325
5d3385a0
JB
4326 * window.el (display-buffer--action-function-custom-type):
4327 Fix entry.
d9558cad 4328
90207a15 43292012-05-02 Alan Mackenzie <acm@muc.de>
09affde0
AM
4330
4331 * progmodes/cc-defs.el (c-version): Update to 5.32.3.
4332
d80ac57b
GM
43332012-05-01 Glenn Morris <rgm@gnu.org>
4334
976f7668
GM
4335 * cus-start.el (suggest-key-bindings): Remove, now it is in Lisp.
4336
beb83b5a
GM
4337 * eshell/esh-cmd.el (eshell-debug-command): Doc fix. Add :set.
4338
d80ac57b
GM
4339 * cus-edit.el (custom-variable-documentation): Simplify with format.
4340
b593d6a9 43412012-05-01 Aaron S. Hawley <aaron.s.hawley@gmail.com>
f1a71c6e 4342 Stefan Monnier <monnier@iro.umontreal.ca>
b593d6a9
AH
4343
4344 * simple.el (suggest-key-bindings, execute-extended-command):
4345 Move from keyboard.c.
4346
782fbf2a
CY
43472012-05-01 Chong Yidong <cyd@gnu.org>
4348
4349 * follow.el: Eliminate advice.
4350 (set-process-filter, process-filter, sit-for): Advice deleted.
4351 (follow-mode-off-hook): Obsolete hook removed.
b593d6a9
AH
4352 (follow-avoid-tail-recenter-p, follow-process-filter-alist):
4353 Vars deleted.
782fbf2a
CY
4354 (follow-auto): Use a :set function.
4355 (follow-mode): Rewritten. Don't advise process filters.
4356 (follow-switch-to-current-buffer-all, follow-scroll-up)
4357 (follow-scroll-down): Assume follow-mode is bound.
4358 (follow-comint-scroll-to-bottom)
4359 (follow-align-compilation-windows): New functions.
4360 (follow--window-sorter): New function.
4361 (follow-all-followers): Use it to explicitly sort windows by their
4362 positions; don't make assumptions about next-window order.
4363 (follow-windows-start-end, follow-delete-other-windows-and-split)
4364 (follow-calc-win-start): Doc fix.
4365 (follow-windows-aligned-p, follow-select-if-visible): Don't call
4366 vertical-motion unnecessarily.
4367 (follow-adjust-window): New function.
4368 (follow-post-command-hook): Use it.
4369 (follow-call-set-process-filter, follow-call-process-filter)
4370 (follow-intercept-process-output, follow-tidy-process-filter-alist)
4371 (follow-stop-intercept-process-output, follow-generic-filter):
4372 Functions deleted.
4373 (follow-scroll-bar-toolkit-scroll, follow-scroll-bar-drag)
b593d6a9
AH
4374 (follow-scroll-bar-scroll-up, follow-scroll-bar-scroll-down):
4375 New functions, replacing advice on scroll-bar-* commands.
87233a14 4376 (follow-mwheel-scroll): New function (Bug#4112).
782fbf2a
CY
4377
4378 * comint.el (comint-adjust-point): New function.
b593d6a9
AH
4379 (comint-postoutput-scroll-to-bottom): Use it.
4380 Call follow-comint-scroll-to-bottom for Follow mode buffers.
782fbf2a 4381
290af740
GM
43822012-05-01 Glenn Morris <rgm@gnu.org>
4383
4384 * term/AT386.el, term/apollo.el, term/bobcat.el, term/cygwin.el:
4385 * term/iris-ansi.el, term/linux.el, term/lk201.el, term/news.el:
4386 * term/screen.el, term/vt102.el, term/vt125.el, term/vt200.el:
4387 * term/vt201.el, term/vt220.el, term/vt240.el, term/vt300.el:
4388 * term/vt320.el, term/vt400.el, term/vt420.el, term/wyse50.el:
4389 Remove no-byte-compile setting.
4390
6eac8dc9
SM
43912012-05-01 Stefan Monnier <monnier@iro.umontreal.ca>
4392
4393 * minibuffer.el (completion-table-with-quoting): Fix compatibility
4394 all-completions code to not return a number in the last cdr.
4395
9cc7819c
LL
43962012-04-30 Leo Liu <sdl.web@gmail.com>
4397
4398 * ibuf-ext.el (ibuffer-diff-buffer-with-file-1): Avoid buffer
4399 read-only error.
4400
c93b886f
CY
44012012-04-29 Chong Yidong <cyd@gnu.org>
4402
4403 * follow.el (follow-calc-win-end): Rewrite to handle partial
4404 screen lines correctly (Bug#8390).
4405 (follow-avoid-tail-recenter): Minor cleanup.
4406
8b6c19f4
SM
44072012-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
4408
4409 Avoid the obsolete `assoc' package.
4410 * speedbar.el (speedbar-refresh): Avoid adelete.
4411 (speedbar-file-lists): Simplify and avoid aput.
4412 * man.el (Man--sections, Man--refpages): New vars, replacing
4413 Man-sections-alist and Man-refpages-alist.
4414 (Man-build-section-alist, Man-build-references-alist):
4415 Use them; avoid aput.
4416 (Man--last-section, Man--last-refpage): New vars.
4417 (Man-follow-manual-reference): Use them.
4418 Use the `default' arg of completing-read.
4419 (Man-goto-section): Idem. Move prompt to the `interactive' spec.
4420
c5bb7569
CY
44212012-04-27 Chong Yidong <cyd@gnu.org>
4422
d1d2e2e8
CY
4423 * vc/diff.el (diff-sentinel): Go to bob (Bug#10259).
4424
15cd8efd
CY
4425 * startup.el (x-apply-session-resources): New function.
4426
4427 * term/ns-win.el (ns-initialize-window-system):
4428 * term/w32-win.el (w32-initialize-window-system):
4429 * term/x-win.el (x-initialize-window-system): Use it to properly
4430 set menu-bar-mode and other vars from X resources, even if the
4431 initial frame is not a window-system frame (Bug#2299).
4432
c5bb7569
CY
4433 * subr.el (read-key): Avoid running filter function when setting
4434 up temporary tool bar entries (Bug#9922).
4435
a8e7d6d7 44362012-04-27 Andreas Schwab <schwab@linux-m68k.org>
c4347ab9
AS
4437
4438 * vc/vc-git.el (vc-git-state): Fix regexp matching diff output.
4439 (Bug#11344)
4440
a8e7d6d7 44412012-04-27 Chong Yidong <cyd@gnu.org>
acb71f1d
CY
4442
4443 * select.el (xselect--encode-string): New function, split from
4444 xselect-convert-to-string.
4445 (xselect-convert-to-string): Use it.
4446 (xselect-convert-to-filename, xselect-convert-to-os)
4447 (xselect-convert-to-host, xselect-convert-to-user): Ensure that
4448 returned strings are properly encoded (Bug#11315).
4449
a8e7d6d7 44502012-04-27 Chong Yidong <cyd@gnu.org>
d55486c7
CY
4451
4452 * simple.el (delete-active-region): Move to killing custom group.
4453
a8e7d6d7 44542012-04-27 Andreas Schwab <schwab@linux-m68k.org>
581b6788
AS
4455
4456 * progmodes/which-func.el (which-func-current): Quote %
4457 characters for mode-line processing.
4458
578c1d4b 44592012-04-27 Chong Yidong <cyd@gnu.org>
18edb22d
CY
4460
4461 * xml.el (xml-parse-region, xml-parse-tag): Avoid errors due to
4462 reaching eob (Bug#11286).
4463
a8e7d6d7 44642012-04-27 Eli Zaretskii <eliz@gnu.org>
9ee9f470
EZ
4465
4466 * progmodes/gdb-mi.el (gdb-control-level): New variable.
4467 (gdb): Make it buffer-local and init to zero.
4468 (gdb-control-commands-regexp): New variable.
4469 (gdb-send): Don't wrap in "-interpreter-exec console" if
4470 gdb-control-level is positive. Increment gdb-control-level
4471 whenever the command matches gdb-control-commands-regexp, and
4472 decrement it each time the command is "end". (Bug#11279)
4473
a8e7d6d7 44742012-04-27 Martin Rudalics <rudalics@gmx.at>
41cfe0cb
MR
4475
4476 * window.el (adjust-window-trailing-edge, enlarge-window)
4477 (shrink-window, window-resize):
4478 * mouse.el (mouse-drag-line): Fix resizing of minibuffer
4479 windows (Bug#11276).
4480
b3608390
CY
44812012-04-27 Chong Yidong <cyd@gnu.org>
4482
4483 * progmodes/pascal.el (pascal--extra-indent): Rename from ind, to
a8e7d6d7 4484 fix "missing prefix" warning. All callers changed.
b3608390 4485
797e6e88
SM
44862012-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
4487
4488 * emacs-lisp/assoc.el: Move to obsolete/.
4489
e95a67dc
SM
44902012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4491
657c21e4 4492 * emacs-lisp/assoc.el (aget): Fix dynamic-scoping issue (bug#11352).
e95a67dc
SM
4493
4494 * term/ns-win.el (ns-define-service):
4495 * progmodes/pascal.el (pascal-goto-defun):
4496 * progmodes/js.el (js--read-tab):
4497 * progmodes/etags.el (tags-lazy-completion-table):
4498 * emacs-lisp/syntax.el (syntax-propertize-via-font-lock):
4499 * emacs-lisp/ewoc.el (ewoc--wrap):
4500 * emacs-lisp/assoc.el (aput, adelete, amake):
4501 * doc-view.el (doc-view-convert-current-doc):
4502 * vc/diff.el (diff-no-select): Replace lexical-let by lexical-binding.
4503
cb3e7ae0
CY
45042012-04-26 Chong Yidong <cyd@gnu.org>
4505
dce04f7f
CY
4506 * image.el (image-type-from-buffer): Only return supported image
4507 type (Bug#9045).
4508
cb3e7ae0
CY
4509 * vc/diff-mode.el (diff-beginning-of-hunk): Return a meaningful
4510 value, for symmetry with diff-end-of-hunk.
4511 (diff-split-hunk, diff-find-source-location)
4512 (diff-ignore-whitespace-hunk, diff-refine-hunk): Use it.
4513 (diff-bounds-of-hunk, diff-bounds-of-file): New functions.
4514 (diff-restrict-view, diff-hunk-kill, diff-file-kill): Use them to
4515 compute the relevant hunk or file properly (Bug#6005).
4516 (diff-file-junk-re): Add bzr's "modified file" tag (Bug#6041).
4517
0d42eb3e
SM
45182012-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
4519
4520 * vc/vc-mtn.el:
4521 * vc/vc-hg.el:
4522 * vc/vc-git.el:
4523 * vc/vc-dir.el:
4524 * vc/vc-cvs.el:
4525 * vc/vc-bzr.el:
4526 * vc/vc-arch.el:
4527 * vc/vc.el: Replace lexical-let by lexical-binding.
4528 * minibuffer.el (lazy-completion-table): Avoid ((λ ...) ...).
4529 * emacs-lisp/cl-macs.el (lexical-let): Fix use in lexical-binding.
4530 * emacs-lisp/cconv.el (cconv-analyse-form): Warn use of ((λ ...) ...).
4531
f08ae1c9
CY
45322012-04-26 Chong Yidong <cyd@gnu.org>
4533
8b71081d
CY
4534 * vc/diff-mode.el (diff-undo): New command (Bug#5302).
4535 (diff-mode-shared-map): Bind it to / and [remap undo].
4536
f08ae1c9
CY
4537 * vc/ediff-wind.el (ediff-setup-windows-default): New function.
4538 (ediff-window-setup-function): Use it as the default, to set up
4539 windows based on whether the current frame is graphical (Bug#2138).
4540 (ediff-choose-window-setup-function-automatically): Make obsolete.
4541
4542 * vc/ediff-init.el: Always define ediff-pixel-width/height.
4543
ef24141c
SM
45442012-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
4545
cc356a5d
SM
4546 * ffap.el: Remove old code for obsolete package.
4547 (ffap-complete-as-file-p): Remove.
4548
b4ff4f1f
SM
4549 Use completion-table-with-quoting for comint and pcomplete.
4550 * comint.el (comint--unquote&requote-argument)
4551 (comint--unquote-argument, comint--requote-argument): New functions.
4552 (comint--unquote&expand-filename, comint-unquote-filename): Obsolete.
4553 (comint-quote-filename): Use regexp-opt-charset.
4554 (comint--common-suffix, comint--common-quoted-suffix)
4555 (comint--table-subvert): Remove.
4556 (comint-unquote-function, comint-requote-function): New vars.
4557 (comint--complete-file-name-data): Use them with
4558 completion-table-with-quoting.
4559 * pcmpl-unix.el (pcomplete/scp): Use completion-table-subvert.
4560 * pcomplete.el (pcomplete-arg-quote-list)
4561 (pcomplete-quote-arg-hook, pcomplete-quote-argument): Obsolete.
4562 (pcomplete-unquote-argument-function): Default to non-nil.
4563 (pcomplete-unquote-argument): Simplify.
4564 (pcomplete--common-quoted-suffix): Remove.
4565 (pcomplete-requote-argument-function): New var.
4566 (pcomplete--common-suffix): New function.
4567 (pcomplete-completions-at-point): Use completion-table-with-quoting
4568 and completion-table-subvert.
4569
79c4eeb4
SM
4570 * minibuffer.el: Use completion-table-with-quoting for read-file-name.
4571 (minibuffer--double-dollars): Preserve properties.
4572 (completion--sifn-requote): New function.
4573 (completion--file-name-table): Rewrite using it and c-t-with-quoting.
4574
ef24141c
SM
4575 * minibuffer.el: Add support for completion of quoted/escaped data.
4576 (completion-table-with-quoting, completion-table-subvert): New funs.
4577 (completion--twq-try, completion--twq-all): New functions.
4578 (completion--nth-completion): New function.
4579 (completion-try-completion, completion-all-completions): Use it.
4580
784e7d6e
LL
45812012-04-25 Leo Liu <sdl.web@gmail.com>
4582
dd2ac746
SM
4583 * progmodes/python.el (python-pdbtrack-get-source-buffer):
4584 Use compilation-message if available to find real filename.
784e7d6e 4585
07875ee7
CY
45862012-04-25 Chong Yidong <cyd@gnu.org>
4587
4588 * vc/diff-mode.el (diff-setup-whitespace): New function.
4589 (diff-mode): Use it.
4590
4591 * vc/diff.el (diff-sentinel):
4592 * vc/vc.el (vc-diff-finish): Call diff-setup-whitespace to assign
4593 Whitespace mode variables based on diff style (Bug#8612).
4594
5055880d
LL
45952012-04-25 Leo Liu <sdl.web@gmail.com>
4596
daf75653
LL
4597 * progmodes/python.el (python-send-region): Add suffix .py to the
4598 temp file.
4599
5055880d
LL
4600 * files.el (auto-mode-alist): Use javascript-mode instead.
4601
db9b177b
AH
46022012-04-25 Alex Harsanyi <AlexHarsanyi@gmail.com>
4603
ef24141c 4604 Sync with soap-client repository. Support SOAP simpleType (Bug#10331).
db9b177b 4605
090bd7cb 4606 * net/soap-client.el (soap-resolve-references-for-sequence-type)
ef24141c 4607 (soap-resolve-references-for-array-type): Hack to prevent self
db9b177b 4608 references, see Bug#9.
ef24141c 4609 (soap-parse-envelope): Report the contents of the 'detail' node
db9b177b 4610 when receiving a fault reply.
ef24141c 4611 (soap-parse-envelope): Report the contents of the entire 'detail' node.
db9b177b 4612
090bd7cb 4613 * net/soap-inspect.el (soap-sample-value-for-simple-type)
ef24141c 4614 (soap-inspect-simple-type): New function.
db9b177b 4615
090bd7cb 4616 * net/soap-client.el (soap-simple-type): New struct.
db9b177b 4617 (soap-default-xsd-types, soap-default-soapenc-types)
ef24141c
SM
4618 (soap-decode-basic-type, soap-encode-basic-type):
4619 support unsignedInt and double basic types.
db9b177b 4620 (soap-resolve-references-for-simple-type)
ef24141c
SM
4621 (soap-parse-simple-type, soap-encode-simple-type): New function.
4622 (soap-parse-schema): Parse xsd:simpleType declarations.
db9b177b 4623
090bd7cb 4624 * net/soap-client.el (soap-default-xsd-types)
ef24141c
SM
4625 (soap-default-soapenc-types): Add integer, byte and anyURI types.
4626 (soap-parse-complex-type-complex-content): Use `soap-wk2l' to find
4627 the local name of "soapenc:Array".
4628 (soap-decode-basic-type, soap-encode-basic-type): Support encoding
db9b177b
AH
4629 decoding integer, byte and anyURI xsd types.
4630
1fc6097b
CY
46312012-04-25 Chong Yidong <cyd@gnu.org>
4632
4633 * cus-edit.el (custom-buffer-create-internal): Update header text.
4634
afc6df87
EZ
46352012-04-25 Eli Zaretskii <eliz@gnu.org>
4636
4637 * progmodes/gdb-mi.el (gdb-init-1): Condition Windows-specific
4638 settings on 'system-type', not on 'window-system'. On MS-Windows,
4639 set interactive-mode on in GDB.
4640
dfbd787f
SM
46412012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4642
4643 * progmodes/ruby-mode.el: Simplify last change, and cleanup code.
4644 (ruby-syntax-propertize-regexp): Remove.
4645 (ruby-syntax-propertize-function): Split regexp into chunks.
4646 Match following code directly.
4647
85222d44
DG
46482012-04-24 Dmitry Gutov <dgutov@yandex.ru>
4649
51a8ea2a
DG
4650 * progmodes/ruby-mode.el: Handle Cucumber defs (bug#6286).
4651 (ruby-syntax-propertize-regexp): New function.
4652 (ruby-syntax-propertize-function): Use it to handle regexp not preceded
4653 by a special keyword.
4654
85222d44
DG
4655 * progmodes/ruby-mode.el: Handle general delimited literals (bug#6286).
4656 (ruby-syntax-general-delimiters-goto-beg)
4657 (ruby-syntax-propertize-general-delimiters): New functions.
4658 (ruby-syntax-propertize-function): Use them to handle GDL.
4659 (ruby-font-lock-keywords): Move old handling of GDL...
4660 (ruby-font-lock-syntactic-keywords): .. to here.
4661 (ruby-calculate-indent): Adjust indentation for GDL.
4662
b613912b
MA
46632012-04-24 Michael Albinus <michael.albinus@gmx.de>
4664
b5380639
MA
4665 * notifications.el (top): Remove unneeded declarations.
4666 (notifications-specification-version): Change to "1.2".
e43042fe 4667 (notifications-interface, notifications-notify-method)
b613912b
MA
4668 (notifications-close-notification-method): Fix docstring.
4669 (notifications-get-capabilities-method): New defconst.
e43042fe
MA
4670 (notifications-notify): Add :action-items, :resident and
4671 :transient hints. Change "image_data" to "image-data" and
4672 "image_path" to "image-path".
b613912b
MA
4673 (notifications-get-capabilities): New defun.
4674
257440aa
LL
46752012-04-24 Leo Liu <sdl.web@gmail.com>
4676
4677 * progmodes/python.el: Move hideshow setup to the end.
4678
b1bac16e
MR
46792012-04-24 Martin Rudalics <rudalics@gmx.at>
4680
4681 * window.el (handle-select-window): Clear echo area since this is
4682 no more done by read_char (Bug#11304).
4683
d81bd059
SM
46842012-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
4685
4686 * ibuffer.el (ibuffer-mode-map): Bind `/ m' to filter-used-mode
4687 and `/ M' to filter-derived-mode.
4688 * ibuf-ext.el (ibuffer-list-buffer-modes): Simplify; avoid add-to-list.
4689 (ibuffer-filter-by-mode, ibuffer-filter-by-used-mode)
4690 (ibuffer-mark-by-mode): Use default rather than initial-input.
4691 (ibuffer-filter-by-derived-mode): Autoload and require-match.
4692
c4cf6d91
IA
46932012-04-24 Ivan Andrus <darthandrus@gmail.com> (tiny change)
4694
4695 * ibuf-ext.el (ibuffer-list-buffer-modes): Add `include-parents' arg.
4696 (ibuffer-filter-by-derived-mode): New filter.
4697 * ibuffer.el (ibuffer-mode-map): Bind to `/ w'.
4698
7511ded8
CY
46992012-04-23 Andreas Politz <politza@fh-trier.de>
4700
4701 * subr.el (accept-change-group): Fix arg usage (Bug#6095).
4702
775c916b
CY
47032012-04-23 Chong Yidong <cyd@gnu.org>
4704
4705 * cus-edit.el (customize-apropos, customize-apropos-options):
4706 Disable matching of non-option variables (Bug#11176).
4707 (customize-option, customize-option-other-window)
4708 (customize-changed-options): Doc fix.
4709 (customize-apropos-options, customize-apropos-faces)
4710 (customize-apropos-groups): Use apropos-read-pattern (Bug#11124).
4711
4712 * apropos.el (apropos-read-pattern): Make prompt less cryptic.
922d37d3 4713 Fix word list splitting (Bug#11132).
46c71e23
CY
4714 (apropos-symbol, apropos-keybinding, apropos-label)
4715 (apropos-property, apropos-function-button)
4716 (apropos-variable-button, apropos-misc-button): New faces.
4717 (apropos-symbol-face, apropos-keybinding-face)
4718 (apropos-label-face, apropos-property-face, apropos-match-face):
4719 Variables removed (Bug#8396).
4720 (apropos-library-button, apropos-format-plist, apropos-print)
4721 (apropos-print-doc, apropos-describe-plist): Callers changed.
775c916b 4722
2df41f9c
MA
47232012-04-23 Michael Albinus <michael.albinus@gmx.de>
4724
4725 * net/xesam.el (xesam-mode-map): Use let-bound map in
4726 initialization. (Bug#11292)
4727
da00640a
AM
47282012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4729
4730 Preserve ispell session localwords when switching back to
4731 original buffer.
4732
090bd7cb
JB
4733 * textmodes/ispell.el (ispell-buffer-session-localwords):
4734 New buffer-local variable to hold buffer session localwords.
ed9265fc 4735 (ispell-kill-ispell): Add option 'clear to delete session
da00640a
AM
4736 localwords.
4737 (ispell-command-loop, ispell-change-dictionary)
4738 (ispell-buffer-local-words): Preserve session localwords when
4739 needed.
4740
090bd7cb
JB
4741 * textmodes/flyspell.el (flyspell-process-localwords)
4742 (flyspell-do-correct): Preserve session localwords when needed.
da00640a 4743
f621ccf5
AM
47442012-04-23 Agustín Martín Domingo <agustin.martin@hispalinux.es>
4745
090bd7cb
JB
4746 * textmodes/ispell.el (ispell-insert-word) Remove unneeded function
4747 using obsolete `translation-table-for-input'.
ef24141c
SM
4748 (ispell-word, ispell-process-line, ispell-complete-word):
4749 Use plain `insert' instead of removed `ispell-insert-word'.
f621ccf5 4750
c2d1019e
CY
47512012-04-22 Chong Yidong <cyd@gnu.org>
4752
4753 * cus-edit.el (custom-variable-menu)
4754 (custom-variable-reset-saved, custom-face-menu)
4755 (custom-face-reset-saved): If there is no saved value, make the
4756 "reset-saved" operation bring back the default (Bug#9509).
4757 (custom-face-state): Properly detect themed faces.
4758
eeddc531
CY
4759 * faces.el (face-spec-set): Stop supporting deprecated form of
4760 third arg.
4761
dcbf5805
MA
47622012-04-22 Michael Albinus <michael.albinus@gmx.de>
4763
4764 Move functions from C to Lisp. Make non-blocking method calls
4765 the default. Implement further D-Bus standard interfaces.
4766
ef24141c
SM
4767 * net/dbus.el (dbus-message-internal): Declare function.
4768 Remove unneeded function declarations.
dcbf5805
MA
4769 (defvar dbus-message-type-invalid, dbus-message-type-method-call)
4770 (dbus-message-type-method-return, dbus-message-type-error)
4771 (dbus-message-type-signal): Declare variables. Remove local
4772 definitions.
4773 (dbus-interface-dbus, dbus-interface-peer)
4774 (dbus-interface-introspectable, dbus-interface-properties)
4775 (dbus-path-emacs, dbus-interface-emacs, dbus-return-values-table):
4776 Adapt docstring.
4777 (dbus-interface-objectmanager): New defconst.
4778 (dbus-call-method, dbus-call-method-asynchronously)
4779 (dbus-send-signal, dbus-method-return-internal)
4780 (dbus-method-error-internal, dbus-register-service)
4781 (dbus-register-signal, dbus-register-method): New defuns, moved
4782 from dbusbind.c
4783 (dbus-call-method-handler, dbus-setenv)
ef24141c
SM
4784 (dbus-get-all-managed-objects, dbus-managed-objects-handler):
4785 New defuns.
dcbf5805
MA
4786 (dbus-call-method-non-blocking): Make it an obsolete function.
4787 (dbus-unregister-object, dbus-unregister-service)
4788 (dbus-handle-event, dbus-register-property)
4789 (dbus-property-handler): Obey the new structure of
4790 `bus-registered-objects'.
4791 (dbus-introspect): Use `dbus-call-method'. Use a timeout.
4792 (dbus-get-property, dbus-set-property, dbus-get-all-properties):
4793 Use `dbus-call-method'.
4794
cf20dee0
CY
47952012-04-22 Chong Yidong <cyd@gnu.org>
4796
4797 * cus-edit.el (custom-commands, custom-reset-menu)
4798 (Custom-reset-standard): Tweak labels.
4799 (custom-reset-button-menu): Change default to t.
4800 (custom-buffer-create-internal): For the custom-reset-button-menu
4801 case, put the revert button first.
4802 (custom-group-subtitle): New face.
4803 (custom-group-value-create): Align docstring to a specific column.
4804
4805 * wid-edit.el (widget-documentation-link-add): Don't handle
4806 indentation in this function.
4807 (widget-documentation-string-indent-to): New function.
4808 (widget-documentation-string-value-create): Use it.
4809
4810 * autorevert.el (auto-revert):
4811 * epg-config.el (epg):
4812 * ibuffer.el (ibuffer):
4813 * mpc.el (mpc):
4814 * ses.el (ses):
4815 * eshell/eshell.el (eshell):
4816 * net/ange-ftp.el (ange-ftp):
4817 * progmodes/ebnf2ps.el (postscript):
4818 * progmodes/flymake.el (flymake):
4819 * progmodes/prolog.el (prolog):
4820 * progmodes/verilog-mode.el (verilog-mode):
4821 * progmodes/which-func.el (which-func):
4822 * term/xterm.el (xterm):
4823 * textmodes/picture.el (picture):
4824 * textmodes/tildify.el (tildify):
4825 * vc/ediff.el (ediff): Tweak defgroups to improve presentation in
4826 customization buffers.
4827
583e23bd
AM
48282012-04-22 Alan Mackenzie <acm@muc.de>
4829
4830 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
4831 Adding a ) can hide the resulting (..) from searches. Fix it.
4832 Bound the backward search to the position of the existing (.
4833
7dd51bf1
JB
48342012-04-21 Juanma Barranquero <lekktu@gmail.com>
4835
4836 * progmodes/verilog-mode.el (verilog-mode): Check whether
4837 which-func-modes is t before adding verilog-mode.
4838 Reported by Andy Moreton <andrewjmoreton@gmail.com>.
4839
d64a438f
LL
48402012-04-21 Leo Liu <sdl.web@gmail.com>
4841
7dd51bf1 4842 * net/rcirc.el (rcirc): Avoid error when process-contact returns t.
d64a438f 4843
081e8d65
MV
48442012-04-21 Michael Vehrs <Michael.Burschik@gmx.de>
4845
4846 * woman.el: Add support for "T{ T}" tbl syntax, and fix the
4847 filling of the last column of a table (Bug#5635).
4848 (woman-find-next-control-line): New arg, specifying an additional
4849 regexp component for the control line.
4850 (woman2-roff-buffer): Use it.
4851 (woman-break-table): New function.
4852 (woman2-TS): Use it.
4853
48542012-04-21 Chong Yidong <cyd@gnu.org>
4855
4856 * woman.el (woman-set-buffer-display-table, woman-decode-region)
4857 (woman-horizontal-escapes, woman-negative-vertical-space)
4858 (woman-tab-to-tab-stop, woman2-fc, woman2-TS)
4859 (WoMan-warn-ignored): Use ?\s instead of ?\ .
4860
ed571ccb
SM
48612012-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
4862
4863 * minibuffer.el (completion-file-name-table): Complete user names.
4864
39773899
LL
48652012-04-20 Leo Liu <sdl.web@gmail.com>
4866
4867 * font-lock.el (lisp-font-lock-keywords-2): Add pcase, pcase-let
4868 and pcase-let*.
4869
de6ff46d
CY
48702012-04-20 Chong Yidong <cyd@gnu.org>
4871
4872 * server.el (server-execute): Respect initial-buffer-choice if it
4873 is a string and there are no files to open (Bug#2825).
4874 (server-create-window-system-frame, server-create-tty-frame):
4875 Don't switch buffers here.
2d0e8e61
CY
4876 (server-process-filter): Only try to open a window system frame if
4877 compiled with graphical support (Bug#8314).
de6ff46d 4878
54071013
DN
48792012-04-20 Dan Nicolaescu <dann@gnu.org>
4880
4881 * battery.el (battery-echo-area-format): Display remaining time
4882 for sysfs backend too (Bug#11269).
4883 (battery-linux-sysfs): Fix conditional for the charge.
4884
f30d612a
CY
48852012-04-20 Chong Yidong <cyd@gnu.org>
4886
c07a4c0b 4887 * progmodes/gdb-mi.el (gdb): Revert previous change.
f30d612a
CY
4888 (gdb-inferior-io--init-proc): New function.
4889 (gdb-init-1): Use it.
4890 (gdb-inferior-io-sentinel): New sentinel for the gdb-inferior pty,
4891 responsible for allocating a new pty and hooking it to gdb when
4892 the old pty gets an EIO due to process exit.
4893 (gdb-delchar-or-quit): New command. Bind it in gdb-mi buffers.
4894 (gdb-tooltip-print): Don't use obsolete tooltip-use-echo-area.
4895 (gdb-inferior-io--maybe-delete-pty): Move into gdb-reset.
4896
2116e93c
EZ
48972012-04-20 Eli Zaretskii <eliz@gnu.org>
4898
4899 * window.el (window-min-size, window-sizable, window-min-delta)
4900 (window-max-delta, window--resizable, window-resizable)
4901 (window-total-size, window-full-height-p, window-full-width-p)
4902 (window-in-direction, window--resize-mini-window, window-resize)
4903 (window--resize-child-windows-normal)
4904 (window--resize-child-windows, window--resize-siblings)
4905 (window--resize-this-window, adjust-window-trailing-edge)
cd0f830c 4906 (enlarge-window, shrink-window): Doc fixes.
2116e93c 4907
c07a4c0b 49082012-04-20 Chong Yidong <cyd@gnu.org>
b668fa6e 4909
ef24141c
SM
4910 * progmodes/gdb-mi.el (gdb-inferior-io--maybe-delete-pty):
4911 New function to call delete-process on the gdb-inferior buffer's pty.
b668fa6e
CY
4912 (gdb-reset): Use it, instead of relying on kill-buffer to kill the
4913 pty process (Bug#11273).
4914 (gdb-update): New arg to suppress talking to the gdb process.
4915 (gdb-done-or-error): Use it.
4916 (gdb-stopped-functions): Rename from gdb-stopped-hooks.
4917 (gdb): Call gdb-inferior-io--maybe-delete-pty as a workaround for
4918 sentinel not being called.
4919
4920 * comint.el (make-comint-in-buffer, comint-exec): Doc fix.
4921
d02766ab
CY
4922 * progmodes/grep.el (grep, rgrep): Doc fix (Bug#11268).
4923
c07a4c0b 49242012-04-20 Glenn Morris <rgm@gnu.org>
016a35df
GM
4925
4926 * net/network-stream.el (open-network-stream): Doc fix.
4927
c07a4c0b 49282012-04-20 Chong Yidong <cyd@gnu.org>
2c070447
CY
4929
4930 * emacs-lisp/tabulated-list.el (tabulated-list-print): Fix typos.
4931
c07a4c0b 49322012-04-20 Alan Mackenzie <acm@muc.de>
f0f6bc35
AM
4933
4934 Ensure searching for keywords is case sensitive.
4935
4936 * progmodes/cc-cmds.el (c-electric-brace, c-electric-lt-gt)
4937 (c-electric-paren, c-beginning-of-defun, c-end-of-defun)
4938 (c-defun-name, c-mark-function, c-cpp-define-name)
4939 (c-comment-indent, c-scan-conditionals, c-indent-defun)
c07a4c0b 4940 (c-context-line-break): Bind case-fold-search to nil.
f0f6bc35 4941
ef24141c
SM
4942 * progmodes/cc-mode.el (c-font-lock-fontify-region):
4943 Bind case-fold-search to nil.
f0f6bc35 4944
c07a4c0b 49452012-04-20 Chong Yidong <cyd@gnu.org>
4fc2c72a
CY
4946
4947 * mail/sendmail.el (mail-bury): Call return action with the right
4948 Rmail buffer (Bug#11242).
4949
9a864fa2
CY
4950 * server.el (server-process-filter): Handle corner case where both
4951 tty and nowait options are present (Bug#11102).
4952
539aa513
EZ
49532012-04-20 Eli Zaretskii <eliz@gnu.org>
4954
4955 * version.el (emacs-bzr-version, emacs-bzr-get-version): Doc fixes.
6cf2a23e
EZ
4956 (top level): Put into the executable the ident-style '$Id:' tag on
4957 windows-nt as well.
539aa513 4958
cfc7d5da
SM
49592012-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
4960
4961 * electric.el (electric-indent-post-self-insert-function): Check that
4962 electric-indent-mode is enabled in current buffer.
4963
5b01685c
JB
49642012-04-19 Juanma Barranquero <lekktu@gmail.com>
4965
4966 * imenu.el (imenu-progress-message): Restore; it is "used" in
4967 erc/erc-imenu.el and net/snmp-mode.el.
4968
4d6769e1
JB
49692012-04-19 Juanma Barranquero <lekktu@gmail.com>
4970
4971 * avoid.el (mouse-avoidance-mode): Mark unused arg.
4972 (mouse-avoidance-nudge-mouse): Remove unused binding.
4973
4974 * bs.el (bs-toggle-readonly): Call `toggle-read-only' interactively.
4975
4976 * descr-text.el (describe-char):
4977 * progmodes/python.el (python-describe-symbol):
4978 Don't call `toggle-read-only', set `buffer-read-only'.
4979
4980 * imenu.el (imenu-default-goto-function): Mark unused args.
4981 (imenu-progress-message): Remove obsolete macro; all callers changed.
4982
4983 * subr.el (keymap-canonicalize): Remove unused binding.
4984 (read-passwd): Mark unused arg.
4985
4986 * tutorial.el (tutorial--display-changes): Remove unused binding.
4987 (tutorial--save-tutorial-to): Remove unused variable.
4988
4989 * emacs-lisp/package.el (define-package, package-menu-mark-delete)
4990 (package-menu-mark-install, package-menu-mark-unmark): Mark unused args.
4991 (package-generate-autoloads, package-menu--generate)
4992 (package-menu--find-upgrades): Remove unused bindings.
4993
4994 * emulation/cua-rect.el (cua-restrict-regexp-rectangle)
4995 (cua-restrict-prefix-rectangle): Doc fixes. Remove unused bindings.
4996 (cua--mouse-ignore, cua--delete-rectangle, cua--extract-rectangle)
4997 (cua--indent-rectangle, cua-open-rectangle, cua-close-rectangle)
4998 (cua-blank-rectangle, cua-string-rectangle, cua-replace-in-rectangle)
4999 (cua-incr-rectangle, cua-sequence-rectangle, cua--convert-rectangle-as)
5000 (cua--rectangle-aux-replace, cua--left-fill-rectangle)
5001 (cua-scroll-rectangle-up, cua-scroll-rectangle-down)
5002 (cua-delete-char-rectangle): Mark unused args.
5003 (cua-align-rectangle): Remove unused binding.
5004
5005 * mail/rmail.el (compilation--message->loc)
5006 (epa--find-coding-system-for-mime-charset): Declare.
5007
5008 * net/dbus.el (dbus-register-service): Declare.
5009 (dbus-name-owner-changed-handler): Remove unused binding.
5010
5011 * nxml/nxml-mode.el (nxml-electric-slash, nxml-in-mixed-content-p)
5012 (nxml-compute-indent-from-matching-start-tag): Remove unused variables.
5013 (nxml-scan-backward-within): Mark unused arg.
5014 (nxml-dynamic-markup-word): Remove unused binding.
5015
5016 * mouse.el (mouse-menu-major-mode-map):
5017 * emacs-lisp/authors.el (authors-scan-change-log)
5018 (authors-add-to-author-list):
5019 * emacs-lisp/avl-tree.el (avl-tree--enter-balance):
5020 * emacs-lisp/smie.el (smie-auto-fill):
5021 * mail/sendmail.el (mail-bury):
5022 * mail/unrmail.el (unrmail):
5023 * net/tls.el (open-tls-stream):
5024 * textmodes/picture.el (picture-mouse-set-point):
5025 Remove unused bindings.
5026
8c8fc5df
MA
50272012-04-19 Michael Albinus <michael.albinus@gmx.de>
5028
5029 * net/tramp.el (tramp-action-password): Let-bind
5030 `enable-recursive-minibuffers' to t.
5031
a77b0ac9
SS
50322012-04-18 Sam Steingold <sds@gnu.org>
5033
5034 * progmodes/gud.el (gud-key-prefix): Use :type 'key-sequence
5035 instead of 'string to accommodate values like [f11].
5036 Always use `vconcat' instead of `concat' on it, like in `gud-def'.
5037 * progmodes/gdb-mi.el: Likewise.
5038
12a106a9
LL
50392012-04-18 Leo Liu <sdl.web@gmail.com>
5040
5041 * abbrev.el (edit-abbrevs): Move point to the abbrev table of
5042 current buffer.
5043 (prepare-abbrev-list-buffer): Enter edit-abbrevs-mode only if
5044 LOCAL is nil.
5045
bc6494ef
CY
50462012-04-18 Chong Yidong <cyd@gnu.org>
5047
5048 * simple.el (line-move): Use forward-line if in batch mode
5049 (Bug#11053).
5050
c09c46b2
CS
50512012-04-18 Christopher Schmidt <christopher@ch.ristopher.com>
5052
5053 * files.el (after-find-file): Do not try to add a final newline if
5054 the buffer is read-only (Bug#11156).
5055
5f6530ea
RS
50562012-04-17 Richard Stallman <rms@gnu.org>
5057
5058 * mail/rmail.el (rmail-start-mail):
5059 Pass (rmail-mail-return...) for the return-action.
5060 Pass (rmail-yank-current-message...) for the yank-action.
5061 (rmail-yank-current-message): New function.
5062 (rmail-mail): Pass the Rmail buffer, not view buffer, for replybuffer.
5063 (rmail-reply): Likewise.
5064 (rmail-forward): Pass the Rmail buffer, not nil, for replybuffer.
5065
5066 * mail/sendmail.el (mail-bury): Choose the first rmail-mode
c09c46b2 5067 buffer, not the last. Reject temp buffers. Use the rmail-mode
5f6530ea
RS
5068 buffer, not newbuf.
5069
197b6f3c
JB
50702012-04-17 Juanma Barranquero <lekktu@gmail.com>
5071
5072 * server.el (server-ensure-safe-dir): Simplify.
5073
2311d8e5 50742012-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
98fb480e 5075
2311d8e5
GM
5076 * emacs-lisp/smie.el: Provide smarter auto-filling.
5077 (smie-auto-fill): New function.
5078 (smie-setup): Use it.
98fb480e 5079
2311d8e5
GM
5080 * newcomment.el (comment-choose-indent): Obey comment-inline-offset.
5081
50822012-04-17 Philipp Haselwarter <philipp.haselwarter@gmx.de> (tiny change)
8eb5d48f
PH
5083
5084 * newcomment.el (comment-inline-offset): New custom var (bug#11090).
5085 (comment-indent): Use it.
5086
2311d8e5 50872012-04-17 Vincent Belaïche <vincentb1@users.sourceforge.net>
4bdf2ad2
VB
5088
5089 * ses.el: The overall change is to add cell renaming, that is
5090 setting fancy names for cell symbols other than name matching
5091 "\\`[A-Z]+[0-9]+\\'" regexp .
2311d8e5 5092 (ses-localvars): Add ses--renamed-cell-symb-list.
4bdf2ad2 5093 (ses-create-cell-variable): New defun.
2311d8e5 5094 (ses-destroy-cell-variable-range): Respect ses--numrows, ses--numcols.
4bdf2ad2
VB
5095 (ses-relocate-formula): Relocate formulas only for cells the
5096 symbols of which are not renamed, i.e. symbols whose names do not
5097 match regexp "\\`[A-Z]+[0-9]+\\'".
5098 (ses-relocate-all): Relocate values only for cells the symbols of
5099 which are not renamed.
5100 (ses-load): Create cells variables as the (ses-cell ...) are read,
5101 in order to check row col consistency with cell symbol name only
5102 for cells that are not renamed.
5103 (ses-replace-name-in-formula): New defun.
5104 (ses-rename-cell): New defun.
4bdf2ad2 5105
fc72b15c
PO
51062012-04-17 Peter Oliver <bzr@mavit.org.uk> (tiny change)
5107
5108 * progmodes/perl-mode.el (perl-indent-parens-as-block):
5109 New option (bug#11118).
5110 (perl-calculate-indent): Respect it.
5111
12e10e61
GM
51122012-04-17 Glenn Morris <rgm@gnu.org>
5113
5114 * dired-aux.el (dired-mark-read-string): Doc fix.
5115
30009afd
DA
51162012-04-17 Dmitry Antipov <dmantipov@yandex.ru>
5117
5118 * dired-aux.el (dired-mark-read-string): Offer optional completion.
5119 (dired-do-chxxx): Complete chown, chgrp over users, groups. (Bug#7900)
5120
41f03f4d
GM
51212012-04-17 Glenn Morris <rgm@gnu.org>
5122
5123 * mouse.el (mouse-drag-track):
5124 * speedbar.el (speedbar-frame-mode):
5125 Use auto-hscroll-mode rather than the alias automatic-hscrolling.
5126
f45f90f3
LL
51272012-04-16 Leo Liu <sdl.web@gmail.com>
5128
5129 * progmodes/python.el: Trivial cleanup.
5130
94ee8db5
GM
51312012-04-16 Glenn Morris <rgm@gnu.org>
5132
121b8917
GM
5133 * vc/vc.el (vc-string-prefix-p):
5134 * vc/pcvs-util.el (cvs-string-prefix-p):
5135 * textmodes/tex-mode.el (latex-string-prefix-p, tex-string-prefix-p):
5136 * mpc.el (mpc-string-prefix-p):
5137 Make all of these into obsolete aliases for string-prefix-p.
5138 Update callers.
5139 * vc/pcvs.el, vc/vc-dispatcher.el, vc/vc-dir.el: Update callers.
5140
1197ecfa
GM
5141 * textmodes/two-column.el: Move custom options to the start.
5142 (frame-width): Remove compat definition.
5143 (2C-associate-buffer, 2C-dissociate):
5144 Use with-current-buffer rather than save-excursion.
5145 (2C-dissociate): Force a mode-line update.
5146 (2C-autoscroll): Use ignore-errors.
5147
099e7202
GM
5148 * emacs-lisp/eieio-opt.el (describe-class, describe-generic):
5149 Autoload trivia.
5150
bf350d6a
GM
5151 * emacs-lisp/cl-extra.el (*random-state*):
5152 Remove unnecessary declaration.
5153
0e829eab
GM
5154 * calendar/cal-tex.el (cal-tex-end-document): Trivial clarification.
5155
e3ad7552
GM
5156 * play/cookie1.el (cookie-snarf):
5157 Give an explicit error if input file cannot be read.
5158
68892d27
GM
5159 * play/yow.el (yow-file): Use expand-file-name rather than concat.
5160
20f0c46d
GM
5161 * progmodes/perl-mode.el (c-macro-expand):
5162 Remove unnecessary autoload (it is in loaddefs.el).
5163
5a0978ce
GM
5164 * textmodes/picture.el (picture-desired-column)
5165 (picture-update-desired-column): Convert comments to doc-strings.
5166 (picture-substitute): Remove function.
5167 (picture-mode-map): Initialize in the defvar.
5168
6b955486
GM
5169 * woman.el: Remove eval-after-load for tar-mode.
5170 * tar-mode.el (tar-mode-map): Add woman binding and menu entry.
5171 (woman-tar-extract-file): Autoload it.
5172
94ee8db5
GM
5173 * frame.el (automatic-hscrolling): Make this alias obsolete.
5174
177eca34
AM
51752012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5176
090bd7cb 5177 * textmodes/ispell.el (ispell-set-spellchecker-params): Post-process
4be3075e 5178 `ispell-dictionary-alist' to use [:alpha:] and utf-8 if possible.
3851314b
AM
5179 (ispell-dictionary-base-alist): Revert to original XEmacs
5180 friendly version for default. [:alpha:] will be added in
090bd7cb 5181 `ispell-set-spellchecker-params' if needed.
177eca34 5182
c505aaeb
CY
51832012-04-16 Chong Yidong <cyd@gnu.org>
5184
b19dd9d1 5185 * image.el (imagemagick--file-regexp): New variable.
c505aaeb
CY
5186 (imagemagick-register-types): Use it.
5187 (imagemagick-types-inhibit): Add :set function. Allow new value
5188 of t to inhibit all types.
5189
5190 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Avoid cl macros,
5191 so we can preload it.
5192
5193 * loadup.el (fboundp): Preload regexp-opt, needed by
5194 imagemagick-register-types.
5195
60efac0f
CY
51962012-04-15 Chong Yidong <cyd@gnu.org>
5197
5198 * frame.el (scrolling): Remove nearly unused customization group.
5199
5200 * scroll-all.el (scroll-all-mode): Move to windows group.
5201
5dd1713e
CY
52022012-04-15 Chong Yidong <cyd@gnu.org>
5203
5204 * bindings.el (goto-map): Bind goto-char to M-g c (Bug#11240).
5205
e6fd457e
CY
52062012-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
5207
5208 Avoid the use of ((lambda ...) ...) in lexical-binding code.
4d6769e1 5209 * emacs-lisp/easy-mmode.el (define-minor-mode): Use funcall (bug#11241).
e6fd457e 5210
e153c136
GM
52112012-04-15 Glenn Morris <rgm@gnu.org>
5212
5213 * simple.el (process-file-side-effects): Doc fix.
5214
e6fd457e 52152012-04-15 Glenn Morris <rgm@gnu.org>
ca7d96c8
GM
5216
5217 * international/mule-cmds.el (set-language-environment): Doc fix.
5218
3603c3b1
JB
52192012-04-14 Juanma Barranquero <lekktu@gmail.com>
5220
5221 * server.el (server-auth-key, server-generate-key): Doc fixes.
5222 (server-get-auth-key): Doc fix. Use `string-match-p'.
5223 (server-start): Reflow docstring.
5224
e6de100c
LI
52252012-04-14 Lars Ingebrigtsen <larsi@gnus.org>
5226
5227 * server.el (server-generate-key): `called-interactively-p'
5228 requires a parameter.
5229
29734c21
MN
52302012-04-14 Michal Nazarewicz <mina86@mina86.com>
5231
5232 * server.el (server-auth-key): New variable.
75f1671a 5233 (server-generate-key, server-get-auth-key): New function.
29734c21
MN
5234 (server-start): Use the new variable and functions to allow
5235 setting a permanent server key (bug#9423).
5236
d65c9521
LL
52372012-04-14 Leo Liu <sdl.web@gmail.com>
5238
5239 * vc/diff-mode.el (diff-file-prev/next): Fix typo.
5240
5ae255c7
PE
52412012-04-14 Paul Eggert <eggert@cs.ucla.edu>
5242
5243 Spelling fixes.
5244 * hexl.el (hexl-rulerize): Rename from hexl-rulerise, since
5245 Emacs uses American spelling.
5246
d5e6342e
JB
52472012-04-14 Juanma Barranquero <lekktu@gmail.com>
5248
5249 * emacs-lock.el (emacs-lock-locked-buffer-functions): New hook.
5250 (emacs-lock--exit-locked-buffer): Return the locked buffer. Doc fix.
5251 (emacs-lock--kill-emacs-hook, emacs-lock--kill-emacs-query-functions)
5252 (emacs-lock--kill-buffer-query-functions): Run new hook. (Bug#11017)
5253
ab036cd7
SM
52542012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
5255
5256 * progmodes/which-func.el (which-func-modes): Change default.
5257
35dc09a1 52582012-04-14 Kim F. Storm <storm@cua.dk>
9557e2be
CY
5259
5260 * emulation/cua-base.el (cua-exchange-point-and-mark): Just call
5261 exchange-point-and-mark if cua-enable-cua-keys is nil (Bug#11191).
5262
35dc09a1 52632012-04-14 Chong Yidong <cyd@gnu.org>
81927dd2
CY
5264
5265 * custom.el (custom-theme-set-variables): Doc fix.
5266
35dc09a1 52672012-04-14 Glenn Morris <rgm@gnu.org>
8edb942b
GM
5268
5269 * international/mule.el (set-auto-coding-for-load): Doc fix.
5270
35dc09a1 52712012-04-14 Alan Mackenzie <acm@muc.de>
0de3da9f 5272
35dc09a1
GM
5273 * progmodes/cc-menus.el (cc-imenu-objc-generic-expression): Make
5274 imenu work again for Objective C Mode. Correct the *-index values,
5275 these having been disturbed by a previous change in 2011-08.
57f845ee 5276
0de3da9f
AM
5277 * progmodes/cc-engine.el (c-before-change-check-<>-operators):
5278 Correct two search limits.
5279
35dc09a1 52802012-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
ede141ac
SM
5281
5282 * startup.el (command-line-1): Inhibit splash from daemon (bug#10996).
5283
35dc09a1 52842012-04-14 Andreas Schwab <schwab@linux-m68k.org>
d0203d61
AS
5285
5286 * international/characters.el: Fix sorting.
5287
35dc09a1 52882012-04-14 Eli Zaretskii <eliz@gnu.org>
cb80bcd1
EZ
5289
5290 * international/characters.el: Add more missing Latin case pairs.
5291
35dc09a1 52922012-04-14 Glenn Morris <rgm@gnu.org>
4a427f58
GM
5293
5294 * files.el (dir-locals-set-class-variables): Doc fix.
5295
35dc09a1 52962012-04-14 Eli Zaretskii <eliz@gnu.org>
9f847f41 5297
3f1b5bf8
EZ
5298 * international/characters.el: Add set-case-syntax-pair call for
5299 LATIN CAPITAL LETTER Y WITH DIAERESIS RET and its lower-case
5300 counterpart. (Bug#11209)
5301
9f847f41
EZ
5302 * simple.el (shell-command-on-region): Doc fix. (Bug#11208)
5303
35dc09a1 53042012-04-14 Glenn Morris <rgm@gnu.org>
0c2014a3
GM
5305
5306 * calendar/holidays.el (calendar-check-holidays): Doc fix.
5307
35dc09a1 53082012-04-14 Eli Zaretskii <eliz@gnu.org>
e2627d21 5309
35dc09a1
GM
5310 * textmodes/ispell.el (ispell-dictionary-base-alist):
5311 Add data for Hebrew.
e2627d21 5312
35dc09a1 53132012-04-14 Chong Yidong <cyd@gnu.org>
5c14e333 5314
35dc09a1
GM
5315 * net/rcirc.el (rcirc-cmd-quit):
5316 Revert 2012-03-18 change (Bug#11192).
5c14e333 5317
35dc09a1 53182012-04-14 Glenn Morris <rgm@gnu.org>
bf6fa423
GM
5319
5320 * pcmpl-rpm.el (pcomplete/rpm): Handle -qf.
5321
35dc09a1 53222012-04-14 Eli Zaretskii <eliz@gnu.org>
82b24fb2 5323
4517fe3a
SM
5324 * minibuffer.el (completion-in-region-mode-map):
5325 Bind completion-help-at-point to M-? rather than ?. (Bug#11182)
82b24fb2 5326
b472a594
VD
53272012-04-13 Vivek Dasmohapatra <vivek@etla.org>
5328
5329 * hexl.el (hexl-insert-char): Make display sizes other than 16 work.
5330
09b95ce3
MY
53312012-04-13 Masatake YAMATO <yamato@redhat.com>
5332
5333 * minibuffer.el (minibuffer-local-filename-syntax): New variable
5334 to allow `C-M-f' and `C-M-b' to move to the nearest path
5335 separator (bug#9511).
5336
4b63a9ca
LI
53372012-04-13 Lars Ingebrigtsen <larsi@gnus.org>
5338
5339 * avoid.el: Require cl when compiling. And also move the
5340 `provide' to the end.
5341
7b55b8bf
TV
53422012-04-13 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5343
5344 * avoid.el (mouse-avoidance-banish-position): New variable.
5345 (mouse-avoidance-banish-destination): Use it (bug#10165).
5346
adedaa1f
LL
53472012-04-13 Leo Liu <sdl.web@gmail.com>
5348
5349 * progmodes/which-func.el (which-func-modes): Add objc-mode.
5350
70e74021
KB
53512012-04-13 Ken Brown <kbrown@cornell.edu>
5352
5353 * net/browse-url.el (browse-url-file-url): Remove Cygwin hack;
ab036cd7 5354 this is no longer needed now that cygstart understands file:// URLs.
70e74021
KB
5355 (browse-url-filename-alist): For the same reason, don't modify
5356 file:// URLs on Cygwin.
5357
e75e89ba
SM
53582012-04-13 Stefan Monnier <monnier@iro.umontreal.ca>
5359
5360 * emulation/cua-base.el (cua--pre-command-handler-1): Don't activate
5361 the region on shift if the binding is already shifted (bug#11221).
5362
82f289a4
GM
53632012-04-12 Glenn Morris <rgm@gnu.org>
5364
5365 * mail/mailpost.el: Move to obsolete/.
5366
d333dc4c
DA
53672012-04-12 Drew Adams <drew.adams@oracle.com>
5368
5369 * imenu.el (imenu--generic-function): Ignore invisible definitions
5370 (bug#10123).
5371
0d15b5ba
VD
53722012-04-12 Vivek Dasmohapatra <vivek@etla.org>
5373
5374 * hexl.el (hexl-bits): New variable.
5375 (hexl-options): Mention the variable in the doc string.
75f1671a 5376 (hexl-rulerise, hexl-line-displen): New functions.
0d15b5ba 5377 (hexl-mode): Mention the new variable.
75f1671a
JB
5378 (hexl-mode, hexl-current-address, hexl-current-address):
5379 Use the displen.
0d15b5ba
VD
5380 (hexl-ascii-start-column): New function.
5381 (hexl-address-to-marker, hexl-beginning-of-line, hexl-options)
5382 (hexl-insert-char, hexl-mode-ruler): Use the displen (bug#4941).
5383
64a440db
AM
53842012-04-12 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5385
5386 * textmodes/flyspell.el (flyspell-large-region): For hunspell, use
5387 '("-i" ENCODING), in 2 separate command-line arguments, to specify
5388 the encoding, as expected by hunspell.
5389
6decb6c2
SM
53902012-04-12 Stefan Monnier <monnier@iro.umontreal.ca>
5391
5392 * battery.el (battery--linux-sysfs-regexp): New const.
5393 (battery-status-function): Use it. Remove yeeloong special case.
5394 (battery-yeeloong-sysfs): Remove.
5395 (battery-echo-area-format): Remove yeeloong special case.
5396
088be6fb
SM
53972012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5398
6622e416
SM
5399 * imenu.el (imenu-add-to-menubar): `current-local-map' can be nil.
5400 Reported by Noah Friedman.
5401
088be6fb
SM
5402 * subr.el (read-passwd): Use read-string.
5403
b49f886e
LMI
54042012-04-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
5405
5406 * vcursor.el (vcursor-move): Increase the priority of the overlay
5407 (bug#9663).
5408
a63067fc
DD
54092012-04-11 Deniz Dogan <deniz.a.m.dogan@gmail.com>
5410
5411 * net/rcirc.el (rcirc-kill-channel-buffers): New variable.
5412 (rcirc-kill-buffer-hook): Use it to kill channel buffers (bug#5128).
5413
ac3cf14a
WS
54142012-04-11 William Stevenson <yhvh2000@gmail.com>
5415
5416 * textmodes/artist.el (artist-mode): Convert artist-mode to use
5417 define-minor-mode (bug#10760).
5418
c4fc691b 54192012-04-11 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
49a2697c 5420
4d6769e1 5421 * progmodes/grep.el (rgrep): Tweak the find command line so
49a2697c
WJ
5422 that directories matching `grep-find-ignored-files' won't be
5423 pruned (bug#10351).
5424
af23e2e5
CY
54252012-04-11 Chong Yidong <cyd@gnu.org>
5426
5427 * startup.el (command-line): Remove support for long-obsolete
5428 variable font-lock-face-attributes.
5429
ab7ce8c1
GM
54302012-04-11 Glenn Morris <rgm@gnu.org>
5431
5432 * vc/vc-bzr.el (vc-bzr-status): Avoid condition-case-unless-debug.
5433
de8c03dc
SM
54342012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5435
5436 * window.el (window--state-get-1): Obey window-point-insertion-type.
5437
050cc68b
LB
54382012-04-11 Lennart Borgman <lennart.borgman@gmail.com>
5439
5440 * emacs-lisp/lisp.el (narrow-to-defun): `beginning-of-defun' goes
5441 to previous function when point is on the first character of a
75f1671a 5442 function. Take care of that in `narrow-to-defun' (bug#6157).
050cc68b 5443
a38c310c
GM
54442012-04-11 Glenn Morris <rgm@gnu.org>
5445
effed0c2
GM
5446 * vc/vc-bzr.el (vc-bzr-status): Handle all errors,
5447 not just file-errors.
5448
a38c310c
GM
5449 * vc/vc-bzr.el (vc-bzr-sha1-program, sha1-program): Remove.
5450 (vc-bzr-sha1): Use internal sha1.
5451
0221e323
SM
54522012-04-11 Stefan Monnier <monnier@iro.umontreal.ca>
5453
5454 * progmodes/flymake.el (flymake-mode): Beware read-only dirs (bug#8954).
5455
43956923
SG
54562012-04-10 Sébastien Gross <seb@chezwam.org> (tiny change)
5457
5458 * progmodes/hideshow.el (hs-hide-all): Don't infloop on comments
5459 that start in the middle of the line (bug#10496).
5460
6a8c9eaf
DN
54612012-04-10 Dan Nicolaescu <dann@gnu.org>
5462
5463 * battery.el (battery-linux-proc-acpi): Only one battery is
5464 discharged at a time, but that seems to confuse battery.el when
5465 computing `rate-type' for the battery not being discharged
5466 (bug#10332).
5467
1930bf5d
SM
54682012-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
5469
2a718f6f
SM
5470 * emacs-lisp/autoload.el (autoload-make-program): Remove, unused.
5471
599430d0
SM
5472 * international/quail.el: Use dolist and simplify.
5473 (quail-define-package, quail-update-keyboard-layout)
5474 (quail-define-rules): Use dolist.
5475 (quail-insert-kbd-layout, quail-get-translation): CSE.
5476
a2754b6c
SM
5477 * tmm.el: Use dolist, remove left over hook.
5478 (tmm-prompt, tmm-define-keys, tmm-shortcut, tmm-get-keybind):
5479 Use dolist.
5480 (calendar-load-hook): Don't mess with it.
5481
1930bf5d
SM
5482 * vc/vc-annotate.el (vc-annotate-show-diff-revision-at-line-internal):
5483 Use derived-mode-p. Run the diff asynchronously.
5484
9f67961c
LMI
54852012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5486
5487 * obsolete/mouse-sel.el: Add an Obsolete-since header.
5488
2a8ce227
JB
54892012-04-10 Juanma Barranquero <lekktu@gmail.com>
5490
5491 * misc.el: Display absolute path of loaded DLLs (bug#10424).
5492 (list-dynamic-libraries--loaded): New function.
5493 (list-dynamic-libraries--refresh): Use it.
5494
8f33b5f8
NW
54952012-04-10 Nathan Weizenbaum <nweiz@google.com>
5496
1930bf5d
SM
5497 * progmodes/python.el (python-fill-paragraph):
5498 Make python-fill-region in a multiline string work when font-lock is
8f33b5f8
NW
5499 disabled (bug#7018).
5500
b12f0439
L
55012012-04-10 Laimonas Vėbra <laimonas.vebra@gmail.com> (tiny change)
5502
1930bf5d 5503 * language/european.el (cp775): Add oem/legacy (en)coding on
75f1671a
JB
5504 DOS/MS Windows for the Baltic languages. There are still plenty
5505 of texts written in this encoding/codepage (bug#6519).
b12f0439 5506
57c3bd01
GM
55072012-04-10 Glenn Morris <rgm@gnu.org>
5508
5509 * cus-start.el (eol-mnemonic-unix, eol-mnemonic-dos, eol-mnemonic-mac):
5510 Add :standard values, reducing "rogue" customs in emacs -Q a bit more.
5511
6c3eab30
FA
55122012-04-10 Florian Adamsky <florian@adamsky.it> (tiny change)
5513
1930bf5d 5514 * recentf.el (recentf-dialog-mode-map): Add two keybindings for
6c3eab30
FA
5515 next-line "n" and previous-line "p" in order to make recentf more
5516 consistent with ibuffer, dired or org-mode (bug#9387).
5517
24d78a88
LMI
55182012-04-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
5519
bc72b5d9
LMI
5520 * image.el (put-image): Return the overlay created instead of the
5521 optional input string (bug#7834). Note that this may break code
5522 that is (for some reason or other) depending on `put-image'
5523 returning the string.
5524
bd2dba5a
LMI
5525 * mouse-sel.el (mouse-sel-mode): Mark as obsolete (bug#6174).
5526
74beb59f
LMI
5527 * simple.el (zap-to-char): Allow zapping using input methods
5528 (bug#1580).
5529
24d78a88
LMI
5530 * textmodes/fill.el (fill-region): Leave point and mark where they
5531 were before filling (bug#5399).
5532
263f20cd
GM
55332012-04-09 Glenn Morris <rgm@gnu.org>
5534
5535 * version.el (emacs-bzr-get-version):
5536 Handle lightweight checkouts of local branches.
5537
58d1f797
AS
55382012-04-09 Andreas Schwab <schwab@linux-m68k.org>
5539
263f20cd 5540 * international/characters.el: Recover lost case pairs. (Bug#11209)
58d1f797 5541
b4d3bc10
CY
55422012-04-09 Chong Yidong <cyd@gnu.org>
5543
5544 * custom.el (custom-variable-p): Return nil for non-symbol
5545 arguments instead of signaling an error.
5546 (user-variable-p): Obsolete alias for custom-variable-p.
5547
5548 * apropos.el (apropos-variable):
5549 * files-x.el (read-file-local-variable):
5550 * simple.el (set-variable):
5551 * woman.el (woman-mini-help):
5552 * emacs-lisp/byte-opt.el (side-effect-free-fns): Callers changed.
5553
fd06db5d
GM
55542012-04-09 Glenn Morris <rgm@gnu.org>
5555
e5fcdb5e
GM
5556 * startup.el (normal-top-level): Don't look for leim-list.el
5557 in places where it will not be found. (Bug#910)
5558
fd06db5d
GM
5559 * international/mule-cmds.el (set-default-coding-systems):
5560 * files.el (normal-mode):
5561 Remove guarded calls to ucs-set-table-for-input. (Bug#9821)
5562 This function was removed with ucs-tables.el in 2008.
5563
b39bb7e1
EZ
55642012-04-08 Eli Zaretskii <eliz@gnu.org>
5565
5566 * textmodes/ispell.el (ispell-check-version): For hunspell, set
5567 ispell-encoding8-command to "-i", without a trailing space.
5568 (ispell-start-process): For hunspell, use '("-i" ENCODING), in 2
5569 separate command-line arguments, to specify the encoding, since
5570 that's how hunspell expects it.
5571
5c5b8e23
GM
55722012-04-08 Glenn Morris <rgm@gnu.org>
5573
5574 * loadup.el: Load bindings before cus-start.
5575 This reduces somewhat the number of "rogue" settings in emacs -Q.
5576
a1ed8b05
GM
55772012-04-07 Glenn Morris <rgm@gnu.org>
5578
5579 * version.el (emacs-bzr-get-version): New function.
dfae128a 5580 (emacs-bzr-version): New variable.
a1ed8b05
GM
5581 * loadup.el (emacs-bzr-version): Set it. (Bug#8054)
5582 * mail/emacsbug.el (report-emacs-bug): Include bzr version.
5583
b142f158
EZ
55842012-04-07 Eli Zaretskii <eliz@gnu.org>
5585
dfae128a
GM
5586 * international/uni-bidi.el, international/uni-category.el:
5587 * international/uni-combining.el, international/uni-decimal.el:
5588 * international/uni-decomposition.el, international/uni-digit.el:
5589 * international/uni-lowercase.el, international/uni-mirrored.el:
5590 * international/uni-name.el, international/uni-numeric.el:
5591 * international/uni-titlecase.el, international/uni-uppercase.el:
5592 Update for Unicode 6.1.
b142f158 5593
9078ead6
EZ
55942012-04-07 Eli Zaretskii <eliz@gnu.org>
5595
5596 * term/w32-win.el (dynamic-library-alist): Add libxml2 DLLs.
5597
f23d2c7d
LMI
55982012-04-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
5599
5600 * window.el (shrink-window): Mention the `window-min-height'
5601 variable in the doc string.
5602
0a0a3573
BG
56032012-04-05 Bastien Guerry <bzg@altern.org>
5604
5605 * color.el (color-lighten-name): Fix typo.
5606
e5248ac9
SM
56072012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5608
5609 * server.el (server--on-display-p): New function.
5610 (server--on-display-p): Use it.
5611
b4243e22
GV
56122012-04-04 Gabor Vida <vidagabor@gmail.com> (tiny change)
5613
5614 * ido.el (ido-wide-find-dirs-or-files): Use file-name-absolute-p
5615 (bug#11145).
5616
305d9f44
SM
56172012-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
5618
5619 * comint.el (comint--common-quoted-suffix): Check string boundary
5620 before comparing (bug#11158).
5621 * pcomplete.el (pcomplete--common-quoted-suffix): Idem.
5622
3d439cd1
CY
56232012-04-04 Chong Yidong <cyd@gnu.org>
5624
321cc491
CY
5625 * minibuffer.el (completion-extra-properties): Doc fix.
5626
3d439cd1
CY
5627 * subr.el (delayed-warnings-hook): Doc fix.
5628
2d562c0f
DU
56292012-04-04 Daiki Ueno <ueno@unixuser.org>
5630
5631 * epa.el (epa--select-keys): Bind C-c C-c to finish the key
5632 selection (Bug#11159).
5633 (epa-insert-keys): Inform that the default public key will be
5634 exported if no key is selected.
5635
4443f204
RS
56362012-04-04 Richard Stallman <rms@gnu.org>
5637
5638 * mail/emacsbug.el (report-emacs-bug): Bind inhibit-read-only.
5639
529c06b6
CY
56402012-04-03 Chong Yidong <cyd@gnu.org>
5641
5642 * mail/sendmail.el (mail-mode-map): Bind C-c C-i to
5643 mail-insert-file, not its obsolete alias mail-attach-file.
5644
66b907dc
MA
56452012-04-03 Michael Albinus <michael.albinus@gmx.de>
5646
5647 * notifications.el (notifications-notify): Fix docstring.
5648
c0ea195d
GM
56492012-04-02 Glenn Morris <rgm@gnu.org>
5650
5651 * emacs-lisp/authors.el (authors-aliases): Another addition.
5652
5ca64e00
MA
56532012-04-02 Michael Albinus <michael.albinus@gmx.de>
5654
5655 * net/tramp-gvfs.el (tramp-gvfs-send-command): Apply
5656 `tramp-compat-call-process' instead of `tramp-local-call-process'.
5657 Reported by Magnus Henoch <magnus.henoch@gmail.com>.
5658
42ee526b
CY
56592012-04-01 Chong Yidong <cyd@gnu.org>
5660
5661 * files.el (file-in-directory-p): Rename from file-subdir-of-p.
5662 Handle root directory properly.
5663 (copy-directory): Caller changed.
5664
5665 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5666 * net/tramp.el (tramp-file-name-for-operation): Callers changed.
5667
0b021094
GM
56682012-03-31 Glenn Morris <rgm@gnu.org>
5669
40f86458
GM
5670 * term/xterm.el (xterm-extra-capabilities): Doc fix.
5671
7019c177
GM
5672 * language/indian.el ("Devanagari"): Fix typo. (Bug#11103)
5673
a1daddd6
GM
5674 * calendar/calendar.el (calendar-window-list)
5675 (calendar-hide-window): Restore. (Bug#11140)
5676 (calendar-exit): Use calendar-window-list, calendar-hide-window again.
5677
0b021094
GM
5678 * emacs-lisp/edebug.el (edebug-unwrap-results): Doc fix.
5679
40311efc
TV
56802012-03-30 Thierry Volpiatto <thierry.volpiatto@gmail.com>
5681
5682 * dired-aux.el (dired-copy-file-recursive, dired-create-files):
5683 Check if file is a symlink (Bug#10489).
5684
5685 * files.el (copy-directory): Likewise.
5686
5319014e
CY
56872012-03-30 Chong Yidong <cyd@gnu.org>
5688
5689 * image.el (imagemagick-types-inhibit)
5690 (imagemagick-register-types): Doc fix.
5691
935d1290
AM
56922012-03-30 Agustín Martín Domingo <agustin.martin@hispalinux.es>
5693
090bd7cb 5694 * textmodes/ispell.el (ispell-get-extended-character-mode):
ef24141c 5695 Disable extended-char-mode for hunspell. hunspell does not support it
75f1671a 5696 and treats ~word as ordinary words in pipe mode.
935d1290 5697
61c6e8fd
GM
56982012-03-30 Glenn Morris <rgm@gnu.org>
5699
5700 * tutorial.el (help-with-tutorial): Ensure local variables don't
5701 happen to make the buffer read-only. (Bug#11127)
5702
81fdff00
SM
57032012-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
5704
5705 * progmodes/perl-mode.el (perl-indent-line): Use `noindent' in strings.
5706 (perl-calculate-indent): Return `noindent' in strings.
5707
6e7a6ec0
SS
57082012-03-28 Sam Steingold <sds@gnu.org>
5709
5710 * calendar/calendar.el (calendar-exit): Use `quit-windows-on'
5711 instead of the broken adhockery which does not prevent calendar
5712 buffers from being displayed at random after exit.
5713 (calendar-window-list, calendar-hide-window): Remove the broken
5714 adhockery.
5715
fee88ca0
GM
57162012-03-28 Glenn Morris <rgm@gnu.org>
5717
5718 * replace.el (query-replace-map): Doc fix.
5719
38de3354
AS
57202012-03-28 Andreas Schwab <schwab@linux-m68k.org>
5721
5722 * vc/vc-git.el (vc-git-state): Don't try to match all of the diff
5723 contents. (Bug#11109)
5724
b973155e
SM
57252012-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
5726
5727 * emacs-lisp/avl-tree.el (avl-tree--enter-balance): Fix paren typo
5728 (bug#11077).
5729 (avl-tree--check, avl-tree--check-node): New funs.
5730
dcb6e7b3
MR
57312012-03-27 Martin Rudalics <rudalics@gmx.at>
5732
5733 * window.el (switch-to-visible-buffer): New option.
b973155e
SM
5734 (switch-to-prev-buffer, switch-to-next-buffer):
5735 Observe switch-to-visible-buffer. Make sure that checking for a window
dcb6e7b3
MR
5736 showing a buffer already is done on the same frame.
5737
b4fa35fa
GM
57382012-03-27 Glenn Morris <rgm@gnu.org>
5739
5740 * startup.el (mail-host-address): Doc fix.
5741
f9210e18
SM
57422012-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
5743
5744 * emacs-lisp/bytecomp.el (byte-compile-constants-vector): Allow more
5745 than 197 variables.
5746
c0bf7753
AF
57472012-03-26 Ami Fischman <ami@fischman.org>
5748
5749 * vc/vc-git.el (vc-git-state): Avoid unnecessarily locking.
5750
33da7b16
GM
57512012-03-26 Glenn Morris <rgm@gnu.org>
5752
02243d9d
GM
5753 * files.el (save-buffers-kill-emacs): Doc fix.
5754
33da7b16
GM
5755 * startup.el (normal-top-level, command-line, command-line-1):
5756 Give them doc strings.
5757
e5a69fd0
EZ
57582012-03-25 Eli Zaretskii <eliz@gnu.org>
5759
5760 * makefile.w32-in (install): Use $(DIRNAME)_same-dir.tst instead
b973155e 5761 of same-dir.tst, to avoid stepping on other (parallel) Make job's toes.
e5a69fd0 5762
9a69676a
CY
57632012-03-25 Chong Yidong <cyd@gnu.org>
5764
4125cb8b
CY
5765 * custom.el (load-theme): Even if NO-ENABLE arg is t, reenable the
5766 theme if it was previously enabled before (Bug#11031).
5767
dd470960
CY
5768 * cus-theme.el (custom-theme-write-faces): Retrieve current face
5769 spec with custom-face-get-current-spec if its :shown-value is not
5770 determined yet (Bug#9337).
4125cb8b 5771 (customize-create-theme, custom-theme-revert): Doc fixes.
dd470960 5772
9a69676a
CY
5773 * button.el (button-at): Minor addition to docstring.
5774
6e7e90fa
SL
57752012-03-24 Simon Leinen <simon.leinen@gmail.com>
5776
5777 * vc/vc.el (vc-merge): Fix a prompt.
5778
f06e2758
CY
57792012-03-24 Chong Yidong <cyd@gnu.org>
5780
5781 * mwheel.el (mwheel-scroll): Call deactivate-mark at the right
5782 point (Bug#9623).
5783
6e7e90fa
SL
5784 * button.el (button-at): Minor addition to docstring.
5785
b9d0879b
SM
57862012-03-23 Stefan Monnier <monnier@iro.umontreal.ca>
5787
5788 * newcomment.el (comment-choose-indent): No space after BOL.
5789
e71cebb3
SS
57902012-03-22 Sam Steingold <sds@gnu.org>
5791
5792 * window.el (switch-to-prev-buffer): Revert last patch because the
5793 bug turned out to be an advertised feature (Elisp manual 28.14).
5794
335aff35
GM
57952012-03-22 Glenn Morris <rgm@gnu.org>
5796
5797 * vc/vc-bzr.el (vc-bzr-status-switches): New option. (Bug#6724)
5798 (vc-bzr-command): If running "status", pass vc-bzr-status-switches.
5799
c676576a
LMI
58002012-03-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
5801
5802 * net/network-stream.el (network-stream-open-starttls): Make error
5803 message under Windows be less misleading.
5804
126f3d39
LW
58052012-03-22 Liang Wang <netcasper@gmail.com> (tiny change)
5806
5807 * progmodes/etags.el (etags-list-tags): Only use tags which goto-func
5808 understands (bug#9942).
5809
64fee311
CY
58102012-03-22 Chong Yidong <cyd@gnu.org>
5811
5812 * simple.el (end-of-visible-line): Handle return value of
5813 next-single-property-change properly (Bug#9371).
5814
a640d29a
KH
58152012-03-22 Kenichi Handa <handa@m17n.org>
5816
5817 * international/quail.el (quail-insert-kbd-layout): Fix previous
5818 change. To avoid unwanted bidi reordering, use
5819 bidi-string-mark-left-to-right instead of inserting LRO and PDF.
5820
39675016
DG
58212012-03-21 Dmitry Gutov <dgutov@yandex.ru>
5822
5823 * progmodes/ruby-mode.el: Don't confuse "end:" for "end" (bug#10786).
5824 (ruby-block-end-re, ruby-delimiter, ruby-parse-partial)
5825 (ruby-beginning-of-indent): Be more careful with the difference
5826 between word-boundary and symbol boundary.
5827 (ruby-mode-syntax-table): Make : a symbol constituent.
5828
0a6934fc 58292012-03-21 Andreas Politz <politza@fh-trier.de>
1acad97c 5830
3d008e4f
SM
5831 * outline.el (outline-flag-region): Evaporate overlays (bug#10789).
5832
0a6934fc
SM
58332012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5834
af67c9d7
SM
5835 * progmodes/etags.el (tags-completion-at-point-function):
5836 Improve last fix.
5837
1acad97c
SM
5838 * files.el (move-file-to-trash): Files aren't regexps (bug#11055).
5839
e298b5da
SS
58402012-03-21 Sam Steingold <sds@gnu.org>
5841
5842 * progmodes/etags.el (tags-completion-at-point-function):
5843 Avoid the error when point is inside the pattern.
5844
91d82a70
JY
58452012-03-21 John Yates <john@yates-sheets.org> (tiny change)
5846
5847 * progmodes/hideshow.el (hs-inside-comment-p): Fix hiding of first
5848 line (Bug#10855).
5849
69188b79
CY
58502012-03-21 Drew Adams <drew.adams@oracle.com>
5851
5852 * info.el (Info-menu): Handle string value of FORK arg (Bug#10858).
5853
99fc91fe
AK
58542012-03-21 Anmol Khirbat <anmol@khirbat.net> (tiny change)
5855
5856 * ido.el (ido-set-current-directory, ido-read-internal)
5857 (ido-choose-completion-string, ido-completion-help): Handle nil
5858 value of ido-completion-buffer (Bug#11008).
5859
087bbb4c
SS
58602012-03-21 Sam Steingold <sds@gnu.org>
5861
5862 * window.el (switch-to-prev-buffer): Do not switch to a visible
5863 window previous buffer, just like with the frame previous buffers.
5864
fb5b8aca
CY
58652012-03-21 Chong Yidong <cyd@gnu.org>
5866
5867 * faces.el (make-face, make-empty-face, copy-face):
5868 * face-remap.el (face-remap-add-relative, face-remap-set-base):
5869 Doc fixes.
5870
dc9924b8
SM
58712012-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
5872
5873 * wid-edit.el (widget-complete-field): Remove (bug#11051).
5874 (widget-complete): Remove broken use of it.
5875
f0bcceb9
CY
58762012-03-20 Chong Yidong <cyd@gnu.org>
5877
dc9924b8
SM
5878 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
5879 Use string-width and truncate-string-width to handle arbitrary
f0bcceb9
CY
5880 characters.
5881
ee52ebf3
TH
58822012-03-20 Tassilo Horn <tassilo@member.fsf.org>
5883
5884 * textmodes/artist.el (artist-menu-map): Bind Rectangle menu item
5885 to draw rectangles, not squares. (Regression introduced by revno
5886 2011-03-02T03:48:01Z!cyd@stupidchicken.com)
5887
4c5779ab
CY
58882012-03-18 Chong Yidong <cyd@gnu.org>
5889
5890 * faces.el (face-spec-reset-face): Don't call display-graphic-p if
5891 it is not yet defined (for temacs).
5892
15360934
LL
58932012-03-18 Leo Liu <sdl.web@gmail.com>
5894
dc9924b8 5895 * net/rcirc.el (rcirc-cmd-quit): Allow quiting all servers with prefix.
15360934 5896
d9a8eb66
EZ
58972012-03-17 Eli Zaretskii <eliz@gnu.org>
5898
5899 * textmodes/ispell.el (ispell-skip-tib, ispell-keep-choices-win)
5900 (ispell-choices-win-default-height, ispell-silently-savep)
5901 (ispell-dictionary-alist, ispell-encoding8-command)
5902 (ispell-check-version, ispell-aspell-find-dictionary)
5903 (ispell-valid-dictionary-list, ispell-words-keyword)
5904 (ispell-get-word, ispell-internal-change-dictionary)
5905 (ispell-region, ispell-skip-region-list)
5906 (ispell-begin-skip-region-regexp, ispell-ignore-fcc)
5907 (ispell-process-line, ispell-minor-mode, ispell-minor-check)
5908 (ispell-message-text-end, ispell-message)
5909 (ispell-buffer-local-parsing): Doc fix.
5910
f02ff80d
J
59112012-03-13 Jambunathan K <kjambunathan@gmail.com>
5912
5913 * htmlfontify.el: Add support for code block fontification for ODT
5914 export (Bug #9914).
5915 (hfy-optimisations): Define new option
5916 `body-text-only'
5917 (hfy-fontify-buffer): Honor above setting.
5918 (hfy-begin-span, hfy-end-span): New routines factored out form
5919 `hfy-fontify-buffer'.
5920 (hfy-begin-span-handler, hfy-end-span-handler): New variables
5921 that permit insertion of custom tags.
5922 (hfy-fontify-buffer): Use above handlers.
5923 (hfy-face-to-css-default): Same as the earlier `hfy-face-to-css'.
5924 (hfy-face-to-css): Re-defined to be a variable.
dc9924b8 5925 (hfy-compile-stylesheet): Modify. Allow stylesheet to be built
75f1671a 5926 over multiple runs. This is made possible by having the caller let
f02ff80d
J
5927 bind a special variable `hfy-user-sheet-assoc'.
5928 (htmlfontify-string): New defun.
5929 (hfy-compile-face-map): Make sure that the last char in the
5930 buffer is correctly fontified.
5931 (hfy-face-resolve-face): Whitespace only change.
5932
9ac7a13f
EZ
59332012-03-17 Eli Zaretskii <eliz@gnu.org>
5934
5935 * textmodes/ispell.el (ispell-get-decoded-string): Make the error
5936 message more clear.
5937
e2b5bdd7
LL
59382012-03-16 Leo Liu <sdl.web@gmail.com>
5939
5940 * emacs-lisp/copyright.el (copyright-year-ranges): Fix typo.
5941
2e492df3
AM
59422012-03-16 Alan Mackenzie <acm@muc.de>
5943
5944 Further optimise the handling of large macros.
5945
5946 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Use a
5947 limit to a call of `c-literal-limits'.
5948 (c-determine-+ve-limit): New function.
dc9924b8
SM
5949 (c-at-macro-vsemi-p): Move `c-in-literal' to the bottom of an `and'.
5950 (c-guess-basic-syntax): In macros, restrict a search limit to 2000.
2e492df3
AM
5951 In CASE 5B, restrict a search limit to 500.
5952 (c-just-after-func-arglist-p): Obviouly wrong `or' -> `and'.
5953
5954 * progmodes/cc-mode.el (c-neutralize-syntax-in-and-mark-CPP):
5955 Restrict macro bounds to +-500 from after-change's BEG END.
5956
50e94f0c
LL
59572012-03-16 Leo Liu <sdl.web@gmail.com>
5958
5959 * font-lock.el (lisp-font-lock-keywords-2): Add letrec.
5960
6f09f6ed
AH
59612012-03-16 Aaron S. Hawley <Aaron.S.Hawley@gmail.com>
5962
5963 * tar-mode.el (tar-mode): Fix saving by conditionally undoing
dc9924b8 5964 `special-mode' setting of `buffer-read-only'. (Bug#11010)
6f09f6ed 5965
c7e73d51
GM
59662012-03-16 Glenn Morris <rgm@gnu.org>
5967
da986230
GM
5968 * view.el (view-buffer, view-buffer-other-window)
5969 (view-buffer-other-frame): Doc fixes re special mode-class.
5970
0835f01e
GM
5971 * subr.el (eval-after-load): If named feature is provided not from
5972 a file, run after-load forms. (Bug#10946)
5973
c7e73d51
GM
5974 * calendar/calendar.el (calendar-insert-at-column):
5975 Handle non-unit-width characters a bit better. (Bug#10978)
5976
3f2eafd1
CY
59772012-03-15 Chong Yidong <cyd@gnu.org>
5978
5979 * emacs-lisp/ring.el (ring-extend): New function.
5980 (ring-insert+extend): Extend the ring correctly (Bug#11019).
5981
5982 * comint.el (comint-read-input-ring)
5983 (comint-add-to-input-history): Grow comint-input-ring lazily.
5984
103af3fe
SM
59852012-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
5986
663b1677
SM
5987 * progmodes/perl-mode.el (perl-syntax-propertize-special-constructs):
5988 Fix up parsing of multiline twoarg non-paired elements (bug#11014).
5989
103af3fe
SM
5990 * imenu.el: Fix multiple inheritance breakage (bug#9199).
5991 (imenu-add-to-menubar): Don't add a redundant index.
5992 (imenu-update-menubar): Handle a dynamically composed keymap.
5993
899cb7cb
KY
59942012-03-13 Katsumi Yamaoka <yamaoka@jpl.org>
5995
5996 * mail/sendmail.el (mail-encode-header):
5997 Bind rfc2047-encode-encoded-words to nil.
5998
3809f91d
GM
59992012-03-13 Glenn Morris <rgm@gnu.org>
6000
6001 * calendar/calendar.el (calendar-string-spread):
6002 Handle non-unit-width characters a bit better. (Bug#10978)
6003
9e345a01
LL
60042012-03-13 Leo Liu <sdl.web@gmail.com>
6005
6006 * vc/vc-hg.el (vc-hg-working-revision): Rework to work with both
6007 directory and file as argument (Bug#10822).
6008
4a07df36
KS
60092012-03-13 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6010
6011 * progmodes/gdb-mi.el (gdb-invalidate-disassembly):
6012 For dynamically generated code, follow $PC.
6013 (gdb-disassembly-handler-custom): Handle no function name case.
6014
4aaa9356
TL
60152012-03-13 Tim Landscheidt <tim@tim-landscheidt.de> (tiny change)
6016
6017 * calendar/icalendar.el (icalendar-export-file, icalendar-import-file):
6018 * emulation/ws-mode.el (ws-query-replace):
6019 * sort.el (sort-regexp-fields):
6020 Fix missing trailing whitespace in interactive prompts. (Bug#11002)
6021
225979da
SM
60222012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6023
6024 * dabbrev.el: Fix cycle completion order (bug#10963).
6025 (dabbrev--last-obarray, dabbrev--last-completion-buffer): Remove.
6026 (dabbrev-completion): Don't use an obarray; provide
6027 a cycle-sort-function.
6028
e2f1fdab
LL
60292012-03-12 Leo Liu <sdl.web@gmail.com>
6030
dc9924b8 6031 * simple.el (kill-new): Use equal-including-properties for comparison.
e2f1fdab
LL
6032 (kill-do-not-save-duplicates): Doc fix.
6033
b19490ed
SM
60342012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6035
6036 * dabbrev.el: Fix cycle completion (bug#10963).
6037 Use lexical binding and wrap to 80 columns.
6038 (dabbrev-completion): Delay computing the list of completions.
6039
4b05d722
KH
60402012-03-12 Kenichi Handa <handa@m17n.org>
6041
6042 * international/quail.el (quail-insert-kbd-layout): Surround each
6043 row by LRO and PDF instead of inserting many LRMs. Pad the left
6044 and right of each non-spacing marks. Insert invisible space
6045 between lower and upper characters to prevent composition.
6046
dbbc2e69
SM
60472012-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
6048
6049 * minibuffer.el (minibuffer-complete): Don't get confused when the
6050 function is run twice via different commands (bug#10958).
6051 (complete-with-action): Fix docstring.
6052
292112ed
CY
60532012-03-12 Chong Yidong <cyd@gnu.org>
6054
5d1ac394
CY
6055 * nxml/nxml-mode.el (nxml-mode-map): Do not bind C-RET (Bug#6776).
6056 (nxml-completion-at-point-function): New function.
6057 (nxml-mode): Use it.
6058 (nxml-bind-meta-tab-to-complete-flag): Default to t.
6059
292112ed
CY
6060 * emacs-lisp/package.el (package-unpack, package-unpack-single):
6061 Load generated autoloads file before byte compiling (Bug#10970).
6062 (package--make-autoloads-and-compile): New helper fun.
6063
4098f8f7
CS
60642012-03-12 Christopher Schmidt <christopher@ch.ristopher.com>
6065
6066 * ibuffer.el (ibuffer-redisplay): Remove another gratuitous error.
6067
8f754691
MA
60682012-03-11 Michael Albinus <michael.albinus@gmx.de>
6069
6070 * autorevert.el (auto-revert-handler): Ensure, that
6071 file-readable-p is applied only for local files or in
6072 auto-revert-tail-mode.
6073
e29ab36b
AS
60742012-03-11 Andreas Schwab <schwab@linux-m68k.org>
6075
dbbc2e69
SM
6076 * server.el (server-eval-at): Handle non-tcp connections.
6077 Decode result string.
ad0bf5b6 6078
e29ab36b
AS
6079 * server.el (server-msg-size): New constant.
6080 (server-reply-print): New function.
6081 (server-eval-and-print): Use it.
6082 (server-eval-at): Use server-quote-arg and server-unquote-arg.
6083 Handle -print-nonl.
6084
de5939ba
CS
60852012-03-11 Christopher Schmidt <christopher@ch.ristopher.com>
6086
6087 * ibuffer.el (ibuffer-redisplay): Remove gratuitous error
6088 (Bug#10987).
6089
0c93eabf
CY
60902012-03-11 Chong Yidong <cyd@gnu.org>
6091
397a688f
CY
6092 * simple.el (goto-line): Doc fix (Bug#9938).
6093
2cc775f9
CY
6094 * subr.el (save-window-excursion): Doc fix (Bug#9979).
6095
0c93eabf
CY
6096 * dabbrev.el (dabbrev--find-expansion): Update progress reporter
6097 when finished (Bug#10963).
6098
c491fa41
MR
60992012-03-11 Martin Rudalics <rudalics@gmx.at>
6100
6101 * window.el (split-window-below): Fix bug in case where
6102 split-window-keep-point is nil (Bug#10971).
6103
300e8fa5
JL
61042012-03-11 Juri Linkov <juri@jurta.org>
6105
6106 * replace.el (replace-highlight): Set isearch-word to nil
6107 unconditionally. (Bug#10887)
6108
dbf6c5a1
EZ
61092012-03-10 Eli Zaretskii <eliz@gnu.org>
6110
6111 * net/mairix.el (mairix-replace-invalid-chars): Rename from
6112 mairix-replace-illegal-chars; all callers changed. Don't remove
dc9924b8 6113 ^, ~, and = characters: they are meaningful in mairix search specs.
dbf6c5a1
EZ
6114 (mairix-widget-create-query): Add usage information about mairix
6115 search forms: negating words, searching for substrings, etc.
6116
b9e501de
JP
61172012-03-10 Jae-hyeon Park <jae-hyeon.park@desy.de> (tiny change)
6118
6119 * international/fontset.el (font-encoding-alist): Add an entry for
6120 ksx1001 (Bug#5667).
6121
92795c91
RS
61222012-03-10 Richard Stallman <rms@gnu.org>
6123
1694e6c1
RS
6124 * mail/sendmail.el (mail-encode-header):
6125 Set rfc2047-encode-encoded-words.
6126
607e8555
RS
6127 * mail/mail-utils.el (mail-quote-printable): Quote multibyte chars.
6128
de3bc99a
RS
6129 * mail/rmail.el (rmail-buffers-swapped-p): Don't assume dead
6130 view buffer means not swapped.
6131 (rmail-view-buffer-kill-buffer-hook): Give buf name in error msg.
6132 (rmail-write-region-annotate): Error if real text has disappeared.
6133
92795c91
RS
6134 * epa-mail.el (epa-mail-encrypt): Bind inhibit-read-only.
6135
699bd04e
CY
61362012-03-10 Chong Yidong <cyd@gnu.org>
6137
6138 * emulation/cua-rect.el (cua--init-rectangles):
dbbc2e69
SM
6139 * emulation/cua-base.el (cua--init-keymaps):
6140 Add delete-forward-char to remappings (Bug#9666).
699bd04e 6141
570a1714
MR
61422012-03-10 Martin Rudalics <rudalics@gmx.at>
6143
dbbc2e69
SM
6144 * speedbar.el (speedbar-unhighlight-one-tag-line):
6145 Avoid unhighlighting due to frame switching (Bug#10275).
570a1714 6146
82dcf4e4
CY
61472012-03-10 Chong Yidong <cyd@gnu.org>
6148
7a2c7ca7
CY
6149 * minibuffer.el (completion-in-region, completion-help-at-point):
6150 Give the completion field overlay a high priority (Bug#6830).
6151
82dcf4e4
CY
6152 * dired.el (dired-goto-file): Recognize absolute file name
6153 listings (Bug#7126).
6154 (dired-goto-file-1): New helper function.
6155 (dired-toggle-read-only): Inhibit warnings.
6156
052e28ac
MA
61572012-03-09 Michael Albinus <michael.albinus@gmx.de>
6158
75f1671a 6159 * net/dbus.el (dbus-property-handler): Return empty array if
052e28ac
MA
6160 there are no properties.
6161
95d5e396
LL
61622012-03-09 Leo Liu <sdl.web@gmail.com>
6163
6164 * savehist.el (savehist-printable): Stricter check for string
6165 value (Bug#10937).
6166
3f018d6d
EZ
61672012-03-09 Eli Zaretskii <eliz@gnu.org>
6168
dbbc2e69
SM
6169 * mail/smtpmail.el (smtpmail-send-it):
6170 Bind coding-system-for-write to *-unix, so that FCC files are kept in
3f018d6d
EZ
6171 valid mbox format.
6172
f7fd3d79
GM
61732012-03-09 Glenn Morris <rgm@gnu.org>
6174
6175 * files.el (dir-locals-find-file):
6176 Don't check result is regular, readable.
6177 (dir-locals-read-from-file): Demote errors.
6178
6ff6e72f
EZ
61792012-03-08 Eli Zaretskii <eliz@gnu.org>
6180
dbbc2e69
SM
6181 * international/quail.el (quail-insert-kbd-layout):
6182 Insert invisible LRM characters before each character in a keyboard
6ff6e72f
EZ
6183 layout cell, to prevent their reordering by bidi display engine.
6184 For details, see the discussion in
6185 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00085.html.
6186
9cec7834
AM
61872012-03-08 Alan Mackenzie <acm@muc.de>
6188
6189 * progmodes/cc-cmds.el (c-mark-function): Make it leave a mark at
6190 the starting position; make it extend the marked region when
6191 invoked repeatedly - all under appropriate circumstances.
6192 Fixes bugs #5525, #10906.
6193
9a40b8d4
GM
61942012-03-08 Glenn Morris <rgm@gnu.org>
6195
6196 * files.el (locate-dominating-file, dir-locals-find-file):
6197 Undo 2012-03-06 change.
6198
7a08ed35
EZ
61992012-03-07 Eli Zaretskii <eliz@gnu.org>
6200
dbbc2e69
SM
6201 * international/quail.el (quail-help):
6202 Force bidi-paragraph-direction be left-to-right. See discussion in
7a08ed35
EZ
6203 http://lists.gnu.org/archive/html/emacs-devel/2012-03/msg00062.html
6204 for the reason.
6205
5aca4f71 62062012-03-07 Michael Albinus <michael.albinus@gmx.de>
6612a284
MA
6207
6208 Avoid superfluous registering of signals. (Bug#10807)
6209
6210 * notifications.el (notifications-on-action-object)
6211 (notifications-on-close-object): New defvars.
6212 (notifications-on-action-signal, notifications-on-closed-signal):
6213 Unregister the signal if not needed any longer.
6214 (notifications-notify): Register `notifications-action-signal' or
6215 `notifications-closed-signal', if :on-action or :on-close has been
6216 passed as argument.
6217
78e8b10a
CY
62182012-03-07 Chong Yidong <cyd@gnu.org>
6219
6220 * cus-start.el: Avoid x-select-enable-clipboard-manager warning on
6221 non-X platforms.
6222
69481eb8
GM
62232012-03-06 Glenn Morris <rgm@gnu.org>
6224
6225 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6226 (x-disown-selection-internal, x-get-selection-internal):
6227 Doc fix (add arglist signatures). (Bug#10783)
6228
133b8e11
KS
62292012-03-06 Kaushik Srenevasan <ksrenevasan@gmail.com> (tiny change)
6230
6231 * progmodes/gdb-mi.el (gdb-breakpoints-list-handler-custom):
6232 Handle breakpoints with no "type".
6233
99a83064
GM
62342012-03-06 Glenn Morris <rgm@gnu.org>
6235
6236 * files.el (locate-dominating-file): Add optional predicate argument.
6237 (dir-locals-find-file): Make use of above change.
6238
17798e78
TTN
62392012-03-06 Thien-Thi Nguyen <ttn@gnuvola.org>
6240
6241 * info.el (Info-insert-dir): Also try "dir.gz".
6242
eb182446
GM
62432012-03-06 Glenn Morris <rgm@gnu.org>
6244
8f2114ee
GM
6245 * files.el (dir-locals-find-file):
6246 Ignore non-readable or non-regular files. (Bug#10928)
6247
eb182446
GM
6248 * files.el (locate-dominating-file): Doc fix.
6249
24679323
AS
62502012-03-06 Adam Spiers <emacs@adamspiers.org> (tiny change)
6251
6252 * calendar/calendar.el (calendar-set-mode-line):
6253 `getenv' returns a string. (Bug#10951)
6254
01d972a9
LL
62552012-03-05 Leo Liu <sdl.web@gmail.com>
6256
109aa8a9
LL
6257 * simple.el (backward-delete-char-untabify): Constrain point to
6258 field (Bug#10939).
6259
01d972a9
LL
6260 * eshell/em-cmpl.el (eshell-cmpl-initialize): Fix shift-tab key.
6261
10607bea
CY
62622012-03-05 Chong Yidong <cyd@gnu.org>
6263
6264 * simple.el (count-words): If called from Lisp, return the word
6265 count, for symmetry with `count-lines'. Arglist changed.
6266 (count-words--message): Args changed. Consolidate counting code
6267 from count-words and count-words-region.
6268 (count-words-region): Caller changed.
6269 (count-lines-region): Make it an obsolete alias.
6270
5dd11cfe
TH
62712012-03-04 Tassilo Horn <tassilo@member.fsf.org>
6272
6273 * saveplace.el (save-place-to-alist)
6274 (save-place-ignore-files-regexp): Allow value nil to disable this
6275 feature.
6276
c349f4e6
CY
62772012-03-04 Chong Yidong <cyd@gnu.org>
6278
6279 * faces.el (face-spec-reset-face): For the default face, reset the
6280 attributes to default values (Bug#10748).
6281
e627be4c
LMI
62822012-03-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
6283
6284 * mail/emacsbug.el (report-emacs-bug-hook): Fix up thinko in
6285 previous patch: Check `message-send-mail-function', and not the
6286 default function (bug#10897).
6287
ebeabff4
MA
62882012-03-04 Michael Albinus <michael.albinus@gmx.de>
6289
a41a6cf4
MA
6290 * notifications.el (notifications-on-action-signal)
6291 (notifications-on-closed-signal): Check for unique service name of
6292 incoming event. Fix error in removing entry.
ebeabff4 6293 (top): Register for signals with wildcard service name.
a41a6cf4 6294 (notifications-notify): Use daemon unique service name for map entries.
ebeabff4 6295
c1ca42b4
CY
62962012-03-04 Chong Yidong <cyd@gnu.org>
6297
dc9924b8 6298 * cus-start.el: Make x-select-enable-clipboard-manager customizable.
c1ca42b4 6299
ea16568d
GM
63002012-03-04 Glenn Morris <rgm@gnu.org>
6301
6302 * abbrev.el (copy-abbrev-table, abbrev-table-p)
6303 (abbrev-minor-mode-table-alist, define-abbrev, abbrev-insert)
6304 (expand-abbrev, define-abbrev-table): Doc fixes.
6305
fbae4637
LMI
63062012-03-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
6307
6308 * mail/emacsbug.el (report-emacs-bug-hook): Look at the value of
6309 `message-default-send-mail-function' and not `send-mail-function'
6310 when doing the prompting for `sendmail-query-once' before sending
6311 in Message buffers (bug#10897).
6312
a1e7225c
LMI
6313 * net/tls.el (open-tls-stream): Don't set the dont-query-on-exit flag.
6314 This is inconsistent with all the other stream functions, which leave
6315 the setting up to the higher levels (if so wanted) (bug#10931).
6316
56d093a9
AM
63172012-03-02 Alan Mackenzie <acm@muc.de>
6318
6319 Depessimize the handling of very large macros.
6320
6321 * progmodes/cc-engine.el (c-macro-cache, c-macro-cache-start-pos):
6322 (c-macro-cache-syntactic): New variables to implement a one
6323 element macro cache.
6324 (c-invalidate-macro-cache): New function.
6325 (c-beginning-of-macro, c-end-of-macro, c-syntactic-end-of-macro):
6326 Adapt to use the new cache.
6327 (c-state-safe-place): Use better the cache of safe positions.
6328 (c-state-semi-nonlit-pos-cache)
6329 (c-state-semi-nonlit-pos-cache-limit):
6330 New variables for...
6331 (c-state-semi-safe-place): New function. Here, in a macro is "safe".
6332 (c-invalidate-state-cache-1): New stuff for c-state-semi-safe-place.
dbbc2e69
SM
6333 (c-in-literal, c-literal-limits, c-determine-limit-get-base):
6334 Use c-state-semi-safe-place.
56d093a9 6335
dbbc2e69
SM
6336 * progmodes/cc-langs.el (c-get-state-before-change-functions):
6337 Add c-invalidate-macro-cache to the C, C++, Obj entries.
56d093a9 6338
817e5c3d
MA
63392012-03-02 Michael Albinus <michael.albinus@gmx.de>
6340
dbbc2e69
SM
6341 * jka-compr.el (jka-compr-call-process):
6342 Apply `file-accessible-directory-p' only when the default directory is
817e5c3d
MA
6343 not remote.
6344
a032a702
MA
63452012-03-01 Michael Albinus <michael.albinus@gmx.de>
6346
6347 * files.el (file-equal-p): Fix docstring. Avoid unnecessary
6348 access of FILE2, if FILE1 does not exist.
6349
99a54f21
MA
6350 * net/tramp-sh.el (tramp-remote-process-environment): Add "PAGER=\"\"".
6351 Reported by Robert Lupton the Good <rhl@astro.princeton.edu>.
6352
6353 * vc/vc-git.el (vc-git--call): Enable `inhibit-null-byte-detection'.
6354 Add "PAGER=" to `process-environment'.
6355
f6561e1f
MM
63562012-03-01 Michael R. Mauger <mmaug@yahoo.com>
6357
6358 * progmodes/sql.el: Bug fix
6359 (sql-get-login-ext): Save login values in globals.
6360 (sql-get-login): Use new version of `sql-get-login-ext'.
6361 (sql-interactive-mode): Set global `sql-connection' to nil.
6362 (sql-connect): Set global values for connection.
6363 (sql-product-interactive): Save global values as buffer local.
6364
2d44d9cc
LL
63652012-02-29 Leo Liu <sdl.web@gmail.com>
6366
6367 * abbrev.el (define-abbrevs): Reset sys to nil.
6368
96b49301 63692012-02-28 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6370
bf7f9bc5
JB
6371 * files.el (file-equal-p): Rename from `files-equal-p'.
6372 Return nil when one or both files don't exist.
96b49301 6373 (file-subdir-of-p): Now only top directory must exists,
6374 return nil if it doesn't.
bf7f9bc5
JB
6375 (copy-directory): No need to test with `file-subdir-of-p' after
6376 creating dir.
6377 * net/tramp.el (tramp-file-name-for-operation): Rename `files-equal-p'
6378 to `file-equal-p'.
96b49301 6379
44e97401
GM
63802012-02-28 Glenn Morris <rgm@gnu.org>
6381
6382 * shell.el (shell-mode):
6383 * progmodes/vhdl-mode.el (wildcard-to-regexp, file-expand-wildcards):
6384 * play/landmark.el (landmark-font-lock-face-O):
6385 * play/handwrite.el (handwrite):
6386 * play/gomoku.el (gomoku-O):
6387 * net/browse-url.el (browse-url-browser-display):
6388 * international/mule.el (define-charset):
6389 * htmlfontify.el (hfy-etags-cmd, hfy-face-attr-for-class):
6390 * filesets.el (filesets-find-file-delay):
6391 * eshell/em-xtra.el (eshell-xtra):
6392 * eshell/em-unix.el (eshell-grep):
6393 * emulation/viper.el (viper-mode):
6394 * emacs-lisp/regexp-opt.el (regexp-opt-group):
6395 * emacs-lisp/easymenu.el (easy-menu-define):
6396 * calendar/timeclock.el (timeclock-use-display-time):
6397 * bs.el (bs-mode):
6398 * bookmark.el (bookmark-save-flag):
6399 Doc fix (standardize possessive apostrophe usage).
6400
c98c6276
CY
64012012-02-27 Chong Yidong <cyd@gnu.org>
6402
bf7f9bc5
JB
6403 * emulation/viper-cmd.el (viper-intercept-ESC-key):
6404 Fix key-binding lookup for ESC key (Bug#9146).
ecf5f74e 6405
c98c6276
CY
6406 * font-lock.el (font-lock-specified-p): Rename from
6407 font-lock-spec-present. Callers changed.
6408
9c62cd04 64092012-02-27 Daniel Hackney <dan@haxney.org>
8ac9e529 6410
bf7f9bc5
JB
6411 * emacs-lisp/package.el (package-compute-transaction):
6412 Handle holding a package version to t in package-load-list.
8ac9e529 6413
530739c9
MA
64142012-02-26 Michael Albinus <michael.albinus@gmx.de>
6415
6416 * net/tramp.el (tramp-inodes, tramp-devices): Initialize with 0.
6417 (tramp-get-inode, tramp-get-device): Use cached values.
6418
487915d7
AM
64192012-02-26 Alan Mackenzie <acm@muc.de>
6420
6421 Check there is a font-lock specification before doing initial
6422 fontification.
6423
6424 * font-core.el (font-lock-mode): Move the conditional from
6425 :after-hook to font-lock-initial-fontify.
6426 (font-lock-default-function): Move the check for a specification
6427 to font-lock-spec-present.
6428
dc9924b8 6429 * font-lock.el (font-lock-initial-fontify): Call ...
487915d7
AM
6430 (font-lock-spec-present): New function.
6431
4fd96557
JB
64322012-02-26 Jim Blandy <jimb@red-bean.com>
6433
6434 * progmodes/gdb-mi.el (gdb-mi-quote): New function.
6435 (gdb-send): Apply it to the operand of the '-interpreter-exec
6436 console' command, so that we can pass arguments with (say) quotes
6437 in them. Store exact string sent in gdb-debug-log (Bug#10765).
6438
9a4888c0
CY
64392012-02-26 Chong Yidong <cyd@gnu.org>
6440
07498861
CY
6441 * help-fns.el (describe-function-1): Clarify description of
6442 remapping (Bug#10844).
6443
9a4888c0
CY
6444 * files.el (files-equal-p): Doc fix.
6445 (file-subdir-of-p): Doc fix. Convert loop macro to plain Lisp,
6446 and quit the loop once a mismatch is found.
6447
ea8fb88d
JB
64482012-02-25 Juanma Barranquero <lekktu@gmail.com>
6449
6450 * bs.el (bs--show-with-configuration): Don't throw an error
6451 if the window cannot be split; otherwise, subsequent calls to
6452 bs-show fail, restoring a stale window config. (Bug#10882)
6453
525795c1
JD
64542012-02-25 Jan Djärv <jan.h.d@swipnet.se>
6455
6456 * term/ns-win.el (global-map): Bind ns-drag-file to
6457 ns-find-file (Bug#5855, Bug#10050).
6458
f008086f
AS
64592012-02-25 Andreas Schwab <schwab@linux-m68k.org>
6460
6461 * calendar/parse-time.el (parse-time-string): Allow extractor to
6462 return nil.
6463
a3fcfa99
MA
64642012-02-25 Michael Albinus <michael.albinus@gmx.de>
6465
91027d08
JB
6466 * net/tramp.el (tramp-file-name-for-operation):
6467 Add `files-equal-p' and `file-subdir-of-p'.
a3fcfa99
MA
6468
6469 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
91027d08
JB
6470 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
6471 Add COPY-CONTENTS argument.
a3fcfa99 6472
67b0de11
CY
64732012-02-25 Chong Yidong <cyd@gnu.org>
6474
6475 Add custom groups for VC backends, for consistency with vc-bzr.
6476
6477 * vc/vc-arch.el (vc-arch):
6478 * vc/vc-cvs.el (vc-cvs):
6479 * vc/vc-git.el (vc-git):
6480 * vc/vc-hg.el (vc-hg):
6481 * vc/vc-mtn.el (vc-mtn):
6482 * vc/vc-rcs.el (vc-rcs):
6483 * vc/vc-sccs.el (vc-sccs):
6484 * vc/vc-svn.el (vc-svn): New customization group (Bug#10871).
6485 All relevant defcustoms reassigned.
6486
3c9dfce6
CY
64872012-02-25 Chong Yidong <cyd@gnu.org>
6488
1339bf43
CY
6489 * newcomment.el (comment-styles): Add autoload (Bug#10868).
6490
3c9dfce6
CY
6491 * term/x-win.el (x-initialize-window-system): Reduce default for
6492 x-selection-timeout to 5 seconds (Bug#8869).
6493
25b2e303 64942012-02-24 Thierry Volpiatto <thierry.volpiatto@gmail.com>
6495
ec70a47d
GM
6496 * files.el (files-equal-p, file-subdir-of-p): New functions.
6497 (copy-directory): Error when trying to copy a directory on itself.
25b2e303 6498 Add missing copy-contents arg to tramp handler.
ec70a47d
GM
6499 * dired-aux.el (dired-copy-file-recursive): Same.
6500 (dired-create-files): Modify destination when source is equal to
6501 dest when copying files.
53a46cd0 6502 Return also when dest is a subdir of source. (Bug#10489)
25b2e303 6503
914260cd
MA
65042012-02-24 Michael Albinus <michael.albinus@gmx.de>
6505
6506 * net/ange-ftp.el (ange-ftp-parse-netrc): Suppress comment lines.
6507 (Bug#10874)
6508
2cb228f7
AM
65092012-02-23 Alan Mackenzie <acm@muc.de>
6510
6511 * emacs-lisp/easy-mmode.el (define-minor-mode): Add extra
6512 parameter "after-hook:" to allow the expansion to run code after
6513 the execution of the mode hooks.
6514
6515 * font-lock.el (font-lock-initial-fontify): New function extracted
91027d08 6516 from font-lock-mode-internal.
2cb228f7 6517
91027d08 6518 * font-core.el (font-lock-mode): Call font-lock-initial-fontify in
2cb228f7
AM
6519 :after-hook.
6520
8f0fde21
SM
65212012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6522
3e88618b
SM
6523 * minibuffer.el: Make sure cycling is reset upon edit with icomplete.el.
6524 (completion--cache-all-sorted-completions): New function.
6525 (completion-all-sorted-completions): Use it.
6526 (completion--do-completion, minibuffer-force-complete):
6527 Use it to re-instate the flush hook.
6528
8f0fde21
SM
6529 * icomplete.el (icomplete-completions): Replace last fix with a better
6530 one (bug#10850).
6531
8e911f6f
DG
65322012-02-23 Dmitry Gutov <dgutov@yandex.ru>
6533
6534 * emacs-lisp/lisp.el (beginning-of-defun-raw): Don't call end-of-defun
6535 when it might call us back infinitely (bug#10797).
6536
49fe4321
GM
65372012-02-23 Glenn Morris <rgm@gnu.org>
6538
6539 * minibuffer.el (completion-category-overrides): Doc fix.
6540
b291b572
SM
65412012-02-23 Stefan Monnier <monnier@iro.umontreal.ca>
6542
6543 * minibuffer.el (completion-table-with-context): Fix inf-loop.
6544 Reported by Aaron S. Hawley <aaron.s.hawley@gmail.com>.
6545
31a9ef2e
GM
65462012-02-23 Glenn Morris <rgm@gnu.org>
6547
5e6e6794 6548 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case)
31a9ef2e
GM
6549 (authors-obsolete-files-regexps, authors-ignored-files)
6550 (authors-ambiguous-files, authors-renamed-files-alist):
6551 Add more entries.
6552
0bd1e074
JL
65532012-02-23 Juri Linkov <juri@jurta.org>
6554
6555 * isearch.el (isearch-occur): Sync interactive spec with occur's
6556 new feature in `occur-read-primary-args'. Doc fix. (Bug#10705)
6557
b617673c
JL
6558 * replace.el (occur-menu-map): Add menu item for `occur-edit-mode'.
6559
19e9789e
JL
65602012-02-22 Juri Linkov <juri@jurta.org>
6561
6562 * international/mule-cmds.el (read-char-by-name): Use \` and \'.
6563 (ucs-insert): Doc fix. Check for hex digits in the string.
6564 Don't display `nil' in the error message. (Bug#10857)
6565
f41ce09d
AM
65662012-02-22 Alan Mackenzie <acm@muc.de>
6567
7a71b18d 6568 * progmodes/cc-mode.el: Revert change #2012-02-06T22:08:41Z!larsi@gnus.org from 2012-02-06.
f41ce09d 6569
ac2eceee
GM
65702012-02-22 Glenn Morris <rgm@gnu.org>
6571
6572 * ffap.el (ffap-c-path):
6573 * man.el (Man-header-file-path): Handle multiarch. (Bug#10702)
6574
abd1f678
CY
65752012-02-22 Chong Yidong <cyd@gnu.org>
6576
6577 * custom.el (load-theme): Doc fix.
6578
f25aef2e
GM
65792012-02-22 Glenn Morris <rgm@gnu.org>
6580
6581 * dired-x.el (dired-guess-shell-alist-default):
6582 Remove escape sequences from nroff output. (Bug#172)
6583
5f8dc2ca
GM
65842012-02-21 Glenn Morris <rgm@gnu.org>
6585
6ff86ec4
GM
6586 * vc/emerge.el (emerge-defvar-local):
6587 Set `permanent-local' property rather than unused `preserved'.
6588
be3223a3 6589 * textmodes/picture.el (picture-delete-char): New alias.
5f8dc2ca
GM
6590 (picture-mode-map): Use it. (Bug#10860)
6591 (picture-mode): Doc fix.
6592
3fe58f4f
JB
65932012-02-21 Juanma Barranquero <lekktu@gmail.com>
6594
6595 * newcomment.el (uncomment-region-default): Remove unused binding.
6596
f9a998c3
GM
65972012-02-21 Glenn Morris <rgm@gnu.org>
6598
6599 * textmodes/picture.el (picture-motion, picture-motion-reverse)
6600 (picture-self-insert, picture-tab-chars): Doc fix.
6601 (picture-mode-map): Fix C-a, C-e.
6602
c6029348
GM
66032012-02-20 Glenn Morris <rgm@gnu.org>
6604
6605 * emacs-lisp/authors.el (authors-aliases): Add another entry.
6606
ab1ce9d7
LL
66072012-02-20 Leo Liu <sdl.web@gmail.com>
6608
6609 * icomplete.el (icomplete-completions): Check FROM arg before
6610 passing to substring (Bug#10850).
6611
0fd40f89
CY
66122012-02-19 Chong Yidong <cyd@gnu.org>
6613
6614 * comint.el: Require ansi-color.
6615 (comint-output-filter-functions): Add ansi-color-process-output.
6616
6617 * ansi-color.el: Don't set comint-output-filter-functions; it is
6618 now in the initial value defined in comint.el.
6619 (ansi-color-apply-face-function): New variable.
6620 (ansi-color-apply-on-region): Use it.
6621 (ansi-color-apply-overlay-face): New function.
6622
6623 * shell.el (shell): No need to require ansi-color.
6624 (shell-mode): Use ansi-color-apply-face-function to highlight
6625 color escapes using font-lock-face property (Bug#10835).
6626
20af2394
CY
66272012-02-19 Chong Yidong <cyd@gnu.org>
6628
6629 * vc/ediff-init.el (ediff-strip-mode-line-format): Handle non-list
6630 mode-line formats (Bug#10839).
6631
e23a3fbe
GM
66322012-02-18 Glenn Morris <rgm@gnu.org>
6633
b474519e
GM
6634 * mail/rmail.el (rmail-dont-reply-to-names): Mark as obsolete.
6635
6636 * mail/undigest.el (unforward-rmail-message): Doc fix.
6637
e23a3fbe
GM
6638 * saveplace.el (save-place-ignore-files-regexp): Add :version.
6639
57939ff4
EZ
66402012-02-18 Eli Zaretskii <eliz@gnu.org>
6641
6642 * international/characters.el (script-list): Sync with the latest
6643 Unicode Character Database.
6644
0c23686e
AS
66452012-02-18 Andreas Schwab <schwab@linux-m68k.org>
6646
6647 * international/titdic-cnv.el: Remove duplicate coding tag.
6648 * language/cham.el: Likewise.
6649 * language/tai-viet.el: Likewise.
6650
6818b449
GM
66512012-02-18 Glenn Morris <rgm@gnu.org>
6652
6653 * calendar/cal-menu.el (cal-menu-diary-menu, cal-menu-goto-menu):
6654 * calendar/calendar.el (diary-file, diary-bahai-entry-symbol)
6655 (calendar-bahai-all-holidays-flag, calendar-other-dates):
6656 * calendar/diary-lib.el (diary-abbreviated-year-flag):
6657 * calendar/holidays.el (holiday-bahai-holidays)
6658 (calendar-holidays, list-holidays):
6659 Use utf-8 Bahá'í in doc-strings, menus, etc.
6660
0311a3fc
TH
66612012-02-17 Tassilo Horn <tassilo@member.fsf.org>
6662
6663 * saveplace.el (save-place-ignore-files-regexp): New variable
6664 allowing for excluding files from saving their location of point.
6665 The default value matches the temporary commit message editing
6666 files from Git, SVN, Bazaar, and Mercurial.
6667 (save-place-to-alist): Use it.
6668
d209e2fb 66692012-02-17 Lawrence Mitchell <wence@gmx.li>
f1a71c6e 6670 Stefan Monnier <monnier@iro.umontreal.ca>
eb864a71
LM
6671
6672 * newcomment.el (uncomment-region-default): Don't leave extra space
6673 when an arg is provided (bug#8150).
6674
ee0ce425
TZ
66752012-02-17 Teodor Zlatanov <tzz@lifelogs.com>
6676
eb864a71 6677 * net/gnutls.el (gnutls-trustfiles): Fix Cygwin bundle location.
ee0ce425 6678
95ddf442
GM
66792012-02-17 Glenn Morris <rgm@gnu.org>
6680
6681 * net/socks.el: Require network-stream. (Bug#10599)
6682
48dd1e39 66832012-02-17 Kenichi Handa <handa@m17n.org>
c406be43
KH
6684
6685 * international/charprop.el:
6686 * international/uni-name.el:
6687 * international/uni-old-name.el:
6688 * international/uni-comment.el: Regenerate.
6689
d68cd087
GM
66902012-02-16 Glenn Morris <rgm@gnu.org>
6691
6692 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits):
6693 Interactively in calendar buffer, give an error if not on a date.
6694
13932042
GM
66952012-02-15 Glenn Morris <rgm@gnu.org>
6696
6697 * shell.el (shell-delimiter-argument-list):
6698 Revert 2011-02-17 change. (Bug#8027)
6699
c3a70e2b
CY
67002012-02-15 Chong Yidong <cyd@gnu.org>
6701
60236b0d
CY
6702 * minibuffer.el (completion-at-point-functions): Doc fix.
6703
c3a70e2b
CY
6704 * custom.el (defcustom): Doc fix; note use of defvar.
6705
9f26dc24
GM
67062012-02-15 Glenn Morris <rgm@gnu.org>
6707
6708 * mail/smtpmail.el (smtpmail-smtp-user, smtpmail-stream-type):
6709 Doc fixes.
6710
6546b134
GM
67112012-02-14 Glenn Morris <rgm@gnu.org>
6712
6713 * mail/smtpmail.el (smtpmail-query-smtp-server): Give it a doc.
6714
d29b2b4c
LI
67152012-02-14 Lars Ingebrigtsen <larsi@gnus.org>
6716
6717 * mail/smtpmail.el (smtpmail-query-smtp-server): Fix typo in the
6718 way the ports list is computed.
835bdcba
LI
6719 (smtpmail-query-smtp-server): Prompt the user for a port number if
6720 we can't connect to any of the standard ports (bug#10810).
d29b2b4c 6721
08dcdbc9
TZ
67222012-02-14 Teodor Zlatanov <tzz@lifelogs.com>
6723
6724 * net/gnutls.el (gnutls-trustfiles): Add Cygwin location.
6725
2605051a
GM
67262012-02-13 Glenn Morris <rgm@gnu.org>
6727
6728 * minibuffer.el (read-file-name): Doc fix. (Bug#10798)
6729
7ee99f32
TZ
67302012-02-13 Teodor Zlatanov <tzz@lifelogs.com>
6731
6732 * net/gnutls.el (gnutls-trustfiles): New variable.
6733 (gnutls-negotiate): Use it.
6734
5f0af64f
LI
67352012-02-13 Lars Ingebrigtsen <larsi@gnus.org>
6736
6737 * simple.el (mail-user-agent): Mention that `gnus-user-agent' only
6738 does its stuff if Gnus is running.
6739
c14fcc95
AM
67402012-02-13 Alan Mackenzie <acm@muc.de>
6741
6742 Fix a loop in c-set-fl-decl-start.
6743
7a71b18d 6744 * progmodes/cc-engine.el (c-set-fl-decl-start): Add a check that
c14fcc95
AM
6745 c-backward-syntactic-ws actually moves backwards.
6746
142b4d90
LL
67472012-02-13 Leo Liu <sdl.web@gmail.com>
6748
6749 * net/rcirc.el (rcirc-markup-attributes): Move point to the
6750 beginning so that all \C-o chars are removed.
6751
fa9958a6
TZ
67522012-02-12 Teodor Zlatanov <tzz@lifelogs.com>
6753
dc9924b8 6754 * net/gnutls.el (gnutls-algorithm-priority): Add missing :group tag.
fa9958a6 6755
0bc5886a
AM
67562012-02-12 Alan Mackenzie <acm@muc.de>
6757
6758 Fix infinite loop with long macros.
4d6769e1 6759 * progmodes/cc-engine.el (c-state-safe-place): Handle macros properly.
0bc5886a 6760
d4bd55e7
CY
67612012-02-12 Chong Yidong <cyd@gnu.org>
6762
6763 * window.el (display-buffer): Doc fix (Bug#10785).
6764
66f3fe22
GM
67652012-02-12 Glenn Morris <rgm@gnu.org>
6766
bd7da63e
GM
6767 * term/pc-win.el (x-selection-owner-p, x-own-selection-internal)
6768 (x-disown-selection-internal, x-get-selection-internal):
6769 Sync docs with the xselect.c versions.
6770
66f3fe22
GM
6771 * allout-widgets.el: Add missing license notice.
6772
3e0d2fa7
GM
67732012-02-11 Glenn Morris <rgm@gnu.org>
6774
cfecdf09
GM
6775 * select.el (x-get-selection-internal, x-own-selection-internal)
6776 (x-disown-selection-internal):
6777 * x-dnd.el (x-get-selection-internal): Update declarations.
6778
6d216d7f
GM
6779 * vc/log-view.el (vc-diff-internal): Remove unneeded declaration.
6780
2bed3f04
GM
6781 * window.el (window-sides-slots):
6782 * tool-bar.el (tool-bar-position):
6783 * term/xterm.el (xterm-extra-capabilities):
6784 * ses.el (ses-self-reference-early-detection):
6785 * progmodes/verilog-mode.el (verilog-auto-declare-nettype)
6786 (verilog-auto-wire-type)
6787 (verilog-auto-delete-trailing-whitespace)
6788 (verilog-auto-reset-blocking-in-non, verilog-auto-inst-sort)
6789 (verilog-auto-tieoff-declaration):
6790 * progmodes/sql.el (sql-login-hook, sql-ansi-statement-starters)
6791 (sql-oracle-statement-starters, sql-oracle-scan-on):
6792 * progmodes/prolog.el (prolog-align-comments-flag)
6793 (prolog-indent-mline-comments-flag, prolog-object-end-to-0-flag)
6794 (prolog-left-indent-regexp, prolog-paren-indent-p)
6795 (prolog-paren-indent, prolog-parse-mode, prolog-keywords)
6796 (prolog-types, prolog-mode-specificators)
6797 (prolog-determinism-specificators, prolog-directives)
6798 (prolog-electric-newline-flag, prolog-hungry-delete-key-flag)
6799 (prolog-electric-dot-flag)
6800 (prolog-electric-dot-full-predicate-template)
6801 (prolog-electric-underscore-flag, prolog-electric-tab-flag)
6802 (prolog-electric-if-then-else-flag, prolog-electric-colon-flag)
6803 (prolog-electric-dash-flag, prolog-old-sicstus-keys-flag)
6804 (prolog-program-switches, prolog-prompt-regexp)
6805 (prolog-debug-on-string, prolog-debug-off-string)
6806 (prolog-trace-on-string, prolog-trace-off-string)
6807 (prolog-zip-on-string, prolog-zip-off-string)
6808 (prolog-use-standard-consult-compile-method-flag)
6809 (prolog-use-prolog-tokenizer-flag, prolog-imenu-flag)
6810 (prolog-imenu-max-lines, prolog-info-predicate-index)
6811 (prolog-underscore-wordchar-flag, prolog-use-sicstus-sd)
6812 (prolog-char-quote-workaround):
6813 * progmodes/cc-vars.el (c-defun-tactic):
6814 * net/tramp.el (tramp-encoding-command-interactive)
6815 (tramp-local-end-of-line):
6816 * net/soap-client.el (soap-client):
6817 * net/netrc.el (netrc-file):
6818 * net/gnutls.el (gnutls):
6819 * minibuffer.el (completion-category-overrides)
6820 (completion-cycle-threshold)
6821 (completion-pcm-complete-word-inserts-delimiters):
6822 * man.el (Man-name-local-regexp):
6823 * mail/feedmail.el (feedmail-display-full-frame):
6824 * international/characters.el (glyphless-char-display-control):
6825 * eshell/em-ls.el (eshell-ls-date-format):
6826 * emacs-lisp/cl-indent.el (lisp-lambda-list-keyword-alignment)
6827 (lisp-lambda-list-keyword-parameter-indentation)
6828 (lisp-lambda-list-keyword-parameter-alignment):
6829 * doc-view.el (doc-view-image-width, doc-view-unoconv-program):
6830 * dired-x.el (dired-omit-verbose):
6831 * cus-theme.el (custom-theme-allow-multiple-selections):
6832 * calc/calc.el (calc-highlight-selections-with-faces)
6833 (calc-lu-field-reference, calc-lu-power-reference)
6834 (calc-note-threshold):
6835 * battery.el (battery-mode-line-limit):
6836 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
6837 (archive-7z-update):
6838 * allout.el (allout-prefixed-keybindings)
6839 (allout-unprefixed-keybindings)
6840 (allout-inhibit-auto-fill-on-headline)
6841 (allout-flattened-numbering-abbreviation):
6842 * allout-widgets.el (allout-widgets-auto-activation)
6843 (allout-widgets-icons-dark-subdir)
6844 (allout-widgets-icons-light-subdir, allout-widgets-icon-types)
6845 (allout-widgets-theme-dark-background)
6846 (allout-widgets-theme-light-background)
6847 (allout-widgets-item-image-properties-emacs)
6848 (allout-widgets-item-image-properties-xemacs)
6849 (allout-widgets-run-unit-tests-on-load)
6850 (allout-widgets-time-decoration-activity)
6851 (allout-widgets-hook-error-post-time)
6852 (allout-widgets-track-decoration):
6853 Add missing :version tags to new defcustoms and defgroups.
6854
5fec1b8e
GM
6855 * progmodes/sql.el (sql-ansi-statement-starters)
6856 (sql-oracle-statement-starters): Add custom type.
6857
3e0d2fa7
GM
6858 * progmodes/prolog.el: Remove leading '*' from defcustom docs.
6859 (prolog-system-version): Give it a type.
6860
90b671e2
EZ
68612012-02-11 Eli Zaretskii <eliz@gnu.org>
6862
6863 * term/pc-win.el (x-select-text, x-selection-owner-p)
6864 (x-own-selection-internal, x-disown-selection-internal)
6865 (x-get-selection-internal): Sync doc strings and argument lists
6866 with xselect.c, common-win.el and x-win.el. (Bug#10783)
6867
5eac0c02
LL
68682012-02-11 Leo Liu <sdl.web@gmail.com>
6869
6870 * progmodes/python.el (python-end-of-statement): Fix infinite
6871 loop. (Bug#10788)
6872
f82cb659
GM
68732012-02-10 Glenn Morris <rgm@gnu.org>
6874
6875 * international/mule-cmds.el (unify-8859-on-encoding-mode)
6876 (unify-8859-on-decoding-mode): Properly mark as obsolete.
6877
cc26d239
LI
68782012-02-10 Lars Ingebrigtsen <larsi@gnus.org>
6879
6880 * mail/emacsbug.el (report-emacs-bug-hook): Query the user first
6881 about SMTP before checking the From header.
6882
91027d08 6883 * mail/sendmail.el (sendmail-query-user-about-smtp): Refactor out
cc26d239
LI
6884 into own function for reuse by emacsbug.el.
6885
1be3ca5a
LL
68862012-02-10 Leo Liu <sdl.web@gmail.com>
6887
6888 * subr.el (condition-case-unless-debug): Rename from
6889 condition-case-no-debug. All callers changed.
6890 (with-demoted-errors): Fix caller.
6891
6892 * vc/diff-mode.el (diff-auto-refine-mode, diff-hunk):
6893 * nxml/rng-valid.el (rng-do-some-validation):
6894 * emacs-lisp/package.el (package-refresh-contents)
6895 (package-menu-execute):
6896 * desktop.el (desktop-create-buffer):
91027d08 6897 * font-lock.el (lisp-font-lock-keywords-2): Caller changed.
1be3ca5a 6898
b011fbfe
GM
68992012-02-10 Glenn Morris <rgm@gnu.org>
6900
b2096d72
GM
6901 * textmodes/bibtex.el:
6902 Add missing :version tags for new/changed defcustoms.
6903
b011fbfe
GM
6904 * files.el (remote-file-name-inhibit-cache): Doc fixes.
6905
4c7e65bf
LI
69062012-02-09 Lars Ingebrigtsen <larsi@rusty>
6907
6908 * mail/smtpmail.el (smtpmail-user-mail-address): New function.
6909 (smtpmail-via-smtp): Use it, or fall back on the From address.
6910 (smtpmail-send-it): Ditto.
6911
f3934f6f
SM
69122012-02-09 Stefan Monnier <monnier@iro.umontreal.ca>
6913
6914 * emacs-lisp/bytecomp.el (byte-compile-file-form-defvar):
6915 Don't fallback on byte-compile-defvar. Optimize (defvar foo) away.
6916 (byte-compile-tmp-var): New const.
6917 (byte-compile-defvar): Use it to minimize .elc size.
6918 Just use `defvar' rather than simulate it (bug#10761).
6919
a075a2c5
GM
69202012-02-09 Glenn Morris <rgm@gnu.org>
6921
cf3aa21b
GM
6922 * files.el (rename-uniquely): Doc fix. (Bug#3806)
6923
354998cd
GM
6924 * progmodes/cc-guess.el (c-guess-offset-threshold, c-guess-region-max):
6925 Add :version tags.
6926
dc9924b8
SM
6927 * progmodes/compile.el (compilation-error-screen-columns)
6928 (compilation-first-column, compilation-filter-start): Doc fixes.
83274125 6929
dab3703d
GM
6930 * vc/log-view.el (log-view-toggle-entry-display):
6931 * vc/vc.el (vc-merge, vc-pull): Doc fixes.
6932
3f88cd72
GM
6933 * mail/emacsbug.el (report-emacs-bug-can-use-osx-open)
6934 (report-emacs-bug-can-use-xdg-email):
6935 (report-emacs-bug-insert-to-mailer): Doc fixes.
6936 (report-emacs-bug): Message fix.
6937
d95b247d
GM
6938 * net/browse-url.el (browse-url-can-use-xdg-open)
6939 (browse-url-xdg-open): Doc fixes.
6940
a075a2c5
GM
6941 * electric.el (electric-indent-mode, electric-pair-mode)
6942 (electric-layout-rules, electric-layout-mode): Doc fixes.
6943 (electric-pair-pairs, electric-pair-skip-self): Add :version tags.
6944
ffb6157e
MR
69452012-02-08 Martin Rudalics <rudalics@gmx.at>
6946
6947 * server.el (server-unselect-display): Don't inadvertently kill
6948 the current buffer. (Bug#10729)
6949
e1ac4066
GM
69502012-02-08 Glenn Morris <rgm@gnu.org>
6951
34e8a2da
GM
6952 * progmodes/sql.el (sql-port, sql-connection-alist, sql-list-all)
6953 (sql-list-table): Doc fixes.
6954
b4ac6e8c
GM
6955 * image-mode.el (image-transform-minor-mode-map, image-transform-mode):
6956 Comment out (does nothing).
6957
e1ac4066
GM
6958 * completion.el (dynamic-completion-mode):
6959 * dirtrack.el (dirtrack-debug-mode):
6960 * electric.el (electric-layout-mode):
6961 * epa-mail.el (epa-mail-mode, epa-global-mail-mode):
6962 * face-remap.el (text-scale-mode, buffer-face-mode):
6963 * iimage.el (iimage-mode):
6964 * image-mode.el (image-transform-mode):
6965 * minibuffer.el (completion-in-region-mode):
6966 * scroll-lock.el (scroll-lock-mode):
6967 * simple.el (next-error-follow-minor-mode):
6968 * tar-mode.el (tar-subfile-mode):
6969 * tooltip.el (tooltip-mode):
6970 * vcursor.el (vcursor-use-vcursor-map):
6971 * wid-browse.el (widget-minor-mode):
6972 * emulation/tpu-edt.el (tpu-edt-mode):
6973 * emulation/tpu-extras.el (tpu-cursor-free-mode):
6974 * international/iso-ascii.el (iso-ascii-mode):
6975 * language/thai-util.el (thai-word-mode):
6976 * mail/supercite.el (sc-minor-mode):
6977 * net/goto-addr.el (goto-address-mode):
6978 * net/rcirc.el (rcirc-multiline-minor-mode, rcirc-track-minor-mode):
6979 * progmodes/cwarn.el (cwarn-mode):
6980 * progmodes/flymake.el (flymake-mode):
6981 * progmodes/glasses.el (glasses-mode):
6982 * progmodes/hideshow.el (hs-minor-mode):
6983 * progmodes/pascal.el (pascal-outline-mode):
6984 * textmodes/enriched.el (enriched-mode):
6985 * vc/smerge-mode.el (smerge-mode):
6986 Doc fixes (minor mode argument).
6987
5e0d957f
EZ
69882012-02-07 Eli Zaretskii <eliz@gnu.org>
6989
6990 * ls-lisp.el (ls-lisp-sanitize): New function.
6991 (ls-lisp-insert-directory): Use it to fix or remove any elements
6992 in file-alist with missing attributes. (Bug#4673)
6993
98d7371e
AM
69942012-02-07 Alan Mackenzie <acm@muc.de>
6995
6996 Fix spurious recognition of c-in-knr-argdecl.
6997
6998 * progmodes/cc-engine.el (c-in-knr-argdecl): Check for '=' in a
6999 putative K&R region.
7000
667ced3a
AM
70012012-02-07 Alan Mackenzie <acm@muc.de>
7002
eb864a71
LM
7003 * progmodes/cc-engine.el (c-forward-objc-directive):
7004 Prevent looping in "#pragma mark @implementation".
667ced3a 7005
5b77774d
MA
70062012-02-07 Michael Albinus <michael.albinus@gmx.de>
7007
7008 * notifications.el (notifications-on-closed-signal): Make `reason'
7009 optional. (Bug#10744)
7010
af008560
GM
70112012-02-07 Glenn Morris <rgm@gnu.org>
7012
60d47423
GM
7013 * emacs-lisp/easy-mmode.el (define-minor-mode):
7014 Doc fixes for the macro and the mode it defines.
7015
dd605cc4
GM
7016 * image.el (imagemagick-types-inhibit): Doc fix.
7017
af008560
GM
7018 * cus-start.el (imagemagick-render-type): Add it.
7019
5cc59a37
LI
70202012-02-06 Lars Ingebrigtsen <larsi@gnus.org>
7021
4d6769e1
JB
7022 * progmodes/cc-mode.el (c-standard-font-lock-fontify-region-function):
7023 Set the default at load time, too, so that `font-lock-fontify-buffer'
7024 can be called without setting up the entire mode first. This fixes
7025 a bug in `mm-inline-text' with C MIME parts.
5cc59a37 7026
9a6dd747
CY
70272012-02-06 Chong Yidong <cyd@gnu.org>
7028
2d16b285
CY
7029 * simple.el (list-processes--refresh): Delete exited processes
7030 (Bug#8094).
7031
171e9b6e
CY
7032 * comint.el (comint-next-prompt): next-single-char-property-change
7033 and prev-single-char-property-change never return nil (Bug#8657).
7034
9a6dd747
CY
7035 * custom.el (defcustom): Doc fix (Bug#9711).
7036
aa4589a7
CY
70372012-02-05 Chong Yidong <cyd@gnu.org>
7038
5c2a252f
CY
7039 * cus-edit.el (custom-variable-reset-backup): Quote the value
7040 before storing it in the customized-value property (Bug#6712).
4aab9006 7041 (custom-display): Add a customization type tag.
983b9602 7042 (custom-buffer-create-internal): Improve tooltip message.
5c2a252f 7043
aa4589a7
CY
7044 * wid-edit.el (widget-field-value-get): New optional arg to
7045 suppress trailing whitespace truncation.
7046 (character): Use it (Bug#2689).
7047
1ff980ae
AS
70482012-02-05 Andreas Schwab <schwab@linux-m68k.org>
7049
7050 * progmodes/gud.el (gud-pv): Use pv instead of pv1.
7051 * progmodes/gdb-mi.el (gud-pp): Use pp instead of pp1.
7052
03988c98
CY
70532012-02-05 Chong Yidong <cyd@gnu.org>
7054
eeb6cc88
CY
7055 * cus-edit.el (custom-variable-value-create): For mismatched
7056 types, show the current value (Bug#7600).
7057
03988c98
CY
7058 * custom.el (defcustom): Doc fix.
7059
f8cdeef0
GM
70602012-02-05 Glenn Morris <rgm@gnu.org>
7061
7062 * font-lock.el (lisp-font-lock-keywords-2): Add with-wrapper-hook.
7063
0696d255
JB
70642012-02-05 Juanma Barranquero <lekktu@gmail.com>
7065
7066 * emacs-lisp/pp.el (pp-to-string): Use `with-temp-buffer'.
7067 (pp-buffer): Use `ignore-errors', `looking-at-p'.
7068 (pp-last-sexp): Use `looking-at-p'.
7069
34c99998
GM
70702012-02-04 Glenn Morris <rgm@gnu.org>
7071
8f05da42
GM
7072 * files.el (revert-buffer):
7073 Doc fix (mention revert-buffer-in-progress-p).
7074
f160676e
GM
7075 * emacs-lisp/ert-x.el (ert-simulate-command):
7076 Check deferred-action-list (which is obsolete) is bound.
7077
c7291ad9
GM
7078 * subr.el (with-wrapper-hook): Doc fixes.
7079
34c99998
GM
7080 * simple.el (filter-buffer-substring-functions)
7081 (buffer-substring-filters, filter-buffer-substring): Doc fixes.
7082
6283a7d3
LL
70832012-02-04 Lars Ljung <lars@matholka.se> (tiny change)
7084
7085 * eshell/esh-ext.el (eshell-windows-shell-file): Match "cmdproxy"
7086 anywhere in shell-file-name, not just at the beginning. (Bug#10523)
7087
e96e3013
LL
70882012-02-04 Leo Liu <sdl.web@gmail.com>
7089
7090 * emacs-lisp/smie.el: Fix dead link (Bug#10711).
7091
8ded50f2
GM
70922012-02-04 Glenn Morris <rgm@gnu.org>
7093
82ff1d13
GM
7094 * image.el (image-extension-data): Add obsolete alias.
7095
987a0a16
GM
7096 * isearch.el (isearch-update): Doc fix.
7097
ea32ef46
GM
7098 * facemenu.el (list-colors-display): Doc fix (minor rephrasing).
7099
8ded50f2
GM
7100 * ido.el (ido-find-file): Doc fix (ido-toggle-vc not on any key).
7101
eea14f31
GM
71022012-02-03 Glenn Morris <rgm@gnu.org>
7103
7104 * image.el (image-animated-p): Doc fix. Use image-animated-types.
7105 (image-animate-timeout): Doc fix.
7106
7107 * image-mode.el (image-animate-loop, image-toggle-animation): Doc fixes.
7108
12f381b7
GM
71092012-02-02 Glenn Morris <rgm@gnu.org>
7110
953cebf5
GM
7111 * server.el (server-auth-dir): Doc fix.
7112 (server-eval-at): Doc fix. Give an explicit error if !server-use-tcp.
7113
12f381b7
GM
7114 * subr.el (run-mode-hooks): Doc fix.
7115
953a8c3b
JL
71162012-02-02 Juri Linkov <juri@jurta.org>
7117
7118 * image-mode.el (image-toggle-display-image): Remove tautological
7119 `major-mode' from the `derived-mode-p' test.
7120
c5d3843c
KH
71212012-02-02 Kenichi Handa <handa@m17n.org>
7122
9f6e692e 7123 * composite.el (compose-region): Cancel previous change.
c5d3843c 7124
159462d4 71252012-02-02 Kenichi Handa <handa@m17n.org>
d2a51fd7
KH
7126
7127 * composite.el (compose-region, compose-string): Signal error for
7128 a null string component (Bug#6988).
7129
9f562668
CY
71302012-02-01 Chong Yidong <cyd@gnu.org>
7131
e2cef717
CY
7132 * view.el (view-buffer-other-window, view-buffer-other-frame):
7133 Handle special modes like view-buffer (Bug#10650).
7134 (view-buffer): Simplify.
7135
9f562668
CY
7136 * frame.el (set-frame-font): Tweak meaning of third argument.
7137
9f6e692e
JB
7138 * dynamic-setting.el (font-setting-change-default-font):
7139 Use set-frame-font (Bug#9982).
9f562668 7140
781acb9f
GM
71412012-02-01 Glenn Morris <rgm@gnu.org>
7142
6035be52
GM
7143 * progmodes/compile.el (compilation-internal-error-properties):
7144 Respect compilation-first-column in the "*compilation*" buffer.
7145
781acb9f
GM
7146 * emacs-lisp/easy-mmode.el (define-minor-mode):
7147 Relax :variable's test for a named function.
7148
abbceb00
AM
71492012-01-31 Alan Mackenzie <acm@muc.de>
7150
7151 * progmodes/cc-engine.el (c-guess-basic-syntax): CASE 5B.1: Fix an
7152 off by one error.
7153
fce3fdeb
CY
71542012-01-31 Chong Yidong <cyd@gnu.org>
7155
7156 * frame.el (set-frame-font): New arg ALL-FRAMES.
7157
7158 * menu-bar.el (menu-set-font): Use set-frame-font.
7159
7160 * faces.el (face-spec-reset-face): Don't apply unspecified
7161 attribute values to the default face.
7162
47893581
JB
71632012-01-31 Juanma Barranquero <lekktu@gmail.com>
7164
7165 * progmodes/cwarn.el (cwarn): Remove dead link.
7166 (cwarn-configuration, cwarn-verbose, cwarn-mode-text, cwarn-load-hook):
7167 Remove * from defcustom docstrings.
7168 (turn-on-cwarn-mode): Make obsolete.
7169 (c-at-toplevel-p): Remove compatibility code for Emacs 20.3 and older.
7170 (turn-on-cwarn-mode-if-enabled): Call `cwarn-mode'.
7171
e58e988a
GM
71722012-01-31 Glenn Morris <rgm@gnu.org>
7173
60dc2671 7174 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix.
6c9b47ae 7175 Fix :variable handling of mode a symbol not equal to modefun.
60dc2671 7176 Allow named functions to be used as the cdr of :variable.
e58e988a 7177
7a3f511d
GM
71782012-01-30 Glenn Morris <rgm@gnu.org>
7179
7180 * emacs-lisp/authors.el (authors-fixed-entries):
7181 Remove reference to deleted file rnewspost.el.
7182
cb882333
JB
71832012-01-29 Juanma Barranquero <lekktu@gmail.com>
7184
7185 * window.el (window-with-parameter): Remove unused variable `windows'.
7186 (window--side-check): Remove unused variable `code'.
7187 (window--resize-siblings): Remove unused variable `first'.
7188 (adjust-window-trailing-edge): Remove unused variable `failed'.
7189 (window-deletable-p, window--delete): Remove unused variable `buffer'.
7190 Use `let', not `let*'.
7191 (balance-windows-2): Remove unused variable `found'.
7192 (window--state-put-2): Remove unused variable `splits'.
7193 (window-state-put): Remove unused variable `selected'.
7194 (same-window-p): Use `string-match-p'.
7195 (display-buffer-assq-regexp): Remove unused variable `value'.
7196 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
7197 Mark argument ALIST as ignored.
7198 (pop-to-buffer): Remove unused variable `old-window'.
7199
907201af
EZ
72002012-01-29 Eli Zaretskii <eliz@gnu.org>
7201
7202 * jka-cmpr-hook.el (jka-compr-compression-info-list): Support .lz
7203 and .lzma compressed files.
7204
ea162670
CY
72052012-01-29 Chong Yidong <cyd@gnu.org>
7206
5b95ee8a
CY
7207 * frame.el (window-system-default-frame-alist): Doc fix.
7208
ea162670
CY
7209 * dynamic-setting.el (font-setting-change-default-font): Don't
7210 change the default face if SET-FONT argument is non-nil (Bug#9982).
7211
d6e6f4b1
SB
72122012-01-29 Samuel Bronson <naesten@gmail.com> (tiny change)
7213
7214 * custom.el (defcustom): Add doc link to Lisp manual (Bug#10635).
7215
0f29fa41 72162012-01-29 Syver Enstad <syver.enstad@cisco.com> (tiny change)
6b25e4e2
SE
7217
7218 * progmodes/gud.el (pdb): Give pdb full paths, to allow setting
7219 breakpoints in files outside current directory (Bug#6098).
7220
db174434
CY
72212012-01-29 Chong Yidong <cyd@gnu.org>
7222
6b25e4e2
SE
7223 * progmodes/python.el: Require ansi-color at top-level.
7224
6df6ae42
JB
7225 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-abbrev-table):
7226 Define and use in Emacs Lisp mode (Bug#9360).
db174434
CY
7227 (lisp-mode-abbrev-table): Add doc.
7228 (lisp-mode-variables): Don't set local-abbrev-table.
7229 (lisp-interaction-mode): Use emacs-lisp-mode-abbrev-table.
7230
e70ee681
RW
72312012-01-28 Roland Winkler <winkler@gnu.org>
7232
7233 * textmodes/bibtex.el (bibtex-vec-incr): Fix docstring.
7234
ace88aa2
RW
72352012-01-28 Roland Winkler <winkler@gnu.org>
7236
7237 * textmodes/bibtex.el (bibtex-entry-alist): New function.
7238 (bibtex-set-dialect): Use it. Either set global values of
7239 dialect-dependent variables or bind these variables buffer-locally
7240 (Bug#10254).
7241 (bibtex-mode): Call bibtex-set-dialect via
7242 hack-local-variables-hook.
eb864a71
LM
7243 (bibtex-dialect): Update docstring.
7244 Add safe-local-variable predicate.
ace88aa2
RW
7245 (bibtex-entry-alist, bibtex-field-alist): Initialize via
7246 bibtex-set-dialect.
7247 (bibtex-mode-map): Define menu for each dialect.
7248 (bibtex-entry): Fix docstring.
7249
93376c5b
CY
72502012-01-28 Chong Yidong <cyd@gnu.org>
7251
7252 * eshell/esh-arg.el (eshell-quote-argument): New function.
7253
7254 * eshell/esh-ext.el (eshell-invoke-batch-file):
7255 * eshell/em-unix.el (eshell/cat, eshell/du): Use it to quote the
7256 first arg to eshell-parse-command (Bug#10523).
7257
4372494f
DA
72582012-01-28 Drew Adams <drew.adams@oracle.com>
7259
7260 * net/ange-ftp.el (ange-ftp-canonize-filename): Check, that
7261 `default-directory' is non-nil.
7262
4d4ec1f8
EZ
72632012-01-28 Eli Zaretskii <eliz@gnu.org>
7264
7265 * mail/emacsbug.el (report-emacs-bug): Fill the potentially long
7266 line that displays system-configuration-options. (Bug#9924)
7267
7c188927
DA
72682012-01-28 Drew Adams <drew.adams@oracle.com>
7269
7270 * descr-text.el (describe-char): Show information about POS, in
7271 addition to information about the character at POS. Improve and
7272 update the doc string. Change "code point" to "code point in
7273 charset", to avoid confusion with the character's Unicode code
7274 point shown above that. (Bug#10129)
7275
e0da685a
EZ
72762012-01-28 Eli Zaretskii <eliz@gnu.org>
7277
7278 * descr-text.el (describe-char): Show the raw character, not only
7279 its display form at POS. Suggested by Kenichi Handa <handa@m17n.org>.
7280 See http://lists.gnu.org/archive/html/emacs-devel/2012-01/msg00760.html
7281 for the reasons.
7282
70550acf
PH
72832012-01-28 Phil Hagelberg <phil@hagelb.org>
7284
eb864a71
LM
7285 * emacs-lisp/package.el (package-install):
7286 Run package-refresh-contents if there is no archive yet (Bug#9798).
70550acf 7287
0ce8e868
CY
72882012-01-28 Chong Yidong <cyd@gnu.org>
7289
cb882333
JB
7290 * emacs-lisp/package.el (package-maybe-load-descriptor):
7291 New function, split from package-maybe-load-descriptor.
0ce8e868
CY
7292 (package-maybe-load-descriptor): Use it.
7293 (package-download-transaction): Fully load required packages
7294 inside the loop, so that `require' calls work (Bug#10593).
7295 (package-install): No need to call package-initialize now.
7296
2e7f3bea
CY
72972012-01-28 Chong Yidong <cyd@gnu.org>
7298
6e9bad14
CY
7299 * simple.el (deactivate-mark): Doc fix (Bug#8614).
7300
f823b8ca
CY
7301 * tooltip.el (tooltip-mode): Doc fix.
7302 (tooltip-use-echo-area): Mark as obsolete (Bug#6595).
7303
2680c309
CY
7304 * frame.el (set-cursor-color): Doc fix (Bug#352).
7305
d7a9e63b
CY
7306 * mail/rmail.el (rmail-start-mail): Add send-action again (Bug#10625).
7307 (rmail-mail-return): Switch to NEWBUF only if it is non-nil.
7308
2e7f3bea
CY
7309 * cus-edit.el (custom-buffer-create-internal): Fix search button
7310 action (Bug#10542).
2ae01800 7311 (customize-unsaved, customize-saved): Doc fix (Bug#10541).
2e7f3bea 7312
fc4f7a23
EW
73132012-01-27 Eduard Wiebe <usenet@pusto.de>
7314
7315 * dired.el (dired-mark-files-regexp):
7316 Include any subdirectory components. (Bug#10445)
7317
7dd37071
ML
73182012-01-27 Mike Lamb <mrlamb@gmail.com> (tiny change)
7319
7320 * pcmpl-unix.el (pcmpl-ssh-known-hosts):
7321 Handle [host]:port syntax. (Bug#10533)
7322
a268160b
AH
73232012-01-27 Alex Harsanyi <harsanyi@mac.com>
7324
7325 * xml.el (xml-parse-tag): Fix parsing of comments (Bug#10405).
7326
e43273ef
GM
73272012-01-26 Glenn Morris <rgm@gnu.org>
7328
7329 * dired-x.el (dired-bind-jump): Use ctl-x-map and ctl-x-4-map.
7330 * term.el (term-raw-escape-map): Use Control-X-prefix.
7331 * vc/vc-hooks.el (vc-prefix-map): Use ctl-x-map. (Bug#10566)
7332
1edf595d
MR
73332012-01-25 Martin Rudalics <rudalics@gmx.at>
7334
7335 * window.el (window-state-get, window--state-get-1): Don't deal
7336 with fixed-sizeness of windows. Simplify code.
7337
fa8eafef
JC
73382012-01-25 Jérémy Compostella <jeremy.compostella@gmail.com>
7339
6df6ae42
JB
7340 * window.el (window--state-get-1, window--state-put-2):
7341 Don't save and restore the mark.
fa8eafef 7342
0b21c100
CY
73432012-01-25 Chong Yidong <cyd@gnu.org>
7344
7345 * custom.el (custom-variable-p): Doc fix.
7346
5ae1a6c8
GM
73472012-01-25 Glenn Morris <rgm@gnu.org>
7348
40047858
GM
7349 * dired.el (dired-goto-file): Handle some of the more common
7350 characters that `ls -b' escapes. (Bug#10596)
7351
5ddce96c
GM
7352 * progmodes/compile.el (compilation-next-error-function):
7353 Respect compilation-first-column in the "*compilation*" buffer.
7354 * progmodes/grep.el (grep-first-column): New variable. (Bug#10594)
7355
5ae1a6c8
GM
7356 * vc/vc.el (vc-modify-change-comment): Scoping fix. (Bug#10513)
7357
b559f1a9
GM
73582012-01-24 Glenn Morris <rgm@gnu.org>
7359
7360 * pcmpl-gnu.el (pcomplete/tar): Handle " - ". (Bug#10457)
7361
6725d21a
JD
73622012-01-24 Julien Danjou <julien@danjou.info>
7363
7364 * color.el (color-rgb-to-hsl): Fix value computing.
7365 (color-hue-to-rgb): New function.
7366 (color-hsl-to-rgb): New function.
7367 (color-clamp, color-saturate-hsl, color-saturate-name)
7368 (color-desaturate-hsl, color-desaturate-name, color-lighten-hsl)
7369 (color-lighten-name, color-darken-hsl, color-darken-name): New function.
7370
70df4bbe
GM
73712012-01-24 Glenn Morris <rgm@gnu.org>
7372
7373 * vc/vc-rcs.el (vc-rcs-create-tag):
7374 * vc/vc-sccs.el (vc-sccs-create-tag):
7375 Fix argument spec to be what vc-create-tag expects. (Bug#10515)
7376
802a2ae2
ML
73772012-01-23 Mike Lamb <mrlamb@gmail.com> (tiny change)
7378
7379 * eshell/esh-util.el (eshell-read-hosts-file):
7380 Skip comment lines. (Bug#10549)
7381
d7128bb1
ML
7382 * eshell/em-unix.el (pcomplete/ssh): Remove. (Bug#10548)
7383
d1a5c3b4
JB
73842012-01-23 Juanma Barranquero <lekktu@gmail.com>
7385
2724d9c7
JB
7386 * subr.el (display-delayed-warnings): Doc fix.
7387 (collapse-delayed-warnings): New function to collapse identical
7388 adjacent warnings.
7389 (delayed-warnings-hook): Add it.
d1a5c3b4 7390
a5509865
MA
73912012-01-22 Michael Albinus <michael.albinus@gmx.de>
7392
7393 * net/tramp.el (tramp-action-login): Set connection property "login-as".
7394
a5509865
MA
7395 * net/tramp-sh.el (tramp-methods): Add user spec to "pscp" and "psftp".
7396 (tramp-default-user-alist): Don't add "pscp".
7397 (tramp-do-copy-or-rename-file-out-of-band): Use connection
7398 property "login-as", if set. (Bug#10530)
7399
cc6d5805
MA
74002012-01-21 Michael Albinus <michael.albinus@gmx.de>
7401
7402 * net/tramp-sh.el (tramp-default-user-alist): Don't add "plink",
7403 "plink1" and "psftp". (Bug#10530)
7404
74052012-01-21 Kenichi Handa <handa@m17n.org>
71784361
KH
7406
7407 * international/mule-cmds.el (prefer-coding-system): Show a
7408 warning message if the default value of file-name-coding-system
7409 was not changed.
7410
f0960428
JC
74112012-01-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7412
cb882333
JB
7413 * windmove.el (windmove-reference-loc):
7414 Fix windmove-reference-loc miscalculation.
f0960428 7415
dd6f2a63
JB
74162012-01-21 Jay Belanger <jay.p.belanger@gmail.com>
7417
7418 * calc/calc-units.el (math-put-default-units): Don't use "1" as a
7419 default unit.
7420
7b447e9b
GM
74212012-01-21 Glenn Morris <rgm@gnu.org>
7422
117a9ea1
GM
7423 * international/mule.el (auto-coding-alist): Add .tbz.
7424
7b447e9b
GM
7425 * files.el (local-enable-local-variables): Doc fix.
7426 (inhibit-local-variables-regexps): Rename from
7427 inhibit-first-line-modes-regexps. Keep old name as obsolete alias.
7428 Doc fix. Add some extensions from auto-coding-alist.
7429 (inhibit-local-variables-suffixes):
7430 Rename from inhibit-first-line-modes-suffixes. Doc fix.
7431 (inhibit-local-variables-p):
7432 New function, extracted from set-auto-mode-1.
7433 (set-auto-mode): Doc fix. Respect inhibit-local-variables-regexps.
7434 (set-auto-mode-1): Doc fix. Use inhibit-local-variables-p.
7435 (hack-local-variables): Doc fix. Make the mode-only case
7436 respect enable-local-variables and friends.
7437 Respect inhibit-local-variables-regexps for file-locals, but
7438 not for directory-locals.
7439 (set-visited-file-name):
7440 Take account of inhibit-local-variables-regexps.
7441 Whether it applies may change as the file name is changed.
7442 * jka-cmpr-hook.el (jka-compr-install):
7443 * jka-compr.el (jka-compr-uninstall):
7444 Update for inhibit-first-line-modes-suffixes name change.
7445
dd6e3cdd
MR
74462012-01-20 Martin Rudalics <rudalics@gmx.at>
7447
7448 * help-macro.el (make-help-screen): Temporarily restore original
7449 binding for minor-mode-map-alist (Bug#10454).
7450
0d0deb38
JD
74512012-01-19 Julien Danjou <julien@danjou.info>
7452
7453 * color.el (color-name-to-rgb): Use the white color to find the max
7454 color component value and return correctly computed values.
7455 (color-name-to-rgb): Add missing float conversion for max value.
7456
34a02f46
MR
74572012-01-19 Martin Rudalics <rudalics@gmx.at>
7458
7459 * window.el (window--state-get-1, window-state-get): Do not use
eb864a71
LM
7460 special state value for window-persistent-parameters.
7461 Rename argument IGNORE to WRITABLE. Rewrite doc-string.
34a02f46
MR
7462 (window--state-put-2): Reset all window parameters to nil before
7463 assigning values of persistent parameters.
7464
606c44c4
AM
74652012-01-18 Alan Mackenzie <acm@muc.de>
7466
7467 Eliminate sluggishness and hangs in fontification of "semicolon
7468 deserts".
7469
cb882333
JB
7470 * progmodes/cc-engine.el (c-state-nonlit-pos-interval):
7471 Change value 10000 -> 3000.
606c44c4
AM
7472 (c-state-safe-place): Reformulate so it doesn't stack up an
7473 infinite number of wrong entries in c-state-nonlit-pos-cache.
7474 (c-determine-limit-get-base, c-determine-limit): New functions to
7475 determine backward search limits disregarding literals.
7476 (c-find-decl-spots): Amend commenting.
7477 (c-cheap-inside-bracelist-p): New function which detects "={".
7478
7479 * progmodes/cc-fonts.el
7480 (c-make-font-lock-BO-decl-search-function): Give a limit to a
7481 backward search.
7482 (c-font-lock-declarations): Fix an occurrence of point being
7483 undefined. Check additionally for point being in a bracelist or
7484 near a macro invocation without a semicolon so as to avoid a
7485 fruitless time consuming search for a declarator. Give a more
7486 precise search limit for declarators using the new
7487 c-determine-limit.
7488
f3860cea
GM
74892012-01-18 Glenn Morris <rgm@gnu.org>
7490
7491 * files.el (auto-mode-alist, inhibit-first-line-modes-regexps)
7492 (set-auto-mode): Doc fixes.
7493
1db03b16
GM
74942012-01-17 Glenn Morris <rgm@gnu.org>
7495
0e6038be
GM
7496 * isearch.el (search-nonincremental-instead): Fix doc typo.
7497
1db03b16
GM
7498 * dired.el (dired-insert-directory): Handle newlines in directory name.
7499 (dired-build-subdir-alist): Unescape newlines in directory name.
7500
4cb0aa75
MA
75012012-01-17 Michael Albinus <michael.albinus@gmx.de>
7502
7503 * net/tramp.el (tramp-local-end-of-line): New defcustom.
7504 (tramp-action-login, tramp-action-yesno, tramp-action-yn)
7505 (tramp-action-terminal): Use it. (Bug#10530)
7506
1d00653d
SM
75072012-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
7508
7509 * minibuffer.el (completion--replace): Strip properties (bug#10062).
7510
6a6ee00d
MR
75112012-01-16 Martin Rudalics <rudalics@gmx.at>
7512
7513 * window.el (window-state-ignored-parameters): Remove variable.
7514 (window--state-get-1): Rename argument MARKERS to IGNORE.
7515 Handle persistent window parameters. Make copy of clone-of
7516 parameter only if requested. (Bug#10348)
7517 (window--state-put-2): Install a window parameter only if it has
7518 a non-nil value or an existing parameter shall be overwritten.
7519
97912def
MA
75202012-01-15 Michael Albinus <michael.albinus@gmx.de>
7521
7522 * net/tramp-sh.el (tramp-remote-path): Set tramp-autoload cookie.
7523
688070a5
EZ
75242012-01-14 Eli Zaretskii <eliz@gnu.org>
7525
7526 * info.el (Info-toc-build): If the Info file has no "Up" pointer,
7527 don't pass the (nil) value of `upnode' to string-match.
7528
301afadc
CY
75292012-01-14 Chong Yidong <cyd@gnu.org>
7530
7531 * startup.el (command-line): Fix X resource class for cursorColor.
04877ddb 7532 Fix values recognized by the cursorBlink resource.
301afadc 7533
9e5788aa
PE
75342012-01-14 Paul Eggert <eggert@cs.ucla.edu>
7535
7536 * epg.el (epg--make-temp-file): Avoid permission race condition
7537 when running on old Emacs versions (bug#10403).
7538
3cdb7f5a
GM
75392012-01-14 Glenn Morris <rgm@gnu.org>
7540
7541 * dired.el (dired-get-filename): Fix 'verbatim case of previous change.
7542
8c82b1b4
AM
75432012-01-13 Alan Mackenzie <acm@muc.de>
7544
7545 Fix filling for when filladapt mode is enabled.
7546
7547 * progmodes/cc-cmds.el (c-fill-paragraph): In the invocation of
7548 c-mask-paragraph, pass in `fill-paragraph' rather than
7549 `fill-region-as-paragraph'. (This is a reversion of a previous
7550 change.)
eb864a71
LM
7551 * progmodes/cc-mode.el (c-basic-common-init):
7552 Make fill-paragraph-handle-comment buffer local and set it to nil.
8c82b1b4 7553
e517eda4
GM
75542012-01-13 Glenn Morris <rgm@gnu.org>
7555
1498536e
GM
7556 * dired.el (dired-switches-escape-p): New function.
7557 (dired-insert-directory): Use dired-switches-escape-p.
7558 (dired-get-filename): Undo "\ " quoting if needed. (Bug#10469)
7559
e517eda4
GM
7560 * find-dired.el (find-ls-option): Doc fix. (Bug#10262)
7561
328f984d
GM
75622012-01-12 Glenn Morris <rgm@gnu.org>
7563
7564 * mail/sendmail.el (mail-mode): Update paragraph-separate for
7565 changes in adaptive-fill-regexp. (Bug#10276)
7566
2cc769a8
AM
75672012-01-11 Alan Mackenzie <acm@muc.de>
7568
7569 Fix Emacs bug #10463 - put `widen's around the critical spots.
7570
1d00653d 7571 * progmodes/cc-engine.el (c-in-literal, c-literal-limits): Put a
2cc769a8
AM
7572 widen around each invocation of c-state-pp-to-literal. Remove an
7573 unused let variable.
7574
e52c37fa
GM
75752012-01-11 Glenn Morris <rgm@gnu.org>
7576
7577 * dired-aux.el (dired-do-shell-command): Fix */? logic. (Bug#6561)
09044622 7578 Doc fix.
e52c37fa 7579
96f8741e
CY
75802012-01-10 Chong Yidong <cyd@gnu.org>
7581
1d00653d
SM
7582 * net/network-stream.el (network-stream-open-starttls):
7583 Avoid emitting a confusing error message when the server gives a bad
96f8741e
CY
7584 response to the capability command.
7585
b09a806e
GM
75862012-01-10 Glenn Morris <rgm@gnu.org>
7587
7588 * mail/unrmail.el (unrmail): Tweak previous change.
7589
7655cb66
CY
75902012-01-09 Chong Yidong <cyd@gnu.org>
7591
7592 * custom.el (custom-safe-themes): Use SHA-256 for hashing.
7593
9d5a8f0b
AM
75942012-01-08 Alan Mackenzie <acm@muc.de>
7595
7596 Optimise font locking in long enum definitions.
7597
7598 * progmodes/cc-fonts.el (c-font-lock-declarations): Add an extra
7599 arm to a cond form to handle enums.
7600 * progmodes/cc-langs.el (c-enums-contain-decls): New lang variable.
7601 * progmodes/cc-mode.el (c-font-lock-fontify-region): Correct a typo.
7602
9a0115ab 76032012-01-07 Paul Eggert <eggert@cs.ucla.edu>
6bb72cbd
PE
7604
7605 * files.el (move-file-to-trash): Preserve default file modes on error.
a0562b3d 7606 (Bug#10401)
6bb72cbd 7607
f186bb95
LMI
76082012-01-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
7609
29232a68
LMI
7610 * faces.el (set-face-attribute): Clarify the meaning of the nil
7611 frame (bug#10294).
7612
4e5d086d
LMI
7613 * subr.el (with-selected-frame): Mention that the selected frame
7614 is restored (bug#9980).
7615
8e66aebe
LMI
7616 * ibuffer.el (ibuffer-mode): List the bindings in the corrent map
7617 (bug#9759).
7618
cd394be1 7619 * mail/smtpmail.el (password-cache-add): Remove unused declaration.
f186bb95
LMI
7620 (password-read): Don't autoload unused function.
7621
adf4e762
JB
76222012-01-07 Juanma Barranquero <lekktu@gmail.com>
7623
7624 * progmodes/which-func.el (which-func-mode): Turn into a
7625 non-interactive function and mark as obsolete (bug#10428).
7626
89bd9ccd
CY
76272012-01-06 Chong Yidong <cyd@gnu.org>
7628
7629 * files.el (hack-dir-local-variables-non-file-buffer): Add doc.
7630 (hack-one-local-variable-eval-safep): Allow 0 arg for minor mode
7631 functions, along with 1 and -1.
7632
4afee9d5
EZ
76332012-01-06 Eli Zaretskii <eliz@gnu.org>
7634
7635 * time.el (display-time-load-average)
7636 (display-time-default-load-average): Doc fixes. See the thread
7637 starting at
7638 http://lists.gnu.org/archive/html/help-gnu-emacs/2012-01/msg00059.html
7639 for the details.
7640
536aea70
GM
76412012-01-06 Glenn Morris <rgm@gnu.org>
7642
665ae865
GM
7643 * mail/unrmail.el (unrmail): Give an explicit error if the input file
7644 has no messages. (Bug#10377)
7645
c869783d
GM
7646 * info.el (Info-mode-map): Bind e to end-of-buffer, rather
7647 than Info-edit. (Bug#10385)
7648
2bb4227e
GM
7649 * time.el (display-time-load-average, display-time-next-load-average):
7650 Doc fixes.
7651
7d5944b9
GM
7652 * emacs-lisp/bytecomp.el (byte-compile-file): Do not propagate a file
7653 local setting of buffer-read-only to the input buffer. (Bug#10419)
7654
536aea70
GM
7655 * calendar/calendar.el (calendar-mode):
7656 Locally set scroll-margin to 0. (Bug#10379)
7657
7dccca16
UM
76582012-01-06 Ulrich Mueller <ulm@gentoo.org>
7659
7660 * play/doctor.el (doctor-death): Escape "," characters. (Bug#10370)
7661
afbb7930
GM
76622012-01-05 Glenn Morris <rgm@gnu.org>
7663
7664 * eshell/em-unix.el (diff-no-select): Autoload it.
7665 (eshell/diff): Use diff-no-select. (Bug#10420)
7666
04482335
CY
76672012-01-05 Chong Yidong <cyd@gnu.org>
7668
7baca3bc
CY
7669 * shell.el (shell-dynamic-complete-functions): Revert last change.
7670 (shell-command-completion-function): New function.
7671 (shell-completion-vars): Use it to implement
7672 shell-completion-execonly (Bug#10417).
7673
04482335
CY
7674 * custom.el (enable-theme): Don't set custom-safe-themes.
7675
1d00653d
SM
7676 * cus-theme.el (custom-theme-merge-theme):
7677 Ignore custom-enabled-themes and custom-safe-themes.
04482335 7678
bb5aa5d6
MM
76792012-01-05 Michael R. Mauger <mmaug@yahoo.com>
7680
7681 * progmodes/sql.el (sql-login-hook): Add hook to respond to the
7682 first prompt in `sql-interacive-mode'.
7683 (sql-mode-oracle-font-lock-keywords): Add CONNECT_BY_* builtin
04482335 7684 keywords.
6df6ae42 7685 (sql-mode-mysql-font-lock-keywords): Add ELSEIF keyword.
bb5aa5d6
MM
7686 (sql-product-interactive): Bug fix: Set `sql-buffer' in
7687 context of original buffer. Invoke `sql-login-hook'.
7688
a7183d7c
EZ
76892012-01-04 Eli Zaretskii <eliz@gnu.org>
7690
7691 * mail/rmail.el (rmail-font-lock-keywords): Accept non-ASCII
7692 letters in cite-prefix.
7693
a1eacd1e
LMI
76942012-01-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
7695
7696 * mail/smtpmail.el (smtpmail-stream-type): Mention the `ssl' value.
7697
787cdb34
CY
76982012-01-03 Chong Yidong <cyd@gnu.org>
7699
1d00653d
SM
7700 * shell.el (shell-dynamic-complete-functions):
7701 Put pcomplete-completions-at-point, so as to try
787cdb34
CY
7702 comint-filename-completion first (Bug#10417).
7703
30710442
RS
77042012-01-02 Richard Stallman <rms@gnu.org>
7705
7706 * battery.el (battery-status-function):
7707 Detect when to use battery-yeeloong-sysfs.
7708 (battery-echo-area-format): Add string for Yeeloong.
7709 (battery-linux-proc-apm, battery-linux-proc-acpi): Doc fixes.
7710 (battery-yeeloong-sysfs): New function.
7711
f75bfc33
CY
77122012-01-02 Chong Yidong <cyd@gnu.org>
7713
7714 * dirtrack.el (dirtrack-list): Eliminate unused third element.
7715 (dirtrack): Merge code for handling relative filenames in prompt
7716 from shell-dir-cookie-watcher.
7717 (dirtrack-debug-message): New arg to avoid excess format calls.
7718
7719 * shell.el (shell-dir-cookie-re): Variable deleted.
7720 (shell-dir-cookie-watcher): Function deleted.
7721 (shell-mode): Don't use shell-dir-cookie-re, since it is redundant
7722 with dirtrack-mode.
7723
651e947e
EZ
77242012-01-01 Eli Zaretskii <eliz@gnu.org>
7725
1d00653d
SM
7726 * term/w32-win.el (dynamic-library-alist) <gnutls>:
7727 Load libgnutls-28.dll, from GnuTLS version 3.x, in preference to
651e947e
EZ
7728 libgnutls-26.dll.
7729
94d4c7dc
AS
77302011-12-31 Andreas Schwab <schwab@linux-m68k.org>
7731
7732 * emacs-lisp/bytecomp.el (byte-compile-file): Fix indentation.
7733
8d43f3cd
EZ
77342011-12-31 Eli Zaretskii <eliz@gnu.org>
7735
7736 * mail/rmail.el (rmail-show-message-1): Decode any RFC2047 encoded
7737 headers of non-MIME messages, when rmail-enable-mime is non-nil.
7738
98c8795a
MA
77392011-12-29 Michael Albinus <michael.albinus@gmx.de>
7740
7741 * net/tramp-sh.el (tramp-find-shell): Set "remote-shell" property
7742 also for alternative shells.
7743 (tramp-open-connection-setup-interactive-shell): Check, whether
7744 the shell is a busybox.
7745 (tramp-send-command): Don't suppress multiple prompts for
7746 busyboxes, it hurts.
7747
51281b32
CY
77482011-12-28 Chong Yidong <cyd@gnu.org>
7749
7750 * progmodes/gdb-mi.el (gdb-get-source-file-list)
7751 (gdb-get-source-file): Move mode line update to
7752 gdb-get-source-file (Bug#10087).
7753
2170cb53
CY
77542011-12-25 Chong Yidong <cyd@gnu.org>
7755
7756 * progmodes/gud.el (gud-gdb-fetch-lines-filter): Just use
7757 gud-gdb-marker-filter without taking it as an argument.
7758 (gud-gdb-run-command-fetch-lines): Caller changed.
7759 (gud-gdb-completion-function): New variable.
7760 (gud-gdb-completion-at-point): Use it.
7761 (gud-gdb-completions-1): Split from gud-gdb-completions.
7762
7763 * progmodes/gdb-mi.el (gdb-input): Accept command and handler
7764 function as separate arguments.
7765 (gdb-init-1, gdb-non-stop-handler, gdb-check-target-async)
7766 (gdb-tooltip-print-1, gud-watch, gdb-speedbar-update)
7767 (gdb-var-list-children, gdb-var-set-format, gdb-var-delete-1)
7768 (gdb-var-delete-children, gdb-edit-value, gdb-var-update)
7769 (gdb-stopped, def-gdb-auto-update-trigger)
7770 (gdb-place-breakpoints, gdb-select-thread, gdb-select-frame)
b81d40f0
JB
7771 (gdb-get-changed-registers, gdb-get-main-selected-frame):
7772 Callers changed.
2170cb53
CY
7773 (gud-gdbmi-completions): New function.
7774 (gdb): Use it for generating the completion table.
7775
be8b11bb
AM
77762011-12-24 Alan Mackenzie <acm@muc.de>
7777
7778 Introduce a mechanism to widen the region used in context font
1d00653d 7779 locking. Use this to protect declarations from losing their contexts.
be8b11bb 7780
1d00653d
SM
7781 * progmodes/cc-langs.el (c-before-font-lock-functions):
7782 Replace c-set-fl-decl-start with c-change-set-fl-decl-start (Renaming).
b81d40f0 7783 (c-before-context-fontification-functions): New defvar, a list of
be8b11bb
AM
7784 functions to be run just before context (etc.) font locking.
7785
7786 * progmodes/cc-mode.el (c-extend-font-lock-region-for-macros):
b81d40f0 7787 New, functionality extracted from
be8b11bb 7788 c-neutralize-syntax-in-and-mark-CPP.
b81d40f0 7789 (c-in-after-change-fontification): New variable.
be8b11bb
AM
7790 (c-after-change): Set c-in-after-change-fontification.
7791 (c-set-fl-decl-start): Rejig its interface, so it can be called
7792 from both after-change and context fontifying.
b81d40f0
JB
7793 (c-change-set-fl-decl-start, c-context-set-fl-decl-start):
7794 New functions.
7795 (c-standard-font-lock-fontify-region-function): New variable.
7796 (c-font-lock-fontify-region): New function.
be8b11bb 7797
341cf6ac
JL
77982011-12-24 Juri Linkov <juri@jurta.org>
7799
7800 * window.el (window--state-get-1): Set `FORCE' arg of `mark' to t.
7801 (Bug#10348)
7802
bffcee0a
MA
78032011-12-23 Michael Albinus <michael.albinus@gmx.de>
7804
7805 * net/ange-ftp.el (ange-ftp-copy-file-internal): Check for
7806 existence of source file. (Bug#10325)
7807
cb5e207c
AM
78082011-12-23 Alan Mackenzie <acm@muc.de>
7809
7810 Fix unstable fontification inside templates.
7811
b81d40f0
JB
7812 * progmodes/cc-langs.el (c-before-font-lock-functions):
7813 Newly created from the singular version. The (c c++ objc) entry now
cb5e207c
AM
7814 additionally has c-set-fl-decl-start. The other languages (apart
7815 from AWK) have that as a single entry.
7816
b81d40f0
JB
7817 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
7818 The functionality for "local" declarations has been extracted to
cb5e207c
AM
7819 c-set-fl-decl-start.
7820
b81d40f0
JB
7821 * progmodes/cc-mode.el (c-common-init, c-after-change):
7822 Changes due to pluralisation of c-before-font-lock-functions.
cb5e207c
AM
7823 (c-set-fl-decl-start): New function, extracted from
7824 c-font-lock-enclosing-decls and enhanced.
7825
60ff536c
JB
78262011-12-23 Juanma Barranquero <lekktu@gmail.com>
7827
7828 * desktop.el (desktop-internal-v2s): Fix typos in docstring (bug#10353).
7829
1c4757d6
JL
78302011-12-22 Juri Linkov <juri@jurta.org>
7831
7832 * progmodes/grep.el (rgrep): Fix docstring. (Bug#10185)
7833
d031f2c7
CY
78342011-12-22 Chong Yidong <cyd@gnu.org>
7835
7836 * vc/vc-hooks.el (vc-keep-workfiles): Doc fix.
7837
bace743a
DA
78382011-12-21 Drew Adams <drew.adams@oracle.com>
7839
7840 * files.el (file-remote-p): Fix docstring. (Bug#10319)
7841
728a1f2b
JC
78422011-12-21 Jérémy Compostella <jeremy.compostella@gmail.com>
7843
7844 * battery.el (battery-linux-sysfs): Add missing parameters from acpi.
7845
0d373f73
TZ
78462011-12-21 Teodor Zlatanov <tzz@lifelogs.com>
7847
fec0aaa4
TZ
7848 * progmodes/cfengine.el: Add Version. Improve CFEngine 3.x syntax
7849 highlighting and support. Fix up comments for capitalization.
7850 (cfengine-mode-debug): New var.
7851 (cfengine3-mode): Change the modeline indicator to "CFE3".
7852 (cfengine3-font-lock-keywords): Improve defun highlighting.
7853 (cfengine2-actions): Rename from `cfengine-actions'.
7854 (cfengine2-font-lock-keywords): Rename from
7855 `cfengine-font-lock-keywords'.
7856 (cfengine2-imenu-expression): Rename from
7857 `cfengine-imenu-expression'.
7858 (cfengine2-outline-level): Rename from `cfengine-outline-level'.
7859 (cfengine2-beginning-of-defun): Rename from
7860 `cfengine-beginning-of-defun'.
7861 (cfengine2-end-of-defun): Rename from `cfengine-end-of-defun'.
7862 (cfengine2-indent-line): Rename from `cfengine-indent-line'.
7863 (cfengine2-mode): Rename from `cfengine-mode'. Change the
7864 modeline indicator to "CFE2".
7865 (cfengine-mode): Defalias to `cfengine-auto-mode'.
7866 (cfengine-mode-abbrevs): Mark obsolete.
0d373f73 7867
bc86f573
CY
78682011-12-21 Chong Yidong <cyd@gnu.org>
7869
7870 * vc/vc-bzr.el (vc-bzr-rename-file): Don't pass ~ to Bzr in
7871 filename argument.
7872
d45ba96b
MR
78732011-12-20 Martin Rudalics <rudalics@gmx.at>
7874
7875 * window.el (window-normalize-buffer-to-display): Remove.
7876 (display-buffer): Handle buffer-or-name argument as in Emacs 23.
7877
a6198c90
CY
78782011-12-19 Chong Yidong <cyd@gnu.org>
7879
7880 * vc/vc-dir.el (vc-dir-parent-marked-p, vc-dir-children-marked-p):
7881 Don't signal an error in a predicate function; return non-nil.
7882 (vc-dir-mark-file): Move the error here.
7883 (vc-dir-mark-unmark): If acting on the region, keep going if one
7884 of the entries cannot be marked/unmarked.
7885 (vc-dir-mark-all-files): If current entry is a directory, mark
7886 only child files, as documented.
7887
34c5fb55
VB
78882011-12-19 Vincent Belaïche <vincentb1@users.sourceforge.net>
7889
7890 * ses.el: Ooops... undo changes of 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net, as trunk
7891 branch is feature frozen, and 2011-12-11T14:49:48Z!vincentb1@users.sourceforge.net was a feature
7892 addition.
7893
c803b2b7
JD
78942011-12-18 Jan Djärv <jan.h.d@swipnet.se>
7895
7896 * term/ns-win.el (ns-get-selection-internal)
7897 (ns-store-selection-internal): Declare.
1154d12e
JB
7898 (ns-store-cut-buffer-internal, ns-get-cut-buffer-internal):
7899 Declare as obsolete.
7900 (ns-get-pasteboard, ns-paste-secondary):
7901 Use ns-get-selection-internal.
7902 (ns-set-pasteboard, ns-copy-including-secondary):
7903 Use ns-store-selection-internal.
c803b2b7 7904
9cff91f8 79052011-12-17 Chong Yidong <cyd@gnu.org>
99a289d9
CY
7906
7907 * vc/vc.el (vc-next-action): Doc fix; remove CVS-isms.
9cff91f8 7908 (vc-deduce-fileset): Doc fix.
99a289d9 7909
f16c898a
AS
79102011-12-16 Andreas Schwab <schwab@linux-m68k.org>
7911
7912 * calc/calc-misc.el (calc-help): Avoid wrapping help message.
7913
763237c4
SS
79142011-12-13 Sam Steingold <sds@gnu.org>
7915
7916 * man.el (Man-getpage-in-background): When running under a
7917 window-system, ignore $MANWIDTH and $COLUMNS.
7918
5fc1c122
KH
79192011-12-15 Kenichi Handa <handa@m17n.org>
7920
7921 * language/ethio-util.el: Change coding tag to utf-8-emacs.
7922 (setup-ethiopic-environment-internal): Comment out key-binding for
7923 ethio-toggle-punctuation.
7924
13d49cbb
AM
79252011-12-13 Alan Mackenzie <acm@muc.de>
7926
898169a2
AM
7927 Add the switch statement to AWK Mode.
7928
7a71b18d 7929 * progmodes/cc-awk.el (awk-font-lock-keywords): Add "switch", "case",
898169a2
AM
7930 "default" to the keywords regexp.
7931
7a71b18d 7932 * progmodes/cc-langs.el (c-label-kwds): Let AWK take the same
898169a2 7933 expression as the rest.
1d00653d
SM
7934 (c-nonlabel-token-key): Allow string literals for AWK.
7935 Refactor for the other modes.
898169a2 7936
13d49cbb 7937 Large brace-block initialisation makes CC Mode slow: Fix.
1d00653d 7938 Tidy up and accelerate c-in-literal, etc. by using the c-parse-state
13d49cbb
AM
7939 routines. Limit backward searching in c-font-lock-enclosing.decl.
7940
7941 * progmodes/cc-engine.el (c-state-pp-to-literal): Return the
7942 pp-state and literal type in addition to the limits.
1d00653d 7943 (c-state-safe-place): New defun, extracted from c-state-literal-at.
13d49cbb 7944 (c-state-literal-at): Use the above new defun.
1d00653d
SM
7945 (c-slow-in-literal, c-fast-in-literal): Remove.
7946 (c-in-literal, c-literal-limits): Amend to use c-state-pp-to-literal.
13d49cbb
AM
7947
7948 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Check for
7949 being in a literal. Add a limit for backward searching.
7950
7951 * progmodes/cc-mode.el (awk-mode): Don't alias c-in-literal to
7952 c-slow-in-literal.
7953
15e0efc7
SM
79542011-12-13 Stefan Monnier <monnier@iro.umontreal.ca>
7955
7956 * progmodes/pascal.el: Declare `ind' as dyn-bound (bug#10264).
7957
454592a6
MR
79582011-12-13 Martin Rudalics <rudalics@gmx.at>
7959
7960 * window.el (delete-other-windows): Use correct frame in call to
7961 window-with-parameter.
7962
87393f26
DP
79632011-12-12 Daniel Pfeiffer <occitan@t-online.de>
7964
7965 * progmodes/make-mode.el: Bring it up to date with makepp V2.0.
7966 (makefile-make-font-lock-keywords): Extend meaning of `keywords'.
7967 (makefile-gmake-statements, makefile-makepp-statements):
7968 Use it and add new makepp keywords.
7969 (makefile-makepp-font-lock-keywords): Add new patterns.
7970 (makefile-match-function-end): Match new [...] and [[...]].
7971
11636b22
JB
79722011-12-11 Juanma Barranquero <lekktu@gmail.com>
7973
7974 * ses.el (ses-call-printer-return, ses-cell-property-get)
7975 (ses-sym-rowcol, ses-printer-validate, ses-formula-record)
7976 (ses-create-cell-variable, ses-reset-header-string)
7977 (ses-cell-set-formula, ses-repair-cell-reference-all)
7978 (ses-self-reference-early-detection, ses-in-print-area, ses-set-curcell)
7979 (ses-check-curcell, ses-call-printer, ses-adjust-print-width)
7980 (ses-print-cell-new-width, ses-formula-references, ses-relocate-formula)
7981 (ses-aset-with-undo, ses-load, ses-truncate-cell)
7982 (ses-read-column-printer, ses-read-default-printer, ses-insert-row)
7983 (ses-delete-row, ses-delete-column, ses-append-row-jump-first-column)
7984 (ses-kill-override, ses-yank-pop, ses-yank-cells, ses-yank-tsf)
7985 (ses-yank-resize, ses-export-tab, ses-mark-row, ses-mark-column)
7986 (ses-renarrow-buffer, ses-insert-range, ses-insert-ses-range)
7987 (ses-safe-printer, ses-safe-formula, ses-warn-unsafe, ses--clean-!)
7988 (ses--clean-_, ses-range, ses-select, ses-center, ses-center-span)
7989 (ses-dashfill, ses-unsafe): Fix typos and reflow docstrings.
7990
cf018193
VB
79912011-12-11 Vincent Belaïche <vincentb1@users.sourceforge.net>
7992
7993 * ses.el: The overall change is to add cell renaming, that is
7994 setting fancy names for cell symbols other than name matching
7995 "\\`[A-Z]+[0-9]+\\'" regexp .
7996 (ses-create-cell-variable): New defun.
7997 (ses-relocate-formula): Relocate formulas only for cells the
7998 symbols of which are not renamed, i.e. symbols whose names do not
7999 match regexp "\\`[A-Z]+[0-9]+\\'".
8000 (ses-relocate-all): Relocate values only for cells the symbols of
8001 which are not renamed.
8002 (ses-load): Create cells variables as the (ses-cell ...) are read,
8003 in order to check row col consistency with cell symbol name only
8004 for cells that are not renamed.
8005 (ses-replace-name-in-formula): New defun.
8006 (ses-rename-cell): New defun.
8007
ee957461
CY
80082011-12-11 Chong Yidong <cyd@gnu.org>
8009
8010 * progmodes/gdb-mi.el (gdb): Set comint-prompt-regexp, required
8011 for completion via gud-gdb-fetch-lines-filter (Bug#10274).
8012
9a9e9ef0
MR
80132011-12-11 Eric Hanchrow <eric.hanchrow@gmail.com>
8014
8015 * window.el (other-window): Fix docstring.
8016
92a8eba5
EZ
80172011-12-10 Eli Zaretskii <eliz@gnu.org>
8018
8019 * mail/rmailsum.el (rmail-header-summary): RFC2047 decode the
1d00653d
SM
8020 `from' or `to' address before taking its substring.
8021 Fixes incorrect display in Rmail summary buffer whereby an RFC2047
92a8eba5
EZ
8022 encoded name is chopped in the middle of the encoded string, and
8023 thus displayed encoded.
8024
e152e577
JB
80252011-12-10 Juanma Barranquero <lekktu@gmail.com>
8026
8027 * makefile.w32-in (update-subdirs-CMD): Use a Local Variables section.
8028
e5d84bfe
EZ
80292011-12-10 Eli Zaretskii <eliz@gnu.org>
8030
8031 * textmodes/texnfo-upd.el: Update commentary. Add a warning not
8032 to use texinfo-update-node and commands that call it if the
8033 Texinfo file uses @node lines without next/prev/up pointers.
b8830d28 8034 Correct outdated description about texinfo-master-menu.
e5d84bfe
EZ
8035 (texinfo-all-menus-update, texinfo-master-menu)
8036 (texinfo-update-node, texinfo-every-node-update)
8037 (texinfo-multiple-files-update): Doc fix. Warn against updating
8038 all the @node lines.
8039 (texinfo-master-menu): Only call texinfo-update-node if the prefix
b8830d28
EZ
8040 argument is numeric. Explain better in the doc string what the
8041 function really does.
8042 (texinfo-insert-master-menu-list): Improve the error message
8043 displayed if there's no menu in the Top node.
8044 (Bug#2975) See also this thread:
e5d84bfe
EZ
8045 http://lists.gnu.org/archive/html/emacs-devel/2011-12/msg00156.html.
8046
1d84e9bb
MG
80472011-12-09 Manuel Gómez <mgrojo@gmail.com> (tiny change)
8048
8049 * speedbar.el (speedbar-supported-extension-expressions):
8050 Add .adb and .ads, commonly used for Ada source code (bug#10256).
8051
382c953b
JB
80522011-12-09 Juanma Barranquero <lekktu@gmail.com>
8053
8054 * printing.el (pr-mode-alist):
8055 * simple.el (filter-buffer-substring-functions)
8056 (completion-list-insert-choice-function):
8057 * window.el (window-with-parameter, window-atom-root)
8058 (window-sides-slots, window-size-fixed, window-min-delta)
8059 (window-max-delta, window--resize-mini-window)
8060 (window--resize-child-windows-normal, window-tree)
8061 (delete-other-windows, quit-window, split-window)
8062 (display-buffer-record-window, special-display-buffer-names)
8063 (special-display-regexps, special-display-popup-frame)
8064 (same-window-p, split-window-sensibly)
8065 (display-buffer-overriding-action, display-buffer-alist)
8066 (display-buffer-base-action, display-buffer, switch-to-buffer)
8067 (switch-to-buffer-other-window, switch-to-buffer-other-frame)
8068 (fit-window-to-buffer, recenter-positions)
8069 (mouse-autoselect-window-state, mouse-autoselect-window-select):
8070 * emacs-lisp/syntax.el (syntax-propertize-function): Fix typos
8071 and remove unneeded backslashes in docstrings.
8072
39c9faef
SM
80732011-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
8074
98449af8
SM
8075 * emacs-lisp/lisp-mode.el (defmethod): Add doc-string-elt (bug#10244).
8076
39c9faef
SM
8077 * pcmpl-gnu.el: Don't fail when there is no Makefile nor -f arg.
8078 (pcmpl-gnu-makefile-regexps): Accept "makefile" as well as files that
8079 end in ".mk".
8080 (pcmpl-gnu-make-rule-names): Check "makefile" and ignore errors
8081 when reading the makefile (bug#10116).
8082
86ed9fdc
SM
80832011-12-06 Stefan Monnier <monnier@iro.umontreal.ca>
8084
8085 * pcmpl-gnu.el (pcomplete/make): Also allow filename arguments
8086 (bug#10116).
8087
5580f89d
GM
80882011-12-06 Glenn Morris <rgm@gnu.org>
8089
8090 * emacs-lisp/package.el (package-archives): Doc fix re riskiness.
8091
28d3917c
CY
80922011-12-06 Chong Yidong <cyd@gnu.org>
8093
8094 * progmodes/cc-fonts.el (c-annotation-face): Use defface.
8095
a98edce9
JB
80962011-12-06 Juanma Barranquero <lekktu@gmail.com>
8097
8098 * textmodes/table.el (table-shorten-cell): Fix typo.
8099
e65adfac
CG
81002011-12-05 Christopher Genovese <genovese.cr@gmail.com> (tiny change)
8101
8102 * emacs-lisp/assoc.el (aput): Fix return value (bug#10146)
8103
71cc0b74
EZ
81042011-12-05 Eli Zaretskii <eliz@gnu.org>
8105
8106 * descr-text.el (describe-char): Fix display of strong
8107 right-to-left characters and directional embeddings and overrides.
8108
8109 * simple.el (what-cursor-position): Fix display of codepoints of
8110 strong right-to-left characters.
8111
315bc30d
CY
81122011-12-05 Chong Yidong <cyd@gnu.org>
8113
8114 * faces.el (read-color): Doc fix.
8115
58a70b94
GM
81162011-12-05 Glenn Morris <rgm@gnu.org>
8117
8118 * align.el (align--set-marker): Add doc-string.
8119 Don't try to move something that is not a marker. (Bug#10216)
8120
5158face
GM
81212011-12-04 Glenn Morris <rgm@gnu.org>
8122
8123 * calendar/appt.el (appt-add): Rewrite the interactive-spec to avoid
8124 overly zealous deletion of trailing whitespace.
8125
520fca41
JB
81262011-12-04 Juanma Barranquero <lekktu@gmail.com>
8127
8128 * server.el (server-delete-client): On Windows, do not try to delete
8129 the only terminal.
8130 (server-process-filter): On Windows, treat requests for a tty frame as
8131 if they were for a GUI frame if the running server is in GUI mode.
8132
5e605a2e
GM
81332011-12-03 Glenn Morris <rgm@gnu.org>
8134
8135 * textmodes/texinfmt.el (batch-texinfo-format): Doc fix. (Bug#10207)
8136
5c3fe83f
SM
81372011-12-03 Stefan Monnier <monnier@iro.umontreal.ca>
8138
6f5e57e7
SM
8139 * electric.el: Streamline electric-indent's hook.
8140 (electric-indent-chars): Revert to simple list.
8141 (electric-indent-functions): New var.
8142 (electric-indent-post-self-insert-function): Use it.
8143
5c3fe83f
SM
8144 * progmodes/prolog.el (prolog-find-value-by-system): Avoid error when
8145 there's no inferior buffer (bug#10196).
8146 (prolog-consult-compile): Don't use toggle-read-only.
8147
6bdac736
MA
81482011-12-02 Michael Albinus <michael.albinus@gmx.de>
8149
8150 * net/tramp-sh.el (tramp-maybe-open-connection): Handle user
8151 interrupt. (Bug#10187)
8152
6131ba7f
SM
81532011-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
8154
99c79fee
SM
8155 * pcmpl-gnu.el (pcomplete/tar): large-file-warn-threshold can be nil
8156 (bug#9160).
8157
6131ba7f
SM
8158 * dired-aux.el (dired-query): Don't assume help-char is modifier-free
8159 (bug#10191).
8160
cb0a02ea
JL
81612011-12-02 Juri Linkov <juri@jurta.org>
8162
8163 * info.el (Info-search): Display "end of manual" when Isearch
8164 reaches the end of single-file Info manual. (Bug#9918)
8165
66e0570c
EZ
81662011-12-02 Eli Zaretskii <eliz@gnu.org>
8167
8168 * isearch.el (isearch-message-prefix): Run the input method part
8169 of the prompt through bidi-string-mark-left-to-right. (Bug#10183)
8170
02b16839
JL
81712011-12-02 Juri Linkov <juri@jurta.org>
8172
8173 * isearch.el (isearch-occur): Use `word-search-regexp' for
8174 `isearch-word'.
8175 (isearch-search-and-update): Add condition for `isearch-word' and
8176 call `word-search-regexp'. (Bug#10145)
8177
0b950688
GM
81782011-12-01 Glenn Morris <rgm@gnu.org>
8179
8180 * eshell/em-hist.el (eshell-hist-initialize):
8181 Handle eshell-history-size nil and HISTSIZE set or unset.
e8087a76 8182 (eshell-history-file-name, eshell-history-size): Fix custom type.
0b950688 8183
9505c3c7
SM
81842011-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
8185
8186 * man.el (Man-completion-table): Fix the lambda case (bug#10168).
8187
1bbe96b2 81882011-12-01 Michael McNamara <mac@mail.brushroad.com>
6288f0ca 8189
a1beca85
SM
8190 * progmodes/verilog-mode.el (verilog-pretty-expr):
8191 Rework verilog-pretty-expr to handle new assignment operators in system
6288f0ca
WS
8192 verilog, such as += *= and the like.
8193 (verilog-assignment-operator-re): Regular expression to find the
8194 assigment operator in a verilog assignment.
8195 (verilog-assignment-operation-re): Regular expression to find an
8196 assignment statement for pretty-expr.
8197 (verilog-in-attribute-p): Query returns true if point is in an
8198 attribute context; used to skip these for expression line up from
8199 pretty-expr.
8200 (verilog-in-parameter-p): Query returns true if point is in an
8201 parameter definition context; used to skip these for expression
8202 line up from pretty-expr.
8203 (verilog-in-parenthesis-p): Query returns true if point is in a
8204 parenthetical expression, specifically ( ) but not [ ] or { };
8205 used by pretty-expr.
8206 (verilog-just-one-space): If there is no space, don't add one.
8207 (verilog-get-lineup-indent-2): Specifically skip just attribute
8208 contexts for expression lineup, rather than skipping all
8209 parenthetical expressions.
8210 (verilog-calculate-indent): Fix comment, and fix indent.
8211 (verilog-do-indent): Indent declarations in lists (suggested by
8212 Joachim Lechner).
8213 (verilog-mode-abbrev-table): Populate abbrev mode with the various
8214 skeleton items.
8215 (verilog-sk-ovm-class): Add skeleton for OVM classes (reported
8216 by Alain Mellan).
8217
1bbe96b2 82182011-12-01 Wilson Snyder <wsnyder@wsnyder.org>
6288f0ca
WS
8219
8220 * progmodes/verilog-mode.el (verilog-read-defines): Fix reading
8221 parameters with embedded comments. Reported by Ray Stevens.
8222 (verilog-calc-1, verilog-fork-wait-re) (verilog-forward-sexp,
8223 verilog-wait-fork-re): Fix indentation of "wait fork", bug407.
8224 Reported by Tim Holt.
8225 (verilog-auto): Fix AUTOing a upper module then AUTOing module
8226 instantiated by upper module causing wrong expansion until AUTOed a
8227 second time. Reported by K C Buckenmaier.
8228 (verilog-diff-auto): Fix showing .* as a difference when
8229 `verilog-auto-star-save' off. Reported by Dan Dever.
8230 (verilog-auto-reset, verilog-read-always-signals)
8231 (verilog-auto-reset-blocking-in-non): Fix AUTORESET including
8232 temporary signals in reset list if
8233 verilog-auto-reset-blocking-in-non is nil, and match assignment
a1beca85
SM
8234 style to each signal's assignment type, bug381.
8235 Reported by Thomas Esposito.
6288f0ca
WS
8236 (verilog-sk-uvm-class, verilog-uvm-begin-re, verilog-uvm-end-re)
8237 (verilog-uvm-statement-re): Support UVM indentation and
8238 highlighting, with old OVM keywords only.
a1beca85 8239 (verilog-auto-tieoff, verilog-auto-tieoff-declaration):
1d00653d
SM
8240 Support AUTOTIEOFF creating non-wire data types.
8241 Suggested by Jonathan Greenlaw.
6288f0ca
WS
8242 (verilog-auto-insert-lisp, verilog-delete-to-paren)
8243 (verilog-forward-sexp-cmt, verilog-forward-sexp-ign-cmt)
8244 (verilog-inject-sense, verilog-read-inst-pins)
a1beca85
SM
8245 (verilog-read-sub-decls, verilog-read-sub-decls-line):
8246 Fix mismatching parenthesis inside commented out code when deleting
382c953b 8247 AUTOINST, bug383. Reported by Jonathan Greenlaw.
6288f0ca
WS
8248 (verilog-auto-ascii-enum): Fix AUTOASCIIENUM one-hot with
8249 non-numeric vector width. Reported by Alex Reed.
8250 (verilog-auto-ascii-enum): Add "onehot" option to work around not
382c953b 8251 detecting signals with parameter widths. Reported by Alex Reed.
a1beca85
SM
8252 (verilog-auto-delete-trailing-whitespace):
8253 With `verilog-auto-delete-trailing-whitespace' remove trailing
6288f0ca
WS
8254 whitespace in auto expansion, bug371. Reported by Brad Dobbie.
8255 (verilog-run-hooks, verilog-scan-cache-flush, verilog-syntax-ppss):
8256 Fix verilog-scan-cache corruption when running user AUTO expansion
8257 hooks that call indentation routines.
8258 (verilog-simplify-range-expression): Fix typo ignoring lower case
8259 identifiers.
8260 (verilog-delete-auto): Fix delete-autos to also remove user created
8261 automatics, as long as they start with AUTO.
8262 (verilog-batch-diff-auto, verilog-diff-auto)
8263 (verilog-diff-function): Add `verilog-diff-auto' and bind to
8264 "C-c?" to report differences in AUTO expansion, ignoring spaces.
8265 (verilog-backward-syntactic-ws-quick, verilog-beg-of-defun-quick)
8266 (verilog-in-paren-quick, verilog-re-search-backward-quick)
a1beca85
SM
8267 (verilog-re-search-forward-quick, verilog-syntax-ppss):
8268 Fix calling `syntax-ppss' when inside auto expansions as the ppss hook
6288f0ca
WS
8269 is disabled and its cache will get corrupt, causing AUTOS not to
8270 expand. Instead use only -quick functions.
8271 (verilog-scan-region): Fix scanning over escaped quotes.
8272 (verilog-inside-comment-or-string-p, verilog-inside-comment-p)
8273 (verilog-re-search-backward-quick)
8274 (verilog-re-search-forward-quick, verilog-scan): verilog-scan and
8275 related functions now ignore strings, to fix misparsing of strings
8276 with magic comments embedded in them.
a1beca85
SM
8277 (verilog-read-auto-template):
8278 Fix 'verilog-auto-inst-template-numbers' with extra newline before (.
8279 Reported by Brad Dobbie.
8280 (verilog-read-auto-template):
8281 Fix 'verilog-auto-inst-template-numbers' with comments.
6288f0ca 8282 Reported by Brad Dobbie.
6288f0ca
WS
8283 (verilog-auto-inst, verilog-auto-inst-param)
8284 (verilog-auto-inst-sort): Add 'verilog-auto-inst-sort' to reduce
8285 merge conflicts with AUTOINST, bug358. Reported by Brad Dobbie.
8286 (verilog-auto-inst-template-numbers): Add 'lhs' policy for
a1beca85
SM
8287 debugging templates without merge conflicts, bug357.
8288 Reported by Brad Dobbie.
8289 (verilog-read-auto-template):
8290 Fix verilog-auto-inst-template-numbers with multiple templates.
6288f0ca
WS
8291 Reported by Brad Dobbie.
8292 (verilog-define-abbrev): Fix verilog-mode abbrevs to be system
8293 abbrevs so user won't be asked to save.
8294 (verilog-read-auto-lisp-present): Fix to start at beginning of
8295 buffer in case called outside of verilog-auto.
8296 (verilog-simplify-range-expression): Fix AUTOWIRE expanding "X-1+1"
8297 to "X-2". Reported by Matthew Myers.
8298 (verilog-auto, verilog-auto-inout-in): Add AUTOINOUTIN for creating
8299 all inputs from module templates. Reported by Leith Johnson.
8300 (verilog-module-inside-filename-p): Fix locating programs as with
8301 modules.
8302 (verilog-auto-inst-port): Fix vl-width expressions when using
8303 verilog-auto-inst-param-value, bug331. Reported by Julian Gorfajn.
8304 (verilog-decls-get-regs, verilog-decls-get-signals,
8305 verilog-decls-get-vars, verilog-decls-get-wires, verilog-decls-new,
8306 verilog-modi-cache-add-vars, verilog-modi-cache-add-wires,
8307 verilog-read-decls): Combine reg and wire structures into one var
8308 structure to represent SystemVerilog concepts.
8309 (verilog-auto-ascii-enum, verilog-auto-logic, verilog-auto-reg)
8310 (verilog-auto-reg-input, verilog-auto-tieoff, verilog-auto-wire)
a1beca85
SM
8311 (verilog-auto-wire-type, verilog-insert-definition):
8312 Add verilog-auto-wire-type and AUTOLOGIC to support using
6288f0ca
WS
8313 SystemVerilog "logic" keyword instead of "wire"/"reg".
8314 (verilog-auto-reg-input, verilog-decls-get-signals): Fix AUTOWIRE
8315 to declares outputs that also have assignments (presumably in an
a1beca85
SM
8316 ifdef or generate if so there's not a driver conflict).
8317 Reported by Matthew Myers.
8318 (verilog-auto-declare-nettype, verilog-insert-definition):
8319 Add verilog-auto-declare-nettype to fix declarations using
6288f0ca
WS
8320 `default_nettype none. Reported by Julian Gorfajn.
8321 (verilog-read-always-signals-recurse, verilog-read-decls)
8322 (verilog-read-sub-decls-gate): Fix infinite loop with (*) and
8323 malformed end statement, bug325. Reported by Joshua Wise and
8324 Andrew Drake.
8325 (verilog-auto-star-safe, verilog-delete-auto-star-implicit)
8326 (verilog-inst-comment-re): Fix not deleting Interfaced comment
1d00653d
SM
8327 when expanding .* in interfaces, bug320.
8328 Reported by Pierre-David Pfister.
6288f0ca 8329 (verilog-read-module-name): Fix import statements between module
1d00653d
SM
8330 name and open parenthesis, bug317.
8331 Reported by Pierre-David Pfister.
6288f0ca
WS
8332 (verilog-simplify-range-expression): Fix simplification of
8333 multiplications inside AUTOWIRE connections, bug303.
8334 (verilog-auto-inst-port): Support parameter expansion in
8335 multidimensional arrays.
8336 (verilog-read-decls): Fix AUTOREG etc looking for "endproperty"
8337 after "assert property". Reported by Julian Gorfajn.
8338 (verilog-simplify-range-expression): Fix "couldn't merge" errors
8339 with multiplication, bug303.
8340 (verilog-read-decls): Fix parsing of unsigned data types, bug302.
8341 Reported by Jan Frode Lonnum.
8342
1bbe96b2
GM
83432011-11-30 Juanma Barranquero <lekktu@gmail.com>
8344
8345 * htmlfontify.el (hfy-page-header, hfy-post-html-hooks)
8346 (hfy-shell-file-name, hfy-shell):
8347 * international/fontset.el (x-decompose-font-name): Fix typos.
8348
83492011-11-29 Ken Brown <kbrown@cornell.edu>
8350
8351 * progmodes/gdb-mi.el: Fix bug#9853, bug#9858, and bug#9878.
8352 (gdb-version): Remove defvar.
8353 (gdb-supports-non-stop): New defvar, replacing `gdb-version'.
8354 (gdb-gud-context-command, gdb-non-stop-handler)
8355 (gdb-current-context-command, gdb-stopped): Use it.
8356 (gdb-init-1): Enable pretty printing here.
6131ba7f
SM
8357 (gdb-non-stop-handler): Don't enable pretty-printing here.
8358 Check to see if the target supports non-stop mode; if not, turn off
1bbe96b2
GM
8359 non-stop mode. Use the following.
8360 (gdb-check-target-async): New defun.
8361 (gud-watch, gdb-stopped): Fix whitespace.
8362 (gdb-get-source-file): Don't try to display the source file if
8363 `gdb-main-file' is nil.
8364
83652011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8366
8367 * align.el: Try to generate fewer markers (bug#10047).
8368 (align--set-marker): New macro.
8369 (align-region): Use it.
8370
c935221f
SM
83712011-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
8372
8373 * isearch.el (isearch-yank-x-selection): Deactivate mark (bug#10022).
8374
e70b5064
CY
83752011-11-29 Chong Yidong <cyd@gnu.org>
8376
8377 * indent.el (indent-for-tab-command, indent-according-to-mode):
8378 Doc fix.
8379 (indent-region): Doc fix. Switch nested ifs to equivalent cond.
8380
f3af92b7
MA
83812011-11-29 Michael Albinus <michael.albinus@gmx.de>
8382
8383 * vc/diff-mode.el (diff-find-file-name): Make `read-file-name'
8384 aware of remote file names. (Bug#10124)
8385
ed472be9
CY
83862011-11-29 Chong Yidong <cyd@gnu.org>
8387
8388 * frame.el (auto-raise-mode, auto-lower-mode): Doc fix.
8389
24510c22
SM
83902011-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
8391
8392 * files.el (find-file): Don't use force-same-window (bug#10144).
8393 * window.el (switch-to-buffer): Better match Emacs-23 behavior and only
8394 use pop-to-buffer if the selected window can't be used.
8395 (pop-to-buffer-same-window): Use display-buffer--same-window-action.
8396
c60c3703
EZ
83972011-11-28 Eli Zaretskii <eliz@gnu.org>
8398
8399 * vc/diff-mode.el (diff-mode-map): Don't inherit 'z' => 'M-z' from
8400 special-mode-map.
8401
e95def75
CY
84022011-11-28 Chong Yidong <cyd@gnu.org>
8403
8404 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix default doc.
8405
c3f1c606
NR
84062011-11-27 Nick Roberts <nickrob@snap.net.nz>
8407
8408 * progmodes/gdb-mi.el (gdb-init-1): Condition execution of
8409 gdb-get-source-file-list on gdb-create-source-file-list.
8410
00db469c
EZ
84112011-11-26 Eli Zaretskii <eliz@gnu.org>
8412
8413 * whitespace.el (whitespace-newline): Use a different foreground
8414 color for 16-color light-background displays.
8415
4ad3bc2a
CY
84162011-11-24 Chong Yidong <cyd@gnu.org>
8417
8418 * window.el (display-buffer--special-action): Doc fix.
8419
e9fce1ac
JB
84202011-11-25 Juanma Barranquero <lekktu@gmail.com>
8421
8422 * emacs-lisp/avl-tree.el (avl-tree--do-copy, avl-tree-create)
8423 (avl-tree-compare-function, avl-tree-empty, avl-tree-enter)
8424 (avl-tree-delete, avl-tree-member, avl-tree-member-p, avl-tree-map)
8425 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar, avl-tree-copy)
8426 (avl-tree-clear, avl-tree-stack, avl-tree-stack-pop)
8427 (avl-tree-stack-first):
8428 * emacs-lisp/cconv.el (cconv--analyse-use):
8429 * net/gnutls.el (gnutls-negotiate): Fix typos.
8430
cb825e5d
GM
84312011-11-24 Glenn Morris <rgm@gnu.org>
8432
3adbe224
GM
8433 * lpr.el (lpr-windows-system, lpr-lp-system):
8434 * mail/binhex.el (binhex-begin-line):
8435 * progmodes/grep.el (grep-history, grep-find-history):
8436 * textmodes/flyspell.el:
8437 * vc/pcvs-defs.el (cvs-global-menu):
8438 * vc/vc-bzr.el (vc-bzr-admin-checkout-format-file):
8439 * vc/vc-mtn.el (vc-mtn-admin-dir, vc-mtn-admin-format):
8440 * vc/vc-cvs.el (vc-cvs-registered): Give them basic doc-strings.
8441
321decc8
GM
8442 * net/tls.el: Fix case of "GnuTLS".
8443
420b63ad
GM
8444 * paths.el (rmail-file-name): Format doc-string for make-docfile.
8445
cb825e5d
GM
8446 * version.el (emacs-build-system): Give it a doc-string.
8447
a0649f08
JL
84482011-11-24 Juri Linkov <juri@jurta.org>
8449
8450 * view.el (view-buffer): Revert 2011-07-19T15:01:49Z!larsi@gnus.org from 2011-07-19 (bug#8615).
8451
c0bc0fd4
GM
84522011-11-24 Glenn Morris <rgm@gnu.org>
8453
8454 * mail/rmailmm.el (rmail-mime): When rmail-enable-mime is non-nil,
8455 if called on a non-mime message just toggle the headers. (Bug#8006)
8456
20db1522
JB
84572011-11-24 Juanma Barranquero <lekktu@gmail.com>
8458
8459 * allout.el (allout-setup, allout-auto-save-temporarily-disabled)
8460 (allout-lead-with-comment-string, allout-structure-deleted-hook)
8461 (allout-mode, allout-chart-subtree, allout-hotspot-key-handler)
8462 (allout-rebullet-heading, allout-open-sibtopic)
8463 (allout-toggle-current-subtree-encryption)
8464 (allout-toggle-subtree-encryption, allout-encrypt-string)
8465 (allout-next-topic-pending-encryption, allout-adjust-file-variable)
8466 (allout-distinctive-bullets-string, allout-auto-activation):
8467 * window.el (window-normalize-buffer-to-display):
8468 * progmodes/verilog-mode.el (verilog-batch-indent):
8469 * textmodes/bibtex.el (bibtex-field-braces-opt)
8470 (bibtex-field-strings-opt):
8471 * vc/cvs-status.el (cvs-tree-merge):
8472 Fix typos.
8473
7262a87c
MA
84742011-11-23 Michael Albinus <michael.albinus@gmx.de>
8475
8476 * rfn-eshadow.el (rfn-eshadow-update-overlay): Let-bind
8477 `non-essential' to t, in order to avoid remote connections.
8478
283430a1
EZ
84792011-11-23 Eli Zaretskii <eliz@gnu.org>
8480
a1beca85
SM
8481 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8482 On MS-DOS and MS-Windows, compare with loaddefs.el
283430a1
EZ
8483 case-insensitively.
8484
d2992a38
ML
84852011-11-23 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
8486
8487 * mail/unrmail.el (unrmail): Always add blank line. (Bug#7743)
8488
50419064
GM
84892011-11-23 Glenn Morris <rgm@gnu.org>
8490
da94eca1
GM
8491 * paths.el (rmail-file-name): Reformat the doc-string so that it
8492 is picked up.
8493
9aac4de2
GM
8494 * mail/rmail.el (rmail-message-filter, rmail-auto-file): Doc fixes.
8495 (rmail-auto-file): Ignore case in the "special" field names,
8496 as mail-fetch-field does for all others.
8497
8038d2d2
GM
8498 * mail/rmail.el (rmail-forward):
8499 * mail/rmailkwd.el (rmail-set-label):
8500 * mail/rmailout.el (rmail-output, rmail-output-as-seen)
8501 (rmail-output-body-to-file): Give error if no message. (Bug#10082)
8502
f3fe222a
GM
8503 * mail/rmail.el (rmail-current-message): Doc fix.
8504
50419064
GM
8505 * mail/rmail.el (rmail-message-filter): Mark as obsolete. (Bug#2624)
8506
28109f49
SM
85072011-11-22 Stefan Monnier <monnier@iro.umontreal.ca>
8508
8509 * server.el (server-eval-and-print): Allow C-g (bug#6585).
8510
394c65f1
GM
85112011-11-22 Glenn Morris <rgm@gnu.org>
8512
8513 * mail/rmailmm.el (test-rmail-mime-handler)
8514 (test-rmail-mime-bulk-handler)
8515 (test-rmail-mime-multipart-handler): Move tests to test/ directory.
8516
f2a0aa3a
JL
85172011-11-21 Juri Linkov <juri@jurta.org>
8518
1154d12e
JB
8519 * calc/calc.el (calc-read-key-sequence):
8520 Let-bind `input-method-function' to nil. (Bug#10018)
f2a0aa3a 8521
9c34a344
LMI
85222011-11-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
8523
8524 * emacs-lisp/cl-indent.el (common-lisp-loop-part-indentation):
8525 Tell the caller that the next line needs recomputation, even
8526 though it doesn't start a sexp (bug#10094).
8527
f04a3be9
SM
85282011-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
8529
8530 * emacs-lisp/autoload.el (autoload-generate-file-autoloads): Simplify.
8531
7978747f
SM
85322011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8533
f04a3be9
SM
8534 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
8535 Use force-same-window.
7978747f 8536
fe7a3057
JB
85372011-11-20 Juanma Barranquero <lekktu@gmail.com>
8538
8539 * descr-text.el (describe-char-unicode-data):
8540 * json.el (json-string-escape):
8541 * mail/footnote.el (footnote-unicode-string, footnote-unicode-regexp)
8542 (Footnote-unicode, Footnote-style-p):
8543 * net/ntlm.el (ntlm-get-password-hashes): Fix typos.
8544
24901d61
CY
85452011-11-20 Chong Yidong <cyd@gnu.org>
8546
8547 * window.el (replace-buffer-in-windows): Restore interactive spec.
8548
bac7ff22
SM
85492011-11-20 Stefan Monnier <monnier@iro.umontreal.ca>
8550
24f3d7b9
SM
8551 * electric.el (electric-indent-mode): Fix last change (too optimistic).
8552
bac7ff22
SM
8553 * emacs-lisp/bytecomp.el: Silence obsolete warnings more reliably.
8554 (byte-compile-global-not-obsolete-vars): New var.
8555 (byte-compile-check-variable, byte-compile-make-obsolete-variable):
8556 Use it.
8557 (byte-compile-warn-obsolete): Align text with the one in *Help*.
8558
cd1181db
JB
85592011-11-20 Juanma Barranquero <lekktu@gmail.com>
8560
8561 * progmodes/cwarn.el (cwarn-is-enabled, cwarn-font-lock-keywords):
8562 * progmodes/pascal.el (electric-pascal-equal):
8563 * textmodes/reftex-dcr.el (reftex-view-crossref-from-bibtex):
8564 * xml.el (xml-substitute-special): Fix typos.
8565
7fb18e9e
GM
85662011-11-20 Glenn Morris <rgm@gnu.org>
8567
8568 * mail/rmail.el (rmail-enable-mime-composing): Make it a defcustom.
8569 (rmail-insert-mime-forwarded-message-function, rmail-mime-feature):
8570 Doc fixes.
8571 (rmail-decode-mime-charset): Mark as obsolete.
8572
8573 * mail/rmailsum.el (rmail-message-regexp-p-1):
8574 * mail/rmail.el (rmail-search-message, rmail-forward, rmail-resend):
8575 Before using mime functions, check they are set. (Bug#10077)
8576
d5a6b3ba
JL
85772011-11-19 Juri Linkov <juri@jurta.org>
8578
8579 * info.el (Info-finder-find-node): Use `package--builtins' instead
8580 of `package-alist'. Use node names formed by the pattern "Keyword "
8581 and the keyword name.
8582
e981b61f
AS
85832011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8584
1d00653d 8585 * progmodes/sh-script.el (sh-assignment-regexp): Add entry for bash.
e981b61f 8586
3ffbc301
JL
85872011-11-19 Juri Linkov <juri@jurta.org>
8588
8589 * info.el (Info-hide-note-references): Add `:set' tag to `defcustom'
8590 that calls `revert-buffer' on all Info buffers. (Bug#9915)
8591 (Info-revert-find-node): Remove let-bindings `old-buffer-name',
8592 `old-history', `old-history-forward'. Add let-binding
8593 `window-selected'. Remove calls to `kill-buffer',
8594 `switch-to-buffer' and `Info-mode'. Set `Info-current-file' to nil
8595 before calling `Info-find-node', so `Info-find-node-2' will reread
8596 the Info file. Restore window positions only when `window-selected'
8597 is non-nil.
8598
30c62133
JL
85992011-11-19 Juri Linkov <juri@jurta.org>
8600
8601 * isearch.el (isearch-lazy-highlight-new-loop):
8602 Remove condition `(not isearch-error)'. (Bug#9918)
8603
8604 * misearch.el (multi-isearch-search-fun): Add condition
8605 `(not bound)' to ignore lazy-highlighting search.
8606 Add the search-failed message "end of multi" when the end of
8607 multi-sequence is reached. Uncapitalize the search-failed
8608 message "Repeat for next buffer".
8609
8610 * info.el (Info-search): Add the search-failed message
8611 "end of the manual" when the end of the manual is reached
8612 in Isearch mode.
8613
645ca9cf
JL
86142011-11-19 Juri Linkov <juri@jurta.org>
8615
8616 * info.el (Info-find-node-2, Info-select-node, Info-history-find-node):
8617 Use non-destructive `remove' instead of `delete' because
8618 `Info-history-list' stored to `Info-isearch-initial-history-list' in
8619 `Info-isearch-start' might need to be restored in `Info-isearch-end'.
8620
df754f66
JL
86212011-11-19 Juri Linkov <juri@jurta.org>
8622
8623 * isearch.el (isearch-edit-string): Let-bind `history-add-new-input'
8624 to nil instead of binding `search-ring' and `regexp-search-ring'.
8625 (Bug#9185)
8626
0e23d96a
EZ
86272011-11-19 Eli Zaretskii <eliz@gnu.org>
8628
8629 * simple.el (line-move): Force movement by logical lines for any
8630 hscrolled window, not only when auto-hscroll-mode is on.
8631 (line-move-visual): Update doc string to that effect. (Bug#10076)
8632
8a6ccb66
AS
86332011-11-19 Andreas Schwab <schwab@linux-m68k.org>
8634
8635 * language/european.el (macintosh): Define as alias for mac-roman.
8636
49ae5b39
EZ
86372011-11-19 Eli Zaretskii <eliz@gnu.org>
8638
8639 * mail/rmailmm.el (rmail-mime-display-header)
8640 (rmail-mime-display-tagline, rmail-mime-display-body): New defsubsts.
8641 (rmail-mime-entity-segment, rmail-mime-toggle-raw)
8642 (rmail-mime-toggle-hidden, rmail-mime-insert-text)
8643 (rmail-mime-insert-bulk, rmail-mime-insert-multipart)
8644 (rmail-mime-insert, rmail-mime-insert-tagline): Use them instead
8645 of a raw aref.
8646 (rmail-mime-entity-segment): To get past the tagline, move forward
8647 2 more lines, to account for the 2 empty lines that precede and
8648 follow the line with the buttons.
8649 (rmail-mime-update-tagline): Move one more line, to get past the
8650 empty line that follows the buttons in the tagline. (Bug#9520)
8651
c56cad4a
MR
86522011-11-19 Martin Rudalics <rudalics@gmx.at>
8653
8654 * window.el (window-max-delta-1, window-min-delta-1)
8655 (window-min-size-1, window-state-get-1, window-state-put-1)
8656 (window-state-put-2): Use "window--" prefix.
8657
cbe71af3
SM
86582011-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
8659
2ad52c60
SM
8660 * emacs-lisp/smie.el: Improve warnings and conflict detection.
8661 (smie-warning-count): New var.
8662 (smie-set-prec2tab): Use it.
8663 (smie-bnf->prec2): Improve warnings. Add docstring.
8664 (smie-bnf--closer-alist): Rename from smie-bnf-closer-alist.
8665 (smie-bnf--set-class): New function.
8666 (smie-bnf--classify): Rename from smie-bnf-classify. Rewrite to fix
8667 corner case.
8668
6944dbc1
SM
8669 * progmodes/compile.el: Obey compilation-first-column in dest buffer.
8670 (compilation-error-properties, compilation-move-to-column):
8671 Handle compilation-first-column while in the target buffer.
8672
c400c4d7
SM
8673 * progmodes/cc-engine.el (c-remove-stale-state-cache-backwards):
8674 Don't hardcode point-min==1.
8675
6dbe3e96
SM
8676 * eshell/esh-cmd.el (eshell-do-eval): Handle `setq' (bug#9907).
8677 (eshell-rewrite-for-command): Remove workaround.
8678 (eshell-do-pipelines, eshell-do-pipelines-synchronously)
8679 (eshell-do-eval, eshell-exec-lisp): Avoid gratuitous setq.
8680 * eshell/esh-util.el (eshell-condition-case, eshell-for): Use declare.
8681
cbe71af3
SM
8682 * files-x.el (modify-file-local-variable): Obey commenting conventions.
8683
a8e1496d
GM
86842011-11-17 Glenn Morris <rgm@gnu.org>
8685
8686 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
8687 Ignore buffer-local generated-autoload-file if it is the same
8688 as the global value. (Bug#10049)
8689
df85d315
JB
86902011-11-17 Juanma Barranquero <lekktu@gmail.com>
8691
8692 * textmodes/reftex-toc.el (reftex-toc-return-marker, reftex-toc-help)
8693 (reftex-toc, reftex-toc, reftex-toc-dframe-p, reftex-toc-next-heading)
8694 (reftex-toc-previous-heading, reftex-toc-max-level)
8695 (reftex-toc-goto-line-and-hide, reftex-toc-show-calling-point)
8696 (reftex-toc-quit, reftex-toc-revert, reftex-toc-jump)
8697 (reftex-toc-do-promote, reftex-toc-promote-prepare)
8698 (reftex-toc-promote-action, reftex-toc-extract-section-number)
8699 (reftex-toc-load-all-files-for-promotion, reftex-toc-rename-label)
8700 (reftex-toc-rename-label, reftex-toc-visit-location)
8701 (reftex-toc-visit-location, reftex-toggle-auto-toc-recenter)
8702 (reftex-toggle-auto-toc-recenter, reftex-toggle-auto-toc-recenter)
8703 (reftex-make-separate-toc-frame): Fix typos, and use TOC consistently,
8704 leaving "*toc*" only for references to the buffer.
8705
a0c2d0ae
MR
87062011-11-17 Martin Rudalics <rudalics@gmx.at>
8707
8708 * window.el (window-resize, delete-window, split-window):
8709 Replace window-splits by window-combination-resize.
1d00653d 8710 * cus-start.el (window-splits): Replace by window-combination-resize.
a0c2d0ae 8711
35c0bac8
GM
87122011-11-17 Glenn Morris <rgm@gnu.org>
8713
8714 * progmodes/sh-script.el (sh-font-lock-keywords-var):
8715 Make bash entry derive from sh entry, not shell entry.
8716
d0c8fc8a
MA
87172011-11-16 Michael Albinus <michael.albinus@gmx.de>
8718
7262a87c
MA
8719 * net/tramp-sh.el (tramp-sh-handle-file-truename): Cache only the
8720 local file name.
8721
7877f373
JB
87222011-11-16 Juanma Barranquero <lekktu@gmail.com>
8723
8724 * menu-bar.el (menu-bar-file-menu):
8725 * printing.el (pr-ps-utility):
8726 * calendar/icalendar.el (icalendar, icalendar--convert-tz-offset)
8727 (icalendar--convert-to-ical, icalendar--convert-ordinary-to-ical)
8728 (icalendar--convert-weekly-to-ical, icalendar--convert-yearly-to-ical)
8729 (icalendar--convert-sexp-to-ical, icalendar--convert-block-to-ical)
8730 (icalendar--convert-float-to-ical, icalendar--convert-date-to-ical)
8731 (icalendar--convert-cyclic-to-ical)
8732 (icalendar--convert-anniversary-to-ical, icalendar-import-buffer)
8733 (icalendar--convert-ical-to-diary)
8734 (icalendar--convert-recurring-to-diary)
8735 (icalendar--convert-non-recurring-all-day-to-diary)
8736 (icalendar-import-format-sample):
8737 * progmodes/idlw-shell.el (idlwave-shell-mode):
8738 * progmodes/vhdl-mode.el (vhdl-mode, vhdl-print-two-column)
8739 (vhdl-print-customize-faces, vhdl-mode, vhdl-ps-print-settings)
8740 (vhdl-ps-print-init): Fix typos.
8741
10649b82
KM
87422011-11-16 Ken Manheimer <ken.manheimer@gmail.com>
8743
9d0cfcd6
GM
8744 * allout.el, allout-widgets.el (file metadata): Attribute copyright to
8745 FSF and collapse date sequence, obscure author/maintainer email address
8746 better, remove extra version line, track relocation of author's webpage.
10649b82 8747
9d0cfcd6
GM
8748 * progmodes/python.el (python-pdbtrack-input-prompt)
8749 (python-pdbtrack-track-stack-file): Adjust to recognize ipdb as well as
8750 regular python pdb prompts. Adjustments shamelessly taken exactly as
8751 suggested in EmacsWiki page (tiny change):
8752 http://www.emacswiki.org/PythonProgrammingInEmacs#toc14
8642c216 8753
58179cce
JB
87542011-11-16 Juanma Barranquero <lekktu@gmail.com>
8755
8756 * expand.el (expand-pos, expand-index, expand-point):
8757 Remove redundant info from docstring.
8758 (expand-add-abbrevs): Doc fix.
8759 (expand-c-sample-expand-list, expand-sample-lisp-mode-expand-list)
8760 (expand-sample-perl-mode-expand-list): Fix typos.
8761
8762 * net/dbus.el (dbus-event-member-name):
8763 * play/5x5.el (5x5-solve-rotate-left, 5x5-solver-output):
8764 * term/pc-win.el (msdos-create-frame-with-faces):
8765 * textmodes/texinfmt.el (texinfo-format-image): Fix typos.
8766
b6f67890
MR
87672011-11-16 Martin Rudalics <rudalics@gmx.at>
8768
8769 * window.el (split-window, window-state-get-1)
8770 (window-state-put-1, window-state-put-2): Rename occurrences of
8771 window-nest to window-combination-limit.
1d00653d 8772 * cus-start.el (window-nest): Rename to window-combination-limit.
b6f67890 8773
ce7ddba0
CY
87742011-11-16 Chong Yidong <cyd@gnu.org>
8775
8776 * progmodes/autoconf.el (autoconf-mode): Fix comment-start-skip
8777 regexp (Bug#10033).
8778
3ae704f4
SM
87792011-11-16 Stefan Monnier <monnier@iro.umontreal.ca>
8780
8781 * tmm.el (tmm-prompt): Use minibuffer-with-setup-hook (bug#10053).
8782 `completing-read' will remove *Completions* and will preserve
8783 current-buffer for us.
8784 (tmm-add-prompt): Users of *Completions* will always (re)set its
8785 major mode.
8786 (tmm-old-comp-map): Remove.
8787
6ad1cdde
GM
87882011-11-16 Glenn Morris <rgm@gnu.org>
8789
8790 * mail/rmailedit.el: Require rmailmm when compiling.
8791 (rmail-old-mime-state): New declaration.
8792 (rmail-edit-current-message): If editing a mime message,
8793 edit the "raw" message from the mbox buffer.
8794 (rmail-cease-edit): Handle mime messages. (Bug#9840)
8795
d20faa20
GM
87962011-11-15 Glenn Morris <rgm@gnu.org>
8797
8798 * mail/rmailmm.el (rmail-mime-toggle-raw): Remove entity arg,
8799 which wasn't being used. Add optional arg to force given state.
8800 (rmail-mime): Add optional arg to force given state.
8801
c7015153
JB
88022011-11-15 Juanma Barranquero <lekktu@gmail.com>
8803
8804 * allout.el (allout-encryption-plaintext-sanitization-regexps):
8805 * frame.el (display-mm-dimensions-alist):
8806 * outline.el (outline-mode-menu-bar-map, outline-move-subtree-up)
8807 (outline-move-subtree-down):
8808 * net/newst-treeview.el (newsticker--treeview-do-get-node-of-feed)
8809 (newsticker--treeview-do-get-node):
8810 * net/quickurl.el (quickurl-list-buffer-name):
8811 * progmodes/dcl-mode.el (dcl-mode):
8812 * progmodes/gdb-mi.el (gdb-mapcar*):
8813 * progmodes/sql.el (sql-mode-oracle-font-lock-keywords): Fix typos.
8814
45261b50
GM
88152011-11-15 Glenn Morris <rgm@gnu.org>
8816
8817 * mail/rmail.el (rmail-file-coding-system): It's only ever used
8818 in a boolean sense, so just make it a boolean, and fix the doc.
8819 (rmail-show-mime-function, rmail-mime-feature)
8820 (rmail-require-mime-maybe): Doc fixes.
8821 (rmail-show-message-1): Check rmail-show-mime-function is non-nil.
8822
8823 * mail/rmailmm.el (rmail-show-mime): Doc fix.
8824
0d26e0b6
JB
88252011-11-15 Juanma Barranquero <lekktu@gmail.com>
8826
8827 * epg.el (epg-start-decrypt, epg-start-verify, epg-start-sign)
8828 (epg-start-encrypt, epg-start-export-keys, epg-start-import-keys)
8829 (epg-start-receive-keys, epg-start-delete-keys, epg-start-sign-keys)
8830 (epg-start-generate-key, epg-context-set-progress-callback): Fix typos.
8831
447f30f6
GM
88322011-11-15 Glenn Morris <rgm@gnu.org>
8833
672b871d
GM
8834 * mail/rmailmm.el (rmail-mime-entity, rmail-mime-entity-segment)
8835 (rmail-mime-shown-mode, rmail-mime-hidden-mode, rmail-mime-raw-mode)
8836 (rmail-mime-toggle-hidden, rmail-mime-insert-tagline)
8837 (rmail-mime-insert-header, rmail-mime-handle, rmail-mime-parse)
8838 (rmail-mime, rmail-show-mime): Doc fixes.
8839
f6aa5bb1
GM
8840 * term/ns-win.el (mode-line-frame-identification):
8841 Leave it alone. (Bug#10051)
8842
947cd66b
GM
8843 * simple.el (mark-whole-buffer): Doc fix. (Bug#10023)
8844
447f30f6
GM
8845 * mail/rmailout.el (rmail-output-to-rmail-buffer):
8846 Handle empty buffers. (Bug#9978)
8847
0b381c7e
JB
88482011-11-14 Juanma Barranquero <lekktu@gmail.com>
8849
8850 * international/mule.el (define-charset):
8851 * mail/rmailmm.el (rmail-mime-find-header-encoding):
8852 * progmodes/prolog.el (prolog-mode-hook, prolog-inferior-mode-hook):
8853 * progmodes/verilog-mode.el (verilog-backward-token):
8854 * textmodes/ispell.el (lookup-words):
8855 * textmodes/sgml-mode.el (sgml-guess-indent): Fix typos.
8856
71e027ac
GM
88572011-11-14 Glenn Morris <rgm@gnu.org>
8858
56632ce4
GM
8859 * progmodes/executable.el
8860 (executable-make-buffer-file-executable-if-script-p):
8861 Handle file-modes returning nil.
8862
40500957
GM
8863 * mail/rmailsum.el (rmail-summary): Remove movement to beginning of
8864 message - not necessary, and causes problems. (Bug#9831)
8865
071c2340
GM
8866 * mail/rmailsum.el (rmail-new-summary): Preserve message number.
8867
d3cfca60
GM
8868 * mail/rmail.el (rmail-no-mail-p): Remove mode-line N/M indicator.
8869
71e027ac
GM
8870 * mail/rmailsum.el (rmail-summary, rmail-new-summary)
8871 (rmail-new-summary-1): Allow empty summaries. (Bug#9964)
8872 (rmail-new-summary): Remember that rmail-summary-buffer is buffer-local.
8873
89d61221
MR
88742011-11-12 Martin Rudalics <rudalics@gmx.at>
8875
8876 * window.el (window-resize, delete-window): Use window-splits
8877 variable instead of function.
8878 (window-state-get-1, window-state-put-2, window-state-put):
8879 Don't deal with windows' splits status.
8880
98282f6f
GM
88812011-11-12 Glenn Morris <rgm@gnu.org>
8882
8883 * apropos.el (apropos-do-all, apropos-library, apropos-value)
8884 (apropos-documentation): Doc fixes.
8885
40a8bdf6
JB
88862011-11-11 Juanma Barranquero <lekktu@gmail.com>
8887
8888 * progmodes/idlw-shell.el (idlwave-shell-make-new-bp-overlay):
8889 * textmodes/sgml-mode.el (html-tag-help): Fix typos.
8890
65bd19ff
SM
88912011-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
8892
8893 * electric.el (electric-indent-post-self-insert-function): Make it
8894 possible for a char to only indent in some circumstances.
8895 (electric-indent-mode): Simplify.
8896
54f9154c
MR
88972011-11-11 Martin Rudalics <rudalics@gmx.at>
8898
8899 * window.el (windows-with-parameter): Remove unused function.
8900 (windows-at-side): Rename to window-at-side-list.
8901 (window-check, window-atom-check, window-atom-check-1)
5e92ca23
MR
8902 (window-side-check, window-size-ignore, window-size-fixed-1)
8903 (window-in-direction-2): Prefix with "window--".
8904 (window-tree-1): Rename to window--subtree, fix doc-string.
54f9154c 8905
68cbc58b
GM
89062011-11-11 Glenn Morris <rgm@gnu.org>
8907
8908 * subr.el (eval-after-load): If FILE is already loaded,
8909 evaluate FORM before it gets wrapped in more stuff. (Bug#10009)
8910
b2621720
GM
89112011-11-10 Glenn Morris <rgm@gnu.org>
8912
9a4de110
GM
8913 * vc/vc-svn.el (vc-svn-create-repo, vc-svn-modify-change-comment):
8914 Call svn via vc-svn-command rather than vc-do-command.
8915 (vc-svn-command): Add --non-interactive. (Bug#9993)
8916 (vc-svn-update, vc-svn-merge-news): No need for --non-interactive.
8917
b2621720
GM
8918 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
8919 Add toggle-read-only. (Bug#7292)
8920 * files.el (toggle-read-only): Mention that it should only
8921 be used interactively. (Bug#10006)
8922
1dce7193
SM
89232011-11-09 Stefan Monnier <monnier@iro.umontreal.ca>
8924
d9ac1a1e
SM
8925 * progmodes/compile.el (compilation-error-regexp-alist-alist):
8926 Adjust regexp for OCaml warnings.
8927
0c325082
SM
8928 * electric.el (electric-pair-post-self-insert-function): Let user
8929 turn it off buffer-locally (bug#9932).
8930
90132c14
SM
8931 * progmodes/python.el (python-beginning-of-statement):
8932 Rewrite (bug#2703).
8933
1dce7193
SM
8934 * progmodes/compile.el: Better handle TABs (bug#9749).
8935 (compilation-internal-error-properties)
8936 (compilation-next-error-function): Obey the target buffer's
8937 compilation-error-screen-columns.
8938
c4e7c63a
JB
89392011-11-09 Juanma Barranquero <lekktu@gmail.com>
8940
8941 * progmodes/meta-mode.el: Remove obsolete comments.
8942 (meta-right-comment-regexp, meta-ignore-comment-regexp):
8943 Fix typos in docstrings.
8944
2cffd681
MR
89452011-11-09 Martin Rudalics <rudalics@gmx.at>
8946
8947 * window.el (window-size-fixed-p): Rewrite doc-string.
1dce7193 8948 (window-resizable-p): Rename to window--resizable-p. Update callers.
2cffd681
MR
8949 (window--resizable): New function. Make all callers of
8950 window-resizable call window--resizable instead.
8951 (window-resizable): Rewrite in terms of window--resizable.
8952
0edcba87
GM
89532011-11-08 Glenn Morris <rgm@gnu.org>
8954
8955 * progmodes/delphi.el (delphi-mode-syntax-table):
8956 Let define-derived-mode define a proper syntax table. (Bug#9994)
8957
4b0d61e3
SM
89582011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8959
8960 * window.el: Stay away from defsubst.
8961 (window-list-no-nils): Remove.
8962 (window-state-get-1, window-state-get): Use backquote instead.
8963
cd394be1 89642011-11-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
fcbcac2e 8965
4b0d61e3 8966 * emacs-lisp/find-func.el (find-function-read):
fcbcac2e 8967 Fix incorrect use of default argument in `completing-read'.
8968
e1c2c6f2
MR
89692011-11-08 Martin Rudalics <rudalics@gmx.at>
8970
8971 * window.el (display-buffer-function, special-display-function):
8972 Mention display-buffer-record-window but do not mention
8973 help-setup parameter in doc-strings.
b3f4a882 8974 (window-min-delta): Fix doc-string typo.
e1c2c6f2 8975
105216ed
CY
89762011-11-08 Chong Yidong <cyd@gnu.org>
8977
8978 * window.el (window-total-height, window-total-width): Doc fix.
8979 (window-body-size): Move from C.
8980 (window-body-height, window-body-width): Move to C.
8981
0a9f9ab5
SM
89822011-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
8983
8984 * window.el: Make special-display like display-buffer-alist (bug#9532).
8985 (display-buffer--special-action): New function, morphed
8986 from display-buffer--special.
8987 (display-buffer): Use it to handle special-display-buffers at higher
8988 priority (just after display-buffer-alist).
8989 (display-buffer-fallback-action, display-buffer--other-frame-action)
8990 (pop-to-buffer-same-window): Remove display-buffer--special.
8991
a769dd15
GM
89922011-11-07 Glenn Morris <rgm@gnu.org>
8993
8994 * calendar/cal-menu.el (cal-menu-set-date-title):
8995 Do nothing if not in a calendar. (Bug#9976)
8996
05a61ee3
SM
89972011-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
8998
8999 * files.el (find-file): Always use selected-window.
9000
be7f5545
MR
90012011-11-07 Martin Rudalics <rudalics@gmx.at>
9002
9003 * window.el (window-combinations): Make WINDOW argument
9004 mandatory. Rewrite doc-string.
9005 (walk-window-subtree, window-atom-check, window-min-delta)
9006 (window-max-delta, window--resize-this-window)
9007 (window--resize-root-window-vertically, window-tree)
9008 (balance-windows, window-state-put): Rewrite doc-strings as to
9009 not mention the term "subwindow".
9010 (window--resize-subwindows-skip-p): Rename to
9011 window--resize-child-windows-skip-p.
9012 (window--resize-subwindows-normal): Rename to
9013 window--resize-child-windows-normal.
9014 (window--resize-subwindows): Rename to
9015 window--resize-child-windows.
9016 (window-or-subwindow-p): Rename to window--in-subtree-p.
9017
3c6702ef
ML
90182011-11-07 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9019
9020 * mail/rmail.el (rmail-get-new-mail, rmail-insert-inbox-text):
9021 Ensure that mbox format messages end in two newlines (Bug#9974).
9022
49745b39
CY
90232011-11-06 Chong Yidong <cyd@gnu.org>
9024
9025 * window.el (window-combination-p): Function deleted; its
9026 side-effect is not used in any existing code.
9027 (window-combinations, window-combined-p): Call window-*-child
9028 directly.
9029
24300f5f
CY
90302011-11-05 Chong Yidong <cyd@gnu.org>
9031
9032 * window.el (window-valid-p): Rename from window-any-p.
447f16b8
CY
9033 (window-size-ignore, window-state-get): Callers changed.
9034 (window-normalize-window): Rename from window-normalize-any-window.
9035 New arg LIVE-ONLY, replacing window-normalize-live-window.
1dce7193 9036 (window-normalize-live-window): Delete.
447f16b8
CY
9037 (window-combination-p, window-combined-p, window-combinations)
9038 (walk-window-subtree, window-atom-root, window-min-size)
9039 (window-sizable, window-sizable-p, window-size-fixed-p)
9040 (window-min-delta, window-max-delta, window-resizable)
9041 (window-resizable-p, window-full-height-p, window-full-width-p)
9042 (window-current-scroll-bars, window-point-1, set-window-point-1)
9043 (window-at-side-p, window-in-direction, window-resize)
9044 (adjust-window-trailing-edge, maximize-window, minimize-window)
9045 (window-deletable-p, delete-window, delete-other-windows)
9046 (record-window-buffer, unrecord-window-buffer)
9047 (switch-to-prev-buffer, switch-to-next-buffer, window--delete)
9048 (quit-window, split-window, window-state-put)
9049 (set-window-text-height, fit-window-to-buffer)
9050 (shrink-window-if-larger-than-buffer): Callers changed.
24300f5f 9051
89bd5ee1
EZ
90522011-11-04 Eli Zaretskii <eliz@gnu.org>
9053
53479029
EZ
9054 * mail/rmail.el (rmail-simplified-subject): Decode subject with
9055 rfc2047-decode-string.
9056 (rmail-mime-toggle-hidden): Declare to avoid byte-compilation
9057 warnings.
9058
89bd5ee1
EZ
9059 * window.el (window-body-height, window-body-width): Mention in
9060 the doc string that the return values are in frame's canonical
9061 units. (Bug#9949)
9062
bd17fdee
AM
90632011-11-03 Alan Mackenzie <acm@muc.de>
9064
9065 * progmodes/cc-langs.el (c-nonlabel-token-2-key): New variable for
9066 change in cc-engine.el.
9067
acc825c5
SM
90682011-11-02 Stefan Monnier <monnier@iro.umontreal.ca>
9069
9070 * window.el (switch-to-buffer): Use `force-same-window' interactively.
9071
1885e5b8
MR
90722011-11-02 Martin Rudalics <rudalics@gmx.at>
9073
9074 * window.el (quit-window): Call unrecord-window-buffer after
9075 showing another buffer in the window. (Bug#9937)
acc825c5 9076 (bury-buffer): Call switch-to-prev-buffer with second argument `bury'.
1885e5b8 9077
ebe06da9
JB
90782011-11-02 Juanma Barranquero <lekktu@gmail.com>
9079
9080 * vc/vc-bzr.el (vc-bzr-state, vc-bzr-after-dir-status):
9081 Accept status with more than 9 shelves. (Bug#9935)
9082 Reported by Colin D Bennett <colin@gibibit.com>.
9083
4ee88440
MR
90842011-11-01 Martin Rudalics <rudalics@gmx.at>
9085
9086 * help.el (with-help-window): Don't reference
9087 temp-buffer-show-specifiers in doc-string.
9088
08e1d82c
AS
90892011-10-31 Andreas Schwab <schwab@linux-m68k.org>
9090
9091 * subr.el (keymap--menu-item-with-binding): Ignore item if not a
9092 menu-item.
9093
84bd6e9e
VJL
90942011-10-30 Vinicius Jose Latorre <viniciusjl@ig.com.br>
9095
9096 * whitespace.el: New version 13.2.2.
9097 (whitespace-newline-mode): Disable properly. Reported by Sarah
9098 <EmacsWiki>.
9099
dba0634a
UJ
91002011-10-30 Ulf Jasper <ulf.jasper@web.de>
9101
9102 * net/newst-treeview.el: Remove "Time-stamp".
9103 (newsticker--group-manage-orphan-feeds): Do not call
9104 newsticker--treeview-tree-update.
db22a3c2
JB
9105 (newsticker-treeview-update, newsticker-treeview):
9106 Call newsticker--treeview-tree-update if necessary.
dba0634a 9107
3d8daefe
MR
91082011-10-30 Martin Rudalics <rudalics@gmx.at>
9109
9110 * window.el (window-iso-combination-p, window-iso-combined-p)
acc825c5
SM
9111 (window-iso-combinations): Remove "iso-" infix.
9112 Suggested by Chong Yidong.
3d8daefe
MR
9113 (window-min-size-1, window-size-fixed-1, window-min-delta-1)
9114 (window-max-delta-1, window-resize, window--resize-siblings)
9115 (window--resize-this-window, adjust-window-trailing-edge)
9116 (split-window, balance-windows-1)
9117 (shrink-window-if-larger-than-buffer):
9118 * calendar/calendar.el (calendar-generate-window):
db22a3c2 9119 * help.el (resize-temp-buffer-window): Adjust callers accordingly.
3d8daefe 9120
1bc4c3ae
SM
91212011-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
9122
9123 * eshell/esh-cmd.el (eshell-rewrite-for-command): Don't modify the list
9124 in place (bug#9907).
9125 (eshell-subcommand-arg-values, eshell-rewrite-named-command)
9126 (eshell-rewrite-if-command, eshell-rewrite-for-command)
9127 (eshell-structure-basic-command, eshell-rewrite-while-command)
9128 (eshell-invokify-arg, eshell-parse-pipeline, eshell-parse-command)
9129 (eshell-parse-subcommand-argument, eshell-parse-lisp-argument)
9130 (eshell-trap-errors, eshell-do-pipelines, eshell-do-eval)
9131 (eshell-do-pipelines-synchronously, eshell-eval-command):
9132 Use backquotes and prefer setq to set.
9133 (eshell-lookup-function, function-p-func, eshell-functionp): Remove.
9134 (eshell-macrop): Use functionp.
c1e2f5fa 9135 (eshell-do-eval): Handle multiple expressions in `while' body.
1bc4c3ae 9136
30b65d9c
CY
91372011-10-30 Chong Yidong <cyd@gnu.org>
9138
9139 * emulation/viper-cmd.el (viper-exec-change): Use push-mark
9140 instead of set-mark (Bug#9810).
9141
2d197ffb
CY
91422011-10-30 Chong Yidong <cyd@gnu.org>
9143
9144 * window.el (split-window-below, split-window-right): Rename from
9145 split-window-above-each-other and split-window-side-by-side
9146 respectively. All callers changed.
9147 (split-window-sensibly, split-window-sensibly): Use them.
9148 (split-window-keep-point): Doc fix.
9149
9150 * isearch.el: Add isearch-scroll property to split-window-below
9151 and split-window-right.
9152
9153 * follow.el (follow-mode):
9154 * vc/pcvs-util.el (cvs-pop-to-buffer-same-frame):
9155 * progmodes/ada-xref.el (ada-gdb-application):
9156 * emulation/vip.el (vip-buffer-in-two-windows):
9157 * image-dired.el (image-dired-dired-with-window-configuration):
9158 * dired-x.el (dired-do-find-marked-files):
9159 * dired.el (dired-pop-to-buffer):
9160 * bs.el (bs--show-with-configuration):
9161 * vc/emerge.el (emerge-setup-windows):
9162 * textmodes/two-column.el (2C-two-columns):
9163 * textmodes/reftex-toc.el (reftex-toc):
9164 * progmodes/gdb-mi.el (gdb-setup-windows):
9165 * progmodes/fortran.el (fortran-window-create):
9166 * net/newst-treeview.el (newsticker--treeview-window-init):
9167 * emulation/ws-mode.el (wordstar-C-o-map, wordstar-mode):
9168 * emulation/tpu-edt.el (tpu-gold-map):
9169 * emulation/crisp.el (crisp-mode-map):
9170 * calendar/calendar.el (calendar-basic-setup): Callers changed.
9171
38bb2ca8
CY
91722011-10-29 Chong Yidong <cyd@gnu.org>
9173
aa4de341
CY
9174 * subr.el (y-or-n-p): Add code for batch mode (Bug#9818).
9175
e1eb5385
CY
9176 * mouse.el (mouse-yank-primary): Push the mark (Bug#9894).
9177
5d2ece3c
CY
9178 * textmodes/flyspell.el (flyspell-word): Fix char offset for
9179 forged Ispell output (Bug#7904).
9180
38bb2ca8
CY
9181 * emacs-lisp/package.el (package-refresh-contents): Add autoload.
9182
d0af9f77
SM
91832011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9184
9185 * doc-view.el: Avoid ugly errors about not finding nil.
9186 (doc-view-ghostscript-program, doc-view-dvipdfm-program)
9187 (doc-view-dvipdf-program, doc-view-unoconv-program)
9188 (doc-view-ps2pdf-program, doc-view-pdftotext-program):
9189 Avoid nil or absolute file name as default value.
9190 (doc-view-pdf->txt, doc-view-ps->pdf): Use executable-find here.
9191
52bedd34
AM
91922011-10-28 Alan Mackenzie <acm@muc.de>
9193
db22a3c2 9194 * progmodes/cc-defs.el (c-version): -> 5.32.2.
52bedd34 9195
7e43cfa5
AM
91962011-10-28 Alan Mackenzie <acm@muc.de>
9197
9198 Amend the handling of c-beginning/end-of-defun in nested declaration
9199 scopes.
9200
52bedd34
AM
9201 * progmodes/cc-vars.el (c-defun-tactic): Move here from
9202 cc-langs.el. Change it to a defcustom.
7e43cfa5 9203
52bedd34
AM
9204 * progmodes/cc-langs.el (c-defun-tactic): Move this variable to
9205 cc-vars.el.
7e43cfa5 9206
d0af9f77
SM
9207 * progmodes/cc-engine.el (c-beginning-of-statement-1):
9208 Prevent "class foo : bar" being spuriously recognized as a label.
7e43cfa5 9209
52bedd34 9210 * progmodes/cc-cmds.el (c-narrow-to-most-enclosing-decl-block):
acc825c5 9211 Add parameter `inclusive' (to include enclosing braces in the region).
7e43cfa5
AM
9212 (c-widen-to-enclosing-decl-scope): New function.
9213 (c-while-widening-to-decl-block): New macro.
9214 (c-beginning-of-defun, c-end-of-defun): Change algorithm to keep going
9215 outward for defun boundaries, and correspondingly change symbol
9216 `respect-enclosure' to `go-outward'.
9217 (c-declaration-limits): Change algorithm to report only the "innermost"
9218 defun's boundaries.
9219
1a2ce9ee
DD
92202011-10-28 Deniz Dogan <deniz@dogan.se>
9221
9222 * net/rcirc.el (rcirc-mode): Use hard newlines.
9223
bc97a826
AM
92242011-10-28 Alan Mackenzie <acm@muc.de>
9225
9226 Amend to indent and fontify macros "which include their own semicolon"
9227 correctly, using the "virtual semicolon" mechanism.
9228
52bedd34 9229 * progmodes/cc-defs.el: Update "virtual semicolon" comments.
bc97a826 9230
d0af9f77 9231 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
7877f373 9232 Recode to scan one line at a time rather than having \n and \r
58179cce 9233 explicitly in c-stmt-delim-chars (for some modes, e.g. AWK).
bc97a826 9234 (c-forward-label): Amend for virtual semicolons.
58179cce 9235 (c-at-macro-vsemi-p, c-macro-vsemi-status-unknown-p): New functions.
bc97a826 9236
52bedd34
AM
9237 * progmodes/cc-fonts.el (c-font-lock-declarations): Take account
9238 of the new C macros.
bc97a826 9239
52bedd34 9240 * progmodes/cc-langs.el (c-at-vsemi-p-fn):
acc825c5
SM
9241 (c-vsemi-status-unknown-p-fn): Move to earlier in the file.
9242 (c-opt-cpp-symbol, c-line-comment-start-regexp): New language vars.
bc97a826
AM
9243 (c-opt-cpp-macro-define): Make into a full language variable.
9244 (c-stmt-delim-chars, c-stmt-delim-chars-with-comma): Special value for
9245 AWK Mode (including \n, \r) removed, no longer needed.
9246
d0af9f77
SM
9247 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode):
9248 Invoke c-make-macro-with-semi-re.
bc97a826 9249
52bedd34
AM
9250 * progmodes/cc-vars.el (c-macro-with-semi-re):
9251 (c-macro-names-with-semicolon): New variables.
58179cce 9252 (c-make-macro-with-semi-re): New function.
bc97a826 9253
7a6c0941
SM
92542011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9255
9256 * vc/log-edit.el: Fill empty field rather than adding new one.
9257 (log-edit-add-field): New function.
9258 (log-edit-insert-changelog): Use it.
9259
b0c4cdcf
ML
92602011-10-28 Mark Lillibridge <mark.lillibridge@hp.com> (tiny change)
9261
9262 * mail/rmail.el (rmail-mode-map): Add M-C-f as in rmailsum (bug#9802).
9263
ee1f1da9
SM
92642011-10-28 Stefan Monnier <monnier@iro.umontreal.ca>
9265
9266 * progmodes/gdb-mi.el: Warn the user when -i=mi is missing.
9267 (gdb--check-interpreter): New function.
9268 (gdb): Use it.
9269
51bc5f8b
GM
92702011-10-27 Glenn Morris <rgm@gnu.org>
9271
416a2c45
GM
9272 * emacs-lisp/cl-extra.el (most-positive-float, most-negative-float)
9273 (least-positive-float, least-negative-float)
9274 (least-positive-normalized-float, least-negative-normalized-float)
9275 (float-epsilon, float-negative-epsilon):
9276 Remove unnecessary declarations.
9277
9278 * emacs-lisp/cl-extra.el (cl-float-limits): Add doc string.
9279 * emacs-lisp/cl.el (most-positive-float, most-negative-float)
9280 (least-positive-float, least-negative-float)
9281 (least-positive-normalized-float, least-negative-normalized-float)
9282 (float-epsilon, float-negative-epsilon): Add doc-strings,
9283 based on those in cl.texi.
9284
51bc5f8b
GM
9285 * files.el (set-visited-file-name): If the major-mode changed,
9286 reload the local variables. (Bug#9796)
9287
15de15c6
CY
92882011-10-27 Chong Yidong <cyd@gnu.org>
9289
9290 * subr.el (change-major-mode-after-body-hook): New hook.
9291 (run-mode-hooks): Run it.
9292
ee1f1da9
SM
9293 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9294 Use change-major-mode-before-body-hook.
15de15c6
CY
9295
9296 * simple.el (fundamental-mode):
9297 * emacs-lisp/derived.el (define-derived-mode): Revert 2010-04-28
9298 change introducing fundamental-mode-hook.
9299
5430d399
JB
93002011-10-26 Juanma Barranquero <lekktu@gmail.com>
9301
acc825c5 9302 * term/w32-win.el (w32-default-color-map): Declare obsolete (Bug#9785).
5430d399 9303
ad74a69e
MA
93042011-10-26 Michael Albinus <michael.albinus@gmx.de>
9305
9306 * ido.el (ido-file-name-all-completions-1): Do not require
c7015153 9307 tramp.el explicitly. (Bug#7583)
ad74a69e 9308
71d4c2a5
SM
93092011-10-26 Stefan Monnier <monnier@iro.umontreal.ca>
9310
9311 * progmodes/octave-mod.el:
9312 * progmodes/octave-inf.el: Update maintainer.
9313
b1f6fa26
CY
93142011-10-26 Chong Yidong <cyd@gnu.org>
9315
9316 * subr.el (with-wrapper-hook): Rewrite doc.
9317
3f04efd6
MA
93182011-10-25 Michael Albinus <michael.albinus@gmx.de>
9319
9320 * net/tramp-sh.el (tramp-sh-handle-file-directory-p): Return t for
ad74a69e 9321 filenames "/method:foo:". (Bug#9793)
3f04efd6 9322
410488d3
SM
93232011-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
9324
9325 * comint.el (comint-get-old-input-default): Fix use-prompt-regexp case
9326 (bug#9865).
9327
c1ebb47e
GM
93282011-10-24 Glenn Morris <rgm@gnu.org>
9329
9330 * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. (Bug#9819)
9331
7f5c46c7
MA
93322011-10-24 Michael Albinus <michael.albinus@gmx.de>
9333
9334 * notifications.el: Add the requirement of a running D-Bus session
9335 bus to the Commentary.
9336
db2440b6
JL
93372011-10-24 Juri Linkov <juri@jurta.org>
9338
9339 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
9340 `search-whitespace-regexp' only when `isearch-regexp' is non-nil.
9341 (Bug#9364)
9342
feecf435
JL
93432011-10-24 Juri Linkov <juri@jurta.org>
9344
9345 * info.el (Info-following-node-name-re): Add newline to the list
9346 of allowed characters for leading space. (Bug#9824)
9347
a3839de2
SM
93482011-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
9349
acc825c5
SM
9350 * progmodes/octave-inf.el (inferior-octave-mode-map):
9351 Fix C-c C-h binding.
a3839de2
SM
9352 * progmodes/octave-mod.el (octave-help): Remove.
9353
09388e76
MA
93542011-10-23 Michael Albinus <michael.albinus@gmx.de>
9355
9356 Sync with Tramp 2.2.3.
9357
9358 * net/tramp-cache.el (top): Pacify byte-compiler using
9359 `init-file-user' and `site-run-file'.
9360
9361 * net/trampver.el: Update release number.
9362
86c60681
CY
93632011-10-23 Chong Yidong <cyd@gnu.org>
9364
9365 * files.el (toggle-read-only): Remove obsolete comment about
9366 version control.
9367
9368 * vc/vc-hooks.el (vc-toggle-read-only): Make it an obsolete alias
9369 for toggle-read-only. Note that this hasn't called vc-next-action
9370 since 2008-05-02, though it wasn't documented at the time.
9371
a3839de2
SM
9372 * vc/ediff-init.el (ediff-toggle-read-only-function):
9373 Use toggle-read-only.
86c60681 9374
cd5495ff
AM
93752011-10-22 Alan Mackenzie <bug-cc-mode@gnu.org>
9376
9377 Fix bug #9560, sporadic wrong indentation; improve instrumentation
9378 of c-parse-state.
9379
00b77525 9380 * progmodes/cc-engine.el (c-append-lower-brace-pair-to-state-cache):
a3839de2 9381 correct faulty logical expression.
cd5495ff
AM
9382 (c-parse-state-state, c-record-parse-state-state):
9383 (c-replay-parse-state-state): New defvar/defuns.
9384 (c-debug-parse-state): Use new functions.
9385
42ee24ed
MR
93862011-10-22 Martin Rudalics <rudalics@gmx.at>
9387
9388 * mouse.el (mouse-drag-line): Fix minibuffer resizing broken by
53ebff1f 9389 last fix. Use window-in-direction correctly.
42ee24ed 9390
a7dee7e7
CY
93912011-10-21 Chong Yidong <cyd@gnu.org>
9392
9393 * progmodes/idlwave.el (idlwave-mode):
9394 * progmodes/vera-mode.el (vera-mode): No need to set
a3839de2
SM
9395 require-final-newline; that's done in prog-mode.
9396 Suggested by Stefan Monnier.
a7dee7e7 9397
e07b9a6d
MR
93982011-10-21 Martin Rudalics <rudalics@gmx.at>
9399
9400 * mouse.el (mouse-drag-window-above)
9401 (mouse-drag-move-window-bottom, mouse-drag-move-window-top)
9402 (mouse-drag-mode-line-1, mouse-drag-header-line)
9403 (mouse-drag-vertical-line-rightward-window): Remove.
9404 (mouse-drag-line): New function.
9405 (mouse-drag-mode-line, mouse-drag-header-line)
9406 (mouse-drag-vertical-line): Call mouse-drag-line.
9407 * window.el (window-at-side-p, windows-at-side): New functions.
9408
7e1361d9
UM
94092011-10-21 Ulrich Mueller <ulm@gentoo.org>
9410
9411 * tar-mode.el (tar-grind-file-mode):
9412 Fix handling of setuid/setgid, handle sticky bit. (Bug#9817)
9413
30fcaf3a
CY
94142011-10-21 Chong Yidong <cyd@gnu.org>
9415
9416 * progmodes/idlwave.el (idlwave-mode):
a3839de2
SM
9417 * progmodes/vera-mode.el (vera-mode):
9418 Use mode-require-final-newline.
30fcaf3a 9419
516eddb0
GM
94202011-10-20 Glenn Morris <rgm@gnu.org>
9421
db22a3c2 9422 * vc/vc.el (vc-next-action): Handle removed directories. (Bug#9781)
516eddb0 9423
10d5f513
CS
94242011-10-20 Christoph Scholtes <cschol2112@googlemail.com>
9425
9426 * emulation/cua-base.el (cua-set-mark): Fix case of string.
9427
ac6c8639
CY
94282011-10-20 Chong Yidong <cyd@gnu.org>
9429
9430 * emulation/cua-base.el (cua-mode):
9431 * mail/footnote.el (footnote-mode):
9432 * mail/mailabbrev.el (mail-abbrevs-mode):
9433 * net/xesam.el (xesam-minor-mode):
9434 * progmodes/bug-reference.el (bug-reference-mode):
9435 * progmodes/cap-words.el (capitalized-words-mode):
9436 * progmodes/compile.el (compilation-minor-mode)
9437 (compilation-shell-minor-mode):
9438 * progmodes/gud.el (gud-tooltip-mode):
9439 * progmodes/hideif.el (hide-ifdef-mode):
9440 * progmodes/idlw-shell.el (idlwave-shell-electric-debug-mode):
9441 * progmodes/subword.el (subword-mode):
9442 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
9443 * progmodes/which-func.el (which-function-mode):
9444 * term/tvi970.el (tvi970-set-keypad-mode):
9445 * term/vt100.el (vt100-wide-mode):
9446 * textmodes/flyspell.el (flyspell-mode):
9447 * textmodes/ispell.el (ispell-minor-mode):
9448 * textmodes/nroff-mode.el (nroff-electric-mode):
9449 * textmodes/paragraphs.el (use-hard-newlines):
9450 * textmodes/refill.el (refill-mode):
9451 * textmodes/reftex.el (reftex-mode):
9452 * textmodes/rst.el (rst-minor-mode):
9453 * textmodes/sgml-mode.el (html-autoview-mode)
9454 (sgml-electric-tag-pair-mode):
9455 * textmodes/tex-mode.el (latex-electric-env-pair-mode):
9456 * vc/diff-mode.el (diff-auto-refine-mode, diff-minor-mode):
9457 * emulation/crisp.el (crisp-mode):
9458 * emacs-lisp/eldoc.el (eldoc-mode):
9459 * emacs-lisp/checkdoc.el (checkdoc-minor-mode): Doc fixes for new
9460 minor mode behavior.
9461
aa42ab43
JL
94622011-10-19 Juri Linkov <juri@jurta.org>
9463
9464 * descr-text.el (describe-char): Add #x2010 and #x2011 to
9465 the list of hard-coded chars with escape-glyph face.
9466
89400f1d
SM
94672011-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
9468
9469 * vc/log-edit.el (log-edit-empty-buffer-p): Ignore empty headers.
9470
305c07f6
MA
94712011-10-19 Michael Albinus <michael.albinus@gmx.de>
9472
9473 * net/tramp.el (tramp-connectable-p): Make a stronger check on a
9474 running process.
9475
13754b54
GM
94762011-10-19 Glenn Morris <rgm@gnu.org>
9477
9478 * vc/vc-bzr.el (vc-bzr-after-dir-status):
9479 Ignore ignored files. (Bug#9726)
9480
06e21633
CY
94812011-10-19 Chong Yidong <cyd@gnu.org>
9482
9483 Doc fix for minor modes, stating that an omitted argument enables
9484 the mode unconditionally when called from Lisp.
9485
9486 * abbrev.el (abbrev-mode):
9487 * allout.el (allout-mode):
9488 * autoinsert.el (auto-insert-mode):
9489 * autoarg.el (autoarg-mode, autoarg-kp-mode):
9490 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
9491 (global-auto-revert-mode):
9492 * battery.el (display-battery-mode):
9493 * composite.el (global-auto-composition-mode)
9494 (auto-composition-mode):
9495 * delsel.el (delete-selection-mode):
9496 * desktop.el (desktop-save-mode):
9497 * dired-x.el (dired-omit-mode):
9498 * dirtrack.el (dirtrack-mode):
9499 * doc-view.el (doc-view-minor-mode):
9500 * double.el (double-mode):
9501 * electric.el (electric-indent-mode, electric-pair-mode):
9502 * emacs-lock.el (emacs-lock-mode):
9503 * epa-hook.el (auto-encryption-mode):
9504 * follow.el (follow-mode):
9505 * font-core.el (font-lock-mode):
9506 * frame.el (auto-raise-mode, auto-lower-mode, blink-cursor-mode):
9507 * help.el (temp-buffer-resize-mode):
9508 * hilit-chg.el (highlight-changes-mode)
9509 (highlight-changes-visible-mode):
9510 * hi-lock.el (hi-lock-mode):
9511 * hl-line.el (hl-line-mode, global-hl-line-mode):
9512 * icomplete.el (icomplete-mode):
9513 * ido.el (ido-everywhere):
9514 * image-file.el (auto-image-file-mode):
9515 * image-mode.el (image-minor-mode):
9516 * iswitchb.el (iswitchb-mode):
9517 * jka-cmpr-hook.el (auto-compression-mode):
9518 * linum.el (linum-mode):
9519 * longlines.el (longlines-mode):
9520 * master.el (master-mode):
9521 * mb-depth.el (minibuffer-depth-indicate-mode):
9522 * menu-bar.el (menu-bar-mode):
9523 * minibuf-eldef.el (minibuffer-electric-default-mode):
9524 * mouse-sel.el (mouse-sel-mode):
9525 * msb.el (msb-mode):
9526 * mwheel.el (mouse-wheel-mode):
9527 * outline.el (outline-minor-mode):
9528 * paren.el (show-paren-mode):
9529 * recentf.el (recentf-mode):
9530 * reveal.el (reveal-mode, global-reveal-mode):
9531 * rfn-eshadow.el (file-name-shadow-mode):
9532 * ruler-mode.el (ruler-mode):
9533 * savehist.el (savehist-mode):
9534 * scroll-all.el (scroll-all-mode):
9535 * scroll-bar.el (scroll-bar-mode):
9536 * server.el (server-mode):
9537 * shell.el (shell-dirtrack-mode):
9538 * simple.el (auto-fill-mode, transient-mark-mode)
9539 (visual-line-mode, overwrite-mode, binary-overwrite-mode)
9540 (line-number-mode, column-number-mode, size-indication-mode)
9541 (auto-save-mode, normal-erase-is-backspace-mode, visible-mode):
9542 * strokes.el (strokes-mode):
9543 * time.el (display-time-mode):
9544 * t-mouse.el (gpm-mouse-mode):
9545 * tool-bar.el (tool-bar-mode):
9546 * tooltip.el (tooltip-mode):
9547 * type-break.el (type-break-mode-line-message-mode)
9548 (type-break-query-mode):
9549 * view.el (view-mode):
9550 * whitespace.el (whitespace-mode, whitespace-newline-mode)
9551 (global-whitespace-mode, global-whitespace-newline-mode):
9552 * xt-mouse.el (xterm-mouse-mode): Doc fix.
9553
a3839de2
SM
9554 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
9555 Fix autogenerated docstring.
06e21633 9556
5214e501
JL
95572011-10-19 Juri Linkov <juri@jurta.org>
9558
9559 * net/browse-url.el (browse-url-can-use-xdg-open): Support LXDE
9560 by checking environment variables "DESKTOP_SESSION" and
9561 "XDG_CURRENT_DESKTOP". (Bug#9779)
9562
195f8db9
JL
95632011-10-19 Juri Linkov <juri@jurta.org>
9564
9565 * net/browse-url.el (browse-url-browser-function): Add "Chromium".
9566 (browse-url-chromium-program, browse-url-chromium-arguments):
9567 New defcustoms.
9568 (browse-url-default-browser): Check for `browse-url-chromium' and
9569 call `browse-url-chromium-program'.
9570 (browse-url-chromium): New command. (Bug#9779)
9571
343a34ff
JB
95722011-10-18 Juanma Barranquero <lekktu@gmail.com>
9573
9574 * facemenu.el (list-colors-duplicates): On Windows, detect more
9575 duplicates by assuming that only colors matching "^System" are
9576 special "system colors". (Bug#9722)
9577
6978a151
SM
95782011-10-18 Stefan Monnier <monnier@iro.umontreal.ca>
9579
9580 * vc/log-edit.el (log-edit): Add "Author:" header to encourage people
9581 to distinguish the author from the committer.
9582
6a80b297
MA
95832011-10-18 Michael Albinus <michael.albinus@gmx.de>
9584
9585 * net/tramp.el (tramp-file-name-handler): Load Tramp packages silently.
9586
b31a5677
JK
95872011-10-18 Jirka Kosek <jirka@kosek.cz> (tiny change)
9588
9589 * international/mule.el (sgml-html-meta-auto-coding-function):
9590 Add support for detecting encoding in HTML5 specified only as
9591 <meta charset="UTF-8">. Implementation just makes http-equiv and
9592 content-type parts from HTML4 encoding string optional. (Bug#9716)
9593
80c6d77f
GM
95942011-10-18 Glenn Morris <rgm@gnu.org>
9595
9596 * vc/vc.el (vc-initial-comment): Mark as obsolete. (Bug#9745)
9597
08b0fee8
CY
95982011-10-18 Chong Yidong <cyd@gnu.org>
9599
9600 * faces.el (cursor): Doc fix.
9601
67e729a5
CY
96022011-10-17 Chong Yidong <cyd@gnu.org>
9603
9604 * font-lock.el (font-lock-maximum-size): Mark as obsolete.
9605
343a34ff 96062011-10-17 Ryan Barrett <emacs@ryanb.org> (tiny change)
87e478b3
RB
9607
9608 * dirtrack.el (dirtrack): Support shell buffers with path
9609 prefixes, e.g. tramp-based remote shells. (Bug#9647)
9610
0bc06380
TZ
96112011-10-17 Teodor Zlatanov <tzz@lifelogs.com>
9612
9613 * json.el: Bump version to 1.3 and note change in History.
9614 (json-alist-p, json-plist-p): Rewrite to avoid recursion.
9615
8b79f3e0
SM
96162011-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
9617
5a7c536b
SM
9618 * comint.el (comint-insert-input, comint-send-input)
9619 (comint-get-old-input-default, comint-backward-matching-input)
9620 (comint-next-prompt): Use nil instead of `input' for field property of
9621 past user input (bug#114).
9622
96a8a0df
SM
9623 * minibuffer.el (completion--replace): Inherit surrounding properties
9624 (bug#114).
9625 (minibuffer-complete-and-exit): Use it.
9626
8b79f3e0
SM
9627 * comint.el (comint--table-subvert): Quote the all-completions output
9628 (bug#9160).
9629
b8f7ff0d
MR
96302011-10-17 Martin Rudalics <rudalics@gmx.at>
9631
8b79f3e0 9632 * ido.el (ido-default-buffer-method): Remove redundant :type entry.
4e5c3d2b 9633
b8f7ff0d 9634 * menu-bar.el (menu-bar-file-menu): Add entry for making new
d912bdcf 9635 window on right of selected. (Bug#9350) Reword other window
b8f7ff0d
MR
9636 entries and separate them from frame entries.
9637
c235b555
GM
96382011-10-15 Glenn Morris <rgm@gnu.org>
9639
9640 * emacs-lisp/ert.el (ert--explain-equal-rec, ert-select-tests):
9641 Doc fixes.
9642
6bbfa6e1
CY
96432011-10-15 Chong Yidong <cyd@stupidchicken.com>
9644
8b79f3e0
SM
9645 * net/network-stream.el (network-stream-open-starttls):
9646 Improve detection of failure due to lack of TLS support.
ec5c990d 9647
6bbfa6e1
CY
9648 * mail/sendmail.el (sendmail-query-once): Tweak prompt message,
9649 putting the input text in front and in bold.
9650
98488977
SM
96512011-10-14 Stefan Monnier <monnier@iro.umontreal.ca>
9652
3d1337be
SM
9653 * pcmpl-unix.el (pcomplete/ssh): SSH does allow ganging.
9654
ee0b45e4
SM
9655 * mpc.el (mpc-songs-jump-to): Don't burp if the user clicks in an
9656 empty buffer.
9657
98488977
SM
9658 * mouse.el (mouse-drag-mode-line-1): Modify the end-event we pushed on
9659 unread-command-events rather than pushing yet-another event.
9660
186f4720
EZ
96612011-10-14 Eli Zaretskii <eliz@gnu.org>
9662
9663 * mail/sendmail.el (sendmail-query-once): Improve the wording of
9664 the explanation of the possible choices. Make the options passed
9665 to completing-read shorter.
9666
8b7a997c
AM
96672011-10-13 Agustín Martín Domingo <agustin.martin@hispalinux.es>
9668
9669 * textmodes/flyspell.el (flyspell-large-region): Make sure
9670 extended character mode is used if defined (Bug#1339).
9671
12587bbb
EZ
96722011-10-13 Eli Zaretskii <eliz@gnu.org>
9673
9674 * simple.el (what-cursor-position): Fix the display of the
e7e2364b
EZ
9675 character info for LRE, LRO, RLE, and RLO characters by appending
9676 an invisible PDF.
12587bbb 9677
bad41229
SM
96782011-10-13 Stefan Monnier <monnier@iro.umontreal.ca>
9679
9680 * emacs-lisp/timer.el (with-timeout): Make sure we cancel the timer
9681 even in case of error; add debug spec; simplify data flow.
9682 (with-timeout-handler): Remove.
9683
28dbc92f
MA
96842011-10-12 Michael Albinus <michael.albinus@gmx.de>
9685
9686 Fix Bug#6019, Bug#9315.
9687
9688 * files.el (set-auto-mode): Call `file-name-sans-versions' for the
9689 complete `buffer-file-name', the local file name part could look
9690 remotely (for example on VMS).
9691
9692 * net/ange-ftp.el (ange-ftp-run-real-handler): Make it an alias of
9693 `tramp-run-real-handler'.
9694 (ange-ftp-fix-name-for-vms): Handle the case, where `name' is
9695 already quoted by '"'.
9696
9697 * net/tramp.el (tramp-rfn-eshadow-update-overlay): Ignore errors.
9698 Let `file-name-handler-alist' be nil, the local file name part
9699 could look remotely (for example on VMS).
9700
e1b0b23a
SM
97012011-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
9702
9703 * textmodes/flyspell.el (flyspell-word): Move with-local-quit
9704 from here...
9705 (flyspell-post-command-hook): ...to here.
9706
a120bde9
SM
97072011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9708
9709 * mail/sendmail.el (send-mail-function): Don't use sendmail-query-once
9710 if not needed.
9711 (sendmail-query-once): Remove OS dependencies. Make it a 3-way choice
9712 using completion. Protect against "slow" callers.
9713 Remove the "message hack".
9714
7ce7717b
JL
97152011-10-11 Juri Linkov <juri@jurta.org>
9716
9717 * isearch.el (isearch-lazy-highlight-word): New variable.
9718 (isearch-lazy-highlight-new-loop, isearch-lazy-highlight-search):
9719 Use it. (Bug#9727)
9720
c02ee9d6
GM
97212011-10-11 Glenn Morris <rgm@gnu.org>
9722
9723 * progmodes/f90.el (f90-next-statement): Ignore preprocessor lines,
9724 like f90-previous-statement does.
9725
93e616fd 97262011-10-11 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9727
1f190e73 9728 * eshell/eshell.el (eshell-command): History should be saved
c02ee9d6
GM
9729 only in interactive use, to avoid error.
9730
af7b6078
SM
97312011-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
9732
9733 * minibuffer.el (completion-file-name-table): Fix last change,
9734 i.e. ignore normal errors but not the other ones.
9735
0563dae9
MR
97362011-10-10 Martin Rudalics <rudalics@gmx.at>
9737
9738 * window.el (special-display-buffer-names)
9739 (special-display-regexps): Remove some remnants of earlier
9740 changes from doc-strings.
366ca7f3
MR
9741 (quit-windows-on): New function.
9742
9743 * vc/vc.el (vc-revert, vc-rollback):
9744 * vc/vc-dispatcher.el (vc-finish-logentry): Call quit-windows-on
9745 instead of deleting windows. (Bug#4557) (Bug#5310) (Bug#5556)
9ac13c31 9746 (Bug#6183) (Bug#7074) (Bug#7447)
0563dae9 9747
49677495
MR
97482011-10-09 Martin Rudalics <rudalics@gmx.at>
9749
9750 * window.el (frame-auto-hide-function): Add version tag.
9751 (Bug#9699)
9752
56f2d1e1
MA
97532011-10-09 Michael Albinus <michael.albinus@gmx.de>
9754
9755 * net/tramp.el (tramp-file-name-handler): Add 'debug to the error
9756 condition.
9757
112a6592
LL
97582011-10-09 Leo Liu <sdl.web@gmail.com>
9759
9760 * mail/smtpmail.el (smtpmail-send-data): Add a missing space.
9761 (Bug#9701)
9762
0812589b
GM
97632011-10-08 Glenn Morris <rgm@gnu.org>
9764
9765 * progmodes/f90.el (f90-calculate-indent): Give preprocessor lines
9766 before the first code statement zero indent. (Bug#9690)
9767
b2b0776e
CY
97682011-10-08 Chong Yidong <cyd@stupidchicken.com>
9769
9770 * simple.el (count-words-region): Always count in the region.
9771 Report the number of lines and characters too.
9772 (count-words): New command, which counts in the buffer if the
9773 region is inactive, as count-words-region used to.
9774 (count-words--message): New function. Handle plurals.
9775 (count-lines-region): Make it an alias for count-words-region.
9776
9777 * bindings.el (esc-map): Replace count-lines-region with
9778 count-words-region.
9779
c557cd6b
MR
97802011-10-08 Martin Rudalics <rudalics@gmx.at>
9781
9782 * window.el (window--delete): Delete dedicated frame
9783 unconditionally when argument KILL is non-nil. (Bug#9699)
235ce86f 9784 (switch-to-buffer): Fix doc-string typo.
c557cd6b 9785
61a57ef4 97862011-10-08 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9787
3a7d293b 9788 * eshell/eshell.el (eshell-command): Avoid using hooks.
61a57ef4 9789
c3833279
CY
97902011-10-07 Chong Yidong <cyd@stupidchicken.com>
9791
9792 * bindings.el ([M-left],[M-right]): Bind to left-word and
9793 right-word respectively.
9794
21ce8245
GM
97952011-10-07 Glenn Morris <rgm@gnu.org>
9796
9797 * cus-start.el (debug-on-quit): Fix custom type.
9798
6d823bb2
LMI
97992011-10-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
9800
0181e193
LMI
9801 * subr.el (define-key-after): Clarify that the function is not
9802 useful for non-menu keymaps.
9803
6d823bb2
LMI
9804 * progmodes/gdb-mi.el (gdb): Fix typo in doc string.
9805
8e3459ce 98062011-10-06 Thierry Volpiatto <thierry.volpiatto@gmail.com>
9807
21ce8245 9808 * eshell/eshell.el (eshell-command): Enable `eshell-mode' only
8e3459ce 9809 in current minibuffer (Fix bug with recursive minibuffers).
9810
a1c2d21e
CY
98112011-10-06 Chong Yidong <cyd@stupidchicken.com>
9812
9813 * progmodes/gdb-mi.el (gdb): Doc fix.
9814
5a4cf282
MR
98152011-10-05 Martin Rudalics <rudalics@gmx.at>
9816
9817 * window.el (frame-auto-hide-function): New option replacing
9818 frame-auto-delete. Suggested by Stefan Monnier.
9819 (window--delete): Call frame-auto-hide-function instead of
9820 investigating frame-auto-delete.
c96111ea
MR
9821 (window-point-1, set-window-point-1): New functions.
9822 (window-in-direction, record-window-buffer, window-state-get-1)
9823 (display-buffer-record-window): Use window-point-1 instead of
9824 window-point.
9825 (set-window-buffer-start-and-point): Use set-window-point-1.
5a4cf282 9826
9854542e
SM
98272011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9828
9829 * emacs-lisp/edebug.el: Heed checkdoc recommendations.
9830
8943cfb0
GM
98312011-10-05 Glenn Morris <rgm@gnu.org>
9832
9833 * progmodes/perl-mode.el (perl-electric-terminator): Doc fix.
9834 (perl-calculate-indent): Suppress scan errors. (Bug#2205)
9835
647ab967
LL
98362011-10-05 Leo Liu <sdl.web@gmail.com>
9837
9838 * subr.el (read-char-choice): Fix argument to buffer-live-p which
9839 works with buffer object.
9840
3ddfbced
SM
98412011-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
9842
9843 * mpc.el (mpc-tool-bar-map): Add labels.
9844
bdfa5dd2
GM
98452011-10-04 Glenn Morris <rgm@gnu.org>
9846
9847 * calendar/holidays.el (calendar-check-holidays): Doc fix.
9848
0e2070b5
MR
98492011-10-04 Martin Rudalics <rudalics@gmx.at>
9850
9851 * window.el (window--delete): New function.
9852 (frame-auto-delete): Resuscitate option.
9853 (bury-buffer, replace-buffer-in-windows)
9854 (quit-window): Rewrite using window--delete.
9855 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
9856 Pass display-buffer-mark-dedicated to window--display-buffer-2
9857 (Bug#9639).
9858
3dc61a09
SM
98592011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9860
915a9b64
SM
9861 * pcmpl-unix.el (pcomplete/scp): Don't assume pcomplete-all-entries
9862 returns a list (bug#9554). Add remote file name completion.
9863 * comint.el (comint--table-subvert): Curry and get quote&unquote
9864 functions as arguments.
9865 (comint--complete-file-name-data): Adjust call accordingly.
9866 * pcomplete.el (pcomplete--table-subvert): Remove.
9867 (pcomplete-completions-at-point): Use comint--table-subvert instead.
9868
3dc61a09
SM
9869 * minibuffer.el (completion-table-case-fold): Use currying.
9870 (completion--styles-type, completion--cycling-threshold-type):
9871 New constants.
9872 (completion-styles, completion-category-overrides)
9873 (completion-cycle-threshold): Use them.
9874 * pcomplete.el (pcomplete-completions-at-point): Adjust call to
9875 completion-table-case-fold.
9876
8ea0a993
SB
98772011-10-03 Stephen Berman <stephen.berman@gmx.net>
9878
9879 * minibuffer.el (completion-category-overrides): Fix type of styles
9880 and add more user friendly tags (bug#9660).
9881
8c24b7f6
SM
98822011-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
9883
9884 * international/mule-cmds.el: Fix abuses of apply-partially (bug#9661).
9885 (mule-input-method-string): New widget.
9886 (default-input-method, language-info-custom-alist): Use it.
9887
428fe61a
SM
98882011-10-02 Stefan Monnier <monnier@iro.umontreal.ca>
9889
32c1fffd
SM
9890 * pcomplete.el: Require comint.
9891 (pcomplete--common-suffix): Remove.
9892 (pcomplete--common-quoted-suffix): Use comint--common-suffix instead.
9893 (pcomplete--table-subvert): Sync with comint--table-subvert.
9894 (pcomplete--entries): Use comint-completion-file-name-table.
9895 * comint.el (comint-unquote-filename): Simplify.
9896 (comint-completion-file-name-table): New function (bug#9616).
9897 (comint--complete-file-name-data): Use it.
9898
428fe61a
SM
9899 * pcmpl-gnu.el (pcmpl-gnu-with-file-buffer): New macro (bug#9643).
9900 (pcmpl-gnu-tar-buffer): Remove.
9901 (pcmpl-gnu-with-file-buffer): Use it to avoid leaving the tar's buffer
9aaf2b9c
GM
9902 around. Make sure pcomplete-suffix-list is only changed temporarily.
9903 Don't look inside the tar's file if it's too large.
428fe61a 9904
04c52e2f
CY
99052011-10-01 Chong Yidong <cyd@stupidchicken.com>
9906
ce3cefcc
CY
9907 * cus-edit.el (custom-mode-map):
9908 * epa.el (epa-key-list-mode-map):
9909 * man.el (Man-mode-map):
9910 * startup.el (splash-screen-keymap):
9911 * simple.el (special-mode-map): Use scroll-up-command and
9912 scroll-down-command.
9913
9914 * progmodes/idlw-help.el (idlwave-help-mode-map):
9915 * progmodes/ebrowse.el (ebrowse-electric-position-mode-map):
9916 * net/newst-plainview.el (newsticker-mode-map):
9917 * emulation/ws-mode.el (wordstar-mode-map):
9918 * emulation/vi.el (vi-com-map):
9919 * calc/calc-graph.el (calc-graph-show-dumb):
9920 * term/sun.el (terminal-init-sun):
9921 * term/ns-win.el (global-map):
9922 * progmodes/grep.el (grep-mode-map):
9923 * progmodes/ebrowse.el (ebrowse-electric-list-mode-map):
9924 * mail/rmail.el (rmail-mode-map):
9925 * progmodes/cpp.el (cpp-edit-mode-map): Likewise.
9926
04c52e2f
CY
9927 * custom.el (custom-safe-themes, load-theme): Treat value of t for
9928 custom-safe-themes as special.
9929
79adf8c8
JD
99302011-10-01 Julien Danjou <julien@danjou.info>
9931
9932 * notifications.el (notifications-notify): Fix docstring.
9933
63bd50d3
PS
99342011-10-01 Per Starbäck <per@starback.se>
9935
9936 * pcmpl-gnu.el (pcomplete/tar): Fix tar-header-name call. (Bug#9643)
9937
199e4c7e
MR
99382011-09-30 Martin Rudalics <rudalics@gmx.at>
9939
9940 * startup.el (command-line-1): Fix last fix by inserting
9941 initial-scratch-message into *scratch* before displaying it.
cbc5ee22 9942 (Bug#9605) and (Bug#9636)
199e4c7e 9943
fe5f08dd
EZ
99442011-09-29 Eli Zaretskii <eliz@gnu.org>
9945
9946 * simple.el (line-move): If auto-hscroll-mode is disabled and the
9947 window is hscrolled, move by logical lines. (Bug#9607)
9948 (line-move-visual): Update the doc string to the above effect.
9949
b5516bbd
MR
99502011-09-29 Martin Rudalics <rudalics@gmx.at>
9951
ccee00c0
MR
9952 * window.el (display-buffer-record-window): When WINDOW is the
9953 selected window use `point' instead of `window-point'. (Bug#9626)
9954
b5516bbd
MR
9955 * startup.el (command-line-1): Use insert-before-markers when
9956 inserting initial-scratch-message. (Bug#9605)
ccee00c0 9957
b5516bbd
MR
9958 * help.el (help-window): Remove variable.
9959
52aa0014
GM
99602011-09-29 Glenn Morris <rgm@gnu.org>
9961
9962 * pcmpl-cvs.el (pcomplete/cvs): Add "status" handler.
9963
df9a7357
JB
99642011-09-29 Juanma Barranquero <lekktu@gmail.com>
9965
9966 * descr-text.el (describe-char-categories): Accept category
9967 descriptions more than one line long.
9968
a8406c20
SM
99692011-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
9970
88d9610c
SM
9971 * simple.el (delete-trailing-whitespace): Fix last change.
9972
a5daf810
SM
9973 * progmodes/perl-mode.el (perl-syntax-propertize-function):
9974 Don't confuse "y => 3" as the beginning of a `y' operation.
9975
a8406c20
SM
9976 * emacs-lisp/debug.el (debug-convert-byte-code): Don't assume the
9977 object has more than 4 slots (bug#9613).
9978
a239d4e9
JB
99792011-09-28 Juanma Barranquero <lekktu@gmail.com>
9980
9981 * subr.el (with-output-to-temp-buffer):
9982 * net/quickurl.el (quickurl, quickurl-browse-url):
9983 Fix typos in docstrings.
9984
693fbdb6
EZ
99852011-09-27 Eli Zaretskii <eliz@gnu.org>
9986
9987 * minibuffer.el (completion-styles)
9988 (completion-category-overrides): Cross reference each other in doc
9989 strings.
9990
8b457e28
GM
99912011-09-27 Glenn Morris <rgm@gnu.org>
9992
9993 * pcmpl-cvs.el (pcmpl-cvs-entries): Update for Emacs 22.1 changes
9994 to split-string. (Bug#9606)
9995
85a16208
LMI
99962011-09-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9997
9998 * mail/smtpmail.el (smtpmail-via-smtp): Fix STARTTLS detection
9999 (bug#9615).
10000
502f9ebd
CY
100012011-09-27 Chong Yidong <cyd@stupidchicken.com>
10002
10003 * emacs-lisp/package.el (list-packages): Fix echo area message.
10004
7690bdea
LL
100052011-09-27 Leo Liu <sdl.web@gmail.com>
10006
10007 * ido.el (ido-read-internal): Accept cons cell HIST arg.
10008
e2ee6f30
MA
100092011-09-25 Michael Albinus <michael.albinus@gmx.de>
10010
10011 * net/dbus.el (dbus-unregister-object): Don't release services for
10012 registered signals. (Bug#9581)
10013
f3f98342
TZ
100142011-09-25 Teodor Zlatanov <tzz@lifelogs.com>
10015
10016 * progmodes/cfengine.el (cfengine-auto-mode): Add convenience
10017 function that picks between cfengine 2 and 3 support
10018 automatically. Update docs accordingly.
10019
dd7aa8dd
KH
100202011-09-22 Kenichi Handa <handa@m17n.org>
10021
10022 * language/ind-util.el (indian-tml-base-table): Add TAMIL DIGIT
10023 ZERO.
10024 (indian-itrans-v5-table-for-tamil): New variable.
10025 (indian-tml-itrans-v5-hash): Use the above variable (Bug#9336).
10026
3f2b07f8
KM
100272011-09-22 Ken Manheimer <ken.manheimer@gmail.com>
10028
10029 * allout.el (allout-this-command-hid-stuff): Buffer-local variable
10030 that's true if the current command involved collapsing of text.
10031 It's reset to false at the beginning of the next command.
10032 (allout-post-command-business): Move the cursor to the beginning
10033 of entry if the cursor is hidden and collapsing activity just
10034 happened.
10035
371d6a61
CY
100362011-09-24 Chong Yidong <cyd@stupidchicken.com>
10037
10038 * mouse.el (mouse-drag-track): Set scroll-margin to 0 while
10039 tracking (Bug#9541).
10040
2ac2721a
UJ
100412011-09-24 Ulf Jasper <ulf.jasper@web.de>
10042
10043 * net/newst-reader.el (newsticker-html-renderer)
1154d12e
JB
10044 (newsticker-show-news): Automatically load html rendering package
10045 if newsticker-html-renderer is set. Fixes "Warning: defvar ignored
10046 because w3m-fill-column is let-bound" and the error "Symbol's value
10047 as variable is void: w3m-fill-column".
2ac2721a 10048
fac7ae53
MA
100492011-09-24 Michael Albinus <michael.albinus@gmx.de>
10050
10051 * net/dbus.el (dbus-unregister-object): Remove match rule of signals.
10052 Release services only if they are defined. (Bug#9581)
10053
e08b633b
RS
100542011-09-23 Richard Stallman <rms@gnu.org>
10055
e488d29c
RS
10056 * textmodes/paragraphs.el (forward-sentence): For backwards case,
10057 distinguish start of paragraph from start of its text.
10058
19c38752
RS
10059 * mail/emacsbug.el (report-emacs-bug-query-existing-bugs): Autoload.
10060
e08b633b
RS
10061 * mail/rmail.el (rmail-view-buffer-kill-buffer-hook): New function.
10062 (rmail-generate-viewer-buffer): Put that hook on view buffer.
10063 (rmail-mode-kill-buffer-hook): Override that hook, to kill view buffer.
10064
0a39f27e
AS
100652011-09-23 Andreas Schwab <schwab@linux-m68k.org>
10066
10067 * international/mule-diag.el (mule-diag): Insert a newline after
10068 each fontset description.
10069
db4e950d
SM
100702011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10071
10072 * simple.el (delete-trailing-whitespace):
10073 Document last change; simplify.
10074
eca3f3ea
PW
100752011-09-23 Peter J. Weisberg <pj@irregularexpressions.net>
10076
d68e189a
PW
10077 * simple.el (delete-trailing-whitespace): Also delete
10078 extra newlines at the end of the buffer.
10079
eca3f3ea
PW
10080 * textmodes/picture.el: Make motion commands obey shift-select-mode.
10081 (picture-newline): Use forward-line so as to ignore fields.
10082
01c157cc
SM
100832011-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
10084
10085 * subr.el (with-wrapper-hook): Fix edebug spec.
10086
022de23e
LMI
100872011-09-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
10088
10089 * simple.el (kill-line): Note effect of `show-trailing-whitespace'
10090 (bug#4538).
10091
91683089
MA
100922011-09-23 Michael Albinus <michael.albinus@gmx.de>
10093
eca3f3ea
PW
10094 * net/tramp-sh.el (tramp-sh-handle-file-name-all-completions):
10095 Fix nasty bug using wrong cached values.
91683089 10096
5bdd6fa4
AM
100972011-09-23 Alan Mackenzie <acm@muc.de>
10098
10099 * progmodes/cc-defs.el (c-version): Increase to 5.31.9.
10100
97adfb97
CY
101012011-09-23 Chong Yidong <cyd@stupidchicken.com>
10102
10103 * window.el (pop-to-buffer): Ensure right window is selected if we
10104 chose another frame.
10105
d4ef2b50
EZ
101062011-09-22 Eli Zaretskii <eliz@gnu.org>
10107
10108 * simple.el (what-cursor-position): Use get-char-property-change
10109 and next-single-char-property-change, to be able to show display
10110 properties that come from overlays as well as text properties.
10111
72258fe5
CY
101122011-09-22 Chong Yidong <cyd@stupidchicken.com>
10113
10114 * window.el (pop-to-buffer-same-window): New (reinstated) fun.
10115
10116 * cmuscheme.el (run-scheme, switch-to-scheme):
10117 * cus-edit.el (customize-group, custom-buffer-create)
10118 (customize-browse):
10119 * info.el (info):
10120 * shell.el (shell):
10121 * mail/sendmail.el (mail):
10122 * progmodes/inf-lisp.el (inferior-lisp): Use it (Bug#9532).
10123
8f098516
RS
101242011-09-22 Richard Stallman <rms@gnu.org>
10125
10126 * textmodes/paragraphs.el (forward-sentence): When setting PAR-BEG,
10127 move back only to line beg, don't move back over blank lines.
10128
e74f1bb6
MA
101292011-09-22 Michael Albinus <michael.albinus@gmx.de>
10130
10131 * files.el (copy-directory): Set directory attributes only in case
10132 they could be retrieved from the source directory. (Bug#9565)
10133
bfeef8b6
DK
101342011-09-22 Dima Kogan <dkogan@secretsauce.net> (tiny change)
10135
10136 * progmodes/hideshow.el (hs-looking-at-block-start-p)
10137 (hs-find-block-beginning, hs-hide-level-recursive):
10138 Ignore strings as well as comments. (Bug#9502)
10139
7e423bb8
AS
101402011-09-22 Andrew Schein <andrew@andrewschein.com> (tiny change)
10141
10142 * progmodes/sql.el (sql-comint-postgres):
10143 Convert port number to a string. (Bug#9566)
10144
b4d72fcf
MR
101452011-09-22 Martin Rudalics <rudalics@gmx.at>
10146
10147 * window.el (quit-window): Undedicate window when switching to
10148 previous buffer. Reported by Thierry Volpiatto
10149 <thierry.volpiatto@gmail.com>.
7f80c86d
MR
10150 (special-display-popup-frame): When popping up a new frame reset
10151 its previous buffers to nil. Simplify code.
b4d72fcf 10152
a7b88dc6
MA
101532011-09-21 Michael Albinus <michael.albinus@gmx.de>
10154
10155 * net/tramp.el (tramp-handle-shell-command): Set process sentinel
10156 and process filter, as done also in `shell-command'.
10157
cf4eacfd
MR
101582011-09-21 Martin Rudalics <rudalics@gmx.at>
10159
eca3f3ea 10160 * window.el (set-window-buffer-start-and-point):
1154d12e
JB
10161 Call set-window-start with NOFORCE argument t.
10162 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
cf4eacfd
MR
10163 (quit-window): Reword doc-string. Handle new format of
10164 quit-restore parameter. Don't delete window if it has a
10165 previous buffer we can show instead of the present one.
10166 (display-buffer-record-window): Rewrite using a new format for
10167 the quit-restore window parameter
10168 (special-display-popup-frame, display-buffer-same-window)
10169 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10170 (display-buffer-pop-up-window, display-buffer-use-some-window):
10171 Adapt symbol passed to display-buffer-record-window.
10172 * help.el (help-window-setup): Handle new format of quit-restore
10173 parameter.
10174
8d28cb95
SM
101752011-09-21 Stefan Monnier <monnier@iro.umontreal.ca>
10176
94ab793f
SM
10177 * faces.el (face-list): Fix docstring (bug#9564).
10178
8d28cb95
SM
10179 * window.el (display-buffer--action-function-custom-type):
10180 Don't include internal functions in the Custom interface.
10181
3820edeb
JL
101822011-09-20 Juri Linkov <juri@jurta.org>
10183
10184 * info.el (Info-history-skip-intermediate-nodes): New defcustom.
10185 (Info-forward-node, Info-backward-node, Info-next-preorder)
10186 (Info-last-preorder): Use it. (Bug#9528)
10187
5147931d
JL
101882011-09-20 Juri Linkov <juri@jurta.org>
10189
10190 * info.el (Info-last-preorder): Visit last menu item only when
10191 `Info-scroll-prefer-subnodes' is non-nil (third test-case of bug#9528).
10192
cf499a1a
JD
101932011-09-20 Julien Danjou <julien@danjou.info>
10194
10195 * password-cache.el (password-cache-remove): Remove entries even if the
10196 value is nil, so that password with a nil value (negative caching) is
10197 possible to invalidate.
10198
f84e2fe2
LM
101992011-09-20 Lawrence Mitchell <wence@gmx.li>
10200
10201 * progmodes/f90.el (f90-break-line): If breaking inside comment delete
10202 all whitespace around breakpoint. (Bug#9553)
10203 (f90-find-breakpoint): Only break at whitespace inside a comment.
10204
78054a46
SM
102052011-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
10206
10207 * minibuffer.el (completion-file-name-table): Keep track of errors.
10208 (completion-table-with-predicate): Handle the case where pred1 is nil.
10209 * pcomplete.el (pcomplete-completions-at-point): Simplify.
10210
345083b2
SM
102112011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10212
e24e27be
SM
10213 * emacs-lisp/debug.el (debugger-args): Give it a docstring.
10214 (debugger-return-value): Signal an error if the debugging context does
10215 not await any return value.
10216
345083b2
SM
10217 * ps-mule.el (ps-mule-plot-string): Don't inf-loop (bug#5108).
10218 * image-mode.el (image-toggle-display-text)
10219 (image-toggle-display-image): Stay away from evil `intangible'.
10220
08d355e3
LL
102212011-09-19 Leo Liu <sdl.web@gmail.com>
10222
10223 * replace.el (occur-revert-arguments): Make it permanent-local.
10224 (occur-mode): Don't call font-lock-defontify.
10225
f01da43f
CY
102262011-09-19 Chong Yidong <cyd@stupidchicken.com>
10227
10228 * net/ldap.el (ldap-search-internal): Don't push empty search
10229 result (Bug#9508).
10230
b6072fa6
SM
102312011-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
10232
10233 * whitespace.el (whitespace-newline-mode): Disable it right (bug#9550).
10234
443d6696
MA
102352011-09-19 Michael Albinus <michael.albinus@gmx.de>
10236
10237 * net/tramp-sh.el (tramp-inline-compress-commands): Add "xz".
10238 Suggested by Liam Stitt <stittl@cuug.ab.ca>.
10239
7cc6e154
JL
102402011-09-18 Juri Linkov <juri@jurta.org>
10241
10242 * buff-menu.el (Buffer-menu-mode-map):
10243 * dired.el (dired-mode-map):
10244 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map)
10245 (lisp-interaction-mode-map):
10246 * emacs-lisp/package.el (package-menu-mode-map):
10247 * epa.el (epa-key-list-mode-map):
10248 * menu-bar.el (menu-bar-showhide-tool-bar-menu)
10249 (menu-bar-options-menu):
10250 * outline.el (outline-mode-menu-bar-map):
10251 * vc/vc-bzr.el (vc-bzr-shelve-menu-map, vc-bzr-extra-menu-map):
10252 * vc/vc-dir.el (vc-dir-menu-map):
10253 * vc/vc-git.el (vc-git-stash-menu-map, vc-git-extra-menu-map):
10254 Capitalize non-function content words in menu item strings.
10255
10256 * dired.el (dired-mode-map): Add menu item for
10257 `image-dired-dired-toggle-marked-thumbs'.
10258
80302a81
JL
102592011-09-18 Juri Linkov <juri@jurta.org>
10260
10261 * isearch.el (isearch-edit-string): Bind `isearch-new-case-fold'
10262 to `isearch-case-fold-search' and restore its original value
10263 after the `isearch-mode' call.
10264
46c5cf66
JL
102652011-09-18 Juri Linkov <juri@jurta.org>
10266
10267 * progmodes/grep.el (grep-process-setup): Don't check code for 1
10268 because `zgrep' returns 1 for successful matches (bug#9226).
10269
d18b513b
JL
102702011-09-18 Juri Linkov <juri@jurta.org>
10271
10272 * info.el (Info-extract-menu-node-name): Check the second match
10273 for empty string (second test-case of bug#9528).
10274 (Info-last-preorder): Let-bind `Info-history' to nil to not add
10275 intermediate nodes to the history (first test-case of bug#9528).
10276
72753f87
JL
102772011-09-18 Juri Linkov <juri@jurta.org>
10278
10279 * info.el (Info-mode-syntax-table): New variable.
1154d12e 10280 (Info-mode): Set `:syntax-table' to `Info-mode-syntax-table' (bug#3312).
72753f87 10281
c9384295
JL
102822011-09-18 Juri Linkov <juri@jurta.org>
10283
1154d12e
JB
10284 * info.el (Info-file-supports-index-cookies):
10285 Increment line-beginning-position's arg from 3 to 4 because makeinfo
10286 outputs one more line for long file names (bug#4142).
c9384295 10287
d473dce8
CY
102882011-09-18 Chong Yidong <cyd@stupidchicken.com>
10289
10290 * newcomment.el (comment-normalize-vars): If prompting for
10291 comment-start, set comment-start-skip too (Bug#8424).
10292
2176854d
JB
102932011-09-18 Johan Bockgård <bojohan@gnu.org>
10294
10295 * icomplete.el: Fix previous fix of Bug#5849.
10296 (icomplete-mode): Don't set completion-show-inline-help.
10297 (icomplete-minibuffer-setup): Set completion-show-inline-help
10298 locally during icompletion.
10299
3aace4e4
CY
103002011-09-18 Chong Yidong <cyd@stupidchicken.com>
10301
c940224f
CY
10302 * woman.el (woman2-process-escapes): Don't delete unrecognized
10303 escapes (Bug#7843).
10304
3aace4e4
CY
10305 * files.el (inhibit-first-line-modes-regexps): Add image files.
10306 (hack-local-variables-prop-line): Return nil for malformed
10307 prop-lines (Bug#9044).
10308
710dec63
MA
103092011-09-18 Michael Albinus <michael.albinus@gmx.de>
10310
10311 * net/tramp.el (top): Don't require 'shell.
10312 (tramp-methods): Fix docstring.
10313 (tramp-get-remote-tmpdir): New defun, moved from tramp-sh.el.
8d28cb95
SM
10314 Return complete remote file name. Handle "smb" case.
10315 Use `tramp-tmpdir', if defined for the respective method.
710dec63
MA
10316 (tramp-make-tramp-temp-file): Adapt call of `tramp-get-remote-tmpdir'.
10317
10318 * net/tramp-compat.el (top): Require 'shell.
10319
10320 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
10321 (tramp-maybe-open-connection): Use `tramp-file-name-real-host' for
10322 `tramp-current-host'.
10323 (tramp-get-remote-tmpdir): Remove.
10324
10325 * net/tramp-smb.el (tramp-methods): Add `tramp-remote-shell' and
10326 `tramp-tmpdir' entries.
10327 (tramp-smb-errors): Add "NT_STATUS_IMAGE_ALREADY_LOADED".
10328 (tramp-smb-handle-file-attributes): Ignore errors.
10329 (tramp-smb-wait-for-output): Check also for process end.
10330
5d5ac8ec
LMI
103312011-09-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10332
10333 * mail/smtpmail.el (smtpmail-via-smtp): Ignore errors that arise
10334 when sending QUIT (bug#9312).
10335
8c0f49f0
CY
103362011-09-17 Chong Yidong <cyd@stupidchicken.com>
10337
10338 * replace.el (occur-mode-map): Rebind occur-edit-mode to "e" (Bug#8463).
10339 (occur-edit-mode-map): Bind C-c C-c to occur-cease-edit and C-o to
10340 occur-mode-display-occurrence.
10341 (occur-edit-mode): Add usage message.
10342 (occur-cease-edit): New command.
10343 (occur-after-change-function): Use text properties to find the
10344 position of the prefix text.
10345 (occur-engine): Set stickiness of prefix text properties.
10346
8f1383f7
GM
103472011-09-17 Glenn Morris <rgm@gnu.org>
10348
10349 * progmodes/etags.el (complete-tag):
10350 Fix call to completion-in-region. (Bug#9526)
10351
744ba0e3
JL
103522011-09-17 Juri Linkov <juri@jurta.org>
10353
10354 * textmodes/ispell.el (ispell-word): Add to the error message
10355 the word, ispell program name and current dictionary (bug#9121).
10356 (ispell-tex-arg-end): Capitalize "error" in the error message.
10357
d9bbf400
AS
103582011-09-17 Andreas Schwab <schwab@linux-m68k.org>
10359
10360 * emacs-lisp/bytecomp.el (byte-compile-lapcode): Fix overflow
10361 check. (Bug#4251)
10362
8da11505
JL
103632011-09-17 Juri Linkov <juri@jurta.org>
10364
10365 * window.el (window-safe-min-height, window-safe-min-width):
10366 Fix typos (followup to bug#9522).
10367
a91adc7e
SJ
103682011-09-17 Sven Joachim <svenjoac@gmx.de>
10369
10370 * window.el (window-min-width, window-state-put): Fix typos (bug#9522).
10371
064f328a
EZ
103722011-09-16 Eli Zaretskii <eliz@gnu.org>
10373
10374 * simple.el (line-move): If goal-column is set, move by logical
10375 lines, not by display lines. (Bug#971)
10376 (next-line, previous-line, goal-column, line-move-visual): Doc fix
10377 to reflect the above change.
10378
e69df516
SM
103792011-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
10380
10381 * image.el (imagemagick-register-types): Use regexp-opt.
10382
cbb0f9ab
CY
103832011-09-15 Chong Yidong <cyd@stupidchicken.com>
10384
10385 * window.el (display-buffer-base-action): Rename from
10386 display-buffer-default-action. Make default value empty.
10387 (display-buffer-overriding-action): Convert to defvar.
10388 (display-buffer-fallback-action): New var.
10389
25322144
CY
103902011-09-15 Chong Yidong <cyd@stupidchicken.com>
10391
10392 * emacs-lisp/package.el (package-alist): Fix risky-local-variable
10393 declaration.
10394 (package--add-to-archive-contents): If there is a duplicate entry
10395 with an older version, remove it.
10396 (package-menu-mark-delete, package-menu-mark-install)
10397 (package-menu-mark-unmark): Make unused args optional.
e69df516
SM
10398 (package-menu-mark-obsolete-for-deletion):
10399 Use package-menu-get-status instead of a regexp search.
25322144
CY
10400 (package-menu-get-status): Use tabulated-list-entry.
10401 (package-menu-mark-upgrades): New command.
d770725a 10402 (package-menu-mode-map): Bind it to U. Add it to menu bar.
25322144
CY
10403 (package-menu-execute): Do installation before deletion.
10404 (package-menu-refresh, package-menu-execute): Use derived-mode-p
10405 instead of checking major-mode.
10406 (package-menu--find-upgrades): New function.
10407
7520339c
LMI
104082011-09-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
10409
10410 * mail/smtpmail.el (smtpmail-send-command): Don't include AUTH
10411 passwords in the log buffer.
65a046c4
LMI
10412 (smtpmail-process-filter): Update the process marker so that the
10413 "broken by peer" status message is inserted in the right place.
7520339c 10414
d3c30954
SM
104152011-09-14 Stefan Monnier <monnier@iro.umontreal.ca>
10416
3fe48822
SM
10417 * textmodes/bibtex.el (bibtex-complete-string-cleanup)
10418 (bibtex-complete-crossref-cleanup): Adjust to accommodate needs of
10419 bibtex-completion-at-point-function.
10420 (bibtex-completion-at-point-function): Use them.
10421
1b8b3954
SM
10422 * newcomment.el (comment-add, comment-valid-prefix-p): Docfix.
10423
d3c30954
SM
10424 * mpc.el (mpc-constraints-tag-lookup): New function.
10425 (mpc-constraints-restore): Use it to make jumping to "album=Foo" apply
10426 also to browser "album|playlist".
10427
72779976
JL
104282011-09-14 Juri Linkov <juri@jurta.org>
10429
10430 * isearch.el (isearch-fail-pos): Add new arg `msg'. Doc fix.
10431 (isearch-edit-string): Use length of `isearch-string' when
10432 `isearch-fail-pos' returns nil.
10433 (isearch-message): Remove duplicate code and call
10434 `isearch-fail-pos' with arg `t'.
10435
a0bf2bcd
CY
104362011-09-14 Chong Yidong <cyd@stupidchicken.com>
10437
17bb0a2d
CY
10438 * replace.el (occur-mode-goto-occurrence): Don't force using other
10439 window (Bug#9499).
10440
a0bf2bcd
CY
10441 * dired-aux.el (dired-do-chmod): Don't provide initial input.
10442
f678e0b6
MR
104432011-09-14 Martin Rudalics <rudalics@gmx.at>
10444
10445 * window.el (display-buffer-window): Remove.
10446 (display-buffer-record-window): Use help-setup window parameter
10447 instead of variable display-buffer-window.
10448 (display-buffer-function, special-display-buffer-names)
10449 (special-display-function): Mention help-setup parameter instead
10450 of display-buffer-window in doc-string.
d3c30954
SM
10451 * help.el (help-window-setup): New argument help-window.
10452 Use help-window-setup parameter instead of display-buffer-window.
f678e0b6
MR
10453 Reword some messages.
10454 (with-help-window): Pass window used for displaying the buffer
10455 to help-window-setup. Don't set display-buffer-window.
10456
8e39b2e8
GM
104572011-09-13 Glenn Morris <rgm@gnu.org>
10458
10459 * emacs-lisp/debug.el (debugger-make-xrefs):
10460 Preserve point. (Bug#9462)
10461
85e9c04b
CY
104622011-09-13 Chong Yidong <cyd@stupidchicken.com>
10463
10464 * window.el (window-deletable-p): Use next-frame.
10465
1b36ed6a
MR
104662011-09-13 Martin Rudalics <rudalics@gmx.at>
10467
10468 * window.el (window-auto-delete): Remove.
10469 (window-deletable-p): Remove argument FORCE. Don't deal with
e4769531 10470 dedication and previous buffers.
1b36ed6a
MR
10471 (switch-to-prev-buffer): Don't delete window.
10472 (delete-windows-on): Delete a window's frame if and only if the
10473 window is dedicated.
10474 (replace-buffer-in-windows): Delete buffer's window or frame if
10475 and only if window is dedicated.
10476 (quit-window): Handle quit-restore as before last change.
4d61f28d 10477 (bury-buffer): Delete window only if window-deletable-p returns t.
1b36ed6a 10478
ef8ef9fb
CY
104792011-09-13 Chong Yidong <cyd@stupidchicken.com>
10480
10481 * window.el (window-deletable-p): Never delete the last frame on a
10482 given terminal.
10483
b2cba41e
GM
104842011-09-13 Glenn Morris <rgm@gnu.org>
10485
10486 * help.el (describe-key-briefly): Copy previous standard-output change.
10487
51553db6 104882011-09-13 PJ Weisberg <pj@irregularexpressions.net>
e3ce671f
PW
10489
10490 * help.el (where-is): Respect non-standard standard-output. (Bug#9030)
10491
b7556719
GM
104922011-09-13 Glenn Morris <rgm@gnu.org>
10493
10494 * emacs-lisp/lisp-mode.el (lisp-indent-function):
10495 * progmodes/scheme.el (scheme-indent-function): Doc fixes.
10496
64b51947
CY
104972011-09-12 Chong Yidong <cyd@stupidchicken.com>
10498
10499 * dired-aux.el (dired-mark-read-string): Don't return default
10500 value on empty input (Bug#9361).
10501 (dired-do-chxxx): Treat empty input for "touch" as no -t option.
10502 Omit initial minibuffer contents.
10503 (dired-do-chmod): Signal an error on empty input.
10504 (dired-mark-read-string): Don't return default on empty input.
10505
10506 * files.el (file-modes-symbolic-to-number): Doc fix.
10507
393a301e
SM
105082011-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
10509
10510 * international/mule-cmds.el (ucs-completions): Remove.
10511 (read-char-by-name): Use complete-with-action instead; add metadata.
10512
fa5660f9
CY
105132011-09-11 Chong Yidong <cyd@stupidchicken.com>
10514
10515 * window.el (display-buffer--action-function-custom-type)
10516 (display-buffer--action-custom-type): New vars.
10517 (display-buffer-alist, display-buffer-default-action)
10518 (display-buffer-overriding-action): Add defcustom types.
10519
4a592f66
CY
10520 * frame.el (delete-other-frames): Doc fix (Bug#276).
10521
73d56dbd
LMI
105222011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10523
10524 * play/doctor.el (make-doctor-variables): Define `doctor-sent'.
10525
37ac18a3
CY
105262011-09-11 Chong Yidong <cyd@stupidchicken.com>
10527
10528 Change modes that used same-window-* vars to use switch-to-buffer.
10529
10530 * progmodes/gdb-mi.el (gdb-restore-windows, gdb-setup-windows):
10531 Use switch-to-buffer.
10532
10533 * cus-edit.el (customize-group, custom-buffer-create)
393a301e
SM
10534 (customize-browse, custom-buffer-create-other-window):
10535 Use switch-to-buffer or switch-to-buffer-other-window.
37ac18a3
CY
10536
10537 * info.el (info, Info-find-node, Info-revert-find-node, Info-next)
10538 (Info-prev, Info-up, Info-speedbar-goto-node)
10539 (info-display-manual): Use switch-to-buffer.
10540 (Info-speedbar-goto-node): Use switch-to-buffer-other-frame.
10541
10542 * mail/sendmail.el (mail): Use switch-to-buffer.
10543 (mail-recover): Use switch-to-buffer-other-window.
10544
10545 * cmuscheme.el (run-scheme, switch-to-scheme):
10546 * ielm.el (ielm):
10547 * shell.el (shell):
10548 * net/rlogin.el (rlogin):
10549 * net/telnet.el (telnet, rsh):
10550 * progmodes/inf-lisp.el (inferior-lisp): Use switch-to-buffer.
10551
10195bd6
AS
105522011-09-11 Andreas Schwab <schwab@linux-m68k.org>
10553
10554 * dired.el (dired-sort-toggle-or-edit): Revert last changes.
10555
b322f63a
LMI
105562011-09-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
10557
39d7fed6
LMI
10558 * dired.el (dired-sort-toggle-or-edit): -o doesn't exist on *BSD,
10559 so don't mention it (bug#9301).
ba5a81f1 10560 (dired-sort-toggle-or-edit): Clarify string further.
39d7fed6 10561
ee0e9f11
LMI
10562 * faces.el (face-spec-set-match-display): Make `(type graphic)'
10563 match `x', `w32' and `ns', like the manual says (bug#9029).
10564
0b1c89c1 10565 * subr.el (eval-after-load): Doc string clarification (bug#9125).
da9fcb93
LMI
10566 (process-kill-buffer-query-function): Mention the buffer name in
10567 the query.
0b1c89c1 10568
77549ea8
LMI
10569 * image-mode.el (image-next-line): The line parameter is mandatory
10570 (bug#9258).
10571
803ef892
LMI
10572 * dired.el (dired-sort-toggle-or-edit): Mention -o and -g, too,
10573 which can be useful (bug#9301).
10574
12980837
LMI
10575 * textmodes/flyspell.el: Remove obsolete comment (bug#9368).
10576
91054f8f
LMI
10577 * subr.el (match-string): Mention that the current buffer should
10578 be the same as the search was done in (bug#9282).
10579
b322f63a
LMI
10580 * facemenu.el: Disable the remove-* commands if the mark isn't
10581 active (bug#9162).
10582
3199b96f
CY
105832011-09-10 Chong Yidong <cyd@stupidchicken.com>
10584
10585 * buff-menu.el (Buffer-menu-switch-other-window): Use second arg
10586 of display-buffer.
10587 (Buffer-menu-2-window): Use switch-to-buffer-other-window.
10588
10589 * replace.el (occur-mode-goto-occurrence)
10590 (occur-mode-display-occurrence) Use second arg of pop-to-buffer
10591 and display-buffer.
10592
10593 * mail/reporter.el (reporter-submit-bug-report): Use second arg of
10594 display-buffer.
10595
10596 * mail/sendmail.el (sendmail-user-agent-compose): Don't bind the
10597 special-display and same-window variables.
10598 (mail-other-window): Use switch-to-buffer-other-window.
10599 (mail-other-frame): USe switch-to-buffer-other-frame.
10600
393a301e
SM
10601 * progmodes/gdb-mi.el (gdb-frame-gdb-buffer):
10602 Use display-buffer-other-frame.
3199b96f
CY
10603 (gdb-display-gdb-buffer): Use pop-to-buffer.
10604
10605 * progmodes/gud.el (gud-goto-info): Use info-other-window.
10606
10607 * progmodes/python.el: Don't set same-window-buffer-names.
10608
10609 * textmodes/bibtex.el (bibtex-search-entry): Use switch-to-buffer.
10610
10611 * window.el (display-buffer-alist): Add *Python*.
10612
8319e0bf
CY
106132011-09-10 Chong Yidong <cyd@stupidchicken.com>
10614
10615 * window.el (display-buffer-alist): Add entry for buffers
10616 previously handled same-window-*.
10617 (display-buffer-alist, display-buffer-default-action)
10618 (display-buffer-overriding-action): Mark as risky.
10619 (display-buffer-alist): Document action function changes.
10620 (display-buffer--same-window-action)
10621 (display-buffer--other-frame-action): New variables.
10622 (switch-to-buffer, display-buffer-other-frame): Use them.
10623 (display-buffer): Rename reuse-frame entry to reusable-frames.
10624 (display-buffer-reuse-selected-window): Function deleted.
10625 (display-buffer-reuse-window): Handle reusable-frames alist entry.
10626 If it's omitted, check pop-up-frames/display-buffer-reuse-frames.
10627 (display-buffer-special): New function.
10628 (display-buffer--maybe-pop-up-frame-or-window): Rename from
10629 display-buffer-reuse-or-pop-window. Split off special-display
10630 part into display-buffer-special.
10631 (display-buffer-use-some-window): Don't perform any special
10632 pop-up-frames handling.
10633 (pop-to-buffer): Use window-normalize-buffer-to-switch-to.
393a301e 10634 (display-buffer--maybe-same-window): Rename from
0d3ff375 10635 display-buffer-maybe-same-window.
8319e0bf 10636
919a69aa
CY
10637 * info.el: Don't set same-window-regexps.
10638 (info-setup): New function.
10639 (info-other-window, info): Call it.
10640
10641 * cus-edit.el: Don't set same-window-regexps.
10642 (customize-group): New argument.
10643 (customize-group-other-window): Use it.
10644 (customize-face, customize-face-other-window): Likewise.
10645 (custom-buffer-create-other-window): Use pop-to-buffer directly.
10646
8319e0bf
CY
10647 * net/rlogin.el:
10648 * net/telnet.el:
10649 * progmodes/gud.el: Don't set same-window-regexps.
10650
10651 * cmuscheme.el:
10652 * ielm.el:
10653 * shell.el:
10654 * mail/sendmail.el:
10655 * progmodes/inf-lisp.el: Don't set same-window-buffer-names.
10656
25173000
JL
106572011-09-10 Juri Linkov <juri@jurta.org>
10658
10659 * isearch.el (isearch-edit-string): Remove obsolete mention of
10660 `C-w' (`isearch-yank-word-or-char') from docstring.
10661 (isearch-query-replace): Fix typo in docstring (bug#9466).
10662
056e44ef
JL
106632011-09-10 Juri Linkov <juri@jurta.org>
10664
10665 * paren.el (show-paren-function): Don't show escaped parens.
10666 Let-bind `unescaped' to `t' when paren is not escaped. (Bug#9461)
10667
c3760c17
EZ
106682011-09-10 Eli Zaretskii <eliz@gnu.org>
10669
10670 * mail/sendmail.el (mml-to-mime, mml-attach-file)
10671 (mm-default-file-encoding): Remove autoload forms, they are
10672 replaced with autoload cookies in mml.el and mm-encode.el.
10673 (mail-add-attachment): New command.
10674 (mail-mode-map): Add a menu-bar item for mail-add-attachment.
10675 (mail-mode): Mention mail-insert-file and mail-add-attachment in
10676 the doc string.
10677 (mml-to-mime, mml-attach-file, mm-default-file-encoding): Declare.
10678
fece895e
RT
106792011-09-10 Reuben Thomas <rrt@sc3d.org>
10680
e69df516
SM
10681 * simple.el (count-words-region): Use buffer if there's no region
10682 (bug#9429).
fece895e 10683
5e68ce4a
JL
106842011-09-09 Juri Linkov <juri@jurta.org>
10685
10686 * wdired.el (wdired-change-to-wdired-mode): Set buffer-local
10687 `isearch-filter-predicate' to `wdired-isearch-filter-read-only'.
10688 (wdired-isearch-filter-read-only): New function. (Bug#6362)
10689
0a6b9622
AM
106902011-09-09 Alan Mackenzie <acm@muc.de>
10691
10692 * progmodes/cc-mode.el (awk-mode): Prevent `define-derived-mode'
10693 spuriously generating `awk-mode-syntax-table'. (Bug #9448).
10694
14a29deb
EZ
106952011-09-09 Eli Zaretskii <eliz@gnu.org>
10696
10697 Fix for Savannah bug#9392.
10698 * simple.el (mail-encode-mml): New defvar.
10699
10700 * mail/rmail.el (mail-encode-mml): Add a defvar.
10701 (rmail-enable-mime-composing): Default to t.
10702 (rmail-forward): Use MIME method of forwarding only if both
10703 rmail-enable-mime-composing and rmail-enable-mime are non-nil.
10704 Set mail-encode-mml non-nil if the MIME method was used.
10705
10706 * mail/sendmail.el (mml-to-mime): Add autoload form.
10707 (mail-encode-mml): Add a defvar.
10708 (mail-mode): Make mail-encode-mml buffer-local and initialize it
10709 to nil.
10710 (mail-send): If mail-encode-mml is non-nil, run the outgoing
10711 message through mml-to-mime, and reset mail-encode-mml to nil.
10712
28c45130
GM
107132011-09-09 Glenn Morris <rgm@gnu.org>
10714
10715 * woman.el (woman-if-body): When processing an .el block,
10716 do not delete the next .el block as well. (Bug#9447)
69f4b618 10717 (woman-special-characters): Add oq, cq, and hy characters.
28c45130 10718
9b1c252e
MR
107192011-09-08 Martin Rudalics <rudalics@gmx.at>
10720
10721 * window.el (window-deletable-p): Make sure window is live before
10722 invoking window-prev-buffers.
10723
567457e3
LL
107242011-09-08 Leo Liu <sdl.web@gmail.com>
10725
10726 * net/rcirc.el (rcirc-cmd-invite): New rcirc command. (Bug#9453)
10727
97f05794
JL
107282011-09-08 Juri Linkov <juri@jurta.org>
10729
10730 * progmodes/compile.el (compilation-environment): Make it
10731 a defcustom (bug#8340).
10732
8b0874b5
MR
107332011-09-08 Martin Rudalics <rudalics@gmx.at>
10734
10735 * window.el (frame-auto-delete): Rename to window-auto-delete.
10736 Make it control auto-deletion of windows and/or frames.
10737 (window-deletable-p): New argument FORCE. Rewrite conditions
5e617bc2 10738 for deleting window/frame. (Bug#9419)
8b0874b5
MR
10739 (switch-to-prev-buffer, replace-buffer-in-windows, quit-window):
10740 Rewrite handling of case when window/frame can be deleted.
10741 (delete-windows-on): Call window-deletable-p with new FORCE
5e617bc2 10742 argument t. (Bug#9456)
8b0874b5 10743
4feb6e73
CY
107442011-09-07 Chong Yidong <cyd@stupidchicken.com>
10745
10746 * help-mode.el (help-mode): Restore autoload.
10747
91ab9c13
JL
107482011-09-07 Juri Linkov <juri@jurta.org>
10749
10750 * progmodes/compile.el (compilation-start): Let-bind `thisenv' to
10751 `compilation-environment'. Set buffer-local
10752 `compilation-environment' to `thisenv' later after (funcall mode).
10753 (Bug#8340)
10754
10755 * vc/vc-git.el (vc-git-grep): Remove --no-color. (Bug#9408)
10756 (vc-git-grep): Prepend "PAGER=" to `compilation-environment'
10757 instead of replacing its value. (Bug#8340)
10758
0527e251
JL
107592011-09-07 Juri Linkov <juri@jurta.org>
10760
10761 * progmodes/grep.el (grep-regexp-alist): Calculate column positions
10762 based on text properties put by `grep-filter' instead of matching
10763 escape sequences.
10764 (grep-mode): Set buffer-local `compilation-error-screen-columns'
10765 to the value of `grep-error-screen-columns' (bug#9438).
10766
249f792c
JL
107672011-09-07 Juri Linkov <juri@jurta.org>
10768
10769 * simple.el (next-error-highlight, next-error-highlight-no-select):
10770 Doc fix (bug#9432).
10771
ff7271b9
OT
107722011-09-07 OKAZAKI Tetsurou <okazaki.tetsurou@gmail.com> (tiny change)
10773
10774 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
10775 Check for null c-opt-block-decls-with-vars-key. (Bug#9443)
10776
183fc730
LL
107772011-09-07 Leo Liu <sdl.web@gmail.com>
10778
10779 * net/rcirc.el (rcirc-mode): Conditionally initialize
10780 rcirc-input-ring.
10781
77694924
SM
107822011-09-07 Stefan Monnier <monnier@iro.umontreal.ca>
10783
10784 * emacs-lisp/find-func.el (find-function-C-source): Only set
10785 find-function-C-source-directory after checking that we found a source
10786 file there (bug#9440).
10787
d809b8eb
AM
107882011-09-06 Alan Mackenzie <acm@muc.de>
10789
10790 * isearch.el (isearch-other-meta-char): Wherever a key list is
10791 unread, "unread" the prefix arg, too. This fixes bug #8901.
10792
453de99f
OG
107932011-09-05 Oleksandr Gavenko <gavenkoa@gmail.com> (tiny change)
10794
10795 * progmodes/grep.el (rgrep): Add "-type d" (bug#9414).
10796
90439906
JL
107972011-09-05 Juri Linkov <juri@jurta.org>
10798
10799 * progmodes/grep.el (grep-process-setup): Fix comments (bug#8084).
10800
f62bd846
JL
108012011-09-05 Juri Linkov <juri@jurta.org>
10802
10803 * progmodes/grep.el (grep-filter): Avoid incomplete processing by
10804 keeping point where processing of grep matches begins, and
10805 continue to delete remaining escape sequences from the same point.
10806 (grep-filter): Make leading zero optional in "0?1;31m" because
10807 git-grep emits "\033[1;31m" escape sequences unlike expected
10808 "\033[01;31m" as GNU Grep does (bug#9408).
10809 (grep-process-setup): Replace obsolete "ml=" with newer "sl=".
10810
045820ec
JL
108112011-09-05 Juri Linkov <juri@jurta.org>
10812
10813 * subr.el (y-or-n-p): Capitalize "yes".
10814
f5e29b9b
MA
108152011-09-04 Michael Albinus <michael.albinus@gmx.de>
10816
10817 * net/tramp.el (top): Require 'shell. Use `tramp-unload-hook' but
10818 `tramp-cache-unload-hook' where appropriate.
10819 (tramp-methods): Rename `tramp-remote-sh' to
10820 `tramp-remote-shell'. Add `tramp-remote-shell-args'.
10821 (tramp-handle-shell-command): New defun, moved from tramp-sh.el.
10822
10823 * net/tramp-sh.el (top): Don't require 'shell.
10824 (tramp-methods): Add `tramp-remote-shell' and
10825 `tramp-remote-shell-args' entries.
10826 (tramp-sh-file-name-handler-alist): Use `tramp-handle-shell-command'.
10827 (tramp-sh-handle-shell-command): Remove.
10828 (tramp-find-shell, tramp-open-connection-setup-interactive-shell):
10829 Use `tramp-remote-shell'.
10830
2784c434
CY
108312011-09-03 Chong Yidong <cyd@stupidchicken.com>
10832
393a301e 10833 * mail/sendmail.el (sendmail-query-once-function): Delete.
2784c434
CY
10834 (sendmail-query-once): Save directly to send-mail-function.
10835 Update message-send-mail-function too.
10836
10837 * mail/smtpmail.el (smtpmail-try-auth-methods): Clarify prompt.
10838
464cdf56
CS
108392011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10840
10841 * progmodes/python.el (python-mode-map): Use correct function to
10842 start python interpreter from menu-bar (as reported by Geert
10843 Kloosterman).
10844 (inferior-python-mode-map): Fix typo.
393a301e 10845 (python-shell-map): Remove.
464cdf56 10846
d37e5c87
DD
108472011-09-03 Deniz Dogan <deniz@dogan.se>
10848
10849 * net/rcirc.el (rcirc-print): Simplify code for
10850 rcirc-scroll-show-maximum-output. There is no need to walk
10851 through all windows to find the right one.
10852
f3ada0ee
CS
108532011-09-03 Christoph Scholtes <cschol2112@googlemail.com>
10854
10855 * help.el (help-return-method): Doc fix.
10856
1f3c99ca
MR
108572011-09-03 Martin Rudalics <rudalics@gmx.at>
10858
10859 * window.el (window-deletable-p): Don't return a non-nil value
10860 when there's a buffer that was shown in the window before.
10861 (Bug#9419)
393a301e
SM
10862 (display-buffer-pop-up-frame, display-buffer-pop-up-window):
10863 Set window's previous buffers to nil.
1f3c99ca 10864
a3cf097f
EZ
108652011-09-03 Eli Zaretskii <eliz@gnu.org>
10866
10867 * mail/rmailmm.el (rmail-mime-insert-tagline): Insert an extra
10868 newline before and after the tag line, so it doesn't interfere
10869 with determining the paragraph direction of bidirectional text.
10870
3d03de90
LL
108712011-09-03 Leo Liu <sdl.web@gmail.com>
10872
10873 * files.el (find-file-not-true-dirname-list): Remove. (Bug#9422)
10874
c3313451
CY
108752011-09-02 Chong Yidong <cyd@stupidchicken.com>
10876
393a301e 10877 * window.el (pop-to-buffer-1, pop-to-buffer-same-window): Delete.
c3313451
CY
10878 (pop-to-buffer): Change interactive spec. Pass second argument
10879 directly to display-buffer.
10880 (display-buffer): Fix interactive spec. Use functionp to
10881 distinguish between a function and a list of functions.
10882
10883 * abbrev.el (edit-abbrevs):
10884 * arc-mode.el (archive-extract):
10885 * autoinsert.el (auto-insert):
10886 * bookmark.el (bookmark-bmenu-list):
10887 * files.el (find-file):
10888 * view.el (view-buffer):
10889 * progmodes/compile.el (compilation-goto-locus):
10890 * textmodes/bibtex.el (bibtex-initialize): Use switch-to-buffer.
10891
89894cd8
CY
108922011-09-02 Chong Yidong <cyd@stupidchicken.com>
10893
10894 * window.el (display-buffer-alist): Doc fix.
10895 (display-buffer): Add docstring. Don't treat
10896 display-buffer-default specially.
10897 (display-buffer-reuse-selected-window)
10898 (display-buffer-same-window, display-buffer-maybe-same-window)
10899 (display-buffer-reuse-window, display-buffer-pop-up-frame)
10900 (display-buffer-pop-up-window)
10901 (display-buffer-reuse-or-pop-window)
10902 (display-buffer-use-some-window): New functions.
10903 (display-buffer-default-action): Use them.
393a301e 10904 (display-buffer-default): Delete.
89894cd8
CY
10905 (pop-to-buffer-1): Fix choice of actions.
10906
ae0bc9fb
SM
109072011-09-02 Stefan Monnier <monnier@iro.umontreal.ca>
10908
10909 * minibuffer.el (completion--insert-strings): Don't get confused by
10910 completion entries that end with an LF char.
10911
e9d90883
EZ
109122011-09-01 Eli Zaretskii <eliz@gnu.org>
10913
10914 * window.el (frame-auto-delete, window-deletable-p): Doc fix.
10915
437014c8
CY
109162011-09-01 Chong Yidong <cyd@stupidchicken.com>
10917
10918 * window.el (display-buffer): Restore interactive spec.
ae0bc9fb
SM
10919 (display-buffer-same-window, display-buffer-other-window):
10920 New functions.
437014c8
CY
10921 (pop-to-buffer-1): New function. Use the above.
10922 (pop-to-buffer, pop-to-buffer-same-window): Use it.
ae0bc9fb 10923 (pop-to-buffer-other-window, pop-to-buffer-other-frame): Delete.
437014c8
CY
10924
10925 * view.el (view-buffer-other-window, view-buffer-other-frame):
10926 Just use pop-to-buffer.
10927
a5e063d5
TV
109282011-09-01 Thierry Volpiatto <thierry.volpiatto@gmail.com>
10929
10930 * vc/vc-rcs.el (vc-rcs-responsible-p): Handle directories. (Bug#9391)
10931
793d32bb
WH
109322011-09-01 Wilfred Hughes <wilfred@potatolondon.com> (tiny change)
10933
10934 * vc/vc-git.el (vc-git-grep): Use --no-color. (Bug#9408)
10935
d65e4c15
RS
109362011-08-31 Richard Stallman <rms@gnu.org>
10937
10938 * mail/rmail.el (rmail-epa-decrypt): Rewrite to take account
10939 of the separation of rmail-view-buffer from rmail-buffer.
10940 If you say no to "replace original", the decrypt is in the
10941 view buffer. If you say yes, the decrypt goes into the
10942 rmail buffer also.
10943
f818cd2a
MR
109442011-08-31 Martin Rudalics <rudalics@gmx.at>
10945
10946 * window.el (display-buffer-window): Rewrite doc-string.
10947 (display-buffer-record-window): New function.
10948 (display-buffer-macro-specifiers)
10949 (display-buffer-even-window-sizes, display-buffer-set-height)
10950 (display-buffer-set-width, display-buffer-in-window)
10951 (display-buffer-reuse-window, display-buffer-split-specifiers)
10952 (display-buffer-side-specifiers, display-buffer-split-window-1)
10953 (display-buffer-split-window, display-buffer-split-atom-window)
10954 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
10955 (display-buffer-pop-up-side-window, display-buffer-in-side-window)
10956 (display-buffer-other-window-means-other-frame)
10957 (display-buffer-normalize-special)
10958 (display-buffer-normalize-default)
10959 (display-buffer-normalize-argument)
10960 (display-buffer-normalize-alist-1, display-buffer-normalize-alist)
10961 (display-buffer-normalize-specifiers, display-buffer-frame)
10962 (display-buffer-same-window, display-buffer-same-frame)
10963 (display-buffer-other-window)
10964 (display-buffer-same-frame-other-window)
10965 (display-buffer-other-frame, pop-to-buffer-same-window)
10966 (pop-to-buffer-same-frame, pop-to-buffer-other-window)
10967 (pop-to-buffer-same-frame-other-window, pop-to-buffer-other-frame)
10968 (switch-to-buffer-same-frame)
10969 (switch-to-buffer-other-window-same-frame)
10970 (display-buffer-alist-of-strings-p, display-buffer-alist-add)
10971 (display-buffer-alist-set-1, display-buffer-alist-set-2)
10972 (display-buffer-alist-set): Remove.
10973 (display-buffer-function, special-display-buffer-names)
ae0bc9fb
SM
10974 (special-display-regexps, special-display-function):
10975 In doc-string refer to display-buffer-window and quit-restore
f818cd2a
MR
10976 parameter.
10977 (pop-up-frame-alist, pop-up-frame-function, special-display-p)
10978 (special-display-frame-alist, special-display-popup-frame)
10979 (same-window-buffer-names, same-window-regexps, same-window-p)
10980 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
10981 (split-window-preferred-function, split-height-threshold)
10982 (split-width-threshold, window-splittable-p)
10983 (split-window-sensibly, window--try-to-split-window)
10984 (window--frame-usable-p, even-window-heights)
10985 (window--even-window-heights, window--display-buffer-1)
ae0bc9fb
SM
10986 (window--display-buffer-2, display-buffer-other-frame):
10987 Restore old Emacs 23 code, order and doc-strings where applicable.
f818cd2a
MR
10988 (display-buffer-default, display-buffer-assq-regexp): New functions.
10989 (display-buffer-alist): Rewrite doc-string.
10990 (display-buffer-default-action)
10991 (display-buffer-overriding-action): New variables.
10992 (display-buffer, switch-to-buffer): Rewrite.
10993 (pop-to-buffer): Restore Emacs 23 behavior but use
10994 window-normalize-buffer-to-display.
10995 (switch-to-buffer-other-window, switch-to-buffer-other-frame):
10996 Restore Emacs 23 behavior but use
10997 window-normalize-buffer-to-switch-to.
10998 (pop-to-buffer-same-window): Rewrite.
ae0bc9fb
SM
10999 (pop-to-buffer-other-window, pop-to-buffer-other-frame):
11000 Rewrite using Emacs 23 options.
f818cd2a 11001
5bc3b51d
MA
110022011-08-31 Michael Albinus <michael.albinus@gmx.de>
11003
11004 * net/tramp.el (tramp-root-regexp): Remove.
11005 (tramp-completion-file-name-regexp-unified)
11006 (tramp-completion-file-name-regexp-separate)
11007 (tramp-completion-file-name-regexp-url): Don't use leading volume
b46a6a83 11008 letter on w32 systems. (Bug#5303, Bug#9311)
ae0bc9fb
SM
11009 (tramp-drop-volume-letter): Simplify definition.
11010 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
5bc3b51d 11011
b1a4f8e1
SM
110122011-08-30 Stefan Monnier <monnier@iro.umontreal.ca>
11013
11014 * subr.el (event-modifiers): Fix "missing modifier" part of docstring
11015 (bug#9356).
11016
5664fa7b
RT
110172011-08-30 Reuben Thomas <rrt@sc3d.org> (tiny change)
11018
b1a4f8e1 11019 * vc/pcvs-defs.el (cvs-find-file-and-jump): Docstring typo (bug#9369).
5664fa7b 11020
9a45d6c3
JL
110212011-08-29 Juri Linkov <juri@jurta.org>
11022
11023 * isearch.el (isearch-done): Don't display message "Mark saved"
11024 when arg `edit' is non-nil to prevent its flicker in the echo area.
11025
fb87e0fb
CY
110262011-08-28 Chong Yidong <cyd@stupidchicken.com>
11027
11028 * emacs-lisp/package.el (package-menu-mark-delete): Allow marking
11029 obsolete packages for deletion.
11030
09ac1c2a
CS
110312011-08-28 Christoph Scholtes <cschol2112@googlemail.com>
11032
11033 * help-mode.el (help-mode-map): Add special-mode-map to parent.
5e617bc2 11034 (help-mode): Derive help-mode from special-mode. Don't invoke
09ac1c2a
CS
11035 view-mode from help-mode.
11036 (help-xref-override-view-map): Remove.
11037 (help-make-xrefs): Remove minor-mode-overriding-map-alist since
11038 view-mode is not used anymore.
11039
7a1ff57f
CY
110402011-08-28 Chong Yidong <cyd@stupidchicken.com>
11041
11042 * server.el (server-port): Doc fix.
11043
b9696605
CY
11044 * cus-theme.el (custom-theme-choose-mode): Inherit from
11045 special-mode (Bug#9124).
11046 (custom-theme-choose-mode-map): Add special-mode to parent.
11047
ef8cdf8c
AM
110482011-08-28 Alan Mackenzie <acm@muc.de>
11049
11050 * progmodes/cc-fonts.el
11051 (c-make-font-lock-BO-decl-search-function): New function.
11052 (c-basic-matchers-after - "Fontify the clauses after various
11053 keywords"): Extract the three keyword lists for the 3 erroneous
11054 constructs from the list of four, and use the new function above
11055 in place of an old one.
11056
27de4e20
DD
110572011-08-28 Deniz Dogan <deniz@dogan.se>
11058
11059 * net/rcirc.el (rcirc-insert-prev-input)
11060 (rcirc-insert-next-input): Remove unused argument.
11061
356a3681
SM
110622011-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
11063
11064 * shell.el (shell-parse-pcomplete-arguments): Unquote args (bug#9160).
11065
3fc9b218
AM
110662011-08-27 Alan Mackenzie <acm@muc.de>
11067
11068 * progmodes/cc-menus.el (cc-imenu-c++-generic-expression): Make it
11069 handle function pointer parameters properly.
11070
538a061c
MR
110712011-08-27 Martin Rudalics <rudalics@gmx.at>
11072
11073 * window.el (display-buffer-reuse-window): Fix case where
11074 selected window was reused with non-nil OTHER-WINDOW argument.
11075 (Bug#9381)
11076
35b1c40c
DD
110772011-08-27 Deniz Dogan <deniz@dogan.se>
11078
11079 * net/rcirc.el (rcirc-check-auth-status): Adding support for
11080 oftc's NickServ messages.
11081
2f6a3e79
GM
110822011-08-27 Glenn Morris <rgm@gnu.org>
11083
11084 * saveplace.el (save-place-limit): Make it finite. (Bug#9352)
11085
7254299e
CY
110862011-08-26 Chong Yidong <cyd@stupidchicken.com>
11087
11088 * emacs-lisp/package.el (package-install): Call package-initialize
11089 if called interactively.
11090
f8ccf167
LL
110912011-08-26 Leo Liu <sdl.web@gmail.com>
11092
11093 * emacs-lisp/cl-macs.el (defstruct): Fix format. (Bug#9357)
11094
3e8cd5ce
JL
110952011-08-25 Juri Linkov <juri@jurta.org>
11096
11097 * isearch.el (isearch-occur): Let-bind `search-spaces-regexp' to
11098 `search-whitespace-regexp' (bug#9364).
11099
93eb7113
JL
111002011-08-25 Juri Linkov <juri@jurta.org>
11101
11102 * isearch.el (isearch-edit-string): Let-bind `search-ring' and
11103 `regexp-search-ring' to their global values to protect from
11104 updating by `read-from-minibuffer' (bug#9185).
11105
f65d1611
JL
111062011-08-25 Juri Linkov <juri@jurta.org>
11107
11108 * textmodes/ispell.el (ispell-command-loop): Add newline
11109 at the end of the "Use option `i'..." line.
11110
f1cf7a31
JL
111112011-08-25 Juri Linkov <juri@jurta.org>
11112
11113 * battery.el (display-battery-mode): If `battery-status-function'
11114 or `battery-mode-line-format' is nil, display the message and set
11115 `display-battery-mode' to nil (bug#9363).
11116
0c95fcf7
EZ
111172011-08-25 Eli Zaretskii <eliz@gnu.org>
11118
11119 * buff-menu.el (Buffer-menu-buffer+size): Remove calls to
11120 bidi-string-mark-left-to-right; they are unnecessary now.
11121
a2ebe600
DD
111222011-08-25 Deniz Dogan <deniz@dogan.se>
11123
11124 * net/quickurl.el: Documentation typo fixes.
11125
e4ed06f1
CY
111262011-08-25 Chong Yidong <cyd@stupidchicken.com>
11127
11128 * window.el (bury-buffer, quit-window): Use bury-buffer-internal.
11129
e5f1c99e
GM
111302011-08-25 Glenn Morris <rgm@gnu.org>
11131
b2948976
GM
11132 * emacs-lisp/derived.el (define-derived-mode): Doc fix.
11133
e5f1c99e
GM
11134 * mail/smtpmail.el (smtpmail-smtp-user): Add version: tag.
11135 (smtpmail-via-smtp): Handle nil response from smtp.
11136
f22f4808
JL
111372011-08-24 Juri Linkov <juri@jurta.org>
11138
11139 * proced.el (proced-marked): Inherit from `error' instead of
11140 `font-lock-warning-face'.
11141
11142 * ibuffer.el (ibuffer-marked-face): Change default face from
11143 `font-lock-warning-face' to `warning'.
11144 (ibuffer-deletion-face): Change default face from
11145 `font-lock-type-face' to `error'.
11146
11147 * battery.el (battery-update): Use the face `error' instead of
11148 `font-lock-warning-face' (bug#6117).
11149
6a93965e
JL
111502011-08-24 Juri Linkov <juri@jurta.org>
11151
11152 * faces.el (success): Change face color from "Green3" to
11153 "ForestGreen" on light background (bug#9353).
11154
1ed43b09
CY
111552011-08-24 Chong Yidong <cyd@stupidchicken.com>
11156
5664fa7b
RT
11157 * window.el (quit-window): Rename from quit-restore-window.
11158 Use same arglist as old quit-window.
1ed43b09
CY
11159 (frame-auto-delete): Doc fix.
11160
11161 * view.el (view-mode-exit): Use quit-window.
11162
11dcdbb2
JL
111632011-08-24 Juri Linkov <juri@jurta.org>
11164
11165 * isearch.el (isearch-ring-adjust1): Start visiting previous
11166 search strings from the index 0 (-1 + 1) instead of 1 (0 + 1).
11167 (isearch-repeat, isearch-edit-string): Call `isearch-ring-adjust1'
11168 for empty search string (when the last search string is reused
11169 automatically) to adjust the isearch ring to the last element and
11170 prepare the correct index for further M-p commands (bug#9185).
11171
de62b4df
KH
111722011-08-24 Kenichi Handa <handa@m17n.org>
11173
11174 * international/ucs-normalize.el: If decomposition property of
11175 CHAR is the default one (i.e. a list of CHAR itself), treat it as
11176 nil.
11177 (nfd, nfkd): Likewise.
11178
963b492b
SM
111792011-08-24 Stefan Monnier <monnier@iro.umontreal.ca>
11180
11181 * mpc.el (mpc--proc-filter): Don't signal mpc-proc-error since signals
11182 from process filters aren't reliably transmitted to the surrounding
11183 accept-process-output.
11184 (mpc-proc-check): New function.
11185 (mpc-proc-sync): Use it (bug#8293)
11186
93b6b5e1
SM
111872011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11188
11189 * emacs-lisp/eieio.el (eieio-defmethod, eieio-defgeneric):
11190 Add compatibility functions (bug#9313).
11191
bca633fb
EZ
111922011-08-23 Eli Zaretskii <eliz@gnu.org>
11193
b177498a
EZ
11194 * cus-start.el (all): Add entry for bidi-paragraph-direction.
11195
6df6ae42 11196 * international/uni-bidi.el: Regenerate.
bca633fb 11197
0902a04e
KH
111982011-08-23 Kenichi Handa <handa@m17n.org>
11199
11200 * international/charprop.el:
11201 * international/uni-bidi.el:
11202 * international/uni-category.el:
11203 * international/uni-combining.el:
11204 * international/uni-comment.el:
11205 * international/uni-decimal.el:
11206 * international/uni-decomposition.el:
11207 * international/uni-digit.el:
11208 * international/uni-lowercase.el:
11209 * international/uni-mirrored.el:
11210 * international/uni-name.el:
11211 * international/uni-numeric.el:
11212 * international/uni-old-name.el:
11213 * international/uni-titlecase.el:
11214 * international/uni-uppercase.el: Regenerate.
11215
3bbf23bc
MR
112162011-08-23 Martin Rudalics <rudalics@gmx.at>
11217
11218 * help.el (help-window-setup): Fix message displayed when other
11219 window is reused. (Bug#9341)
11220
b3fd59bd
SM
112212011-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
11222
1802e444
SM
11223 * shell.el (shell-completion-vars): Set pcomplete-arg-quote-list.
11224 * pcomplete.el (pcomplete-quote-argument): Fix thinko (bug#9161).
11225
b3fd59bd
SM
11226 * pcomplete.el (pcomplete-parse-comint-arguments): Fix inf-loop.
11227 Mark obsolete.
11228 * shell.el (shell-parse-pcomplete-arguments): New function.
11229 (shell-completion-vars): Use it instead (bug#9160).
11230
4eb61348
SM
112312011-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
11232
867cab74
SM
11233 * progmodes/sh-script.el (sh-maybe-here-document): Disable magic in
11234 strings and comments (bug#9333).
11235
4eb61348
SM
11236 * emacs-lisp/debug.el (debug-arglist): New function.
11237 (debug-convert-byte-code): Use it. Handle lexical byte-codes.
11238 (debug-on-entry-1): Handle interpreted closures (bug#9120).
11239
262a1439
JL
112402011-08-22 Juri Linkov <juri@jurta.org>
11241
56ee679c
JL
11242 * progmodes/compile.el (compilation-mode-font-lock-keywords):
11243 Revert regexp that highlights output switches to its old
11244 pre-2010-10-28 value and remove one `?' from it (bug#9319).
11245
262a1439
JL
11246 * progmodes/grep.el (grep-process-setup): Use `buffer-modified-p'
11247 to check for empty output (bug#9226).
11248
f13f86fb
CY
112492011-08-22 Chong Yidong <cyd@stupidchicken.com>
11250
11251 * progmodes/scheme.el (scheme-mode-syntax-table): Don't use
11252 symbol-constituent as the default, as that stops font-lock from
11253 working properly (Bug#8843).
11254
c65c9622
LMI
112552011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11256
11257 * mail/smtpmail.el (smtpmail-via-smtp): Only bind
11258 `coding-system-for-*' around the process open call to avoid
11259 auth-source side effects.
e7f2c178 11260 (smtpmail-try-auth-methods): Expand the secret password.
7185da52
LMI
11261 (smtpmail-query-smtp-server): Allow `quit'-ing out in case the
11262 probe hangs.
c65c9622 11263
23a8a5ab
CY
112642011-08-21 Chong Yidong <cyd@stupidchicken.com>
11265
ff98b2dd
CY
11266 * term.el (term-mouse-paste): Yank primary selection (Bug#6845).
11267
23a8a5ab
CY
11268 * emacs-lisp/find-func.el (find-function-noselect): New arg
11269 lisp-only.
11270
11271 * emacs-lisp/edebug.el (edebug-instrument-function): Use it to
11272 signal an error for built-in functions (Bug#6664).
11273
f5e3c598
LMI
112742011-08-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
11275
11276 * mail/smtpmail.el (smtpmail-smtp-user): New variable.
11277 (smtpmail-try-auth-methods): Use it.
11278
a3f2468a
CY
112792011-08-21 Chong Yidong <cyd@stupidchicken.com>
11280
2c34e8da
CY
11281 * font-lock.el (font-lock-fontify-region)
11282 (font-lock-unfontify-region, font-lock-default-fontify-buffer)
11283 (font-lock-default-unfontify-buffer)
11284 (font-lock-default-fontify-region)
11285 (font-lock-default-unfontify-region): Add docstrings (Bug#8624).
11286
b3fd59bd
SM
11287 * progmodes/compile.el (compilation-error-properties):
11288 Fix confusion between file struct and message struct (Bug#9319).
02e5c89e
CY
11289 (compilation-error-regexp-alist-alist): Fix 2011-05-09 change to
11290 `ant' regexp.
ee31aabc 11291
a3f2468a
CY
11292 * net/browse-url.el (browse-url-firefox): Don't call
11293 browse-url-firefox-sentinel unless using -remote (Bug#9328).
11294
8e999f70
GM
112952011-08-20 Glenn Morris <rgm@gnu.org>
11296
c21a496a
GM
11297 * tutorial.el (help-with-tutorial): Avoid an error on short screens.
11298
59ee0542
GM
11299 * tutorial.el (tutorial--default-keys): Update some default bindings.
11300
8e999f70
GM
11301 * files.el (hack-local-variables): Fully ignore case for "mode:".
11302
e3715033
AM
113032011-08-20 Alan Mackenzie <acm@muc.de>
11304
11305 Resolve invalid use of a regexp in regexp-opt.
11306
4d61f28d
JB
11307 * progmodes/cc-fonts.el (c-complex-decl-matchers): Add in special
11308 detection for a java annotation.
e3715033 11309
4d61f28d 11310 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Add in special
e3715033
AM
11311 detection for a java annotation.
11312
4d61f28d
JB
11313 * progmodes/cc-langs.el (c-prefix-spec-kwds-re): Remove the special
11314 handling for java.
e3715033
AM
11315 (c-modifier-kwds): Remove the regexp "@[A-za-z0-9]+".
11316
04ed2e9c
CY
113172011-08-20 Chong Yidong <cyd@stupidchicken.com>
11318
11319 * startup.el (normal-top-level-add-subdirs-to-load-path): Doc fix
11320 (Bug#9274).
11321
826cee64
AM
113222011-08-20 Alan Mackenzie <acm@muc.de>
11323
58179cce 11324 Fontify CPP expressions correctly when starting in the middle of
826cee64
AM
11325 such a construct. Mainly for when jit-lock etc. starts a chunk
11326 here.
11327
58179cce 11328 * progmodes/cc-fonts.el (c-font-lock-context): New buffer local
826cee64 11329 variable.
58179cce 11330 (c-make-font-lock-search-form): New function, extracted from
826cee64
AM
11331 c-make-font-lock-search-function.
11332 (c-make-font-lock-search-function): Use the above function.
11333 (c-make-font-lock-context-search-function): New function.
11334 (c-cpp-matchers): Enhance the preprocessor expression case with
11335 the above function
11336 (c-font-lock-complex-decl-prepare): Test for being in a CPP form
11337 which takes an expression.
11338
11339 * progmodes/cc-langs.el (c-cpp-expr-intro-re): New lang-variable.
11340
13009bd8
MR
113412011-08-20 Martin Rudalics <rudalics@gmx.at>
11342
11343 * window.el (display-buffer-reuse-window)
11344 (display-buffer-pop-up-window): Don't reuse or split a side
11345 window.
11346
9234ff7f
GM
113472011-08-19 Glenn Morris <rgm@gnu.org>
11348
11349 * files.el (hack-local-variables-prop-line, hack-local-variables):
5e617bc2 11350 Downcase "Mode:". (Bug#9331)
9234ff7f 11351
f635daa1
CY
113522011-08-18 Chong Yidong <cyd@stupidchicken.com>
11353
11354 * international/characters.el: Add L and R categories.
11355
11356 * subr.el (bidi-string-mark-left-to-right): Rename from
11357 string-mark-left-to-right. Use category search.
11358
11359 * buff-menu.el (Buffer-menu-buffer+size): Callers changed.
11360
bc987f8b
JL
113612011-08-18 Juri Linkov <juri@jurta.org>
11362
11363 * faces.el (error, warning, success): New faces with definitions
11364 copied from old default values of `font-lock-warning-face',
11365 `compilation-warning', `compilation-info' (bug#6117).
11366
11367 * font-lock.el (font-lock-warning-face): Inherit from `error'.
11368
11369 * progmodes/compile.el (compilation-error): Inherit from `error'.
11370 (compilation-warning): Inherit from `warning'.
11371 (compilation-info): Inherit from `success'.
11372
11373 * dired.el (dired-marked): Inherit from `warning'.
11374 (dired-flagged): Inherit from `error'.
11375
57173b96
LMI
113762011-08-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11377
3e79eb87
LMI
11378 * mail/smtpmail.el (auth-source): Require to avoid problems with
11379 binding variables (bug#9298). Also clean up some unused
11380 autoloads.
11381
b3fd59bd
SM
11382 * net/network-stream.el (network-stream-open-starttls):
11383 Support using starttls.el without using gnutls-cli.
57173b96 11384
02b404de
JL
113852011-08-17 Juri Linkov <juri@jurta.org>
11386
11387 * progmodes/grep.el (rgrep): Handle the case when
11388 `grep-find-command' is a cons cell (bug#9278).
11389
8c9177f2
MR
113902011-08-17 Martin Rudalics <rudalics@gmx.at>
11391
11392 * window.el (display-buffer-pop-up-frame): Run frame creation
11393 function with BUFFER current (as special-display-popup-frame
11394 does). Reported by Drew Adams.
11395
3644a0ab
DU
113962011-08-17 Daiki Ueno <ueno@unixuser.org>
11397
11398 * epa-mail.el: Simplify GnuPG group expansion using
11399 epg-expand-group.
11400 (epa-mail-group-alist, epa-mail-group-modtime)
11401 (epa-mail-gnupg-conf-file, epa-mail-parse-groups)
11402 (epa-mail-sync-groups, epa-mail-expand-recipient-1)
11403 (epa-mail-expand-recipients-2, epa-mail-expand-recipients):
11404 Remove.
11405
5e617bc2 114062011-08-16 Feng Li <fengli@gmail.com> (tiny change)
7c643369
FL
11407
11408 * calc/calc-ext.el (math-defintegral-2): Remove nested backquote.
11409
9c4aeabf
AM
114102011-08-16 Alan Mackenzie <acm@muc.de>
11411
11412 * progmodes/cc-engine.el (c-state-cache-non-literal-place):
11413 Correct, to avoid the inside of macros.
11414
3a99bf64
RS
114152011-08-16 Richard Stallman <rms@gnu.org>
11416
04963aa8
RS
11417 * epa-mail.el: Handle GnuPG group definitions.
11418 (epa-mail-group-alist, epa-mail-group-modtime)
11419 (epa-mail-gnupg-conf-file): New variables.
11420 (epa-mail-parse-groups, epa-mail-sync-groups)
11421 (epa-mail-expand-recipient-1, epa-mail-expand-recipients-2)
11422 (epa-mail-expand-recipients): New functions.
11423 (epa-mail-encrypt): Call epa-mail-expand-recipients.
11424
177549d0
RS
11425 * mail/rmail.el (rmail-epa-decrypt): New command.
11426
fe38beef
RS
11427 * epa.el (epa-decrypt-region): New arg MAKE-BUFFER-FUNCTION.
11428 Don't bind buffer-read-only, just inhibit-read-only.
3a99bf64
RS
11429 (epa--find-coding-system-for-mime-charset): Fix the non-xemacs case.
11430 (epa-decrypt-armor-in-region): Make error message clearer.
11431
934eacb9
SM
114322011-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
11433
11434 * minibuffer.el (completion-pcm--merge-completions): Don't merge "a1b"
11435 and "a2b" to "ab" for `prefix'.
11436
d024fb4e
CY
114372011-08-14 Chong Yidong <cyd@stupidchicken.com>
11438
11439 * ibuf-ext.el (ibuffer-filter-disable): New arg for deleting
11440 filter groups.
de148fee
CY
11441 (ibuffer-included-in-filter-p-1): Use it. Suggested by Rafaël
11442 Fourquet (Bug#8804).
d024fb4e 11443
62f1ca49
JB
114442011-08-12 Juanma Barranquero <lekktu@gmail.com>
11445
11446 * startup.el (argi): Declare as global variable (bug#9275).
11447
9ccaaa4b
CY
114482011-08-12 Chong Yidong <cyd@stupidchicken.com>
11449
11450 * subr.el (string-mark-left-to-right): Search the entire string
11451 for RTL script, not just the terminating character. Doc fix.
11452
a3dae87a
SM
114532011-08-12 Stefan Monnier <monnier@iro.umontreal.ca>
11454
6cd18349
SM
11455 * progmodes/js.el (js-syntax-propertize, js-syntax-propertize-regexp):
11456 New function.
11457 (js--regexp-literal, js-syntax-propertize-function): Remove.
11458 (js-mode): Use js-syntax-propertize to handle multilines (bug#9183).
11459 (js-mode-map): Don't rebind electric keys.
11460 (js-insert-and-indent): Remove.
11461 (js-mode): Setup electric-layout and electric-indent instead.
11462
a3dae87a
SM
11463 * epa-file.el (epa-file-select-keys): Revert to nil default (bug#9280).
11464
9d5cb631
DU
114652011-08-12 Daiki Ueno <ueno@unixuser.org>
11466
11467 * epa.el (epa-progress-callback-function): Fix the logic of
11468 displaying progress.
11469 * epa-file.el (epa-file-insert-file-contents): Make progress
11470 display more user-friendly.
11471 (epa-file-write-region): Ditto.
11472
3e26a4a2
CY
114732011-08-10 Chong Yidong <cyd@stupidchicken.com>
11474
11475 * subr.el (string-mark-left-to-right): New function.
11476
11477 * buff-menu.el (Buffer-menu-buffer+size): Remove LRM argument.
11478 Use string-mark-left-to-right.
11479 (list-buffers-noselect): Caller changed.
11480
a3dae87a
SM
11481 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
11482 Use string-mark-left-to-right.
3e26a4a2
CY
11483 (tabulated-list-print): Recenter after moving point.
11484
ac8cf6e6
JL
114852011-08-10 Juri Linkov <juri@jurta.org>
11486
11487 * progmodes/grep.el (rgrep): Don't bind `process-connection-type'.
11488 This finishes incomplete reversion of 2011-06-30T01:09:13Z!larsi@gnus.org
11489 intended by 2011-07-06T15:49:19Z!larsi@gnus.org.
11490
8d96c9a4
CY
114912011-08-09 Chong Yidong <cyd@stupidchicken.com>
11492
11493 * hi-lock.el (hi-lock-unface-buffer): Fix interactive spec
11494 (Bug#7554).
11495
7be1c708 114962011-08-09 Andreas Schwab <schwab@linux-m68k.org>
29bbcfa7
AS
11497
11498 * xt-mouse.el (xterm-mouse-event-read): Try to recover the raw
11499 character. (Bug#6594)
11500
37e11a63
CY
115012011-08-08 Chong Yidong <cyd@stupidchicken.com>
11502
839dde57
CY
11503 * image-dired.el: Don't use find-file for temporary work (Bug#7895).
11504 (image-dired--with-db-file): New macro.
11505 (image-dired-write-tags, image-dired-remove-tag)
11506 (image-dired-create-gallery-lists, image-dired-write-comments)
11507 (image-dired-get-comment, image-dired-mark-tagged-files)
11508 (image-dired-list-tags, image-dired-gallery-generate): Use it.
11509 (image-dired-gallery-generate): Use insert-file-contents.
11510
37e11a63
CY
11511 * time.el (display-time-world-list, display-time-world-display):
11512 * time-stamp.el (time-stamp-string):
11513 * vc/add-log.el (add-change-log-entry): Use setenv instead of
11514 set-time-zone-rule (Bug#7337).
11515
0b4946c4
DU
115162011-08-08 Daiki Ueno <ueno@unixuser.org>
11517
11518 * epg.el (epg--status-KEYEXPIRED, epg--status-KEYREVOKED): Fix typo.
11519 (epg-error-to-string, epg-errors-to-string): New function.
11520 (epg-wait-for-completion): Reverse errors list.
11521 (epg--check-error-for-decrypt, epg-sign-file, epg-sign-string)
11522 (epg-encrypt-file, epg-encrypt-string, epg-export-keys-to-file)
11523 (epg--import-keys-1, epg-receive-keys, epg-delete-keys)
11524 (epg-sign-keys, epg-generate-key-from-file)
11525 (epg-generate-key-from-string): Format errors by using
11526 epg-errors-to-string (bug#9255).
11527 (epg--status-INV_SGNR, epg--status-NO_SGNR): New status handler.
11528
75bfc667
JL
115292011-08-07 Juri Linkov <juri@jurta.org>
11530
11531 * faces.el (list-faces-display): Remove extra angle bracket
11532 from `help-mode-map'.
11533
11534 * info.el (Info-history-toc-nodes): Doc fix.
11535
11536 * longlines.el (longlines-mode): Doc fix.
11537
673e08bb
SM
115382011-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
11539
4640dd88
SM
11540 * progmodes/js.el (js--regexp-literal): Accept regexps at the beginning
11541 of statements and in a few more cases (bug#9183).
11542
673e08bb
SM
11543 * emacs-lisp/cl-macs.el (cl--make-usage-var, cl--make-usage-args):
11544 New functions.
11545 (cl-transform-lambda): Use them (bug#9239).
11546
89b3f019
MR
115472011-08-05 Martin Rudalics <rudalics@gmx.at>
11548
11549 * window.el (display-buffer-same-window)
11550 (display-buffer-same-frame, display-buffer-other-window)
11551 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
11552 (pop-to-buffer-other-window)
11553 (pop-to-buffer-same-frame-other-window)
11554 (pop-to-buffer-other-frame): Make them defuns.
11555 (switch-to-buffer): Don't set LABEL argument of pop-to-buffer.
11556
640c8776
SM
115572011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11558
11559 * subr.el (make-composed-keymap): Move from C. Change calling
11560 convention, and improve docstring to bring attention to a subtle point.
11561 * minibuffer.el (completing-read-default): Adjust accordingly.
11562
63648a95
MA
115632011-08-03 Michael Albinus <michael.albinus@gmx.de>
11564
11565 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
11566 (tramp-open-shell): Use `tramp-shell-quote-argument'.
11567
11568 * net/trampver.el: Update release number.
11569
b796c9b7
SM
115702011-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
11571
11572 * progmodes/sh-script.el (sh-font-lock-paren): Don't mistake "main" for
11573 "in" (bug#9190).
11574
2239d7d5
LMI
115752011-08-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
11576
e07dd7c3
LMI
11577 * mail/sendmail.el (sendmail-query-once): Restore the current
11578 buffer after querying (bug#9074).
11579
0e6a2bd7
LMI
11580 * dired.el (dired-flagged): Use different faces for marked and
11581 flagged files (bug#6117).
11582
ce887515
LMI
11583 * emacs-lisp/cl-macs.el (dolist): Mention that there's a nil block
11584 (bug#4433).
11585
92f2affc
LMI
11586 * ido.el (ido-mode): Switch off the message if called
11587 non-interactively.
11588
57d5aff0
LMI
11589 * mail/smtpmail.el (smtpmail-query-smtp-server): Try port 25
11590 before 587, since it appears that that's more likely to work for
11591 more people.
11592
98cd6c18 11593 * cus-edit.el (custom-file): When running under emacs -q, always
e1dbe924 11594 refuse to save the customizations, even if the .emacs file doesn't
98cd6c18
LMI
11595 exist.
11596
b96dec83
LMI
11597 * info.el: Remove the `Info-beginning-of-buffer' function
11598 (bug#8325).
11599
b796c9b7
SM
11600 * net/network-stream.el (network-stream-open-starttls):
11601 Use `starttls-available-p' to see whether starttls.el can be used.
2239d7d5 11602
d90e2ea0
MR
116032011-08-01 Martin Rudalics <rudalics@gmx.at>
11604
11605 * window.el (display-buffer-in-window): Don't set dedicated status
11606 of window here (Bug#9215).
11607 (display-buffer-pop-up-window, display-buffer-pop-up-frame)
11608 (display-buffer-pop-up-side-window)
b796c9b7 11609 (display-buffer-in-side-window): Set dedicated status of window here.
d90e2ea0 11610
cca09170
SM
116112011-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
11612
11613 * emacs-lisp/package.el (package-generate-autoloads): Load autoloads
11614 before binding generated-autoload-file.
11615
027b979c
DD
116162011-08-01 Deniz Dogan <deniz@dogan.se>
11617
11618 * net/rcirc.el (rcirc-handler-333): Clarify docstring.
11619
3c7ee4f3
MA
116202011-07-30 Michael Albinus <michael.albinus@gmx.de>
11621
11622 Sync with Tramp 2.2.2.
11623
11624 * net/trampver.el: Update release number.
11625
2cc8e51a
JL
116262011-07-30 Juri Linkov <juri@jurta.org>
11627
11628 * dired-aux.el (dired-touch-initial): Remove function.
11629 (dired-do-chxxx): For op-symbol `touch', set `initial' to the
11630 current time, and `default' to the last modification time of the
11631 current marked file (bug#6887).
11632
a514d856
JM
116332011-07-28 Jose E. Marchesi <jemarch@gnu.org>
11634
11635 * simple.el (goto-line): Use string-to-number to provide a
2cc8e51a 11636 numeric argument to read-number (bug#9163).
a514d856 11637
8a7eddd7
MA
116382011-07-27 Michael Albinus <michael.albinus@gmx.de>
11639
11640 * net/tramp-sh.el (tramp-maybe-send-script): Don't let-bind the
11641 connection process, it could be nil.
11642
1ddd96f5
LL
116432011-07-27 Leo Liu <sdl.web@gmail.com>
11644
11645 Simplify url handling in rcirc-mode.
11646
11647 * net/rcirc.el (rcirc-browse-url-map, rcirc-browse-url-at-point)
11648 (rcirc-browse-url-at-mouse): Remove.
11649 * net/rcirc.el (rcirc-markup-urls): Use `make-button'.
11650
b248a85d
AM
116512011-07-26 Alan Mackenzie <acm@muc.de>
11652
11653 Fontify bitfield declarations properly.
11654
11655 * progmodes/cc-langs.el (c-has-bitfields): New lang variable.
11656 (c-symbol-chars): Now exported as a lang variable.
11657 (c-not-primitive-type-keywords): New lang variable.
11658
11659 * progmodes/cc-fonts.el (c-font-lock-declarations): Jump over the
11660 QT keyword "more" to prevent "more slots: ...." being spuriously
58179cce 11661 parsed as a bitfield declaration.
b248a85d 11662
b796c9b7
SM
11663 * progmodes/cc-engine.el (c-beginning-of-statement-1):
11664 Refactor and enhance to handle bitfield declarations.
b248a85d
AM
11665 (c-punctuation-in): New function.
11666 (c-forward-decl-or-cast-1): Enhance CASE 3 to handle bitfield
11667 declarations properly.
11668
68575ab0
UJ
116692011-07-26 Ulf Jasper <ulf.jasper@web.de>
11670
11671 * calendar/icalendar.el (icalendar--all-events): Take care of
11672 multiple vcalendars in a single file.
b796c9b7 11673 (icalendar--convert-float-to-ical): Checkdoc fixes.
68575ab0 11674
0f0a88b9
DD
116752011-07-25 Deniz Dogan <deniz@dogan.se>
11676
11677 * image.el (insert-image): Clarifying docstring.
11678
0b3f36df
MA
116792011-07-24 Michael Albinus <michael.albinus@gmx.de>
11680
11681 * net/tramp-sh.el (tramp-barf-unless-okay): Return the value of
11682 `tramp-send-command-and-check' if there is no error.
11683 (tramp-send-command-and-read): Suppress *all* errors if NOERROR.
11684
a9901f61
AM
116852011-07-22 Alan Mackenzie <acm@muc.de>
11686
11687 Prevent cc-langs.elc being loaded at run time.
11688
11689 * progmodes/cc-mode.el: Remove two autoload forms which loaded
11690 cc-langs.
11691
4d61f28d 11692 * progmodes/cc-langs.el (c-make-init-lang-vars-fun): Don't emit
a9901f61
AM
11693 "(require 'cc-langs)". Quote a form so it will evaluate at
11694 (cc-mode's) compilation time.
11695
11d074b2
MA
116962011-07-22 Michael Albinus <michael.albinus@gmx.de>
11697
11698 * net/tramp.el (tramp-file-name-handler): Avoid recursive
11699 loading. (Bug#9114)
11700
938b94c8
MR
117012011-07-21 Martin Rudalics <rudalics@gmx.at>
11702
11703 * window.el (display-buffer-pop-up-window)
11704 (display-buffer-pop-up-side-window)
11705 (display-buffer-in-side-window): Call display-buffer-set-height
11706 and display-buffer-set-width after setting the new window's
b796c9b7 11707 buffer so `fit-window-to-buffer' and friends work on the right buffer.
938b94c8 11708
bfa4f190
SS
117092011-07-20 Sam Steingold <sds@gnu.org>
11710
11711 * progmodes/etags.el (etags-file-of-tag, etags-tags-table-files)
11712 (etags-tags-included-tables): Call `convert-standard-filename' on
11713 the file names contained in TAGS so that windows Emacs can handle
11714 TAGS files created by cygwin ctags.
11715
8ca42262
LMI
117162011-07-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
11717
11718 * proced.el (proced-update): Revert yesterday's bug#1779 patch,
11719 which apparently didn't work.
11720
5db2afd2 117212011-07-19 Roland Winkler <winkler@gnu.org>
2ecab2b5 11722
5db2afd2
RW
11723 * proced.el (proced-send-signal): For *Marked Processes* buffer
11724 put point at beginning of buffer.
11725
92e15d10
SB
117262011-07-19 Stephen Berman <stephen.berman@gmx.net>
11727
11728 * proced.el (proced-format): Make header lines align with the text
11729 (bug#1779).
11730
1bfd59e5
LMI
117312011-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
11732
11733 * view.el (view-buffer): Allow running in `special' modes if we're
11734 visiting a file (bug#8615).
11735
f5aae37c
MR
117362011-07-19 Martin Rudalics <rudalics@gmx.at>
11737
11738 * window.el (display-buffer-alist-of-strings-p)
b796c9b7
SM
11739 (display-buffer-alist-set-1, display-buffer-alist-set-2):
11740 New functions.
f5aae37c
MR
11741 (display-buffer-alist-set): Rewrite to handle Emacs 23 options
11742 more accurately.
11743
bf2c1571
AM
117442011-07-18 Alan Mackenzie <acm@muc.de>
11745
11746 Fontify declarators properly when, e.g., a jit-lock chunk begins
11747 inside a declaration.
11748
11749 * progmodes/cc-langs.el (c-symbol-chars): Correct a typo.
11750
b796c9b7
SM
11751 * progmodes/cc-fonts.el (c-font-lock-enclosing-decls):
11752 New function.
bf2c1571
AM
11753 (c-complex-decl-matchers): Insert reference to
11754 c-font-lock-enclosing-decls.
11755
11756 * progmodes/cc-engine.el (c-backward-single-comment):
11757 (c-backward-comments): Bind open-paren-in-column-0-is-defun-start
11758 to nil around calls to (forward-comment -1).
11759
4e190b80
LMI
117602011-07-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
11761
12dc863d
LMI
11762 * image.el (put-image): Doc typo fix.
11763
a762e966
LMI
11764 * progmodes/etags.el (tags-search): Doc typo fix.
11765
4e190b80
LMI
11766 * mail/smtpmail.el (smtpmail-via-smtp): Query the user for
11767 password if we get errors 550 to 554.
11768
f019fb21
LMI
117692011-07-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
11770
b796c9b7 11771 * net/gnutls.el (gnutls-log-level): Remove.
750c33f7 11772
81746738
LMI
11773 * textmodes/fill.el (adaptive-fill-regexp): Include EN DASH as an
11774 indentation character (bug#6380).
11775
3ee3a1b5
LMI
11776 * files.el (buffer-offer-save): Made permanently local (bug#6241).
11777
c82f64de
LMI
11778 * doc-view.el (doc-view-make-safe-dir): Rewrite the error message
11779 to clarify what the problem is (bug#4291).
11780
f019fb21
LMI
11781 * simple.el (current-kill): Clarify what
11782 `interprogram-paste-function' does (bug#7500).
ca425c7c
LMI
11783 (auto-fill-mode): Document `auto-fill-function' in relation to
11784 `auto-fill-mode' (bug#2470).
f019fb21 11785
0794775d
LM
117862011-07-16 Lawrence Mitchell <wence@gmx.li>
11787
11788 * emacs-lisp/cl-macs.el (defstruct): Ignore argument to setf
11789 method if slot is read-only (bug#9035).
11790
be39b8cc
MR
117912011-07-16 Martin Rudalics <rudalics@gmx.at>
11792
b796c9b7 11793 * frame.el (select-frame-set-input-focus): New argument NORECORD.
be39b8cc 11794 * window.el (pop-to-buffer): Select window used even if it was
b796c9b7
SM
11795 selected before, see discussion of (Bug#8615), (Bug#6954).
11796 Pass argument NORECORD on to select-frame-set-input-focus.
be39b8cc 11797
6ccf7859
GM
117982011-07-15 Glenn Morris <rgm@gnu.org>
11799
11800 * subr.el (read-char-choice): Allow quitting. (Bug#9001)
03ea5b87 11801 Respect help-form.
6ccf7859 11802
87e86684
LM
118032011-07-09 Lawrence Mitchell <wence@gmx.li>
11804
11805 * net/gnutls.el (gnutls-min-prime-bits): New variable.
11806 (gnutls-negotiate): Use it.
11807
d6066239
LMI
118082011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11809
b796c9b7
SM
11810 * net/gnutls.el (gnutls-negotiate):
11811 Upcase `gnutls-algorithm-priority'.
d6066239 11812
bd23ebc0
GM
118132011-07-15 Glenn Morris <rgm@gnu.org>
11814
c65bca65
GM
11815 * jka-compr.el (jka-compr-verbose): Move from here...
11816 * jka-cmpr-hook.el (jka-compr-verbose): ... to here. (Bug#9090)
11817 Add missing :version tag.
11818 * info.el: No need to require jka-compr when compiling.
bd23ebc0 11819
478615cc
LMI
118202011-07-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
11821
7b41decb
LMI
11822 * net/gnutls.el (gnutls-algorithm-priority): New variable.
11823 (gnutls-negotiate): Use it.
11824
dbc44fcd
LMI
11825 * emacs-lisp/cl-macs.el (declare): Link to the "Declarations" node.
11826
06789f97
LMI
11827 * info.el (Info-beginning-of-buffer): New command.
11828 (Info-mode-map): Use it instead of `beginning-of-buffer' to allow
11829 announcing `b' as the key (bug#8325).
ab896c37 11830 (Info-mode-menu): Use `Info-beginning-of-buffer' for consistency.
06789f97 11831
c39da690
LMI
11832 * emacs-lisp/cl-macs.el (declare): Doc string fix-up.
11833
3aa5f34b
LMI
11834 * international/mule-cmds.el
11835 (describe-specified-language-support): Make the error message
11836 clearer (bug#8905).
11837
4bf0979f
LMI
11838 * emacs-lisp/cl-macs.el (declare): Add a doc string (bug#8690).
11839
478615cc
LMI
11840 * isearch.el (isearch-barrier): Add a doc string, since it's
11841 mentioned in a function doc string (bug#8678).
11842
75c68aa1
MR
118432011-07-15 Martin Rudalics <rudalics@gmx.at>
11844
11845 * window.el (switch-to-buffer): Call pop-to-buffer with normalized
11846 buffer argument (Bug#9083) and self-identifying label argument.
11847
a7c33da2
GM
118482011-07-15 Glenn Morris <rgm@gnu.org>
11849
11850 * emacs-lisp/debug.el (debug): Doc fix. (Bug#8273)
11851
2f5c6024
LMI
118522011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11853
11854 * man.el (Man-fontify-manpage): Fix message when formatting the
11855 man page (bug#7929).
11856
0bb23927 118572011-07-14 Eli Zaretskii <eliz@gnu.org>
cce4b0a7
EZ
11858
11859 * buff-menu.el (Buffer-menu-buffer+size): Accept an additional
11860 argument LRM; if non-nil, append an invisible LRM character to the
11861 buffer name.
11862 (list-buffers-noselect): Call Buffer-menu-buffer+size with the
11863 last argument non-nil, when formatting buffer names.
0bb23927
EZ
11864 (Buffer-menu-mode, list-buffers-noselect): Force left-to-right
11865 paragraph direction.
cce4b0a7 11866
621ef9ab
LMI
118672011-07-14 Lars Magne Ingebrigtsen <larsi@gnus.org>
11868
d1583c48
LMI
11869 * man.el (Man-bgproc-sentinel): Skip any arguments and only output
11870 the man page name (bug#7929).
11871
6a57fb5f
LMI
11872 * image.el (put-image): Mention the `put-image' overlay property
11873 (bug#7834).
11874
d7956b14
LMI
11875 * scroll-bar.el (set-scroll-bar-mode): Mention that
11876 `scroll-bar-mode' lists the values (bug#7772).
11877
5b2d4a66
LMI
11878 * image-mode.el (image-mode-fit-frame): Mention that it's a toggle
11879 command (bug#7729).
11880
7509a874
LMI
11881 * rect.el (apply-on-rectangle): Return the point after the last
11882 operation.
11883 (string-rectangle): Go to the point after the last operation
11884 (bug#7522).
11885
4fe74b19
LMI
11886 * printing.el (pr-toggle-region): Clarify the documentation
11887 slightly (bug#7493).
11888
b796c9b7
SM
11889 * time.el (display-time-update):
11890 Allow `display-time-mail-function' to return nil (bug#7158).
11891 Fix suggested by Detlev Zundel.
ab283561 11892
fc233c9d
LMI
11893 * vc/diff.el (diff): Clarify the order the file names are read
11894 (bug#7111).
11895
43f5740b
LMI
11896 * mouse.el (mouse-set-region): Link to `mouse-drag-copy-region' in
11897 the doc string (bug#7015).
11898
f2182a76
LMI
11899 * font-lock.el (font-lock-maximum-decoration): Mention what
11900 numeric levels mean (bug#6935).
11901
621ef9ab
LMI
11902 * startup.el (initial-buffer-choice): Don't mention the `none'
11903 selection, which is against policy.
11904
adc47434
MR
119052011-07-14 Martin Rudalics <rudalics@gmx.at>
11906
b796c9b7
SM
11907 * window.el (display-buffer-normalize-special):
11908 Replace `dedicated' by `dedicate' to dedicate window (Bug#9072).
adc47434 11909
7e5bfb8f
EZ
119102011-07-14 Eli Zaretskii <eliz@gnu.org>
11911
11912 * subr.el (version<, version<=, version=): Mention "-CVS" and
11913 "-12345" alpha version numbers.
11914
27fa387a
CY
119152011-07-14 Chong Yidong <cyd@stupidchicken.com>
11916
11917 * bindings.el: Add advertised binding for set-mark-command
11918 (Bug#5772).
11919
8bdfa064
CY
119202011-07-14 Chong Yidong <cyd@stupidchicken.com>
11921
11922 * bindings.el (mode-line-other-buffer):
11923 * bookmark.el (bookmark-bmenu-2-window):
11924 * bs.el (bs-cycle-next, bs-cycle-previous):
11925 * net/tramp-cmds.el (tramp-append-tramp-buffers): Revert to using
11926 switch-to-buffer.
11927
11928 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
b796c9b7 11929 Delete.
8bdfa064 11930
5eba16a3
JB
119312011-07-14 Juanma Barranquero <lekktu@gmail.com>
11932
11933 * follow.el (follow-debug-message, follow-redisplay):
11934 * jka-cmpr-hook.el (with-auto-compression-mode):
11935 Fix typos in docstrings.
11936
15853710
LMI
119372011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11938
a28e4607
LMI
11939 * subr.el (with-silent-modifications): Clarify somewhat what the
11940 macro inhibits (bug#6525).
11941
15853710
LMI
11942 * simple.el (eval-expression): Note what it does if called
11943 interactively (bug#6495).
11944
bee0fcef
CY
119452011-07-13 Chong Yidong <cyd@stupidchicken.com>
11946
b796c9b7
SM
11947 * window.el (switch-to-buffer): New arg FORCE-SAME-WINDOW.
11948 Use pop-to-buffer buffer-or-name if it is nil.
bee0fcef
CY
11949
11950 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
11951 Remove switch-to-buffer.
11952
58274504
LMI
119532011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11954
bd2fcc8d
LMI
11955 * files.el (make-directory): Clarify that an error will be raised
11956 if there's an error (bug#6397).
11957
0f04b32c
LMI
11958 * startup.el (initial-buffer-choice): Add `none' as a choice
11959 (bug#6234).
11960
465c5fc8
LMI
11961 * subr.el (add-hook): Clarify section about buffer-local hooks
11962 (bug#6218).
11963
58274504
LMI
11964 * dired.el (dired-flagged): Clarify doc string (bug#6117).
11965
bead9a43
JB
119662011-07-13 Juanma Barranquero <lekktu@gmail.com>
11967
11968 * tabify.el (untabify): Preserve the current column so that point
11969 doesn't move (bug#6032).
11970
3af98a7b
LMI
119712011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11972
b796c9b7
SM
11973 * progmodes/cperl-mode.el (cperl-syntaxify-by-font-lock):
11974 Rewrite to avoid awkward possessive "s" (bug#5986).
3af98a7b 11975
6240145a
GM
119762011-07-13 Glenn Morris <rgm@gnu.org>
11977
11978 * dired.el (dired-use-ls-dired): Doc fix. (Bug#9039).
11979 (dired-insert-directory): Give a message the first time
11980 if ls is found not to support --dired.
11981
1d8c2ccc
LMI
119822011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11983
11984 * simple.el (toggle-truncate-lines): Clarify what is toggled
11985 (bug#5580). Text by Drew Adams.
11986
5fc4038e
CY
119872011-07-13 Chong Yidong <cyd@stupidchicken.com>
11988
11989 * simple.el (blink-matching-open): Make the error message from the
11990 last change less verbose.
11991
bf6012e5
DN
119922011-07-13 Dan Nicolaescu <dann@ics.uci.edu>
11993
11994 * font-lock.el (font-lock-comment-face): Use the high contrast
11995 "yellow" color for font-lock-comment-face on low color terminals
11996 using a dark background color (bug#4221).
11997
343c3b5a
LMI
119982011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
11999
7e9505c5
LMI
12000 * dired.el (dired-insert-set-properties): Make the doc string
12001 reflect what it does now (bug#5325).
12002
c26fdcf5
LMI
12003 * simple.el (blink-matching-open): Say that we were unable to find
12004 the match within the limit, if we're limited (bug#5122).
12005
bb388cc5
LMI
12006 * international/mule-cmds.el (prefer-coding-system): Add an
12007 example (bug#4869).
12008
343c3b5a
LMI
12009 * progmodes/etags.el (tags-search): Document `file-list-form'
12010 (bug#4731).
12011
2a517d45
LM
120122011-07-13 Lawrence Mitchell <wence@gmx.li>
12013
12014 * net/browse-url.el (browse-url-default-browser)
12015 (browse-url-browser-function): Make the default browser choice a
12016 bit more logical (bug#4300). Also clean up the doc string.
12017
b6c78ef2
JB
120182011-07-13 Juanma Barranquero <lekktu@gmail.com>
12019
12020 * bindings.el (completion-ignored-extensions): Add OpenMCL/Clozure
12021 binary endings (bug#4440).
12022
1c4dd947
LMI
120232011-07-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
12024
a2014063
LMI
12025 * info.el (info-insert-file-contents): Inhibit jka-compr messages,
12026 which can be pretty annoying (bug#8971).
12027
9c9c2d88
LMI
12028 * jka-compr.el (jka-compr-verbose): New variable, and use
12029 throughout (bug#8971).
12030
1c4dd947
LMI
12031 * info.el (Info-find-file): Fall back on the installation
12032 directory if we can't find the info node anywhere else.
12033
a1c9f41b
SO
120342011-07-13 Sergei Organov <osv@javad.com> (tiny change)
12035
12036 * vc/vc.el (vc-revert-file):
12037 Don't set file time-stamp in the past. (Bug#5181)
12038
536f3d36
LMI
120392011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12040
7152b011
LMI
12041 * files.el (after-find-file): Give a better error message when
12042 trying to find a symlink that points to a file that doesn't exist
12043 (bug#4398).
12044
536f3d36
LMI
12045 * progmodes/cc-vars.el: Remove (probably) misleading comment
12046 (bug#4396).
12047
460c0fba
JB
120482011-07-12 Johan Bockgård <bojohan@gnu.org>
12049
12050 * mouse-sel.el (mouse-sel-primary-overlay): Use the `region' face.
12051
7a6bda45
CY
120522011-07-12 Chong Yidong <cyd@stupidchicken.com>
12053
12054 * mouse-sel.el: Hack restoring functionality, while keeping
12055 compatibility with 2010-07-03 changes to mouse selection.
12056 (mouse-sel-primary-overlay): New var.
12057 (mouse-sel-selection-alist): Use it.
12058 (mouse-sel-mode): Doc fix; remove points that are default features
12059 of mouse.el.
12060
c79598ef
JB
120612011-07-12 Johan Bockgård <bojohan@gnu.org>
12062
12063 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12064 Fix previous fix (bug#2490).
12065
ff8be6ef
RW
120662011-07-12 Roland Winkler <winkler@gnu.org>
12067
b796c9b7
SM
12068 * textmodes/bibtex.el (bibtex-initialize):
12069 Use pop-to-buffer-same-window.
ff8be6ef
RW
12070 (bibtex-search-entries): Fix interactive call.
12071
296ba3ee
LMI
120722011-07-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
12073
f5242a02 12074 * progmodes/compile.el (compilation-error-regexp-alist-alist):
b796c9b7
SM
12075 Fontise bytecomp Error lines more correctly (bug#2490).
12076 Fix suggested by Johan Bockgård.
f5242a02 12077
296ba3ee
LMI
12078 * subr.el (remove-duplicates): Remove; `delete-dups' is sufficient.
12079
12080 * dired-x.el (dired-guess-default): Use `delete-dups'.
12081
f69fd0d2
CY
120822011-07-12 Chong Yidong <cyd@stupidchicken.com>
12083
12084 * dired.el (dired-mark-prompt):
12085 * dired-aux.el (dired-read-shell-command): Doc fix.
12086
eab5dc07
LMI
120872011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12088
b796c9b7
SM
12089 * mail/sendmail.el (sendmail-query-once):
12090 Use `customize-save-variable' unconditionally, now that it works under
9988520a
LMI
12091 emacs -Q.
12092
12093 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12094
eab5dc07
LMI
12095 * cus-edit.el (custom-file): Take an optional no-error variable.
12096 (customize-save-variable): Set the variable, and give a warning if
12097 running under "emacs -q".
12098
a1e65d42
JB
120992011-07-11 Juanma Barranquero <lekktu@gmail.com>
12100
12101 * loadhist.el (unload-feature-special-hooks):
12102 Add `auto-coding-functions', `fill-nobreak-predicate' and
12103 `find-directory-functions' (bug#5327).
12104
1d52da10
LMI
121052011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12106
be958f1d
LMI
12107 * vc/ediff.el (ediff-patch-file): Clarify doc string (bug#3138).
12108
5bedb26c
LMI
12109 * cus-edit.el (custom-guess-name-alist): -alist variables should
12110 use the `alist' type (bug#3120). Suggested by Drew Adams.
12111
1d52da10
LMI
12112 * printing.el: Add documentation to all the `pr-toggle-' commands.
12113
cd394be1 121142011-07-11 Leo Liu <sdl.web@gmail.com>
481a51b6
LL
12115
12116 * files.el (toggle-read-only): Only do the `C-x C-q' warning on VC
12117 backends where it makes sense (bug#2623).
12118
dcc88d8a
LMI
121192011-07-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
12120
c3de9feb
LMI
12121 * dired-x.el (dired-guess-default): Remove duplicate shell command
12122 entries (bug#2028).
8a93078b 12123 (dired-guess-default): Fix grammar in doc string (bug#2028).
eea84fe5 12124 (dired-guess-shell-alist-user): Clarify the example a bit (bug#2030).
c3de9feb 12125
dcc88d8a
LMI
12126 * subr.el (remove-duplicates): New conveniency function.
12127
505e3645
LMI
121282011-07-10 Lars Magne Ingebrigtsen <larsi@gnus.org>
12129
12130 * tool-bar.el (tool-bar-mode): Clarify positive/negative arguments
12131 (bug#1526).
12132
121332011-07-10 Martin Rudalics <rudalics@gmx.at>
12134
12135 * window.el (display-buffer-normalize-default): Don't invert
12136 meaning of even-window-heights. Reported by Eli Zaretskii
12137 <eliz@gnu.org>.
12138
455e4fa1
BR
121392011-07-10 Bob Rogers <rogers@rgrjr.dyndns.org>
12140
12141 * vc/vc.el (vc-diff-internal): Fix race condition (Bug#1256).
12142
8e0bc3e9
CY
121432011-07-10 Chong Yidong <cyd@stupidchicken.com>
12144
12145 * window.el (display-buffer): Fix arguments to
12146 display-buffer-reuse-window in last change.
12147
fa7c3228
CY
12148 * faces.el (link): Use a less saturated blue on light backgrounds.
12149
12150 * startup.el (fancy-startup-text, fancy-about-text)
12151 (fancy-startup-tail): Use font-lock faces, for background safety.
12152
c0a7f300
BN
121532011-07-09 Bob Nnamtrop <bobnnamtrop@gmail.com> (tiny change)
12154
b796c9b7
SM
12155 * emulation/viper-cmd.el (viper-change-state-to-vi):
12156 Limit triggering of abbrev expansion (Bug#9038).
c0a7f300 12157
4dc2a129
MR
121582011-07-09 Martin Rudalics <rudalics@gmx.at>
12159
12160 * window.el (display-buffer-default-specifiers): Remove.
12161 (display-buffer-macro-specifiers): Remove default specifiers.
12162 (display-buffer-alist): Default to nil.
b796c9b7 12163 (display-buffer-reuse-window): New optional argument other-window.
4dc2a129
MR
12164 (display-buffer-pop-up-window): Allow splitting internal
12165 windows. Check whether a live window was created.
12166 (display-buffer-other-window-means-other-frame)
12167 (display-buffer-normalize-arguments): Rename to
12168 display-buffer-normalize-argument and rewrite. Set the
12169 other-window specifier.
12170 (display-buffer-normalize-special): New function.
12171 (display-buffer-normalize-options): Rename to
12172 display-buffer-normalize-default and rewrite.
12173 (display-buffer-normalize-options-inhibit): Remove.
12174 (display-buffer-normalize-specifiers): Rewrite.
12175 (display-buffer): Process other-window specifier and call
12176 display-buffer-reuse-window with it. Emulate Emacs 23 behavior
12177 more faithfully.
b796c9b7 12178 (pop-up-windows, even-window-heights): Restore Emacs 23 default values.
4dc2a129 12179 (display-buffer-alist-set): Don't handle 'unset default values.
b796c9b7
SM
12180 (display-buffer-in-window, display-buffer-alist-set):
12181 Replace symbol "dedicated" by "dedicate". Reported by Tassilo Horn
4dc2a129
MR
12182 <tassilo@member.fsf.org>.
12183
2d43b8c9
LL
121842011-07-09 Leo Liu <sdl.web@gmail.com>
12185
12186 * register.el (insert-register): Restore accidental change on
12187 2011-06-26. (Bug#9028)
12188
7f9b7c53
GM
121892011-07-09 Glenn Morris <rgm@gnu.org>
12190
12191 * subr.el (remq): Handle the empty list. (Bug#9024)
12192
f042cfd8
AS
121932011-07-08 Andreas Schwab <schwab@linux-m68k.org>
12194
12195 * mail/sendmail.el (send-mail-function): No longer delay custom
12196 initialization.
12197 * custom.el (custom-initialize-delay): Doc fix.
12198
856b2f11
SM
121992011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12200
12201 * abbrev.el (expand-abbrev): Try to preserve point (bug#5805).
12202
afae1d68
MA
122032011-07-08 Michael Albinus <michael.albinus@gmx.de>
12204
12205 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use a
12206 human-friendly prompt.
12207
0757af94
SM
122082011-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
12209
12210 * vc/vc-bzr.el (vc-bzr-revision-keywords): Remove svn, it's only
12211 provided by a particular plugin.
12212
d760b731
LMI
122132011-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
12214
12215 * mail/sendmail.el (sendmail-query-once): If we aren't allowed to
12216 save customizations (with "emacs -Q"), just set the variable
12217 instead of erroring out.
12218
12219 * mail/smtpmail.el (smtpmail-query-smtp-server): Ditto.
12220
cd79ce90
JL
122212011-07-08 Juri Linkov <juri@jurta.org>
12222
12223 * arc-mode.el (archive-zip-expunge, archive-zip-update)
12224 (archive-zip-update-case): Use 7z if found by `executable-find'.
12225 The order of searching the available programs is the same as in
12226 `archive-zip-extract' (bug#8968).
12227
14cc04aa
CY
122282011-07-07 Chong Yidong <cyd@stupidchicken.com>
12229
12230 * menu-bar.el (menu-bar-line-wrapping-menu): Revert last change.
12231 (menu-bar-options-menu): Tweak descriptions.
12232
0a1848ec
LMI
122332011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12234
12235 * menu-bar.el (menu-bar-line-wrapping-menu): Make all the Options
12236 menu items into verb phrases (bug#1421). Also refill to fit under
12237 80 columns.
12238
f5bd0689
CY
122392011-07-07 Chong Yidong <cyd@stupidchicken.com>
12240
538e85c6
CY
12241 * info.el (info, Info-read-node-name-2, Info-read-node-name-1)
12242 (Info-read-node-name): Doc fix (Bug#1084).
12243
f5bd0689
CY
12244 * thingatpt.el (forward-thing, bounds-of-thing-at-point)
12245 (thing-at-point, beginning-of-thing, end-of-thing, in-string-p)
12246 (end-of-sexp, beginning-of-sexp)
12247 (thing-at-point-bounds-of-list-at-point, forward-whitespace)
12248 (forward-symbol, forward-same-syntax, word-at-point)
12249 (sentence-at-point): Doc fix (Bug#1144).
12250
56ec5115
LMI
122512011-07-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
12252
f3f8e37f
LMI
12253 * info.el (Info-mode-map): Remove S-TAB binding, since [backtab]
12254 should cover it (bug#1281).
12255
0757af94 12256 * cus-edit.el (custom-show): Mark as obsolete.
af0905c8 12257
e9fce1ac 12258 * net/network-stream.el (network-stream-open-starttls): If GnuTLS
12b9eb35
LMI
12259 negotiation fails, then possibly try again with a non-encrypted
12260 connection (bug#9017).
12261
56ec5115
LMI
12262 * mail/smtpmail.el (smtpmail-stream-type): Note that `plain' can
12263 be used.
12264
c2f9aec8
RS
122652011-07-07 Richard Stallman <rms@gnu.org>
12266
12267 * mail/rmail.el (rmail-next-error-move): Use `compilation-message'
12268 property, and handle its changed format.
12269 Look for the correct line number.
12270 Use file's line contents (but not past first =) to find
12271 correct line in message.
12272
ef7b981d 122732011-07-07 Kenichi Handa <handa@m17n.org>
c805dec0
KH
12274
12275 * international/characters.el (build-unicode-category-table):
12276 Delete it.
0757af94 12277 (unicode-category-table): Set it by unicode-property-table-internal.
c805dec0 12278
0757af94 12279 * international/mule-cmds.el (char-code-property-alist): Move to
c805dec0
KH
12280 to src/chartab.c.
12281 (get-char-code-property): Call unicode-property-table-internal to
12282 load a file. Call get-unicode-property-internal where necessary.
12283 (put-char-code-property): Call unicode-property-table-internal to
12284 load a file. Call put-unicode-property-internal where necessary.
12285 put-unicode-property-internal where necessary.
0757af94
SM
12286 (char-code-property-description):
12287 Call unicode-property-table-internal to load a file.
c805dec0
KH
12288
12289 * international/charprop.el:
12290 * international/uni-bidi.el:
12291 * international/uni-category.el:
12292 * international/uni-combining.el:
12293 * international/uni-comment.el:
12294 * international/uni-decimal.el:
12295 * international/uni-decomposition.el:
12296 * international/uni-digit.el:
12297 * international/uni-lowercase.el:
12298 * international/uni-mirrored.el:
12299 * international/uni-name.el:
12300 * international/uni-numeric.el:
12301 * international/uni-old-name.el:
12302 * international/uni-titlecase.el:
12303 * international/uni-uppercase.el: Regenerate.
12304
12305 * loadup.el: Load international/charprop.el before
12306 international/characters.
12307
e14b388a
CY
123082011-07-07 Chong Yidong <cyd@stupidchicken.com>
12309
12310 * window.el (next-buffer, previous-buffer): Signal an error if
12311 called from a minibuffer window.
12312
12313 * bindings.el: Revert 2011-07-04 change.
12314
354cf0ba
RS
123152011-07-06 Richard Stallman <rms@gnu.org>
12316
12317 * mail/rmailmm.el (rmail-mime-process): Use markers for buf positions.
12318 (rmail-mime-insert-bulk, rmail-mime-insert-text):
12319 Treat markers like ints.
12320 (rmail-mime-entity): Doc fix.
12321
a48868a7
LMI
123222011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12323
4906cd3d
LMI
12324 * mail/smtpmail.el (smtpmail-default-smtp-server): Made into a
12325 defcustom again for backwards compatibility.
12326
e0457abe
LMI
12327 * simple.el (shell-command-on-region): Fill.
12328
d67f7e1f
LMI
12329 * dired-aux.el (dired-kill-line): Add a doc string.
12330
fe204702
LMI
12331 * dabbrev.el (dabbrev-abbrev-char-regexp): Note that nil defaults
12332 to "\\sw\\|\\s_" (bug#358).
12333
a48868a7
LMI
12334 * dired.el (dired-mode): Clarify "unmark or unflag" (bug#8770).
12335 (dired-unmark-backward): Ditto.
12336 (dired-flag-backup-files): Ditto.
12337
12338 * dired-x.el (dired-mark-sexp): Ditto.
12339
aa8a705c
RS
123402011-07-06 Richard Stallman <rms@gnu.org>
12341
12342 * mail/rmailmm.el: Give entity a new slot, TRUNCATED.
12343 (rmail-mime-entity): New arg TRUNCATED.
12344 (rmail-mime-entity-truncated, rmail-mime-entity-set-truncated):
12345 New functions.
12346 (rmail-mime-save): Warn if entity is truncated.
12347 (rmail-mime-toggle-hidden): Likewise, for showing.
12348 (rmail-mime-process-multipart): Record when an entity is truncated.
12349
a9a936b9
RS
12350 * mail/rmailmm.el (rmail-search-mime-message): Don't get confused
12351 if ENTITY is a string.
12352
1f2b92cb
LMI
123532011-07-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
12354
f4f73198 12355 * emacs-lisp/lisp-mode.el (eval-defun-1): Update the documentation
0757af94
SM
12356 of faces when `M-C-x'-ing their definitions (bug#8378).
12357 Also clean up the code slightly.
f4f73198 12358
12b16734 12359 * progmodes/grep.el (rgrep): Don't bind `process-connection-type',
da6062e6 12360 because that makes the colors go away.
12b16734 12361
f0691d22
LMI
12362 * mail/sendmail.el (send-mail-function): Change the default to
12363 `sendmail-query-once'.
9e87df06 12364 (sendmail-query-once): Add an autoload cookie.
f0691d22 12365
1f2b92cb
LMI
12366 * net/network-stream.el (network-stream-open-starttls): Try using
12367 a plain connection even if the server offered STARTTLS, and we
12368 kinda wanted to use it, if Emacs doesn't have any STARTTLS
12369 capability. This should make smtpmail.el work in slightly more
12370 configurations.
12371
1cdd2a1b
MA
123722011-07-06 Michael Albinus <michael.albinus@gmx.de>
12373
12374 * net/tramp-compat.el (tramp-compat-pop-to-buffer-same-window):
12375 New defun.
12376 * net/tramp-cmds.el (tramp-append-tramp-buffers): Use it.
12377
fbcc67e2
MM
123782011-07-06 Michael R. Mauger <mmaug@yahoo.com>
12379
12380 * progmodes/sql.el: Version 3.0
0757af94 12381 (sql-product-alist): Add product :completion-object,
fbcc67e2 12382 :completion-column, and :statement attributes.
0757af94 12383 (sql-mode-menu, sql-interactive-mode-map): Fix List entries.
fbcc67e2 12384 (sql-mode-syntax-table): Mark all punctuation.
0757af94 12385 (sql-font-lock-keywords-builder): Temporarily remove fallback on
fbcc67e2
MM
12386 ansi keywords.
12387 (sql-regexp-abbrev, sql-regexp-abbrev-list): New functions.
0757af94 12388 (sql-mode-oracle-font-lock-keywords): Improve.
fbcc67e2
MM
12389 (sql-oracle-show-reserved-words): New function for development.
12390 (sql-product-font-lock): Simplify for source code buffers.
12391 (sql-product-syntax-table, sql-product-font-lock-syntax-alist):
12392 New functions.
12393 (sql-highlight-product): Set product specific syntax table.
0757af94
SM
12394 (sql-mode-map): Add statement movement functions.
12395 (sql-ansi-statement-starters, sql-oracle-statement-starters):
12396 New variable.
fbcc67e2
MM
12397 (sql-statement-regexp, sql-beginning-of-statement)
12398 (sql-end-of-statement, sql-signum): New functions.
0757af94 12399 (sql-buffer-live-p, sql=find-sqli-buffer): Add CONNECTION parameter.
fbcc67e2
MM
12400 (sql-show-sqli-buffer): Bug fix.
12401 (sql-interactive-mode): Store connection data as buffer local.
0757af94 12402 (sql-connect): Add NEW-NAME parameter. Redesign interaction
fbcc67e2
MM
12403 with sql-interactive-mode.
12404 (sql-save-connection): Save buffer local settings.
0757af94 12405 (sql-connection-menu-filter): Change menu entry name.
fbcc67e2
MM
12406 (sql-product-interactive): Bug fix.
12407 (sql-preoutput-hold): New variable.
12408 (sql-interactive-remove-continuation-prompt): Bug fixes.
12409 (sql-debug-redirect): New variable.
12410 (sql-str-literal): New function.
12411 (sql-redirect, sql-redirect-one, sql-redirect-value, sql-execute):
0757af94 12412 Redesign.
fbcc67e2
MM
12413 (sql-oracle-save-settings, sql-oracle-restore-settings)
12414 (sql-oracle-list-all, sql-oracle-list-table): New functions.
12415 (sql-completion-object, sql-completion-column)
12416 (sql-completion-sqlbuf): New variables.
12417 (sql-build-completions-1, sql-build-completions)
12418 (sql-try-completion): New functions.
12419 (sql-read-table-name): Use them.
12420 (sql-contains-names): New buffer local variable.
12421 (sql-list-all, sql-list-table): Use it.
12422 (sql-oracle-completion-types): New variable.
12423 (sql-oracle-completion-object, sql-sqlite-completion-object)
12424 (sql-postgres-completion-object): New functions.
12425
d4eaeab1
GM
124262011-07-06 Glenn Morris <rgm@gnu.org>
12427
12428 * window.el (pop-to-buffer): Doc fix.
12429
322b7dab 124302011-07-06 Markus Heiser <markus.heiser@darmarit.de> (tiny change)
a1d3a912
CY
12431
12432 * progmodes/gud.el (gud-pdb-marker-regexp): Accept \r char (Bug#5653).
12433
322b7dab 124342011-07-06 Chong Yidong <cyd@stupidchicken.com>
0484d600 12435
322b7dab 12436 * window.el (special-display-popup-frame): Doc fix (Bug#8853).
4f8f657f 12437
322b7dab 12438 * info.el (Info-directory-toc-nodes): Minor doc fix (Bug#8833).
8f43cbf3 12439
605dd5bf
CY
124402011-07-05 Chong Yidong <cyd@stupidchicken.com>
12441
12442 * button.el (button): Inherit from link face. Suggested by Dan
12443 Nicolaescu.
12444
7dbfa719
SM
124452011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12446
3db614b0
SM
12447 * progmodes/gdb-mi.el: Fit in 80 columns.
12448 (gdb-setup-windows, gdb-restore-windows): Avoid other-window and
12449 switch-to-buffer.
12450
7dbfa719
SM
12451 * progmodes/which-func.el (which-func-ff-hook): Don't output a message
12452 if imenu is simply not configured (bug#8941).
12453
919d884a
KM
124542011-07-05 Ken Manheimer <ken.manheimer@gmail.com>
12455
12456 * allout.el (allout-post-undo-hook): New allout outline-change
12457 event hook to signal undo activity.
12458 (allout-post-command-business): Run allout-post-undo-hook if an
12459 undo just occurred.
7dbfa719
SM
12460 (allout-after-copy-or-kill-hook, allout-mode): Minor docstring changes.
12461 * allout-widgets.el (allout-widgets-after-undo-function):
12462 Ensure the integrity of the current item's decoration after it has been
919d884a
KM
12463 in the vicinity of an undo.
12464 (allout-widgets-mode): Include allout-widgets-after-undo-function
12465 on the new allout-post-undo-hook.
12466
450a0f09
SM
124672011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12468
12469 * emacs-lisp/lisp-mode.el (lisp-interaction-mode-abbrev-table):
12470 Let define-derived-mode define it.
12471 * emacs-lisp/derived.el (define-derived-mode): Try to avoid creating
12472 cycles of abbrev-table inheritance (bug#8998).
12473
2de69e00
RW
124742011-07-05 Roland Winkler <winkler@gnu.org>
12475
12476 * textmodes/bibtex.el: Add support for biblatex.
12477 (bibtex-BibTeX-entry-alist, bibtex-biblatex-entry-alist)
12478 (bibtex-BibTeX-field-alist, bibtex-biblatex-field-alist)
12479 (bibtex-dialect-list, bibtex-dialect, bibtex-no-opt-remove-re)
12480 (bibtex-entry-alist, bibtex-field-alist): New variables.
12481 (bibtex-entry-field-alist): Obsolete alias for
12482 bibtex-BibTeX-entry-alist.
12483 (bibtex-entry-alist, bibtex-field-alist): New widgets.
12484 (bibtex-set-dialect): New command.
12485 (bibtex-entry-type, bibtex-entry-head)
450a0f09
SM
12486 (bibtex-entry-maybe-empty-head, bibtex-any-valid-entry-type):
12487 Bind via bibtex-set-dialect.
2de69e00
RW
12488 (bibtex-Article, bibtex-Book, bibtex-Booklet, bibtex-InBook)
12489 (bibtex-InCollection, bibtex-InProceedings, bibtex-Manual)
12490 (bibtex-MastersThesis, bibtex-Misc, bibtex-PhdThesis)
12491 (bibtex-Proceedings, bibtex-TechReport, bibtex-Unpublished):
12492 Define via bibtex-set-dialect.
450a0f09
SM
12493 (bibtex-name-in-field, bibtex-remove-OPT-or-ALT):
12494 Obey bibtex-no-opt-remove-re.
2de69e00
RW
12495 (bibtex-vec-push, bibtex-vec-incr): New functions.
12496 (bibtex-format-entry, bibtex-field-list)
12497 (bibtex-print-help-message, bibtex-validate)
12498 (bibtex-search-entries): Use new format of bibtex-entry-alist.
12499
2dcdbdd9
SM
125002011-07-05 Stefan Monnier <monnier@iro.umontreal.ca>
12501
12502 * progmodes/compile.el (compilation-goto-locus):
12503 * net/tramp-cmds.el (tramp-append-tramp-buffers):
12504 * bs.el (bs-cycle-next, bs-cycle-previous):
12505 * bookmark.el (bookmark-bmenu-list, bookmark-bmenu-2-window):
12506 * bindings.el (mode-line-other-buffer):
12507 * autoinsert.el (auto-insert):
12508 * arc-mode.el (archive-extract):
12509 * abbrev.el (edit-abbrevs): Fix some uses of switch-to-buffer.
12510
b27640fe
JB
125112011-07-05 Juanma Barranquero <lekktu@gmail.com>
12512
12513 * emacs-lock.el (emacs-lock-mode): Fix typo in variable name.
12514 Fix check of `emacs-lock-unlockable-modes'.
12515 Coerce true values of `emacs-lock--try-unlocking' to t.
12516
53bbe3ad
JB
125172011-07-05 Juanma Barranquero <lekktu@gmail.com>
12518
12519 * obsolete/old-emacs-lock.el: Rename from emacs-lock.el.
12520 * emacs-lock.el: New file.
12521
1d3cdbc7
JD
125222011-07-05 Julien Danjou <julien@danjou.info>
12523
12524 * textmodes/rst.el (rst-define-level-faces): Use `facep' rather
12525 than `boundp' to check if face is set.
12526
9173deec
JB
125272011-07-05 Juanma Barranquero <lekktu@gmail.com>
12528
12529 * register.el (registerv-make):
12530 * window.el (window-min-height): Fix typos in docstrings.
12531
869795d6
JD
125322011-07-05 Jan Djärv <jan.h.d@swipnet.se>
12533
9173deec 12534 * dynamic-setting.el (dynamic-setting-handle-config-changed-event):
869795d6
JD
12535 Update doc string.
12536
b768cdcd
JB
125372011-07-04 Juanma Barranquero <lekktu@gmail.com>
12538
12539 * server.el (server-execute): Catch quit and call
12540 `server-return-error' to pass the error back to emacsclient and
12541 close the connection (bug#8942).
12542
13aa217b
KM
125432011-07-04 Ken Manheimer <ken.manheimer@gmail.com>
12544
12545 * allout.el (allout-encrypt-unencrypted-on-saves): Do not provide
12546 insecure exception for current topic. Also note that auto-saves
12547 are handled differently.
12548
5d3385a0 12549 (allout-auto-save-temporarily-disabled, allout-just-did-undo):
13aa217b
KM
12550 State variables for tracking auto-save inhibition situation.
12551
12552 (allout-write-contents-hook-handler): Rename from
12553 'allout-write-file-hook-handler', and describe how it depends on
12554 write-contents-functions sensitivity to non-nil value to prevent
12555 file write.
12556
12557 (allout-auto-save-hook-handler): Remove. auto-save does not check
12558 this in individual buffers, only in the starting buffer, so this
12559 is not the right way for us to inhibit auto-save in a buffer
12560 according to its condition.
12561
12562 (allout-mode): Use new allout-write-contents-hook-handler, and
12563 only with write-contents-functions. Remove auto-save provisions -
12564 they're implemented elsewhere.
12565
12566 (allout-before-change-handler): If undo is in progress, note that
12567 for attention of allout-post-command-business.
12568
12569 (allout-post-command-business): If the command we're following was
12570 an undo, check for change in the status of encrypted items and
12571 adjust auto-save inhibitions accordingly.
12572
12573 (allout-toggle-subtree-encryption): Adjust auto-save inhibition
12574 according to whether there are or aren't any plain-text topics
12575 pending encryption.
12576
2dcdbdd9 12577 (allout-inhibit-auto-save-info-for-decryption):
1154d12e
JB
12578 Adjust buffer-saved-size and some allout state to inhibit auto-saves
12579 if there are plain-text topics pending encryption.
13aa217b
KM
12580
12581 (allout-maybe-resume-auto-save-info-after-encryption): Adjust
12582 buffer-saved-size and some allout state to not inhibit auto-saves
12583 if there are no longer any plain-text topics pending encryption.
12584
0757af94
SM
12585 (allout-next-topic-pending-encryption, allout-encrypt-decrypted):
12586 No longer provide for exemption of the current topic.
13aa217b 12587
ac89b32c
JL
125882011-07-04 Juri Linkov <juri@jurta.org>
12589
12590 Add 7z operations to delete and save changed members (bug#8968).
12591 * arc-mode.el (archive-7z-expunge, archive-7z-update):
12592 New defcustoms.
12593 (archive-7z-write-file-member): New function.
12594 (archive-7z-summarize): Fix the number of dashes in the
12595 listing output.
12596
8fa39615
SM
125972011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12598
12599 * pcmpl-linux.el (pcomplete-pare-list): Re-add, from pcomplete.el
12600 (bug#8958).
12601
2f11b3f1
CY
126022011-07-04 Chong Yidong <cyd@stupidchicken.com>
12603
d66fef2b
CY
12604 * bindings.el: Ignore next-buffer and previous-buffer in
12605 minibuffer-local-map.
12606
2f11b3f1
CY
12607 * font-lock.el (font-lock-builtin-face): Change light background
12608 color to dark slate blue (Bug#6693).
12609
f932a347
WD
126102011-07-04 Wang Diancheng <dcwang@kingbase.com.cn> (tiny change)
12611
12612 * progmodes/gdb-mi.el (gdb): Use completion-at-point.
12613
c8af70e1
SM
126142011-07-04 Stefan Monnier <monnier@iro.umontreal.ca>
12615
12616 * files.el (find-file): Use pop-to-buffer-same-window (bug#8911).
12617 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
12618 Add switch-to-buffer.
12619
f158badc
LMI
126202011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12621
12622 * isearch.el (isearch-search-fun-function): Clarify further the
12623 meaning of the function returned.
12624
6d95bd46
MA
126252011-07-04 Michael Albinus <michael.albinus@gmx.de>
12626
12627 * net/tramp-cmds.el (tramp-cleanup-this-connection): New command.
12628
12629 * net/tramp-sh.el (tramp-color-escape-sequence-regexp): New defconst.
12630 (tramp-sh-handle-insert-directory, tramp-convert-file-attributes):
12631 Use it.
12632 (tramp-remote-path): Add "/bin" and "/usr/bin". On busyboxes,
12633 `tramp-default-remote-path' does not exist.
12634 (tramp-send-command-and-read): New optional argument NOERROR.
12635 (tramp-open-connection-setup-interactive-shell)
12636 (tramp-get-remote-path, tramp-get-remote-stat): Use it.
12637 (tramp-get-remote-readlink): Do not mask with `ignore-errors'.
12638 (tramp-process-sentinel): Flush also process' connection property.
12639 (tramp-sh-handle-start-file-process): Do not set process
12640 sentinel. It is done now ...
12641 (tramp-maybe-open-connection): ... here. (Bug#8929)
12642
909e6b67
MK
126432011-07-04 MON KEY <monkey@sandpframing.com>
12644
12645 * play/animate.el (animate-string): Doc fixes and allow changing
12646 the buffer name (bug#5417).
12647
126482011-07-04 Lars Magne Ingebrigtsen <larsi@gnus.org>
12649
c8af70e1 12650 * play/animate.el (animation-buffer-name): Rename from *animate*.
909e6b67 12651
f34755dc
PE
126522011-07-04 Paul Eggert <eggert@cs.ucla.edu>
12653
396cec72
PE
12654 * emacs-lisp/timer.el: Use time-date fns rather than rolling our own.
12655 This is simpler and helps future-proof the code.
12656 (timer-until): Use time-subtract and float-time.
08235028 12657 (timer--time-less-p): Use time-less-p.
f34755dc 12658
56e6cc31
JB
126592011-07-04 Juanma Barranquero <lekktu@gmail.com>
12660
3abb79e5
JB
12661 * type-break.el (timep): Use the value of `float-time' to avoid a
12662 byte-compiler warning.
12663
56e6cc31
JB
12664 * server.el (server-eval-and-print): Return any result, even nil.
12665
7b9430b4
PE
126662011-07-03 Paul Eggert <eggert@cs.ucla.edu>
12667
12668 * type-break.el: Accept time formats that the builtins accept.
12669 (timep, type-break-time-difference): Accept any format that
12670 float-time accepts, rather than insisting on (HIGH LOW USECS) format.
12671 This is simpler and helps future-proof the code.
12672 (type-break-time-difference): Round rather than ignoring
12673 subseconds components.
12674
3034e9e7
LMI
126752011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12676
12677 * info.el (Info-apropos-matches): Make non-interactive, since it
12678 doesn't seem to do anything useful as a command (bug#8829).
12679
1485f4c0
CY
126802011-07-03 Chong Yidong <cyd@stupidchicken.com>
12681
12682 * frame.el (frame-background-mode, frame-set-background-mode):
c8af70e1 12683 Move from faces.el.
1485f4c0
CY
12684 (frame-default-terminal-background): New function.
12685
12686 * custom.el (custom-push-theme): Don't record faces in `changed'
12687 theme; this doesn't work correctly for per-frame face settings.
12688 (disable-theme): Use face-set-after-frame-default to reset faces.
12689 (custom--frame-color-default): New function.
12690
9fa3dd45
LMI
126912011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12692
c8af70e1 12693 * dired.el (dired-flagging-regexp): Remove unused variable
9fa3dd45
LMI
12694 (bug#8769).
12695
6cbbc20c
KR
126962011-03-29 Kevin Ryde <user42@zip.com.au>
12697
12698 * progmodes/compile.el (compilation-error-regexp-alist-alist):
12699 `perl-Test2' extend to match possible "fail #N" rep count
12700 (bug#8377).
12701
c7f98048
LMI
127022011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12703
65676592
LMI
12704 * mail/feedmail.el (feedmail-buffer-to-smtpmail):
12705 `smtpmail-via-smtp' now returns the error instead of nil.
12706
c7f98048
LMI
12707 * isearch.el (isearch-search-fun-function): Clarify the doc string
12708 (bug#8101).
12709
56e6cc31 127102011-07-03 Richard Kim <emacs18@gmail.com> (tiny change)
9a51c6c7
RK
12711
12712 * textmodes/texnfo-upd.el (texinfo-insert-menu): Don't insert
12713 unnecessary spaces (bug#8987).
12714
2b216704
LMI
127152011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12716
12717 * net/network-stream.el (open-network-stream): Use the
12718 :end-of-capability command thoughout.
12719
127202011-07-03 Wolfgang Jenkner <wjenkner@inode.at> (tiny change)
12721
12722 * net/network-stream.el (open-network-stream): Add the
12723 :end-of-capability command parameter, used by pop3.el.
12724
36adf6ce
LMI
127252011-07-03 Lars Magne Ingebrigtsen <larsi@gnus.org>
12726
1ca0da0e
LMI
12727 * dired.el (dired-map-over-marks): Refill the doc string (bug#6814).
12728
fc00f69c
LMI
12729 * fringe.el (fringe-query-style): Remove redundant text " (type ?
12730 for list)" (bug#6475).
12731
28fd8759 12732 * files.el (file-expand-wildcards): Ignore non-readable
8350f087 12733 sub-directories while trying to find matches instead of signaling
28fd8759
LMI
12734 an error (bug#6297).
12735
0dd8b6da
LMI
12736 * man.el (Man-reference-regexp): Allow matching possible
12737 word-wrapped references (bug#6289).
12738
ce1438d6
LMI
12739 * vc/vc.el (vc-modify-change-comment): Change *VC-log* to *vc-log*
12740 for consistency with the other vc buffers (bug#6197).
12741 (vc-checkin): Ditto.
12742
12743 * vc/vc-arch.el: Fix comments to match the *VC-log* name change.
12744
36adf6ce
LMI
12745 * longlines.el (longlines-mode): Document what ARG does (bug#6150).
12746
e83cc1f7
LMI
127472011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12748
8a20ca4c
LMI
12749 * custom.el (defcustom): Clarify that :set is only used in the
12750 Customize user interface (bug#6089).
12751
83319045
LMI
12752 * progmodes/flymake.el (flymake-mode): If the buffer isn't
12753 associated with a file, refuse to run instead of erroring out
12754 (bug#6084).
12755
a8392169
LMI
12756 * textmodes/fill.el (fill-region): Remove the "Ordinarily" from
12757 the doc string, since it appears that using `fill-column' always
12758 controls the width (bug#7845).
12759
e83cc1f7
LMI
12760 * simple.el (shell-command-on-region): Say where the error output
12761 went if `shell-command-default-error-buffer' is set (bug#6857).
12762
e47ca23b
KM
127632011-07-02 Ken Manheimer <ken.manheimer@gmail.com>
12764
12765 * allout.el (allout-yank-processing): Adjust cursor position for
12766 backwards-deleted space.
12767
12768 (allout-rebullet-heading): Register changes with
12769 allout-exposure-changed-hook, so the modified topic is properly
12770 decorated.
12771
5cf56143
LMI
127722011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12773
08549772
LMI
12774 * minibuffer.el (completion-in-region): Document PREDICATE
12775 (bug#7136).
12776
48e96771
LMI
12777 * info-look.el (info-lookup-add-help): Clarify that ARGS is a list
12778 of keyword/argument pairs (bug#6904).
12779
c8af70e1
SM
12780 * replace.el (multi-occur):
12781 Mention `multi-occur-in-matching-buffers' in the doc string (bug#7566).
5cf56143 12782
e17d05e2
LMI
127832011-07-02 Drew Adams <drew.adams@oracle.com>
12784
12785 * dired.el (dired-mark-if): Make the message about whether it's
12786 marking or unmarking clearer (bug#8523).
12787
063b0e45
LMI
127882011-07-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
12789
12790 * disp-table.el (display-table-print-array): New function.
12791 (describe-display-table): Use it to print the vectors more pretty
12792 (Bug#8859).
12793
28545e04
MR
127942011-07-02 Martin Rudalics <rudalics@gmx.at>
12795
12796 * window.el (window-state-get-1): Don't assign clone numbers.
12797 Add clone-of item to list of window parameters.
12798 (window-state-put-2): Don't process clone numbers.
12799 (display-buffer-alist): Fix doc-string.
12800
3349e122
SM
128012011-07-02 Stefan Monnier <monnier@iro.umontreal.ca>
12802
12803 * subr.el (remq): Don't allocate if it's not needed.
12804 (keymap--menu-item-binding, keymap--menu-item-with-binding)
12805 (keymap--merge-bindings): New functions.
12806 (keymap-canonicalize): Use them to refine the canonicalization.
12807 * minibuffer.el (minibuffer-local-completion-map)
12808 (minibuffer-local-must-match-map): Move initialization from C.
12809 (minibuffer-local-filename-completion-map): Move initialization from C;
12810 don't inherit from anything here.
12811 (minibuffer-local-filename-must-match-map): Make obsolete.
12812 (completing-read-default): Use make-composed-keymap to combine
12813 minibuffer-local-filename-completion-map with either
12814 minibuffer-local-must-match-map or
12815 minibuffer-local-filename-completion-map.
12816
d224ac83
GM
128172011-07-01 Glenn Morris <rgm@gnu.org>
12818
3de63bf8
GM
12819 * type-break.el (type-break-time-sum): Use dolist.
12820
d224ac83
GM
12821 * textmodes/flyspell.el (flyspell-word-search-backward):
12822 Replace CL function.
12823
1a1e3f32
SM
128242011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12825
fe3f64d5
SM
12826 * mouse.el (mouse--strip-first-event): New function.
12827 (function-key-map): Use it to map fringe clicks to normal clicks
12828 by default.
12829
eb604e34
SM
12830 * vc/vc-bzr.el (vc-bzr-revision-keywords): Update.
12831 (vc-bzr-revision-completion-table): Add support for annotate and date.
12832
1a1e3f32
SM
12833 * emacs-lisp/derived.el (define-derived-mode): Make abbrev-table
12834 inherit from parent.
12835
5bd35902
LMI
128362011-07-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
12837
ace6c69c 12838 * dired-aux.el (dired-diff): Doc fixup (bug#8816).
26bde865 12839 (dired-show-file-type): Doc fixup (bug#8818).
ace6c69c 12840
191e2bed
LMI
12841 * dired.el (dired-mode): Fix up the doc string as suggested by
12842 Drew Adams (bug#8817).
12843
5bd35902
LMI
12844 * progmodes/flymake.el (flymake-find-file-hook): Add an `autoload'
12845 cookie, since the manual says that it should be possible to add
12846 this function to `find-file-hook' (bug#8709).
12847
eee8207a
TZ
128482011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12849
12850 * progmodes/cfengine.el: Moved all cfengine3.el functionality
12851 here. Noted Ted Zlatanov as the maintainer.
12852 (cfengine-common-settings, cfengine-common-syntax): New functions
12853 to set up common things between `cfengine-mode' and
12854 `cfengine3-mode'.
12855 (cfengine3-mode): New mode.
12856 (cfengine3-defuns cfengine3-defuns-regex
12857 (cfengine3-class-selector-regex cfengine3-category-regex)
12858 (cfengine3-vartypes cfengine3-font-lock-keywords)
12859 (cfengine3-beginning-of-defun, cfengine3-end-of-defun)
eb604e34 12860 (cfengine3-indent-line): Add from cfengine3.el.
eee8207a 12861
36b148cf
MA
128622011-07-01 Michael Albinus <michael.albinus@gmx.de>
12863
12864 * net/tramp.el (tramp-encoding-command-interactive): New defcustom.
12865
12866 * net/tramp-sh.el (tramp-maybe-open-connection): Use it.
12867
0bf4ba9a
MR
128682011-07-01 Martin Rudalics <rudalics@gmx.at>
12869
12870 * window.el (same-window-buffer-names, same-window-regexps)
12871 (same-window-p, special-display-frame-alist)
12872 (special-display-popup-frame, special-display-function)
12873 (special-display-buffer-names, special-display-regexps)
12874 (special-display-p, pop-up-frame-alist, pop-up-frame-function)
12875 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
12876 (split-window-preferred-function, split-height-threshold)
12877 (split-width-threshold, even-window-heights)
12878 (display-buffer-mark-dedicated, window-splittable-p)
12879 (split-window-sensibly, window-safely-shrinkable-p):
12880 Un-obsolete.
12881 (display-buffer): Don't spread args with function specifier
12882 because special-display-popup-frame won't like it.
12883
35837f51
PE
128842011-07-01 Paul Eggert <eggert@cs.ucla.edu>
12885
d0672f86
PE
12886 Time-stamp simplifications and fixes.
12887 These improve accuracy slightly, and future-proof the code
12888 against some potential changes to current-time format.
12889
b9444d97
PE
12890 * woman.el (woman-decode-buffer, WoMan-log-end): Log fractional secs
12891 by using time-since and float-time.
12892
0ef923dc
PE
12893 * vc/ediff-util.el (ediff-calc-command-time): Use time-since
12894 and float-time. Say "NNN.NNN seconds" rather than "NNN seconds
12895 + NNN microseconds".
12896
2f81380d
PE
12897 * type-break.el (type-break-time-sum): Rewrite using time-add.
12898
845b5c3e
PE
12899 * play/hanoi.el (hanoi-current-time-float): Remove.
12900 All uses replaced by float-time.
12901
ee6f1be0
PE
12902 * nxml/rng-maint.el (rng-time-function): Rewrite using time-subtract.
12903 This yields a more-accurate answer.
12904 (rng-time-to-float): Remove; no longer needed.
12905
fe955043
PE
12906 * emacs-lisp/timer.el (timer-relative-time): Use time-add.
12907
5777162a
PE
12908 * calendar/timeclock.el (timeclock-seconds-to-time):
12909 Defalias to seconds-to-time, since they're the same thing.
12910
3103f8b6 12911 * emacs-lisp/elp.el (elp-elapsed-time):
e2bac5f6 12912 * emacs-lisp/benchmark.el (benchmark-elapse):
35837f51
PE
12913 * allout-widgets.el (allout-elapsed-time-seconds): Use float-time.
12914
0e61a35f
SM
129152011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12916
12917 * window.el (bury-buffer): Don't iconify the only frame.
12918 (switch-to-buffer): Revert to Emacs<23 behavior, i.e. do not fallback
12919 to pop-to-buffer. Use pop-to-buffer-same-frame if you don't like that.
12920
ddd63a1e
CY
129212011-07-01 Chong Yidong <cyd@stupidchicken.com>
12922
0e61a35f
SM
12923 * eshell/em-smart.el (eshell-smart-display-navigate-list):
12924 Add mouse-yank-primary.
ddd63a1e 12925
055f4923
TZ
129262011-07-01 Teodor Zlatanov <tzz@lifelogs.com>
12927
12928 * progmodes/cfengine3.el: New file to support CFEngine 3.x.
12929
6a2fb145
SM
129302011-07-01 Stefan Monnier <monnier@iro.umontreal.ca>
12931
12932 * emacs-lisp/find-func.el (find-library--load-name): New fun.
12933 (find-library-name): Use it to find relative load names when provided
12934 absolute file name (bug#8803).
12935
fd4983f2
LMI
129362011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
12937
887d14ad
LMI
12938 * textmodes/flyspell.el (flyspell-word): Consider words that
12939 differ only in case as potential doublons (bug#5687).
12940
c53dc7fc
LMI
12941 * net/soap-client.el (soap-invoke, soap-wsdl-resolve-references):
12942 Remove two rather uninteresting debugging-like messages to make
12943 debbugs.el more silent.
12944
fd4983f2
LMI
12945 * comint.el (comint-password-prompt-regexp): Accept "Response" as
12946 a password-like phrase.
12947
7a71b18d 129482011-06-30 Masatake YAMATO <yamato@redhat.com>
b14c0c55
AM
12949
12950 * progmodes/cc-guess.el: New file.
12951
6a2fb145 12952 * progmodes/cc-langs.el (c-mode-menu): Add "Style..." submenu.
b14c0c55
AM
12953
12954 * progmodes/cc-styles.el (cc-choose-style-for-mode): New function
12955 derived from `c-basic-common-init'.
12956
12957 * progmodes/cc-mode.el (top-level): Require cc-guess.
12958 (c-basic-common-init): Use `cc-choose-style-for-mode'.
12959
1fa280a3
LM
129602011-06-30 Lawrence Mitchell <wence@gmx.li>
12961
12962 * progmodes/js.el (js-mode): Don't stomp on global settings (bug#8933).
12963
e6597158
AM
129642011-06-30 Alan Mackenzie <acm@muc.de>
12965
1fa280a3
LM
12966 * progmodes/cc-engine.el (c-guess-continued-construct):
12967 Correct the handling of template-args-cont, particularly for when font
e6597158
AM
12968 lock is disabled. Name this case as "CASE G".
12969
68ba37fb
KM
129702011-06-30 Ken Manheimer <ken.manheimer@gmail.com>
12971
12972 * allout.el (allout-yank-processing): Fix injection of extra space
12973 between bullet and non-whitespace character in first topic when
12974 pasting, ensuring that the actual spacing in the pasted topic
12975 following the bullet char is preserved. This extra space was
12976 causing pasted encrypted topics to get a decrypted status even
12977 when the content was actually still encrypted. Now the decryption
12978 status from before the paste is preserved.
12979
12980 (allout-flag-region): Set all allout overlays so they evaporate
12981 when reduced to zero length (evanescent), to prevent overlay
12982 leakage.
12983
887a0b34
GM
129842011-06-30 Glenn Morris <rgm@gnu.org>
12985
94b9acce
GM
12986 * w32-fns.el (w32-charset-info-alist): Declare.
12987
1d9b46d4
GM
12988 * find-dired.el (find-grep-options): Simplify.
12989
cc232200
GM
12990 * term/ns-win.el (ns-set-resource): Declare.
12991
28e77c46
GM
12992 * ses.el (row, col): Declare dynamic variables honestly.
12993
887a0b34
GM
12994 * textmodes/reftex-parse.el (index-tags): Declare.
12995
658d8eb8
CY
129962011-06-30 Chong Yidong <cyd@stupidchicken.com>
12997
12998 * cus-edit.el (customize-push-and-save): New function.
12999
13000 * files.el (hack-local-variables-confirm): Use it.
13001
1fa280a3
LM
13002 * custom.el (load-theme): New arg NO-CONFIRM.
13003 Use customize-push-and-save (Bug#8720).
658d8eb8
CY
13004 (custom-enabled-themes): Doc fix.
13005
13006 * cus-theme.el (customize-create-theme)
13007 (custom-theme-merge-theme): Callers to load-theme changed.
13008
bb617717
LMI
130092011-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
13010
d61bdd5d
LMI
13011 * thingatpt.el (thing-at-point-short-url-regexp): Require that
13012 short URLs have at least one dot in them (bug #7614).
13013
bb617717
LMI
13014 * progmodes/grep.el (rgrep): Bind `process-connection-type' to
13015 nil, because using a pty is apparently too slow (bug #895).
13016
2f31f37a
LMI
130172011-06-29 Lars Magne Ingebrigtsen <larsi@gnus.org>
13018
13019 * mail/sendmail.el (sendmail-query-once): New function.
13020 (sendmail-query-once-function): New variable.
13021
3076b24e
GM
130222011-06-29 Glenn Morris <rgm@gnu.org>
13023
faf2a174
GM
13024 * files.el (auto-mode-alist): Add .f03, .f08 for f90-mode.
13025
3076b24e
GM
13026 * ses.el (top-level): Require cl when compiling.
13027 (ses-set-localvars): Fix error statement.
13028 Call it at compile time to silence a storm of warnings.
13029
5386012d
MR
130302011-06-29 Martin Rudalics <rudalics@gmx.at>
13031
13032 * window.el (normalize-live-buffer): Rename to
13033 window-normalize-buffer.
13034 (normalize-live-frame): Rename to window-normalize-frame.
13035 (normalize-any-window): Rename to window-normalize-any-window.
13036 (normalize-live-window): Rename to window-normalize-live-window.
13037 (make-window-atom): Rename to window-make-atom.
13038 (window-resize-reset): Rename to window--resize-reset.
13039 (window-resize-reset-1): Rename to window--resize-reset-1.
13040 (resize-mini-window): Rename to window--resize-mini-window.
13041 (resize-subwindows-skip-p): Rename to
13042 window--resize-subwindows-skip-p.
13043 (resize-subwindows-normal): Rename to
13044 window--resize-subwindows-normal.
13045 (resize-subwindows): Rename to window--resize-subwindows.
13046 (resize-other-windows): Rename to window--resize-siblings.
13047 (resize-this-window): Rename to window--resize-this-window.
13048 (resize-root-window): Rename to window--resize-root-window.
13049 (resize-root-window-vertically): Rename to
13050 window--resize-root-window-vertically.
13051 (normalize-buffer-to-display): Rename to
13052 window-normalize-buffer-to-display.
13053 (normalize-buffer-to-switch-to): Rename to
13054 window-normalize-buffer-to-switch-to.
13055 Correspondingly update all callers of the functions listed
13056 above.
13057 (display-buffer-alist, display-buffer-normalize-arguments)
13058 (display-buffer-normalize-options, display-buffer)
13059 (display-buffer-alist-set): Use "function" instead of
13060 "fun-with-args".
13061
1176868d
CY
130622011-06-28 Chong Yidong <cyd@stupidchicken.com>
13063
13064 * mail/emacsbug.el (report-emacs-bug): Handle non-gnu bug
13065 addresses more clearly. Add hyperlinks for bug-gnu-emacs and
13066 debbugs.gnu.org. Mention acknowledgment email.
13067
20a7a65f
LMI
130682011-06-28 Lars Magne Ingebrigtsen <larsi@gnus.org>
13069
13070 * mail/smtpmail.el (smtpmail-send-it): Leave off changing the
13071 buffer multibyteness, since it shouldn't matter.
13072
5f45cca5
MR
130732011-06-28 Martin Rudalics <rudalics@gmx.at>
13074
13075 * window.el (display-buffer-in-side-window): Handle dedicated
13076 windows as in display-buffer-reuse-window.
13077 (display-buffer-normalize-alist): Use value of override
13078 specifier.
13079 (display-buffer-normalize-specifiers): Use value of
13080 other-window-means-other-frame specifier.
13081 (display-buffer-alist): Rewrite some texts in widgets.
13082 (display-buffer): Spread arguments when calling function
13083 specified by fun-with-args.
13084
ad85fe1f
DD
130852011-06-28 Deniz Dogan <deniz@dogan.se>
13086
1fa280a3
LM
13087 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-syntax-table):
13088 Unnest `let'.
da68c4c8 13089
ad85fe1f
DD
13090 * textmodes/css-mode.el (css-font-lock-keywords): Fix grouped
13091 selectors (Bug#5732).
ec49bd31 13092 (css-proprietary-nmstart-re): Use `regexp-opt'.
ad85fe1f 13093
a08cc025
JA
130942011-06-27 Jari Aalto <jari.aalto@cante.net>
13095
13096 * eshell/em-ls.el: Display `ls -l' dates in ISO format (Bug#8440).
13097 (eshell-ls-date-format): New defcustom.
13098 (eshell-ls-file): Use it.
13099
e2b551c5
SM
131002011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13101
13102 * help-fns.el (describe-variable): Fix message for terminal-local vars.
13103
8982b231
KY
131042011-06-27 Katsumi Yamaoka <yamaoka@jpl.org>
13105
13106 * net/ange-ftp.el: Allow loading .gz files (Bug#6923).
13107 (ange-ftp-make-tmp-name): New arg.
13108 (ange-ftp-file-local-copy): Use it.
13109
36c9fa27
J
131102011-06-27 Jambunathan K <kjambunathan@gmail.com>
13111
13112 * tar-mode.el (tar-untar-buffer): Set coding-system-for-write to
13113 no-conversion (Bug#8870).
13114
d68443dc
MR
131152011-06-27 Martin Rudalics <rudalics@gmx.at>
13116
13117 * window.el (window-right, window-left, window-child)
13118 (window-child-count, window-last-child)
13119 (window-iso-combination-p, walk-window-tree-1)
13120 (window-atom-check-1, window-tree-1, delete-window)
13121 (window-state-get-1, display-buffer-even-window-sizes): Adapt to
13122 new naming conventions - window-vchild, window-hchild,
13123 window-next and window-prev are now called window-top-child,
13124 window-left-child, window-next-sibling and window-prev-sibling
13125 respectively.
d615d6d2
MR
13126 (resize-window-reset): Rename to window-resize-reset.
13127 (resize-window-reset-1): Rename to window-resize-reset-1.
13128 (resize-window): Rename to window-resize.
13129 (window-min-height, window-min-width)
13130 (resize-mini-window, resize-this-window, resize-root-window)
13131 (resize-root-window-vertically, adjust-window-trailing-edge)
13132 (enlarge-window, shrink-window, maximize-window)
13133 (minimize-window, delete-window, quit-restore-window)
13134 (split-window, balance-windows, balance-windows-area-adjust)
13135 (balance-windows-area, window-state-put-2)
13136 (display-buffer-even-window-sizes, display-buffer-set-height)
13137 (display-buffer-set-width, set-window-text-height)
13138 (fit-window-to-buffer): Rename all "resize-window" prefixed
13139 calls to use the "window-resize" prefix convention.
13140 (display-buffer-alist): Fix symbol for label specifier.
13141 (display-buffer-reuse-window): Set reuse-dedicated to cdr of
13142 corresponding specifier.
13143 Reported by Juanma Barranquero <lekktu@gmail.com>.
d68443dc 13144
b6458526
VB
131452011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13146
13147 * ses.el (ses-destroy-cell-variable-range): Fix heading comment
13148 convention.
13149 (ses-call-printer): Does not pass an empty string to formatter when the
13150 cell is empty to keep from barking printer Calc math-format-value.
13151
d31fd9ac
RS
131522011-06-27 Richard Stallman <rms@gnu.org>
13153
43d5bf84
RS
13154 * battery.el (battery-mode-line-limit): New variable.
13155 (battery-update): Handle it.
13156
d31fd9ac
RS
13157 * mail/rmailmm.el (rmail-mime-process-multipart):
13158 Handle truncated messages.
13159
819a6054
GM
131602011-06-27 Glenn Morris <rgm@gnu.org>
13161
13162 * progmodes/flymake.el (flymake-err-line-patterns):
13163 Allow for column numbers in the ant/javac pattern. (Bug#8866)
13164
cedc73f2
VB
131652011-06-27 Vincent Belaïche <vincentb1@users.sourceforge.net>
13166
819a6054 13167 * ses.el (ses-relocate-range): Keep rest of arguments for ses-range.
cedc73f2
VB
13168 (ses--clean-!, ses--clean-_): New functions.
13169 (ses-range): Add configurability of readout order, and conversion
13170 to Calc vector.
13171
5e5d49b6
VB
13172 * ses.el (ses-repair-cell-reference-all): New function.
13173 (ses-cell-symbol): Set macro as safe, so that it can be used in
13174 formulas.
13175
56e6cc31 13176 * ses.el: Update cycle detection algorithm.
90ca8b49 13177 (ses-localvars): Add ses--Dijkstra-attempt-nb and
819a6054 13178 ses--Dijkstra-weight-bound, and initial values thereof when applicable.
90ca8b49
VB
13179 (ses-set-localvars): New function.
13180 (ses-make-cell): Add property-list as a cell element.
13181 (ses-cell-property-get-fun, ses-cell-property-get)
13182 (ses-cell-property-delq-fun, ses-cell-property-set-fun)
819a6054
GM
13183 (ses-cell-property-pop-fun, ses-cell-property-get-handle-fun):
13184 New functions.
90ca8b49
VB
13185 (ses-cell-property-set, ses-cell-property-pop)
13186 (ses-cell-property-get-handle): New macro.
13187 (ses-cell-property-handle-car, ses-cell-property-handle-setcar):
13188 New aliases, used for code readability.
13189 (ses-calculate-cell, ses-update-cells): Use Dijkstra algorithm for
13190 cycle detection.
13191 (ses-self-reference-early-detection): New defcustom.
fac916bf 13192 (ses-formula-references): Robustify against self-referring cells.
90ca8b49
VB
13193 (ses-mode): Use ses-set-localvars.
13194 (ses-command-hook): Add call to ses-initialize-Dijkstra-attempt
13195 before lauching the update processing.
13196 (ses-initialize-Dijkstra-attempt): New function.
13197 (ses-recalculate-cell): Update for cycle detection based on
13198 Dijkstra algorithm.
13199
2bb63e81
VB
13200 * ses.el: Fix commenting and indenting convention.
13201
c9d29fb8
SM
132022011-06-27 Stefan Monnier <monnier@iro.umontreal.ca>
13203
13204 * bs.el (bs-cycle-next): Complete last change.
13205
d8e4b68b
JB
132062011-06-27 Drew Adams <drew.adams@oracle.com>
13207
13208 * faces.el (list-faces-display): Add help-mode-map to output (bug#8939).
13209
40098786
LMI
132102011-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
13211
c9d29fb8
SM
13212 * net/network-stream.el (network-stream-open-starttls):
13213 Don't re-get capabilities unless we've reestablished connection.
f6ab314e
LMI
13214 (network-stream-open-starttls): Fix stupid typo with gnutls-clii.
13215
40098786
LMI
13216 * mail/smtpmail.el (smtpmail-via-smtp): Bind coding-system-for-*
13217 to binary to possibly avoid line encoding issues on Windows (among
13218 other things).
13219
468d09d4
LMI
132202011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13221
13222 * net/network-stream.el (open-network-stream): Return an :error
13223 saying what the problem was, if possible.
13224
13225 * mail/smtpmail.el (smtpmail-via-smtp): Report the error from the
13226 server.
13227
13228 * net/network-stream.el (network-stream-open-starttls): If we
13229 wanted to use STARTTLS, and the server offered it, but we weren't
13230 able to because we had no STARTTLS support, then close the connection.
13231 (open-network-stream): Return an :error element, if present.
13232
16f07dd7
CY
132332011-06-26 Chong Yidong <cyd@stupidchicken.com>
13234
88821ca0
CY
13235 * hl-line.el (hl-line-sticky-flag): Doc fix.
13236 (global-hl-line-sticky-flag): New option (Bug#8323).
13237 (global-hl-line-highlight): Obey it.
13238
16f07dd7
CY
13239 * vc/vc.el (vc-revert-show-diff): Default to t.
13240
6b5ccddf
KM
132412011-06-26 Ken Manheimer <ken.manheimer@gmail.com>
13242
c9d29fb8
SM
13243 * allout-widgets.el (allout-widgets-post-command-business):
13244 Stop decorating intermediate isearch matches. They're not being
6b5ccddf
KM
13245 undecorated when an isearch is continued past, and isearch
13246 automatically collapses them. This leads to "widget leaks", where
13247 decorated items accumulate in collapsed areas. Lines with lots of
c9d29fb8
SM
13248 hidden widgets can slow down cursor travel, substantially.
13249 Too much complicated machinery would be needed to ensure undecoration,
6b5ccddf
KM
13250 so we're doing without this nicety.
13251
13252 (allout-widgets-tally-string): Don't try to do a hash-table-count
13253 of allout-widgets-tally when it's nil. This eliminates spurious "Error
13254 during redisplay: (wrong-type-argument hash-table-p nil)" warnings in
13255 *Messages* when allout-widgets-maintain-tally is t.
13256
355f2e07
MR
132572011-06-26 Martin Rudalics <rudalics@gmx.at>
13258
13259 * window.el (display-buffer-normalize-argument): Rename to
13260 display-buffer-normalize-arguments. Handle special meaning of
6b5ccddf
KM
13261 LABEL argument. Respect special-display-function when popping up
13262 a new frame. Fix code searching for a window showing the buffer
13263 on another frame.
c9d29fb8
SM
13264 (display-buffer-normalize-specifiers):
13265 Call display-buffer-normalize-arguments.
355f2e07
MR
13266 (display-buffer-in-window): Don't undedicate the window if its
13267 buffer remains the same.
13268 Reported by Drew Adams <drew.adams@oracle.com>.
13269 (display-buffer-alist): Add choice for same-window macro
13270 specfier.
13271 (display-buffer): Mention special meaning of LABEL argument in
13272 doc-string. Fix quoting. Don't pop up a new frame even as
13273 fallback.
13274
7ca8fc42
JB
132752011-06-26 Juanma Barranquero <lekktu@gmail.com>
13276
13277 * bs.el (bs-cycle-next): Pass current buffer to `bury-buffer' to
13278 avoid deleting the current window in some cases (bug#8911).
13279
bc312254
AS
132802011-06-26 Andreas Schwab <schwab@linux-m68k.org>
13281
13282 * emacs-lisp/smie.el (smie-bnf->prec2): Fix last change.
13283 (Bug#8934)
13284
2db18f3f
LMI
132852011-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
13286
c9d29fb8
SM
13287 * net/network-stream.el (network-stream-open-starttls):
13288 Use built-in TLS support if `gnutls-available-p' is true.
2db18f3f
LMI
13289 (network-stream-open-tls): Ditto.
13290
6302e0d3
LL
132912011-06-26 Leo Liu <sdl.web@gmail.com>
13292
13293 * register.el (registerv): New struct.
13294 (registerv-make): New function.
c9d29fb8
SM
13295 (jump-to-register, describe-register-1, insert-register):
13296 Support the jump-func, print-func and insert-func slot of a registerv
6302e0d3
LL
13297 struct. (Bug#8415)
13298
5fdd4046
CY
132992011-06-26 Chong Yidong <cyd@stupidchicken.com>
13300
2afef60a
CY
13301 * vc/vc.el (vc-revert-show-diff): New defcustom.
13302 (vc-diff-internal): New arg specifying diff buffer.
13303 (vc-revert): Obey vc-revert-show-diff. If we show a diff, don't
13304 reuse an existing *vc-diff* buffer (Bug#8927).
13305
5fdd4046
CY
13306 * progmodes/cperl-mode.el (cperl-mode): Derive from prog-mode.
13307
e93db24a
GM
133082011-06-26 Glenn Morris <rgm@gnu.org>
13309
13310 * progmodes/f90.el (f90-critical-indent): New option.
13311 (f90-font-lock-keywords-2, f90-blocks-re, f90-end-block-re)
13312 (f90-start-block-re, f90-mode-abbrev-table): Add block, critical.
13313 (f90-mode): Doc fix.
13314 (f90-looking-at-critical, f90-looking-at-end-critical): New funcs.
13315 (f90-no-block-limit, f90-calculate-indent, f90-end-of-block)
13316 (f90-beginning-of-block, f90-next-block, f90-indent-region)
13317 (f90-match-end): Handle block, critical.
13318
eefff499
GM
133192011-06-25 Glenn Morris <rgm@gnu.org>
13320
f6ba4cc9
GM
13321 * calendar/diary-lib.el (diary-included-files): Doc fix.
13322 (diary-include-files): New function, extracted from
13323 diary-include-other-diary-files and diary-mark-included-diary-files.
13324 (diary-include-other-diary-files, diary-mark-included-diary-files):
13325 Just call diary-include-files.
13326 (diary-mark-entries): Reset diary-included-files on first call.
13327
16712304
GM
13328 * calendar/diary-lib.el (diary-mark-entries)
13329 (diary-mark-included-diary-files):
13330 Visit included diary-files in temp buffers.
13331
5d8e0d43
GM
13332 * progmodes/f90.el (f90-keywords-re, f90-font-lock-keywords-1)
13333 (f90-blocks-re, f90-program-block-re, f90-end-block-re)
13334 (f90-start-block-re, f90-imenu-generic-expression)
13335 (f90-looking-at-program-block-start, f90-no-block-limit):
13336 Add support for submodules.
13337
ccf7a5d5
GM
13338 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
13339 (f90-procedures-re, f90-constants-re): Add some F2008 stuff.
eefff499 13340
11fdef7d 133412011-06-25 Eli Zaretskii <eliz@gnu.org>
638e9005
EZ
13342
13343 * net/ange-ftp.el (ange-ftp-insert-file-contents): Let-bind
13344 buffer-file-type before setting its value, to avoid disastrous
eefff499 13345 global effects on decoding files for DOS/Windows systems. (Bug#8780)
638e9005 13346
74f53697
JB
133472011-06-25 Juanma Barranquero <lekktu@gmail.com>
13348
13349 * allout.el (allout-unload-function): Pass -1 to `allout-mode'.
13350
13351 * ses.el (ses-unload-function):
13352 * emacs-lisp/re-builder.el (re-builder-unload-function): Simplify.
13353
13354 * proced.el (proced-unload-function):
13355 * progmodes/cperl-mode.el (cperl-mode-unload-function): Remove.
13356
18a4ce5e
AR
133572011-06-25 Andreas Rottmann <a.rottmann@gmx.at>
13358
13359 * server.el (server-create-window-system-frame): Add parameters arg.
13360 (server-process-filter): Doc fix. Handle frame-parameters.
13361
519d22cc
JB
133622011-06-25 Juanma Barranquero <lekktu@gmail.com>
13363
13364 Fix bug#8730, bug#8781.
13365
13366 * loadhist.el (unload--set-major-mode): New function.
13367 (unload-feature): Use it.
13368
13369 * progmodes/python.el (python-after-info-look): Add autoload cookie.
13370 (python-unload-function): New function.
13371
c206f5b0
SM
133722011-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
13373
13374 * mail/rmail.el (rmail-show-message-1): Use restore-buffer-modified-p.
13375
f9ad64f3
GS
133762011-06-25 Giuseppe Scrivano <gscrivano@gnu.org>
13377
13378 * net/browse-url.el (browse-url-firefox-program): Add icecat to
13379 the candidates list.
13380
7d0da90e
JB
133812011-06-24 Juanma Barranquero <lekktu@gmail.com>
13382
13383 * progmodes/verilog-mode.el (verilog-mode): Fix test for bound variable.
13384
14b4e83d
RS
133852011-06-23 Richard Stallman <rms@gnu.org>
13386
13387 * mail/rmail.el: Going to grep hit in Rmail buffer finds the message.
13388 (rmail-variables): Set next-error-move-function.
13389 (rmail-what-message): Take argument POS.
13390 (rmail-next-error-move): New function.
13391
273d2baf
SM
133922011-06-23 Stefan Monnier <monnier@iro.umontreal.ca>
13393
13394 * emacs-lisp/smie.el (smie-bnf->prec2): Give more understandable error
13395 messages for adjacent non-terminals.
13396
56c2cc9a
RS
133972011-06-23 Richard Stallman <rms@gnu.org>
13398
13399 * mail/rmail.el (rmail-retry-ignored-headers): Add message-id.
f444564c 13400 (rmail-show-message-1): Preserve buffer modified flag.
8050daa1
RS
13401 (rmail-start-mail): Don't specify use of rmail-mail-return;
13402 that's done by mail-bury now.
13403 (rmail-mail-return): Handle arg NEWBUF.
56c2cc9a 13404
d59eb518
MA
134052011-06-23 Michael Albinus <michael.albinus@gmx.de>
13406
13407 * net/tramp-sh.el (tramp-method-out-of-band-p): Check, whether
13408 SIZE is a number.
13409
02cfc6d6
MR
134102011-06-23 Martin Rudalics <rudalics@gmx.at>
13411
13412 * window.el (get-lru-window, get-mru-window)
13413 (get-largest-window): Never return a minibuffer window.
13414 (display-buffer-pop-up-window): Fix a bug that could lead to
13415 reusing the minibuffer window.
13416 (display-buffer): Pass original specifier argument to
13417 display-buffer-function instead of the normalized one.
13418 Reported by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
13419
4e323265
LL
134202011-06-22 Leo Liu <sdl.web@gmail.com>
13421
13422 * minibuffer.el (completing-read-function)
13423 (completing-read-default): Move from minibuf.c
13424
7a70468f
RS
134252011-06-22 Richard Stallman <rms@gnu.org>
13426
50718fc2
RS
13427 * mail/sendmail.el (mail-bury): If Rmail is in use, return nicely
13428 to Rmail even if not started by a special Rmail command.
13429
7a70468f
RS
13430 * mail/rmailmm.el (rmail-insert-mime-forwarded-message):
13431 Copy the buffer currently showing just one message.
13432
297dde5a
RW
134332011-06-22 Roland Winkler <winkler@gnu.org>
13434
13435 * textmodes/bibtex.el (bibtex-entry-update): Use mapc.
13436 (bibtex-clean-entry): First delete the old key so that a
13437 customized algorithm for generating the new key does not get
13438 confused by the old key.
13439 (bibtex-url): Obey regexp of first step.
13440 (bibtex-search-entries): Do not use add-to-list with local
13441 list-var.
13442
97bb1093
LMI
134432011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13444
13445 * mail/smtpmail.el (smtpmail-try-auth-methods): If the user has
13446 stored a user name, then query for the password first, instead of
13447 waiting for SMTP to give an error message and the trying again.
13448
1c0f1a19
JD
134492011-06-22 Lawrence Mitchell <wence@gmx.li>
13450
13451 * net/browse-url.el (browse-url-xdg-open): Use 0, rather than nil
13452 BUFFER in call-process.
13453
396f7c9d
LMI
134542011-06-22 Lars Magne Ingebrigtsen <larsi@gnus.org>
13455
13456 * mail/smtpmail.el (smtpmail-via-smtp): Make sure we don't send
13457 QUIT twice.
ddb7ffee
LMI
13458 (smtpmail-try-auth-methods): Require user name and password from
13459 auth-source.
396f7c9d 13460
8998d1b3
MR
134612011-06-22 Martin Rudalics <rudalics@gmx.at>
13462
13463 * window.el (display-buffer-default-specifiers)
13464 (display-buffer-alist): Remove entries for pop-up-frame-alist.
13465 Suggested by Katsumi Yamaoka <yamaoka@jpl.org>.
130e3e11 13466 (split-window): Normalize SIDE argument (Bug#8916).
8998d1b3
MR
13467
13468 * frame.el (pop-up-frame-alist, pop-up-frame-function)
13469 (special-display-frame-alist, special-display-popup-frame):
13470 Remove duplicate declarations. These are now in window.el.
13471
4ea31e07
LMI
134722011-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
13473
c9d29fb8
SM
13474 * mail/smtpmail.el (smtpmail-via-smtp):
13475 Set :use-starttls-if-possible so that we always use STARTTLS if the
6af7a784
LMI
13476 server supports it. SMTP servers that support STARTTLS commonly
13477 require it.
13478
13479 * net/network-stream.el (network-stream-open-starttls): Support
13480 upgrading to STARTTLS always, even if we don't have built-in support.
fa463103 13481 (open-network-stream): Add the :always-query-capabilities keyword.
6af7a784 13482
95f41d9a
LMI
13483 * mail/smtpmail.el: Rewritten to do opportunistic STARTTLS
13484 upgrades with `open-network-stream', and rely solely on
13485 auth-source for all credentials. Big changes throughout the file,
13486 but in particular:
c9d29fb8
SM
13487 (smtpmail-auth-credentials): Remove.
13488 (smtpmail-starttls-credentials): Remove.
7d36ad46
LMI
13489 (smtpmail-via-smtp): Check for servers saying they want AUTH after
13490 MAIL FROM, too.
95f41d9a 13491
c9d29fb8
SM
13492 * net/network-stream.el (network-stream-open-starttls):
13493 Provide support for client certificates both for external and built-in
4ea31e07
LMI
13494 STARTTLS.
13495 (auth-source): Require.
13496 (open-network-stream): Document the :client-certificate keyword.
eb8c9362
LMI
13497 (network-stream-certificate): Change cert-cert to cert and
13498 cert-key to key.
4ea31e07 13499
065ec2c7
MA
135002011-06-21 Michael Albinus <michael.albinus@gmx.de>
13501
13502 * net/tramp-cache.el (top): Don't load the persistency file when
13503 "emacs -Q" has been called.
13504
cd93b359
DR
135052011-06-21 Tim Harper <timcharper@gmail.com>
13506
d8e4b68b
JB
13507 * term/ns-win.el (ns-initialize-window-system):
13508 Set application-specific `ApplePressAndHoldEnabled' system
cd93b359
DR
13509 resource to NO as it is not yet supported by the NS port.
13510
ae9c0411
JB
135112011-06-21 Juanma Barranquero <lekktu@gmail.com>
13512
13513 * misc.el (list-dynamic-libraries--refresh): Compute header here...
13514 (list-dynamic-libraries): ...not here.
13515
7f3f739f
LL
135162011-06-21 Leo Liu <sdl.web@gmail.com>
13517
13518 * subr.el (sha1): Implement sha1 using secure-hash.
13519
327c8fb1
MR
135202011-06-21 Martin Rudalics <rudalics@gmx.at>
13521
13522 * window.el (display-buffer-alist): In default value do not
13523 enforce searching a window on any but the selected frame.
13524 Reported by Katsumi Yamaoka <yamaoka@jpl.org>.
13525 (display-buffer-select-window): Remove function.
13526 (display-buffer-in-window): When a window on another frame gets
13527 reused, do not select it any more but just raise its frame if
13528 necessary (Bug#8851) and (Bug#8856).
13529 (display-buffer-normalize-options): Handle pop-up-frames related
13530 options more faithfully.
13531 (pop-to-buffer): Don't rely on `display-buffer' selecting the
13532 window if it is on another frame.
c9d29fb8
SM
13533 (display-buffer-alist, display-buffer-default-specifiers):
13534 Don't make new frame unsplittable by default.
9e9de014
MR
13535 (display-buffer-normalize-argument): Fix doc-string typo and use
13536 'same-frame-other-window instead of 'other-window when associating
13537 with display-buffer-macro-specifiers.
327c8fb1 13538
7cf3f556
VB
135392011-06-21 Vincent Belaïche <vincent.b.1@hotmail.fr>
13540
13541 * play/5x5.el (5x5-solve-rotate-left, 5x5-solve-rotate-right):
13542 New functions.
13543 (5x5-mode-map, 5x5-mode-menu): Bind them.
13544 (5x5-draw-grid): Tweak the solver's rendering.
13545
60a406cf
SM
135462011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13547
13548 * progmodes/compile.el (compilation-error-regexp-alist-alist): Rename
13549 `caml' to `python-tracebacks-and-caml'; allow leading tabs (bug#8585).
13550
d8e4b68b 135512011-06-21 Drew Adams <drew.adams@oracle.com>
5d907d6c
DA
13552
13553 * menu-bar.el: Use function variable instead of switch-to-buffer.
13554 (menu-bar-select-buffer-function): New variable.
60a406cf 13555 (menu-bar-update-buffers): Use it (bug#8876).
5d907d6c 13556
478d6f95
SM
135572011-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
13558
13559 * emacs-lisp/bytecomp.el (add-to-list): Add handler to check the
13560 variable's status.
13561
ca530739
JD
135622011-06-20 Jan Djärv <jan.h.d@swipnet.se>
13563
13564 * x-dnd.el (x-dnd-version-from-flags)
13565 (x-dnd-more-than-3-from-flags): New functions that handle long-as-cons
13566 and long as number (Bug#8899).
13567 (x-dnd-handle-xdnd): Call functions above (Bug#8899).
13568
bcd70d97
SM
135692011-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
13570
60a406cf 13571 * minibuffer.el (completion-metadata): Add `metadata' to the alist.
4cb3bfa0
SM
13572 (completion-try-completion, completion-all-completions): Compute the
13573 metadata argument if it's missing; make it optional (bug#8795).
13574
60a406cf 13575 * wid-edit.el: Use lex-bind and move towards completion-at-point.
bcd70d97
SM
13576 (widget-complete): Use new :completion-function property.
13577 (widget-completions-at-point): New function.
13578 (default): Use :completion-function instead of :complete.
60a406cf
SM
13579 (widget-default-completions): Rename from widget-default-complete;
13580 Rewrite.
bcd70d97
SM
13581 (widget-string-complete, widget-file-complete, widget-color-complete):
13582 Remove functions.
13583 (file, symbol, function, variable, coding-system, color):
13584 * international/mule-cmds.el (default-input-method, charset)
13585 (language-info-custom-alist):
13586 * cus-edit.el (face): Use new property :completions.
13587
13588 * progmodes/pascal.el (pascal-completions-at-point): New function.
13589 (pascal-mode): Use it.
13590 (pascal-mode-map): Use completion-at-point.
13591 (pascal-toggle-completions): Make obsolete.
13592 (pascal-complete-word, pascal-show-completions):
13593 * progmodes/octave-mod.el (octave-complete-symbol):
13594 Redefine as obsolete alias.
13595 * progmodes/octave-inf.el (inferior-octave-completion-at-point):
13596 Signal absence of completion info for old Octave,
13597 (inferior-octave-complete): Redefine as obsolete alias.
13598 * progmodes/meta-mode.el: Use lexical-binding and completion-at-point.
13599 (meta-completions-at-point): Rename from meta-complete-symbol and
13600 adapt it for use on completion-at-point-functions.
13601 (meta-common-mode): Use it.
13602 (meta-looking-at-backward, meta-match-buffer): Remove.
13603 (meta-complete-symbol): Redefine as obsolete alias.
13604 (meta-common-mode-map): Use completion-at-point.
13605 * progmodes/make-mode.el: Use lexical-binding and completion-at-point.
13606 (makefile-mode-map): Use completion-at-point.
13607 (makefile-completions-at-point): Rename from makefile-complete and
13608 adapt it for use on completion-at-point-functions.
13609 (makefile-mode): Use it.
13610 (makefile-complete): Redefine as obsolete alias.
13611
aebf69c8
DD
136122011-06-20 Deniz Dogan <deniz@dogan.se>
13613
13614 * net/rcirc.el: Delete trailing whitespaces once and for all.
13615
bfbbb27d
DC
136162011-06-20 Daniel Colascione <dan.colascione@gmail.com>
13617
13618 * emacs-lisp/syntax.el (syntax-ppss): Further improve docstring.
13619
d264a46b
CY
136202011-06-19 Chong Yidong <cyd@stupidchicken.com>
13621
4ca009e5
CY
13622 * files.el (auto-mode-alist): Entry for m2-mode (Bug#8852).
13623
d264a46b
CY
13624 * info.el (Info-apropos-toc-nodes): Minor doc fix (Bug#8833).
13625
fbf5b3ce
MR
136262011-06-19 Martin Rudalics <rudalics@gmx.at>
13627
13628 * window.el (display-buffer-other-window-means-other-frame):
13629 Call display-buffer-normalize-alist.
13630 (display-buffer-normalize-specifiers-1): Rename to
13631 display-buffer-normalize-argument. New argument other-frame.
13632 Rewrite.
13633 (display-buffer-normalize-specifiers-2): Rename to
13634 display-buffer-normalize-options.
13635 (display-buffer-normalize-alist-1): New function.
13636 (display-buffer-normalize-specifiers-3): Rename to
bcd70d97
SM
13637 display-buffer-normalize-alist.
13638 Call display-buffer-normalize-alist-1.
fbf5b3ce
MR
13639 (display-buffer-normalize-options-inhibit): New variable.
13640 (display-buffer-normalize-specifiers): Rewrite calling
13641 display-buffer-normalize-alist,
13642 display-buffer-normalize-argument, and
13643 display-buffer-normalize-options. Don't call the latter if
13644 display-buffer-normalize-options-inhibit is non-nil.
13645 (frame-auto-delete): New option.
13646 (window-deletable-p): Use frame-auto-delete.
9d89fec7
MR
13647 (window-list-no-nils, window-state-ignored-parameters)
13648 (window-state-get-1, window-state-get, window-state-put-list)
bcd70d97
SM
13649 (window-state-put-1, window-state-put-2, window-state-put):
13650 New functions.
9a028c23
MR
13651 (display-buffer-normalize-options): Move special-display-p group
13652 after pop-up-frame group (Bug#8851) and (Bug#8856).
fbf5b3ce 13653
6d10d800
CY
136542011-06-18 Chong Yidong <cyd@stupidchicken.com>
13655
6420d28b
CY
13656 * emacs-lisp/rx.el (rx-constituents): Add support for numbered
13657 groups (Bug#8776).
13658 (rx-submatch-n): New function.
13659 (rx): Document it.
13660
ddb8b596
CY
13661 * dired-x.el (dired-mark-unmarked-files): Fix interactive spec
13662 (Bug#8768).
13663
13664 * replace.el (occur-mode-map): Set occur-edit-mode binding to "e".
13665
77080289
CY
13666 * textmodes/fill.el (default-justification): Add :safe (Bug#8879).
13667
61dfb316
CY
13668 * cus-face.el (custom-declare-face): Call custom-theme-recalc face
13669 anytime existing face settings are present (Bug#8889).
13670
6d10d800
CY
13671 * progmodes/delphi.el (delphi-mode-syntax-table): Use defvar.
13672 (delphi-mode): Use define-derived-mode to inherit from prog-mode.
13673 Remove unused argument.
13674
be3fb2b8
MR
136752011-06-18 Martin Rudalics <rudalics@gmx.at>
13676
bcd70d97
SM
13677 * window.el (display-buffer-default-specifiers):
13678 Remove pop-up-frame. Add pop-up-window-min-height,
be3fb2b8
MR
13679 pop-up-window-min-width, and another reuse-window specifier
13680 (Bug#8882). Reported by Dan Nicolaescu <dann@gnu.org>.
bcd70d97
SM
13681 (display-buffer-normalize-specifiers-2):
13682 Handle split-height-threshold and split-width-threshold also when
be3fb2b8
MR
13683 pop-up-windows is unset. Add a reuse-window specifier for the
13684 case popping up a new window fails.
13685 (special-display-popup-frame): Remove double quoting.
28dec25a 13686 (display-buffer-normalize-specifiers-1): Fix thinko.
be3fb2b8 13687
1c6d8c76
SM
136882011-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
13689
13690 * shell.el (shell-completion-vars): Set pcomplete-termination-string
13691 according to comint-completion-addsuffix.
13692
13693 * pcomplete.el: Convert to lexical binding and fix bug#8819.
13694 (pcomplete-suffix-list): Mark as obsolete.
13695 (pcomplete-completions-at-point): Capture pcomplete-norm-func and
13696 pcomplete-seen in the closure.
13697 (pcomplete-comint-setup): Setup completion-at-point as well.
13698 (pcomplete--entries): New function.
13699 (pcomplete--env-regexp): New var.
13700 (pcomplete-entries): Rewrite to work with partial-completion and
13701 without relying on pcomplete-suffix-list.
13702 (pcomplete-pare-list): Remove, unused.
13703
25aef8b8
MR
137042011-06-17 Martin Rudalics <rudalics@gmx.at>
13705
13706 * window.el (display-buffer-alist): Set pop-up-window-min-height
13707 and pop-up-window-min-width in default value. Reported by
13708 Thierry Volpiatto <thierry.volpiatto@gmail.com>. New specifier
13709 other-window-means-other-frame.
13710 (display-buffer-macro-specifiers): Comment out entry for
13711 other-window specifier.
13712 (display-buffer-other-window-means-other-frame): New function.
13713 (display-buffer-normalize-specifiers-1): New arguments
13714 buffer-name and label. Treat other-window case specially.
13715 (display-buffer-normalize-specifiers-2): Treat other-window case
13716 specially.
13717 (display-buffer-normalize-specifiers-3): New function.
bcd70d97
SM
13718 (display-buffer-normalize-specifiers):
13719 Call display-buffer-normalize-specifiers-3.
25aef8b8 13720
dbad4f69
MR
137212011-06-17 Martin Rudalics <rudalics@gmx.at>
13722
13723 * window.el (same-window-p): Fix two typos introduced when
13724 adding with-no-warnings.
d1067961
MR
13725 (display-buffer-normalize-specifiers-1): Don't check
13726 pop-up-frames for 'unset initialization.
13727 (display-buffer-normalize-specifiers-2): Major rewrite using
13728 special-display-p and same-window-p (Bug#8851) and (Bug#8856).
13729 (pop-up-frames, display-buffer-reuse-frames)
13730 (display-buffer-mark-dedicated): Don't initialize to 'unset.
13731 Suggested by David Engster <deng@randomsample.de>.
13732 (even-window-heights): Initialize to 'unset.
13733 (display-buffer-alist-set): Handle new 'unset initializations.
25aef8b8
MR
13734 (display-buffer-macro-specifiers): Don't pop up a new frame in the
13735 other window case.
dbad4f69 13736
9b9c9e3a
MR
137372011-06-16 Martin Rudalics <rudalics@gmx.at>
13738
bcd70d97
SM
13739 * window.el (display-buffer-normalize-specifiers-1):
13740 Respect current value of pop-up-frames for most reasonable values of
9b9c9e3a 13741 second argument of display-buffer (Bug#8865).
981d5c09
MR
13742 (switch-to-buffer-same-frame, switch-to-buffer-other-window)
13743 (switch-to-buffer-other-window-same-frame)
13744 (switch-to-buffer-other-frame): Fix doc-strings. Reported by Drew
13745 Adams (Bug#8875).
9c2755e9
MR
13746 (display-buffer): Don't check noninteractive when calling
13747 display-buffer-pop-up-frame.
13748 (display-buffer-pop-up-frame): Never pop up a frame in
13749 noninteractive mode (Bug#8857).
67222e1d
MR
13750 (enlarge-window, shrink-window): Don't report an error when the
13751 window can't be resized as requested (Bug#8862).
9b9c9e3a 13752
2b75be67
SM
137532011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13754
9ffdd3ba
SM
13755 * pcmpl-rpm.el (pcomplete/rpm): Minor simplification.
13756
cb581a67
SM
13757 * emacs-lisp/debug.el (debug): Don't leave the buffer in Debugger.
13758
2b75be67
SM
13759 * abbrev.el (define-abbrev-table): Don't add a table multiple times.
13760
8c0e3589
AM
137612011-06-15 Alan Mackenzie <acm@muc.de>
13762
cb581a67
SM
13763 * progmodes/cc-fonts.el (c-font-lock-declarations): 1: Whilst checking
13764 for declarators, disable knr checking to speed up for normal files.
13765 2: Refactor, replacing a sequence of nested if forms by a cond form.
8c0e3589 13766
b96e6cde
LMI
137672011-06-15 Lars Magne Ingebrigtsen <larsi@gnus.org>
13768
4bba86e6
LMI
13769 * net/network-stream.el (open-network-stream): Add the keyword
13770 :always-query-capabilities for the case where you want to force a
13771 `plain' network connection, but the protocol still requires the
13772 capabilitiy command (i.e., SMTP and EHLO).
13773
2b75be67 13774 * subr.el (process-live-p): Rename from `process-alive-p' for
b96e6cde
LMI
13775 consistency with other `-live-p' functions.
13776
efdcdbf8
SM
137772011-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
13778
13779 * window.el (same-window-buffer-names, same-window-regexps)
13780 (special-display-frame-alist, special-display-popup-frame)
13781 (special-display-function, special-display-buffer-names)
13782 (special-display-regexps, pop-up-frame-alist)
13783 (pop-up-frame-function, pop-up-frames, display-buffer-reuse-frames)
13784 (pop-up-windows, split-window-preferred-function)
13785 (split-height-threshold, split-width-threshold, even-window-heights)
13786 (display-buffer-mark-dedicated): Don't encourage the use of
13787 display-buffer-alist from Elisp code.
13788
c5cde042
DN
137892011-06-15 Dan Nicolaescu <dann@ics.uci.edu>
13790
13791 * progmodes/python.el (python-mode): Derive from prog-mode.
13792 * progmodes/ps-mode.el (ps-mode):
13793 * progmodes/mixal-mode.el (mixal-mode):
50328a1b 13794 * progmodes/cfengine.el (cfengine-mode):
c5cde042
DN
13795 * progmodes/ld-script.el (ld-script-mode): Likewise.
13796
baa1c9ab
MR
137972011-06-15 Martin Rudalics <rudalics@gmx.at>
13798
13799 * window.el (display-buffer-alist): Trim default value to avoid
13800 popping up a new frame (Bug#8857) or reusing an arbitrary window
13801 on another frame.
13802 (display-buffer): Do not fall back on popping up a new frame in
13803 batch mode (Bug#8857).
13804
c5dd5a51
CY
138052011-06-14 Chong Yidong <cyd@stupidchicken.com>
13806
13807 * cus-theme.el (describe-theme-1): Use custom-theme-p.
13808 (custom-theme-summary): New function.
13809 (customize-themes): Use it.
13810
d647b7c4
GM
138112011-06-13 Glenn Morris <rgm@gnu.org>
13812
13813 * cus-dep.el (custom-make-dependencies): Use up command-line-args-left.
13814
9481c002
MR
138152011-06-13 Martin Rudalics <rudalics@gmx.at>
13816
357f93d2
MR
13817 * help.el (help-window): Remove variable.
13818 (help-window-point-marker, temp-buffer-max-height)
13819 (temp-buffer-resize-mode, help-window-select): Rewrite doc-strings.
13820 (help-print-return-message): Don't set help-window.
13821 (resize-temp-buffer-window): Rewrite cod eand doc-string.
13822 (help-window-setup-finish): Remove.
13823 (help-window-display-message, help-window-setup)
13824 (with-help-window): Major rewrite based on new
13825 display-buffer-window variable.
13826
13827 * help-mode.el (help-mode-finish): Remove help-window related
13828 code.
13829
13830 * view.el (view-exits-all-viewing-windows): Remove reference to
13831 view-return-to-alist in doc-string.
13832 (view-return-to-alist): Make obsolete.
13833 (view-buffer): Call pop-to-buffer-same-window and remove
13834 undo-window code.
13835 (view-buffer-other-window): Call pop-to-buffer-other-window and
13836 simplify code. Ignore second argument.
13837 (view-buffer-other-frame): Call pop-to-buffer-other-frame and
13838 simplify code. Ignore second argument.
13839 (view-return-to-alist-update): Make obsolete.
13840 (view-mode-enter): Rename second argument to QUIT-RESTORE.
13841 Rewrite using quit-restore window parameters.
2b75be67
SM
13842 (view-mode-exit): Rename second argument to EXIT-ONLY.
13843 Rewrite using quit-restore-window.
357f93d2
MR
13844 (View-exit, View-exit-and-edit, View-leave, View-quit)
13845 (View-quit-all, View-kill-and-leave): Call view-mode-exit with
13846 appropriate arguments.
13847 (view-end-message): Use quit-restore window parameter.
13848
9481c002
MR
13849 * window.el (display-buffer-function): Rewrite doc-string.
13850 (display-buffer-window, display-buffer-alist): New variables.
13851 (display-buffer-split-specifiers)
13852 (display-buffer-side-specifiers)
13853 (display-buffer-macro-specifiers): New constants.
13854 (display-buffer-even-window-sizes, display-buffer-set-height)
13855 (display-buffer-set-width, display-buffer-select-window)
13856 (display-buffer-in-window, display-buffer-reuse-window)
13857 (display-buffer-split-window-1, display-buffer-split-window)
13858 (display-buffer-split-atom-window, display-buffer-pop-up-window)
13859 (display-buffer-pop-up-frame, display-buffer-pop-up-side-window)
13860 (display-buffer-in-side-window, normalize-buffer-to-display)
13861 (display-buffer-normalize-specifiers-1)
13862 (display-buffer-normalize-specifiers-2)
2b75be67
SM
13863 (display-buffer-normalize-specifiers, display-buffer-frame):
13864 New functions.
9481c002
MR
13865 (display-buffer): Major rewrite.
13866 (display-buffer-other-window, display-buffer-other-frame)
13867 (pop-to-buffer, switch-to-buffer-other-window)
13868 (switch-to-buffer-other-frame): Rewrite.
13869 (display-buffer-same-window, display-buffer-same-frame)
13870 (display-buffer-same-frame-other-window)
13871 (pop-to-buffer-same-window, pop-to-buffer-same-frame)
13872 (pop-to-buffer-other-window)
13873 (pop-to-buffer-same-frame-other-window)
13874 (pop-to-buffer-other-frame, switch-to-buffer-same-frame)
13875 (switch-to-buffer-other-window-same-frame): New functions.
13876 (same-window-p, special-display-p): Rewrite disabling warnings.
13877 Make obsolete.
13878 (pop-up-frames, display-buffer-reuse-frames, pop-up-windows)
13879 (display-buffer-mark-dedicated): Initialize to symbol 'unset.
13880 Make obsolete
13881 (same-window-buffer-names, same-window-regexps)
13882 (special-display-frame-alist, special-display-popup-frame)
13883 (special-display-function, special-display-buffer-names)
13884 (special-display-regexps, pop-up-frame-alist)
13885 (pop-up-frame-function, split-window-preferred-function)
13886 (split-height-threshold, split-width-threshold)
13887 (even-window-heights): Make obsolete.
13888
9db51aca
GM
138892011-06-12 Glenn Morris <rgm@gnu.org>
13890
13891 * term/xterm.el (terminal-init-xterm): `version' may be nil. (Bug#8838)
7cb363eb 13892 Misc simplifications.
9db51aca 13893
39cffb44
MR
138942011-06-12 Martin Rudalics <rudalics@gmx.at>
13895
13896 * window.el (window-safely-shrinkable-p): Restore function which
13897 was inadvertently removed in change from 2011-06-11. Declare as
13898 obsolete.
13899
2b75be67
SM
13900 * calendar/calendar.el (calendar-generate-window):
13901 Use window-iso-combined-p instead of combination of one-window-p and
39cffb44
MR
13902 window-safely-shrinkable-p.
13903
a8955be7
GM
139042011-06-12 Glenn Morris <rgm@gnu.org>
13905
13906 * progmodes/fortran.el (fortran-mode-syntax-table):
13907 * progmodes/f90.el (f90-mode-syntax-table):
13908 Set % to punctuation. (Bug#8820)
13909 (f90-find-tag-default): Remove, no longer needed.
13910
f0d4059d
DC
139112011-06-12 Daniel Colascione <dan.colascione@gmail.com>
13912
13913 * emacs-lisp/syntax.el (syntax-ppss): Clarify which items are invalid.
13914
1100a63c
CY
139152011-06-11 Chong Yidong <cyd@stupidchicken.com>
13916
13917 * image.el (image-animated-p): Return animation delay in seconds.
13918 Avoid bit manipulation in Lisp; use `delay' entry in the metadata.
13919 (image-animate-timeout): Remove DELAY argument. Don't assume
13920 every subimage has the same delay; get it from image-animated-p.
13921 (image-animate): Caller changed.
13922
def722bf
MA
139232011-06-11 Michael Albinus <michael.albinus@gmx.de>
13924
13925 * net/tramp.el (tramp-debug-message): Add `tramp-with-progress-reporter'
13926 to ignored backtrace functions.
13927
0a2bb1a9
GM
139282011-06-11 Glenn Morris <rgm@gnu.org>
13929
13930 * calendar/appt.el (appt-disp-window-function): Doc fix.
13931 (appt-check): Handle overlapping appointments. (Bug#8337)
13932
6198ccd0
MR
139332011-06-11 Martin Rudalics <rudalics@gmx.at>
13934
13935 * window.el (window-tree-1, window-tree): New functions, moving
13936 the latter to window.el.
13937 (bw-get-tree, bw-get-tree-1, bw-find-tree-sub)
13938 (bw-find-tree-sub-1, bw-l, bw-t, bw-r, bw-b, bw-dir, bw-eqdir)
13939 (bw-refresh-edges): Remove.
13940 (balance-windows-1, balance-windows-2): New functions.
13941 (balance-windows): Rewrite in terms of window tree functions,
13942 balance-windows-1 and balance-windows-2.
13943 (bw-adjust-window): Remove.
13944 (balance-windows-area-adjust): New function with functionality of
13945 bw-adjust-window but using resize-window.
2b75be67
SM
13946 (set-window-text-height): Rewrite doc-string.
13947 Use normalize-live-window and resize-window.
13948 (enlarge-window-horizontally, shrink-window-horizontally):
13949 Rename argument to DELTA.
6198ccd0
MR
13950 (window-buffer-height): New function.
13951 (fit-window-to-buffer, shrink-window-if-larger-than-buffer):
13952 Rewrite using new window resize routines.
2b75be67
SM
13953 (kill-buffer-and-window, mouse-autoselect-window-select):
13954 Use ignore-errors instead of condition-case.
6198ccd0
MR
13955 (quit-window): Call delete-frame instead of delete-windows-on
13956 for the only buffer on frame.
13957
9397e56f
MR
139582011-06-10 Martin Rudalics <rudalics@gmx.at>
13959
13960 * loadup.el (top-level): Load window before files for the sake
13961 of replace-buffer-in-windows.
13962
13963 * files.el (read-buffer-to-switch)
13964 (switch-to-buffer-other-window)
2b75be67
SM
13965 (switch-to-buffer-other-frame, display-buffer-other-frame):
13966 Move to window.el.
9397e56f
MR
13967
13968 * simple.el (get-next-valid-buffer, last-buffer, next-buffer)
13969 (previous-buffer): Move to window.el.
13970
13971 * bindings.el (unbury-buffer): Move to window.el.
13972
13973 * window.el (delete-other-windows-vertically): Move after
13974 definition of delete-other-windows.
13975 (other-window, delete-windows-on, replace-buffer-in-windows):
13976 Move here from window.c.
13977 (record-window-buffer, unrecord-window-buffer)
13978 (set-window-buffer-start-and-point, switch-to-prev-buffer)
13979 (switch-to-next-buffer): New functions.
13980 (get-next-valid-buffer, last-buffer, next-buffer): Move here
13981 from simple.el. Call switch-to-next-buffer.
2b75be67
SM
13982 (previous-buffer): Move here from simple.el.
13983 Call switch-to-prev-buffer.
9397e56f
MR
13984 (bury-buffer): Move here from buffer.c. Switch to previous
13985 buffer when window cannot be deleted.
13986 (unbury-buffer): Move here from bindings.el.
13987 (ctl-x-map): Move binding for other-window from window.c to
13988 here.
13989 (read-buffer-to-switch, switch-to-buffer-other-window)
13990 (switch-to-buffer-other-frame): Move here from files.el.
13991 (normalize-buffer-to-switch-to): New functions.
2b75be67
SM
13992 (switch-to-buffer): Move here from buffer.c.
13993 Use read-buffer-to-switch and normalize-buffer-to-switch-to.
9397e56f 13994
562dd5e9
MR
139952011-06-10 Martin Rudalics <rudalics@gmx.at>
13996
13997 * window.el (window-min-height, window-min-width): Move here
13998 from window.c. Add defcustoms and rewrite doc-strings.
13999 (resize-mini-window, resize-window): New functions.
14000 (adjust-window-trailing-edge, enlarge-window, shrink-window):
14001 Move here from window.c.
14002 (maximize-window, minimize-window): New functions.
14003 (delete-window, delete-other-windows, split-window): Move here
14004 from window.c.
14005 (window-split-min-size): New function.
14006 (split-window-keep-point): Mention split-window-above-each-other
14007 instead of split-window-vertically.
2b75be67 14008 (split-window-above-each-other, split-window-vertically):
1154d12e
JB
14009 Rename split-window-vertically to split-window-above-each-other
14010 and provide defalias for old definition.
14011 (split-window-side-by-side, split-window-horizontally):
14012 Rename split-window-horizontally to split-window-side-by-side
14013 and provide defalias for the old definition.
562dd5e9
MR
14014 (ctl-x-map): Move bindings for delete-window,
14015 delete-other-windows and enlarge-window here from window.c.
14016 Replace bindings for split-window-vertically and
14017 split-window-horizontally by bindings for
14018 split-window-above-each-other and split-window-side-by-side.
14019
14020 * cus-start.el (all): Remove entries for window-min-height and
14021 window-min-width. Add entries for window-splits and
14022 window-nest.
14023
f0da764a
GM
140242011-06-09 Glenn Morris <rgm@gnu.org>
14025
80675c21
GM
14026 * calendar/appt.el (appt-mode-line): New function.
14027 (appt-check, appt-disp-window): Use it.
14028
f0da764a
GM
14029 * files.el (hack-one-local-variable-eval-safep):
14030 Allow minor-modes with explicit +/-1 arguments.
14031
59f623b7
TZ
140322011-06-09 Teodor Zlatanov <tzz@lifelogs.com>
14033
14034 * term/xterm.el (xterm): Add defgroup.
14035 (xterm-extra-capabilities): Add defcustom to supply known xterm
14036 capabilities, skip querying them, or query them (default).
14037 (terminal-init-xterm): Use it.
14038 (terminal-init-xterm-modify-other-keys): New function to set up
14039 modifyOtherKeys support to simplify `terminal-init-xterm'.
14040
9aab8e0d
MR
140412011-06-09 Martin Rudalics <rudalics@gmx.at>
14042
14043 * window.el (resize-window-reset, resize-window-reset-1)
14044 (resize-subwindows-skip-p, resize-subwindows-normal)
14045 (resize-subwindows, resize-other-windows, resize-this-window)
14046 (resize-root-window, resize-root-window-vertically)
14047 (window-deletable-p, window-or-subwindow-p)
14048 (frame-root-window-p): New functions.
14049
e8b08aee
GM
140502011-06-09 Glenn Morris <rgm@gnu.org>
14051
14052 * net/ange-ftp.el (ange-ftp-switches-ok): New function.
14053 (ange-ftp-get-files): Use it.
14054
254c37a5
AK
140552011-06-09 Alexander Klimov <alserkli@inbox.ru> (tiny change)
14056
14057 * mail/sendmail.el (mail-recover-1, mail-recover):
14058 * files.el (recover-file, recover-session):
14059 Handle dired-listing-switches not being just a single short option.
14060
35d7dbd3
GM
140612011-06-09 Glenn Morris <rgm@gnu.org>
14062
14063 * calendar/appt.el (appt-display-message, appt-disp-window):
14064 Handle lists of appointments.
14065
387522b2
MR
140662011-06-08 Martin Rudalics <rudalics@gmx.at>
14067
2b75be67
SM
14068 * window.el (one-window-p): Move down in code.
14069 Rewrite doc-string.
14070 (window-current-scroll-bars): Rewrite doc-string.
14071 Normalize live window argument.
387522b2
MR
14072 (walk-windows, get-window-with-predicate, count-windows):
14073 Rewrite doc-string. Use window-list-1.
14074 (window-in-direction-2, window-in-direction, get-mru-window):
14075 New functions.
14076
d8e4b68b 140772011-06-08 Reuben Thomas <rrt@sc3d.org>
2c587104
GM
14078
14079 * progmodes/flymake.el (flymake-compilation-prevents-syntax-check):
14080 Doc fix (Bug#8713).
14081
140822011-06-08 Chong Yidong <cyd@stupidchicken.com>
14083
14084 * repeat.el (repeat-on-final-keystroke): Fix type (Bug#8696).
14085
140862011-06-08 Juanma Barranquero <lekktu@gmail.com>
14087
14088 * loadhist.el (unload-feature-special-hooks):
14089 Add `comint-output-filter-functions'.
14090
0de12c52
IK
140912011-06-08 Ivan Kanis <gnu@kanis.fr>
14092
14093 * calendar/appt.el (appt-check): Move some initializations into the let.
14094
f3d1777e
MR
140952011-06-08 Martin Rudalics <rudalics@gmx.at>
14096
14097 * window.el (window-height): Defalias to window-total-height.
14098 (window-width): Defalias to window-body-width.
14099
18af70d0
CY
141002011-06-07 Chong Yidong <cyd@stupidchicken.com>
14101
14102 * image-mode.el (image-toggle-animation): New command.
14103 (image-mode-map): Bind it to RET.
14104 (image-mode): Update message.
14105 (image-toggle-display-image): Avoid a spurious cache flush.
14106 (image-transform-rotation): Doc fix.
14107 (image-transform-properties): Return quickly in the normal case.
14108 (image-animate-loop): Rename from image-animate-max-time.
14109
2b75be67 14110 * image.el (image-animate-max-time): Move to image-mode.el.
18af70d0
CY
14111 (create-animated-image): Remove unnecessary function.
14112 (image-animate): Rename from image-animate-start. New arg.
2b75be67 14113 (image-animate-stop): Remove; just use image-animate-timer.
18af70d0
CY
14114 (image-animate-timer): Use car-safe.
14115 (image-animate-timeout): Rename argument.
14116
190b47e6
MR
141172011-06-07 Martin Rudalics <rudalics@gmx.at>
14118
14119 * window.el (get-lru-window, get-largest-window): Move here from
2b75be67
SM
14120 window.c. Rename first argument to ALL-FRAMES.
14121 Rephrase doc-strings.
14122 (get-buffer-window-list): Rewrite using window-list-1.
14123 Rephrase doc-string.
a1511caf
MR
14124 (window-safe-min-height, window-safe-min-width): New constants.
14125 (window-size-ignore, window-min-size, window-min-size-1)
14126 (window-sizable, window-sizable-p, window-size-fixed-1)
14127 (window-size-fixed-p, window-min-delta-1, window-min-delta)
14128 (window-max-delta-1, window-max-delta, window-resizable)
14129 (window-resizable-p, window-total-height, window-total-width)
14130 (window-body-width): New functions.
14131 (window-full-height-p, window-full-width-p): Rewrite using
14132 window-total-size.
14133 (window-body-height): Rewrite using window-body-size.
190b47e6 14134
85cc1f11
MR
141352011-06-06 Martin Rudalics <rudalics@gmx.at>
14136
14137 * window.el (window-right, window-left, window-child)
14138 (window-child-count, window-last-child, window-any-p)
14139 (normalize-live-buffer, normalize-live-frame)
14140 (normalize-any-window, normalize-live-window)
14141 (window-iso-combination-p, window-iso-combined-p)
14142 (window-iso-combinations)
14143 (walk-window-tree-1, walk-window-tree, walk-window-subtree)
14144 (windows-with-parameter, window-with-parameter)
14145 (window-atom-root, make-window-atom, window-atom-check-1)
2b75be67
SM
14146 (window-atom-check, window-side-check, window-check):
14147 New functions.
85cc1f11
MR
14148 (ignore-window-parameters, window-sides, window-sides-vertical)
14149 (window-sides-slots): New variables.
14150 (window-size-fixed): Move down in code. Minor doc-string fix.
14151
e7156492
AS
141522011-06-05 Andreas Schwab <schwab@linux-m68k.org>
14153
14154 * comint.el (comint-dynamic-complete-as-filename)
14155 (comint-dynamic-complete-filename): Correctly call
14156 completion-in-region.
14157
7e821d0d
DD
141582011-06-05 Deniz Dogan <deniz@dogan.se>
14159
14160 * net/rcirc.el (rcirc-prompt-for-encryption): Fix bug introduced
14161 in last change.
14162
ac09b8a1
DD
141632011-06-05 Deniz Dogan <deniz@dogan.se>
14164
14165 * net/rcirc.el (rcirc-prompt-for-encryption): New function.
14166 (rcirc): Use it to prompt for encryption.
14167
34699b85
RW
141682011-06-05 Roland Winkler <winkler@gnu.org>
14169
14170 * textmodes/bibtex.el (bibtex-search-buffer): New variable.
14171 (bibtex-search-entries): New command bound to C-c C-a.
14172 (bibtex-display-entries): New function.
14173
004dedd3
RW
141742011-06-05 Roland Winkler <winkler@gnu.org>
14175
14176 * textmodes/bibtex.el (bibtex-generate-url-list): Fix docstring.
14177 (bibtex-insert-kill): After yanking insert newline if necessary.
14178 (bibtex-initialize): Call bibtex-string-files-init only once.
14179 (bibtex-mode): Do not call easy-menu-add.
14180 (bibtex-validate-globally): Use save-excursion in bibtex buffers.
14181 (bibtex-yank): Set arg properly if nil.
14182
022fe7ce
RW
141832011-06-05 Roland Winkler <winkler@gnu.org>
14184
2b75be67
SM
14185 * textmodes/bibtex.el (bibtex-search-entry-globally):
14186 New variable.
022fe7ce
RW
14187 (bibtex-search-entry): Use it.
14188
b7c3692a
RW
141892011-06-05 Roland Winkler <winkler@gnu.org>
14190
14191 * textmodes/bibtex.el (bibtex-entry-format): New option
14192 sort-fields.
14193 (bibtex-format-entry, bibtex-reformat): Honor this option.
14194 (bibtex-parse-entry): Return fields in proper order.
14195
8eda563d
JB
141962011-06-05 Juanma Barranquero <lekktu@gmail.com>
14197
14198 * doc-view.el (doc-view-remove-if): Move computation of result out
14199 of `dolist' to silence misleading lexical-binding warning.
14200
7dbe3dbc
CY
142012011-06-04 Chong Yidong <cyd@stupidchicken.com>
14202
14203 * emacs-lisp/timer.el (timer-activate): Remove unused arg.
14204 (timer-activate, timer-activate-when-idle): Doc fix (Bug#8793).
14205
0c33dd17
MA
142062011-06-04 Michael Albinus <michael.albinus@gmx.de>
14207
14208 * net/tramp-sh.el (tramp-find-shell): Apply workaround also for
14209 "SunOS 5.10".
14210
f8f91c2b
MA
142112011-06-04 Michael Albinus <michael.albinus@gmx.de>
14212
14213 * net/tramp.el (tramp-set-completion-function, tramp-parse-rhosts)
14214 (tramp-parse-shosts, tramp-parse-sconfig, tramp-parse-shostkeys)
14215 (tramp-parse-hosts, tramp-parse-passwd, tramp-parse-netrc)
14216 (tramp-parse-putty):
14217 * net/tramp-sh.el (tramp-completion-function-alist-rsh)
14218 (tramp-completion-function-alist-ssh)
14219 (tramp-completion-function-alist-telnet)
14220 (tramp-completion-function-alist-su)
14221 (tramp-completion-function-alist-putty): Set `tramp-autoload'
14222 cookie.
14223
14224 * net/tramp-ftp.el:
14225 * net/tramp-sh.el:
14226 * net/tramp-smb.el: Set `tramp-autoload' cookie, and eval after
14227 load "tramp.el" `tramp-set-completion-function'.
14228
e17d9003
SM
142292011-06-04 Stefan Monnier <monnier@iro.umontreal.ca>
14230
14231 * shell.el: Require and use pcomplete.
14232 (shell-dynamic-complete-functions): Add pcomplete-completions-at-point.
14233 (shell-completion-vars): Set pcomplete-default-completion-function.
14234
6c4cab03
DD
142352011-06-04 Deniz Dogan <deniz@dogan.se>
14236
14237 * iswitchb.el (iswitchb-window-buffer-p): Use `member' instead of
14238 `memq' (Bug#8799).
14239
ea9fafe0
SM
142402011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14241
14242 * subr.el (make-progress-reporter): Add "..." by default (bug#8785).
14243
b3e945d3
JB
142442011-06-02 Juanma Barranquero <lekktu@gmail.com>
14245
14246 * bs.el (bs--mark-unmark, bs--nth-wrapper):
14247 * mpc.el (mpc-select-extend, mpc-songpointer-context):
14248 * vc/log-view.el (log-view-beginning-of-defun):
14249 * vc/smerge-mode.el (smerge-apply-resolution-patch)
14250 (smerge-refine-forward, smerge-refine-chopup-region):
14251 Silence warning for unused `dotimes' counter variables.
14252
7d520089
SM
142532011-06-02 Stefan Monnier <monnier@iro.umontreal.ca>
14254
14255 * net/tramp.el (tramp-with-progress-reporter): Rename from
14256 with-progress-reporter. Use `declare'.
14257 * net/tramp-smb.el:
14258 * net/tramp-sh.el:
14259 * net/tramp-gvfs.el: Update all uses.
14260
a1c2400f
JB
142612011-06-02 Jay Belanger <jay.p.belanger@gmail.com>
14262
14263 * calc/calc.el (calc-kill-stack-buffer): Make sure that the trail
14264 buffer isn't killed before making it current.
14265
2403c841
SM
142662011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14267
14268 Silence various byte-compiler warnings.
14269 * emacs-lisp/byte-run.el (make-obsolete-variable): New argument
14270 `access-type' and new obsolescence format.
14271 * emacs-lisp/bytecomp.el (byte-compile-warn-obsolete): Adjust to
14272 new format.
14273 (byte-compile-check-variable): New `access-type' argument.
14274 Only warn if the access-type is obsolete.
14275 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
14276 (byte-compile-variable-set): Adjust callers.
14277 * help-fns.el (describe-variable): Adjust to new obsolescence format.
14278 * mail/sendmail.el (mail-mailer-swallows-blank-line): Only mark
14279 setting it as obsolete.
14280 * simple.el (minibuffer-completing-symbol):
14281 * font-lock.el (font-lock-beginning-of-syntax-function): Only mark read
14282 access as obsolete.
14283 * minibuffer.el (minibuffer-completing-file-name): Don't make it
14284 obsolete yet.
14285 * international/quail.el (quail-mouse-choose-completion): Remove unused
14286 code referring to obsolete var.
14287 (quail-choose-completion-string): Remove.
14288 * server.el (server-clients-with, server-kill-buffer-query-function)
14289 (server-kill-emacs-query-function): Silence "unused `proc'" warnings.
14290 * proced.el (proced-send-signal):
14291 * emacs-lisp/lisp.el (lisp-complete-symbol):
14292 Replace completion-annotate-function with completion-extra-properties.
14293
2462470b
SM
142942011-06-01 Stefan Monnier <monnier@iro.umontreal.ca>
14295
fb5b2591
SM
14296 * simple.el (goto-line): Use read-number.
14297 (overriding-map-is-bound): Remove.
14298 (saved-overriding-map): Change default.
14299 (save&set-overriding-map): Rename from ensure-overriding-map-is-bound;
14300 Take the map as argument.
14301 (universal-argument, negative-argument, digit-argument): Use it.
14302 (restore-overriding-map): Adjust.
14303 (do-auto-fill): Use fill-forward-paragraph.
14304 (keyboard-quit): Don't signal an error when debug-on-quit is non-nil.
14305
fd6fa53f
SM
14306 * minibuffer.el (minibuffer-inactive-mode-map): New var.
14307 (minibuffer-inactive-mode): New major mode.
14308 * mouse.el (mouse-drag-region): Remove the "mouse-1 pops up
14309 the *Messages* buffer" hack.
14310 (mouse-popup-menubar): Don't burp if the event is a normal key.
14311
2462470b
SM
14312 Miscellaneous tweaks.
14313 * emacs-lisp/cl-macs.el (dolist, dotimes): Use the same strategy for
14314 lexical scoping as in subr.el's dolist and dotimes.
14315 * emacs-lisp/bytecomp.el (byte-compile-unfold-bcf):
14316 Silence compiler warning.
14317 * thingatpt.el (forward-whitespace): Trivial coding style fix.
14318 * subr.el (with-output-to-temp-buffer): Provide an edebug spec.
14319 * international/ccl.el (ccl-compile): Trivial simplification.
14320 * help-fns.el (help-do-arg-highlight): Silence compiler warning.
14321 * emacs-lisp/testcover.el (testcover-end): Remove spurious
14322 `printflag' argument.
14323 * emacs-lisp/byte-run.el (make-obsolete, make-obsolete-variable):
14324 Purecopy the whole obsolescence data.
14325
108bf785
LL
143262011-06-01 Leo Liu <sdl.web@gmail.com>
14327
14328 * net/rcirc.el (rcirc-decode-coding-system): Revert last change;
14329 improve doc-string as suggested by Marco Pessotto
14330 <melmothx@gmail.com>.
14331 (rcirc-print): Fix last change.
14332
30a23501
SM
143332011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14334
14335 * minibuffer.el (complete-with-action): Return nil for the metadata and
14336 boundaries of non-functional tables.
14337 (completion-table-dynamic): Return nil for the metadata.
14338 (completion-table-with-terminator): Add default case, using
14339 complete-with-action.
14340 (completion--metadata): New function.
14341 (completion-all-sorted-completions, minibuffer-completion-help): Use it
14342 to try and avoid pathological performance problems.
14343 (completion--embedded-envvar-table): Return `category' metadata.
14344
bcd54f83
LMI
143452011-05-31 Lars Magne Ingebrigtsen <larsi@gnus.org>
14346
14347 * subr.el (process-alive-p): New tiny convenience function.
14348
e227544d
SM
143492011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14350
14351 * emacs-lisp/debug.el (debug): Save&restore not just the buffer's
14352 content but also its previous major mode.
14353
e8296fdc
HE
143542011-05-31 Helmut Eller <eller.helmut@gmail.com>
14355
4d61f28d 14356 * emacs-lisp/debug.el (debug): Restore the previous content of the
e8296fdc
HE
14357 *Backtrace* buffer when we exit with C-M-c.
14358
620c53a6
SM
143592011-05-31 Stefan Monnier <monnier@iro.umontreal.ca>
14360
14361 * minibuffer.el: Add metadata method to completion tables.
14362 (completion-category-overrides): New defcustom.
14363 (completion-metadata, completion--field-metadata)
14364 (completion-metadata-get, completion--styles)
14365 (completion--cycle-threshold): New functions.
14366 (completion-try-completion, completion-all-completions):
14367 Add `metadata' argument to choose completion-styles.
14368 (completion--do-completion): Use metadata to choose cycling.
14369 (completion-all-sorted-completions): Use metadata for sorting.
14370 Remove :completion-cycle-penalty which is not needed any more.
14371 (completion--try-word-completion): Add `metadata' argument.
14372 (minibuffer-completion-help): Check metadata for annotation function
14373 and sorting.
14374 (completion-file-name-table): Return `category' metadata.
14375 (minibuffer-completing-file-name): Make obsolete.
14376 * simple.el (minibuffer-completing-symbol): Make obsolete.
14377 * icomplete.el (icomplete-completions): Pass new `metadata' param to
14378 completion-try-completion.
14379
1257e755
SM
143802011-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
14381
14382 * mail/smtpmail.el (smtpmail-send-data): Add progress reporter.
14383
3767e706
LL
143842011-05-30 Leo Liu <sdl.web@gmail.com>
14385
14386 * net/rcirc.el (rcirc-debug-buffer): Use visible buffer name.
5ab33f2b
LL
14387 (rcirc-print): Decode all incoming messages (bug#8744).
14388 (rcirc-decode-coding-system): Allow value nil for automatic coding
14389 system detection.
3767e706 14390
d1a5d56a
GM
143912011-06-01 Glenn Morris <rgm@gnu.org>
14392
14393 * mail/emacsbug.el (report-emacs-bug-hook): Mailclient ignores From.
14394
e8cbec34
CY
143952011-05-29 Chong Yidong <cyd@stupidchicken.com>
14396
14397 * image.el (image-animate-max-time): Allow nil and t values.
14398 Default to nil.
14399 (create-animated-image): Doc fix.
14400 (image-animate-start): Remove second arg; just use
14401 image-animate-max-time.
14402 (image-animate-timeout): Doc fix. Args changed.
14403
14404 * image-mode.el (image-toggle-display-image): Ensure that the
14405 image spec passed to the animate timer is the same object as in
58179cce 14406 the buffer's display property (Bug#6981).
e8cbec34
CY
14407 (image-transform-properties): Doc fix.
14408
14409 * image.el (image-animate-max-time): Default to nil.
14410
159daf87
MR
144112011-05-29 Martin Rudalics <rudalics@gmx.at>
14412
14413 * menu-bar.el (kill-this-buffer-enabled-p): Avoid looping over
14414 entire buffer list (Bug#8184).
14415
d66c4c7c
CY
144162011-05-29 Chong Yidong <cyd@stupidchicken.com>
14417
14418 * image.el (imagemagick-types-inhibit)
14419 (imagemagick-register-types): Doc fix.
14420
80aec780
DD
144212011-05-29 Deniz Dogan <deniz@dogan.se>
14422
14423 * net/rcirc.el (rcirc): Use the user's stored encryption method by
14424 default.
14425
1dd3c2d9
CY
144262011-05-29 Chong Yidong <cyd@stupidchicken.com>
14427
14428 * select.el: Don't perform clipboard-manager saving in hooks;
14429 leave the hooks empty.
14430
60e56523
LL
144312011-05-28 Leo Liu <sdl.web@gmail.com>
14432
14433 * replace.el (occur-menu-map, occur-edit-mode-map): New vars.
14434 (occur-mode-map): Bind occur-edit-mode. Use occur-menu-map.
14435 (occur-edit-mode): New major mode (Bug#8463).
14436 (occur-after-change-function): New function.
14437 (occur-engine): Give Occur tags a read-only property.
14438
2b1e1a22
KR
144392011-05-28 Kevin Ryde <user42@zip.com.au>
14440
14441 * subr.el (def-edebug-spec): Doc fix (Bug#8430).
14442
5d344e88
CY
144432011-05-28 Chong Yidong <cyd@stupidchicken.com>
14444
8e6ca83d
CY
14445 * bindings.el (help-echo): Make the initial non-indicator dash
14446 empty on graphical terminals (Bug#7295).
14447
5d344e88
CY
14448 * files.el (auto-mode-alist): Move config rule after the
14449 in-stripping one (Bug#8547).
14450
bfbbace7
CY
14451 * newcomment.el (comment-end-skip): Doc fix (Bug#8659).
14452
fbeba6e2
CY
14453 * startup.el (normal-splash-screen): Remove gratuitous mode-line
14454 setting (Bug#8740).
14455
60ed8c72
AA
144562011-05-28 Alp Aker <aker@pitt.edu> (tiny change)
14457
4ac619f0
AA
14458 * buff-menu.el (Buffer-menu-revert-function, Buffer-menu-sort)
14459 (Buffer-menu-buffer+size): Use Buffer-menu-buffer-column
14460 (Bug#8539).
60ed8c72 14461
23db196e
CY
144622011-05-28 Chong Yidong <cyd@stupidchicken.com>
14463
14464 * emacs-lisp/re-builder.el (re-builder): Improve doc (Bug#8286).
14465
5012f24c
DK
144662011-05-28 Dima Kogan <dkogan@cds.caltech.edu> (tiny change)
14467
14468 * progmodes/hideshow.el (hs-looking-at-block-start-p): New fun.
14469 (hs-hide-block-at-point, hs-find-block-beginning)
14470 (hs-already-hidden-p, hs-hide-block, hs-show-block): Use it
14471 (Bug#8279).
14472
6a639b16
GM
144732011-05-28 Glenn Morris <rgm@gnu.org>
14474
14475 * startup.el (fancy-about-screen): Use standard mode line. (Bug#8740)
14476
d43eaf2c
CY
144772011-05-28 Chong Yidong <cyd@stupidchicken.com>
14478
5199bde1
CY
14479 * help-fns.el (describe-function-1): If the function is a derived
14480 major mode, print the parent mode.
14481
d43eaf2c
CY
14482 * progmodes/cc-mode.el (c-mode, c++-mode, objc-mode, java-mode)
14483 (idl-mode, pike-mode, awk-mode): Inherit from prog-mode.
14484
423428a8
SM
144852011-05-28 Stefan Monnier <monnier@iro.umontreal.ca>
14486
0ff8e1ba 14487 * minibuffer.el (completion--capf-wrapper): Check applicability before
0b381c7e 14488 returning non-nil for non-exclusive completion data.
0ff8e1ba
SM
14489 * progmodes/etags.el (tags-completion-at-point-function):
14490 * info-look.el (info-lookup-completions-at-point): Mark as
14491 non-exclusive.
14492 (info-complete): Adjust accordingly.
14493
423428a8
SM
14494 * info-look.el: Convert to lexical-binding and completion-at-point.
14495 (info-lookup-completions-at-point): New function.
14496 (info-complete): Use it and completion-in-region.
14497
b74aa22b
DA
144982011-05-28 Drew Adams <drew.adams@oracle.com>
14499
14500 * isearch.el: Let M-e start with point at the first mismatched char.
14501 (isearch-fail-pos): New function.
14502 (isearch-edit-string): Use it.
14503
66e2e71d
DK
145042011-05-28 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14505
14506 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14507
b1890b0f 145082011-05-27 Toby Cubitt <toby-predictive@dr-qubit.org>
eb95d01d
TC
14509
14510 * emacs-lisp/avl-tree.el: New avl-tree-stack datatype. Add new
14511 traversal functions for avl-trees.
14512 (avl-tree--stack): New struct.
14513 (avl-tree-stack-p, avl-tree--stack-repopulate): New funs.
14514 (avl-tree-enter): Add optional `updatefun' arg.
93a1c12a
TC
14515 (avl-tree--do-enter): Add optional `updatefun' arg.
14516 Change return value.
eb95d01d 14517 (avl-tree-delete): Add optional `test' and `nilflag' args.
93a1c12a
TC
14518 (avl-tree--do-delete): Add `test' and `nilflag' args.
14519 Change return value.
eb95d01d
TC
14520 (avl-tree-member): Add optional `nilflag'
14521 (avl-tree-member-p): New function.
14522 (avl-tree-mapc, avl-tree-mapf, avl-tree-mapcar): New functions.
14523 (avl-tree-stack, avl-tree-stack-pop, avl-tree-stack-first)
14524 (avl-tree-stack-empty-p): New functions.
14525
3769ddcf
TC
14526 * emacs-lisp/avl-tree.el (avl-tree--del-balance): Rename from
14527 avl-tree--del-balance1 and make it work both ways.
14528 (avl-tree--del-balance2): Remove.
14529 (avl-tree--enter-balance): Rename from avl-tree--enter-balance1 and
14530 make it work both ways.
14531 (avl-tree--enter-balance2): Remove.
14532 (avl-tree--switch-dir, avl-tree--dir-to-sign, avl-tree--sign-to-dir):
14533 New macros.
14534 (avl-tree--mapc, avl-tree-map): Add direction argument.
14535
eb95d01d 145362011-05-27 David Michael <fedora.dm0@gmail.com> (tiny change)
7a6b1aef
DM
14537
14538 * files.el (interpreter-mode-alist): Add rbash (bug#8745).
14539
a9f737ee
CY
145402011-05-27 Chong Yidong <cyd@stupidchicken.com>
14541
14542 * select.el: Support clipboard managers with built-in function
14543 x-clipboard-manager-save, via delete-frame-functions and
14544 kill-emacs-hook.
14545 (xselect-convert-to-targets): Add MULTIPLE target to list.
14546 (xselect-convert-to-save-targets): New function.
14547
c92a1e54
KH
145482011-05-27 Kenichi Handa <handa@m17n.org>
14549
14550 * mail/sendmail.el (mail-encode-header): Avoid double encoding by
14551 let-binding rfc2047-encode-encoded-words to nil.
14552
e145f188
GM
145532011-05-27 Glenn Morris <rgm@gnu.org>
14554
5ec8a862
GM
14555 * mail/emacsbug.el: Don't require url-util.
14556
4b29d9fb
GM
14557 * shell.el (shell-directory-tracker): Case matters. (Bug#8735)
14558
e145f188
GM
14559 * files.el (set-auto-mode):
14560 Also respect mode: entries at the end of the file. (Bug#8586)
14561
7d15102b
GM
145622011-05-26 Glenn Morris <rgm@gnu.org>
14563
98f593b8
GM
14564 * files.el (hack-local-variables-prop-line, hack-local-variables):
14565 Downcase mode names, as seems to be traditional.
27b48e63 14566 (hack-local-variables, hack-local-variables-apply): Doc fixes.
98f593b8 14567
7d15102b
GM
14568 * mail/emacsbug.el (report-emacs-bug): Mention checking From address.
14569 (report-emacs-bug-hook): Try to validate the From address. (Bug#8038)
14570
51d5b4ec
JD
145712011-05-25 Julien Danjou <julien@danjou.info>
14572
14573 * textmodes/rst.el (rst-define-level-faces): Do not define face
14574 symbol if it is already defined.
14575
91513f63
VB
145762011-05-24 Vincent Belaïche <vincentb1@users.sourceforge.net>
14577
14578 * play/5x5.el (5x5-new-game, 5x5-randomize):
14579 Reset 5x5-solver-output to nil when a new grid is cast.
14580 (5x5-log-init, 5x5-log): Use defsubst instead of defmacro to shunt
14581 these debugging traces, as defmacro breaks the compiled code.
14582
4d90d6d0
DK
145832011-05-24 Dmitry Kurochkin <dmitry.kurochkin@gmail.com> (tiny change)
14584
14585 * isearch.el (isearch-range-invisible): Use invisible-p (bug#8721).
14586
e1b90ef6
LL
145872011-05-24 Leo Liu <sdl.web@gmail.com>
14588
14589 * vc/vc-bzr.el (vc-bzr-sha1-program): Rename from sha1-program.
14590 (vc-bzr-sha1): Adapt.
14591
d8e4b68b 14592 * sha1.el: Remove. Function `sha1' is now builtin.
e1b90ef6
LL
14593
14594 * bindings.el: Provide sha1 feature.
14595
db0406bb 145962011-05-24 Kenichi Handa <handa@m17n.org>
b8d747b9
KH
14597
14598 * mail/sendmail.el: Require `rfc2047'.
14599 (mail-insert-from-field): Do not perform RFC2047 encoding.
14600 (mail-encode-header): New function.
14601 (sendmail-send-it): Set buffer-file-coding-system of the work
4d90d6d0
DK
14602 buffer to the return value of select-message-coding-system.
14603 Call mail-encode-header.
b8d747b9
KH
14604
14605 * mail/smtpmail.el (smtpmail-send-it): Call mail-encode-header.
14606
db0406bb 146072011-05-24 Sean Neakums <sneakums@zork.net> (tiny change)
7261f6ce 14608
4d90d6d0
DK
14609 * mail/supercite.el (sc-default-cite-frame):
14610 Handle sc-nested-citation-p when sc-cite-blank-lines-p is non-nil.
7261f6ce 14611
eb8a5e9b
GM
146122011-05-24 Glenn Morris <rgm@gnu.org>
14613
f8630703
GM
14614 * progmodes/python.el (brm-menu): Declare.
14615
8831bbed
GM
14616 * emulation/viper.el (viper-set-hooks): Declare.
14617
eb8a5e9b
GM
14618 * play/5x5.el (5x5-log-init, 5x5-log): Evaluate when compiling.
14619 (5x5-log-init, 5x5-log, 5x5-solver): Doc fixes.
14620 (math-map-vec, math-sub, math-mul, math-make-intv, math-reduce-vec)
14621 (math-format-number, math-pow, calcFunc-arrange, calcFunc-cvec)
14622 (calcFunc-diag, calcFunc-trn, calcFunc-inv, calcFunc-mrow)
14623 (calcFunc-mcol, calcFunc-vconcat, calcFunc-index): Declare.
14624
a2a25d24
SM
146252011-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
14626
14627 Add an :exit-function for completion-at-point.
14628
14629 * minibuffer.el (completion--done): New fun.
14630 (completion--do-completion): Use it. New arg `expect-exact'.
14631 (minibuffer-complete, minibuffer-complete-word): Don't output message,
14632 since completion--do-completion does it for us now.
14633 (minibuffer-force-complete): Use completion--done and
14634 completion--replace. Handle sole-completion case with more care.
14635 (minibuffer-complete-and-exit): Use new `expect-exact' arg.
14636 (completion-extra-properties): New var.
14637 (completion-annotate-function): Make obsolete.
14638 (minibuffer-completion-help): Adjust accordingly.
14639 Use completion-list-insert-choice-function.
14640 (completion-at-point, completion-help-at-point):
14641 Bind completion-extra-properties.
14642 (completion-pcm-word-delimiters): Add | (for uniquify, for example).
14643 * simple.el (completion-list-insert-choice-function): New var.
14644 (completion-setup-function): Preserve it.
14645 (choose-completion): Pay attention to it, shuffle the code a bit.
14646 (choose-completion-string): New arg `insert-function'.
14647
14648 * textmodes/bibtex.el: Convert to lexical binding.
14649 (bibtex-mode-map): Use completion-at-point.
14650 (bibtex-mode): Use define-derived-mode&completion-at-point-functions.
14651 (bibtex-completion-at-point-function): New fun, from bibtex-complete.
14652 (bibtex-complete): Define as obsolete alias.
14653 (bibtex-complete-internal): Remove.
14654 (bibtex-format-entry): Remove unused sub-group in regexp.
14655 * shell.el (shell--command-completion-data)
14656 (shell-environment-variable-completion):
14657 * pcomplete.el (pcomplete-completions-at-point):
14658 * comint.el (comint--complete-file-name-data): Use :exit-function
14659 instead of completion-table-with-terminator so it also works for
14660 choose-completion.
14661
e44e373d
SM
146622011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14663
4f91a816
SM
14664 * <lots-of-files>.el: Don't quote lambda expressions with `quote'.
14665
782fc819
SM
14666 * vc/smerge-mode.el (smerge-refine-subst): Don't deactivate the mark
14667 (bug#8710).
14668
e44e373d
SM
14669 * emacs-lisp/lisp.el (up-list): Fix forward movement (bug#8708).
14670
381987c3
KM
146712011-05-23 Ken Manheimer <ken.manheimer@gmail.com>
14672
14673 * allout.el (allout-inhibit-auto-fill-on-headline): Create new
14674 customization variable and implement: If non-nil, auto-fill will
14675 be inhibited while on topic's header line.
14676
b776bc70
VB
146772011-05-23 Vincent Belaïche <vincentb1@users.sourceforge.net>
14678
14679 * play/5x5.el: I/ Add an arithmetic solver to suggest positions to
d8e4b68b 14680 click on. II/ Make 5x5 multisession. III/ Ensure that random grids
b776bc70
VB
14681 always have a solution in grid size = 5 cases.
14682 (5x5-mode-map): Add keybinding to function `5x5-solve-suggest'.
14683 (5x5-solver-output, 5x5-log-buffer): New vars.
14684 (5x5-grid, 5x5-x-pos, 5x5-y-pos, 5x5-moves, 5x5-cracking):
14685 Make these variables buffer local to achieve 5x5 multi-session-ness.
14686 (5x5): Set 5x5-grid-size only if SIZE is non-negative.
14687 (5x5-grid-to-vec, 5x5-vec-to-grid, 5x5-log-init, 5x5-log, 5x5-solver)
14688 (5x5-solve-suggest): New funs.
14689 (5x5-randomize): Use 5x5-make-move instead of 5x5-flip-cell to
14690 randomize a grid so that we ensure that there is always a solution.
14691 (5x5-make-random-grid): Allow other movement than flipping.
14692
7de88b6e
KR
146932011-05-23 Kevin Ryde <user42@zip.com.au>
14694
14695 * emacs-lisp/advice.el (ad-read-advised-function):
5a5fa834 14696 Use `function-called-at-point' as the default, if it has
7de88b6e
KR
14697 advice and passes PREDICATE.
14698
b1ef1257
SM
146992011-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
14700
bbca48fe
SM
14701 * emacs-lisp/bytecomp.el (byte-compile-function-form): Only call
14702 byte-compile-lambda if it's actually a lambda.
14703
b1ef1257
SM
14704 * emacs-lisp/eieio.el (eieio-defgeneric-form-primary-only-one):
14705 Fix function quoting. Use backquote better.
14706
92a9cc65
YS
147072011-05-22 Yuanle Song <sylecn@gmail.com>
14708
14709 * nxml/rng-xsd.el (rng-xsd-check-pattern): Use case-sensitive
14710 matching (Bug#8516).
14711
f0fb8059
JA
147122011-01-22 Jari Aalto <jari.aalto@cante.net>
14713
14714 * vc/vc-dir.el (vc-default-dir-printer): Give edited tag a
14715 different face (Bug#8178).
14716
d5b44c93
CY
147172011-05-22 Chong Yidong <cyd@stupidchicken.com>
14718
14719 * vc/diff-mode.el (diff-changed): Don't use terminal specs for
14720 defface (Bug#8144).
14721
79106a44
SM
147222011-05-22 Stefan Monnier <monnier@iro.umontreal.ca>
14723
9c848d8a
SM
14724 * emacs-lisp/macroexp.el (macroexpand-all-1): Convert ' to #' for
14725 funcall as well (bug#8712). Warn when performing those conversions.
14726 * emacs-lisp/bytecomp.el (byte-compile-form): Fix error report.
14727
79106a44
SM
14728 * progmodes/grep.el (grep-mode): Fix it for good (bug#8684)!
14729
88dfa756
GM
147302011-05-22 Glenn Morris <rgm@gnu.org>
14731
14732 * files.el (hack-local-variables-prop-line): Small simplifications.
14733 (hack-local-variables, hack-local-variables-prop-line):
14734 If MODE-ONLY, return the mode, rather than just `t'.
14735
b7cf2c79
SM
147362011-05-21 Stefan Monnier <monnier@iro.umontreal.ca>
14737
14738 * progmodes/grep.el (grep-mode): Fix last change (bug#8684).
14739
3f1a8558
GM
147402011-05-21 Glenn Morris <rgm@gnu.org>
14741
7e4ccca3
GM
14742 * files.el (hack-local-variables-prop-line, hack-local-variables):
14743 If only interested in the mode, don't bother doing the other stuff.
14744
637d46ca
GM
14745 * image-mode.el (image-after-revert-hook):
14746 Redraw all frames on which the image is visible. (Bug#8567)
14747
973d955b
GM
14748 * dired-aux.el (dired-touch-initial): Just use current-time. (Bug#6887)
14749
3f1a8558
GM
14750 * wid-edit.el (widget-checklist-match-inline):
14751 Fix 2011-04-19 change. (Bug#8649)
14752
96479927
SM
147532011-05-20 Stefan Monnier <monnier@iro.umontreal.ca>
14754
1dcf791f
SM
14755 * emacs-lisp/checkdoc.el (checkdoc-sentencespace-region-engine):
14756 Also allow singlespace after single-letter capitals followed by a dot.
14757
96479927
SM
14758 * nxml/nxml-mode.el (nxml-electric-slash): Reindent when completion is
14759 enabled. Suggested by James Ahlborn <jahlborn@gmail.com> (bug#8704).
14760
35fd0881
N
147612011-05-20 Nix <nix@esperi.org.uk>
14762
14763 * files.el (basic-save-buffer-2):
14764 Fix handling of break-hardlink-on-save with non-existent files.
14765
82745640
DD
147662011-05-19 Deniz Dogan <deniz@dogan.se>
14767
14768 * net/rcirc.el (rcirc-mode): Initialize rcirc-urls to nil.
9ff90d99 14769 (rcirc-markup-urls): Check if rcirc-url-regexp is nil.
82745640 14770
4a720484
GM
147712011-05-19 Glenn Morris <rgm@gnu.org>
14772
d1f21341
GM
14773 * progmodes/f90.el (f90-type-def-re):
14774 Handle "type, bind(c)". (Bug#8691)
14775
4a720484
GM
14776 * emacs-lisp/autoload.el (batch-update-autoloads):
14777 Set autoload-excludes by parsing loadup.el rather than Makefiles.
14778
2fb0a219
MA
147792011-05-18 Michael Albinus <michael.albinus@gmx.de>
14780
14781 * net/tramp.el (tramp-process-actions): Set "first-password-request"
14782 property for the correct connection in case of multihops.
14783
e565dd37
GM
147842011-05-18 Glenn Morris <rgm@gnu.org>
14785
c2571358 14786 * emacs-lisp/authors.el (authors-fixed-entries): Remove fakemail.c.
c136e5cd
GM
14787 * mail/sendmail.el (sendmail-program): Fall back to just "sendmail".
14788
e565dd37
GM
14789 Rationalize calendar handling of day and month abbrev-arrays.
14790 * calendar/calendar.el (calendar-customized-p): New function.
14791 (calendar-abbrev-construct, calendar-make-alist): Change what it does.
14792 (calendar-day-name-array, calendar-month-name-array): Doc fix.
14793 Add :set function.
14794 (calendar-abbrev-length, calendar-day-abbrev-array)
14795 (calendar-month-abbrev-array): Make defcustoms, with appropriate :set.
14796 (calendar-day-abbrev-array, calendar-month-abbrev-array):
14797 Elements may no longer be nil.
14798 (calendar-day-name, calendar-month-name):
14799 Update for changed nature of abbrev arrays.
14800 * calendar/diary-lib.el (diary-name-pattern):
14801 Update for changed nature of abbrev arrays.
14802 (diary-mark-entries-1): Update calendar-make-alist calls.
14803 (diary-font-lock-date-forms): Doc fix for changed abbrev arrays.
14804 * calendar/cal-html.el (cal-html-day-abbrev-array):
14805 Simply inherit from calendar-day-abbrev-array.
14806
1d99a745
SM
148072011-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
14808
14809 * progmodes/grep.el (grep-mode): Disable default
14810 compilation-directory-matcher setting (bug#8684).
14811
7c1d9aa0
MA
148122011-05-17 Michael Albinus <michael.albinus@gmx.de>
14813
14814 * net/tramp.el (tramp-handle-insert-file-contents): Use "dd"
14815 instead of "head" and "tail". There were problems with SunOS 5.9,
14816 and it performs better.
14817
3952e9d8
GM
148182011-05-17 Glenn Morris <rgm@gnu.org>
14819
2dd12e7f
GM
14820 * mail/mail-utils.el (mail-dont-reply-to): Silence compiler.
14821
e4157b9c
GM
14822 * progmodes/idlw-shell.el (idlwave-shell-complete-filename):
14823 Replace obsolete function.
14824
8e249bbd
GM
14825 * shell.el (pcomplete-parse-arguments-function): Declare.
14826
3952e9d8
GM
14827 * calendar/appt.el (appt-message-warning-time, appt-display-mode-line)
14828 (appt-display-diary, appt-display-interval, appt-prev-comp-time)
14829 (appt-check): Doc fixes.
14830 (appt-disp-window-function, appt-delete-window-function):
14831 Remove needless special case in custom :type.
14832 (appt-display-count): Default to 0, not nil.
14833 (appt-check): Reset appt-display-count to 0, not nil.
14834
c71a0d48 148352011-05-17 Juanma Barranquero <lekktu@gmail.com>
165fd2df 14836
c71a0d48
GM
14837 * progmodes/python.el (python-font-lock-keywords):
14838 Add the Python 3.X keyword "nonlocal" (bug#8639).
165fd2df 14839
31d55be9
SM
148402011-05-16 Stefan Monnier <monnier@iro.umontreal.ca>
14841
14842 * emacs-lisp/eieio.el (defmethod): Fix quoting of code (bug#8677).
14843
3bfacb2f
KR
148442011-05-16 Kevin Ryde <user42@zip.com.au>
14845
14846 * info-look.el (makefile-automake-mode): New setups, looking in
14847 automake manual, then makefile-mode.
14848 (makefile-mode): Remove automake manual, have it just in
14849 makefile-automake-mode since there's various things different or
14850 not relevant to plain make.
14851 (makefile-mode): Remove "other-modes" non-existent automake-mode,
14852 believe a hypothetical automake-mode would go to makefile-mode,
14853 not the other way around.
14854
c8e83751
CY
148552011-05-15 Chong Yidong <cyd@stupidchicken.com>
14856
5e9e35cd
CY
14857 * vc/diff-mode.el (diff-fixup-modifs): Locate correct position for
14858 hunk-end tags (Bug#8672).
14859
c8e83751
CY
14860 * vc/vc-annotate.el (vc-annotate-mode-map): Bind = to
14861 vc-annotate-show-diff-revision-at-line (Bug#8671).
14862
50b23e5a
GM
148632011-05-14 Glenn Morris <rgm@gnu.org>
14864
7210a739
GM
14865 * vc/add-log.el (add-change-log-entry): Don't start adding a new entry
14866 in the middle of an existing one with multiple authors. (Bug#8645)
375cb676
GM
14867 (change-log-font-lock-keywords): Also handle multiple author lines
14868 with leading tabs. (Bug#8644)
7210a739 14869
4691905a
GM
14870 * calendar/appt.el (appt-check): Rename some local variables.
14871 Some simplification/reordering.
14872
50b23e5a
GM
14873 * mail/feedmail.el (feedmail-confirm-outgoing-timeout)
14874 (feedmail-sendmail-f-doesnt-sell-me-out)
14875 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14876 (feedmail-debug-sit-for, feedmail-queue-express-hook)
14877 (feedmail-queue-runner-message-sender): Set :version.
1aa64307
GM
14878 (bbdb-search, bbdb-records, smtp-via-smtp, smtp-server)
14879 (bbdb-dwim-net-address, vm-mail): Declare.
50b23e5a
GM
14880 (feedmail-binmail-gnulinuxish-template):
14881 Rename from feedmail-binmail-linuxish-template.
14882 (feedmail-buffer-to-smtp, feedmail-vm-mail-mode):
14883 Use insert-buffer-substring.
14884
215cda7c
BC
148852011-05-14 Bill Carpenter <bill@carpenter.org>
14886
14887 * mail/feedmail.el (feedmail-patch-level): Increase.
14888 (feedmail-debug): New custom group.
14889 (feedmail-confirm-outgoing-timeout)
14890 (feedmail-sendmail-f-doesnt-sell-me-out)
14891 (feedmail-queue-slug-suspect-regexp, feedmail-debug)
14892 (feedmail-debug-sit-for, feedmail-queue-express-hook): New options.
14893 (feedmail-sender-line, feedmail-from-line)
14894 (feedmail-fiddle-headers-upwardly, feedmail-enable-spray)
c2571358 14895 (feedmail-spray-this-address)
215cda7c
BC
14896 (feedmail-spray-address-fiddle-plex-list)
14897 (feedmail-queue-use-send-time-for-date)
14898 (feedmail-queue-use-send-time-for-message-id)
14899 (feedmail-last-chance-hook, feedmail-queue-runner-mode-setter)
14900 (feedmail-buffer-eating-function):
14901 Doc fixes.
14902 (feedmail-spray-via-bbdb, feedmail-buffer-to-smtp)
14903 (feedmail-vm-mail-mode, feedmail-message-action-scroll-up)
14904 (feedmail-message-action-scroll-down): New functions.
14905 (feedmail-queue-directory, feedmail-queue-draft-directory):
14906 Use expand-file-name.
14907 (feedmail-prompt-before-queue-standard-alist): Add scroll entries.
14908 Remove C-v help entry.
14909 (feedmail-queue-buffer-file-name): New variable.
14910 (feedmail-mail-send-hook-splitter, feedmail-buffer-to-binmail)
14911 (feedmail-buffer-to-smtpmail, feedmail-queue-express-to-draft)
14912 (feedmail-message-action-send-strong, feedmail-message-action-edit)
14913 (feedmail-message-action-draft, feedmail-message-action-draft-strong)
14914 (feedmail-message-action-queue, feedmail-message-action-queue-strong)
14915 (feedmail-message-action-toggle-spray)
14916 (feedmail-run-the-queue-no-prompts)
14917 (feedmail-run-the-queue-global-prompt, feedmail-queue-reminder)
14918 (feedmail-look-at-queue-directory, feedmail-queue-subject-slug-maker)
14919 (feedmail-create-queue-filename, feedmail-rfc822-time-zone):
14920 (feedmail-fiddle-header, feedmail-give-it-to-buffer-eater)
14921 (feedmail-envelope-deducer, feedmail-fiddle-from)
14922 (feedmail-fiddle-sender, feedmail-default-date-generator)
14923 (feedmail-fiddle-date, feedmail-fiddle-message-id)
14924 (feedmail-fiddle-spray-address)
14925 (feedmail-fiddle-list-of-spray-fiddle-plexes)
14926 (feedmail-fiddle-list-of-fiddle-plexes)
14927 (feedmail-fill-to-cc-function, feedmail-fill-this-one)
14928 (feedmail-one-last-look, feedmail-fqm-p): Add debug calls.
14929 (feedmail-queue-runner-message-sender, feedmail-binmail-template):
14930 Change default. Doc fix.
14931 (feedmail-queue-runner-cleaner-upper): Use feedmail-say-chatter.
14932 (feedmail-binmail-linuxish-template): New constant.
14933 (feedmail-buffer-to-sendmail): Doc fix. Add debug call.
14934 Respect feedmail-sendmail-f-doesnt-sell-me-out.
14935 (feedmail-send-it): Add debug call.
14936 Use feedmail-queue-buffer-file-name, and
14937 feedmail-send-it-immediately-wrapper.
14938 (feedmail-message-action-send): Add debug call.
14939 Use feedmail-send-it-immediately-wrapper.
14940 (feedmail-queue-express-to-queue): Add debug call.
14941 Run feedmail-queue-express-hook.
14942 (feedmail-message-action-help): Add debug call. Use feedmail-p-h-b-n.
14943 (feedmail-message-action-help-blat):
14944 Rename from feedmail-queue-send-edit-prompt-help-first.
14945 (feedmail-run-the-queue): Add debug call. Set buffer-file-type.
14946 Check line-endings. Handle errors better.
14947 (feedmail-queue-reminder-brief, feedmail-queue-reminder-medium):
14948 Doc fix. Add debug call.
14949 (feedmail-queue-send-edit-prompt): Doc fix. Add debug call.
14950 Use feedmail-queue-send-edit-prompt-inner.
14951 (feedmail-queue-runner-prompt, feedmail-scroll-buffer): New functions.
14952 (feedmail-queue-send-edit-prompt-inner): New function, extracted
14953 from feedmail-queue-send-edit-prompt.
14954 (feedmail-queue-send-edit-prompt-help)
14955 (feedmail-queue-send-edit-prompt-help-later): Remove functions.
14956 (feedmail-tidy-up-slug): Add debug call.
14957 Respect feedmail-queue-slug-suspect-regexp.
14958 (feedmail-queue-subject-slug-maker): Use buffer-substring-no-properties.
14959 (feedmail-dump-message-to-queue): Add debug call.
14960 Expand queue-directory.
14961 (feedmail-dump-message-to-queue): Change message slightly.
14962 Use feedmail-say-chatter.
14963 (feedmail-rfc822-date): Add debug call. Bind system-time-locale.
14964 (feedmail-send-it-immediately-wrapper): New function.
14965 (feedmail-send-it-immediately): Add debug calls. Use let not let*.
14966 Insert empty string rather than newline. Handle full-frame case.
14967 Use catch/throw. Use feedmail-say-chatter.
14968 (feedmail-fiddle-from): Try mail-host-address.
14969 (feedmail-default-message-id-generator): Doc fix.
14970 Bind system-time-locale. Handle missing end.
14971 (feedmail-fiddle-x-mailer): Add debug call.
14972 Handle feedmail-x-mailer-line being nil.
14973 (feedmail-accume-n-nuke-header, feedmail-deduce-address-list):
14974 Add debug call. Use buffer-substring-no-properties.
14975 (feedmail-say-debug, feedmail-say-chatter): New functions.
14976 (feedmail-find-eoh): Give an explicit error.
14977
42c7e61e
UJ
149782011-05-13 Ulf Jasper <ulf.jasper@web.de>
14979
c2571358 14980 * net/newst-treeview.el (newsticker-treeview-face): Change default
42c7e61e 14981 family from helvetica to sans.
c2571358 14982 (newsticker-treeview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14983 etc/images/newsticker.
14984
c2571358 14985 * net/newst-reader.el (newsticker-feed-face): Change default
42c7e61e
UJ
14986 family from helvetica to sans.
14987
14988 * net/newst-plainview.el (newsticker-new-item-face)
14989 (newsticker-old-item-face, newsticker-immortal-item-face)
14990 (newsticker-obsolete-item-face, newsticker-date-face)
c2571358 14991 (newsticker-statistics-face): Change default family from
42c7e61e 14992 helvetica to sans.
c2571358 14993 (newsticker--plainview-tool-bar-map): Move tool-bar icons to
42c7e61e
UJ
14994 etc/images/newsticker.
14995
5d3385a0
JB
14996 * net/newst-backend.el (newsticker--do-run-auto-mark-filter)
14997 (newsticker--process-auto-mark-filter-match): Tell user about
42c7e61e
UJ
14998 auto-marking.
14999
8497a297
DV
150002011-05-13 Didier Verna <didier@xemacs.org>
15001
15002 Common Lisp indentation improvements on defmethod and lambda-lists.
4d61f28d
JB
15003 * emacs-lisp/cl-indent.el: Advertise the changes and remove obsolete
15004 TODO entries.
8497a297
DV
15005 (lisp-lambda-list-keyword-parameter-indentation)
15006 (lisp-lambda-list-keyword-parameter-alignment)
15007 (lisp-lambda-list-keyword-alignment): New customizable user options.
15008 (lisp-indent-defun-method): Improve docstring.
15009 (extended-loop-p): Fix comment.
15010 (lisp-indent-lambda-list-keywords-regexp): New variable.
15011 (lisp-indent-lambda-list): New function.
15012 (lisp-indent-259): Use it.
15013 (lisp-indent-defmethod): Support for more than one
15014 method qualifier and properly indent methods lambda-lists.
15015 (defgeneric): Provide a missing common-lisp-indent-function property.
15016
f278f87f
SM
150172011-05-13 Stefan Monnier <monnier@iro.umontreal.ca>
15018
15019 * thingatpt.el (bounds-of-thing-at-point): Return nil rather than
15020 bounds for the empty string (bug#8667).
15021
5233edd7
GM
150222011-05-13 Glenn Morris <rgm@gnu.org>
15023
5237a44f
GM
15024 * mail/feedmail.el (feedmail-buffer-to-sendmail): Require sendmail.
15025
8340026c 15026 * mail/sendmail.el (sendmail-program): Try executable-find first.
f278f87f 15027 (sendmail-send-it): `sendmail-program' cannot be unbound.
8340026c 15028
5233edd7 15029 * calendar/appt.el (appt-make-list): Simplify.
4accbca6 15030 (appt-time-msg-list): Doc fix.
a5464014 15031 (appt-check): Change mode-line message at the time of the appointment.
5233edd7 15032
92d10796
AS
150332011-05-12 Andreas Schwab <schwab@linux-m68k.org>
15034
15035 * progmodes/ld-script.el (ld-script-keywords)
15036 (ld-script-builtins): Update keywords list.
15037
914a0ae1
SM
150382011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15039
c89be45f
SM
15040 * progmodes/grep.el (grep-filter): Don't trip on partial lines.
15041
914a0ae1
SM
15042 * shell.el (shell-completion-vars): New function.
15043 (shell-mode):
15044 * simple.el (read-shell-command): Use it.
15045 (blink-matching-open): No need for " [...]" in minibuffer-message.
15046
98dc3df3
GM
150472011-05-12 Glenn Morris <rgm@gnu.org>
15048
15049 * calendar/appt.el (appt-now-displayed): Remove pointless variable.
15050 (appt-check): Simplify.
15051
d2fc7e3d 150522011-05-12 Eli Zaretskii <eliz@gnu.org>
0e39ec21 15053
4d61f28d 15054 * vc/smerge-mode.el (smerge-resolve): Use null-device rather than a
0e39ec21
EZ
15055 literal "/dev/null".
15056
d2fc7e3d 150572011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
3f254caa
SM
15058
15059 * emacs-lisp/lisp.el (lisp-complete-symbol, lisp-completion-at-point):
15060 Fix typo.
15061
d2fc7e3d 150622011-05-12 Ralph Schleicher <rs@ralph-schleicher.de>
6eea50c7 15063
3f254caa
SM
15064 * progmodes/which-func.el (which-function):
15065 Use add-log-current-defun instead of add-log-current-defun-function,
6eea50c7
RS
15066 which might not be defined (Bug#8260).
15067
d45885f7
GM
150682011-05-12 Glenn Morris <rgm@gnu.org>
15069
15070 * emacs-lisp/bytecomp.el (byte-compile-file-form-defmumble):
15071 Let byte-compile-initial-macro-environment always take precedence.
15072
488086f4
SM
150732011-05-12 Stefan Monnier <monnier@iro.umontreal.ca>
15074
15075 * net/rcirc.el: Add support for SSL/TLS connections.
15076 (rcirc-server-alist): New field `encryption'.
15077 (rcirc): Check `encryption' settings.
15078 (rcirc-connect): New arg `encryption'. Use open-network-stream.
15079 Merge make-local-variable into `set'.
15080 (rcirc--connection-open-p): New function.
15081 (rcirc-send-string, rcirc-clean-up-buffer): Use it to handle case where
15082 the process is not a network process (e.g. running gnutls-cli).
15083 (set-rcirc-decode-coding-system, set-rcirc-encode-coding-system):
15084 Make rcirc-(en|de)code-coding-system local here.
15085 (rcirc-mode): Merge make-local-variable into `set'.
15086 (rcirc-parent-buffer): Make permanent buffer-local.
15087 (rcirc-multiline-minor-mode): Don't do it here.
15088 (rcirc-switch-to-server-buffer): Don't switch to a random buffer if
15089 there's no server buffer.
15090
7d3b9d44
GM
150912011-05-11 Glenn Morris <rgm@gnu.org>
15092
f64049c6
GM
15093 * newcomment.el (comment-kill): Prefix "unused" local.
15094
93c9df73
GM
15095 * term/w32console.el (get-screen-color): Declare.
15096
7d3b9d44
GM
15097 * emacs-lisp/bytecomp.el (byte-compile-arglist-warn):
15098 Handle symbol elements of byte-compile-initial-macro-environment.
15099
9e2dd53f
LL
151002011-05-10 Leo Liu <sdl.web@gmail.com>
15101
488086f4
SM
15102 * bookmark.el (bookmark-bmenu-mode-map):
15103 Bind bookmark-bmenu-search to `/'.
8b340240 15104
9e2dd53f 15105 * mail/footnote.el: Convert to utf-8 encoding.
b4044869
LL
15106 (footnote-unicode-string, footnote-unicode-regexp): New variable.
15107 (Footnote-unicode): New function.
15108 (footnote-style-alist): Add unicode style to the list.
15109 (footnote-style): Doc fix.
9e2dd53f 15110
79b70037
GM
151112011-05-10 Jim Meyering <meyering@redhat.com>
15112
15113 Fix doubled-word typos.
15114 * international/quail.el (quail-insert-kbd-layout): and and -> and
15115 * kermit.el: and and -> and
15116 * net/ldap.el (ldap-search-internal): to to -> to
15117 * progmodes/vhdl-mode.el (vhdl-offsets-alist): Likewise.
15118 * progmodes/js.el (js-mode): and and -> and
15119 * textmodes/artist.el (artist-move-to-xy): at at -> at
15120 (artist-draw-region-trim-line-endings): if if -> if
15121 And Safetyc -> Safety.
15122 * textmodes/reftex-dcr.el (reftex-view-crossref): at at -> at a
15123
b8f82dc1 151242011-05-10 Glenn Morris <rgm@gnu.org>
f1a71c6e 15125 Stefan Monnier <monnier@iro.umontreal.ca>
b8f82dc1
GM
15126
15127 * files.el (hack-one-local-variable-eval-safep):
15128 Consider "eval: (foo-mode)" to be safe. (Bug#8613)
15129
4f99f44b
GM
151302011-05-10 Glenn Morris <rgm@gnu.org>
15131
15132 * calendar/diary-lib.el (diary-list-entries-hook)
15133 (diary-mark-entries-hook, diary-nongregorian-listing-hook)
15134 (diary-nongregorian-marking-hook, diary-list-entries)
15135 (diary-include-other-diary-files, diary-mark-entries)
15136 (diary-mark-included-diary-files): Doc fixes.
15137
84f29e6b
JB
151382011-05-09 Juanma Barranquero <lekktu@gmail.com>
15139
15140 * misc.el: Require tabulated-list.el during compilation.
15141
9bedd73a
CY
151422011-05-09 Chong Yidong <cyd@stupidchicken.com>
15143
488086f4
SM
15144 * progmodes/compile.el (compilation-start):
15145 Run compilation-filter-hook for the async case too.
9bedd73a
CY
15146 (compilation-filter-hook): Doc fix.
15147
797c735c
DD
151482011-05-09 Deniz Dogan <deniz@dogan.se>
15149
15150 * wdired.el: Remove outdated installation comment. Fix usage
15151 comment.
15152
5f4b1dfe
JB
151532011-05-09 Juanma Barranquero <lekktu@gmail.com>
15154
15155 * misc.el: Implement new command `list-dynamic-libraries'.
15156 (list-dynamic-libraries--loaded-only-p): New variable.
15157 (list-dynamic-libraries--refresh): New function.
15158 (list-dynamic-libraries): New command.
15159
4c44026c
CY
151602011-05-09 Chong Yidong <cyd@stupidchicken.com>
15161
488086f4
SM
15162 * progmodes/compile.el (compilation-error-regexp-alist-alist):
15163 Fix the ant regexp to handle end-line and end-column info from jikes.
4c44026c
CY
15164 Re-introduce maven regexp. Give the ruby-Test::Unit regexp a
15165 higher priority to avoid clobbering by gnu.
15166
027f966d
CY
151672011-05-08 Chong Yidong <cyd@stupidchicken.com>
15168
15169 * cus-face.el (custom-declare-face): Call custom-theme-recalc-face
15170 if the face has existing theme settings (Bug#8454).
15171
085f5d7d
CY
151722011-05-08 Ralph Schleicher <rs@ralph-schleicher.de>
15173
488086f4
SM
15174 * progmodes/perl-mode.el (perl-imenu-generic-expression):
15175 Only match variables declared via `my' or `our' (Bug#8261).
085f5d7d 15176
2a86a00c
RS
15177 * net/browse-url.el (browse-url-of-dired-file): Allow browsing of
15178 special file names `.' and `..' (Bug#8259).
15179
d9c54a06
CY
151802011-05-08 Chong Yidong <cyd@stupidchicken.com>
15181
488086f4
SM
15182 * progmodes/grep.el (grep-mode-font-lock-keywords):
15183 Remove buffer-changing entries.
d9c54a06
CY
15184 (grep-filter): New function.
15185 (grep-mode): Add it to compilation-filter-hook.
15186
15187 * progmodes/compile.el (compilation-filter-hook)
15188 (compilation-filter-start): New defvars.
15189 (compilation-filter): Call compilation-filter-hook prior to
15190 updating the process mark.
15191
c4662635
SM
151922011-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
15193
15194 * emacs-lisp/eieio.el (defmethod): Fix typo in last change.
15195
b0512a1d
EZ
151962011-05-07 Eli Zaretskii <eliz@gnu.org>
15197
605c9376
EZ
15198 * mail/sendmail.el (send-mail-function): On MS-Windows, default to
15199 mailclient-send-it even if window-system is nil. (Bug#8595)
15200
c4662635
SM
15201 * term/w32console.el (terminal-init-w32console):
15202 Call get-screen-color and use its output to set the frame
b0512a1d
EZ
15203 background-mode. (Bug#8597)
15204
d1dc2cc2
SM
152052011-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
15206
15207 Make bytecomp.el understand that defmethod defines funs (bug#8631).
15208 * emacs-lisp/eieio.el (eieio--defalias, eieio--defgeneric-init-form):
15209 New functions.
15210 (defgeneric, eieio--defmethod): Use them.
15211 (eieio-defgeneric): Remove.
15212 (defmethod): Call defgeneric in a way visible to the byte-compiler.
15213
915d1300
GM
152142011-05-07 Glenn Morris <rgm@gnu.org>
15215
a3961c3e
GM
15216 * calendar/timeclock.el (timeclock-log-data): Remove unused local.
15217 Use let rather than let*.
15218 (timeclock-find-discrep): Remove unused local.
15219
314347b9
GM
15220 * calendar/diary-lib.el (diary-comment-start): Doc fix.
15221
915d1300
GM
15222 * calendar/appt.el (appt-time-msg-list): Doc fix.
15223
275b59b0
NF
152242011-05-06 Noah Friedman <friedman@splode.com>
15225
15226 * apropos.el (apropos-print-doc): Only use
15227 emacs-lisp-docstring-fill-column when it is bound to an integer,
15228 per that variable's documentation.
15229
6c19f744
SM
152302011-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
15231
15232 * lpr.el (print-region-1): Echo lpr-program's output, so error messages
d1dc2cc2 15233 and warnings are not silently discarded (e.g. use -d instead of -P).
6c19f744 15234
60f884b2
GM
152352011-05-06 Glenn Morris <rgm@gnu.org>
15236
5006e634
GM
15237 * calendar/appt.el (appt-message-warning-time): Doc fix.
15238 (appt-warning-time-regexp): New option.
15239 (appt-make-list): Respect appt-message-warning-time.
15240
548d0a63
GM
15241 * calendar/diary-lib.el (diary-comment-start, diary-comment-end):
15242 New options.
15243 (diary-add-to-list): Strip comments from the displayed string.
15244 (diary-mode): Set comment-start and comment-end.
15245
60f884b2
GM
15246 * vc/diff-mode.el (smerge-refine-subst): Declare.
15247 (diff-refine-hunk): Don't require smerge-mode when compiling.
15248
989681bb
JB
152492011-05-06 Juanma Barranquero <lekktu@gmail.com>
15250
15251 * simple.el (list-processes): Return nil as the docstring says.
15252
a6bc05e1
MA
152532011-05-05 Michael Albinus <michael.albinus@gmx.de>
15254
15255 * net/ange-ftp.el (ange-ftp-binary-file-name-regexp): Set default
15256 to "".
15257 (ange-ftp-write-region, ange-ftp-insert-file-contents)
15258 (ange-ftp-copy-file-internal): Use only `ange-ftp-binary-file' for
15259 determining of binary transfer. (Bug#7383)
15260
23c22e9a
MA
152612011-05-05 Michael Albinus <michael.albinus@gmx.de>
15262
c4662635
SM
15263 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15264 Fix port computation bug. (Bug#8618)
23c22e9a 15265
0bff894f
GM
152662011-05-05 Glenn Morris <rgm@gnu.org>
15267
b8296902
GM
15268 * allout-widgets.el (allout-widgets-mode-inhibit): Declare before use.
15269
1f522ce8
GM
15270 * simple.el (shell-dynamic-complete-functions)
15271 (comint-dynamic-complete-functions): Declare.
15272
cf5bee67
GM
15273 * net/network-stream.el (gnutls-negotiate):
15274 * simple.el (tabulated-list-print): Fix declarations.
15275
15276 * progmodes/gud.el (syntax-symbol, syntax-point):
15277 Remove unnecessary and incorrect declarations.
15278
0bff894f
GM
15279 * emacs-lisp/check-declare.el (check-declare-scan):
15280 Handle byte-compile-initial-macro-environment in bytecomp.el
15281
9869b3ae
SM
152822011-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
15283
15284 Fix earlier half-done eieio-defmethod change (bug#8338).
15285 * emacs-lisp/eieio.el (eieio--defmethod): Rename from eieio-defmethod.
15286 Streamline and change calling convention.
15287 (defmethod): Adjust accordingly and simplify.
15288 (eieio-defclass): Fix broken calls to eieio-defmethod and redirect to
15289 new eieio--defmethod.
15290 (slot-boundp): Minor CSE simplification.
15291
9c1d5ac5
MZ
152922011-05-05 Milan Zamazal <pdm@zamazal.org>
15293
15294 * progmodes/glasses.el (glasses-separate-capital-groups): New option.
15295 (glasses-make-readable): Use glasses-separate-capital-groups.
15296
455c834e
JB
152972011-05-05 Juanma Barranquero <lekktu@gmail.com>
15298
15299 * emacs-lisp/warnings.el (warning-level-aliases): Reflow docstring.
15300 (warning-series): Doc fix.
15301 (display-warning): Don't try to create the buffer if we just found it.
15302
9ed7c8cb
CY
153032011-05-04 Chong Yidong <cyd@stupidchicken.com>
15304
15305 * emacs-lisp/autoload.el (generated-autoload-file): Set to nil.
15306 (autoload-find-generated-file): New function.
15307 (generate-file-autoloads): Bind generated-autoload-file to
15308 buffer-file-name.
9869b3ae
SM
15309 (update-file-autoloads, update-directory-autoloads):
15310 Use autoload-find-generated-file. If called interactively, prompt for
9ed7c8cb
CY
15311 output file (Bug#7989).
15312 (batch-update-autoloads): Doc fix.
15313
0898ca10
JB
153142011-05-04 Juanma Barranquero <lekktu@gmail.com>
15315
15316 * term/w32-win.el (dynamic-library-alist): Add `gnutls'.
15317
31dfb76c
GM
153182011-05-04 Glenn Morris <rgm@gnu.org>
15319
f330b642
GM
15320 * calendar/diary-lib.el (diary-fancy-date-pattern): Turn it into a
15321 function, so it follows changes in calendar-date-style.
15322 (diary-fancy-date-matcher): New function.
15323 (diary-fancy-font-lock-keywords): Use diary-fancy-date-matcher.
15324 (diary-fancy-font-lock-fontify-region-function):
15325 Use diary-fancy-date-pattern as a function.
15326
31dfb76c
GM
15327 * calendar/diary-lib.el (diary-fancy-date-pattern): Do not use
15328 non-numbers for `year' etc pseudo-variables. (Bug#8583)
15329
48e79d6a
TZ
153302011-05-04 Teodor Zlatanov <tzz@lifelogs.com>
15331
15332 * net/gnutls.el (gnutls-negotiate): Use CL-style keyword arguments
15333 instead of positional arguments. Allow :keylist and :crlfiles
15334 arguments.
15335 (open-gnutls-stream): Call it.
15336
15337 * net/network-stream.el (network-stream-open-starttls): Adjust to
15338 call `gnutls-negotiate' with :process and :hostname arguments.
15339
dd5a5ee0
SM
153402011-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
15341
ef80fc09
SM
15342 * minibuffer.el (completion--message): New function.
15343 (completion--do-completion, minibuffer-complete)
15344 (minibuffer-force-complete, minibuffer-complete-word): Use it.
15345 (completion--do-completion): Don't ignore completion-auto-help when in
15346 icomplete-mode.
15347
dd5a5ee0
SM
15348 * whitespace.el (whitespace-trailing-regexp): Don't rely on the
15349 internal encoding (e.g. tibetan zero is not whitespace).
15350 (global-whitespace-mode): Prefer save-current-buffer.
15351 (whitespace-trailing-regexp): Remove useless save-match-data.
15352 (whitespace-empty-at-bob-regexp): Minor simplification.
15353
b7d22a83
CY
153542011-05-03 Chong Yidong <cyd@stupidchicken.com>
15355
15356 * emacs-lisp/autoload.el (generated-autoload-file): Doc fix (Bug#7989).
15357
5192af46
AM
153582011-05-03 Agustín Martín Domingo <agustin.martin@hispalinux.es>
15359
15360 * textmodes/ispell.el (ispell-add-per-file-word-list):
cdc4a047 15361 Use `concat' to create string for insertion.
5192af46 15362
5767d190
SM
153632011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15364
15365 * textmodes/bibtex.el (bibtex-fill-field-bounds, bibtex-fill-entry):
15366 Avoid open-line which runs post-self-insert-hook.
15367 (bibtex-fill-entry): Remove unused `end' var.
15368
bf242939
AM
153692011-05-03 Dirk Ullrich <dirk.ullrich@googlemail.com> (tiny change)
15370
5767d190
SM
15371 * textmodes/ispell.el (ispell-add-per-file-word-list):
15372 Protect against `nil' value of `comment-start' (Bug#8579).
bf242939 15373
25666126
LL
153742011-05-03 Leo Liu <sdl.web@gmail.com>
15375
15376 * isearch.el (isearch-yank-pop): New command.
5767d190 15377 (isearch-mode-map): Bind it to `M-y'.
25666126
LL
15378 (isearch-forward): Mention it.
15379
52d3c2d0
SM
153802011-05-03 Stefan Monnier <monnier@iro.umontreal.ca>
15381
1bcace58
SM
15382 * simple.el (minibuffer-complete-shell-command): Remove.
15383 (minibuffer-local-shell-command-map): Use completion-at-point.
15384 (read-shell-command): Setup completion vars here instead.
15385 (read-expression-map): Bind TAB to symbol completion.
15386
52d3c2d0
SM
15387 * textmodes/ispell.el (lookup-words): Use with-temp-buffer; signal
15388 error directly rather via storing it into `results'.
15389
35813471
LL
153902011-05-02 Leo Liu <sdl.web@gmail.com>
15391
15392 * vc/diff.el: Fix description.
15393
e793a940
LMI
153942011-05-02 Lars Magne Ingebrigtsen <larsi@gnus.org>
15395
15396 * server.el (server-eval-at): New function.
15397
8de66e05
LMI
153982011-05-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
15399
15400 * net/network-stream.el (open-network-stream): Take a :nowait
15401 parameter and pass it on to `make-network-process'.
15402 (network-stream-open-plain): Ditto.
15403
dcb79f20
AS
154042011-04-30 Andreas Schwab <schwab@linux-m68k.org>
15405
15406 * faces.el (face-spec-set-match-display): Don't match toolkit
15407 options on terminal frames.
15408
14a7fbd8
SM
154092011-04-29 Stefan Monnier <monnier@iro.umontreal.ca>
15410
7eabc1be
SM
15411 * progmodes/pascal.el: Use lexical binding.
15412 (pascal-mode-map): Remove author preferences.
15413
14a7fbd8
SM
15414 * pcomplete.el (pcomplete-std-complete): Don't abuse
15415 completion-at-point.
15416
50f84510
JB
154172011-04-28 Juanma Barranquero <lekktu@gmail.com>
15418
6e087a44
JB
15419 * calc/calccomp.el (math-comp-to-string-flat-term): Simplify by
15420 removing code that has been dead since 1991 or so.
15421
50f84510
JB
15422 * startup.el (command-line): When warning about "_emacs", use a
15423 delayed warning to allow the user to filter it out.
15424
0ba690bd
DD
154252011-04-28 Deniz Dogan <deniz@dogan.se>
15426
15427 * net/rcirc.el (rcirc-handler-353): Fix bug for channels which the
15428 user has not joined.
15429
08abfaad
SM
154302011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15431
15432 * pcomplete.el (pcomplete-completions-at-point): Return nil if there
15433 aren't any completions at point.
15434
638f053a
JB
154352011-04-28 Juanma Barranquero <lekktu@gmail.com>
15436
15437 * subr.el (display-delayed-warnings): New function.
15438 (delayed-warnings-hook): New variable.
15439
8fff8daa
SM
154402011-04-28 Stefan Monnier <monnier@iro.umontreal.ca>
15441
08abfaad
SM
15442 * minibuffer.el (completion-at-point, completion-help-at-point):
15443 Don't presume that a given completion-at-point-function will always
15444 use the same calling convention.
15445
8fff8daa
SM
15446 * pcomplete.el (pcomplete-completions-at-point):
15447 Obey pcomplete-ignore-case. Don't call pcomplete-norm-func unless
15448 pcomplete-seen is non-nil.
15449 (pcomplete-comint-setup): Also recognize the new comint/shell
15450 completion functions.
15451 (pcomplete-do-complete): Don't call pcomplete-norm-func unless
15452 pcomplete-seen is non-nil.
15453
841a1577 154542011-04-27 Niels Giesen <niels.giesen@gmail.com>
211ec907 15455
841a1577 15456 * calendar/icalendar.el (diary-lib): Add require statement.
211ec907 15457 (icalendar--create-uid): Read out a uid from a text-property on
841a1577 15458 the first character in the entry. This allows for code to add its
211ec907
UJ
15459 own uid to the entry.
15460 (icalendar--convert-float-to-ical): Add export of
15461 `diary-float'-entries save for those with the optional DAY
15462 argument.
15463
2a782793
DC
154642011-04-27 Daniel Colascione <dan.colascione@gmail.com>
15465
15466 * subr.el (shell-quote-argument): Use alternate escaping strategy
15467 when we spot a variable reference in a string.
15468
0438ce91
DC
154692011-04-26 Daniel Colascione <dan.colascione@gmail.com>
15470
15471 * cus-start.el (all): Define customization for debug-on-event.
15472
841a1577 154732011-04-26 Daniel Colascione <dan.colascione@gmail.com>
8f91bf93
DC
15474
15475 * subr.el (shell-quote-argument): Escape correctly under Windows.
15476
d090ed6c
SM
154772011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15478
15479 * emulation/cua-base.el (cua-selection-mode): Make it toggle again.
15480
bfd31217
MA
154812011-04-25 Michael Albinus <michael.albinus@gmx.de>
15482
d090ed6c
SM
15483 * net/tramp.el (tramp-process-actions): Add POS argument.
15484 Delete region between POS and (pos).
bfd31217 15485
d090ed6c
SM
15486 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
15487 Use `nil' position in `tramp-process-actions' call.
bfd31217
MA
15488 (tramp-maybe-open-connection): Call `tramp-process-actions' with pos.
15489
15490 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Use `nil'
15491 position in `tramp-process-actions' call.
15492
15493 * net/trampver.el: Update release number.
15494
e92f3bd3
SM
154952011-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
15496
850256b5
SM
15497 * custom.el (defcustom): Obey lexical-binding.
15498
e92f3bd3
SM
15499 Fix octave-inf completion problems reported by Alexander Klimov.
15500 * progmodes/octave-inf.el (inferior-octave-mode-syntax-table):
15501 Inherit from octave-mode-syntax-table.
15502 (inferior-octave-mode): Set info-lookup-mode.
15503 (inferior-octave-completion-at-point): New function.
15504 (inferior-octave-complete): Use it and completion-in-region.
15505 (inferior-octave-dynamic-complete-functions): Use it as well, and use
15506 comint-filename-completion.
15507 * progmodes/octave-mod.el (octave-mode-syntax-table): Use _ syntax for
15508 symbol elements which shouldn't be word elements.
15509 (octave-font-lock-keywords, octave-beginning-of-defun)
15510 (octave-function-header-regexp): Adjust regexps accordingly.
15511 (octave-mode-map): Also use info-lookup-symbol for C-c C-h.
15512
cd22b309
JB
155132011-04-25 Juanma Barranquero <lekktu@gmail.com>
15514
15515 * net/gnutls.el (gnutls-errorp): Declare before first use.
15516
8b492194
TZ
155172011-04-24 Teodor Zlatanov <tzz@lifelogs.com>
15518
15519 * net/gnutls.el (gnutls-negotiate): Add hostname, verify-flags,
15520 verify-error, and verify-hostname-error parameters. Check whether
cd22b309 15521 default trustfile exists before going to use it. Add missing
5a5fa834 15522 argument to gnutls-message-maybe call. Return value.
8b492194
TZ
15523 Reported by Claudio Bley <claudio.bley@gmail.com>.
15524 (open-gnutls-stream): Add usage example.
15525
15526 * net/network-stream.el (network-stream-open-starttls): Give host
15527 parameter to `gnutls-negotiate'.
15528 (gnutls-negotiate): Adjust `gnutls-negotiate' declaration.
8f91bf93 15529 * subr.el (shell-quote-argument): Escape correctly under Windows.
8b492194 15530
841a1577 155312011-04-24 Daniel Colascione <dan.colascione@gmail.com>
05842630 15532
cd22b309
JB
15533 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
15534 Use correct match group (bug#8438).
05842630 15535
3ba7869c
CY
155362011-04-24 Chong Yidong <cyd@stupidchicken.com>
15537
512e3ae1
CY
15538 * emacs-lisp/package.el (package-built-in-p): Fix typo.
15539 (package-menu--generate): New arg specifying packages to show.
15540 (package-menu-refresh, package-menu-execute, list-packages):
15541 Callers changed.
15542 (package-show-package-list): New function, replacing deleted
15543 package--list-packages (renamed because it is non-internal).
15544
15545 * finder.el (finder-list-matches): Use package-show-package-list
15546 instead of deleted package--list-packages.
15547
e92f3bd3
SM
15548 * vc/vc-annotate.el (vc-annotate-goto-line): New command.
15549 Based on a previous implementation by Juanma Barranquero (Bug#8366).
3ba7869c
CY
15550 (vc-annotate-mode-map): Bind it to RET.
15551
7031be6d
UR
155522011-04-24 Uday S Reddy <u.s.reddy@cs.bham.ac.uk> (tiny change)
15553
15554 * progmodes/etags.el (next-file): Don't use set-buffer to change
15555 buffers (Bug#8478).
15556
4ef177aa
CY
155572011-04-24 Chong Yidong <cyd@stupidchicken.com>
15558
c8d173eb
CY
15559 * files.el (auto-mode-alist): Use js-mode for .json (Bug#8529).
15560
4ef177aa
CY
15561 * apropos.el (apropos-label-face): Avoid variable-pitch face.
15562 (apropos-accumulator): Doc fix.
15563 (apropos-function, apropos-macro, apropos-command)
15564 (apropos-variable, apropos-face, apropos-group, apropos-widget)
15565 (apropos-plist): Add face property.
15566 (apropos-symbols-internal): Fix indentation.
15567 (apropos-print): Simplify help, and recognize apropos-multi-type.
15568 (apropos-print-doc): Use button-type-get to extract the button's
15569 face property. Fill docstring (Bug#8352).
15570
4ffd0d6b 155712011-04-23 Juanma Barranquero <lekktu@gmail.com>
be71f810
JB
15572
15573 * buff-menu.el (Buffer-menu--buffers): Fix typo in docstring (bug#8535).
15574
c6c32125 15575 * play/mpuz.el (mpuz-silent): Doc fix.
4ffd0d6b 15576 (mpuz-mode-map): Use mapc.
c6c32125
JB
15577 (mpuz-put-number-on-board): Rename parameter L to COLUMNS.
15578 (mpuz-letter-to-digit, mpuz-check-all-solved, mpuz-create-buffer):
15579 Fix typos in docstrings.
15580
58d468b4
JB
15581 * play/doctor.el (doc$, doctor-$, doctor-read-print, doctor-read-token)
15582 (doctor-nounp, doctor-pronounp): Fix typos in docstrings.
15583
6470c3c6
JB
15584 * mouse-drag.el (mouse-drag-throw): Fix typo in docstring.
15585
4ffd0d6b 155862011-04-23 Chong Yidong <cyd@stupidchicken.com>
6f21a319
CY
15587
15588 * minibuffer.el (completion--do-completion): Avoid the "Next char
15589 not unique" prompt if icomplete-mode is enabled (Bug#5849).
15590
3ad8bad0
CY
15591 * mouse.el (mouse-drag-mode-line-1): Make sure that if we push
15592 mouse-2 into unread-command-events, it is interpreted correctly.
15593
71d73c9c 15594 * image-mode.el (image-type, image-mode-map, image-minor-mode-map)
6395aab9 15595 (image-toggle-display): Doc fix.
71d73c9c 15596
841a1577 155972011-04-23 Stephen Berman <stephen.berman@gmx.net>
e935c6a2 15598
4ffd0d6b
GM
15599 * textmodes/page.el (what-page): Use line-number-at-pos to
15600 calculate line number (Bug#6825).
6e1dbaa9 15601
c2fb1b60
JB
156022011-04-22 Juanma Barranquero <lekktu@gmail.com>
15603
15604 * eshell/esh-mode.el (find-tag-interactive): Declare function.
15605 (eshell-find-tag): Remove `with-no-warnings', unneeded now.
15606 Pass argument NO-DEFAULT to `find-tag-interactive'.
15607
e02f48d7
JB
156082011-04-22 Juanma Barranquero <lekktu@gmail.com>
15609
15610 Lexical-binding cleanup.
15611
15612 * progmodes/ada-mode.el (ada-after-change-function, ada-loose-case-word)
15613 (ada-no-auto-case, ada-capitalize-word, ada-untab, ada-narrow-to-defun):
15614 * progmodes/ada-prj.el (ada-prj-initialize-values)
15615 (ada-prj-display-page, ada-prj-field-modified, ada-prj-display-help)
15616 (ada-prj-show-value):
15617 * progmodes/ada-xref.el (ada-find-any-references, ada-gdb-application):
15618 * progmodes/antlr-mode.el (antlr-with-displaying-help-buffer)
15619 (antlr-invalidate-context-cache, antlr-options-menu-filter)
15620 (antlr-language-option-extra, antlr-c++-mode-extra, antlr-run-tool):
15621 * progmodes/bug-reference.el (bug-reference-push-button):
15622 * progmodes/fortran.el (fortran-line-length):
15623 * progmodes/glasses.el (glasses-change):
15624 * progmodes/octave-mod.el (octave-fill-paragraph):
15625 * progmodes/python.el (python-mode, python-pdbtrack-track-stack-file)
15626 (python-pdbtrack-grub-for-buffer, python-sentinel):
15627 * progmodes/sql.el (sql-save-connection):
15628 * progmodes/tcl.el (tcl-indent-command, tcl-popup-menu):
15629 * progmodes/xscheme.el (xscheme-enter-debugger-mode):
15630 Mark unused parameters.
15631
15632 * progmodes/compile.el (compilation--flush-directory-cache)
15633 (compilation--flush-parse, compile-internal): Mark unused parameters.
15634 (compilation-buffer-name): Rename parameter MODE-NAME to NAME-OF-MODE.
15635 (compilation-next-error-function): Remove unused variable `timestamp'.
15636
15637 * progmodes/cpp.el (cpp-parse-close): Remove unused variable `begin'.
15638 (cpp-signal-read-only, cpp-grow-overlay): Mark unused parameters.
15639
15640 * progmodes/dcl-mode.el (dcl-end-of-command):
15641 Remove unused variable `start'.
15642 (dcl-calc-command-indent-multiple, dcl-calc-cont-indent-relative)
15643 (dcl-option-value-basic, dcl-option-value-offset)
15644 (dcl-option-value-margin-offset, dcl-option-value-comment-line):
15645 Mark unused parameters.
15646 (dcl-save-local-variable): Remove unused variable `val'.
15647 (mode): Declare.
15648
15649 * progmodes/delphi.el (delphi-save-state, delphi-after-change):
15650 Mark unused parameters.
15651 (delphi-ignore-changes): Move before first use.
15652 (delphi-charset-token-at): Remove unused variable `start'.
15653 (delphi-else-start): Remove unused variable `if-count'.
15654 (delphi-comment-block-start, delphi-comment-block-end):
15655 Remove unused variable `kind'.
15656 (delphi-indent-line): Remove unused variable `new-point'.
15657
15658 * progmodes/ebrowse.el (ebrowse-files-list)
15659 (ebrowse-list-of-matching-members, ebrowse-tags-list-members-in-file):
15660 Mark unused parameters. Don't quote `lambda'.
15661 (ebrowse-sort-tree-list, ebrowse-same-tree-member-buffer-list):
15662 Don't quote `lambda'.
15663 (ebrowse-revert-tree-buffer-from-file, ebrowse-tags-choose-class)
15664 (ebrowse-goto-visible-member/all-member-lists): Mark unused parameters.
15665 (ebrowse-create-tree-buffer): Rename parameter OBARRAY to CLASSES.
15666 (ebrowse-toggle-mark-at-point): Remove unused variable `pnt'.
15667 Use `ignore-errors'.
15668 (ebrowse-frozen-tree-buffer-name, ebrowse-find-source-file)
15669 (ebrowse-view/find-file-and-search-pattern)
15670 (ebrowse-view/find-member-declaration/definition):
15671 Rename parameter TAGS-FILE-NAME to TAGS-FILE.
15672 (ebrowse-find-class-declaration, ebrowse-view-class-declaration):
15673 Rename parameter PREFIX-ARG to PREFIX.
15674 (ebrowse-tags-read-name): Remove unused variables `start' and
15675 `member-info'.
15676 (ebrowse-display-member-buffer): Rename variable `tags-file-name'
15677 to `tags-file'.
15678
15679 * progmodes/etags.el (local-find-tag-hook): Declare.
15680 (tag-partial-file-name-match-p, tag-any-match-p, list-tags):
15681 Mark unused parameters.
15682
15683 * progmodes/executable.el (compilation-error-regexp-alist): Declare.
15684 (executable-interpret): Mark unused parameter.
15685
15686 * progmodes/flymake.el (flymake-process-sentinel)
15687 (flymake-after-change-function)
15688 (flymake-create-temp-with-folder-structure)
15689 (flymake-get-include-dirs-dot): Mark unused parameters.
15690 (flymake-safe-delete-directory): Remove unused variable `err'.
15691
15692 * progmodes/gdb-mi.el (speedbar-change-initial-expansion-list)
15693 (speedbar-timer-fn, speedbar-line-text)
15694 (speedbar-change-expand-button-char, speedbar-delete-subblock)
15695 (speedbar-center-buffer-smartly): Declare functions.
15696 (gdb-find-watch-expression): Remove unused variable `array'.
15697 (gdb-edit-value, gdb-gdb, gdb-ignored-notification, gdb-thread-created)
15698 (gdb-starting): Mark unused parameters.
15699 (gud-gdbmi-marker-filter): Remove unused variable `output-record'.
15700 (gdb-table-string): Remove unused variable `res'.
15701 (gdb-place-breakpoints): Remove unused variables `flag' and `bptno'.
15702 (gdb-disassembly-handler-custom): Remove unused variable `pos'.
15703 (gdb-display-buffer): Remove unused variable `cur-size'.
15704
15705 * progmodes/gud.el (gud-def): Use `defalias' instead of `defun' to
15706 allow lexical-binding compilation.
15707 (gud-expansion-speedbar-buttons, gud-gdb-goto-stackframe)
15708 (gud-dbx-massage-args, gud-xdb-massage-args, gud-perldb-massage-args)
15709 (gud-jdb-massage-args, gud-jdb-find-source, gud-find-class):
15710 Mark unused parameters.
15711 (gud-gdb-marker-filter): Remove unused variable `match'.
15712 (gud-find-class): Bind `syntax-symbol' and `syntax-point' to suitable
15713 lambda expressions and funcall them, instead of using `fset'.
15714
15715 * progmodes/hideif.el (hif-parse-if-exp): Rename parameter
15716 HIF-TOKEN-LIST to TOKEN-LIST and let-bind `hif-token-list'.
15717
15718 * progmodes/hideshow.el (hs-hide-block-at-point): Remove unused
15719 variable `header-beg'; use `let'.
15720
15721 * progmodes/icon.el (indent-icon-exp): Remove unused variables
15722 `restart', `last-sexp' and `at-do'.
15723
15724 * progmodes/js.el (js--debug): Mark unused parameter.
15725 (js--parse-state-at-point): Remove unused variable `bound'; use `let'.
15726 (js--splice-into-items): Remove unused variable `item'.
15727 (js--read-symbol, js--read-tab): Pass 1/-1 to `ido-mode', not t/nil.
15728
15729 * progmodes/make-mode.el (makefile-make-font-lock-keywords):
15730 Rename parameter FONT-LOCK-KEYWORDS to FL-KEYWORDS.
15731 (makefile-complete): Remove unused variable `try'.
15732 (makefile-fill-paragraph, makefile-match-function-end):
15733 Mark unused parameters.
15734
15735 * progmodes/octave-inf.el (inferior-octave-complete):
15736 Remove unused variable `proc'.
15737 (inferior-octave-output-digest): Mark unused parameter.
15738
15739 * progmodes/perl-mode.el (perl-calculate-indent):
15740 Remove unused variable `err'.
15741
15742 * progmodes/prolog.el (prolog-mode-keybindings-inferior)
15743 (prolog-indent-line): Mark unused parameters.
15744 (prolog-indent-line): Remove unused variable `beg'.
15745
15746 * progmodes/ps-mode.el (reporter-prompt-for-summary-p)
15747 (reporter-dont-compact-list): Declare.
15748
15749 * progmodes/sh-script.el (sh-font-lock-quoted-subshell):
15750 Remove unused variable `char'.
15751 (sh-debug): Mark unused parameter.
15752 (sh-get-indent-info): Remove unused variable `start'.
15753 (sh-calculate-indent): Remove unused variable `var'.
15754
15755 * progmodes/simula.el (simula-popup-menu): Mark unused parameter.
15756 (simula-electric-keyword): Remove unused variable `null'.
15757 (simula-search-backward, simula-search-forward): Remove unused
15758 variables `begin' and `end'.
15759
15760 * progmodes/vera-mode.el (vera-guess-basic-syntax):
15761 Remove unused variable `pos'.
15762 (vera-electric-tab, vera-comment-uncomment-region):
15763 Mark unused parameters.
15764 (vera-electric-tab): Rename parameter PREFIX-ARG to PREFIX.
15765
7ede3b65
CY
157662011-04-22 Chong Yidong <cyd@stupidchicken.com>
15767
15768 * emacs-lisp/package.el (package--builtins, package-alist)
15769 (package-load-descriptor, package-built-in-p, package-activate)
15770 (define-package, package-installed-p)
15771 (package-compute-transaction, package-buffer-info)
15772 (package--push): Doc fix. Distinguish more clearly between
15773 version strings and version lists.
15774
121656e9
JB
157752011-04-21 Juanma Barranquero <lekktu@gmail.com>
15776
15777 Lexical-binding cleanup.
15778
15779 * play/5x5.el (5x5-make-random-solution, 5x5-make-mutate-current)
15780 (5x5-make-mutate-best):
15781 * play/fortune.el (fortune-in-buffer):
15782 * play/gomoku.el (gomoku-init-display):
15783 * play/solitaire.el (solitaire, solitaire-do-check):
15784 * play/tetris.el (tetris-default-update-speed-function):
15785 Mark unused parameters.
15786
15787 * play/bubbles.el (bubbles-mode): Set `show-trailing-whitespace'.
15788 (bubbles--shift): Remove unused variable `char-org'.
15789 (bubbles--set-faces): Remove unused variable `fg-col'. Simplify.
15790 (bubbles--show-images): Remove unused variable `char'.
15791
15792 * play/decipher.el (decipher-keypress, decipher-alphabet-keypress)
15793 (decipher-get-undo, decipher-set-map, decipher-complete-alphabet)
15794 (decipher-resync, decipher-loop-with-breaks, decipher--analyze)
15795 (decipher-analyze-buffer): Use ?\s.
15796 (decipher-make-checkpoint): Remove unused variable `mapping'.
15797
15798 * play/doctor.el (doctor-doc): Rename parameter DOCTOR-SENT to SENT.
15799
15800 * play/gamegrid.el (gamegrid-add-score-with-update-game-score):
15801 Remove unused variable `result'; use `let'.
15802
15803 * play/gametree.el (gametree-current-layout, gametree-apply-layout):
15804 Rename parameter TOP-LEVEL to FROM-TOP-LEVEL; use `ignore-errors'.
15805 (gametree-children-shown-p, gametree-compute-reduced-score):
15806 Use `ignore-errors'.
15807
15808 * play/handwrite.el (ps-lpr-switches): Declare.
15809 (handwrite): Remove unused variables `pmin' and `lastp'.
15810
15811 * play/hanoi.el (hanoi-move-ring): Remove unused variable `total-steps'.
15812
15813 * play/landmark.el (landmark-init-display)
15814 (landmark-update-naught-weights): Mark unused parameters.
15815 (landmark-y): Remove unused variable `noise'. Simplify.
15816 (landmark-human-plays): Remove unused variable `score'.
15817
15818 * play/mpuz.el (mpuz-try-letter): Remove unused variable `message'.
15819 (mpuz-try-proposal): Remove unused variable `game'.
15820
15821 * play/zone.el (life-patterns): Declare.
15822
80f499c7
JB
158232011-04-20 Juanma Barranquero <lekktu@gmail.com>
15824
15825 * vc/vc.el (ediff-vc-internal): Declare function.
15826
024ff170
SM
158272011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15828
c0a193ea
SM
15829 * shell.el: Use lexical-binding and std completion UI.
15830 (shell-filter-ctrl-a-ctrl-b): Work as a preoutput filter.
15831 (shell-mode): Put shell-filter-ctrl-a-ctrl-b on
15832 comint-preoutput-filter-functions rather than on
15833 comint-output-filter-functions.
15834 (shell-command-completion, shell--command-completion-data)
15835 (shell-filename-completion, shell-environment-variable-completion)
15836 (shell-c-a-p-replace-by-expanded-directory): New functions.
15837 (shell-dynamic-complete-functions, shell-dynamic-complete-command)
15838 (shell-dynamic-complete-filename, shell-replace-by-expanded-directory)
15839 (shell-dynamic-complete-environment-variable): Use them.
15840 (shell-dynamic-complete-as-environment-variable)
15841 (shell-dynamic-complete-as-command): Remove.
15842 (shell-match-partial-variable): Match past point.
15843 * comint.el: Clean up use of completion-at-point-functions.
15844 (comint-completion-at-point): New function.
15845 (comint-mode): Use it completion-at-point-functions.
15846 (comint-dynamic-complete): Make it obsolete.
15847 (comint-replace-by-expanded-history-before-point): Add dry-run arg.
15848 (comint-c-a-p-replace-by-expanded-history): New function.
15849 (comint-dynamic-complete-functions)
15850 (comint-replace-by-expanded-history): Use it.
15851 * minibuffer.el (completion-table-with-terminator): Allow dynamic
15852 termination strings. Try harder to avoid second try-completion.
15853 (completion-in-region-mode-map): Disable bindings that don't work yet.
15854
2dbaa080
SM
15855 * comint.el: Use lexical-binding. Require CL.
15856 (comint-dynamic-complete-functions): Use comint-filename-completion.
15857 (comint-completion-addsuffix): Tweak custom type.
15858 (comint-filename-completion, comint--common-suffix)
15859 (comint--common-quoted-suffix, comint--table-subvert)
15860 (comint--complete-file-name-data): New functions.
15861 (comint-dynamic-complete-as-filename, comint-dynamic-complete-filename)
15862 (comint-dynamic-list-filename-completions): Use them.
15863 (comint-dynamic-simple-complete): Make obsolete.
c0a193ea 15864
2dbaa080
SM
15865 * minibuffer.el (completion-in-region-mode):
15866 Keep completion-in-region-mode--predicate global.
15867 (completion-in-region--postch):
15868 Assume completion-in-region-mode--predicate is not null.
15869
c79a6f38
SM
15870 * progmodes/flymake.el (flymake-start-syntax-check-process):
15871 Obey `dir'. Simplify.
15872
024ff170
SM
15873 * vc/vc.el (vc-version-ediff): Call ediff-vc-internal directly, since
15874 we're in VC after all.
15875
1c6c854e
CS
158762011-04-20 Christoph Scholtes <cschol2112@googlemail.com>
15877
15878 * vc/vc.el (vc-diff-build-argument-list-internal)
024ff170 15879 (vc-version-ediff, vc-ediff): New commands.
1c6c854e
CS
15880 (vc-version-diff): Use vc-diff-build-argument-list-internal.
15881
bed7f140
SM
158822011-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
15883
332e62ab
SM
15884 * emacs-lisp/byte-opt.el (byte-decompile-bytecode-1): Remove dead code,
15885 add sanity check.
15886
bed7f140
SM
15887 * obsolete/erc-hecomplete.el: Make obsolete.
15888 * obsolete/: Standardize obsolescence info in the header.
15889
f195c582
GM
158902011-04-20 Glenn Morris <rgm@gnu.org>
15891
15892 * calendar/solar.el (solar-horizontal-coordinates):
15893 Use the longitude argument rather than `calendar-longitude'.
15894 (solar-date-next-longitude): Remove unused locals.
15895
cb79b8c0
VJL
158962011-04-20 Vinicius Jose Latorre <viniciusjl@ig.com.br>
15897
15898 * whitespace.el: New version 13.2.1.
15899
159002011-04-20 felix <EmacsWiki> (tiny change)
15901
d8e4b68b 15902 * whitespace.el (global-whitespace-mode): Keep highlight when
cb79b8c0
VJL
15903 switching between major modes on a file.
15904
602ea69d
SM
159052011-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
15906
15907 * progmodes/octave-mod.el (octave-in-comment-p, octave-in-string-p)
15908 (octave-not-in-string-or-comment-p): Use syntax-ppss so it works with
15909 multi-line comments as well.
15910
06b60517
JB
159112011-04-19 Juanma Barranquero <lekktu@gmail.com>
15912
15913 Lexical-binding cleanup.
15914
15915 * arc-mode.el (archive-mode-revert):
15916 * cmuscheme.el (scheme-interactively-start-process):
15917 * custom.el (custom-initialize-delay):
15918 * dnd.el (dnd-open-local-file, dnd-open-remote-url):
15919 * dos-w32.el (direct-print-region-helper, direct-print-region-function):
15920 * emacs-lock.el (emacs-lock-clear-sentinel):
15921 * ezimage.el (defezimage):
15922 * follow.el (follow-avoid-tail-recenter):
15923 * fringe.el (set-fringe-mode-1):
15924 * generic-x.el (bat-generic-mode-compile):
15925 * help-mode.el (help-info-variable, help-do-xref)
15926 (help-mode-revert-buffer):
15927 * help.el (view-emacs-todo):
15928 * iswitchb.el (iswitchb-completion-help):
15929 * jka-compr.el (jka-compr-make-temp-name, jka-compr-load):
15930 * kmacro.el (kmacro-cycle-ring-next, kmacro-cycle-ring-previous)
15931 (kmacro-delete-ring-head, kmacro-bind-to-key, kmacro-view-macro):
15932 * locate.el (locate-update):
15933 * longlines.el (longlines-encode-region)
15934 (longlines-after-change-function):
15935 * outline.el (outline-isearch-open-invisible):
15936 * ps-def.el (declare-function, charset-dimension, char-width)
15937 (encode-char):
15938 * ps-mule.el (ps-mule-plot-string):
15939 * recentf.el (recentf-make-menu-items, recentf-cancel-dialog)
15940 (recentf-edit-list-select, recentf-edit-list-validate)
15941 (recentf-open-files-action):
15942 * rect.el (delete-whitespace-rectangle-line)
15943 (rectangle-number-line-callback):
15944 * register.el (window-configuration-to-register)
15945 (frame-configuration-to-register):
15946 * scroll-bar.el (scroll-bar-mode, toggle-horizontal-scroll-bar):
15947 * select.el (xselect-convert-to-string, xselect-convert-to-length)
15948 (xselect-convert-to-targets, xselect-convert-to-delete)
15949 (xselect-convert-to-filename, xselect-convert-to-charpos)
15950 (xselect-convert-to-lineno, xselect-convert-to-colno)
15951 (xselect-convert-to-os, xselect-convert-to-host)
15952 (xselect-convert-to-user, xselect-convert-to-class)
15953 (xselect-convert-to-name, xselect-convert-to-integer)
15954 (xselect-convert-to-atom, xselect-convert-to-identity):
15955 * subr.el (declare, ignore, process-kill-without-query)
15956 (text-clone-maintain):
15957 * terminal.el (te-get-char, te-tic-sentinel):
15958 * tool-bar.el (tool-bar-make-keymap):
15959 * tooltip.el (tooltip-timeout, tooltip-hide, tooltip-help-tips):
15960 * type-break.el (type-break-mode, type-break-noninteractive-query):
15961 * view.el (View-back-to-mark):
15962 * wid-browse.el (widget-browse-action, widget-browse-widget)
15963 (widget-browse-widgets, widget-browse-sexp):
15964 * widget.el (define-widget-keywords):
15965 * xt-mouse.el (xterm-mouse-translate, turn-off-xterm-mouse-tracking):
15966 Mark unused parameters.
15967
15968 * align.el (align-adjust-col-for-rule): Mark unused parameter.
15969 (align-areas): Remove unused variable `look'.
15970 (align-region): Remove unused variables `real-end' and `pos-list'.
15971
15972 * apropos.el (apropos-score-doc): Remove unused variable `i'.
15973
15974 * bindings.el (mode-line-modified, mode-line-remote):
15975 Mark unused parameters.
15976 (mode-line-mule-info): Mark unused parameter; don't quote `lambda'.
15977
15978 * buff-menu.el (Buffer-menu-revert-function): Mark unused parameters.
15979 (Buffer-menu-mode): Mark unused parameter; don't quote `lambda'.
15980
15981 * comint.el (comint-history-isearch-pop-state)
15982 (comint-postoutput-scroll-to-bottom, comint-truncate-buffer)
15983 (comint-strip-ctrl-m, comint-read-noecho): Mark unused parameters.
15984 (comint-substitute-in-file-name): Doc fix.
15985
15986 * completion.el (cmpl-statistics-block): Mark unused parameter.
15987 (add-completions-from-tags-table, add-completions-from-lisp-buffer)
15988 (save-completions-to-file, load-completions-from-file):
15989 Remove unused local variable `e'.
15990
15991 * composite.el (compose-chars): Remove unused variable `len'.
15992 (lgstring-insert-glyph): Remove unused variable `g'.
15993 (compose-glyph-string): Remove unused variables `ascent',
15994 `descent', `lbearing' and `rbearing'.
15995 (compose-glyph-string-relative): Remove unused variables
15996 `lbearing', `rbearing' and `wadjust'.
15997 (compose-gstring-for-graphic): Remove unused variables `header',
15998 `wadjust', `xoff' and `yoff'. Use `let', not `let*'.
15999 (compose-gstring-for-terminal): Remove unused variables `header'
16000 and `nchars'. Use `let', not `let*'.
16001
16002 * cus-edit.el (Custom-set, Custom-save, custom-reset)
16003 (Custom-reset-current, Custom-reset-saved, Custom-reset-standard)
16004 (Custom-buffer-done, custom-buffer-create-internal)
16005 (custom-browse-visibility-action, custom-browse-group-tag-action)
16006 (custom-browse-variable-tag-action, custom-browse-face-tag-action)
16007 (widget-magic-mouse-down-action, custom-toggle-parent)
16008 (custom-add-parent-links, custom-toggle-hide-variable)
16009 (custom-face-edit-value-visibility-action, custom-face-edit-fix-value)
16010 (custom-toggle-hide-face, face, hook, custom-group-link-action)
16011 (custom-face-menu-create, custom-variable-menu-create, get)
16012 (custom-group-menu-create, Custom-no-edit): Mark unused parameters.
16013 (custom-reset-standard-save-and-update): Remove unused variable `value'.
16014 (customize-apropos): Remove unused variable `tests'.
16015 (custom-group-value-create): Remove unused variable `hidden-p'.
16016 (sort-fold-case): Declare.
16017
16018 * cus-theme.el (custom-reset-standard-faces-list)
16019 (custom-reset-standard-variables-list): Declare.
16020 (customize-create-theme, custom-theme-revert, custom-theme-write)
16021 (custom-theme-choose-mode, customize-themes, custom-theme-save):
16022 Mark unused parameters.
16023
16024 * dabbrev.el (dabbrev-completion): Remove unused variable `init'.
16025
16026 * delim-col.el (delimit-columns-max): Move defvar before first use.
16027
16028 * descr-text.el (describe-char-categories): Don't quote `lambda'.
bd0d2ee2 16029 (describe-char): Don't quote `lambda'. Mark unused parameter.
06b60517
JB
16030
16031 * desktop.el (desktop-save-buffer-p): Mark unused parameter.
16032 (auto-insert): Declare.
16033 (desktop-restore-file-buffer): Rename desktop-* parameters;
16034 mark unused ones.
16035 (desktop-create-buffer): Rename desktop-* parameters and bind them.
16036 (desktop-buffer): Rename desktop-* parameters.
16037
16038 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
16039 (dframe-reposition-frame-xemacs, dframe-help-echo)
16040 (dframe-hack-buffer-menu, dframe-set-timer, dframe-set-timer-internal):
16041 Mark unused parameters.
16042
16043 * dired-aux.el (backup-extract-version-start, overwrite-query)
16044 (overwrite-backup-query, rename-regexp-query)
16045 (rename-non-directory-query): Declare.
16046 (dired-shell-stuff-it, dired-do-create-files): Mark unused parameters.
16047 (dired-add-entry): Remove unused variable `orig-file-name'.
16048 (dired-copy-file-recursive): Remove unused variable `dirfailed'.
16049 Use parameter PRESERVE-TIME instead of accessing dynamic variable
16050 `dired-copy-preserve-time' directly.
16051 (dired-do-create-files-regexp): Remove unused variable `fn-count'.
16052 (dired-insert-subdir-newpos): Rename unused variable `pos'.
16053
16054 * dired-x.el (dired-omit-size-limit): Move defcustom before first use.
16055 (dired-virtual-revert, dired-make-relative-symlink):
16056 Mark unused parameters.
16057 (manual-program): Declare.
16058 (dired-x-hands-off-my-keys): Rename parameters of lambda expression.
16059 (inode, s, mode, nlink, uid, gid, size, time, name, sym): Declare them,
16060 wrapped in `with-no-warnings' to avoid replacing one warning by another.
16061
16062 * dirtrack.el (dirtrack): Remove unused variable `multi-line'.
16063
16064 * dos-fns.el (dos-8+3-filename): Remove unused variable `i'.
16065
16066 * echistory.el (electric-history-in-progress, Helper-return-blurb):
16067 Declare.
16068
16069 * edmacro.el (edmacro-finish-edit): Remove unused variable `kmacro'.
16070
16071 * electric.el (Electric-command-loop): Rename parameter
16072 INHIBIT-QUIT to INHIBIT-QUITTING and bind `inhibit-quit'.
16073
16074 * expand.el (expand-in-literal): Remove unused variable `here'.
16075
16076 * facemenu.el (facemenu-add-new-color):
16077 Remove unused variable `docstring'.
16078
16079 * faces.el (face-id, make-face-bold, make-face-unbold, make-face-italic)
16080 (make-face-unitalic, make-face-bold-italic): Mark unused parameters.
16081 (face-attr-construct): Mark unused parameter. Doc fix.
16082 (read-color): Remove unused variable `hex-string'.
16083
16084 * files.el (parse-colon-path): Rename argument CD-PATH to SEARCH-PATH.
16085 (locate-dominating-file): Remove unused vars `prev-file' and `user'.
16086 (remote-file-name-inhibit-cache, revert-buffer): Clean up docstrings.
16087 (display-buffer-other-frame): Remove unused variable `old-window'.
16088 (kill-buffer-hook): Declare.
16089 (insert-file-contents-literally, set-auto-mode, risky-local-variable-p):
16090 Mark unused parameters.
16091 (after-find-file): Pass 1 to `auto-save-mode', not t.
16092
16093 * files-x.el (auto-insert): Declare.
16094 (modify-file-local-variable-prop-line): Remove unused variable `val'.
16095
16096 * find-lisp.el (find-lisp-find-dired-internal): Remove unused
bd0d2ee2 16097 variable `buf'. Mark unused parameter.
06b60517
JB
16098 (find-lisp-insert-directory): Mark unused parameter.
16099
16100 * format.el (format-decode-run-method): Mark unused parameter; doc fix.
16101 (format-encode-region): Remove unused variables `cur-buf' and `result'.
16102 (format-common-tail): Remove, unused.
16103 (format-deannotate-region): Remove unused variable `loc'.
16104 (format-annotate-region): Remove unused variable `p'.
16105 (format-annotate-single-property-change): Remove unused variables
16106 `default' and `tail'.
16107
16108 * forms.el (read-file-filter): Declare.
16109 (forms--iif-hook, forms--revert-buffer): Mark unused parameters.
16110
16111 * frame.el (frame-creation-function-alist): Mark unused parameter.
16112 (frame-geom-spec-cons): Pass FRAME to `frame-geom-value-cons'.
16113
16114 * hilit-chg.el (hilit-chg-cust-fix-changes-face-list, hilit-chg-clear):
16115 Remove unused parameters.
16116 (hilit-chg-set-face-on-change): Remove unused variable `beg-decr'.
16117 (highlight-compare-with-file): Remove unused variable `buf-b-read-only'.
16118
16119 * htmlfontify.el (hfy-default-footer, hfy-decor, hfy-invisible)
16120 (hfy-parse-tags-buffer, hfy-prepare-index-i, hfy-prepare-index)
16121 (hfy-prepare-tag-map): Mark unused parameters.
16122 (htmlfontify-buffer): Use `called-interactively-p'.
16123
16124 * ibuf-ext.el (ibuffer-do-kill-lines, ibuffer-jump-to-buffer)
16125 (ibuffer-copy-filename-as-kill, ibuffer-mark-on-buffer)
16126 (ibuffer-do-occur): Mark unused parameters.
16127 (ibuffer-forward-next-marked): Remove unused variable `curmark'.
16128 (ibuffer-diff-buffer-with-file-1): Remove unused variable `proc'.
16129
16130 * ibuffer.el: Don't quote `lambda'.
16131 (ibuffer-count-marked-lines, ibuffer-count-deletion-lines)
16132 (ibuffer-unmark-all, ibuffer-toggle-marks, ibuffer-redisplay-engine):
16133 Mark unused parameters.
16134
16135 * ido.el (ido-mode, ido-wide-find-dir-or-delete-dir)
16136 (ido-completing-read): Mark unused parameters.
16137 (ido-copy-current-word): Mark unused parameters;
16138 remove unused variable `name'.
16139 (ido-sort-merged-list): Remove unused parameter `dirs'.
16140
16141 * ielm.el (ielm-input-sender): Mark unused parameter.
16142 (ielm-string, ielm-form, ielm-pos, ielm-result, ielm-error-type)
16143 (ielm-output, ielm-wbuf, ielm-pmark): Declare.
16144 (ielm-eval-input): Rename argument IELM-STRING to INPUT-STRING to keep
16145 `ielm-string' as a dynamic variable accessible from the IELM prompt.
16146 Bind `ielm-string' to INPUT-STRING. Remove unused variable `err'.
16147
16148 * image-dired.el (image-dired-display-thumbs): Remove unused
16149 variables `curr-file' and `count'.
16150 (image-dired-remove-tag): Remove unused variable `start'.
16151 (image-dired-tag-files, image-dired-create-thumbs): Remove unused
16152 variable `curr-file'
16153 (image-dired-rotate-original): Remove unused variable `temp-file'.
16154 (image-dired-mouse-select-thumbnail, image-dired-mouse-toggle-mark):
16155 Remove unused variable `file'.
16156 (image-dired-gallery-generate): Remove unused variable `curr'.
16157 (image-dired-dired-edit-comment-and-tags): Mark unused parameters.
16158
16159 * indent.el (tab-to-tab-stop): Remove unused variable `opoint'.
16160
16161 * info-xref.el (info-xref-goto-node-p): Remove unused variable `err'.
16162
16163 * informat.el (texinfo-command-start, texinfo-command-end): Declare.
16164
16165 * isearch.el (minibuffer-history-symbol): Declare.
16166 (isearch-edit-string): Remove unused variable `err'.
16167 (isearch-message-prefix, isearch-message-suffix):
16168 Mark unused parameters.
16169
16170 * ls-lisp.el (ls-lisp-insert-directory): Remove unused variable `fil'.
16171
16172 * macros.el (insert-kbd-macro): Remove unused variable `mods'.
16173
16174 * makesum.el (double-column): Remove unused variable `cnt'.
16175
16176 * misearch.el (multi-isearch-pop-state): Mark unused parameter.
16177 (ido-ignore-item-temp-list): Declare.
16178
16179 * mouse-drag.el (mouse-drag-throw): Remove unused variables
16180 `mouse-delta', `window-last-row', `mouse-col-delta', `window-last-col',
16181 `adjusted-mouse-col-delta' and `adjusted-mouse-delta'.
16182 (mouse-drag-drag): Remove unused variables `mouse-delta' and
16183 `mouse-col-delta'.
16184
16185 * mouse-sel.el (mouse-extend-internal):
16186 Remove unused variable `orig-window-frame'.
16187
16188 * pcomplete.el (pcomplete-args, pcomplete-begins, pcomplete-last)
16189 (pcomplete-index, pcomplete-stub, pcomplete-seen, pcomplete-norm-func):
16190 Move declarations before first use.
16191 (pcomplete-opt): Mark unused parameters; doc fix.
16192
16193 * proced.el (proced-revert): Mark unused parameter.
16194 (proced-send-signal): Remove unused variable `err'.
16195
16196 * ps-print.el (ps-print-preprint-region, ps-print-preprint):
16197 Rename parameter PREFIX-ARG to ARG.
16198 (ps-basic-plot-string, ps-basic-plot-whitespace):
16199 Mark unused parameters.
16200
16201 * replace.el (replace-count): Define.
16202 (occur-revert-function): Mark unused parameters.
16203 (ido-ignore-item-temp-list, isearch-error, isearch-forward)
16204 (isearch-case-fold-search, isearch-string): Declare.
16205 (occur-engine): Rename parameter CASE-FOLD-SEARCH to CASE-FOLD and
16206 bind `case-fold-search'. Remove unused variables `beg' and `end',
16207 and simplify.
16208 (replace-eval-replacement): Rename parameter REPLACE-COUNT to
16209 COUNT and bind `replace-count'.
16210 (replace-loop-through-replacements): Rename parameter REPLACE-COUNT
16211 to COUNT.
16212
16213 * savehist.el (print-readably, print-string-length): Declare.
16214
16215 * shadowfile.el (shadow-expand-cluster-in-file-name):
16216 Remove unused variable `cluster'.
16217 (shadow-copy-file): Remove unused variable `i'.
16218 (shadow-noquery, shadow-clusters, shadow-site-cluster)
16219 (shadow-parse-fullname, shadow-parse-name, shadow-define-cluster)
16220 (shadow-define-literal-group, shadow-define-regexp-group)
16221 (shadow-make-group, shadow-shadows-of): Clean up docstrings.
16222
16223 * shell.el (shell-filter-ctrl-a-ctrl-b): Mark unused parameter.
16224 (shell): Use `called-interactively-p'.
16225 (shell-directory-tracker): Remove unused variable `chdir-failure'.
16226
16227 * simple.el (compilation-context-lines, comint-file-name-quote-list)
16228 (comint-file-name-chars, comint-delimiter-argument-list): Declare.
16229 (delete-backward-char): Remove unused variable `ocol'.
16230 (minibuffer-avoid-prompt, minibuffer-history-isearch-pop-state)
16231 (line-move-1, event-apply-alt-modifier, event-apply-super-modifier)
16232 (event-apply-hyper-modifier, event-apply-shift-modifier)
16233 (event-apply-control-modifier, event-apply-meta-modifier):
16234 Mark unused parameters.
16235 (undo-make-selective-list): Remove duplicate variable `undo-elt'.
16236 (normal-erase-is-backspace-mode): Remove unused variable `old-state'.
16237
16238 * speedbar.el (speedbar-ignored-directory-expressions)
16239 (speedbar-supported-extension-expressions, speedbar-directory-buttons)
16240 (speedbar-find-file, speedbar-dir-follow)
16241 (speedbar-directory-buttons-follow, speedbar-tag-find)
16242 (speedbar-buffer-buttons, speedbar-buffer-buttons-temp)
16243 (speedbar-buffers-line-directory, speedbar-buffer-click):
16244 Mark unused parameters.
16245 (speedbar-tag-file): Remove unused variable `mode'.
16246 (speedbar-buffers-tail-notes): Remove unused variable `mod'; simplify.
16247
16248 * strokes.el (strokes-decode-buffer): Remove unused variable `ext'.
16249
16250 * talk.el (talk): Remove unused variable `display'.
16251
16252 * tar-mode.el (tar-subfile-save-buffer): Remove unused variable `name'.
16253 (tar-write-region-annotate): Mark unused parameter.
16254
16255 * time.el (now, time, load, mail, 24-hours, hour, 12-hours, am-pm)
16256 (minutes, seconds, time-zone, day, year, monthname, month, dayname):
16257 Declare them, wrapped in `with-no-warnings' to avoid replacing one
16258 warning by another.
16259
16260 * time-stamp.el (time-stamp-string-preprocess):
16261 Remove unused variable `require-padding'.
16262
16263 * tree-widget.el (widget-glyph-enable): Declare.
16264 (tree-widget-action): Mark unused parameter.
16265
16266 * w32-fns.el (x-get-selection): Mark unused parameter.
16267 (autoload-make-program, generated-autoload-file): Declare.
16268
16269 * wdired.el (wdired-revert): Mark unused parameters.
16270 (wdired-xcase-word): Remove unused variable `err'.
16271
16272 * whitespace.el (whitespace-buffer-changed): Mark unused parameters.
16273 (whitespace-help-scroll): Remove unused variable `data-help'.
16274
16275 * wid-edit.el (widget-mouse-help, widget-overlay-inactive)
16276 (widget-image-insert, widget-after-change, default)
16277 (widget-default-format-handler, widget-default-notify)
16278 (widget-default-prompt-value, widget-info-link-action)
16279 (widget-url-link-action, widget-function-link-action)
16280 (widget-variable-link-action, widget-file-link-action)
16281 (widget-emacs-library-link-action, widget-emacs-commentary-link-action)
16282 (widget-field-prompt-internal, widget-field-action, widget-field-match)
16283 (widget-choice-mouse-down-action, toggle, widget-radio-button-notify)
16284 (widget-insert-button-action, widget-delete-button-action, visibility)
16285 (widget-documentation-link-action, widget-documentation-string-action)
16286 (widget-const-prompt-value, widget-regexp-match, symbol)
16287 (widget-coding-system-prompt-value)
16288 (widget-key-sequence-value-to-external, sexp)
16289 (widget-sexp-value-to-internal, character, vector, cons)
16290 (widget-choice-prompt-value, widget-boolean-prompt-value)
16291 (widget-color--choose-action): Mark unused parameters.
16292 (widget-item-match-inline, widget-choice-match-inline)
16293 (widget-checklist-match, widget-checklist-match-inline)
16294 (widget-group-match): Rename parameter VALUES to VALS.
16295 (widget-field-value-set): Remove unused variable `size'.
16296 (widget-color-action): Remove unused variables `value' and `start'.
16297
16298 * windmove.el (windmove-wrap-loc-for-movement): Remove unused
bd0d2ee2 16299 variable `dir'. Doc fix.
06b60517
JB
16300 (windmove-find-other-window): Don't pass it.
16301
16302 * window.el (count-windows): Mark unused parameter.
16303 (bw-adjust-window): Remove unused variable `err'.
16304
16305 * woman.el (woman-file-name): Remove unused variable `default'.
16306 (woman-expand-directory-path): Rename parameters WOMAN-MANPATH and
16307 WOMAN-PATH to PATH-DIRS and PATH-REGEXPS, respectively.
16308 (global-font-lock-mode): Declare.
16309 (woman-decode-region): Mark unused parameter.
16310 (woman-get-tab-stop): Rename parameter TAB-STOP-LIST to TAB-STOPS.
16311
16312 * x-dnd.el (x-dnd-default-test-function, x-dnd-handle-old-kde)
16313 (x-dnd-handle-xdnd, x-dnd-handle-motif): Mark unused parameters.
16314 (x-dnd-handle-moz-url): Remove unused variable `title'.
16315 (x-dnd-handle-xdnd): Remove unused variables `x', `y' and `ret-action'.
16316
16317 * xml.el (xml-parse-tag, xml-parse-attlist):
16318 Remove unused variable `pos'.
16319
bc4f7f3d
GM
163202011-04-19 Glenn Morris <rgm@gnu.org>
16321
16322 * calendar/cal-tex.el (cal-tex-list-holidays, cal-tex-cursor-month)
16323 (cal-tex-cursor-week, cal-tex-cursor-week2, cal-tex-cursor-week-iso)
16324 (cal-tex-cursor-filofax-2week, cal-tex-cursor-filofax-week)
16325 (cal-tex-cursor-filofax-daily, cal-tex-mini-calendar)
16326 * calendar/cal-html.el (cal-html-insert-minical):
16327 * calendar/diary-lib.el (diary-list-entries-1, diary-list-entries)
16328 (calendar-mark-date-pattern):
16329 Prefix "unused" locals.
16330
16331 * calendar/cal-dst.el (dst-adjust-time): Remove never-implemented
16332 optional argument `style'.
16333
16334 * calendar/appt.el (appt-make-list):
16335 * calendar/cal-china.el (calendar-chinese-date-string):
16336 * calendar/cal-hebrew.el (calendar-hebrew-list-yahrzeits)
16337 (diary-hebrew-yahrzeit):
16338 * calendar/cal-tex.el (cal-tex-last-blank-p, cal-tex-cursor-week2):
16339 * calendar/calendar.el (calendar-generate-window):
16340 * calendar/time-date.el (time-to-days):
16341 Remove unused local variables.
16342
16a43933
CY
163432011-04-18 Chong Yidong <cyd@stupidchicken.com>
16344
16345 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Use a custom
16346 glyphless-char-display table.
16347 (tabulated-list-glyphless-char-display): New var.
16348
7eed1860
SS
163492011-04-18 Sam Steingold <sds@gnu.org>
16350
16351 * vc/add-log.el (change-log-font-lock-keywords): Add "Thanks to"
16352 to acknowledgments.
16353
4d2d1ccd
GM
163542011-04-17 Glenn Morris <rgm@gnu.org>
16355
16356 * calendar/diary-lib.el (diary-sexp-entry):
16357 * calendar/holidays.el (holiday-sexp):
16358 Set debug-on-error rather than the removed stack-trace-on-error.
16359
239da61d
GM
163602011-04-16 Glenn Morris <rgm@gnu.org>
16361
16362 * progmodes/f90.el: Use lexical-binding.
16363 (f90-get-correct-indent): Remove unnecessary local variable `cont'.
16364
8b05752a
SM
163652011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16366
daca8ba5
SM
16367 * mail/sendmail.el (mail-mode-map): Use completion-at-point.
16368 (mail-mode): Setup mailalias completion here instead.
16369 * mail/mailalias.el: Use lexical-binding.
16370 (pattern, mailalias-done): Declare dynamic.
16371 (mail-completion-at-point-function): New function, from mail-complete.
16372 (mail-complete): Use it.
16373 (mail-completion-expand): New function.
16374 (mail-get-names): Use it.
16375 (mail-directory, mail-directory-process, mail-directory-stream):
16376 Don't use `pattern' for lexically bound arg.
16377
6f542485
SM
16378 * emacs-lisp/lisp-mode.el (eval-defun-2): Use eval-sexp-add-defvars.
16379
037e7c3f
SM
16380 * htmlfontify.el (hfy-etags-cmd): Remove inoperant eval-and-compile.
16381 (hfy-e2x-etags-cmd, hfy-etags-cmd-alist-default)
16382 (hfy-etags-cmd-alist): Don't eval-and-compile any more.
16383
8b05752a
SM
16384 * emacs-lisp/bytecomp.el (byte-temp-output-buffer-show)
16385 (byte-save-window-excursion, byte-temp-output-buffer-setup)
16386 (byte-interactive-p): Define them again, for use when inlining
16387 old code.
16388
49093f60
JB
163892011-04-15 Juanma Barranquero <lekktu@gmail.com>
16390
16391 * loadup.el: Use `string-to-number', not `string-to-int'.
16392
b5b8e7de
SM
163932011-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
16394
16395 * progmodes/gud.el (gud-gdb): Use completion-at-point instead of
16396 gud-gdb-complete-command.
16397 (gud-gdb-completions): New function, from gud-gdb-complete-command.
16398 (gud-gdb-completion-at-point): New function.
16399 (gud-gdb-completions): Remove.
16400
f42efeb5
MA
164012011-04-14 Michael Albinus <michael.albinus@gmx.de>
16402
49093f60
JB
16403 * net/tramp-sh.el (tramp-sh-handle-file-attributes): Handle the case
16404 when the scripts fail. Use `tramp-do-file-attributes-with-ls' then.
16405 (tramp-do-copy-or-rename-file-out-of-band): Do not check any longer
16406 whether `executable-find' is bound.
f42efeb5
MA
16407
16408 * net/tramp-smb.el (tramp-smb-handle-copy-file): Fix docstring.
16409
e240cc21
SM
164102011-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
16411
16412 * minibuffer.el (completion-in-region-mode-predicate)
16413 (completion-in-region-mode--predicate): New vars.
16414 (completion-in-region, completion-in-region--postch)
16415 (completion-in-region-mode): Use them.
16416 (completion--capf-wrapper): Also return the hook function.
16417 (completion-at-point, completion-help-at-point):
16418 Adjust and provide a predicate.
c2bd2ab0
SM
16419
16420 Preserve arg names for advice of subr and lexical functions (bug#8457).
16421 * help-fns.el (help-function-arglist): Consolidate the subr and
16422 new-byte-code cases. Add argument `preserve-names' to extract names
16423 from the docstring when needed.
16424 * emacs-lisp/advice.el (ad-define-subr-args, ad-undefine-subr-args)
16425 (ad-subr-args-defined-p, ad-get-subr-args, ad-subr-arglist): Remove.
16426 (ad-arglist): Use help-function-arglist's new arg.
16427 (ad-definition-type): Use cond.
16428
c183f693
JB
164292011-04-13 Juanma Barranquero <lekktu@gmail.com>
16430
06641a47
JB
16431 * autorevert.el (auto-revert-handler):
16432 Bind `remote-file-name-inhibit-cache', not `tramp-cache-inhibit-cache',
16433 which was removed in 2010-10-02T13:21:43Z!michael.albinus@gmx.de.
16434 Don't quote lambda.
16435
c183f693
JB
16436 * image-mode.el (image-transform-set-scale):
16437 Fix change in 2011-04-09T20:28:01Z!cyd@stupidchicken.com.
16438
1e3b6001
G
164392011-04-12 Lars Magne Ingebrigtsen <larsi@gnus.org>
16440
16441 * net/network-stream.el (network-stream-open-starttls): Only do
e9fce1ac 16442 opportunistic STARTTLS upgrades if we have built-in GnuTLS support.
1e3b6001
G
16443 Upgrades via gnutls-cli are too slow to be done opportunistically.
16444
2d6af8dd
JB
164452011-04-12 Juanma Barranquero <lekktu@gmail.com>
16446
16447 * dframe.el (dframe-current-frame): Remove spurious quote.
16448
c0749a51
GM
164492011-04-12 Glenn Morris <rgm@gnu.org>
16450
088d0d61
GM
16451 * calendar/cal-tex.el (cal-tex-end-document):
16452 Try to automatically use latin1 input if needed.
16453
c0749a51
GM
16454 * calendar/cal-hebrew.el (diary-hebrew-rosh-hodesh):
16455 Don't try to cons a mark onto an empty element.
16456
5c90fde0
LL
164572011-04-11 Leo Liu <sdl.web@gmail.com>
16458
16459 * ido.el (ido-buffer-internal): Allow method 'kill for virtual
16460 buffers.
16461 (ido-kill-buffer-at-head): Support killing virtual buffers.
16462
369e974d
CY
164632011-04-10 Chong Yidong <cyd@stupidchicken.com>
16464
16465 * minibuffer.el (completion-show-inline-help): New var.
16466 (completion--do-completion, minibuffer-complete)
daca8ba5
SM
16467 (minibuffer-force-complete, minibuffer-complete-word):
16468 Inhibit minibuffer messages if completion-show-inline-help is nil.
369e974d
CY
16469
16470 * icomplete.el (icomplete-mode): Bind completion-show-inline-help
16471 to avoid interference from inline help (Bug#5849).
16472
37f1c930
LL
164732011-04-10 Leo Liu <sdl.web@gmail.com>
16474
099c39a4
JB
16475 * emacs-lisp/tabulated-list.el (tabulated-list-print-entry):
16476 Fix typo.
37f1c930 16477
a32d4040
CY
164782011-04-09 Chong Yidong <cyd@stupidchicken.com>
16479
16480 * image-mode.el (image-toggle-display-image): Signal an error if
16481 not in Image mode.
16482 (image-transform-mode, image-transform-resize)
16483 (image-transform-set-rotation): Doc fix.
daca8ba5 16484 (image-transform-set-resize): Delete.
a32d4040
CY
16485 (image-transform-set-scale, image-transform-fit-to-height)
16486 (image-transform-fit-to-width): Handle image-toggle-display-image
16487 and image-transform-resize directly.
16488
099c39a4 164892011-04-08 Sho Nakatani <lay.sakura@gmail.com>
d7b89879
TH
16490
16491 * doc-view.el (doc-view-fit-width-to-window)
099c39a4
JB
16492 (doc-view-fit-height-to-window, doc-view-fit-page-to-window):
16493 New functions for fitting the shown image to the Emacs window size.
d7b89879
TH
16494 (doc-view-mode-map): Add bindings for the new functions.
16495
099c39a4 164962011-04-08 Juanma Barranquero <lekktu@gmail.com>
ddc20cdb 16497
4d61f28d 16498 * vc/vc-annotate.el (vc-annotate-show-log-revision-at-line):
ddc20cdb
JB
16499 Fix typo in docstring.
16500
3726838a
EZ
165012011-04-08 Eli Zaretskii <eliz@gnu.org>
16502
04f33f1e
EZ
16503 * files.el (file-size-human-readable): Produce one digit after
16504 decimal, like "ls -lh" does.
16505
16506 * ls-lisp.el (ls-lisp-format-file-size): Allow for 7 characters in
16507 the file size representation.
16508
3726838a
EZ
16509 * simple.el (list-processes): If async subprocesses are not
16510 available, error out with a clear error message.
16511
cbb59342
CY
165122011-04-08 Chong Yidong <cyd@stupidchicken.com>
16513
16514 * help.el (help-form-show): New function, to be called from C.
16515 Put help-form output in a buffer named differently than *Help*.
16516
e3971c44
EZ
165172011-04-08 Eli Zaretskii <eliz@gnu.org>
16518
16519 * files.el (file-size-human-readable): New function.
16520
16521 * ls-lisp.el (ls-lisp-format-file-size): Use it, instead of
16522 computing the representation inline. Don't require `cl'.
16523
12544bbe
GM
165242011-04-08 Glenn Morris <rgm@gnu.org>
16525
a1de6c6a
GM
16526 * man.el (Man-page-header-regexp): Solaris < 2.6 no longer supported.
16527
3c4671f4
GM
16528 * net/browse-url.el (browse-url-firefox):
16529 Test system-type, not system-configuration.
16530
b605679c
GM
16531 * vc/log-edit.el (log-edit-empty-buffer-p): New function.
16532 (log-edit-insert-cvs-template, log-edit-insert-cvs-rcstemplate):
16533 Use log-edit-empty-buffer-p. (Bug#7598)
16534
56442f0c
GM
16535 * net/rlogin.el (rlogin-process-connection-type): Simplify.
16536 (rlogin-mode-map): Initialize in the defvar.
16537 (rlogin): Use ignore-errors.
16538
12544bbe
GM
16539 * replace.el (occur-mode-map): Some fixes for menu items.
16540
eb237b0f
AH
165412011-04-07 Aaron S. Hawley <aaron.s.hawley@gmail.com>
16542
16543 * play/morse.el (denato-region): Handle varying case. (Bug#8386)
16544
7d668f2c
CY
165452011-04-06 Chong Yidong <cyd@stupidchicken.com>
16546
e67a13ab
CY
16547 * emacs-lisp/cconv.el (cconv--analyse-use): Ignore "ignored" when
16548 issuing unused warnings.
16549
16550 * emacs-lisp/tabulated-list.el (tabulated-list-print): Use lambda
16551 macro directly.
16552
7d668f2c
CY
16553 * simple.el: Lisp reimplement of list-processes. Based on an
16554 earlier reimplementation by Leo Liu, but using tabulated-list.el.
16555 (process-menu-mode): New major mode.
16556 (list-processes--refresh, list-processes):
16557 (process-menu-visit-buffer): New functions.
16558
16559 * files.el (save-buffers-kill-emacs): Don't assume any return
16560 value of list-processes, which is undocumented anyway.
16561
a83ec3c9
CY
165622011-04-06 Chong Yidong <cyd@stupidchicken.com>
16563
16564 * emacs-lisp/tabulated-list.el: New file.
16565
e91a96fe
CY
16566 * emacs-lisp/package.el: Use Tabulated List mode.
16567 (package-menu-mode-map): Inherit from tabulated-list-mode-map.
16568 (package-menu-mode): Derive from tabulated-list-mode. Set up the
16569 table format using Tabulated List mode variables.
16570 (package--push): New macro, replacing package-list-maybe-add.
16571 (package-menu--generate): Use package--push. Renamed from
16572 package--generate-package-list.
16573 (package-menu-refresh, list-packages): Use it.
daca8ba5 16574 (package-menu--print-info): Rename from package-print-package.
e91a96fe 16575 Return insertion data instead of inserting it directly.
099c39a4
JB
16576 (package-menu-describe-package, package-menu-execute):
16577 Use tabulated-list-get-id.
e91a96fe
CY
16578 (package-menu-mark-delete, package-menu-mark-install)
16579 (package-menu-mark-unmark, package-menu-backup-unmark)
099c39a4
JB
16580 (package-menu-mark-obsolete-for-deletion):
16581 Use tabulated-list-put-tag.
e91a96fe
CY
16582 (package--list-packages, package-menu-revert)
16583 (package-menu-get-package, package-menu-get-version)
16584 (package-menu-sort-by-column): Functions deleted.
16585 (package-menu-package-list, package-menu-sort-key): Vars deleted.
16586 (package-menu--status-predicate, package-menu--version-predicate)
16587 (package-menu--name-predicate)
16588 (package-menu--description-predicate): Handle arguments in the
16589 Tabulated List format.
16590 (package-list-packages-no-fetch): Call list-packages.
16591
3e214b50
JB
165922011-04-06 Juanma Barranquero <lekktu@gmail.com>
16593
16594 * files.el (after-find-file-from-revert-buffer): Remove variable.
c9d0ec6d 16595 (after-find-file): Don't bind it.
3e214b50
JB
16596 (revert-buffer-in-progress-p): New variable.
16597 (revert-buffer): Bind it.
16598 Pass nil for `after-find-file-from-revert-buffer'.
16599
16600 * saveplace.el (save-place-find-file-hook): Use new variable
16601 `rever-buffer-in-progress-p', not `after-find-file-from-revert-buffer'.
16602
3f0f1700
GM
166032011-04-06 Glenn Morris <rgm@gnu.org>
16604
c0274801
GM
16605 * Makefile.in (AUTOGEN_VCS): New variable.
16606 (autoloads): Use $AUTOGEN_VCS.
16607
3f0f1700
GM
16608 * calendar/cal-move.el (calendar-scroll-toolkit-scroll): New function.
16609 * calendar/calendar.el (calendar-mode-map):
16610 Check for toolkit scroll bars. (Bug#8305)
16611
41ea9e48
CY
166122011-04-05 Chong Yidong <cyd@stupidchicken.com>
16613
16614 * minibuffer.el (completion-in-region--postch)
16615 (completion-in-region-mode): Remove unnecessary messages.
16616
6194c800
JB
166172011-04-05 Juanma Barranquero <lekktu@gmail.com>
16618
33256f14
JB
16619 * font-lock.el (font-lock-refresh-defaults):
16620 Don't bind `hi-lock--inhibit-font-lock-hook', removed in
16621 2010-10-09T04:09:19Z!cyd@stupidchicken.com and 2010-10-11T23:57:49Z!lekktu@gmail.com (2010-10-12).
16622
6194c800
JB
16623 * info.el (Info-directory-list, Info-read-node-name-2)
16624 (Info-split-parameter-string): Doc fixes.
16625 (Info-virtual-nodes): Reflow docstring.
16626 (Info-find-file, Info-directory-toc-nodes, Info-history-toc-nodes)
16627 (Info-apropos-toc-nodes, info-finder, Info-get-token)
16628 (Info-find-emacs-command-nodes, Info-speedbar-key-map):
16629 Fix typos in docstrings.
16630 (Info-revert-buffer-function, Info-search, Info-isearch-pop-state)
16631 (Info-speedbar-hierarchy-buttons, Info-speedbar-goto-node)
16632 (Info-speedbar-buttons, Info-desktop-buffer-misc-data)
16633 (Info-restore-desktop-buffer): Mark unused parameters.
16634 (Info-directory-find-file, Info-directory-find-node)
16635 (Info-history-find-file, Info-history-find-node, Info-toc-find-node)
16636 (Info-virtual-index-find-node, Info-apropos-find-file)
16637 (Info-apropos-find-node, Info-finder-find-file, Info-finder-find-node):
33256f14 16638 Mark unused parameters; fix typos in docstrings.
6194c800
JB
16639 (Info-virtual-index): Remove unused local variable `nodename'.
16640
b87a8200 166412011-04-05 Deniz Dogan <deniz@dogan.se>
0f6ee7d2 16642
b87a8200
DD
16643 * net/rcirc.el: Update my e-mail address.
16644 (rcirc-mode-map): Remove M-o binding.
0f6ee7d2 16645
3b2ff876
CY
166462011-04-05 Chong Yidong <cyd@stupidchicken.com>
16647
16648 * startup.el (command-line): Save the cursor's theme-face
16649 directly, instead of using face-override-spec.
16650
16651 * custom.el (load-theme): Minor optimization in assigning faces.
16652
8d17e7ca
JB
166532011-04-04 Juanma Barranquero <lekktu@gmail.com>
16654
16655 * help-fns.el (describe-variable): Complete all variables having
16656 documentation, including keywords.
16657 http://lists.gnu.org/archive/html/emacs-devel/2011-04/msg00112.html
16658
2fbc1934
JB
166592011-04-04 Juanma Barranquero <lekktu@gmail.com>
16660
16661 Convert to lexical-binding.
16662
16663 * bs.el (bs-refresh, bs-sort-buffer-interns-are-last)
16664 (bs--get-marked-string, bs--get-modified-string)
16665 (bs--get-readonly-string, bs--get-size-string, bs--get-name)
16666 (bs--get-mode-name, bs--get-file-name): Mark unused arguments.
16667 (bs--configuration-name-for-prefix-arg): Rename argument PREFIX-ARG.
16668
16669 * ehelp.el (electric-help-execute-extended)
16670 (electric-help-ctrl-x-prefix):
16671 * hexl.el (hexl-revert-buffer-function):
16672 * linum.el (linum-after-change, linum-after-scroll):
16673 * emacs-lisp/re-builder.el (reb-auto-update): Mark unused arguments.
16674
16675 * help-fns.el (help-describe-category-set): Remove unused ERR variable.
16676
74f50695
DU
166772011-04-04 Daiki Ueno <ueno@unixuser.org>
16678
16679 * epa-dired.el:
16680 * epa-mail.el:
16681 * epa-hook.el:
16682 * epa-file.el:
16683 * epa.el:
16684 * epg.el: Use lexical binding.
16685
c11325f7
CY
166862011-04-03 Chong Yidong <cyd@stupidchicken.com>
16687
0d9e9a12
CY
16688 * dired-aux.el (dired-create-files): Add docstring (Bug#7970).
16689
c11325f7 16690 * textmodes/flyspell.el (flyspell-word): Recognize default
daca8ba5
SM
16691 dictionary case for flyspell-mark-duplications-exceptions.
16692 Use regexp matching for languages.
c11325f7
CY
16693 (flyspell-mark-duplications-exceptions): Add "that" and "had" for
16694 default dictionary (Bug#7926).
16695
da91b5f2
CY
166962011-04-02 Chong Yidong <cyd@stupidchicken.com>
16697
099c39a4
JB
16698 * emacs-lisp/package.el (package--with-work-buffer):
16699 Recognize https URLs.
da91b5f2 16700
099c39a4
JB
16701 * net/network-stream.el: Move from gnus/proto-stream.el.
16702 Change prefix to network-stream throughout.
da91b5f2
CY
16703 (open-protocol-stream): Merge into open-network-stream, leaving
16704 open-protocol-stream as an alias. Handle nil BUFFER args.
16705
16706 * subr.el (open-network-stream): Move to net/network-stream.el.
16707
afa8e9f6
GM
167082011-04-02 Glenn Morris <rgm@gnu.org>
16709
1d2e369d
GM
16710 * find-dired.el (find-exec-terminator): New option.
16711 (find-ls-option): Test for -ls support.
16712 (find-ls-subdir-switches): Test for -b in find-ls-option.
16713 (find-dired, find-grep-dired): Doc fixes.
16714 (find-dired): Use find-exec-terminator.
16715
8abb7da8 16716 * find-dired.el (find-ls-option, find-ls-subdir-switches)
e7a395b5
GM
16717 (find-grep-options): Do not autoload these defcustoms, remove purecopy.
16718 (find-name-arg): Remove purecopy.
8abb7da8 16719
f3ca7378
GM
16720 * progmodes/grep.el (grep-find-use-xargs): Doc fix.
16721 (grep-compute-defaults): Check for `-exec COMMAND +' support.
16722 Set grep-find-use-xargs, grep-find-command, and grep-find-template
16723 accordingly. Don't add the null-device if not needed.
16724
afa8e9f6
GM
16725 * files.el (save-some-buffers): Doc fix.
16726
35eae264
EZ
167272011-04-02 Eli Zaretskii <eliz@gnu.org>
16728
16729 * makefile.w32-in (EMACS): Default to ../src/$(BLD)/emacs.exe.
16730
26b51db5
JB
167312011-04-01 Juanma Barranquero <lekktu@gmail.com>
16732
16733 * progmodes/idlwave.el (idlwave-one-key-select, idlwave-list-abbrevs):
16734 Use `dolist' rather than `mapcar'.
16735
7200d79c
SM
167362011-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
16737
03408648 16738 Add lexical binding.
7200d79c 16739
03408648
SM
16740 * subr.el (apply-partially): Use new closures rather than CL.
16741 (--dolist-tail--, --dotimes-limit--): Don't declare dynamic.
16742 (dolist, dotimes): Use slightly different expansion for lexical code.
16743 (functionp): Move to C.
16744 (letrec): New macro.
16745 (with-wrapper-hook): Use it and apply-partially instead of CL.
16746 (eval-after-load): Preserve lexical-binding.
16747 (save-window-excursion, with-output-to-temp-buffer): Turn them
16748 into macros.
7200d79c 16749
03408648
SM
16750 * simple.el (with-wrapper-hook, apply-partially): Move to subr.el.
16751
16752 * help-fns.el (help-split-fundoc): Return nil if there's nothing else
16753 than the arglist.
16754 (help-add-fundoc-usage): Don't add `Not documented'.
16755 (help-function-arglist): Handle closures, subroutines, and new
16756 byte-code-functions.
16757 (help-make-usage): Remove leading underscores.
16758 (describe-function-1): Handle closures.
16759 (describe-variable): Use special-variable-p for completion.
16760
16761 * files.el (lexical-binding): Declare safe.
f488fb65 16762
03408648
SM
16763 * emacs-lisp/pcase.el: Don't use destructuring-bind.
16764 (pcase--memoize): Rename from pcase-memoize. Change weakness.
16765 (pcase): Add `let' pattern.
16766 Change memoization so it actually works.
16767 (pcase-mutually-exclusive-predicates): Add byte-code-function-p.
16768 (pcase--u1) <guard, pred>: Fix possible shadowing problem.
16769 <let>: New case.
f488fb65 16770
03408648
SM
16771 * emacs-lisp/macroexp.el: Use lexical binding.
16772 (macroexpand-all-1): Check obsolete macros. Expand compiler-macros.
16773 Don't convert ' to #' without checking that it's indeed quoting
16774 a lambda.
16775
16776 * emacs-lisp/lisp-mode.el (eval-last-sexp-1):
f488fb65 16777 Use eval-sexp-add-defvars.
03408648
SM
16778 (eval-sexp-add-defvars): New fun.
16779
16780 * emacs-lisp/float-sup.el (pi): Don't declare as dynamically bound.
16781
16782 * emacs-lisp/eieio.el (byte-compile-file-form-defmethod):
16783 Don't autoload.
16784 (eieio-defgeneric-form-primary-only-one): Use `byte-compile' rather
16785 than the internal `byte-compile-lambda'.
16786 (defmethod): Don't hide code under quotes.
16787 (eieio-defmethod): New `code' argument.
16788
16789 * emacs-lisp/eieio-comp.el: Remove.
16790
16791 * emacs-lisp/edebug.el (edebug-eval-defun)
16792 (edebug-eval-top-level-form): Use eval-sexp-add-defvars.
16793 (edebug-toggle): Avoid `eval'.
16794
16795 * emacs-lisp/disass.el (disassemble-internal): Handle new
16796 `closure' objects.
16797 (disassemble-1): Handle new byte codes.
16798
16799 * emacs-lisp/cl.el (pushnew): Silence warning.
16800
16801 * emacs-lisp/cl-macs.el (cl-byte-compile-block)
16802 (cl-byte-compile-throw): Remove.
16803 (cl-block-wrapper, cl-block-throw): Use compiler-macros instead.
16804
16805 * emacs-lisp/cl-extra.el (cl-macroexpand-all): Properly quote CL
16806 closures.
16807
16808 * emacs-lisp/cconv.el: New file.
16809
16810 * emacs-lisp/bytecomp.el: Use lexical binding instead of
16811 a "bytecomp-" prefix. Macroexpand everything as a separate phase.
16812 (byte-compile-initial-macro-environment):
16813 Handle declare-function here.
16814 (byte-compile--lexical-environment): New var.
16815 (byte-stack-ref, byte-stack-set, byte-discardN)
16816 (byte-discardN-preserve-tos): New lap codes.
16817 (byte-interactive-p): Don't use any more.
16818 (byte-compile-push-bytecodes, byte-compile-push-bytecode-const2):
16819 New macros.
16820 (byte-compile-lapcode): Use them and handle new lap codes.
16821 (byte-compile-obsolete): Remove.
16822 (byte-compile-arglist-signature): Handle new byte-code arg"lists".
16823 (byte-compile-arglist-warn): Check late def of inlinable funs.
16824 (byte-compile-cl-warn): Don't silence warnings for compiler-macros
16825 since they should have been expanded by now.
16826 (byte-compile--outbuffer): Rename from bytecomp-outbuffer.
16827 (byte-compile-from-buffer): Remove unused second arg.
16828 (byte-compile-preprocess): New function.
16829 (byte-compile-toplevel-file-form): New function to distinguish
16830 file-form calls from outside from file-form calls from hunk-handlers.
16831 (byte-compile-file-form): Simplify.
16832 (byte-compile-file-form-defsubst): Remove.
16833 (byte-compile-file-form-defmumble): Simplify now that
16834 byte-compile-lambda always returns a byte-code-function.
16835 (byte-compile): Preprocess.
16836 (byte-compile-byte-code-maker, byte-compile-byte-code-unmake):
16837 Remove, not used any more.
16838 (byte-compile-arglist-vars, byte-compile-make-lambda-lexenv)
16839 (byte-compile-make-args-desc): New funs.
16840 (byte-compile-lambda): Handle lexical functions. Always return
16841 a byte-code-function.
16842 (byte-compile-reserved-constants): New var, to make up room for
16843 closed-over variables.
16844 (byte-compile-constants-vector): Obey it.
16845 (byte-compile-top-level): New args `lexenv' and `reserved-csts'.
16846 (byte-compile-macroexpand-declare-function): New function.
16847 (byte-compile-form): Call byte-compile-unfold-bcf to inline immediate
16848 byte-code-functions.
16849 (byte-compile-form): Check obsolescence here.
16850 (byte-compile-inline-lapcode, byte-compile-unfold-bcf): New functions.
16851 (byte-compile-variable-ref): Remove.
16852 (byte-compile-dynamic-variable-op): New fun.
16853 (byte-compile-dynamic-variable-bind, byte-compile-variable-ref)
16854 (byte-compile-variable-set): New funs.
16855 (byte-compile-discard): Add 2 args.
16856 (byte-compile-stack-ref, byte-compile-stack-set)
16857 (byte-compile-make-closure, byte-compile-get-closed-var): New funs.
16858 (byte-compile-funarg, byte-compile-funarg-2): Remove, handled in
16859 macroexpand-all instead.
16860 (byte-compile-quote-form): Remove.
16861 (byte-compile-push-binding-init, byte-compile-not-lexical-var-p)
16862 (byte-compile-bind, byte-compile-unbind): New funs.
16863 (byte-compile-let): Handle let* and lexical binding.
16864 (byte-compile-let*): Remove.
16865 (byte-compile-catch, byte-compile-unwind-protect)
16866 (byte-compile-track-mouse, byte-compile-condition-case):
16867 Handle a new :fun-body form, used for lexical scoping.
16868 (byte-compile-save-window-excursion)
16869 (byte-compile-with-output-to-temp-buffer): Remove.
16870 (byte-compile-defun): Simplify.
16871 (byte-compile-stack-adjustment): New fun.
16872 (byte-compile-out): Use it.
16873 (byte-compile-refresh-preloaded): Don't reload byte-compiler files.
16874
16875 * emacs-lisp/byte-run.el (make-obsolete): Don't set the `byte-compile'
16876 handler any more.
16877
16878 * emacs-lisp/byte-opt.el: Use lexical binding.
16879 (byte-inline-lapcode): Remove (to bytecomp).
16880 (byte-compile-inline-expand): Pay attention to inlining to/from
16881 lexically bound code.
16882 (byte-compile-unfold-lambda): Don't handle byte-code-functions
16883 any more.
16884 (byte-optimize-form-code-walker): Don't handle save-window-excursion
16885 any more and don't call compiler-macros.
16886 (byte-compile-splice-in-already-compiled-code): Remove.
16887 (byte-code): Don't inline any more.
16888 (disassemble-offset): Receive `bytes' as argument rather than via
16889 dynamic scoping.
16890 (byte-compile-tag-number): Declare before first use.
16891 (byte-decompile-bytecode-1): Handle new byte-codes, don't change
16892 `return' even if make-spliceable.
16893 (byte-compile-side-effect-and-error-free-ops): Add stack-ref, remove
16894 obsolete interactive-p.
16895 (byte-optimize-lapcode): Optimize new lap-codes.
16896 Don't trip up on new form of `byte-constant' lap code.
16897
16898 * emacs-lisp/autoload.el (make-autoload): Don't burp on trivial macros.
16899
16900 * emacs-lisp/advice.el (ad-arglist): Use help-function-arglist.
16901
16902 * custom.el (custom-initialize-default, custom-declare-variable):
16903 Use `defvar'.
16904
16905 * Makefile.in (BIG_STACK_DEPTH, BIG_STACK_OPTS, BYTE_COMPILE_FLAGS):
16906 New variables.
16907 (compile-onefile, .el.elc, compile-calc, recompile): Use them.
16908 (COMPILE_FIRST): Add macroexp and cconv.
16909 * makefile.w32-in: Mirror changes in Makefile.in.
16910
16911 * vc/cvs-status.el:
16912 * vc/diff-mode.el:
16913 * vc/log-edit.el:
16914 * vc/log-view.el:
16915 * vc/smerge-mode.el:
16916 * textmodes/bibtex-style.el:
090bd7cb 16917 * textmodes/css-mode.el:
03408648
SM
16918 * startup.el:
16919 * uniquify.el:
da91b5f2
CY
16920 * minibuffer.el:
16921 * newcomment.el:
16922 * reveal.el:
16923 * server.el:
16924 * mpc.el:
16925 * emacs-lisp/smie.el:
16926 * doc-view.el:
16927 * dired.el:
03408648
SM
16928 * abbrev.el: Use lexical binding.
16929
0f0c1f27
EZ
169302011-04-01 Eli Zaretskii <eliz@gnu.org>
16931
16932 * info.el (info-display-manual): New function.
16933
c82b2579
SM
169342011-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
16935
16936 * loadup.el: Load minibuffer after loaddefs, to use define-minor-mode.
16937
221ddf68
TH
169382011-03-31 Tassilo Horn <tassilo@member.fsf.org>
16939
16940 * net/rcirc.el (rcirc-handler-001): Only authenticate, if there's
2fbc1934 16941 an entry for that server in rcirc-authinfo. (Bug#8385)
221ddf68 16942
cba6e77e
GM
169432011-03-31 Glenn Morris <rgm@gnu.org>
16944
e040639f
GM
16945 * progmodes/f90.el (f90-find-tag-default): Handle multiple `%'.
16946
cba6e77e
GM
16947 * generic-x.el (etc-fstab-generic-mode): Add ext4, sysfs keywords.
16948
6d0f1c9e
CS
169492011-03-30 Christoph Scholtes <cschol2112@googlemail.com>
16950
16951 * progmodes/python.el (python-default-interpreter)
16952 (python-python-command-args, python-jython-command-args)
16953 (python-which-shell, python-which-args, python-which-bufname)
16954 (python-file-queue, python-comint-output-filter-function)
16955 (python-toggle-shells, python-shell): Remove obsolete defcustoms,
16956 variables and functions.
16957
3e2d70fd
SM
169582011-03-30 Stefan Monnier <monnier@iro.umontreal.ca>
16959
16960 * minibuffer.el (completion-table-dynamic): Optimize `boundaries'.
16961 (completion-in-region-mode): New minor mode.
16962 (completion-in-region): Use it.
16963 (completion-in-region--data, completion-in-region-mode-map): New vars.
16964 (completion-in-region--postch): New function.
16965 (completion--capf-misbehave-funs, completion--capf-safe-funs):
16966 New vars.
16967 (completion--capf-wrapper): New function.
16968 (completion-at-point): Use it to track well-behavedness of
16969 hook functions.
16970 (completion-help-at-point): New command.
16971
f3e4086c
JM
169722011-03-30 Jason Merrill <jason@redhat.com> (tiny change)
16973
16974 * vc/add-log.el (add-change-log-entry): Don't use whitespace
16975 syntax class to search for whitespace on a single line
16976 (Message-ID: <4D938140.4030905@redhat.com>).
16977
eb7ffc14
LL
169782011-03-30 Leo Liu <sdl.web@gmail.com>
16979
16980 * abbrev.el (abbrev-edit-save-to-file, abbrev-edit-save-buffer):
16981 New commands.
16982 (edit-abbrevs-map): Bind them here.
16983 (write-abbrev-file): New optinal arg VERBOSE. (Bug#5937)
16984
d806ab68
KM
169852011-03-29 Ken Manheimer <ken.manheimer@gmail.com>
16986
16987 * allout.el (allout-hide-by-annotation, allout-flag-region):
16988 Reduce possibility of overlay leakage by making them volatile.
16989
16990 * allout-widgets.el (allout-widgets-tally): Define as nil so the
16991 hash is not shared between buffers. Mode initialization is
16992 responsible for giving it a useful starting value.
16993 (allout-item-span): Reduce possibility of overlay leakage by
16994 making them volatile.
16995 (allout-widgets-count-buttons-in-region): Add diagnostic function
16996 for tracking down button overlay leaks.
16997
ea622834
LL
169982011-03-29 Leo Liu <sdl.web@gmail.com>
16999
17000 * ido.el (ido-read-internal): Use the default history var
17001 minibuffer-history if no HISTORY is specified.
17002
b62f8267
G
170032011-03-28 Brian T. Sniffen <bsniffen@akamai.com> (tiny change)
17004
03408648
SM
17005 * net/imap.el (imap-shell-open, imap-process-connection-type):
17006 Use imap-process-connection-type for 'shell' streams as well as
b62f8267
G
17007 Kerberos, SSL, other subprocesses.
17008
947b6566
LL
170092011-03-28 Leo Liu <sdl.web@gmail.com>
17010
17011 * abbrev.el (abbrev-table-empty-p): New function.
17012 (prepare-abbrev-list-buffer): Place empty abbrev tables after
17013 nonempty ones. (Bug#5937)
17014
5ffb62aa
JD
170152011-03-27 Jan Djärv <jan.h.d@swipnet.se>
17016
17017 * cus-start.el (all): Add boolean ns-auto-hide-menu-bar.
17018
7a097943
LL
170192011-03-27 Leo Liu <sdl.web@gmail.com>
17020
17021 * ansi-color.el (ansi-color-names-vector): Allow cons cell value
17022 for foreground and background colors.
17023 (ansi-color-make-color-map): Adapt.
17024
c5b40130
LL
170252011-03-25 Leo Liu <sdl.web@gmail.com>
17026
1f48f7d2
LL
17027 * midnight.el (midnight-time-float): Remove. Note it calculates
17028 the microsecond component incorrectly and seconds-to-time does the
17029 same job.
625897ec 17030 Remove redundant (require 'timer).
1f48f7d2 17031
c5b40130
LL
17032 * ido.el (ido-read-internal): Simplify with read-from-minibuffer.
17033 (ido-completions): Remove unused arguments. (Bug#8329)
17034
d86d2721
SM
170352011-03-24 Stefan Monnier <monnier@iro.umontreal.ca>
17036
17037 * minibuffer.el (completion--flush-all-sorted-completions):
17038 Remove itself from hook.
17039 (completion-at-point): Let the functions perform the completion
17040 immediately and return nil or t.
17041 * comint.el (comint-dynamic-complete-functions): Now identical to
17042 completion-at-point-functions.
17043 (comint-dynamic-list-input-ring): Remove unused var `index'.
17044 (comint--match-partial-filename, comint--unquote&expand-filename):
17045 New funs, split from comint-match-partial-filename.
17046 (comint-dynamic-complete): Use completion-at-point.
17047 (comint-dynamic-complete-filename): Use comint--match-partial-filename.
17048
e8974c48
DA
170492011-03-24 Drew Adams <drew.adams@oracle.com>
17050
17051 * thingatpt.el: Support `defun'.
17052
def71b5e
LL
170532011-03-23 Leo Liu <sdl.web@gmail.com>
17054
cb5af48e
LL
17055 * abbrevlist.el: Move to obsolete/abbrevlist.el.
17056
def71b5e
LL
17057 * help-mode.el (help-mode-finish): Tweak regexp.
17058
927c53e7
GM
170592011-03-23 Glenn Morris <rgm@gnu.org>
17060
18d05bed
GM
17061 * eshell/esh-opt.el (eshell-eval-using-options):
17062 Do not bind unused local variable `eshell-option-stub'.
17063
927c53e7
GM
17064 * progmodes/gdb-mi.el (gdb): Fix typo in previous change.
17065
9d0da923
JB
170662011-03-22 Juanma Barranquero <lekktu@gmail.com>
17067
17068 * emacs-lisp/derived.el (define-derived-mode): Wrap declaration of
17069 keymap variable in `with-no-warnings' to avoid a warning when the
17070 keymap has been already `defconst'ed.
17071
4b978a67
LL
170722011-03-22 Leo Liu <sdl.web@gmail.com>
17073
17074 * abbrev.el (write-abbrev-file): Use utf-8 for writing if it can
17075 encode all chars in abbrevs; otherwise use emacs-mule or
17076 utf-8-emacs. (Bug#8308)
17077
5fd62452
JB
170782011-03-22 Juanma Barranquero <lekktu@gmail.com>
17079
0b1596c6
JB
17080 * simple.el (backward-delete-char-untabify):
17081 Avoid warning about using `delete-backward-char'.
17082
5fd62452
JB
17083 * image.el (image-type-file-name-regexps): Make it variable.
17084 `imagemagick-register-types' modifies it, and the user may want
17085 to add new extensions for known image types.
17086 (imagemagick-register-types): Throw error if not using ImageMagick.
17087
0b4e93f1
LL
170882011-03-22 Leo Liu <sdl.web@gmail.com>
17089
17090 * net/rcirc.el (rcirc-completion-at-point): Return nil if point is
17091 located before rcirc-prompt-end-marker.
17092 (rcirc-complete): Error if point is not after rcirc prompt.
17093 Handle the case when table is nil.
9882e214 17094 (rcirc-user-authenticated): Define to fix compiler warning.
0b4e93f1 17095
fccee4ab
CY
170962011-03-22 Chong Yidong <cyd@stupidchicken.com>
17097
17098 * custom.el (custom--inhibit-theme-enable): Make it affect only
17099 custom-theme-set-variables and custom-theme-set-faces.
17100 (provide-theme): Ignore custom--inhibit-theme-enable.
17101 (load-theme): Enable the theme explicitly if NO-ENABLE is non-nil.
17102 (custom-enabling-themes): Delete variable.
d86d2721
SM
17103 (enable-theme): Accept only loaded themes as arguments.
17104 Ignore the special custom-enabled-themes variable.
fccee4ab
CY
17105 (custom-enabled-themes): Forbid themes from setting this.
17106 Eliminate use of custom-enabling-themes.
17107 (custom-push-theme): Quote "changed" custom var entry.
0357c7ae 17108
af896da6
LL
171092011-03-21 Leo Liu <sdl.web@gmail.com>
17110
17111 * ido.el (ido-read-internal): Add ido-selected to history instead
17112 of user input.
17113
78f64af0
SM
171142011-03-21 Stefan Monnier <monnier@iro.umontreal.ca>
17115
17116 * subr.el (deferred-action-list, deferred-action-function):
17117 Mark obsolete.
17118
b16ac1ec
LL
171192011-03-21 Leo Liu <sdl.web@gmail.com>
17120
810f7698
LL
17121 * vc/log-view.el: Remove (require 'wid-edit), not needed after the
17122 change on 2011-02-13 (bug#8309).
17123
b16ac1ec
LL
17124 * minibuffer.el (read-file-name-function): Change default value.
17125 (read-file-name--defaults): Rename from read-file-name-defaults.
17126 (read-file-name-default): Rename from read-file-name.
17127 (read-file-name): Call read-file-name-function.
17128
4e05e67e
GM
171292011-03-21 Glenn Morris <rgm@gnu.org>
17130
17131 * eshell/esh-opt.el (eshell-eval-using-options, eshell-process-args):
17132 Doc fixes.
17133
4359915b
CY
171342011-03-21 Chong Yidong <cyd@stupidchicken.com>
17135
17136 * cus-theme.el: Add missing provide statement.
17137 (customize-create-theme): Extract theme value correctly.
17138 (custom-theme-visit-theme): Autoload.
17139 (customize-create-theme): Prompt before inserting default faces.
17140
1fe275ee
JB
171412011-03-20 Jay Belanger <jay.p.belanger@gmail.com>
17142
17143 * calc/calc-menu.el (calc-units-menu): Add entries for logarithmic
17144 units and musical notes.
17145
cd394be1 171462011-03-20 Leo Liu <sdl.web@gmail.com>
3ec03f7e
LL
17147
17148 * ido.el (ido-read-internal): Use completing-read-default.
17149 (ido-completing-read): Fix compatibility with completing-read.
17150
7d476bde
CO
171512011-03-20 Christian Ohler <ohler@gnu.org>
17152
17153 * emacs-lisp/ert.el (ert-run-tests-batch): Remove unused variable.
17154 (ert-delete-all-tests): Use `called-interactively-p' rather than
17155 `interactive-p'.
17156 (ert--make-xrefs-region): Respect END.
17157
fe0fb33e
CY
171582011-03-19 Chong Yidong <cyd@stupidchicken.com>
17159
ff854b0b
CY
17160 * dired-aux.el (dired-create-directory): Signal an error if the
17161 directory already exists (Bug#8246).
17162
fe0fb33e
CY
17163 * facemenu.el (list-colors-display): Call list-faces-display
17164 inside with-help-window.
17165 (list-colors-print): Use display property to align the final
17166 column, instead of checking window-width.
17167
576bce32
EZ
171682011-03-19 Eli Zaretskii <eliz@gnu.org>
17169
4d61f28d 17170 * vc/emerge.el (emerge-metachars): Separate value for ms-dos and
576bce32
EZ
17171 windows-nt systems.
17172 (emerge-protect-metachars): Quote correctly for ms-dos and
17173 windows-nt systems.
17174
89c41d68 171752011-03-19 Ralph Schleicher <rs@ralph-schleicher.de>
e6ce307c
RS
17176
17177 * info.el (info-initialize): Replace all uses of `:' with
17178 path-separator for compatibility with non-Unix systems.
17179 Cache quoting of path-separator. (Bug#8258)
17180
b14e3e21 171812011-03-19 Juanma Barranquero <lekktu@gmail.com>
ad22b7f7
JB
17182
17183 * avoid.el (mouse-avoidance-mode, mouse-avoidance-nudge-dist)
17184 (mouse-avoidance-threshold, mouse-avoidance-banish-destination)
17185 (mouse-avoidance-mode): Fix typos in docstrings.
17186
4525ce3e
CY
171872011-03-19 Chong Yidong <cyd@stupidchicken.com>
17188
17189 * startup.el (package-subdirectory-regexp): Move from package.el.
17190 Omit \\` and \\', and let callers add them.
17191
17192 * emacs-lisp/package.el (package-strip-version)
17193 (package-load-all-descriptors): Add \\` and \\' to
17194 package-subdirectory-regexp before using it.
17195 (package-untar-buffer): New arg DIR; ensure that file untars only
17196 into this expected directory. Remove superfluous delete-region.
17197 (package-unpack): Caller changed.
17198 (package-tar-file-info): Use package-subdirectory-regexp.
17199
a904a09a 172002011-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
1518e4f0 17201
a904a09a
SM
17202 * vc/diff-mode.el (diff-mode-map): Shadow problematic bindings from
17203 diff-mode-shared-map (bug#8284).
17204 (diff-mode-shared-map): Re-introduce some bindings that were problematic.
1518e4f0
G
17205
172062011-03-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
17207
17208 * calendar/time-date.el (format-seconds): Use assoc instead of
17209 assoc-string, since assoc-string doesn't exist in XEmacs.
17210
171fc304
JB
172112011-03-17 Juanma Barranquero <lekktu@gmail.com>
17212
17213 * custom.el (custom-known-themes): Reflow docstring.
17214 (custom-theme-load-path): Fix typo in docstring.
17215 (load-theme): Fix typo in error message.
17216 (custom-available-themes, custom-variable-theme-value):
17217 Use `let', not `let*'.
17218
d71990a1
JB
172192011-03-17 Jay Belanger <jay.p.belanger@gmail.com>
17220
17221 * calc/README: Mention inclusion of musical notes.
17222
17223 * calc/calc-units.el (calc-lu-quant): Rename from
17224 `calc-logunits-quantity'.
17225 (calcFunc-lupquant): Rename from `calcFunc-powerquant'.
17226 (calcFunc-lufquant): Rename from `calcFunc-fieldquant'.
17227 (calc-db): Rename from `calc-dblevel'.
17228 (calcFunc-dbpower): Rename from `calcFunc-dbpowerlevel'.
17229 (calcFunc-dbfield): Rename from `calcFunc-dbfieldlevel'.
17230 (calc-np): Rename from `calc-nplevel'.
17231 (calcFunc-nppower): Rename from `calcFunc-nppowerlevel'.
17232 (calcFunc-npfield): Rename from `calcFunc-npfieldlevel'.
17233 (calc-lu-plus): Rename from `calc-logunits-add'.
17234 (calcFunc-lupadd): Rename from `calcFunc-lupoweradd'.
17235 (calcFunc-lufadd): Rename from `calcFunc-lufieldadd'.
17236 (calc-lu-minus): Rename from `calc-logunits-sub'.
17237 (calcFunc-lupsub): Rename from `calcFunc-lupowersub'.
17238 (calcFunc-lufsub): Rename from `calcFunc-lufieldsub'.
17239 (calc-lu-times): Rename from `calc-logunits-mul'.
17240 (calcFunc-lupmul): Rename from `calcFunc-lupowermul'.
17241 (calcFunc-lufmul): Rename from `calcFunc-lufieldmul'.
17242 (calc-lu-divide): Rename from `calc-logunits-div'.
17243 (calcFunc-lupdiv): Rename from `calcFunc-lupowerdiv'.
17244 (calcFunc-lufdiv): Rename from `calcFunc-lufielddiv'.
17245
17246 * calc/calc-ext.el (calc-init-extensions): Update the names of the
17247 functions being autoloaded.
17248
17249 * calc/calc.el (calc-lu-power-reference): Rename from
17250 `calc-logunits-power-reference'.
17251 (calc-lu-field-reference): Rename from
17252 `calc-logunits-field-reference'.
17253
7a71b18d
GM
17254 * calc/calc-help.el (calc-l-prefix-help):
17255 Mention musical note functions.
d71990a1 17256
40c2934b
SM
172572011-03-17 Stefan Monnier <monnier@iro.umontreal.ca>
17258
17259 * minibuffer.el (completion-all-sorted-completions):
17260 Use :completion-cycle-penalty text property if present.
17261
b0911414
KM
172622011-03-16 Ken Manheimer <ken.manheimer@gmail.com>
17263
17264 * allout.el (allout-yank-processing): Adjust for new rebulleting
17265 regime so bullet being yanked is used without prompting the user
17266 for a choice.
17267
8a05b668
JB
172682011-03-16 Juanma Barranquero <lekktu@gmail.com>
17269
17270 * startup.el (command-line): Warn the user that _emacs is deprecated.
17271
5ba5fb81
JB
172722011-03-16 Juanma Barranquero <lekktu@gmail.com>
17273
17274 * progmodes/delphi.el (delphi-search-path, delphi-indent-level)
17275 (delphi-verbose, delphi-comment-face, delphi-string-face)
17276 (delphi-keyword-face, delphi-ignore-changes, delphi-indent-line)
17277 (delphi-mode-abbrev-table, delphi-debug-buffer, delphi-tab)
17278 (delphi-find-unit, delphi-find-current-xdef, delphi-fill-comment)
17279 (delphi-new-comment-line, delphi-font-lock-defaults)
17280 (delphi-debug-mode-map, delphi-mode-syntax-table, delphi-mode):
17281 Fix typos in docstrings.
17282
2dab465b
KM
172832011-03-15 Ken Manheimer <ken.manheimer@gmail.com>
17284
5ba5fb81 17285 * allout.el (allout-make-topic-prefix, allout-rebullet-heading):
2dab465b
KM
17286 Invert the roles of character and string values for INSTEAD, so a
17287 string is used for the more common case of a defaulting prompt.
17288
0adf5618
SM
172892011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17290
17291 * progmodes/ruby-mode.el (ruby-backward-sexp):
17292 * progmodes/ebrowse.el (ebrowse-draw-file-member-info):
17293 * play/gamegrid.el (gamegrid-make-face):
17294 * play/bubbles.el (bubbles--grid-width, bubbles--grid-height)
17295 (bubbles--colors, bubbles--shift-mode, bubbles--initialize-images):
17296 * notifications.el (notifications-notify):
17297 * net/xesam.el (xesam-search-engines):
17298 * net/quickurl.el (quickurl-list-insert):
17299 * vc/vc-hg.el (vc-hg-dir-printer): Fix use of case.
17300
d72700e5
CY
173012011-03-15 Chong Yidong <cyd@stupidchicken.com>
17302
17303 * startup.el (command-line): Update package subdirectory regexp.
17304
49c5410a
SM
173052011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17306
c6eee9aa
SM
17307 * allout.el (allout-abbreviate-flattened-numbering)
17308 (allout-mode-deactivate-hook): Fix up obsolescence "date".
17309
49c5410a
SM
17310 * subr.el (read-char-choice): Only show the cursor after the prompt,
17311 not after the answer.
17312
047b2bb9
KR
173132011-03-15 Kevin Ryde <user42@zip.com.au>
17314
17315 * help-fns.el (variable-at-point): Skip leading quotes, if any
17316 (bug#8253).
17317
0a57d256
SM
173182011-03-15 Stefan Monnier <monnier@iro.umontreal.ca>
17319
17320 * emacs-lisp/bytecomp.el (byte-compile-save-excursion): Change the
17321 warning message.
17322
77c992bc
MA
173232011-03-14 Michael Albinus <michael.albinus@gmx.de>
17324
17325 * shell.el (shell): When called interactively, offer to change the
17326 shell file name on remote hosts.
17327
eebc475d
TZ
173282011-03-13 Teodor Zlatanov <tzz@lifelogs.com>
17329
17330 * net/ldap.el (ldap-search-internal): Add `auth-source-search'
17331 integration for LDAP parameters. The host, base, user or binddn,
17332 and secret tokens can be specified in a netrc file, for instance.
17333 This is optional because an `auth-source' parameter must be
17334 specified in the search attributes.
17335
9d05d1ba
JB
173362011-03-13 Juanma Barranquero <lekktu@gmail.com>
17337
17338 * help.el (describe-mode): Link to the mode's definition (bug#8185).
17339
09d9db2c
GM
173402011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17341
17342 * ebuff-menu.el (electric-buffer-menu-mode-map): Move initialization
17343 into declaration. Remove redundant and harmful binding.
17344
173452011-03-12 Eli Zaretskii <eliz@gnu.org>
17346
17347 * files.el (file-ownership-preserved-p): Pass `integer' as an
17348 explicit 2nd argument to `file-attributes'. If the file's owner
17349 is the Administrators group on Windows, and the current user is
17350 Administrator, consider that a match.
17351
17352 * server.el (server-ensure-safe-dir): Consider server directory
17353 safe on MS-Windows if its owner is the Administrators group while
17354 the current Emacs user is Administrator. Use `=' to compare
17355 numerical UIDs, since they could be integers or floats.
17356
219bd536
JB
173572011-03-12 Juanma Barranquero <lekktu@gmail.com>
17358
17359 * vc/vc-bzr.el (vc-bzr-state): Handle bzr 2.3.0 (follow-up to bug#8170).
17360
f3afd36b
MA
173612011-03-12 Michael Albinus <michael.albinus@gmx.de>
17362
17363 Sync with Tramp 2.2.1.
17364
17365 * net/tramp-sh.el (tramp-methods): Exchange "%k" marker with options.
17366
17367 * net/trampver.el: Update release number.
17368
3aaaa6f1
SM
173692011-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
17370
94642599
SM
17371 * progmodes/compile.el (compilation--previous-directory): Fix up
17372 various nil/dead-marker mismatches (bug#8014).
17373 (compilation-directory-properties, compilation-error-properties):
17374 Don't call it at a position past the one we're about to change.
17375
3aaaa6f1
SM
17376 * emacs-lisp/bytecomp.el (byte-compile-make-obsolete-variable):
17377 Disable obsolescence warnings in the file that declares it.
17378
14239447
KM
173792011-03-11 Ken Manheimer <ken.manheimer@gmail.com>
17380
099c39a4
JB
17381 * allout-widgets.el (allout-widgets-tally):
17382 Initialize allout-widgets-tally as a hash table rather than nil to
17383 prevent mode-line redisplay warnings. Also, clarify the module
17384 description and fix a comment typo.
14239447 17385
135e287c
JB
173862011-03-11 Juanma Barranquero <lekktu@gmail.com>
17387
17388 * help-fns.el (describe-variable): Don't complete keywords.
17389 Suggested by Teodor Zlatanov <tzz@lifelogs.com>.
17390
ffbf300e
CY
173912011-03-10 Chong Yidong <cyd@stupidchicken.com>
17392
ba08b241
CY
17393 * emacs-lisp/package.el (package-version-join): Impose a standard
17394 string representation for pre/alpha/beta version lists.
17395 (package-unpack-single): Standardize the directory name by passing
17396 it through package-version-join.
17397 (package-strip-rcs-id): Accept any version string that does not
17398 signal an error in version-to-list.
ffbf300e 17399
f346fd6b
MA
174002011-03-10 Michael Albinus <michael.albinus@gmx.de>
17401
17402 * simple.el (delete-trailing-whitespace): Return nil for the
17403 benefit of `write-file-functions'.
17404
ccb55d27
GM
174052011-03-10 Glenn Morris <rgm@gnu.org>
17406
5ceaac0c
GM
17407 * vc/vc-hg.el (vc-hg-pull, vc-hg-merge-branch): Use vc-hg-program.
17408
02da65ff
GM
17409 * vc/vc-git.el (vc-git-program): New option.
17410 (vc-git-branches, vc-git-pull, vc-git-merge-branch, vc-git-command)
17411 (vc-git--call): Use it.
17412
b2f603cc
GM
17413 * eshell/esh-util.el (eshell-condition-case): Doc fix.
17414
5772caab
GM
17415 * cus-edit.el (Custom-newline): If no button at point, look
17416 for a subgroup button at start-of-line. (Bug#2298)
17417
ccb55d27
GM
17418 * mail/rmail.el (rmail-msgend, rmail-msgbeg): Doc fixes.
17419
ec6ecaed
JD
174202011-03-10 Julien Danjou <julien@danjou.info>
17421
17422 * avoid.el (mouse-avoidance-ignore-p): Do not move the cursor if
17423 `cursor-type' is nil.
17424
9d5aa01d
JB
174252011-03-09 Jay Belanger <jay.p.belanger@gmail.com>
17426
17427 * calc/calc.el (calc-mode-map): Don't bind "C-_" to `calc-missing-key'.
17428
b6a5875b
KM
174292011-03-09 Ken Manheimer <ken.manheimer@gmail.com>
17430
7a71b18d 17431 * allout.el: Change so yank of distinctive-bullet items
b6a5875b
KM
17432 preserves the existing header prefix, rebulleting it if necessary,
17433 rather than replacing it. This is necessary for proper operation
17434 of cooperative addons like allout-widgets.
1154d12e
JB
17435 (allout-make-topic-prefix, allout-rebullet-heading):
17436 Change SOLICIT arg to INSTEAD, and interpret additionally a string
17437 value as alternate bullet to be used, instead of prompting the user
17438 for a bullet character.
b6a5875b 17439
ee545c35
MA
174402011-03-09 Michael Albinus <michael.albinus@gmx.de>
17441
d86d2721
SM
17442 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band):
17443 Do not use `tramp-file-name-port', because this returns also
ee545c35
MA
17444 `tramp-default-port'.
17445
c47971d7
DD
174462011-03-09 Deniz Dogan <deniz.a.m.dogan@gmail.com>
17447
17448 * net/rcirc.el (rcirc-handler-001): Remove useless
17449 with-rcirc-process-buffer.
17450 (rcirc-check-auth-status): Swap arguments to string-match.
17451
13522cb4
GM
174522011-03-09 Glenn Morris <rgm@gnu.org>
17453
0be6f4f1
GM
17454 * shell.el (shell-mode):
17455 Set comint-input-ring-size from HISTSIZE. (Bug#7889)
17456
13522cb4
GM
17457 * progmodes/gdb-mi.el (gdb): Improve 2010-12-08 change.
17458 Check for GDBHISTFILE, HISTSIZE, etc. (Bug#7889)
17459
515de2e3
CY
174602011-03-08 Chong Yidong <cyd@stupidchicken.com>
17461
17462 * emacs-lisp/package.el (package-refresh-contents)
17463 (package-menu-execute): Use condition-case-no-debug.
17464
b511b994
MA
174652011-03-08 Michael Albinus <michael.albinus@gmx.de>
17466
17467 * simple.el (shell-command-to-string): Use `process-file'.
17468
17469 * emacs-lisp/package.el (package-tar-file-info): Handle also
17470 remote files.
17471
d86d2721
SM
17472 * emacs-lisp/package-x.el (package-upload-buffer-internal):
17473 Use `equal' for upload base check.
b511b994 17474
25bbfb31
AM
174752011-03-08 Arni Magnusson <arnima@hafro.is> (tiny change)
17476
17477 * textmodes/texinfo.el (texinfo-environments):
17478 Add deftypecv, deftypeivar, deftypemethod, deftypeop, html. (Bug#2783)
17479
be996521
GM
174802011-03-08 Glenn Morris <rgm@gnu.org>
17481
e9c8529f
GM
17482 * cus-start.el (cursor-in-non-selected-windows):
17483 Fix :set quoting oddness. (Bug#8192)
17484
be996521
GM
17485 * font-lock.el (lisp-font-lock-keywords-1): Don't highlight `)'
17486 in some setf expressions. (Bug#2159)
17487
2bb5649e
CY
174882011-03-08 Chong Yidong <cyd@stupidchicken.com>
17489
17490 * custom.el (custom-available-themes): Return themes in
17491 alphabetical order.
17492
33383987 17493See ChangeLog.15 for earlier changes.
e3d51b27
MR
17494
17495;; Local Variables:
17496;; coding: utf-8
e3d51b27
MR
17497;; End:
17498
acaf905b 17499 Copyright (C) 2011-2012 Free Software Foundation, Inc.
e3d51b27
MR
17500
17501 This file is part of GNU Emacs.
17502
17503 GNU Emacs is free software: you can redistribute it and/or modify
17504 it under the terms of the GNU General Public License as published by
17505 the Free Software Foundation, either version 3 of the License, or
17506 (at your option) any later version.
17507
17508 GNU Emacs is distributed in the hope that it will be useful,
17509 but WITHOUT ANY WARRANTY; without even the implied warranty of
17510 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17511 GNU General Public License for more details.
17512
17513 You should have received a copy of the GNU General Public License
17514 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.